:root {
    --ink: #241c1b;
    --muted: #7a6c68;
    --line: rgba(74, 57, 52, 0.16);
    --paper: #fffaf6;
    --soft: #f5ebe4;
    --rose: #b87577;
    --rose-deep: #7f4d50;
    --sage: #7d8f79;
    --gold: #c49a64;
    --shadow: 0 24px 70px rgba(59, 38, 31, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: env(safe-area-inset-bottom);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 12% 8%, rgba(184, 117, 119, 0.18), transparent 28%),
        linear-gradient(135deg, #fffaf6 0%, #f4e8df 50%, #efe6dd 100%);
}

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

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -5rem;
    z-index: 20;
    background: var(--ink);
    color: #fff;
    padding: .75rem 1rem;
    border-radius: 999px;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

.hero {
    min-height: 92svh;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-photo,
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 1.25rem;
    border-radius: 24px;
}

.hero-photo {
    z-index: 0;
    overflow: hidden;
    background: #241c1b;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center 36%;
    box-shadow: var(--shadow);
}

.hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.01);
}

.hero::before {
    z-index: 1;
    border: 1px solid rgba(36, 28, 27, 0.12);
    background:
        linear-gradient(90deg, rgba(24, 18, 17, 0.88), rgba(36, 28, 27, 0.58) 45%, rgba(36, 28, 27, 0.18)),
        linear-gradient(180deg, rgba(36, 28, 27, 0.22), rgba(36, 28, 27, 0.36));
}

.hero::after {
    z-index: 1;
    background: linear-gradient(90deg, rgba(36, 28, 27, 0.18), transparent 45%, rgba(255, 250, 246, 0.04));
}

.topbar {
    position: relative;
    z-index: 2;
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.brand,
.nav-whatsapp,
.primary-button,
.secondary-button,
.procedure-content a {
    text-decoration: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: #fff;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.brand-monogram {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.brand-logo {
    width: clamp(132px, 15vw, 210px);
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.brand-text {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.nav-whatsapp,
.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    border-radius: 999px;
    padding: .75rem 1rem;
    font-size: .88rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    transition: transform .2s ease, background .2s ease;
}

.nav-whatsapp:hover,
.secondary-button:hover,
.primary-button:hover {
    transform: translateY(-2px);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1120px, 100%);
    margin: auto;
    color: #fff;
    padding: 6rem 0 7rem;
}

.eyebrow,
.section-kicker {
    margin: 0 0 .75rem;
    color: var(--gold);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero h1,
.intro-section h2,
.section-heading h2,
.cta-section h2 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
    line-height: .98;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 720px;
    font-size: clamp(3.2rem, 7vw, 6.2rem);
}

.hero-copy {
    max-width: 620px;
    margin: 1.4rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2rem;
}

.primary-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: .82rem 1.25rem;
    background: var(--ink);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 16px 36px rgba(36, 28, 27, 0.24);
    transition: transform .2s ease, box-shadow .2s ease;
}

.secondary-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
}

main {
    padding: 5rem 1.25rem 6rem;
}

.intro-section,
.procedures-section,
.cta-section {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.intro-section {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 3rem;
    align-items: end;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--line);
}

