/* ==========================================================================
   Cervecería Artesanal Meridiano — Editorial Craft Brewery 2026
   ========================================================================== */

:root {
  --paper: #f6f2ea;
  --paper-alt: #ede7dc;
  --surface: #fbf9f4;
  --ink: #16241c;
  --ink-soft: #3a4940;
  --muted: #56635a;
  --copper: #b86a2a;
  --copper-light: #d68b47;
  --cellar: #121e17;
  --cellar-card: #1a2a21;
  --border: rgba(22, 36, 28, 0.12);
  --border-strong: rgba(22, 36, 28, 0.28);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
  --maxw: 1200px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

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

body {
  position: relative;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  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;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
}

.skip-link:focus {
  top: 16px;
}

.engraving-svg {
  mix-blend-mode: multiply;
  overflow: visible;
}

.container {
  width: min(100% - 48px, var(--maxw));
  margin-inline: auto;
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 32px, var(--maxw));
  }
}

.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 120px);
  border-top: 1px solid var(--border);
}

.section--alt {
  background: var(--paper-alt);
}

.section--cellar {
  background: var(--cellar);
  color: var(--paper);
  border-top-color: rgba(246, 242, 234, 0.08);
}

.section--ornament::before {
  content: "✦";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  padding: 0 14px;
  font-size: 11px;
  color: var(--copper);
  line-height: 20px;
}

.section--alt.section--ornament::before {
  background: var(--paper-alt);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

.section--cellar .eyebrow {
  color: var(--copper-light);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 72;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 18ch;
}

.section--cellar .section__title {
  color: var(--paper);
}

.section__lead {
  margin: 0;
  max-width: 44ch;
  color: var(--ink-soft);
  font-size: 16px;
}

/* Botones modernos tipo píldora editorial */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 0.24s ease, color 0.24s ease, border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 8px 22px rgba(22, 36, 28, 0.16);
}

.btn--primary:hover {
  background: #20362a;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(22, 36, 28, 0.22);
}

.btn--copper {
  background: var(--copper);
  color: #fff;
  box-shadow: 0 8px 22px rgba(184, 106, 42, 0.28);
}

.btn--copper:hover {
  background: #c77634;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(22, 36, 28, 0.05);
  transform: translateY(-1px);
}

.section--cellar .btn--ghost {
  color: var(--paper);
  border-color: rgba(246, 242, 234, 0.28);
}

.section--cellar .btn--ghost:hover {
  border-color: var(--paper);
  background: rgba(246, 242, 234, 0.08);
}

.btn--sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 13px;
}

/* Coreografía de entrada al hacer scroll */
[data-reveal] {
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-anim [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(20px);
}

.js-anim [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   ANIMACIONES BOTÁNICAS PARA FOOTER
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .anim-sway-a { animation: swayGentleA 5.6s ease-in-out infinite; }
  .anim-sway-b { animation: swayGentleB 6.4s ease-in-out infinite; }
  .anim-steam { animation: steamRise 4.6s ease-in-out infinite; }
  .anim-ripple.r0 { animation: rippleDrift 6.5s ease-in-out infinite; }
  .anim-ripple.r1 { animation: rippleDrift 7.8s ease-in-out -2.4s infinite reverse; }
  .anim-ripple.r2 { animation: rippleDrift 8.6s ease-in-out -4.2s infinite; }

  .brand-link:hover .brand-link__mark,
  .footer__mark {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .brand-link:hover .brand-link__mark {
    transform: rotate(22deg);
  }
}

@keyframes swayGentleA { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(2.1deg); } }
@keyframes swayGentleB { 0%, 100% { transform: rotate(1.8deg); } 50% { transform: rotate(-1.9deg); } }
@keyframes steamRise {
  0% { transform: translateY(6px); opacity: 0.22; }
  50% { transform: translateY(-7px); opacity: 0.72; }
  100% { transform: translateY(-16px); opacity: 0.12; }
}
@keyframes rippleDrift {
  0%, 100% { transform: translateX(-8px); opacity: 0.6; }
  50% { transform: translateX(10px); opacity: 0.95; }
}

/* ==========================================================================
   1. HEADER GLASSMÓRFICO
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  background: rgba(246, 242, 234, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  flex-shrink: 0;
}

.brand-link__mark {
  width: 28px;
  height: 28px;
  color: var(--ink);
}

.brand-link__word {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "opsz" 72;
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
}

.main-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 2px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1.5px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="true"] {
  color: var(--ink);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .header-actions .btn--sm {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 75;
  background: var(--paper);
  border-top: 1px solid var(--border);
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.mobile-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 4px;
  font-family: var(--serif);
  font-size: 24px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav__cta {
  margin-top: 24px;
}

/* ==========================================================================
   2. HERO EDITORIAL CON FOTOGRAFÍA REAL
   ========================================================================== */
.hero {
  padding-block: clamp(36px, 5vw, 76px) clamp(56px, 7vw, 96px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero__title {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-size: clamp(38px, 4.9vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--ink);
}

.hero__title em {
  font-style: italic;
  color: var(--copper);
}

.hero__subtitle {
  margin: 0 0 32px;
  max-width: 48ch;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hero__meta dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.hero__meta dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
}

.hero__visual {
  position: relative;
}

.hero__frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 28px 60px rgba(18, 30, 23, 0.16), 0 0 0 1px rgba(22, 36, 28, 0.08);
  background: #141c17;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03) translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.35s ease-out;
}

.hero__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(18, 30, 23, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(246, 242, 234, 0.18);
  color: var(--paper);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #67d996;
  box-shadow: 0 0 0 4px rgba(103, 217, 150, 0.22);
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    order: -1;
  }
}

@media (max-width: 560px) {
  .hero__meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero__ctas {
    flex-direction: column;
  }
  .hero__ctas .btn {
    width: 100%;
  }
}

/* ==========================================================================
   3. NUESTRAS CERVEZAS (TARJETAS EDITORIALES CON FOTOGRAFÍA REAL)
   ========================================================================== */
.beer-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--surface);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

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

