:root {
    --ink: #30263b;
    --muted: #74697e;
    --lilac: #f0e8fa;
    --lilac-light: #f8f5fc;
    --violet: #7347a8;
    --violet-dark: #543078;
    --line: #e2d8eb;
    --white: #fff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 116px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--lilac-light);
    font-family: "DM Sans", sans-serif;
    line-height: 1.6;
}

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

.container {
    width: min(1120px, calc(100% - 80px));
    margin: 0 auto;
}

.sample-notice {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 5px;
    padding: 6px 16px;
    color: var(--white);
    background: var(--violet-dark);
    font-size: 11px;
    text-align: center;
}

.sample-notice a {
    color: var(--white);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-header {
    position: sticky;
    top: 36px;
    z-index: 10;
    background: rgba(248, 245, 252, .92);
    border-bottom: 1px solid rgba(226, 216, 235, .8);
    backdrop-filter: blur(14px);
}

.nav-wrap {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 14px;
    letter-spacing: -.02em;
}

.brand strong {
    font-weight: 700;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--violet);
    border-radius: 50%;
    font-family: Manrope, sans-serif;
    font-size: 11px;
    letter-spacing: .03em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 13px;
    font-weight: 600;
}

.main-nav a:not(.nav-cta) {
    color: var(--muted);
    transition: color .2s ease;
}

.main-nav a:not(.nav-cta):hover {
    color: var(--violet);
}

.nav-cta {
    padding: 10px 17px;
    color: var(--white);
    background: var(--violet);
    border-radius: 5px;
}

.menu-toggle {
    display: none;
    border: 0;
    padding: 8px;
    background: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 23px;
    height: 2px;
    display: block;
    margin: 4px 0;
    background: var(--ink);
}

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--lilac);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 80px;
    padding: 86px 0 112px;
}

.hero-copy {
    max-width: 600px;
}

.eyebrow {
    margin: 0 0 20px;
    color: var(--violet);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    font-family: Manrope, sans-serif;
    line-height: 1.12;
    letter-spacing: -.045em;
}

h1 {
    max-width: 630px;
    margin-bottom: 25px;
    font-size: clamp(43px, 5.2vw, 71px);
    font-weight: 800;
}

h1 em,
h2 em {
    color: var(--violet);
    font-style: normal;
}

.hero-text {
    max-width: 480px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 27px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 21px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: var(--violet);
}

.text-link {
    color: var(--violet-dark);
    font-size: 13px;
    font-weight: 700;
}

.text-link span {
    padding-left: 5px;
    font-size: 17px;
}

.hero-card {
    position: relative;
    width: min(100%, 360px);
    min-height: 415px;
    justify-self: end;
    padding: 28px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: var(--white);
    background: var(--violet-dark);
    border-radius: 180px 180px 10px 10px;
    box-shadow: 25px 35px 55px rgba(83, 48, 120, .18);
}

.profile-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(48, 30, 65, .05) 35%, rgba(48, 30, 65, .78) 100%);
}

.hero-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 19px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 165px 165px 5px 5px;
    pointer-events: none;
}

.hero-card-copy {
    position: relative;
    z-index: 3;
}

.card-label {
    margin-bottom: 4px;
    color: #e8dafa;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero-card h2 {
    margin-bottom: 5px;
    font-size: 25px;
    letter-spacing: -.04em;
}

.hero-card p:last-child {
    margin: 0;
    color: #e5d9ee;
    font-size: 13px;
}

.card-detail {
    position: absolute;
    top: 35px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e5d9ee;
    font-size: 10px;
    letter-spacing: .1em;
}

.card-detail i {
    width: 20px;
    height: 1px;
    display: block;
    background: #e5d9ee;
}

.hero-shape {
    position: absolute;
    border: 1px solid rgba(115, 71, 168, .16);
    border-radius: 50%;
}

.hero-shape-one {
    width: 630px;
    height: 630px;
    top: -310px;
    right: -90px;
}

.hero-shape-two {
    width: 420px;
    height: 420px;
    bottom: -270px;
    left: -160px;
}

