/*
Theme Name: LAW Group 2026
Theme URI: https://lawgroupec.com
Author: LAW Group Soluciones Jurídicas
Description: Tema institucional LAW Group.
Version: 0.4.0
*/

:root {
    --navy:#091725;
    --navy-soft:#122536;
    --ink:#142231;
    --gold:#c8a45a;
    --gold-soft:#d8bc7c;
    --ivory:#f5f2eb;
    --white:#ffffff;
    --muted:#68727d;
    --line:rgba(20,34,49,.18);

    --display:'Newsreader',Georgia,serif;
    --sans:'Manrope',Arial,sans-serif;

    --wrap:1360px;
}

* {
    box-sizing:border-box;
}

html {
    scroll-behavior:smooth;
}

body {
    margin:0;
    background:var(--ivory);
    color:var(--ink);
    font-family:var(--sans);
    -webkit-font-smoothing:antialiased;
}

img {
    display:block;
    max-width:100%;
}

a {
    color:inherit;
    text-decoration:none;
}

button {
    font:inherit;
}

.lg-wrap {
    width:min(var(--wrap),calc(100% - 72px));
    margin:auto;
}

.lg-serif {
    font-family:var(--display);
}

.lg-label {
    margin-bottom:19px;
    color:#9d7a35;
    font-size:10px;
    font-weight:700;
    letter-spacing:.19em;
    text-transform:uppercase;
}

.lg-label::before {
    content:"";
    display:inline-block;
    width:33px;
    height:1px;
    margin:0 13px 3px 0;
    background:currentColor;
}


/* =========================
   HEADER
========================= */

.lg-header {
    position:sticky;
    top:0;
    z-index:999;
    background:var(--navy);
    border-bottom:1px solid rgba(255,255,255,.09);
}

.admin-bar .lg-header {
    top:32px;
}

.lg-header-inner {
    width:min(var(--wrap),calc(100% - 72px));
    height:118px;
    margin:auto;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:50px;
}

.lg-logo img {
    width:278px;
    height:auto;

    filter:brightness(0) invert(1);
}

.lg-nav {
    display:flex;
    align-items:center;
    gap:33px;
}

