:root {
    --offwhite: #F4F0E8;
    --offwhite-deep: #EBE4D8;
    --cream: #F7F1E7;
    --surface: #F8F3EB;
    --sky-50: #E8F4F8;
    --sky-100: #D5ECF4;
    --sky-200: #B7DFEC;
    --sky-400: #5FB4D0;
    --sky-600: #2A7FA0;
    --sky-700: #1E5F78;
    --gold: #C9A24A;
    --gold-soft: #E4C77A;
    --gold-deep: #A8842F;
    --brown-900: #2F221C;
    --brown-700: #5C3A28;
    --brown-600: #6E4732;
    --text-muted: #6A5A50;
    --border: #D8CBB8;
    --shadow: 0 22px 60px rgb(47 34 28 / 12%);
    --serif: "DM Serif Display", Georgia, serif;
    --sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 20rem;
    background:
        linear-gradient(180deg, rgb(244 240 232 / 94%), rgb(244 240 232 / 97%)),
        url("/assets/images/bg-pattern-soft.webp") center / 720px repeat,
        url("/assets/images/bg-sky-texture.webp") center top / cover no-repeat fixed;
    color: var(--brown-900);
    font-family: var(--sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--sky-600); outline-offset: 4px; }

.sr-only, .skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    z-index: 100;
    top: 1rem;
    left: 1rem;
    padding: .75rem 1rem;
    border-radius: .5rem;
    background: var(--brown-900);
    color: var(--cream);
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgb(42 127 160 / 16%);
    background: rgb(244 240 232 / 90%);
    backdrop-filter: blur(18px);
}
.nav-shell {
    display: flex;
    width: min(100% - 2rem, 78rem);
    min-height: 5.1rem;
    margin: auto;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--brown-700);
    font-family: var(--serif);
    font-size: 1.28rem;
    line-height: 1;
    text-decoration: none;
}
.brand img { width: 2.75rem; }
.brand strong {
    display: block;
    color: var(--sky-700);
    font-family: var(--sans);
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 1.75rem; }
.main-nav a {
    color: var(--brown-700);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}
.main-nav a:hover { color: var(--sky-600); }
.main-nav .staff-link {
    padding: .66rem 1rem;
    border: 1px solid rgb(201 162 74 / 45%);
    border-radius: .5rem;
    background: rgb(201 162 74 / 12%);
    color: var(--brown-700);
}
.menu-toggle { display: none; }

.hero {
    position: relative;
    min-height: min(92vh, 52rem);
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--cream);
}
.hero-media {
    position: absolute;
    inset: 0;
    background:
        url("/assets/images/hero-family.webp") center / cover no-repeat,
        url("/assets/images/hero-familia-el-rey.webp") center / cover no-repeat,
        var(--sky-700);
    transform: scale(1.02);
    animation: hero-drift 18s ease-in-out infinite alternate;
}
.hero-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgb(47 34 28 / 78%) 0%, rgb(47 34 28 / 52%) 42%, rgb(30 95 120 / 28%) 100%),
        linear-gradient(0deg, rgb(47 34 28 / 45%) 0%, transparent 45%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    width: min(100% - 2rem, 78rem);
    margin: 0 auto;
    padding: clamp(5rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.brand-signal {
    margin: 0 0 .85rem;
    color: var(--gold-soft);
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1;
}
.eyebrow {
    margin: 0 0 1rem;
    color: var(--sky-400);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.hero .eyebrow { color: var(--sky-200); }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.02em;
}
h1 {
    max-width: 12ch;
    font-size: clamp(3.4rem, 7vw, 6.2rem);
    color: var(--cream);
}
.hero-lead {
    max-width: 34rem;
    margin: 1.4rem 0 0;
    color: rgb(247 241 231 / 88%);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
    gap: .9rem;
}
.button {
    display: inline-flex;
    min-height: 3.2rem;
    padding: .85rem 1.35rem;
    border-radius: .55rem;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-gold {
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: var(--brown-900);
    box-shadow: 0 14px 30px rgb(201 162 74 / 28%);
}
.button-gold:hover { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--cream); }
.button-sky {
    background: rgb(232 244 248 / 16%);
    border: 1px solid rgb(183 223 236 / 55%);
    color: var(--cream);
    backdrop-filter: blur(8px);
}
.button-sky:hover { background: rgb(232 244 248 / 28%); }

.flag-strip {
    display: flex;
    width: min(100% - 2rem, 78rem);
    margin: -1.75rem auto 0;
    position: relative;
    z-index: 3;
    padding: 1.1rem 1.35rem;
    border: 1px solid var(--border);
    border-radius: .85rem;
    background: var(--surface);
    box-shadow: var(--shadow);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem 1.75rem;
}
.flag-item {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--brown-700);
    font-weight: 700;
    font-size: .92rem;
}
.flag-item img {
    width: 2rem;
    height: 1.35rem;
    border-radius: .2rem;
    box-shadow: 0 0 0 1px rgb(47 34 28 / 10%);
    object-fit: cover;
}
.flag-strip > p {
    margin: 0;
    color: var(--text-muted);
    font-size: .85rem;
}

.section {
    width: min(100% - 2rem, 78rem);
    margin: auto;
    padding: 6.5rem 0;
}
.section-heading {
    display: grid;
    margin-bottom: 2.75rem;
    align-items: end;
    grid-template-columns: 1fr .85fr;
    gap: 2.5rem;
}
.section-heading > p,
.process-intro > p:last-child,
.care-copy > p,
.prep-copy > p {
    margin: 0;
    color: var(--text-muted);
}
h2 {
    max-width: 14ch;
    font-size: clamp(2.5rem, 4.8vw, 4.3rem);
    color: var(--brown-900);
}
.section .eyebrow { color: var(--sky-600); }

.destination-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 1rem;
}
.destination-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: .85rem;
    background: var(--surface);
    box-shadow: 0 10px 30px rgb(47 34 28 / 6%);
    transition: transform .25s ease, box-shadow .25s ease;
}
.destination-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.destination-card picture { display: block; overflow: hidden; }
.destination-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--sky-100);
}
.destination-body { padding: 1.25rem 1.35rem 1.45rem; }
.destination-label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--sky-700);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.destination-label img {
    width: 1.55rem;
    height: 1.05rem;
    aspect-ratio: auto;
    border-radius: .15rem;
    box-shadow: 0 0 0 1px rgb(47 34 28 / 12%);
}
.destination-card h3 {
    margin: .35rem 0 .45rem;
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.1;
}
.destination-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: .9rem;
}
.destination-featured { grid-row: span 2; }
.destination-featured img { aspect-ratio: 4 / 4.2; }
.destination-card:nth-child(4) { grid-column: 2 / 4; display: grid; grid-template-columns: .85fr 1.15fr; }
.destination-card:nth-child(4) img { height: 100%; aspect-ratio: auto; }
.destination-card:nth-child(4) .destination-body { align-self: center; }