@media (max-width: 960px) {
  .beer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .beer-grid {
    grid-template-columns: 1fr;
  }
}

.beer-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(22, 36, 28, 0.05);
  transition: border-color 0.28s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.34s ease;
}

.beer-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(22, 36, 28, 0.12);
}

.beer-card[hidden] {
  display: none;
}

.beer-card__media {
  position: relative;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: #101513;
}

.beer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.beer-card:hover .beer-photo {
  transform: scale(1.045);
}

.beer-card__pill {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 21, 19, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(246, 242, 234, 0.16);
  color: var(--paper);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.beer-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.beer-card__style {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 6px;
}

.beer-card__title {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "opsz" 48;
  font-size: 25px;
  line-height: 1.15;
  color: var(--ink);
}

.beer-card__notes {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  flex-grow: 1;
}

.beer-meters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--border);
}

.beer-meter__lbl {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.beer-meter__bars {
  display: flex;
  gap: 4px;
}

.beer-meter__bars span {
  height: 4px;
  flex: 1;
  border-radius: 999px;
  background: rgba(22, 36, 28, 0.14);
}

.beer-meter__bars span.is-on {
  background: var(--copper);
}

.beer-card__pairing {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.beer-card__pairing strong {
  color: var(--ink);
  font-weight: 600;
}

/* ==========================================================================
   4. CARTA EN PDF (BLOQUE CAVA OSCURA)
   ========================================================================== */
.carta-box {
  background: var(--cellar-card);
  border: 1px solid rgba(246, 242, 234, 0.12);
  border-radius: 22px;
  padding: clamp(28px, 4.5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.carta-box__desc {
  margin: 0 0 24px;
  color: rgba(246, 242, 234, 0.8);
  font-size: 15.5px;
}

.carta-box__list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 12px;
  color: rgba(246, 242, 234, 0.86);
  font-size: 15px;
}

.carta-box__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(246, 242, 234, 0.18);
}

.carta-box__list li strong,
.carta-box__list li span:last-child {
  color: var(--copper-light);
  font-weight: 600;
}

.carta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.carta-preview {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(246, 242, 234, 0.25);
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease;
}

.carta-preview:hover {
  transform: translateY(-4px);
}

.carta-preview__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.carta-preview__brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.carta-preview__badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}

.carta-preview__rows {
  display: grid;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.carta-preview__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 860px) {
  .carta-box {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   5. HISTORIA Y PROCESO ARTESANAL
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.story__plate {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 22px 48px rgba(22, 36, 28, 0.14);
  background: #141c17;
}

.story-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story__body p {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

.story-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.story-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.story-step__num {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--copper);
  margin-bottom: 4px;
}

.story-step__title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}

.story-step__desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .story-steps {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   6. TESTIMONIOS
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 6px 20px rgba(22, 36, 28, 0.04);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 32px rgba(22, 36, 28, 0.09);
}

.review-stars {
  display: inline-flex;
  gap: 3px;
  color: var(--copper);
}

.review-stars svg {
  width: 15px;
  height: 15px;
}

.review-card__quote {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
}

.review-card__author {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.review-card__name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.review-card__meta {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}

/* ==========================================================================
   7. PREGUNTAS FRECUENTES (FAQ)
   ========================================================================== */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 840px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: var(--border-strong);
  box-shadow: 0 10px 24px rgba(22, 36, 28, 0.06);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  min-height: 56px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--copper);
  transition: transform 0.24s ease;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 14px 24px 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  border-top: 1px solid var(--border);
}

.faq-item__answer p {
  margin: 0;
}

/* ==========================================================================
   8. UBICACIÓN Y GOOGLE MAPS
   ========================================================================== */
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: stretch;
}

