/* ===== Santuario de la Cruz — estilos base ===== */
:root {
  --c-bg: #fbf8f3;
  --c-bg-alt: #f2ebdf;
  --c-text: #2b2420;
  --c-muted: #6b5f55;
  --c-primary: #7a2e2e;      /* granate litúrgico */
  --c-primary-dark: #5c2121;
  --c-accent: #b8913a;       /* dorado */
  --c-border: #e3d8c6;
  --radius: 12px;
  --max: 1100px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
}
img { max-width: 100%; display: block; }
a { color: var(--c-primary); }
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.15; margin: 0 0 .5em; color: var(--c-text); }
h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Botones */
.btn {
  display: inline-block;
  padding: .8em 1.5em;
  border-radius: 999px;
  background: var(--c-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--c-primary);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-small { padding: .45em 1.1em; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,243,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 56px; width: auto; border-radius: 8px; box-shadow: 0 2px 8px rgba(85,29,10,.25); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--c-text); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--c-primary); }
.nav .btn { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--c-text); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-bg); border-bottom: 1px solid var(--c-border);
    padding: 8px 16px 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--c-border); }
  .nav .btn { margin-top: 12px; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
/* ===== Hero: texto a la izquierda, foto del santuario a la derecha =====
   Opciones de fondo (atributo data-fondo en <html>):
   1 = Foto completa (por defecto) · 2 = Granate · 3 = Pergamino claro · 4 = Verde montaña */
.hero {
  --hero-c1: #6e2a26;          /* color del lado izquierdo */
  --seam: #4a1b18;             /* color donde se une con la foto */
  --hero-text: #fff;
  --hero-gold: #e8cf94;
  --photo-left: 44%;
  position: relative;
  overflow: hidden;
  min-height: 82vh;
  display: flex; align-items: center;
  color: var(--hero-text);
  background: #2a1512;
}
.hero::before {               /* la foto */
  content: "";
  position: absolute; inset: 0;
  background: url("../img/hero.webp") center 30% / cover no-repeat;
}
.hero::after {                /* velo para que el texto se lea (móvil) */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,15,12,.55) 0%, rgba(30,15,12,.82) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: var(--hero-text); margin-bottom: .35em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bienvenidos */
.welcome { display: flex; align-items: center; gap: 16px; margin: 0 0 .1em; }
.welcome-text {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.2rem, 4.2vw, 3rem);
  line-height: 1.1;
  color: var(--hero-gold);
  text-shadow: 0 2px 18px rgba(232,207,148,.35);
}
.welcome-line {
  position: relative;
  flex: 0 1 140px; height: 1px;
  background: linear-gradient(90deg, var(--hero-gold), transparent);
}
.welcome-line::before {        /* pequeño rombo dorado */
  content: ""; position: absolute; left: 0; top: -3px;
  width: 7px; height: 7px; background: var(--hero-gold); transform: rotate(45deg);
}

/* Versículo */
.verse {
  margin: 0 0 2.2em;
  padding: .2em 0 .2em 1.1em;
  border-left: 3px solid var(--hero-gold);
  max-width: 34ch;
}
.verse p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  margin: 0 0 .5em;
}
.verse cite {
  font-style: normal;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hero-gold);
}

@media (min-width: 820px) {
  .hero { background: linear-gradient(90deg, var(--hero-c1) 0%, var(--seam) var(--photo-left)); }
  .hero::before { left: var(--photo-left); }
  .hero::after {
    background: linear-gradient(90deg,
      transparent 0, transparent var(--photo-left),
      var(--seam) var(--photo-left),
      transparent calc(var(--photo-left) + 22%));
  }
  .hero-inner > * { max-width: 46%; }

  /* Opción 1 (por defecto): foto completa con velo oscuro a la izquierda */
  html:not([data-fondo]) .hero::before,
  [data-fondo="1"] .hero::before { left: 0; background-position: 70% top; }
  html:not([data-fondo]) .hero::after,
  [data-fondo="1"] .hero::after {
    background: linear-gradient(90deg,
      rgba(22,12,10,.9) 0%, rgba(22,12,10,.7) 38%,
      rgba(22,12,10,.15) 65%, transparent 80%);
  }
}

