:root{
    --primary:#0b4ea2;
    --primary-dark:#083f84;
    --teal:#11b9c9;
    --teal-dark:#0b9fb1;
    --green:#79c64d;
    --purple:#8378eb;
    --orange:#f2ae3d;

    --text:#18314f;
    --text-soft:#4f6781;
    --white:#ffffff;
    --bg:#f7fbfd;
    --line:#dce8ef;

    --shadow-soft:0 12px 30px rgba(21,54,94,.08);
    --shadow-card:0 10px 24px rgba(22,59,99,.10);
    --radius-xl:24px;
    --radius-lg:20px;
    --radius-md:14px;

    --header-h:92px;
    --container:1440px;
}

/* ==============================
   RESET
============================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat', sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.5;
    overflow-x:hidden;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    display:block;
    max-width:100%;
}

.container{
    width:min(var(--container), calc(100% - 34px));
    margin:0 auto;
}

/* ==============================
   HEADER
============================== */
.site-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(10,78,162,.08);
    box-shadow:0 2px 14px rgba(10,58,100,.04);
}

.header-inner{
    min-height:var(--header-h);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
}

.brand{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:max-content;
}

.brand-icon{
    width:56px;
    height:56px;
    position:relative;
    border-radius:18px;
    background:linear-gradient(145deg, #d8f6fb 0%, #f4ffff 45%, #cceff5 100%);
    box-shadow:
        inset 0 0 0 2px rgba(17,185,201,.16),
        0 8px 18px rgba(17,185,201,.14);
    flex-shrink:0;
}

.cross{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
    border-radius:999px;
    background:linear-gradient(180deg, #16c2d4 0%, #0eb7c7 45%, #0b4ea2 100%);
}

.cross.vertical{
    width:18px;
    height:40px;
}

.cross.horizontal{
    width:40px;
    height:18px;
}

.brand-text{
    display:flex;
    flex-direction:column;
    line-height:1;
}

.brand-name{
    font-size:30px;
    font-weight:800;
    letter-spacing:-0.7px;
    text-transform:lowercase;
    color:var(--primary);
}

.brand-subtitle{
    margin-top:7px;
    font-size:12px;
    font-weight:600;
    letter-spacing:2.5px;
    color:#15a3b3;
}

.main-nav{
    display:flex;
    align-items:center;
    gap:28px;
    margin-left:auto;
}

.main-nav a{
    position:relative;
    font-size:15px;
    font-weight:600;
    color:#20262f;
    transition:.25s ease;
}

.main-nav a:hover,
.main-nav a.active{
    color:var(--teal-dark);
}

.main-nav a.active::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-12px;
    width:42px;
    height:3px;
    border-radius:999px;
    background:var(--teal);
}

.header-actions{
    display:flex;
    align-items:center;
    gap:16px;
}

.header-phone{
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--primary);
    font-size:15px;
    font-weight:700;
    white-space:nowrap;
}

.header-phone svg{
    width:24px;
    height:24px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    border:none;
    cursor:pointer;
    transition:.25s ease;
    font-family:inherit;
}

.btn svg{
    width:20px;
    height:20px;
}

.btn-primary{
    background:linear-gradient(90deg, #0ea7b8 0%, #10b8ca 100%);
    color:#fff;
    font-size:15px;
    font-weight:700;
    padding:16px 24px;
    border-radius:16px;
    box-shadow:0 12px 26px rgba(17,183,201,.22);
}

.btn-primary:hover{
    transform:translateY(-1px);
}

.menu-toggle{
    display:none;
    width:46px;
    height:46px;
    border:none;
    background:#eef7fb;
    border-radius:14px;
    cursor:pointer;
    padding:10px;
    flex-direction:column;
    justify-content:center;
    gap:5px;
}

.menu-toggle span{
    display:block;
    width:100%;
    height:3px;
    background:var(--primary);
    border-radius:999px;
}

/* ==============================
   HERO
============================== */
.hero-section{
    position:relative;
    min-height:620px;
    overflow:hidden;
    background:#eaf4f8;
}

.hero-image-wrap{
    position:absolute;
    inset:0;
    z-index:1;
}

.hero-image{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}

.hero-section::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    background:
        linear-gradient(90deg,
            rgba(255,255,255,.78) 0%,
            rgba(255,255,255,.52) 23%,
            rgba(255,255,255,.12) 47%,
            rgba(255,255,255,0) 70%);
    pointer-events:none;
}

.hero-content{
    position:relative;
    z-index:3;
    min-height:620px;
    display:block;
}

/* TEXTO IZQUIERDO */
.hero-copy{
    position:absolute;
    left:78px;
    top:122px;
    width:460px;
    z-index:5;
}

.hero-copy h1{
    font-size:57px;
    line-height:1.04;
    font-weight:800;
    letter-spacing:-1.5px;
    color:var(--primary);
}