.scroll-note {
    position: absolute;
    bottom: 30px;
    left: max(40px, calc((100% - 1120px) / 2));
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.scroll-note span {
    margin-right: 8px;
    color: var(--violet);
    font-size: 17px;
}

.section {
    padding: 115px 0;
}

.profile-section {
    background: var(--lilac-light);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.section-heading h2,
.schedule-section h2 {
    max-width: 460px;
    margin-bottom: 0;
    font-size: clamp(31px, 3.4vw, 48px);
}

.profile-copy {
    max-width: 480px;
    padding-top: 12px;
    color: var(--muted);
    font-size: 16px;
}

.profile-copy p {
    margin-bottom: 20px;
}

.signature {
    margin-top: 31px;
    color: var(--violet);
    font-family: Manrope, sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.signature span {
    font-weight: 400;
}

.procedures-section {
    background: var(--white);
}

.section-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 48px;
}

.section-intro h2 {
    max-width: 500px;
    margin: 0;
    font-size: clamp(31px, 3.4vw, 46px);
}

.intro-note {
    max-width: 210px;
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 14px;
}

.procedure-item {
    display: grid;
    grid-template-columns: 70px 1fr 40px;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
}

.procedure-item:last-child {
    border-bottom: 1px solid var(--line);
}

.procedure-number {
    color: var(--violet);
    font-size: 12px;
    font-weight: 700;
}

.procedure-item h3 {
    margin-bottom: 4px;
    font-family: Manrope, sans-serif;
    font-size: 18px;
    letter-spacing: -.03em;
}

.procedure-item p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.procedure-arrow {
    color: var(--violet);
    font-size: 22px;
    text-align: right;
}

.schedule-section {
    background: #ece2f5;
}

.schedule-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 100px;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px 44px;
}

.detail-block {
    border-top: 1px solid rgba(115, 71, 168, .25);
    padding-top: 14px;
}

.detail-label {
    display: block;
    margin-bottom: 9px;
    color: var(--violet);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.detail-block strong {
    display: block;
    font-family: Manrope, sans-serif;
    font-size: 16px;
}

.detail-block p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.contact-section {
    padding: 68px 0;
    color: var(--white);
    background: var(--violet-dark);
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.contact-inner .eyebrow {
    color: #d4bbed;
    margin-bottom: 12px;
}

.contact-inner h2 {
    margin-bottom: 7px;
    font-size: 42px;
}

.contact-inner p:last-child {
    margin: 0;
    color: #d6c4e4;
}

.button-light {
    color: var(--violet-dark);
    background: var(--white);
}

.floating-whatsapp {
    display: none;
}

.site-footer {
    padding: 40px 0 25px;
    color: #d2c2df;
    background: #332340;
    font-size: 12px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 31px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.footer-brand {
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 27px;
}

.footer-links a:hover,
.footer-mail:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    color: #a997b7;
    font-size: 11px;
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 40px, 550px);
    }

    .sample-notice {
        min-height: 52px;
    }

    .site-header {
        position: sticky;
        top: 52px;
    }

    .nav-wrap {
        min-height: 68px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 68px;
        right: 20px;
        left: 20px;
        display: none;
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        background: rgba(248, 245, 252, .98);
        border: 1px solid var(--line);
        box-shadow: 0 12px 30px rgba(48, 38, 59, .1);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 11px 12px;
    }

    .nav-cta {
        text-align: center;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 75px 0 95px;
    }

    h1 {
        font-size: clamp(39px, 12vw, 58px);
    }

    .hero-text {
        font-size: 15px;
    }

    .hero-card {
        width: min(100%, 300px);
        min-height: 340px;
        justify-self: center;
    }

    .scroll-note {
        left: 20px;
        bottom: 23px;
    }

    .section {
        padding: 78px 0;
    }

    .profile-grid,
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .profile-copy {
        padding-top: 0;
    }

    .section-intro {
        display: block;
        margin-bottom: 32px;
    }

    .intro-note {
        margin-top: 18px;
    }

    .procedure-item {
        grid-template-columns: 38px 1fr 25px;
        gap: 9px;
        padding: 20px 0;
    }

    .procedure-item h3 {
        font-size: 16px;
    }

    .procedure-item p {
        font-size: 13px;
        line-height: 1.45;
    }

    .details-grid {
        gap: 26px 18px;
    }

    .contact-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-inner h2 {
        font-size: 37px;
    }

    .footer-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 12px 22px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 7px;
    }

    .floating-whatsapp {
        position: fixed;
        z-index: 9;
        right: 16px;
        bottom: 16px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 15px;
        color: var(--white);
        background: #168c4a;
        border-radius: 999px;
        box-shadow: 0 8px 24px rgba(22, 86, 49, .28);
        font-size: 12px;
        font-weight: 700;
        transition: opacity .2s ease, transform .2s ease;
    }

    .floating-whatsapp-label {
        font-size: 13px;
    }

    .floating-whatsapp.is-hidden {
        opacity: 0;
        pointer-events: none;
        transform: translateY(12px);
    }
}

/* Sitio de muestra: aclaración que aparece al tocar el botón de WhatsApp */
.demo-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.demo-contact .button {
    cursor: pointer;
    font-family: inherit;
}

.demo-note {
    margin: 0;
    max-width: 320px;
    font-size: .9rem;
    line-height: 1.5;
    opacity: .9;
}

.demo-note[hidden] {
    display: none;
}
