:root{
    --primary:#ef476f;
    --secondary:#1f2d5a;
    --accent:#22b8cf;
    --gold:#f4a300;
    --purple:#8b3dff;
    --green:#27ae60;
    --pink:#ef476f;
    --bg:#ffffff;
    --light-bg:#f6f7fb;
    --soft-gray:#eef1f5;
    --text:#25324a;
    --muted:#6d7891;
    --radius-xl:30px;
    --radius-lg:24px;
    --radius-md:20px;
    --shadow-soft:0 18px 50px rgba(25,35,63,.10);
    --shadow-card:0 10px 28px rgba(25,35,63,.08);
    --container:1240px;
}

html{scroll-behavior:smooth;}
body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:Arial,Helvetica,sans-serif;
}
a{text-decoration:none;}
.site-shell{
    max-width:var(--container);
    margin:0 auto;
    padding:0 18px;
}

.top-color-bar,
.mini-color-bar{
    display:flex;
    width:100%;
    height:8px;
}
.top-color-bar span,
.mini-color-bar span{
    flex:1;
    display:block;
}
.footer-color-bar{
    margin-bottom:18px;
}

.topbar{
    position:sticky;
    top:0;
    z-index:1050;
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(31,45,90,.08);
}
.brand-wrap{display:inline-flex;align-items:center;}
.brand-logo{
    max-height:74px;
    width:auto;
    object-fit:contain;
}

.desktop-nav a{
    color:var(--secondary);
    font-weight:800;
    font-size:.96rem;
    padding:12px 16px;
    border-radius:999px;
    transition:.2s ease;
}
.desktop-nav a:hover{
    color:var(--pink);
    background:#fff0f4;
}

.menu-toggle{
    width:54px;
    height:54px;
    border:none;
    border-radius:18px;
    background:#fff;
    color:var(--secondary);
    box-shadow:var(--shadow-card);
    font-size:1.55rem;
}

.mobile-panel{
    display:none;
    margin-top:14px;
    padding:14px;
    background:#fff;
    border-radius:22px;
    box-shadow:var(--shadow-soft);
}
.mobile-panel.show{display:block;}
.mobile-panel a{
    display:block;
    padding:14px 16px;
    color:var(--secondary);
    font-weight:800;
    border-radius:16px;
    background:var(--light-bg);
    margin-bottom:8px;
}
.mobile-panel a:last-child{margin-bottom:0;}

.section-space{
    padding:36px 0;
}

.hero{
    padding:24px 0 12px;
}
.hero-card{
    position:relative;
    overflow:hidden;
    border-radius:36px;
    min-height:600px;
    background:#dfe6ee center center/cover no-repeat;
    box-shadow:var(--shadow-soft);
}
.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(14,20,36,.15) 0%, rgba(14,20,36,.45) 65%, rgba(14,20,36,.68) 100%);
}
.hero-content{
    position:relative;
    z-index:2;
    min-height:600px;
    display:flex;
    align-items:flex-end;
    padding:40px;
}
.hero-copy{
    max-width:760px;
}
.hero-badge{
    display:inline-block;
    margin-bottom:16px;
    padding:10px 16px;
    border-radius:999px;
    color:#fff;
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.22);
    font-size:.92rem;
    font-weight:800;
}
.hero-title{
    margin:0 0 14px;
    color:#fff;
    font-size:clamp(2.5rem,6vw,5rem);
    line-height:.95;
    font-weight:900;
    text-shadow:0 4px 18px rgba(0,0,0,.22);
}
.hero-subtitle{
    margin:0 0 24px;
    color:rgba(255,255,255,.92);
    line-height:1.75;
    font-size:1.08rem;
}
.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}