/* Opción 2: granate litúrgico */
[data-fondo="2"] .hero { --hero-c1: #8a3530; --seam: #4a1b18; }

/* Opción 3: pergamino claro */
[data-fondo="3"] .hero { --hero-c1: #fbf6ec; --seam: #efe3cc; --hero-text: var(--c-text); --hero-gold: #a37a22; }
[data-fondo="3"] .hero .welcome-text { color: var(--c-primary); text-shadow: none; }
[data-fondo="3"] .hero .btn-ghost { color: var(--c-text); border-color: var(--c-text); }
[data-fondo="3"] .hero .btn-ghost:hover { background: rgba(0,0,0,.05); }
@media (max-width: 819px) {
  [data-fondo="3"] .hero::after { background: rgba(251,246,236,.86); }
}

/* Opción 4: verde montaña (a juego con la foto) */
[data-fondo="4"] .hero { --hero-c1: #2f5038; --seam: #1c3022; }

/* Selector de opciones (solo se ve con ?opciones en la dirección) */
.fondo-picker {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  background: #fff; color: var(--c-text);
  border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  padding: 12px; font-size: .9rem; max-width: calc(100vw - 32px);
}
.fondo-picker strong { display: block; margin-bottom: 8px; }
.fondo-picker div { display: flex; flex-wrap: wrap; gap: 6px; }
.fondo-picker button {
  font: inherit; cursor: pointer;
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--c-border); background: var(--c-bg);
}
.fondo-picker button[aria-pressed="true"] { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* Secciones */
.section { padding: 88px 0; }
.section-alt { background: var(--c-bg-alt); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; color: var(--c-accent); margin-bottom: .6em; }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }

.image-placeholder {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 2px dashed var(--c-border);
  background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(184,145,58,.06) 12px 24px);
  display: grid; place-items: center;
  color: var(--c-muted); font-size: .95rem; text-align: center; padding: 16px;
}

/* Tarjetas de horarios */
.cards { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px; }
.card h3 { color: var(--c-primary); }
.schedule { list-style: none; margin: 0; padding: 0; }
.schedule li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--c-border); }
.schedule li:last-child { border-bottom: 0; }
.schedule li span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }

/* Eventos */
.events { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.event { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px; }
.event h3 { font-size: 1.35rem; margin-bottom: .25em; }
.event p { margin: 0; color: var(--c-muted); }
.event-date { flex: 0 0 64px; text-align: center; background: var(--c-primary); color: #fff; border-radius: 10px; padding: 8px 0; }
.event-date .day { display: block; font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; line-height: 1; }
.event-date .month { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }

/* Contacto */
.contact { text-align: center; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }

/* Footer */
.site-footer { background: var(--c-text); color: #d9cfc4; padding: 32px 0; text-align: center; font-size: .9rem; }
.site-footer p { margin: 0; }

/* Subtítulo "Copacabana" del título principal (al estilo del logo) */
.h1-sub {
  display: block;
  margin-top: .35em;
  font-family: var(--font-sans);
  font-size: clamp(.95rem, 1.6vw, 1.15rem);
  font-weight: 600;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--hero-gold);
}

/* La cruz entera a la vista: la foto se alinea arriba en escritorio */
@media (min-width: 820px) {
  html:not([data-fondo="1"]) .hero::before { background-position: center top; }
}

/* ===== Nuestra historia: línea del tiempo ===== */
.history { background: linear-gradient(180deg, var(--c-bg) 0%, #f4efe4 100%); }
.history-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.history-head h2 em { font-style: italic; color: var(--c-primary); }
.history-verse { margin: 20px auto 0; }
.history-verse p {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0 0 .3em; color: var(--c-text);
}
.history-verse cite {
  font-style: normal; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-accent);
}
.history-verse::before {
  content: ""; display: block; width: 56px; height: 2px; margin: 0 auto 18px;
  background: var(--c-accent);
}

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {                      /* la línea */
  content: ""; position: absolute; top: 0; bottom: 0; left: 15px; width: 2px;
  background: linear-gradient(180deg, transparent, var(--c-accent) 4%, var(--c-accent) 96%, transparent);
}
.tl-item { position: relative; padding: 0 0 36px 52px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {                       /* el punto */
  content: ""; position: absolute; left: 8px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--c-bg); border: 3px solid var(--c-primary);
}
.tl-key::before { background: var(--c-accent); border-color: var(--c-accent); box-shadow: 0 0 0 5px rgba(184,145,58,.2); }
.tl-year {
  display: inline-block; margin-bottom: 10px;
  font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; line-height: 1;
  color: var(--c-primary);
}
.tl-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: 0 6px 20px rgba(60,35,20,.06);
}
.tl-key .tl-card { border-top: 3px solid var(--c-accent); }
.tl-card h3 { font-size: 1.35rem; margin-bottom: .35em; }
.tl-card p { margin: 0 0 .6em; color: #463b34; }
.tl-card p:last-child { margin-bottom: 0; }
.tl-source { font-size: .8rem; color: var(--c-muted); font-style: italic; }

@media (min-width: 900px) {                /* alterna izquierda / derecha */
  .timeline::before { left: 50%; transform: translateX(-1px); }
  .tl-item { width: 50%; padding: 0 48px 48px 0; text-align: right; }
  .tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 48px 48px; text-align: left; }
  .tl-item::before { left: auto; right: -8px; }
  .tl-item:nth-child(even)::before { right: auto; left: -8px; }
  .tl-card { text-align: left; }
}

/* Aparición suave al hacer scroll (solo con JavaScript activo) */
.js .tl-item { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .tl-item.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .tl-item { opacity: 1; transform: none; transition: none; }
}

/* ===== Horarios ===== */
.ico { width: 1.4em; height: 1.4em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico-lg { width: 40px; height: 40px; color: var(--c-accent); margin-bottom: 12px; }
.card-title { display: flex; align-items: center; gap: 10px; }
@media (min-width: 720px) { .cards-2 { grid-template-columns: 3fr 2fr; } }

.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th, .schedule-table td { text-align: left; padding: 12px 8px 12px 0; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.schedule-table thead th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; }
.schedule-table tbody th { font-weight: 600; white-space: nowrap; padding-right: 20px; }
.schedule-table tbody tr:last-child > * { border-bottom: 0; }
.schedule-table td { font-variant-numeric: tabular-nums; }

.card-visit {
  background: linear-gradient(160deg, #2f5038 0%, #1c3022 100%);
  border-color: #1c3022; color: #f3efe6;
  display: flex; flex-direction: column;
}
.card-visit .card-title { color: #e8cf94; }
.visit-days { margin: 8px 0 0; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.visit-hours { margin: 4px 0 18px; font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.4rem); line-height: 1.1; color: #fff; }
.visit-note { margin: auto 0 0; padding-top: 16px; border-top: 1px solid rgba(232,207,148,.35); font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; line-height: 1.45; }

/* ===== Celebraciones ===== */
@media (min-width: 820px) { .events { grid-template-columns: 1fr 1fr; } }
.event-feature { padding: 26px; border-left: 4px solid var(--c-accent); }
.event-feature .event-date { flex-basis: 76px; padding: 12px 0; }
.event-feature .event-date .day { font-size: 2.2rem; }
.event-feature h3 { font-size: 1.55rem; color: var(--c-primary); }

.devotions { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 640px) { .devotions { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .devotions { grid-template-columns: repeat(4, 1fr); } }
.devotion { background: var(--c-bg-alt); border-radius: var(--radius); padding: 24px; }
.devotion h3 { font-size: 1.3rem; margin-bottom: .4em; }
.devotion p { margin: 0 0 .6em; color: #463b34; font-size: .98rem; }
.devotion p:last-child { margin-bottom: 0; }

/* Opción 5: café del logo */
[data-fondo="5"] .hero { --hero-c1: #7a3418; --seam: #551d0a; --hero-gold: #f0d9a8; }

/* Opción 6: velo azul oscuro translúcido sobre la foto completa */
html[data-fondo="6"] .hero { background: #0b1a33; }
html[data-fondo="6"] .hero::after {
  background: linear-gradient(180deg, rgba(10,25,52,.6) 0%, rgba(10,25,52,.85) 100%);
}
@media (min-width: 820px) {
  html[data-fondo="6"] .hero::before { left: 0; background-position: 70% top; }
  html[data-fondo="6"] .hero::after {
    background: linear-gradient(90deg,
      rgba(10,25,52,.86) 0%, rgba(10,25,52,.72) 38%,
      rgba(10,25,52,.3) 62%, rgba(10,25,52,0) 80%);
  }
}

/* ===== Mapa / Cómo llegar ===== */
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); box-shadow: 0 8px 24px rgba(60,35,20,.1); aspect-ratio: 4 / 3; background: var(--c-bg); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-outline { background: transparent; color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }

/* ===== Redes sociales ===== */
.social-link { display: inline-flex; align-items: center; gap: 8px; padding: .55em 1.2em; border-radius: 999px; background: #1877f2; color: #fff; text-decoration: none; font-weight: 600; }
.social-link:hover { background: #0f5fc7; }
.footer-social { display: inline-flex; align-items: center; gap: 6px; color: #e8cf94; text-decoration: none; margin-bottom: 8px; }
.footer-social:hover { text-decoration: underline; }

/* ===== Línea del tiempo más compacta ===== */
.history { padding: 64px 0; }
.history-head { margin-bottom: 32px; }
.history-verse { margin-top: 12px; }
.history-verse::before { margin-bottom: 12px; }
.tl-item { padding-bottom: 18px; }
.tl-year { font-size: 1.3rem; margin-bottom: 6px; }
.tl-card { padding: 16px 20px; }
.tl-card h3 { font-size: 1.2rem; margin-bottom: .25em; }
.tl-card p { font-size: .97rem; line-height: 1.55; margin-bottom: .4em; }
@media (min-width: 900px) {
  /* las tarjetas de un lado suben junto a las del otro, sin huecos */
  .tl-item, .tl-item:nth-child(even) { padding-bottom: 20px; }
  .tl-item + .tl-item { margin-top: -80px; }
}

/* ===== Galería de fotos ===== */
.gallery { display: grid; gap: 12px; margin-top: 28px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; } }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: 10px; background: var(--c-bg-alt); }
.gallery-wide { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-empty { display: grid; place-items: center; border: 2px dashed var(--c-border); color: var(--c-muted); font-size: .9rem; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10,8,6,.88); }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 8px; }
.lightbox-caption { color: #f3efe6; text-align: center; margin: 10px 0 0; font-size: .95rem; }
.lightbox-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--c-text); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.3); }

/* ===== Galería en mosaico ===== */
.gallery { grid-auto-flow: dense; grid-auto-rows: 150px; gap: 14px; }
@media (min-width: 720px) { .gallery { grid-auto-rows: 190px; } }
.g-wide { grid-column: span 2; grid-row: span 2; }
.g-tall { grid-row: span 2; }
.gallery-item {
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(60,35,20,.12);
  isolation: isolate;
}
.gallery-item img { transition: transform .6s ease, filter .6s ease; }
.gallery-item::after {                    /* degradado para el texto */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(20,12,8,.78) 100%);
  opacity: .85; transition: opacity .4s ease;
}
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 14px 16px; color: #fff;
  display: flex; flex-direction: column; gap: 2px;
}
.gallery-cap strong { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; line-height: 1.1; }
.gallery-cap span {
  font-size: .85rem; opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity .4s ease, max-height .4s ease;
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); filter: saturate(1.1); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.gallery-item:hover .gallery-cap span, .gallery-item:focus-visible .gallery-cap span { opacity: .9; max-height: 3em; }
.gallery-item:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
@media (hover: none) { .gallery-cap span { display: none; } }

/* Flechas del visor */
.lightbox-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.9); color: var(--c-text);
  font-size: 1.8rem; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-nav:hover, .lightbox-close:hover { background: #fff; }

.g-top img { object-position: center top; }
.gallery-cta {
  grid-row: span 2;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px;
  padding: 22px; border-radius: 14px; text-decoration: none;
  background: radial-gradient(circle at 30% 20%, #7a3418 0%, #551d0a 70%);
  color: #f3efe6; box-shadow: 0 8px 24px rgba(60,35,20,.12);
  transition: transform .3s ease;
}
.gallery-cta:hover { transform: translateY(-3px); }
.gallery-cta-title { font-family: "Great Vibes", cursive; font-size: 2.4rem; line-height: 1; color: #f0d9a8; }
.gallery-cta-text { font-size: .95rem; line-height: 1.45; }
.gallery-cta-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: .5em 1em; border-radius: 999px; background: #f0d9a8; color: #551d0a; font-weight: 600; font-size: .9rem; }

/* ---------- Encabezado de escritorio (el menú móvil, ≤820px, no cambia) ---------- */
.brand-text { display: none; }
@media (min-width: 821px) {
  .site-header .header-inner { max-width: 1280px; height: 84px; }
  .brand { gap: 14px; }
  .brand img { height: 60px; }
  .nav { gap: 6px; }
  .nav a:not(.btn) {
    position: relative; padding: 10px 14px;
    font-size: .95rem; letter-spacing: .01em; color: var(--c-text);
  }
  .nav a:not(.btn)::after {               /* subrayado dorado */
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
    height: 2px; border-radius: 2px; background: var(--c-accent);
    transform: scaleX(0); transform-origin: center; transition: transform .25s ease;
  }
  .nav a:not(.btn):hover::after,
  .nav a.active::after { transform: scaleX(1); }
  .nav a.active { color: var(--c-primary); }
  .nav .btn {
    margin-left: 14px; padding: .6em 1.4em;
    box-shadow: 0 4px 14px rgba(122,46,46,.25);
  }
  .site-header.scrolled { box-shadow: 0 6px 24px rgba(43,36,32,.08); }
}
@media (min-width: 1100px) {
  .brand-text { display: flex; flex-direction: column; line-height: 1.05; }
  .brand-name {
    font-family: var(--font-serif); font-weight: 700; font-size: 1.45rem; color: var(--c-primary);
  }
  .brand-place {
    margin-top: 4px; font-size: .68rem; font-weight: 600;
    letter-spacing: .28em; text-transform: uppercase; color: var(--c-accent);
  }
}