.process {
    display: grid;
    width: 100%;
    max-width: none;
    padding: 6.5rem max(1rem, calc((100% - 78rem) / 2));
    background:
        linear-gradient(180deg, rgb(213 236 244 / 88%), rgb(232 244 248 / 92%)),
        url("/assets/images/bg-sky-texture.webp") center / cover;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(2.5rem, 7vw, 7rem);
    border-block: 1px solid rgb(42 127 160 / 16%);
}
.process-intro > p:nth-of-type(2) { max-width: 30rem; margin-top: 1.35rem; }
.process-photo {
    margin: 1.75rem 0 0;
    overflow: hidden;
    border: 1px solid rgb(42 127 160 / 22%);
    border-radius: .85rem;
    box-shadow: 0 16px 40px rgb(30 95 120 / 14%);
}
.process-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.steps { margin: 0; padding: 0; list-style: none; }
.steps li {
    display: grid;
    padding: 1.35rem 0 1.45rem;
    border-bottom: 1px solid rgb(42 127 160 / 22%);
    grid-template-columns: 3.5rem 1fr;
    gap: 1rem;
}
.steps li:first-child { padding-top: 0; }
.steps > li > span {
    color: var(--gold-deep);
    font-family: var(--serif);
    font-size: 1.15rem;
}
.steps h3 { margin: 0 0 .35rem; font-size: 1.12rem; color: var(--brown-900); }
.steps p { margin: 0; color: var(--text-muted); }

.prep {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: stretch;
}
.prep-list {
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .75rem;
}
.prep-list li {
    position: relative;
    padding: .95rem 1rem .95rem 2.6rem;
    border: 1px solid var(--border);
    border-radius: .65rem;
    background: var(--surface);
    color: var(--brown-700);
    font-weight: 600;
}
.prep-list li::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 50%;
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sky-400), var(--sky-600));
    transform: translateY(-50%);
}
.prep-panel {
    padding: clamp(1.6rem, 3vw, 2.4rem);
    border: 1px solid rgb(201 162 74 / 35%);
    border-radius: .9rem;
    background:
        linear-gradient(160deg, rgb(248 243 235 / 94%), rgb(244 240 232 / 90%)),
        url("/assets/images/bg-gold-soft.webp") center / cover;
    box-shadow: var(--shadow);
}
.prep-panel h3 {
    margin: 0 0 1rem;
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
}
.prep-panel p { margin: 0; color: var(--text-muted); }
.prep-panel .fine-print {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgb(201 162 74 / 35%);
    color: #7A6A5E;
    font-size: .78rem;
}