.btn-main,
.btn-doc{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:60px;
    border:none;
    border-radius:18px;
    padding:14px 26px;
    font-weight:800;
    transition:.2s ease;
}
.btn-main:hover,
.btn-doc:hover{
    transform:translateY(-2px);
    color:#fff;
}
.btn-white{
    background:#fff;
    color:var(--secondary);
}
.btn-white:hover{
    background:#fff;
    color:var(--secondary);
}
.btn-pink{background:var(--pink);color:#fff;}
.btn-cyan{background:var(--accent);color:#fff;}
.btn-gold{background:var(--gold);color:#fff;}
.btn-purple{background:var(--purple);color:#fff;}
.btn-green{background:var(--green);color:#fff;}

.section-heading{
    text-align:center;
    margin-bottom:26px;
}
.section-kicker{
    display:inline-block;
    margin-bottom:10px;
    color:var(--pink);
    text-transform:uppercase;
    letter-spacing:.12em;
    font-weight:900;
    font-size:.82rem;
}
.section-kicker.left{
    text-align:left;
}
.section-title{
    margin:0 0 10px;
    font-size:clamp(2rem,4vw,4rem);
    line-height:1.03;
    font-weight:900;
    color:#0f2038;
}
.section-text{
    max-width:850px;
    margin:0 auto;
    color:var(--muted);
    font-size:1.05rem;
    line-height:1.75;
}

.quick-card{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 92px;
    padding: 18px 22px;
    border-radius: 22px;
    color: #0f2038;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: .22s ease;
    gap: 16px;
}

.quick-card:hover{
    transform: translateY(-3px);
    color: #0f2038;
}

.quick-card-icon{
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.78);
    font-size: 1rem;
    flex: 0 0 42px;
    margin-bottom: 0;
}

.quick-card-title{
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.quick-card-1{background:linear-gradient(135deg,#eef6ff,#dfeafc);}
.quick-card-2{background:linear-gradient(135deg,#fff0f4,#ffd9e5);}
.quick-card-3{background:linear-gradient(135deg,#eaf9ff,#d3f1fa);}
.quick-card-4{background:linear-gradient(135deg,#fff8e8,#ffe5ac);}
.quick-card-5{background:linear-gradient(135deg,#ecfbf1,#d2f1de);}
.quick-card-6{background:linear-gradient(135deg,#f3ecff,#e3d6ff);}

.welcome-box{
    background:#fff;
    border-radius:34px;
    overflow:hidden;
    box-shadow:var(--shadow-soft);
    border:1px solid rgba(31,45,90,.06);
}
.welcome-photo{
    width:100%;
    height:100%;
    min-height:480px;
    object-fit:cover;
    background:#e8edf3;
}
.welcome-content{
    padding:38px;
}
.welcome-role{
    color:var(--pink);
    font-weight:900;
    margin-bottom:6px;
}
.welcome-name{
    color:var(--secondary);
    font-weight:900;
    font-size:2.1rem;
    margin-bottom:18px;
}
.welcome-content p{
    margin-bottom:14px;
    color:#556079;
    line-height:1.82;
}

.doc-card{
    background:#fff;
    border-radius:34px;
    overflow:hidden;
    box-shadow:var(--shadow-soft);
    border:1px solid rgba(31,45,90,.06);
    margin-bottom:28px;
}
.doc-hero{
    position:relative;
    min-height:340px;
    background:#e3e8ef center center/contain no-repeat;
}
.doc-hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(17,22,34,.10), rgba(17,22,34,.46));
}
.doc-hero-content{
    position:relative;
    z-index:2;
    min-height:340px;
    padding:34px;
    display:flex;
    align-items:flex-end;
}
.doc-title{
    margin:0;
    color:#fff;
    font-size:clamp(2rem,5vw,4rem);
    line-height:1;
    font-weight:900;
    text-shadow:0 4px 15px rgba(0,0,0,.20);
}
.doc-content{
    padding:26px 26px 28px;
}
.doc-desc{
    margin:0 0 18px;
    color:var(--muted);
    line-height:1.78;
    font-size:1.03rem;
}
.doc-actions{
    display:flex;
    flex-direction:column;
    gap:12px;
}
.btn-doc{
    width:100%;
    color:#fff;
    font-size:clamp(1rem,2vw,1.18rem);
}

.tone-pink .doc-content{background:linear-gradient(180deg,#fff 0%,#fff9fb 100%);}
.tone-blue .doc-content{background:linear-gradient(180deg,#fff 0%,#f7fcff 100%);}
.tone-gold .doc-content{background:linear-gradient(180deg,#fff 0%,#fffaf0 100%);}
.tone-green .doc-content{background:linear-gradient(180deg,#fff 0%,#f6fcf8 100%);}
.tone-purple .doc-content{background:linear-gradient(180deg,#fff 0%,#faf7ff 100%);}

.contact-box{
    background:var(--light-bg);
    border-radius:34px;
    padding:34px;
}
.contact-title{
    margin:0;
    color:var(--secondary);
    font-size:clamp(2rem,4vw,3.6rem);
    font-weight:900;
    line-height:1.08;
}
.contact-card,
.contact-side-card{
    background:#fff;
    border-radius:28px;
    padding:28px;
    box-shadow:var(--shadow-card);
}
.contact-card h3,
.contact-side-card h3{
    color:var(--secondary);
    font-size:1.3rem;
    font-weight:900;
    margin-bottom:18px;
}
.contact-item{
    display:flex;
    gap:16px;
    align-items:flex-start;
    margin-bottom:18px;
    color:#62708b;
    line-height:1.65;
    font-size:1rem;
}
.contact-item strong{
    color:var(--secondary);
}
.contact-icon{
    width:28px;
    color:#b4bbc9;
    font-size:1.45rem;
    flex:0 0 28px;
}
.contact-item a{
    color:#62708b;
}
.contact-hours{
    color:#7b7b7b;
    font-size:1.12rem;
    line-height:1.7;
}

.social-links{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}
.social-links a{
    width:50px;
    height:50px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:1.25rem;
}
.social-x{background:#2da0e0;}
.social-facebook{background:#4961a8;}
.social-youtube{background:#ff140a;}
.social-linkedin{background:#5568da;}
.social-instagram{background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4);}

.contact-side-card .mini-color-bar{
    height:8px;
    border-radius:999px;
    overflow:hidden;
    margin-bottom:20px;
}
.contact-side-card p{
    color:var(--muted);
    line-height:1.8;
    margin-bottom:18px;
}

.footer{
    padding:0 0 34px;
}
.footer-box{
    background:#fff;
    border-radius:28px;
    padding:28px;
    box-shadow:var(--shadow-card);
}
.footer-logo{
    max-height:66px;
    width:auto;
    object-fit:contain;
}
.footer-title{
    color:var(--secondary);
    font-weight:900;
    margin-bottom:8px;
}
.footer-text{
    color:var(--muted);
    line-height:1.72;
}
.social-links-footer{
    justify-content:flex-end;
}

.floating-top{
    position:fixed;
    right:18px;
    bottom:18px;
    z-index:1055;
    width:56px;
    height:56px;
    border:none;
    border-radius:18px;
    background:var(--pink);
    color:#fff;
    box-shadow:0 16px 34px rgba(239,71,111,.28);
    display:none;
}
.floating-top.show{display:block;}

@media (max-width: 991.98px){
    .desktop-nav{display:none !important;}
    .hero-card,.hero-content{min-height:460px;}
    .contact-box{padding:24px;}
    .social-links-footer{justify-content:flex-start;}
}
@media (min-width: 992px){
    .mobile-panel{display:none !important;}
}
@media (max-width: 767.98px){
    .site-shell{padding:0 14px;}
    .brand-logo{max-height:60px;}
    .section-space{padding:28px 0;}
    .hero{padding-top:18px;}
    .hero-card,.hero-content{min-height:400px;}
    .hero-content{padding:22px;}
    .hero-subtitle{font-size:1rem;}
    .quick-card{
    min-height: 78px;
    padding: 14px 16px;
    border-radius: 18px;
    gap: 12px;
}

.quick-card-icon{
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: .95rem;
    flex: 0 0 36px;
}

.quick-card-title{
    font-size: .92rem;
}
    .welcome-photo{min-height:300px;}
    .welcome-content{padding:24px;}
    .welcome-name{font-size:1.7rem;}
    .doc-hero{
    min-height: 95px;
    background-size: contain;
    background-position: center center;
}
    .doc-hero-content{
        min-height:220px;
        padding:20px;
    }
    .doc-content{
        padding:18px 18px 20px;
    }
    .contact-box{
        padding:18px;
        border-radius:26px;
    }
    .contact-card,
    .contact-side-card,
    .footer-box{
        padding:20px;
        border-radius:22px;
    }
}


.contact-box{
    background: var(--light-bg);
    border-radius: 34px;
    padding: 34px;
}

.contact-main,
.contact-side-card{
    height: 100%;
}

.contact-card,
.contact-side-card{
    background: #fff;
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow-card);
}

.contact-main .contact-title{
    max-width: 680px;
}

.contact-item{
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
    color: #62708b;
    line-height: 1.65;
    font-size: 1rem;
}

.contact-item a{
    color: var(--secondary);
    font-weight: 700;
}

.contact-divider{
    height: 1px;
    background: rgba(31,45,90,.08);
    margin: 22px 0;
}

.contact-side-top h3{
    color: var(--secondary);
    font-size: 1.45rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.contact-side-top p{
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.contact-mini-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

.contact-mini-link{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: var(--light-bg);
    color: var(--secondary);
    transition: .2s ease;
    min-height: 72px;
}

.contact-mini-link span{
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(25,35,63,.06);
    font-size: 1rem;
}

.contact-mini-link strong{
    font-size: .98rem;
    font-weight: 900;
    line-height: 1.2;
}

.contact-mini-link:hover{
    transform: translateY(-2px);
    background: #eef3ff;
    color: var(--secondary);
}

.contact-side-actions{
    margin-top: 22px;
}

@media (max-width: 991.98px){
    .contact-box{
        padding: 22px;
    }

    .contact-card,
    .contact-side-card{
        padding: 22px;
    }
}

@media (max-width: 767.98px){
    .contact-mini-grid{
        grid-template-columns: 1fr;
    }

    .contact-box{
        padding: 18px;
        border-radius: 24px;
    }

    .contact-card,
    .contact-side-card{
        padding: 18px;
        border-radius: 20px;
    }
}


/* SEMBLANZA / LEER MÁS */
.welcome-text{
    position: relative;
    max-height: 320px;
    overflow: hidden;
    transition: max-height .35s ease;
}

.welcome-text.is-open{
    max-height: 3000px;
}

.welcome-text:not(.is-open)::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 110px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #ffffff 78%);
    pointer-events: none;
}

.welcome-toggle{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--pink);
    font-weight: 900;
    font-size: 1rem;
    line-height: 1.2;
    cursor: pointer;
    transition: .2s ease;
}

.welcome-toggle:hover{
    color: var(--secondary);
    text-decoration: underline;
}

.welcome-toggle:focus{
    outline: none;
    box-shadow: none;
}

@media (max-width: 767.98px){
    .welcome-text{
        max-height: 240px;
    }

    .welcome-text:not(.is-open)::after{
        height: 90px;
    }

    .welcome-toggle{
        font-size: .95rem;
        margin-top: 10px;
    }
}