:root {
  --navy: #12263a;
  --navy-soft: #1c3a52;
  --ink: #1c2430;
  --muted: #5b6570;
  --cream: #f4f0ea;
  --paper: #fffdf9;
  --line: #e4ddd3;
  --rojo: #d63b33;
  --rojo-oscuro: #9e2424;
  --max: 1120px;
  --header: 76px;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(18, 38, 58, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--rojo);
  text-decoration: none;
}

a:hover {
  color: var(--rojo-oscuro);
}

:focus-visible {
  outline: 2px solid var(--rojo);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 240, 234, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-name {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 1.05rem;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--rojo);
  border-bottom-color: var(--rojo);
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--line);
}

.socials a:hover {
  color: #fff;
  background: var(--rojo);
  border-color: var(--rojo);
}

.socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero {
  position: relative;
  min-height: 72vh;
  background: var(--navy);
  overflow: hidden;
}

.slides {
  position: relative;
  min-height: 72vh;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  background: #12263a center / cover no-repeat;
}

.slide.is-active {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 38, 58, 0.15), rgba(18, 38, 58, 0.55));
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: #fff;
  width: 22px;
  border-radius: 999px;
}

.page-hero {
  background: var(--navy) center / cover no-repeat;
  color: #fff;
  padding: 88px 0 64px;
}

.page-hero h1,
.section h2,
.info-card h3,
.product-card h3,
.event-card h2,
.sucursal h3,
.vip-grid h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: var(--paper);
}

.section h2 {
  margin: 0 0 32px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--rojo);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  max-width: 720px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.lead-left {
  margin-left: 0;
  margin-right: 0;
}

.cards-3,
.cards-4,
.grid-2,
.sucursales {
  display: grid;
  gap: 22px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.product-card,
.info-card,
.event-card,
.sucursal {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-card img,
.event-card iframe,
.media-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-block img {
  border-radius: var(--radius);
}

.event-card iframe {
  border: 0;
  aspect-ratio: 16 / 9;
}

.product-card .body,
.info-card,
.event-card .body,
.sucursal {
  padding: 22px;
}

.product-card h3,
.info-card h3,
.event-card h2,
.sucursal h3,
.vip-grid h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.btn {
  display: inline-block;
  background: var(--rojo);
  color: #fff !important;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover {
  background: var(--rojo-oscuro);
}

.vip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
}

.historia {
  max-width: 760px;
}

.historia p {
  margin: 0 0 16px;
}

.valores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.valores span {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  color: var(--navy);
}

form.contacto {
  display: grid;
  gap: 12px;
  max-width: 560px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-ok {
  color: var(--rojo-oscuro);
  font-weight: 600;
}

.sucursales {
  grid-template-columns: repeat(3, 1fr);
}

.buscador {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.buscador input[type="search"],
.buscador select {
  max-width: 520px;
  min-height: 48px;
  font-size: 1.05rem;
}

.filtros {
  display: grid;
  gap: 16px;
}

.filtro-grupo {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.filtro-grupo legend,
.filtro-grupo label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.chip.is-active {
  background: var(--rojo);
  border-color: var(--rojo);
  color: #fff;
}

.buscador-count {
  color: var(--muted);
  font-size: 0.95rem;
}

.sucursal p {
  margin: 0 0 8px;
  color: var(--muted);
}

.sucursal .tel {
  font-weight: 700;
}

.maps-link,
.ficha-link {
  display: inline-block;
  margin-top: 8px;
  margin-right: 14px;
  font-weight: 700;
}

.sucursal h3 a {
  color: inherit;
  text-decoration: none;
}

.sucursal h3 a:hover {
  color: var(--rojo);
}

.breadcrumb {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.breadcrumb a {
  font-weight: 600;
}

.ficha-nap {
  display: grid;
  gap: 10px;
  max-width: 640px;
}

.ficha-nap p {
  margin: 0;
}

.ficha-acciones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 24px 0 0;
}

.btn.btn-ghost {
  background: transparent;
  color: var(--navy) !important;
  border: 1px solid var(--navy);
}

.btn.btn-ghost:hover {
  background: var(--navy);
  color: #fff !important;
}

.directorio-region {
  margin-bottom: 40px;
}

.directorio-region h2 {
  margin-bottom: 16px;
}

.cercanas {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.site-footer {
  background: var(--navy);
  color: #d7dde4;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 36px;
}

.site-footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-family: Fraunces, Georgia, serif;
}

.site-footer hr {
  border: 0;
  border-top: 2px solid var(--rojo);
  width: 40px;
  margin: 0 0 16px;
}

.site-footer a {
  color: #fff;
}

.site-footer .socials a {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.site-footer .socials a:hover {
  background: var(--rojo);
  border-color: var(--rojo);
}

.copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: #9aa6b2;
}

.aviso {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .header-inner .socials {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .site-header.is-open .header-inner {
    flex-wrap: wrap;
  }

  .site-header.is-open .site-nav,
  .site-header.is-open .header-inner .socials {
    display: flex;
    width: 100%;
    position: static;
  }

  .site-header.is-open .site-nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0 12px;
    gap: 14px;
  }

  .cards-3,
  .cards-4,
  .grid-2,
  .vip-grid,
  .sucursales,
  .cercanas,
  .footer-grid,
  .copy {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero,
  .slides {
    min-height: 52vh;
  }
}