.care {
    display: grid;
    align-items: center;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(2rem, 6vw, 5rem);
}
.care-visual {
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    min-height: 22rem;
}
.care-visual img {
    width: 100%;
    height: 100%;
    min-height: 24rem;
    object-fit: cover;
}
.care-copy > p { max-width: 36rem; margin-top: 1.35rem; font-size: 1.02rem; }
.care-points { display: grid; margin-top: 1.75rem; gap: 0; }
.care-points div {
    display: grid;
    padding: 1rem 0;
    border-top: 1px solid rgb(92 58 40 / 14%);
    grid-template-columns: 7rem 1fr;
}
.care-points strong { color: var(--gold-deep); }
.care-points span { color: var(--text-muted); }

.faq {
    padding-top: 5.5rem;
}
.faq-list {
    display: grid;
    gap: .85rem;
}
.faq-list details {
    border: 1px solid var(--border);
    border-radius: .75rem;
    background: var(--surface);
    padding: 0 1.25rem;
}
.faq-list summary {
    cursor: pointer;
    list-style: none;
    padding: 1.15rem 0;
    font-weight: 700;
    color: var(--brown-900);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "+";
    float: right;
    color: var(--sky-600);
    font-weight: 700;
}
.faq-list details[open] summary::after { content: "–"; color: var(--gold-deep); }
.faq-list details p {
    margin: 0 0 1.15rem;
    color: var(--text-muted);
    max-width: 48rem;
}

.closing {
    position: relative;
    overflow: hidden;
    width: min(100% - 2rem, 78rem);
    margin: 1rem auto 4.5rem;
    border-radius: 1rem;
    color: var(--cream);
    box-shadow: var(--shadow);
}
.closing-media {
    position: absolute;
    inset: 0;
    background: url("/assets/images/cta-family-call.webp") center / cover no-repeat;
}
.closing-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgb(30 95 120 / 88%), rgb(92 58 40 / 78%));
}
.closing-content {
    position: relative;
    z-index: 1;
    display: flex;
    padding: clamp(2.4rem, 5vw, 4.2rem);
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.closing .eyebrow { color: var(--gold-soft); }
.closing h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); color: var(--cream); max-width: 16ch; }
.closing p { margin: .85rem 0 0; color: rgb(247 241 231 / 85%); max-width: 32rem; }

footer {
    display: grid;
    width: min(100% - 2rem, 78rem);
    min-height: 7.5rem;
    margin: auto;
    border-top: 1px solid var(--border);
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    color: var(--text-muted);
    font-size: .78rem;
}
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-brand strong, .footer-brand small { display: block; }
.footer-brand strong { color: var(--brown-900); font-size: .88rem; }
.footer-brand small { color: var(--text-muted); }
footer > a { justify-self: end; color: var(--sky-700); font-weight: 700; }

@keyframes hero-drift {
    from { transform: scale(1.02) translate3d(0, 0, 0); }
    to { transform: scale(1.06) translate3d(-1.2%, -1%, 0); }
}

@media (max-width: 960px) {
    .destination-grid { grid-template-columns: 1fr 1fr; }
    .destination-featured { grid-row: auto; }
    .destination-featured img { aspect-ratio: 4 / 3; }
    .destination-card:nth-child(4) { grid-column: 1 / 3; }
    .process, .prep, .care { grid-template-columns: 1fr; }
    .section-heading { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 720px) {
    .nav-shell { min-height: 4.5rem; }
    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        padding: 1.25rem;
        border-bottom: 1px solid var(--border);
        background: var(--offwhite);
        align-items: stretch;
        flex-direction: column;
        gap: .25rem;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: .75rem; }
    .menu-toggle {
        display: grid;
        width: 2.75rem;
        height: 2.75rem;
        padding: .65rem;
        border: 0;
        border-radius: .5rem;
        background: var(--sky-100);
        place-content: center;
        gap: .25rem;
    }
    .menu-toggle span:not(.sr-only) {
        display: block;
        width: 1.25rem;
        height: 2px;
        background: var(--brown-700);
    }
    .hero { min-height: 78vh; }
    h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .flag-strip { margin-top: -1.1rem; justify-content: flex-start; }
    .section { padding: 4.75rem 0; }
    .destination-grid { grid-template-columns: 1fr; }
    .destination-card:nth-child(4) { display: block; grid-column: auto; }
    .destination-card:nth-child(4) img { aspect-ratio: 4 / 3; }
    .process { padding-top: 4.75rem; padding-bottom: 4.75rem; }
    .care-visual img { min-height: 18rem; }
    .care-points div { grid-template-columns: 1fr; }
    .closing-content { flex-direction: column; align-items: flex-start; }
    footer { padding: 2rem 0; text-align: center; grid-template-columns: 1fr; }
    .footer-brand { justify-content: center; }
    footer > a { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-media { animation: none; }
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