.location-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}

.location-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 14px;
  background: var(--paper);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 18px;
}

.location-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2e8b57;
}

.location-status.is-closed .location-status__dot {
  background: var(--copper);
}

.location-details {
  display: grid;
  gap: 16px;
  margin: 0;
}

.location-details div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.location-details dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 4px;
}

.location-details dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.location-hours {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.location-hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.map-frame {
  position: relative;
  min-height: 400px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper-alt);
  box-shadow: 0 16px 36px rgba(22, 36, 28, 0.08);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  filter: sepia(14%) hue-rotate(65deg) saturate(70%) contrast(96%);
  transition: filter 0.3s ease;
}

.map-frame:hover iframe {
  filter: none;
}

@media (max-width: 860px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
  .map-frame,
  .map-frame iframe {
    min-height: 300px;
  }
}

/* ==========================================================================
   9. CONSUMO RESPONSABLE Y ENLACES LEGALES
   ========================================================================== */
.responsible-band {
  padding-block: 36px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--paper-alt);
}

.responsible-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}

.responsible-band__notice {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 68ch;
}

.responsible-band__notice strong {
  color: var(--ink);
}

.responsible-band__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.responsible-band__links a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--border-strong);
}

.responsible-band__links a:hover {
  text-decoration-color: var(--copper);
}

/* ==========================================================================
   10. BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid rgba(246, 242, 234, 0.25);
  box-shadow: 0 12px 28px rgba(18, 30, 23, 0.26);
  font-size: 13.5px;
  font-weight: 600;
  transition: transform 0.24s ease, background-color 0.24s ease;
}

.wa-float:hover {
  background: #20362a;
  transform: translateY(-2px);
}

.wa-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .wa-float {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    bottom: 16px;
    right: 16px;
  }
  .wa-float__label {
    display: none;
  }
}

/* ==========================================================================
   11. FOOTER ILUSTRADO VIVO
   ========================================================================== */
.footer {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
}

.footer__content {
  position: relative;
  order: 1;
  flex: none;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(28px, 3vw, 44px) 16px 0;
}

.footer__mark {
  width: clamp(40px, 4.1vw, 54px);
  height: auto;
  color: var(--ink);
  display: block;
}

.footer__brand {
  margin: clamp(8px, 0.9vw, 12px) 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "opsz" 72;
  font-size: clamp(36px, 3.6vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.footer__tagline {
  margin: clamp(12px, 1.3vw, 18px) 0 0;
  font-size: clamp(13.5px, 1.1vw, 15px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 44em;
}

.footer__nav {
  margin-top: clamp(20px, 2.8vw, 36px);
}

.footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 10px;
}

.footer__nav li {
  display: flex;
  align-items: center;
}

.footer__nav li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--copper);
  margin: 0 clamp(14px, 1.7vw, 22px);
  flex: none;
}

.footer__nav a {
  position: relative;
  color: var(--ink);
  font-size: clamp(13.5px, 1.1vw, 15px);
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.footer__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.footer__nav a:hover::after,
.footer__nav a:focus-visible::after {
  transform: scaleX(1);
}

.footer__copy {
  margin: clamp(16px, 2vw, 26px) 0 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.footer__visual {
  position: relative;
  order: 2;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  margin-top: -12vh;
  margin-top: -12svh;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
  display: flex;
  align-items: flex-end;
}

.footer__scene {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 900px) {
  .footer__nav ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 4px;
    max-width: 560px;
    margin: 0 auto;
  }
  .footer__nav li { justify-content: center; }
  .footer__nav li + li::before { display: none; }
  .footer__nav a { padding: 8px 4px; font-size: 15px; }
}

@media (max-width: 600px) {
  .footer__content { padding: 24px 16px 0; }
  .footer__nav { margin-top: 18px; }
  .footer__nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js-anim [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   PÁGINAS LEGALES DEDICADAS
   ========================================================================== */
.legal-main {
  padding-block: clamp(40px, 6vw, 72px);
}

.legal-article {
  max-width: 760px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(24px, 4.5vw, 48px);
}

.legal-article h1 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

.legal-article h2 {
  margin: 28px 0 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.legal-article p,
.legal-article li {
  color: var(--ink-soft);
  font-size: 15px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 600;
}
