:root {
    --bg: #0f0d0b;
    --bg-soft: #171310;
    --panel: #1d1813;
    --cream: #f8f1e7;
    --muted: #cfc4b6;
    --muted-2: #9b8d7b;
    --gold: #c9a45c;
    --gold-soft: #ead8ab;
    --danger: #bd4a4a;
    --success: #4f8f63;
    --border: rgba(201, 164, 92, 0.22);
    --shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
    --font-title: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: radial-gradient(circle at top, #241d16 0, var(--bg) 42%, #080706 100%);
    color: var(--cream);
    font-family: var(--font-body);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.center { text-align: center; margin-top: 34px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px min(5vw, 70px);
    background: rgba(15, 13, 11, 0.84);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-title);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: .04em;
}
.brand-mark { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: .94rem; color: var(--muted); }
.main-nav a:hover { color: var(--cream); }
.nav-cta {
    border: 1px solid var(--gold);
    color: var(--gold-soft) !important;
    padding: 10px 18px;
    border-radius: 999px;
}
.menu-toggle { display: none; background: transparent; border: 0; color: var(--cream); font-size: 1.6rem; }

.hero {
    min-height: 76vh;
    position: relative;
    display: grid;
    place-items: center;
    padding: 80px 20px;
    background:
        linear-gradient(rgba(8, 7, 6, .35), rgba(8, 7, 6, .86)),
        url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1800&q=80') center/cover;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(234, 216, 171, .28);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 1;
    width: min(860px, 100%);
    text-align: center;
}
.eyebrow {
    display: inline-block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .24em;
    font-size: .72rem;
    font-weight: 700;
    margin-bottom: 10px;
}
h1, h2, h3 { font-family: var(--font-title); line-height: 1.05; margin: 0 0 14px; }
h1 { font-size: clamp(3rem, 8vw, 6.7rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: 1.55rem; }
p { color: var(--muted); margin: 0 0 18px; }
.hero p { font-size: 1.14rem; max-width: 710px; margin: 0 auto 30px; }
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), #f0d897); color: #16110b; border-color: transparent; }
.btn-outline { color: var(--gold-soft); background: rgba(255,255,255,.03); border-color: rgba(234, 216, 171, .35); }
.btn.full { width: 100%; }

.section { padding: 86px 0; }
.section-heading { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-dark-panel {
    background: linear-gradient(145deg, rgba(29,24,19,.88), rgba(18,15,12,.92));
    border: 1px solid var(--border);
    border-radius: 34px;
    padding: 64px min(4vw, 48px);
    box-shadow: var(--shadow);
}
.cards-grid, .menu-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.card, .dish-card, .contact-card, .feature-box {
    background: rgba(255,255,255,.035);
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.card img, .dish-card img { width: 100%; height: 230px; object-fit: cover; }
.card-body, .dish-card { padding: 24px; }
.card-date { color: var(--gold); font-size: .85rem; }
.dish-card { display: flex; flex-direction: column; gap: 16px; }
.dish-card img, .dish-placeholder { border-radius: 22px; height: 210px; object-fit: cover; }
.dish-placeholder { display: grid; place-items: center; background: #211a13; color: var(--gold); font-size: 2.8rem; }
.dish-info { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.dish-info span { color: var(--gold); font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; }
.dish-info strong { color: var(--gold-soft); white-space: nowrap; }
.split-section {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 30px;
    align-items: center;
}
.feature-box { padding: 34px; }

.page-hero {
    text-align: center;
    padding: 100px 20px 62px;
    background: linear-gradient(rgba(15,13,11,.8), rgba(15,13,11,.98)), url('https://images.unsplash.com/photo-1551218808-94e220e084d2?auto=format&fit=crop&w=1600&q=80') center/cover;
    border-bottom: 1px solid var(--border);
}
.page-hero.compact h1 { font-size: clamp(3rem, 7vw, 5.8rem); }
.page-hero p { max-width: 690px; margin: 0 auto; }
.menu-category { margin-bottom: 58px; }
.category-title { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); padding-bottom: 14px; margin-bottom: 20px; }
.category-title span { color: var(--gold); }
.category-title h2 { font-size: 2.7rem; margin: 0; }
.menu-list { display: grid; gap: 18px; }
.menu-item {
    display: grid;
    grid-template-columns: 126px 1fr;
    gap: 20px;
    padding: 18px;
    border: 1px solid rgba(201,164,92,.18);
    border-radius: 24px;
    background: rgba(255,255,255,.028);
}
.menu-item img { width: 126px; height: 116px; border-radius: 18px; object-fit: cover; }
.menu-item-top { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px dashed rgba(201,164,92,.25); margin-bottom: 10px; }
.menu-item-top h3 { margin-bottom: 8px; }
.menu-item-top span { color: var(--gold-soft); font-weight: 800; white-space: nowrap; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badges span { color: #18120b; background: var(--gold-soft); border-radius: 999px; padding: 4px 10px; font-size: .75rem; font-weight: 800; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--border); }
.gallery-item img { width: 100%; height: 320px; object-fit: cover; }
.gallery-item figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(15,13,11,.75); color: var(--cream); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; }
.contact-card { padding: 34px; }
.map-wrap iframe { width: 100%; min-height: 360px; border: 0; border-radius: 20px; }
.map-placeholder { min-height: 360px; border: 1px dashed var(--border); border-radius: 20px; display: grid; place-items: center; color: var(--muted-2); text-align: center; padding: 30px; }
.empty-state { text-align: center; color: var(--muted-2); padding: 30px; border: 1px dashed var(--border); border-radius: 24px; }

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 40px min(5vw, 70px);
    border-top: 1px solid var(--border);
    background: #090807;
}
.footer-links { display: flex; align-items: center; gap: 18px; color: var(--muted); flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Admin */
.admin-body { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; background: #f5f0e9; color: #1c1712; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; background: #111; color: var(--cream); padding: 24px; border-right: 4px solid var(--gold); }
.admin-brand { margin-bottom: 30px; }
.admin-sidebar nav { display: grid; gap: 8px; }
.admin-sidebar nav a { color: #d5c9ba; padding: 12px 14px; border-radius: 14px; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: rgba(201,164,92,.16); color: #fff; }
.admin-main { padding: 34px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.admin-topbar h1 { color: #1c1712; font-size: 3rem; }
.admin-grid { display: grid; gap: 18px; }
.stats-grid { grid-template-columns: repeat(4, 1fr); margin-bottom: 22px; }
.stat-card, .admin-panel {
    background: #fff;
    border: 1px solid #eadfce;
    border-radius: 24px;
    box-shadow: 0 12px 38px rgba(42,30,16,.08);
}
.stat-card { padding: 24px; }
.stat-card span { color: #7c6e5e; }
.stat-card strong { display: block; font-size: 2.6rem; font-family: var(--font-title); color: #1c1712; }
.admin-panel { padding: 24px; margin-bottom: 22px; }
.admin-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.admin-panel-head h2 { font-size: 2.1rem; color: #1c1712; margin: 0; }
.admin-panel a { color: #7a5a18; font-weight: 800; }
.quick-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 780px; }
.admin-table th, .admin-table td { text-align: left; padding: 13px 12px; border-bottom: 1px solid #eadfce; vertical-align: middle; }
.admin-table th { color: #7c6e5e; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.table-title { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.table-title img { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; }
.actions-cell { display: flex; gap: 12px; align-items: center; }
.actions-cell form { display: inline; }
.actions-cell button { border: 0; background: transparent; color: var(--danger); font-weight: 800; cursor: pointer; }
.admin-form label { display: grid; gap: 7px; color: #4e4135; font-weight: 700; margin-bottom: 16px; }
.admin-form input, .admin-form textarea, .admin-form select, .login-card input {
    width: 100%;
    border: 1px solid #d9cbb9;
    border-radius: 14px;
    padding: 13px 14px;
    font: inherit;
    color: #1c1712;
    background: #fffaf4;
}
.admin-form textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.check-grid { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.check-grid label, .inline-check { display: inline-flex !important; align-items: center; gap: 8px; }
.check-grid input, .inline-check input { width: auto; }
.preview-img { width: 180px; height: 130px; object-fit: cover; border-radius: 18px; margin-bottom: 18px; }
.alert { padding: 13px 16px; border-radius: 16px; margin-bottom: 18px; font-weight: 700; }
.alert.error { background: #ffecec; color: #8d2525; }
.alert.success { background: #ebf7ef; color: #276239; }

.login-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login-card { width: min(430px, 100%); background: rgba(255,255,255,.06); border: 1px solid var(--border); border-radius: 30px; padding: 34px; box-shadow: var(--shadow); }
.login-card h1 { font-size: 3rem; }
.login-card label { display: grid; gap: 7px; margin-bottom: 16px; color: var(--muted); font-weight: 700; }
.login-card small { display: block; margin-top: 16px; color: var(--muted-2); }

@media (max-width: 900px) {
    .main-nav { display: none; position: absolute; left: 16px; right: 16px; top: 72px; background: rgba(15,13,11,.98); border: 1px solid var(--border); border-radius: 20px; padding: 16px; flex-direction: column; align-items: stretch; }
    .main-nav.open { display: flex; }
    .menu-toggle { display: block; }
    .cards-grid, .menu-preview-grid, .gallery-grid, .split-section, .contact-grid, .form-grid { grid-template-columns: 1fr; }
    .admin-body { grid-template-columns: 1fr; }
    .admin-sidebar { position: relative; height: auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .site-header { padding: 14px 16px; }
    .hero { min-height: 68vh; }
    .hero::after { inset: 12px; }
    .section { padding: 58px 0; }
    .menu-item { grid-template-columns: 1fr; }
    .menu-item img { width: 100%; height: 220px; }
    .site-footer { flex-direction: column; }
    .admin-main { padding: 20px; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* Akopa v2: carrusel, menús por imagen y contenido visual del inicio */
.home-slider {
    min-height: 78vh;
    position: relative;
    overflow: hidden;
    background: #090807;
}
.slider-track,
.slide {
    min-height: 78vh;
}
.slide {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 96px 20px 78px;
    background:
        linear-gradient(rgba(8, 7, 6, .42), rgba(8, 7, 6, .86)),
        url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1800&q=80') center/cover;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity .8s ease, transform 1.2s ease;
    pointer-events: none;
}
.slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}
.slide-frame {
    border: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}
.slide-content {
    position: relative;
    z-index: 2;
    width: min(900px, 100%);
    text-align: center;
}
.slide-content p {
    font-size: 1.14rem;
    max-width: 720px;
    margin: 0 auto 30px;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(234,216,171,.45);
    background: rgba(15,13,11,.55);
    color: var(--gold-soft);
    font-size: 2.3rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
}
.slider-arrow:hover { background: rgba(201,164,92,.18); }
.slider-arrow.prev { left: min(4vw, 44px); }
.slider-arrow.next { right: min(4vw, 44px); }
.slider-dots {
    position: absolute;
    z-index: 3;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--gold-soft);
    background: transparent;
    cursor: pointer;
}
.slider-dots button.active { background: var(--gold-soft); }
.home-media-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.media-card {
    background: rgba(255,255,255,.035);
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.media-preview {
    height: 250px;
    background: #1b1510;
}
.media-preview img,
.media-preview video,
.media-preview iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}
.media-placeholder,
.menu-image-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-family: var(--font-title);
    font-size: 2.2rem;
    background: radial-gradient(circle at center, #2b2118, #14100c);
}
.media-body { padding: 22px; }
.contact-strip {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 28px;
    align-items: center;
    background: linear-gradient(145deg, rgba(29,24,19,.9), rgba(15,13,11,.95));
    border: 1px solid var(--border);
    border-radius: 34px;
    padding: 44px min(4vw, 48px);
    margin-bottom: 70px;
}
.left-actions { justify-content: flex-start; }
.map-mini .map-wrap iframe { min-height: 310px; }
.menu-hero,
.menu-detail-hero {
    background: linear-gradient(rgba(15,13,11,.78), rgba(15,13,11,.98)), url('https://images.unsplash.com/photo-1551218808-94e220e084d2?auto=format&fit=crop&w=1600&q=80') center/cover;
}
.menu-image-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.menu-image-card {
    display: grid;
    grid-template-rows: 300px 1fr;
    background: rgba(255,255,255,.035);
    border: 1px solid var(--border);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .25s ease, border-color .25s ease;
}
.menu-image-card:hover {
    transform: translateY(-5px);
    border-color: rgba(234,216,171,.55);
}
.menu-image-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.menu-image-info {
    padding: 24px;
}
.menu-image-info span {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .72rem;
    font-weight: 800;
    margin-bottom: 9px;
}
.menu-image-info h2 {
    font-size: 2.2rem;
}
.menu-detail-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.menu-detail-image {
    margin: 0 auto;
    width: min(980px, 100%);
    background: rgba(255,255,255,.035);
    border: 1px solid var(--border);
    border-radius: 30px;
    overflow: hidden;
    padding: 12px;
    box-shadow: var(--shadow);
}
.menu-detail-image img {
    width: 100%;
    border-radius: 20px;
}
.preview-img.wide {
    width: 280px;
    height: 160px;
}
.admin-panel-head p {
    margin: 4px 0 0;
    color: #7c6e5e;
}

@media (max-width: 900px) {
    .home-media-grid,
    .menu-image-grid,
    .contact-strip {
        grid-template-columns: 1fr;
    }
    .slider-arrow { display: none; }
}
@media (max-width: 620px) {
    .home-slider,
    .slider-track,
    .slide { min-height: 68vh; }
    .slide { padding: 84px 20px 68px; }
    .slide-frame { inset: 12px; }
    .menu-image-card { grid-template-rows: 240px 1fr; }
}

/* Akopa v3: slider más grande, menús múltiples e iconos sociales */
.home-slider,
.slider-track,
.slide {
    min-height: 92vh;
}
.slide {
    padding: 120px 20px 92px;
}
.slide-content {
    width: min(1040px, 100%);
}
.slide-content h1 {
    font-size: clamp(3.8rem, 8.8vw, 8rem);
}
.slide-content p {
    font-size: clamp(1.08rem, 1.8vw, 1.32rem);
    max-width: 820px;
}

.menu-pages-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}
.menu-pages-grid.single {
    grid-template-columns: minmax(0, 980px);
    justify-content: center;
}
.menu-page-card {
    margin: 0;
    background: rgba(255,255,255,.035);
    border: 1px solid var(--border);
    border-radius: 30px;
    overflow: hidden;
    padding: 12px;
    box-shadow: var(--shadow);
}
.menu-page-card a {
    display: block;
}
.menu-page-card img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    background: #120f0c;
}
.menu-page-card figcaption {
    padding: 12px 8px 2px;
    color: var(--muted-2);
    font-size: .88rem;
    text-align: center;
}

.social-icons {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(234,216,171,.34);
    color: var(--gold-soft);
    background: rgba(255,255,255,.035);
    transition: transform .2s ease, background .2s ease, border .2s ease;
}
.social-icon:hover {
    transform: translateY(-2px);
    background: rgba(201,164,92,.18);
    border-color: rgba(234,216,171,.65);
}
.social-icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.admin-subsection {
    margin: 24px 0;
    padding: 22px;
    border: 1px solid #eadfce;
    border-radius: 20px;
    background: #fffaf4;
}
.admin-subsection h3 {
    color: #1c1712;
    font-size: 1.7rem;
    margin-bottom: 8px;
}
.admin-subsection p,
.admin-note {
    color: #7c6e5e;
}
.admin-menu-images-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.admin-menu-image-item {
    border: 1px solid #eadfce;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}
.admin-menu-image-item img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}
.admin-menu-image-item div {
    padding: 12px;
}
.admin-menu-image-item span {
    display: block;
    color: #7c6e5e;
    font-size: .84rem;
    margin-bottom: 8px;
}
.admin-menu-image-item button {
    border: 0;
    background: transparent;
    color: var(--danger);
    font-weight: 800;
    cursor: pointer;
    padding: 0;
}

@media (max-width: 900px) {
    .home-slider,
    .slider-track,
    .slide {
        min-height: 82vh;
    }
    .slide {
        padding: 96px 20px 72px;
    }
    .menu-pages-grid,
    .menu-pages-grid.single,
    .admin-menu-images-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 620px) {
    .home-slider,
    .slider-track,
    .slide {
        min-height: 78vh;
    }
    .slide-content h1 {
        font-size: clamp(3rem, 15vw, 4.7rem);
    }
    .site-footer {
        align-items: center;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
    }
}
.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo img {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
}
.brand-logo-text {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo-text img {
    height: 26px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Logo más pequeño y centrado solo en móvil */
@media (max-width: 620px) {
    .site-header {
        position: sticky;
        display: grid;
        grid-template-columns: 44px 1fr 44px;
        align-items: center;
        padding: 10px 14px;
    }

    .brand,
    .brand-logo,
    .brand-logo-text {
        grid-column: 2;
        justify-self: center;
        text-align: center;
    }

    .brand img,
    .brand-logo img,
    .brand-logo-text img {
        height: 42px;
        width: auto;
        object-fit: contain;
    }

    .brand span {
        font-size: 1.05rem;
    }

    .menu-toggle {
        grid-column: 3;
        justify-self: end;
        font-size: 1.5rem;
    }

    .main-nav {
        top: 68px;
    }
}
/* Slider con swipe en móvil y arrastre con mouse */
.home-slider {
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
}

.home-slider.is-dragging {
    cursor: grabbing;
}

.home-slider .slide-content,
.home-slider .slider-arrow,
.home-slider .slider-dots {
    user-select: none;
}
/* Evitar fondo blanco al hacer scroll de más en móvil */
html,
body {
    background-color: #0b0b0b !important;
    min-height: 100%;
}

body {
    overscroll-behavior-y: none;
}

/* Fondo base permanente para toda la página */
.site-page,
.page-wrapper,
main,
footer {
    background-color: #0b0b0b;
}

/* Refuerzo para móviles cuando el navegador hace rebote */
@media (max-width: 768px) {
    html,
    body {
        background: #0b0b0b !important;
    }

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: #0b0b0b;
        z-index: -1;
        pointer-events: none;
    }
}

/* Pop-up con imagen promocional */
.akopa-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.akopa-popup.is-visible {
    display: flex;
}

.akopa-popup__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.76);
    backdrop-filter: blur(5px);
}

/* Pop-up con imagen sin marcos laterales en PC */
.akopa-popup__image-box {
    position: relative;
    z-index: 2;
    width: auto !important;
    max-width: 92vw !important;
    max-height: 88vh !important;
    background: transparent !important;
    border: none !important;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
    overflow: visible !important;
    animation: akopaPopupIn 0.35s ease;
}

.akopa-popup__image-link {
    display: block;
    width: auto !important;
    line-height: 0;
    text-decoration: none;
}

.akopa-popup__image-link img {
    display: block !important;
    width: auto !important;
    height: min(88vh, 760px) !important;
    max-width: 92vw !important;
    object-fit: contain !important;
    border-radius: 22px;
}

.akopa-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.akopa-popup__close:hover {
    background: rgba(0, 0, 0, 0.85);
}

@keyframes akopaPopupIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 600px) {
    .akopa-popup {
        padding: 14px;
    }

    .akopa-popup__image-box {
        width: 94vw;
        border-radius: 18px;
    }

    .akopa-popup__close {
        width: 34px;
        height: 34px;
        font-size: 1.5rem;
    }
}