@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fraunces-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/fraunces-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jakarta-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jakarta-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/jakarta-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/jakarta-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink: #141210;
    --bone: #f4f0ea;
    --paper: #f7f4ef;
    --paper-2: #fbf9f6;
    --line: rgba(20, 18, 16, 0.14);
    --text: #221f1b;
    --muted: #6d655c;
    --copper: #8a6249;
    --gold: #8a6249;
    --ink-soft: #3f3a34;
    --ok: #1d6b45;
    --err: #8d2d2d;
    --serif: "Fraunces", "Times New Roman", serif;
    --sans: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
    --shadow: 0 18px 50px rgba(20, 18, 16, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--paper-2); font-family: var(--sans); font-size: 1rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
p { margin: 0 0 1rem; }

.site { background: var(--bone); color: var(--text); font-weight: 400; }
.site h1, .site h2, .site h3, .site h4 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--ink);
    margin: 0 0 0.7rem;
}
.site h1 { font-size: clamp(2.5rem, 4vw, 3.8rem); }
.site h2 { font-size: clamp(2rem, 3vw, 2.8rem); }
.site h3 { font-size: 1.7rem; line-height: 1.15; }
.wrap { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; }
.narrow { width: min(740px, calc(100% - 3rem)); }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--bone); padding: 0.5rem 0.8rem; }
.skip:focus { top: 1rem; z-index: 80; }

.mast {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 84px;
    padding: 0.35rem 1.4rem;
    background: rgba(247, 244, 239, 0.96);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}
.brand { flex: 0 0 auto; line-height: 0; }
.brand img, .footer-top img { height: 68px; width: auto; }
.nav-toggle {
    margin-left: auto;
    position: relative;
    z-index: 50;
    border: 0;
    background: transparent;
    color: var(--ink);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.6rem 0;
}
.label-close { display: none; font-size: 1.8rem; letter-spacing: 0; line-height: 1; }
body.nav-open .label-open { display: none; }
body.nav-open .label-close { display: inline; }
.site-nav { display: none; }
.site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: var(--bone);
    color: var(--ink);
    padding: 6.2rem 1.6rem 2.5rem;
    overflow: auto;
    gap: 0.15rem;
}
.site-nav > a, .menu summary {
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
}
.menu summary { cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { display: none; padding: 0.4rem 0 0.8rem; }
.menu[open] .menu-panel { display: grid; gap: 0.15rem; }
.menu-panel a {
    display: flex;
    gap: 0.8rem;
    color: var(--ink);
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.98rem;
    font-weight: 500;
    padding: 0.45rem 0.55rem;
    border: 0;
    border-radius: 10px;
}
.menu-panel a:hover { background: rgba(28, 27, 25, 0.04); }
.menu-panel a span { color: var(--copper); font-size: 0.75rem; letter-spacing: 0.12em; min-width: 1.6rem; padding-top: 0.25rem; }
.site-nav > a.nav-book {
    margin-top: 1.2rem;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--ink);
    color: #fffaf6;
    border-radius: 999px;
    padding: 0.65rem 0.95rem;
    border-bottom: 0;
}
.lang-link { color: var(--copper) !important; }

.wa-icon { width: 1.15em; height: 1.15em; display: block; flex: none; }
.btn, button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: var(--copper);
    color: #fffaf6;
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    padding: 0.85rem 1.25rem;
    letter-spacing: 0.01em;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
}
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(28, 27, 25, 0.18); }
.text-link { color: var(--copper); text-decoration: none; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; font-weight: 500; }

.hero {
    display: grid;
    background: var(--bone);
}
.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.4rem 1.75rem 1.2rem;
}
.kicker {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--copper);
    margin: 0 0 1rem;
}
.lead { font-size: 1.02rem; max-width: 32rem; color: var(--ink-soft); font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 0.4rem 0 1.4rem; }
.portrait { margin: 0; }
.portrait img {
    width: 100%;
    height: 72vw;
    object-fit: cover;
    object-position: 50% 32%;
}
.facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    background: var(--ink);
    color: var(--bone);
}
.facts div { padding: 1rem 0.85rem; border-left: 1px solid rgba(247, 243, 236, 0.12); }
.facts div:first-child { border-left: 0; }
.facts dt { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 500; line-height: 1; color: var(--bone); }
.facts dd { margin: 0.25rem 0 0; color: rgba(247, 243, 236, 0.68); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }

.chapter { padding: 4.5rem 0; }
.chapter-intro { display: grid; gap: 0.8rem; margin-bottom: 1.5rem; max-width: 40rem; }
.chapter-intro p, .split p, .sheet .prose { color: var(--ink-soft); }
.chapter-dark { background: var(--ink); color: var(--bone); }
.chapter-dark .kicker { color: #e7b2a4; }

.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.8rem 1rem;
    align-items: baseline;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: var(--ink);
}
.index a:hover { color: var(--copper); }
.index-no { font-size: 0.75rem; letter-spacing: 0.14em; color: var(--copper); font-weight: 500; }
.index-copy { display: grid; gap: 0.2rem; min-width: 0; }
.index-copy strong { font-family: var(--serif); font-size: clamp(1.55rem, 2.4vw, 2.15rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.index-copy span {
    color: var(--muted);
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.index-go { font-size: 1.2rem; color: var(--copper); }

.split { display: grid; gap: 1rem; }
.statement { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.25; color: var(--ink); font-weight: 500; }

.chapter-dark .wrap {
    width: min(36rem, calc(100% - 4.5rem));
    background: transparent;
    padding: 0;
    box-shadow: none;
}
.slider { max-width: none; }
.slide { margin: 0.6rem 0 0; }
.slide p { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.6; font-weight: 500; color: var(--bone); }
.slide footer { display: flex; gap: 1rem; margin-top: 1.2rem; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; color: #e7b2a4; }
.slider-nav { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.slider-nav button {
    width: 44px; height: 44px; border: 1px solid rgba(247, 243, 236, 0.35);
    background: transparent; color: var(--bone); cursor: pointer; border-radius: 0;
}
.slider-nav span { letter-spacing: 0.14em; font-size: 0.75rem; }

.faq-layout { display: grid; gap: 1.2rem; }
.faq { border-top: 1px solid var(--line); }
.faq summary {
    cursor: pointer;
    list-style: none;
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    padding: 1rem 2rem 1rem 0;
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0.85rem; color: var(--copper); font-family: var(--sans); font-size: 1.3rem; }
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 0 0 1rem; max-width: 42rem; }

.visit-band { display: grid; gap: 1.4rem; }
.map { display: block; width: 100%; background: #ddd; filter: grayscale(1) contrast(1.05); overflow: hidden; }
.map img { width: 100%; height: 360px; object-fit: cover; }

.sheet { padding: 3.2rem 0 4rem; }
.sheet h1 { font-size: clamp(2.2rem, 4vw, 3.15rem); }
.related { padding: 0 0 4rem; }
.related h2 { font-size: 1.7rem; line-height: 1.15; margin-bottom: 0.8rem; }
.related-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.related-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    font-weight: 500;
}
.related-list a::after { content: "→"; color: var(--copper); }
.crumbs { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; }
.sheet-photo { width: 100%; margin: 1.2rem 0 1.6rem; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 20%; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.1rem; }
.prose li { margin: 0.35rem 0; }
.note { color: var(--muted); font-size: 0.92rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }
.link-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; }
.link-row a { text-decoration: none; border-bottom: 1px solid var(--copper); padding-bottom: 0.15rem; }

.contact-grid { display: grid; gap: 2.5rem; }
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0; }
.contact-list li { margin: 0; padding: 0.9rem 0; border-top: 1px solid var(--line); }
.contact-list span { display: block; color: var(--copper); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.2rem; }
.form { display: grid; gap: 0.9rem; }
.form label { display: grid; gap: 0.35rem; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.form input, .form textarea, .form select {
    padding: 0.85rem 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 0; border-bottom-color: var(--ink); }
.check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 0.7rem; text-transform: none; letter-spacing: 0; font-size: 0.92rem; font-weight: 400; }
.hp { position: absolute; left: -9999px; }
.form-ok { color: var(--ok); text-transform: none; letter-spacing: 0; font-size: 1rem; }
.form-err { color: var(--err); text-transform: none; letter-spacing: 0; font-size: 1rem; }
.video-grid { display: grid; gap: 1.6rem; margin: 1.5rem 0; }
.video-frame { position: relative; padding-top: 56.25%; background: var(--ink); overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-grid figcaption { margin-top: 0.55rem; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; }

.site-footer { background: var(--ink); color: rgba(247, 243, 236, 0.78); padding: 3rem 0 6.5rem; }
.site-footer a { color: inherit; }
.footer-top { display: grid; gap: 1.2rem; align-items: end; }
.footer-address { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; color: var(--bone); }
.footer-base { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; justify-content: space-between; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(247, 243, 236, 0.12); font-size: 0.82rem; letter-spacing: 0.06em; }
.footer-links { display: flex; gap: 1rem; }
.footer-note { max-width: 46rem; margin-top: 1rem; font-size: 0.85rem; color: rgba(247, 243, 236, 0.55); }
.whatsapp {
    position: fixed; right: 1rem; bottom: 1rem; z-index: 30;
    display: inline-flex; align-items: center; gap: 0.45rem;
    background: #1f7a4d; color: #fffaf6; text-decoration: none; font-weight: 600;
    letter-spacing: 0.04em; font-size: 0.82rem;
    padding: 0.75rem 0.95rem; border-radius: 999px;
}

.admin { background: var(--paper); font-family: var(--sans); }
.admin h1, .admin h2 { font-family: var(--serif); color: var(--ink); letter-spacing: 0; line-height: 1.2; }
.admin-shell { display: grid; min-height: 100vh; }
.admin-side { background: var(--ink); color: #f4ecdf; padding: 1.2rem; }
.admin-side a { color: inherit; text-decoration: none; display: block; padding: 0.4rem 0; }
.admin-brand { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 1rem; }
.admin-user { color: #c8bfb1; font-size: 0.85rem; }
.admin-main { padding: 1.2rem; }
.admin-main h1 { font-size: 2rem; }
.stat-row { display: grid; gap: 0.8rem; list-style: none; padding: 0; }
.stat-row li { background: white; padding: 1rem; }
.stat-row strong { display: block; font-family: var(--serif); font-size: 2rem; }
.data { width: 100%; border-collapse: collapse; background: white; }
.data th, .data td { text-align: left; padding: 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.unread { background: #f7f1df; }
.detail { display: grid; grid-template-columns: 8rem 1fr; gap: 0.4rem 1rem; }
.login-card { width: min(420px, calc(100% - 2rem)); margin: 8vh auto; background: white; padding: 1.2rem; }
.form-stack { max-width: 720px; }
.muted { color: var(--muted); }
.admin .btn { letter-spacing: 0.08em; }

@media (min-width: 1080px) {
    .nav-toggle { display: none; }
    .mast { padding: 0.35rem 2rem 0.35rem 3.4rem; }
    .brand img { height: 64px; }
    .site-nav,
    .site-nav.is-open {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.15rem 0.85rem;
        margin-left: auto;
        position: static;
        inset: auto;
        z-index: auto;
        background: none;
        padding: 0;
        overflow: visible;
        min-width: 0;
    }
    .site-nav > a, .menu summary {
        border: 0;
        padding: 0.35rem 0;
        font-size: 0.96rem;
        white-space: nowrap;
    }
    .menu { position: relative; }
    .menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 0.85rem; }
    .menu-panel, .menu-panel-short {
        display: none;
        position: absolute;
        left: 0;
        top: calc(100% + 0.45rem);
        width: 520px;
        background: #fff;
        color: var(--ink);
        padding: 0.55rem;
        grid-template-columns: 1fr 1fr;
        gap: 0.1rem;
        border-radius: 16px;
        border: 1px solid var(--line);
        box-shadow: 0 18px 50px rgba(28, 27, 25, 0.1);
        z-index: 5;
    }
    .menu-panel-short { width: 280px; grid-template-columns: 1fr; }
    .menu:hover .menu-panel,
    .menu:focus-within .menu-panel,
    .menu[open] .menu-panel { display: grid; }
    .site-nav > a.nav-book { margin: 0 0 0 0.35rem; padding: 0.55rem 0.85rem; }
    .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); grid-template-rows: minmax(520px, 68vh) auto; }
    body.nav-open { overflow: visible; }
    .hero-copy { grid-column: 1; grid-row: 1; padding: 3rem 3.2rem 1.6rem 4.5rem; }
    .portrait { grid-column: 2; grid-row: 1 / span 2; }
    .portrait img { height: 100%; min-height: 100%; max-height: none; }
    .facts { grid-column: 1; grid-row: 2; }
    .facts div { padding: 1.15rem 1.4rem; }
    .facts div:first-child { padding-left: 4.5rem; }
    .split { grid-template-columns: 180px 1fr; gap: 2rem; align-items: start; }
    .faq-layout { grid-template-columns: 0.7fr 1.3fr; gap: 3rem; align-items: start; }
    .visit-band, .contact-grid, .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
    .video-grid { grid-template-columns: 1fr 1fr; }
    .admin-shell { grid-template-columns: 220px 1fr; }
    .stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1079px) {
    .nav-toggle { display: inline-flex; }
    body.nav-open { overflow: hidden; }
    .hero-copy { order: 2; }
    .portrait { order: 1; }
    .facts { order: 3; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