.intro-section h2,
.section-heading h2,
.cta-section h2 {
    font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.intro-section > p {
    color: var(--muted);
    font-size: 1.03rem;
}

.procedures-section {
    padding-top: 4rem;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.procedures-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.procedure-card {
    background: rgba(255, 250, 246, 0.72);
    border: 1px solid rgba(74, 57, 52, 0.12);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(59, 38, 31, 0.08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.procedure-card:hover {
    transform: translateY(-6px);
    border-color: rgba(184, 117, 119, 0.38);
    box-shadow: 0 26px 70px rgba(59, 38, 31, 0.14);
}

.procedure-media {
    aspect-ratio: 4 / 3;
    background:
        linear-gradient(135deg, rgba(255, 250, 246, 0.86), rgba(234, 219, 211, 0.96));
    overflow: hidden;
}

.procedure-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform .6s ease;
}

.procedure-card:hover img {
    transform: scale(1.015);
}

.image-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(36, 28, 27, 0.16), rgba(184, 117, 119, 0.22)),
        repeating-linear-gradient(45deg, rgba(255, 250, 246, 0.28) 0 1px, transparent 1px 13px);
}

.image-placeholder span {
    font-family: "Cormorant Garamond", Georgia, serif;
    color: rgba(36, 28, 27, 0.42);
    font-size: 4rem;
    font-weight: 700;
}

.procedure-content {
    min-height: 265px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.procedure-number {
    color: var(--rose-deep);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.procedure-content h3 {
    margin: .55rem 0 .65rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.7rem;
    line-height: 1.05;
}

.procedure-content p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
}

.procedure-content a {
    margin-top: auto;
    color: var(--rose-deep);
    font-weight: 800;
    padding-top: 1.25rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.cta-section {
    margin-top: 5rem;
    padding: 3rem;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(36, 28, 27, 0.96), rgba(127, 77, 80, 0.92)),
        linear-gradient(90deg, var(--ink), var(--rose-deep));
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
}

.cta-monogram {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .9;
}

.cta-section .primary-button {
    margin-top: 1.5rem;
    background: #fff;
    color: var(--ink);
}

.floating-whatsapp {
    position: fixed;
    right: 1.15rem;
    bottom: calc(1.15rem + env(safe-area-inset-bottom));
    z-index: 30;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 18px 44px rgba(37, 211, 102, 0.38);
    animation: pulse 2.8s ease-in-out infinite;
}

.floating-whatsapp svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .75s ease, transform .75s ease;
    transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 920px) {
    .intro-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .procedures-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 88svh;
        padding: .85rem;
    }

    .hero-photo,
    .hero::before {
        inset: .85rem;
        border-radius: 22px;
    }

    .hero::after {
        inset: .85rem;
        border-radius: 22px;
    }

    .hero-photo img {
        inset: 0;
        object-position: center center;
        transform: scale(1);
    }

    .hero-photo {
        background-image: var(--hero-image-mobile, var(--hero-image));
        background-position: center center;
    }

    .hero::before {
        background:
            linear-gradient(180deg, rgba(14, 10, 10, 0.34), rgba(24, 18, 17, 0.12) 36%, rgba(24, 18, 17, 0.78)),
            linear-gradient(90deg, rgba(20, 14, 14, 0.6), rgba(20, 14, 14, 0.12) 66%, rgba(20, 14, 14, 0.04));
        border-color: rgba(255, 255, 255, 0.12);
    }

    .topbar {
        align-items: center;
        width: calc(100% - 2rem);
        padding: 1rem 0;
    }

    .brand-text {
        display: none;
    }

    .brand-logo {
        display: none;
    }

    .brand-monogram {
        width: 38px;
        height: 38px;
    }

    .nav-whatsapp {
        padding: .58rem .82rem;
        font-size: .78rem;
        white-space: nowrap;
        background: rgba(24, 18, 17, 0.28);
    }

    .hero-inner {
        width: calc(100% - 2rem);
        padding: 0 0 2.45rem;
        margin-top: auto;
    }

    .eyebrow {
        margin-bottom: .55rem;
        font-size: .72rem;
        letter-spacing: .11em;
    }

    .hero h1 {
        max-width: 9ch;
        font-size: clamp(2.25rem, 10.6vw, 3.35rem);
        line-height: .96;
    }

    .hero-copy {
        max-width: 30ch;
        margin-top: .95rem;
        font-size: .92rem;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.88);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: .7rem;
        margin-top: 1.35rem;
        padding: 0 .15rem;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        min-height: 46px;
    }

    .secondary-button {
        justify-content: center;
        background: rgba(255, 255, 255, 0.08);
    }

    main {
        padding: 3.5rem 1rem 5.5rem;
    }

    .intro-section,
    .procedures-section,
    .cta-section {
        width: 100%;
    }

    .section-heading {
        display: block;
    }

    .procedures-grid {
        grid-template-columns: 1fr;
    }

    .procedure-content {
        min-height: 0;
        padding: 1.15rem;
    }

    .procedure-media {
        aspect-ratio: 4 / 3;
    }

    .procedure-content h3 {
        font-size: 1.55rem;
    }

    .procedure-content p {
        font-size: .93rem;
    }

    .cta-section {
        padding: 2rem 1.15rem;
    }

    .floating-whatsapp {
        width: 58px;
        height: 58px;
        right: .9rem;
        bottom: calc(.9rem + env(safe-area-inset-bottom));
    }
}

@media (max-width: 380px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .nav-whatsapp {
        max-width: 190px;
        text-align: center;
        line-height: 1.2;
    }
}
