/* Unidad Piel y Láser: light clinical/technology identity */
:root {
    --rose-gold: #277f87;
    --rose-gold-hover: #1f6f77;
    --rose-gold-dark: #155b63;
    --rose-gold-deep: #103f46;
    --rose-gold-light: #79b8ba;
    --rose-gold-subtle: #e7f4f2;
    --rose-gold-blush: #f1f9f8;
    --rose-gold-glow: rgba(39,127,135,.18);
    --rose-gold-border: rgba(39,127,135,.2);
    --gradient-rose-gold: linear-gradient(135deg,#3d9298 0%,#206d76 100%);
    --gradient-rose-gold-hover: linear-gradient(135deg,#287d85 0%,#155b63 100%);
    --gradient-champagne: linear-gradient(135deg,#e2f3f0 0%,#cbe9e5 100%);
    --gradient-silk: linear-gradient(135deg,#f5fbfa 0%,#eaf6f4 100%);
    --bg-body: #f6fbfa;
    --bg-body-warm: #edf7f5;
    --surface-silk: #f8fcfb;
    --border-silk: #dcebea;
    --border-silk-dark: #c6dedd;
    --text-primary: #173b3f;
    --text-secondary: #456266;
    --text-muted: #6e8588;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
}

body { background: var(--bg-body); color: var(--text-primary); }
h1, h2, h3, .section-title, .brand-name, .footer-brand-name { font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -.035em; }
.navbar { background: rgba(255,255,255,.96); border-bottom: 1px solid #dcebea; box-shadow: 0 4px 20px rgba(18,78,84,.05); }
.brand-logo-img, .drawer-avatar { border-radius: 12px; }
.brand-name { color: #155b63; font-weight: 700; letter-spacing: -.04em; }
.brand-company { color: #5a777a; letter-spacing: .08em; }
.drawer-overlay {
    inset: 0;
    width: auto;
    height: auto;
    z-index: 9998;
}
.mobile-drawer {
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    min-height: 100%;
    z-index: 9999;
    isolation: isolate;
    overscroll-behavior: contain;
}

.hero {
    min-height: 720px;
    padding-top: 150px;
    background: linear-gradient(105deg,#f8fcfb 0 54%,#ddf0ed 54% 100%);
}
.hero-bg-blobs { opacity: .34; }
.hero-pill-badge { border-radius: 5px; background: #e4f3f1; border: 1px solid #c7e2df; color: #17626a; letter-spacing: .06em; }
.hero h1 { color: #153e43; font-size: clamp(3rem,5vw,5.3rem); font-weight: 700; line-height: 1.02; max-width: 720px; }
.hero-content > p { color: #526d70; max-width: 600px; }
.image-frame-luxury { border-radius: 28px 6px 28px 6px; padding: 10px; background: #fff; box-shadow: 0 26px 70px rgba(21,91,99,.14); }
.image-frame-luxury .image-slider { border-radius: 20px 3px 20px 3px; }
.hero-badge { border-radius: 8px; border: 1px solid #cfe4e1; box-shadow: 0 14px 35px rgba(18,82,88,.13); }
.hero-stats-row { border-radius: 8px; background: rgba(255,255,255,.78); border: 1px solid #d7e9e6; }

.btn, .btn-book-cta, .filter-btn, .search-input, .consult-card, .treatment-card, .ba-card { border-radius: 10px; }
.btn-primary, .btn-book-cta, .drawer-agent-btn, .floating-agent-btn, .btn-ba-book { background: var(--gradient-rose-gold); box-shadow: 0 9px 24px rgba(27,104,112,.22); }
.btn-primary:hover, .btn-book-cta:hover, .drawer-agent-btn:hover, .btn-ba-book:hover { background: var(--gradient-rose-gold-hover); }
.consultations-section { background: #fff; }
.consultation-banner { background: #f4faf9; border: 1px solid #d9ebe8; border-radius: 18px; box-shadow: none; }
.consultation-intro p.consultation-lead { margin-bottom: .8rem; }
.consultation-intro p.consultation-detail { margin-bottom: 2rem; }
.consult-card { border: 1px solid #d7e8e6; box-shadow: 0 10px 30px rgba(21,91,99,.06); }
.consult-card.featured { background: #e8f5f3; border-color: #a9d2ce; }
.before-after-section { background: #eaf6f4; }
.eyebrow-tag, .subtitle { background: #dff0ed; color: #17636a; border-color: #badbd7; }
.ba-card { border: 1px solid #d5e8e5; box-shadow: 0 12px 32px rgba(21,91,99,.07); }
.treatments-section { background: #f8fcfb; }
.treatment-card { border: 1px solid #dbeae8; box-shadow: 0 8px 26px rgba(21,91,99,.06); }
.treatment-card:hover { box-shadow: 0 18px 42px rgba(21,91,99,.12); }
.tag-category, .area-tags li { background: #e3f2f0; color: #155b63; }
.about { background: #fff; }
.rounded-image { border-radius: 24px 5px 24px 5px; }
.cta-section { background: linear-gradient(135deg,#dcefeb,#eef8f6); }
.cta-box {
    background: #ffffff;
    border: 1px solid #c9e0dd;
    border-radius: 20px;
    box-shadow: 0 22px 55px rgba(21,91,99,.12);
}
.cta-box h2 { color: #173b3f; }
.cta-box p { color: #456266; }
.cta-box .btn-agent-cta { color: #ffffff; }
.cta-box .btn-outline-light { background: #ffffff; border-color: #78aeb0; color: #173b3f; }
.cta-box .btn-outline-light:hover { background: #155b63; border-color: #155b63; color: #ffffff; }
.cta-box .btn-whatsapp { display: none !important; }
.cta-box h2 {
    font-size: clamp(2rem,4vw,2.8rem);
    line-height: 1.12;
}
.cta-actions {
    width: min(100%,820px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
    gap: .8rem;
}
.cta-actions .btn {
    width: 100%;
    min-width: 0;
    margin: 0;
    justify-content: center;
    text-align: center;
}

@media (min-width: 601px) and (max-width: 900px) {
    .cta-section.section-padding { padding: 4rem 0; }
    .cta-box { padding: 2.5rem 2rem; }
    .cta-box h2 { font-size: clamp(1.9rem,5vw,2.4rem); }
    .cta-box p { margin-bottom: 1.75rem; font-size: 1rem; }
    .cta-actions {
        grid-template-columns: minmax(0,1fr) minmax(0,1fr);
        max-width: 620px;
        gap: .75rem;
    }
    .cta-actions .btn:nth-child(-n+2) { grid-column: 1 / -1; }
    .cta-actions .btn { min-height: 48px; padding: .8rem 1rem; font-size: .82rem; }
}

.footer { background: #e4f1ef; color: #244c50; }
.footer .footer-brand-name { color: #173b3f; }
.footer .footer-brand-sub { color: #277f87; }
.footer .footer-desc,
.footer .footer-links a,
.footer .footer-contact li,
.footer .footer-contact li a { color: #456266; }
.footer .footer-links h3,
.footer .footer-contact h3 { color: #155b63; }
.footer .footer-links a:hover { color: #155b63; }
.footer .social-icon-btn {
    color: #155b63;
    background: rgba(255,255,255,.58);
    border-color: rgba(21,91,99,.2);
}
.footer .social-icon-btn:hover { color: #ffffff; background: #277f87; border-color: #277f87; }
.footer .footer-bottom { color: #5c777a; border-top-color: rgba(21,91,99,.16); }

/* Barra principal: más ligera, compacta y con mejor jerarquía */
.navbar {
    height: 72px;
    min-height: 72px;
    padding: 0;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: visible;
}
.navbar.scrolled {
    height: 72px;
    min-height: 72px;
    padding: 0;
}
.nav-container {
    width: 100%;
    max-width: 1480px;
    height: 100%;
    min-height: 0;
    padding: 0 clamp(1.25rem,3vw,3rem);
    gap: clamp(1rem,2.2vw,2.5rem);
    overflow: visible;
}
.brand-logo {
    flex: 0 0 auto;
    gap: .75rem;
    min-width: 0;
}
.brand-logo-frame {
    width: 40px;
    height: 40px;
    box-shadow: 0 5px 16px rgba(21,91,99,.12);
}
.brand-text-group { min-width: 0; }
.brand-eyebrow {
    margin-bottom: 0;
    font-size: .59rem;
    letter-spacing: .16em;
    line-height: 1.2;
}
.brand-name {
    font-size: 1.42rem;
    line-height: 1.05;
}
.brand-company {
    margin-top: .14rem;
    font-size: .65rem;
    letter-spacing: .055em;
    line-height: 1.25;
    white-space: nowrap;
}
.nav-menu {
    flex: 1 1 0;
    justify-content: center;
    gap: clamp(.75rem,1.65vw,1.65rem);
    min-width: 0;
    max-width: 760px;
    margin-inline: auto;
    padding: .4rem .6rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}
.nav-link {
    padding: .5rem .12rem;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
}
.nav-link::after { bottom: .16rem; }
.nav-actions {
    flex: 0 0 auto;
    gap: .65rem;
}
.btn-book-cta {
    min-height: 42px;
    gap: .45rem;
    padding: .68rem 1rem;
    border-radius: 9px;
    font-size: .8rem;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 7px 18px rgba(27,104,112,.18);
}
.btn-book-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(27,104,112,.24);
}

@media (max-width: 1180px) {
    .nav-container { gap: 1rem; padding-inline: 1.5rem; }
    .brand-company { display: none; }
    .nav-menu { gap: .8rem; }
    .nav-link { font-size: .76rem; }
    .btn-book-cta { padding-inline: .8rem; font-size: .75rem; }
}

@media (max-width: 960px) {
    .nav-actions .btn-book-cta { display: none !important; }
    .nav-menu { gap: clamp(.65rem,1.7vw,1rem); }
}

@media (max-width: 860px) {
    .navbar,
    .navbar.scrolled {
        height: 62px;
        min-height: 62px;
        padding: 0;
    }
    .nav-container { padding-inline: 1rem; }
    .brand-logo-frame { width: 38px; height: 38px; }
    .brand-name { font-size: 1.18rem; }
}

html,
body {
    width: 100%;
    max-width: 100%;
}

/* Responsive hero system: desktop, tablet and phone are composed separately */
.hero {
    width: 100%;
    max-width: 1440px;
    padding: 140px clamp(2rem,5vw,5rem) 80px;
    gap: clamp(2.5rem,5vw,5.5rem);
}
.hero-content,
.hero-image { min-width: 0; }
.image-frame-luxury { max-width: 460px; height: 520px; }

@media (max-width: 1100px) {
    .hero {
        max-width: none;
        min-height: 700px;
        padding: 125px 3rem 70px;
        gap: 2.5rem;
    }
    .hero h1 { font-size: clamp(3.1rem,5.5vw,4.25rem); }
    .hero-content > p { font-size: 1.05rem; }
    .image-frame-luxury { max-width: 400px; height: 470px; }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        min-height: auto;
        padding: 115px 2.5rem 4.5rem;
        gap: 3rem;
        text-align: center;
        background: linear-gradient(180deg,#f8fcfb 0 66%,#ddf0ed 66% 100%);
    }
    .hero-content { width: 100%; max-width: 720px; margin: 0 auto; }
    .hero h1 {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(2.75rem,7vw,3.5rem);
        line-height: 1.05;
    }
    .hero-content > p { max-width: 610px; margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; margin-bottom: 2rem; }
    .hero-stats-row { max-width: 500px; margin: 0 auto; justify-content: center; }
    .hero-image { width: 100%; }
    .image-frame-luxury {
        width: 100%;
        max-width: 600px;
        height: 390px;
        margin: 0 auto;
        border-radius: 20px 5px;
    }
    .hero-badge.floating { left: 24px; transform: none; bottom: -18px; }
    @keyframes floatSlow {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: auto;
        padding: 62px 0 1.5rem;
        gap: 0;
        background: #e4f3f1;
        overflow: hidden;
    }
    .hero-image {
        order: 1;
        width: 100%;
        position: relative;
        z-index: 1;
    }
    .hero-content {
        order: 2;
        width: calc(100% - 1.5rem);
        margin: -1.8rem auto 0;
        padding: 1.15rem .9rem 1.25rem;
        position: relative;
        z-index: 3;
        background: rgba(255,255,255,.97);
        border: 1px solid rgba(193,222,218,.9);
        border-radius: 18px 18px 8px 8px;
        box-shadow: 0 16px 36px rgba(21,91,99,.12);
    }
    .hero-pill-badge {
        max-width: 100%;
        margin: 0 auto .8rem;
        padding: .38rem .55rem;
        font-size: clamp(.53rem,2.6vw,.64rem);
        line-height: 1.35;
        letter-spacing: .025em;
    }
    .hero h1 {
        max-width: 19ch;
        margin: 0 auto .65rem;
        font-size: clamp(1.55rem,7.6vw,1.9rem);
        line-height: 1.08;
        letter-spacing: -.045em;
    }
    .hero-content > p {
        max-width: 36ch;
        margin: 0 auto 1rem;
        font-size: clamp(.75rem,3.35vw,.86rem);
        line-height: 1.55;
    }
    .hero-buttons {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        gap: .55rem;
    }
    .hero-buttons .btn {
        min-height: 42px;
        padding: .68rem .85rem;
        font-size: .76rem;
    }
    .hero-stats-row { display: none; }
    .image-frame-luxury {
        width: 100%;
        max-width: none;
        height: 190px;
        min-height: 0;
        margin: 0;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .image-frame-luxury .image-slider { border-radius: 0; }
    .image-slider .slide { object-position: center 42%; }
    .hero-badge.floating { display: none; }
    .floating-agent-btn { display: none !important; }
    .consultations-section { padding: 2.25rem 0; }
    .consultations-section .container { padding-inline: .8rem; }
    .consultation-banner {
        padding: 1.1rem;
        gap: 1.25rem;
        border-radius: 15px;
    }
    .consultation-intro .subtitle {
        margin-bottom: .75rem;
        padding: .35rem .7rem;
        font-size: .65rem;
        letter-spacing: .12em;
    }
    .consultation-intro h2 {
        max-width: 19ch;
        margin-bottom: .7rem;
        font-size: clamp(1.35rem,6.3vw,1.65rem);
        line-height: 1.16;
        letter-spacing: -.035em;
    }
    .consultation-intro p.consultation-lead {
        margin-bottom: .75rem;
        font-size: .82rem;
        line-height: 1.58;
    }
    .consultation-intro p.consultation-detail {
        margin-bottom: 1rem;
        padding: .72rem .8rem;
        background: rgba(255,255,255,.86);
        border-left: 3px solid #79b8ba;
        border-radius: 0 10px 10px 0;
        font-size: .76rem;
        line-height: 1.55;
    }
    .consultation-meta-bar {
        gap: .7rem;
        padding-top: 1rem;
    }
    .meta-item {
        align-items: flex-start;
        gap: .65rem;
        font-size: .76rem;
        line-height: 1.5;
    }
    .meta-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        border-radius: 8px;
    }
    .consultation-cards { gap: 1rem; }
    .about.section-padding { padding: 2.5rem 0 3rem; }
    .about .container { padding-inline: .8rem; }
    .about-grid { gap: 1.35rem; }
    .about-content {
        width: 100%;
        padding: 1.1rem;
        text-align: left;
        background: #f4faf9;
        border: 1px solid #d9ebe8;
        border-radius: 15px;
    }
    .about-content .subtitle {
        margin-bottom: .75rem;
        padding: .35rem .7rem;
        font-size: .65rem;
        letter-spacing: .12em;
    }
    .about-content h2 {
        max-width: 18ch;
        margin-bottom: .75rem;
        font-size: clamp(1.45rem,6.8vw,1.75rem);
        line-height: 1.14;
        letter-spacing: -.04em;
    }
    .about-content p {
        margin-bottom: 1rem;
        font-size: .82rem;
        line-height: 1.62;
        text-align: left;
    }
    .features-list {
        width: 100%;
        display: flex;
        gap: .6rem;
    }
    .features-list li {
        width: 100%;
        align-items: flex-start;
        gap: .65rem;
        padding: .72rem .75rem;
        background: rgba(255,255,255,.88);
        border: 1px solid #dcebea;
        border-radius: 10px;
        font-size: .76rem;
        line-height: 1.45;
        text-align: left;
    }
    .features-list .check-icon {
        width: 17px;
        height: 17px;
        margin-top: .08rem;
    }
    .about-image { width: 100%; }
    .about-image .rounded-image {
        height: 240px;
        border-radius: 15px 4px;
    }
    .experience-badge {
        right: .75rem;
        bottom: -.8rem;
        padding: .75rem 1rem;
        border-radius: 12px;
        gap: .55rem;
    }
    .experience-badge .number { font-size: 1.8rem; }
    .experience-badge .text { font-size: .68rem; }
    .cta-section.section-padding { padding: 2.5rem 0; }
    .cta-section .container { padding-inline: .8rem; }
    .cta-box {
        padding: 1.5rem .9rem;
        border-radius: 15px;
    }
    .cta-box::before { width: 120px; height: 3px; }
    .cta-box h2 {
        max-width: 17ch;
        margin: 0 auto .7rem;
        font-size: clamp(1.45rem,6.8vw,1.75rem);
        line-height: 1.16;
        letter-spacing: -.04em;
    }
    .cta-box p {
        max-width: 34ch;
        margin-bottom: 1.25rem;
        font-size: .82rem;
        line-height: 1.6;
    }
    .cta-actions {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0,1fr) minmax(0,1fr);
        gap: .6rem;
    }
    .cta-actions .btn {
        width: 100%;
        min-height: 44px;
        margin: 0;
        padding: .68rem .55rem;
        justify-content: center;
        font-size: .74rem;
        line-height: 1.4;
    }
    .cta-actions .btn:nth-child(-n+2) { grid-column: 1 / -1; }
    .cta-actions .btn svg { width: 17px; height: 17px; flex-shrink: 0; }
    .footer {
        padding: 2rem 0 1.25rem;
        background: #e7f3f1;
    }
    .footer .container { padding-inline: .8rem; }
    .footer-grid {
        gap: .85rem;
        margin-bottom: 1.25rem;
    }
    .footer-brand,
    .footer-links,
    .footer-contact {
        padding: 1rem;
        background: rgba(255,255,255,.72);
        border: 1px solid rgba(21,91,99,.12);
        border-radius: 13px;
    }
    .footer-logo { margin-bottom: .7rem; gap: .7rem; }
    .footer-logo-frame { width: 38px; height: 38px; }
    .footer-brand-name { font-size: 1.25rem; }
    .footer-brand-sub { font-size: .62rem; }
    .footer-desc {
        max-width: none;
        margin-bottom: .9rem;
        font-size: .76rem;
        line-height: 1.55;
    }
    .footer-social-bar { gap: .55rem; }
    .footer .social-icon-btn { width: 34px; height: 34px; }
    .footer-links h3,
    .footer-contact h3 {
        margin-bottom: .75rem;
        font-size: .72rem;
        letter-spacing: .14em;
    }
    .footer-links ul {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: .45rem;
    }
    .footer-links li:last-child { grid-column: 1 / -1; }
    .footer-links a {
        min-height: 38px;
        padding: .5rem .55rem;
        display: flex;
        align-items: center;
        background: #f5fbfa;
        border: 1px solid #dcebea;
        border-radius: 8px;
        font-size: .7rem;
        line-height: 1.35;
    }
    .footer-contact ul { gap: .5rem; }
    .footer-contact li {
        padding: .58rem .65rem;
        background: #f5fbfa;
        border: 1px solid #dcebea;
        border-radius: 8px;
        font-size: .7rem;
        line-height: 1.45;
    }
    .footer-bottom {
        padding: 1rem .65rem 0;
        font-size: .64rem;
        line-height: 1.55;
    }
    .footer-bottom p { line-height: inherit; }
    .treatments-section.section-padding { padding: 2.75rem 0; }
    .treatments-section .container { padding-inline: .8rem; }
    .treatments-section .section-header {
        width: 100%;
        margin-bottom: 1.5rem;
        padding-inline: .25rem;
    }
    .treatments-section .section-header .subtitle {
        max-width: 100%;
        margin-bottom: .75rem;
        padding: .38rem .6rem;
        justify-content: center;
        border-radius: 10px;
        font-size: .56rem;
        line-height: 1.35;
        letter-spacing: .07em;
    }
    .treatments-section .section-header h2 {
        max-width: 100%;
        margin: 0 auto .7rem;
        font-size: clamp(1.5rem,7vw,1.85rem);
        line-height: 1.12;
        letter-spacing: -.04em;
    }
    .treatments-section .section-header p {
        max-width: 35ch;
        margin-inline: auto;
        font-size: .8rem;
        line-height: 1.55;
    }
    .treatments-controls {
        gap: 1rem;
        margin-bottom: 1.25rem;
    }
    .search-box input {
        min-height: 44px;
        padding: .72rem 2.65rem;
        border-radius: 10px;
        font-size: .78rem;
    }
    .search-box .search-icon { left: .9rem; width: 18px; height: 18px; }
    .search-box .clear-btn { right: .7rem; }
}

/* Escritorios con poca altura útil o zoom elevado */
@media (min-width: 901px) and (max-height: 760px) {
    .hero {
        min-height: 100svh;
        padding: 92px clamp(2rem,4vw,4rem) 28px;
        gap: clamp(2rem,4vw,3.5rem);
    }
    .hero-pill-badge {
        margin-bottom: .85rem;
        padding: .38rem .85rem;
        font-size: .72rem;
    }
    .hero h1 {
        max-width: 11ch;
        margin-bottom: .85rem;
        font-size: clamp(2.8rem,4.2vw,3.65rem);
        line-height: 1.01;
    }
    .hero-content > p {
        max-width: 540px;
        margin-bottom: 1.2rem;
        font-size: .95rem;
        line-height: 1.55;
    }
    .hero-buttons { margin-bottom: 0; }
    .hero-buttons .btn {
        min-height: 44px;
        padding: .72rem 1.15rem;
        font-size: .8rem;
    }
    .hero-stats-row { display: none; }
    .image-frame-luxury {
        height: min(58vh,410px);
        min-height: 315px;
        max-width: 420px;
    }
    .hero-badge.floating {
        bottom: -12px;
        padding: .8rem 1rem;
    }
}