.hero-copy h1 span{
    display:inline-block;
    margin-top:8px;
    color:var(--teal-dark);
}

.hero-copy p{
    margin-top:22px;
    font-size:17px;
    line-height:1.7;
    color:#204d75;
    font-weight:500;
    max-width:420px;
}

.btn-hero{
    margin-top:28px;
    background:linear-gradient(90deg, #11b7c9 0%, #0aa7b8 100%);
    color:#fff;
    padding:15px 26px;
    border-radius:16px;
    font-size:16px;
    font-weight:700;
    box-shadow:0 12px 24px rgba(17,183,201,.22);
}

.btn-hero:hover{
    transform:translateY(-1px);
}

/* LOGO GRANDE SOBRE LA FOTO */
.hero-logo-overlay{
    position:absolute;
    top:98px;
    right:260px;
    z-index:4;
}

.hero-wall-logo{
    display:flex;
    align-items:center;
    gap:18px;
    filter:drop-shadow(0 10px 22px rgba(14, 93, 146, 0.08));
}

.hero-wall-icon{
    width:86px;
    height:86px;
    position:relative;
    border-radius:24px;
    background:rgba(255,255,255,.42);
    box-shadow:inset 0 0 0 2px rgba(17,185,201,.15);
    backdrop-filter:blur(1px);
}

.hero-wall-text{
    line-height:1;
}

.hero-wall-name{
    display:block;
    font-size:74px;
    font-weight:800;
    letter-spacing:-2px;
    color:var(--primary);
    text-transform:lowercase;
}

.hero-wall-sub{
    display:block;
    margin-top:12px;
    font-size:24px;
    font-weight:600;
    letter-spacing:2px;
    color:#14a2b2;
}

/* PANEL DERECHO */
.hero-side-menu{
    position:absolute;
    right:14px;
    top:72px;
    z-index:5;
    width:164px;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.hero-side-menu a{
    background:rgba(8,73,135,.94);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:17px 16px;
    border-radius:12px;
    font-size:14px;
    font-weight:600;
    box-shadow:var(--shadow-soft);
    transition:.25s ease;
}

.hero-side-menu a:hover{
    transform:translateX(-4px);
    background:#0a5c9e;
}

/* ==============================
   QUICK CARDS
============================== */
.quick-actions{
    position:relative;
    z-index:10;
    margin-top:-66px;
}

.quick-grid{
    display:grid;
    grid-template-columns:repeat(5, 1fr);
    gap:16px;
}

.quick-card{
    background:#fff;
    border-radius:22px;
    box-shadow:var(--shadow-card);
    min-height:120px;
    padding:20px 18px;
    display:grid;
    grid-template-columns:68px 1fr 18px;
    gap:16px;
    align-items:center;
    transition:.25s ease;
}

.quick-card:hover{
    transform:translateY(-3px);
}

.quick-icon{
    width:68px;
    height:68px;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    box-shadow:inset 0 -8px 18px rgba(0,0,0,.05);
}

.quick-icon svg{
    width:32px;
    height:32px;
}

.quick-icon.teal{ background:linear-gradient(180deg, #16c3d4 0%, #0caab9 100%); }
.quick-icon.blue{ background:linear-gradient(180deg, #2d6ef0 0%, #1858cf 100%); }
.quick-icon.green{ background:linear-gradient(180deg, #83d65a 0%, #69bc40 100%); }
.quick-icon.purple{ background:linear-gradient(180deg, #9285f3 0%, #776ce6 100%); }
.quick-icon.orange{ background:linear-gradient(180deg, #f7bb57 0%, #eea22a 100%); }

.quick-info h3{
    font-size:14px;
    color:var(--primary);
    font-weight:800;
    margin-bottom:8px;
}

.quick-info p{
    font-size:14px;
    color:#3b4f69;
    line-height:1.55;
}

.quick-arrow{
    justify-self:end;
    color:var(--primary);
    font-size:34px;
    font-weight:300;
}

/* ==============================
   SECTION TITLE
============================== */
.section-title{
    text-align:center;
    margin-bottom:34px;
}

.section-title h2{
    font-size:29px;
    font-weight:800;
    color:var(--primary);
    letter-spacing:-0.5px;
}

.section-title .line{
    display:block;
    width:66px;
    height:4px;
    border-radius:999px;
    background:var(--teal);
    margin:12px auto 0;
}

/* ==============================
   SERVICES
============================== */
.services-section{
    background:#fff;
    padding:42px 0 44px;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(7, 1fr);
    align-items:start;
}

.service-item{
    min-height:160px;
    text-align:center;
    padding:10px 16px;
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:16px;
    transition:.25s ease;
}

.service-item:hover{
    transform:translateY(-2px);
}

.service-item:not(:last-child)::after{
    content:"";
    position:absolute;
    right:0;
    top:22px;
    width:1px;
    height:104px;
    background:var(--line);
}

.service-icon{
    width:82px;
    height:82px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #dfeaf1;
    background:#fff;
}

.service-icon svg{
    width:36px;
    height:36px;
}

.teal-stroke{ color:#14b2c1; }
.red-stroke{ color:#ff7575; }
.blue-stroke{ color:#2b69e5; }
.green-stroke{ color:#77c762; }
.orange-stroke{ color:#f0ad3f; }
.light-stroke{ color:#8ccad1; }

.teal-fill{
    color:#0eb5c3;
    background:#f4fdfe;
    box-shadow:inset 0 0 0 1px rgba(17,183,201,.14);
}

.service-item span{
    font-size:14px;
    line-height:1.45;
    font-weight:700;
    color:var(--primary);
}

/* ==============================
   BENEFITS
============================== */
.benefits-section{
    background:#fff;
    padding:0 0 34px;
}

.benefits-grid{
    background:linear-gradient(180deg, #f4fbfd 0%, #eef7fa 100%);
    border-radius:24px;
    box-shadow:0 8px 20px rgba(19,72,110,.05);
    overflow:hidden;
    display:grid;
    grid-template-columns:repeat(4, 1fr);
}

.benefit-item{
    position:relative;
    min-height:120px;
    padding:28px 24px;
    display:flex;
    align-items:flex-start;
    gap:18px;
}

.benefit-item:not(:last-child)::after{
    content:"";
    position:absolute;
    right:0;
    top:24px;
    width:1px;
    height:72px;
    background:var(--line);
}

.benefit-icon{
    width:52px;
    height:52px;
    flex-shrink:0;
    color:#12a0af;
}

.benefit-icon svg{
    width:100%;
    height:100%;
}

.benefit-text h3{
    font-size:15px;
    color:var(--primary);
    font-weight:800;
    margin-bottom:8px;
}

.benefit-text p{
    font-size:14px;
    line-height:1.6;
    color:#34506d;
}

/* ==============================
   BLOQUES INFERIORES
============================== */
.content-block{
    background:#fff;
    border-top:1px solid #eef5f8;
    padding:52px 0;
}

.content-block.alt{
    background:#f8fcfe;
}

.content-block h2{
    font-size:32px;
    color:var(--primary);
    font-weight:800;
    margin-bottom:14px;
}

.content-block p{
    max-width:950px;
    font-size:17px;
    line-height:1.8;
    color:#31516d;
}

.content-block a{
    color:var(--teal-dark);
    font-weight:700;
}

/* ==============================
   FOOTER
============================== */
.site-footer{
    background:var(--primary);
    color:#fff;
    padding:26px 0;
}

.footer-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.footer-brand{
    display:flex;
    flex-direction:column;
    gap:2px;
}

.footer-brand strong{
    font-size:20px;
    font-weight:800;
}

.footer-brand span,
.footer-copy{
    font-size:14px;
    color:rgba(255,255,255,.88);
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 1400px){
    .hero-copy{
        left:50px;
        width:420px;
    }

    .hero-copy h1{
        font-size:50px;
    }

    .hero-logo-overlay{
        right:220px;
    }

    .hero-wall-name{
        font-size:60px;
    }

    .hero-wall-sub{
        font-size:20px;
    }

    .quick-grid{
        grid-template-columns:repeat(3, 1fr);
    }

    .services-grid{
        grid-template-columns:repeat(4, 1fr);
        row-gap:20px;
    }

    .service-item:nth-child(4)::after{
        display:none;
    }
}

@media (max-width: 1180px){
    .main-nav{
        gap:18px;
    }

    .main-nav a{
        font-size:14px;
    }

    .header-phone span{
        display:none;
    }

    .hero-section{
        min-height:760px;
    }

    .hero-content{
        min-height:760px;
    }

    .hero-copy{
        left:40px;
        top:100px;
        width:390px;
    }

    .hero-copy h1{
        font-size:44px;
    }

    .hero-logo-overlay{
        top:86px;
        right:170px;
    }

    .hero-wall-name{
        font-size:48px;
    }

    .hero-wall-sub{
        font-size:17px;
        margin-top:8px;
    }

    .hero-side-menu{
        top:230px;
        right:20px;
        width:220px;
    }

    .benefits-grid{
        grid-template-columns:repeat(2, 1fr);
    }

    .benefit-item:nth-child(2)::after{
        display:none;
    }
}

@media (max-width: 980px){
    :root{
        --header-h:84px;
    }

    .menu-toggle{
        display:flex;
    }

    .main-nav{
        position:absolute;
        top:100%;
        left:0;
        right:0;
        background:#fff;
        border-top:1px solid rgba(10,78,162,.08);
        box-shadow:0 18px 30px rgba(17,47,82,.08);
        flex-direction:column;
        align-items:flex-start;
        gap:0;
        padding:10px 20px 18px;
        display:none;
    }

    .main-nav.show{
        display:flex;
    }

    .main-nav a{
        width:100%;
        padding:14px 0;
        border-bottom:1px solid #eef4f8;
    }

    .main-nav a.active::after{
        display:none;
    }

    .header-phone,
    .btn-turno{
        display:none;
    }

    .hero-section{
        min-height:860px;
    }

    .hero-content{
        min-height:860px;
    }

    .hero-section::before{
        background:
            linear-gradient(180deg,
                rgba(255,255,255,.88) 0%,
                rgba(255,255,255,.65) 42%,
                rgba(255,255,255,.20) 100%);
    }

    .hero-copy{
        position:absolute;
        left:28px;
        top:48px;
        width:min(88vw, 420px);
    }

    .hero-copy h1{
        font-size:40px;
    }

    .hero-copy p{
        font-size:16px;
    }

    .hero-logo-overlay{
        left:28px;
        right:auto;
        top:320px;
    }

    .hero-side-menu{
        left:28px;
        right:auto;
        top:420px;
        width:min(260px, 80vw);
    }

    .quick-actions{
        margin-top:-70px;
    }

    .quick-grid{
        grid-template-columns:1fr 1fr;
    }

    .services-grid{
        grid-template-columns:repeat(3, 1fr);
    }

    .service-item:nth-child(3)::after,
    .service-item:nth-child(6)::after{
        display:none;
    }

    .footer-inner{
        flex-direction:column;
        align-items:flex-start;
    }
}

@media (max-width: 680px){
    .container{
        width:min(100% - 20px, var(--container));
    }

    .brand-name{
        font-size:24px;
    }

    .brand-subtitle{
        font-size:10px;
        letter-spacing:2px;
    }

    .brand-icon{
        width:46px;
        height:46px;
        border-radius:14px;
    }

    .cross.vertical{
        width:15px;
        height:34px;
    }

    .cross.horizontal{
        width:34px;
        height:15px;
    }

    .hero-section{
        min-height:930px;
    }

    .hero-content{
        min-height:930px;
    }

    .hero-copy{
        left:18px;
        top:32px;
        width:calc(100% - 36px);
    }

    .hero-copy h1{
        font-size:32px;
        letter-spacing:-1px;
    }

    .hero-copy p{
        margin-top:16px;
        font-size:14px;
        line-height:1.7;
        max-width:100%;
    }

    .btn-hero{
        font-size:14px;
        padding:13px 18px;
        margin-top:20px;
    }

    .hero-logo-overlay{
        left:18px;
        top:280px;
    }

    .hero-wall-logo{
        gap:12px;
    }

    .hero-wall-icon{
        width:58px;
        height:58px;
        border-radius:18px;
    }

    .hero-wall-name{
        font-size:34px;
    }

    .hero-wall-sub{
        font-size:13px;
        margin-top:6px;
        letter-spacing:1.4px;
    }

    .hero-side-menu{
        left:18px;
        top:360px;
        width:calc(100% - 36px);
        max-width:230px;
    }

    .hero-side-menu a{
        padding:14px 14px;
        font-size:14px;
    }

    .quick-actions{
        margin-top:-110px;
    }

    .quick-grid{
        grid-template-columns:1fr;
    }

    .quick-card{
        min-height:106px;
        grid-template-columns:64px 1fr 18px;
        padding:18px 16px;
        border-radius:18px;
    }

    .quick-icon{
        width:64px;
        height:64px;
        border-radius:18px;
    }

    .quick-icon svg{
        width:28px;
        height:28px;
    }

    .quick-info h3{
        font-size:13px;
    }

    .quick-info p{
        font-size:13px;
    }

    .section-title{
        margin-bottom:26px;
    }

    .section-title h2{
        font-size:26px;
    }

    .services-section{
        padding:38px 0 42px;
    }

    .services-grid{
        grid-template-columns:repeat(2, 1fr);
    }

    .service-item{
        min-height:145px;
        padding:12px 10px;
    }

    .service-item::after{
        display:none !important;
    }

    .service-icon{
        width:72px;
        height:72px;
    }

    .service-icon svg{
        width:30px;
        height:30px;
    }

    .service-item span{
        font-size:13px;
    }

    .benefits-grid{
        grid-template-columns:1fr;
    }

    .benefit-item{
        min-height:auto;
        padding:22px 18px;
    }

    .benefit-item::after{
        display:none !important;
    }

    .benefit-text h3{
        font-size:15px;
    }

    .benefit-text p{
        font-size:13px;
    }

    .content-block{
        padding:40px 0;
    }

    .content-block h2{
        font-size:28px;
    }

    .content-block p{
        font-size:15px;
        line-height:1.75;
    }
}