.lg-nav a {
    color:rgba(255,255,255,.77);
    font-size:10px;
    font-weight:600;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.lg-nav a:hover {
    color:var(--gold);
}

.lg-nav-contact {
    padding:14px 18px;
    border:1px solid rgba(200,164,90,.62);
    color:var(--gold-soft)!important;
}

.lg-menu-button {
    display:none;
    width:44px;
    height:44px;
    border:0;
    background:transparent;
}

.lg-menu-button span {
    display:block;
    width:25px;
    height:1px;
    margin:6px auto;
    background:white;
}


/* =========================
   HERO
========================= */

.lg-hero {
    position:relative;
    min-height:720px;

    display:flex;
    align-items:center;

    overflow:hidden;

    background:
        linear-gradient(
            90deg,
            rgba(9,23,37,.98) 0%,
            rgba(9,23,37,.93) 28%,
            rgba(9,23,37,.66) 50%,
            rgba(9,23,37,.12) 76%
        ),
        url('/wp-content/uploads/lawgroup-v4/hero.jpg')
        center center / cover no-repeat;

    color:white;
}

.lg-hero-content {
    width:min(var(--wrap),calc(100% - 72px));
    margin:auto;
}

.lg-hero-copy {
    max-width:710px;
    padding:82px 0 92px;
}

.lg-hero-kicker {
    margin-bottom:22px;
    color:var(--gold);
    font-size:10px;
    font-weight:700;
    letter-spacing:.2em;
    text-transform:uppercase;
}

.lg-hero h1 {
    max-width:690px;
    margin:0;

    font-family:var(--display);
    font-size:clamp(61px,6.1vw,88px);
    font-weight:400;
    line-height:.98;
    letter-spacing:-.035em;
}

.lg-hero p {
    max-width:610px;

    margin:28px 0 34px;

    color:rgba(255,255,255,.72);

    font-size:16px;
    line-height:1.85;
}

.lg-hero-actions {
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.lg-button {
    min-height:52px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:0 22px;

    border:1px solid rgba(255,255,255,.34);

    color:white;

    font-size:10px;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.lg-button-primary {
    border-color:var(--gold);
    background:var(--gold);
    color:var(--navy);
}


/* =========================
   FIRMA
========================= */

.lg-firma {
    padding:105px 0;
}

.lg-firma-grid {
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:84px;
    align-items:center;
}

.lg-firma-image {
    overflow:hidden;
}

.lg-firma-image img {
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
    object-position:center;
}

.lg-firma h2 {
    max-width:620px;

    margin:0;

    font-family:var(--display);
    font-size:clamp(49px,4.7vw,68px);
    font-weight:400;
    line-height:1.01;
    letter-spacing:-.035em;
}

.lg-firma-copy {
    max-width:590px;

    margin:25px 0 0;

    color:var(--muted);

    font-size:15px;
    line-height:1.9;
}

.lg-firma-note {
    max-width:570px;

    margin:31px 0 0;
    padding:19px 0 0;

    border-top:1px solid var(--line);

    font-family:var(--display);
    font-size:24px;
    line-height:1.3;
}


/* =========================
   PRÁCTICAS
========================= */

.lg-practices {
    padding:100px 0 108px;
    background:white;
}

.lg-practices-grid {
    display:grid;
    grid-template-columns:.7fr 1.3fr;
    gap:90px;
}

.lg-practices-intro {
    position:sticky;
    top:155px;
    align-self:start;
}

.lg-practices h2 {
    max-width:480px;

    margin:0;

    font-family:var(--display);
    font-size:clamp(50px,4.8vw,69px);
    font-weight:400;
    line-height:1;
    letter-spacing:-.035em;
}

.lg-practices-intro p {
    max-width:440px;

    margin:24px 0 0;

    color:var(--muted);

    font-size:14px;
    line-height:1.8;
}

.lg-practice-list {
    border-top:1px solid var(--line);
}

.lg-practice {
    display:grid;
    grid-template-columns:42px 1fr;

    gap:19px;

    padding:30px 0 33px;

    border-bottom:1px solid var(--line);
}

.lg-practice-number {
    padding-top:6px;

    color:var(--gold);

    font-size:9px;
    font-weight:700;
    letter-spacing:.14em;
}

.lg-practice-name {
    margin:0;

    font-family:var(--display);
    font-size:clamp(30px,3vw,43px);
    font-weight:400;
    line-height:1.05;

    transition:transform .2s ease;
}

.lg-practice:hover .lg-practice-name {
    transform:translateX(5px);
}

.lg-practices-more {
    margin-top:31px;

    color:var(--muted);

    font-size:11px;
    line-height:1.8;
}

.lg-practices-more strong {
    display:block;

    margin-bottom:8px;

    color:var(--ink);

    font-size:9px;
    letter-spacing:.13em;
    text-transform:uppercase;
}


/* =========================
   ESTRUCTURA HORIZONTAL
========================= */

.lg-horizontal {
    background:var(--navy);
    color:white;
}

.lg-horizontal-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    min-height:570px;
}

.lg-horizontal-image {
    overflow:hidden;
}

.lg-horizontal-image img {
    width:100%;
    height:100%;
    min-height:570px;

    object-fit:cover;
    object-position:center;
}

.lg-horizontal-copy {
    display:flex;
    flex-direction:column;
    justify-content:center;

    padding:70px clamp(45px,7vw,105px);
}

.lg-horizontal h2 {
    max-width:600px;

    margin:0;

    font-family:var(--display);
    font-size:clamp(49px,4.9vw,70px);
    font-weight:400;
    line-height:1.01;
}

.lg-horizontal p {
    max-width:570px;

    margin:26px 0 0;

    color:rgba(255,255,255,.66);

    font-size:15px;
    line-height:1.9;
}


/* =========================
   EQUIPO
========================= */

.lg-team {
    padding:105px 0 112px;
    overflow:hidden;
}

.lg-team-head {
    display:grid;
    grid-template-columns:1fr .8fr;
    gap:70px;

    align-items:end;

    margin-bottom:50px;
}

.lg-team h2 {
    max-width:710px;

    margin:0;

    font-family:var(--display);
    font-size:clamp(50px,5vw,71px);
    font-weight:400;
    line-height:1;
}

.lg-team-head p {
    max-width:500px;
    margin:0;

    color:var(--muted);

    font-size:14px;
    line-height:1.85;
}

.lg-carousel-head {
    display:flex;
    align-items:center;
    justify-content:flex-end;

    gap:8px;

    margin-bottom:18px;
}

.lg-arrow {
    width:46px;
    height:46px;

    display:grid;
    place-items:center;

    border:1px solid var(--line);
    background:transparent;

    color:var(--ink);

    cursor:pointer;
}

.lg-arrow:hover {
    border-color:var(--gold);
    background:var(--gold);
}

.lg-team-track {
    display:flex;

    gap:22px;

    overflow-x:auto;

    padding:0 8vw 5px 0;

    scroll-snap-type:x mandatory;
    scrollbar-width:none;
}

.lg-team-track::-webkit-scrollbar {
    display:none;
}

.lg-person {
    flex:0 0 clamp(270px,23vw,335px);

    scroll-snap-align:start;
}

.lg-person-photo {
    width:100%;
    aspect-ratio:2/3;

    overflow:hidden;

    background:#ddd7ce;
}

.lg-person-photo img {
    width:100%;
    height:100%;

    object-fit:cover;
    object-position:center top;

    transition:transform .45s ease;
}

.lg-person:hover .lg-person-photo img {
    transform:scale(1.015);
}

.lg-person-info {
    padding:18px 1px 0;
}

.lg-person-role {
    margin-bottom:7px;

    color:#9d7a35;

    font-size:8px;
    font-weight:700;
    letter-spacing:.16em;
    text-transform:uppercase;
}

.lg-person-name {
    max-width:310px;

    margin:0;

    font-family:var(--display);
    font-size:25px;
    font-weight:400;
    line-height:1.07;
}


/* =========================
   CONTACTO
========================= */

.lg-contact {
    padding:98px 0;
    background:var(--navy);
    color:white;
}

.lg-contact-grid {
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:95px;
    align-items:end;
}

.lg-contact h2 {
    max-width:700px;

    margin:0;

    font-family:var(--display);
    font-size:clamp(54px,5.4vw,77px);
    font-weight:400;
    line-height:1;
}

.lg-contact p {
    max-width:540px;

    margin:25px 0 0;

    color:rgba(255,255,255,.61);

    font-size:14px;
    line-height:1.85;
}

.lg-contact-data {
    border-top:1px solid rgba(255,255,255,.18);
}

.lg-contact-row {
    padding:18px 0;
    border-bottom:1px solid rgba(255,255,255,.18);
}

.lg-contact-row small {
    display:block;

    margin-bottom:7px;

    color:var(--gold);

    font-size:8px;
    font-weight:700;
    letter-spacing:.15em;
    text-transform:uppercase;
}

.lg-contact-row a,
.lg-contact-row span {
    font-family:var(--display);
    font-size:21px;
    line-height:1.35;
}


/* =========================
   FOOTER
========================= */

.lg-footer {
    background:#040b12;
    color:rgba(255,255,255,.43);
}

.lg-footer-inner {
    width:min(var(--wrap),calc(100% - 72px));
    min-height:125px;

    margin:auto;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:30px;

    font-size:9px;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.lg-footer img {
    width:190px;
    filter:brightness(0) invert(1);
    opacity:.74;
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width:950px) {

    .lg-header-inner,
    .lg-wrap,
    .lg-hero-content,
    .lg-footer-inner {
        width:calc(100% - 36px);
    }

    .lg-nav {
        position:fixed;
        inset:0;

        z-index:1000;

        padding:130px 28px 50px;

        flex-direction:column;
        align-items:flex-start;

        background:var(--navy);

        opacity:0;
        pointer-events:none;

        transition:opacity .2s ease;
    }

    .lg-menu-open .lg-nav {
        opacity:1;
        pointer-events:auto;
    }

    .lg-nav a {
        font-family:var(--display);
        font-size:37px;
        font-weight:400;
        letter-spacing:0;
        text-transform:none;
    }

    .lg-nav-contact {
        font-family:var(--sans)!important;
        font-size:10px!important;
        letter-spacing:.1em!important;
        text-transform:uppercase!important;
    }

    .lg-menu-button {
        display:block;
        position:relative;
        z-index:1001;
    }

    .lg-firma-grid,
    .lg-practices-grid,
    .lg-horizontal-grid,
    .lg-team-head,
    .lg-contact-grid {
        grid-template-columns:1fr;
    }

    .lg-firma-grid,
    .lg-team-head,
    .lg-contact-grid {
        gap:45px;
    }

    .lg-practices-grid {
        gap:45px;
    }

    .lg-practices-intro {
        position:static;
    }

    .lg-horizontal-copy {
        padding:65px 28px;
    }

}


@media(max-width:620px) {

    .admin-bar .lg-header {
        top:46px;
    }

    .lg-header-inner {
        height:92px;
    }

    .lg-logo img {
        width:205px;
    }

    .lg-hero {
        min-height:700px;

        background:
            linear-gradient(
                0deg,
                rgba(9,23,37,.97) 0%,
                rgba(9,23,37,.78) 54%,
                rgba(9,23,37,.17) 100%
            ),
            url('/wp-content/uploads/lawgroup-v4/hero.jpg')
            58% center / cover no-repeat;

        align-items:flex-end;
    }

    .lg-hero-copy {
        padding:290px 0 58px;
    }

    .lg-hero h1 {
        font-size:51px;
    }

    .lg-hero p {
        font-size:14px;
    }

    .lg-hero-actions {
        display:grid;
        grid-template-columns:1fr;
    }

    .lg-button {
        width:100%;
    }

    .lg-firma,
    .lg-practices,
    .lg-team,
    .lg-contact {
        padding:76px 0;
    }

    .lg-firma h2,
    .lg-practices h2,
    .lg-horizontal h2,
    .lg-team h2,
    .lg-contact h2 {
        font-size:44px;
    }

    .lg-firma-image img {
        aspect-ratio:3/2;
    }

    .lg-horizontal-image img {
        min-height:390px;
    }

    .lg-person {
        flex-basis:76vw;
    }

    .lg-team-track {
        padding-right:18vw;
    }

    .lg-footer-inner {
        min-height:170px;
        flex-direction:column;
        justify-content:center;
        text-align:center;
    }

}


/* =========================================================
   LAW GROUP V4.1
   Refinamiento visual
========================================================= */


/* eliminar espacios automáticos del block theme */

html body .wp-site-blocks {
    padding-top:0 !important;
    padding-bottom:0 !important;
}

html body .wp-site-blocks > * {
    margin-block-start:0 !important;
    margin-block-end:0 !important;
}

.wp-block-template-part {
    margin:0 !important;
}

.lg-main {
    margin:0 !important;
    padding:0 !important;
}


/* HEADER — logo protagonista y navegación más elegante */

.lg-header-inner {
    height:128px;
}

.lg-logo img {
    width:335px;
}

.lg-nav {
    gap:31px;
}

.lg-nav a {
    font-size:13px;
    font-weight:500;
    letter-spacing:.015em;
    text-transform:none;
}

.lg-nav-contact {
    padding:14px 20px;
    font-size:12px !important;
    letter-spacing:.015em !important;
}


/* HERO — texto en tercio inferior para no cubrir rostros */

.lg-hero {
    min-height:760px;

    align-items:flex-end;

    background:
        linear-gradient(
            0deg,
            rgba(9,23,37,.94) 0%,
            rgba(9,23,37,.45) 42%,
            rgba(9,23,37,.05) 73%
        ),
        linear-gradient(
            90deg,
            rgba(9,23,37,.90) 0%,
            rgba(9,23,37,.69) 28%,
            rgba(9,23,37,.15) 59%,
            rgba(9,23,37,.02) 78%
        ),
        url('/wp-content/uploads/lawgroup-v4/hero.jpg')
        center 42% / cover no-repeat;
}

.lg-hero-copy {
    max-width:610px;

    padding:
        365px
        0
        66px;
}

.lg-hero-kicker {
    margin-bottom:14px;

    font-size:9px;
    letter-spacing:.17em;
}

.lg-hero h1 {
    max-width:600px;

    font-size:clamp(52px,4.9vw,69px);
    line-height:1;
}

.lg-hero p {
    max-width:540px;

    margin:20px 0 28px;

    font-size:14px;
    line-height:1.78;
}

.lg-button {
    min-height:49px;
}


/* más compacto y continuo */

.lg-firma {
    padding:84px 0 90px;
}

.lg-practices {
    padding:82px 0 90px;
}

.lg-team {
    padding:88px 0 96px;
}

.lg-contact {
    padding:80px 0 84px;
}


/* Firma */

.lg-firma-grid {
    gap:70px;
}

.lg-firma-image img {
    aspect-ratio:16/11;
}

.lg-firma h2 {
    font-size:clamp(47px,4.3vw,63px);
}

.lg-firma-note {
    font-size:21px;
}


/* Prácticas */

.lg-practices-grid {
    gap:76px;
}

.lg-practices-intro {
    top:160px;
}

.lg-practice {
    padding:26px 0 29px;
}

.lg-practice-name {
    font-size:clamp(30px,2.8vw,40px);
}

.lg-practices-more {
    margin-top:25px;
}


/* NUEVA SECCIÓN: experiencia + trabajo en equipo */

.lg-teamwork {
    padding:72px 0 78px;

    background:var(--navy);
    color:white;
}

.lg-teamwork-grid {
    display:grid;

    grid-template-columns:.38fr 1.62fr;

    gap:80px;

    align-items:start;
}

.lg-teamwork .lg-label {
    margin-top:9px;
}

.lg-teamwork h2 {
    max-width:760px;

    margin:0;

    font-family:var(--display);
    font-size:clamp(46px,4.6vw,66px);
    font-weight:400;
    line-height:1.02;
}

.lg-teamwork p {
    max-width:690px;

    margin:22px 0 0;

    color:rgba(255,255,255,.62);

    font-size:14px;
    line-height:1.85;
}


/* Equipo */

.lg-team-head {
    margin-bottom:40px;
}

.lg-carousel-group + .lg-carousel-group {
    margin-top:68px;
}

.lg-carousel-heading {
    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:30px;

    margin-bottom:20px;
}

.lg-carousel-heading > h3 {
    margin:0;

    font-family:var(--display);
    font-size:31px;
    font-weight:400;
}

.lg-carousel-head {
    margin:0;
}

.lg-person {
    flex:0 0 clamp(295px,25vw,365px);
}


/*
   NO recortar fotografías:
   usamos su proporción original
*/

.lg-person-photo {
    width:100%;
    height:auto;
    aspect-ratio:auto;

    overflow:hidden;

    background:#e7e1d8;
}

.lg-person-photo img {
    display:block;

    width:100%;
    height:auto;

    object-fit:contain;
    object-position:center top;

    transform:none !important;
}

.lg-person:hover .lg-person-photo img {
    transform:none !important;
}

.lg-person-info {
    padding-top:16px;
}

.lg-person-name {
    font-size:24px;
}

.lg-person-no-photo {
    order:999;
}


/* asistentes ligeramente más contenidos */

.lg-assistants .lg-person {
    flex-basis:clamp(275px,22vw,325px);
}


/* Contacto */

.lg-contact-grid {
    gap:78px;
}

.lg-contact h2 {
    font-size:clamp(49px,4.6vw,66px);
}

.lg-contact-row a {
    display:block;
}

.lg-contact-row a + a {
    margin-top:5px;
}

.lg-contact-row span,
.lg-contact-row a {
    font-size:20px;
}


/* Footer */

.lg-footer img {
    width:225px;
}


/* TABLET */

@media(max-width:950px) {

    .lg-logo img {
        width:260px;
    }

    .lg-nav a {
        font-family:var(--display);

        font-size:38px;

        letter-spacing:0;
    }

    .lg-nav-contact {
        font-family:var(--sans) !important;
    }

    .lg-teamwork-grid {
        grid-template-columns:1fr;
        gap:25px;
    }

}


/* MOBILE */

@media(max-width:620px) {

    .lg-header-inner {
        height:96px;
    }

    .lg-logo img {
        width:225px;
    }

    .lg-hero {
        min-height:720px;

        background:
            linear-gradient(
                0deg,
                rgba(9,23,37,.96) 0%,
                rgba(9,23,37,.54) 48%,
                rgba(9,23,37,.06) 75%
            ),
            url('/wp-content/uploads/lawgroup-v4/hero.jpg')
            59% center / cover no-repeat;
    }

    .lg-hero-copy {
        padding:
            365px
            0
            48px;
    }

    .lg-hero h1 {
        font-size:46px;
    }

    .lg-hero p {
        max-width:95%;
    }

    .lg-firma,
    .lg-practices,
    .lg-team,
    .lg-contact {
        padding:66px 0;
    }

    .lg-teamwork {
        padding:58px 0;
    }

    .lg-teamwork h2 {
        font-size:43px;
    }

    .lg-person {
        flex-basis:81vw;
    }

    .lg-assistants .lg-person {
        flex-basis:76vw;
    }

    .lg-carousel-heading > h3 {
        font-size:28px;
    }

}


/* =========================================================
   LAW GROUP V4.2 — refinamiento tipográfico
========================================================= */

.lg-nav a {
    font-size:15px;
    font-weight:500;
    letter-spacing:-.01em;
}

.lg-nav {
    gap:35px;
}

.lg-nav-contact {
    padding:15px 22px;
    font-size:14px !important;
}

.lg-hero-kicker {
    font-size:10px;
    letter-spacing:.16em;
}

.lg-hero p {
    max-width:620px;
    font-size:15px;
    line-height:1.83;
}

.lg-logo img {
    width:350px;
}

@media(max-width:1100px) {
    .lg-nav a {
        font-size:13px;
    }

    .lg-nav {
        gap:24px;
    }

    .lg-logo img {
        width:310px;
    }
}

@media(max-width:950px) {
    .lg-nav a {
        font-size:38px;
    }
}

@media(max-width:620px) {
    .lg-logo img {
        width:235px;
    }

    .lg-hero p {
        font-size:14px;
    }
}

/* =========================================================
   LAW GROUP — FOOTER CORPORATIVO GLOBAL
   Visible y consistente en todo el sitio
========================================================= */


/* En páginas cortas, mantiene el footer al final de la pantalla */
.wp-site-blocks{
    min-height:100vh !important;

    display:flex !important;
    flex-direction:column !important;
}

.wp-site-blocks > main{
    flex:1 0 auto;
}


/* =========================================================
   FOOTER
========================================================= */

.lg-footer{
    flex:0 0 auto;

    width:100% !important;

    margin:0 !important;
    margin-top:auto !important;

    padding:0 !important;

    background:#04111a !important;

    color:#fff !important;

    border:0 !important;
}


.lg-footer-final{
    width:
        min(1380px, calc(100% - 96px)) !important;

    min-height:150px;

    margin:0 auto !important;

    padding:
        30px
        0 !important;

    display:flex !important;

    align-items:center !important;
    justify-content:space-between !important;

    gap:50px;

    box-sizing:border-box;
}


/* LOGO */

.lg-footer-logo{
    display:block !important;

    flex:0 0 auto;

    margin:0 !important;
    padding:0 !important;
}


.lg-footer-logo img{
    display:block !important;

    width:225px !important;
    max-width:100% !important;

    height:auto !important;

    margin:0 !important;

    filter:
        brightness(0)
        invert(1);

    opacity:.88;
}


/* DATOS */

.lg-footer-meta{
    display:flex !important;

    flex-direction:column !important;

    align-items:flex-end !important;

    gap:7px !important;

    margin:0 !important;

    color:
        rgba(255,255,255,.44) !important;

    font-size:9px !important;

    font-weight:500;

    line-height:1.45;

    letter-spacing:.09em !important;

    text-align:right !important;

    text-transform:uppercase;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:900px){

    .lg-footer-final{
        width:
            calc(100% - 64px) !important;
    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media(max-width:600px){

    .lg-footer-final{
        width:
            calc(100% - 40px) !important;

        min-height:0;

        padding:
            34px
            0 !important;

        flex-direction:column !important;

        align-items:flex-start !important;

        gap:24px !important;
    }


    .lg-footer-logo img{
        width:190px !important;
    }


    .lg-footer-meta{
        align-items:flex-start !important;

        text-align:left !important;

        font-size:8px !important;
    }

}

/* END FOOTER CORPORATIVO GLOBAL */

/* =========================================================
   LAW GROUP — CONTRASTE VISUAL DEL FOOTER
========================================================= */

/* sirve tanto para el footer original como para el nuevo */
.lg-footer,
.lawg-global-footer-2026{
    position:relative !important;

    background:
        linear-gradient(
            180deg,
            #04111a 0%,
            #020a10 100%
        ) !important;

    border-top:
        1px solid rgba(200,164,90,.28) !important;
}


/* Logo un poco más presente */
.lg-footer-logo img,
.lawg-global-footer-2026__brand img{
    opacity:.96 !important;
}


/* Información más visible */
.lg-footer-meta,
.lawg-global-footer-2026__meta{
    color:
        rgba(255,255,255,.62) !important;
}


/* END CONTRASTE FOOTER */


/* ==========================================================
   FOTO GRUPAL DESPUÉS DEL HERO
   ========================================================== */

.lawg-group-intro {
    background: #0d1726;
    color: #fff;
    padding: 58px 28px 76px;
    overflow: hidden;
}

.lawg-group-intro__inner {
    width: min(1380px, 100%);
    margin: 0 auto;
}

.lawg-group-intro__heading {
    display: grid;
    grid-template-columns: minmax(220px, .72fr) minmax(420px, 1.55fr);
    gap: 50px;
    align-items: end;
    margin: 0 0 36px;
}

.lawg-group-intro__kicker {
    display: block;
    color: #c5a45b;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.lawg-group-intro__heading h2 {
    margin: 0;
    max-width: 900px;
    color: #fff;
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(32px, 3.4vw, 58px);
    line-height: 1.02;
    font-weight: 400;
    letter-spacing: -.025em;
}

.lawg-group-intro__photo {
    position: relative;
    margin: 0;
    width: 100%;
    background: #111;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.lawg-group-intro__photo::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    width: 110px;
    height: 3px;
    background: #c5a45b;
}

.lawg-group-intro__photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}


/* ---------- TABLET / MÓVIL ---------- */

@media (max-width: 782px) {

    .lawg-group-intro {
        padding: 34px 16px 46px;
    }

    .lawg-group-intro__heading {
        display: block;
        margin-bottom: 22px;
    }

    .lawg-group-intro__kicker {
        margin-bottom: 12px;
        font-size: 10px;
    }

    .lawg-group-intro__heading h2 {
        max-width: 520px;
        font-size: clamp(29px, 8.4vw, 42px);
        line-height: 1.03;
    }

    .lawg-group-intro__photo {
        width: 100%;
        margin: 0;
        overflow: visible;
        box-shadow: 0 14px 38px rgba(0,0,0,.24);
    }

    .lawg-group-intro__photo img {
        width: 100%;
        height: auto !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    .lawg-group-intro__photo::before {
        width: 72px;
        height: 2px;
    }
}


/* =========================================================
   PRÁCTICAS PRINCIPALES — MAYOR PRESENCIA TIPOGRÁFICA
   ========================================================= */

/* Nombres de las cinco prácticas principales */
#practicas h3,
.practices h3,
.practicas h3,
.home-practices h3 {
    font-size: clamp(34px, 3vw, 52px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.025em !important;
}

/* En pantallas amplias, darles todavía un poco más de presencia */
@media (min-width: 1200px) {
    #practicas h3,
    .practices h3,
    .practicas h3,
    .home-practices h3 {
        font-size: 48px !important;
    }
}

/* Móvil */
@media (max-width: 782px) {
    #practicas h3,
    .practices h3,
    .practicas h3,
    .home-practices h3 {
        font-size: 31px !important;
        line-height: 1.08 !important;
    }
}


/* =========================================================
   OTRAS PRÁCTICAS — MAYOR LEGIBILIDAD
   ========================================================= */

.law-other-practices-title{
    display:block;
    margin-bottom:10px;
    color:#b48c3c;
    font-family:Manrope,Arial,sans-serif;
    font-size:13px !important;
    line-height:1.2;
    font-weight:700;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.law-other-practices-list{
    display:block;
    color:#66717c;
    font-family:Manrope,Arial,sans-serif;
    font-size:17px !important;
    line-height:1.65;
    font-weight:400;
}

@media(max-width:782px){
    .law-other-practices-title{
        font-size:12px !important;
        margin-bottom:8px;
    }

    .law-other-practices-list{
        font-size:16px !important;
        line-height:1.65;
    }
}



/* ===== LAW FIX HERO ADRIANA OFFICE START ===== */


/* ---------------------------------------------------------
   HERO GRUPAL
   Subimos ligeramente el encuadre.
   --------------------------------------------------------- */

img[alt="Equipo completo de LAW Group Soluciones Jurídicas"]{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;

    /*
       Un valor superior a 50% hace que el contenido
       de la fotografía suba dentro de la ventana.
    */
    object-position:center 62% !important;
}


/* ---------------------------------------------------------
   ADRIANA
   Mismo tamaño visual que los demás socios.
   No modifica el archivo: únicamente encuadre CSS.
   --------------------------------------------------------- */

img[alt="Adriana Ximena Valarezo Acaro"]{
    object-fit:cover !important;
    object-position:center 44% !important;
    transform:scale(1.22) !important;
    transform-origin:50% 44% !important;
}


/* ---------------------------------------------------------
   RECEPCIÓN DENTRO DE NUESTRA OFICINA
   --------------------------------------------------------- */

.law-office-reception-add{
    width:100%;
    margin:22px 0 0;
    overflow:hidden;
}

.law-office-reception-add img{
    display:block;
    width:100%;
    height:520px;
    object-fit:cover;
    object-position:center 48%;
}


/* MÓVIL */

@media(max-width:782px){

    img[alt="Equipo completo de LAW Group Soluciones Jurídicas"]{
        object-position:center 58% !important;
    }

    img[alt="Adriana Ximena Valarezo Acaro"]{
        transform:scale(1.16) !important;
        transform-origin:50% 44% !important;
    }

    .law-office-reception-add{
        margin-top:14px;
    }

    .law-office-reception-add img{
        height:auto;
        object-fit:contain;
    }
}


/* ===== LAW FIX HERO ADRIANA OFFICE END ===== */


/* HERO GRUPAL — subir encuadre */
img[alt="Equipo completo de LAW Group Soluciones Jurídicas"]{
    object-position:center 78% !important;
}

@media(max-width:782px){
    img[alt="Equipo completo de LAW Group Soluciones Jurídicas"]{
        object-position:center 72% !important;
    }
}


/* HERO GRUPAL — ENCUADRE FINAL MÁS ALTO */
img[alt="Equipo completo de LAW Group Soluciones Jurídicas"]{
    object-position:center 92% !important;
}

@media(max-width:782px){
    img[alt="Equipo completo de LAW Group Soluciones Jurídicas"]{
        object-position:center 76% !important;
    }
}



/* === HERO GROUP POSITION REAL START === */

/*
 * FOTO GRUPAL DEL HERO
 * Esta regla apunta al archivo real, no al ALT.
 */

.law-hero-group-photo,
img[src*="LAW_Group_DSC1413_WEB"] {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;

    /* Máximo desplazamiento natural hacia arriba */
    object-position: center bottom !important;
}

/*
 * En escritorio añadimos un desplazamiento REAL adicional.
 * El pequeño zoom evita que aparezca un espacio vacío abajo.
 */
@media (min-width: 783px) {

    .law-hero-group-photo,
    img[src*="LAW_Group_DSC1413_WEB"] {
        transform: translateY(-6.5%) scale(1.08) !important;
        transform-origin: center center !important;
    }
}

/*
 * En móvil NO hacemos ese zoom,
 * para evitar cortar a los socios de los extremos.
 */
@media (max-width: 782px) {

    .law-hero-group-photo,
    img[src*="LAW_Group_DSC1413_WEB"] {
        transform: none !important;
        object-position: center bottom !important;
    }
}

/* === HERO GROUP POSITION REAL END === */


/* ===== HERO FRANJA LAW GROUP FINAL ===== */

.lawg9-strip{
    width:100%;
    margin:0;
    background:#0b1d2c;
    border-top:1px solid rgba(201,167,93,.35);
    color:#fff;
}

.lawg9-strip-inner{
    width:min(1380px,calc(100% - 80px));
    margin:0 auto;
    padding:34px 0 36px;
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:64px;
    align-items:center;
}

.lawg9-strip-title span{
    display:block;
    margin-bottom:10px;
    color:#c9a75d;
    font-family:Manrope,Arial,sans-serif;
    font-size:10px;
    font-weight:700;
    letter-spacing:.17em;
    text-transform:uppercase;
}

.lawg9-strip-title h1{
    margin:0;
    color:#fff;
    font-family:Newsreader,Georgia,serif;
    font-size:clamp(36px,3.2vw,52px);
    line-height:1;
    font-weight:400;
    letter-spacing:-.025em;
}

.lawg9-strip-side p{
    margin:0 0 18px;
    max-width:570px;
    color:rgba(255,255,255,.70);
    font-family:Manrope,Arial,sans-serif;
    font-size:13px;
    line-height:1.55;
}

.lawg9-strip-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.lawg9-strip-actions a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:45px;
    padding:0 19px;
    font-family:Manrope,Arial,sans-serif;
    font-size:10px;
    font-weight:700;
    text-transform:uppercase;
    text-decoration:none;
}

.lawg9-strip-primary{
    background:#d5b569;
    color:#102130 !important;
}

.lawg9-strip-secondary{
    border:1px solid rgba(255,255,255,.30);
    color:#fff !important;
}

@media(max-width:782px){

    .lawg9-strip-inner{
        width:calc(100% - 32px);
        padding:26px 0 30px;
        display:block;
    }

    .lawg9-strip-title h1{
        font-size:31px;
        line-height:1.03;
    }

    .lawg9-strip-side{
        margin-top:20px;
    }

    .lawg9-strip-side p{
        font-size:12px;
    }
}

/* ===== /HERO FRANJA LAW GROUP FINAL ===== */


/* =========================================================
   LAW GROUP — FIX ANCHO REAL MÓVIL
   Elimina padding horizontal heredado del block theme
   ========================================================= */

@media (max-width:782px){

    html,
    body{
        width:100% !important;
        max-width:100% !important;
        margin:0 !important;
        padding:0 !important;
        overflow-x:hidden !important;
    }

    html body .wp-site-blocks{
        width:100% !important;
        max-width:none !important;

        margin:0 !important;

        padding-left:0 !important;
        padding-right:0 !important;
        padding-inline:0 !important;

        overflow-x:hidden !important;
    }

    html body .wp-site-blocks > main,
    html body .wp-site-blocks > .wp-block-template-part,
    .lg-main{
        width:100% !important;
        max-width:none !important;
        margin-left:0 !important;
        margin-right:0 !important;
    }

}

