/* ============================================================
   PIZZA GIGANTE — Hoja de estilos
   Paleta brand board: negro #1A1A1A · crema #F5F1E6
   rojo tomate #E31E24 · dorado #FFC300
   ============================================================ */

/* === TOKENS DE MARCA === */
:root {
  --ink: #1a1a1a;
  --ink-soft: #262320;
  --ink-line: #3a352f;
  --cream: #f5f1e6;
  --cream-card: #fffdf7;
  --cream-line: #e4dcc8;
  --red: #e31e24;
  --red-dark: #b3151a;
  --gold: #ffc300;
  --text: #211f1b;
  --text-muted: #6b6357;
  --text-on-dark: #f5f1e6;
  --text-on-dark-muted: #b9b1a1;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-cond: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;

  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 8px 28px rgba(26, 26, 26, 0.14);
  --shadow-soft: 0 4px 16px rgba(26, 26, 26, 0.09);
  --header-h: 100px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* === RESET === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--red);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
  padding: 0;
}

button {
  font: inherit;
  cursor: pointer;
}

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

/* === ACCESIBILIDAD === */
.skip-link {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-200%);
  z-index: 200;
  background: var(--red);
  color: #fff;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-cond);
  letter-spacing: 0.05em;
  border-radius: 0 0 8px 8px;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus {
  transform: translateX(-50%) translateY(0);
  text-decoration: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* === TIPOGRAFÍA === */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

p {
  text-wrap: pretty;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.eyebrow--on-dark {
  color: var(--gold);
}

.section-title {
  font-size: clamp(2.1rem, 7vw, 3.6rem);
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 56ch;
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4.5vw, 2.4rem);
}

.section {
  padding-block: clamp(3.2rem, 9vw, 6rem);
}
.section--dark {
  background: var(--ink);
  color: var(--text-on-dark);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.section--cream {
  background: var(--cream);
}
.section-head {
  max-width: 62ch;
  margin-bottom: 2.4rem;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* === DECORATIVO: LÍNEAS DE VELOCIDAD === */
.speedlines {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  vertical-align: middle;
}
.speedlines span {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: var(--red);
}
.speedlines span:nth-child(1) {
  width: 46px;
}
.speedlines span:nth-child(2) {
  width: 32px;
}
.speedlines span:nth-child(3) {
  width: 20px;
}
.speedlines--center {
  align-items: center;
}

/* === DECORATIVO: BANDA DE CUADROS === */
.checker-band {
  height: 22px;
  background-color: var(--cream);
  background-image: linear-gradient(
      45deg,
      var(--red) 25%,
      transparent 25%,
      transparent 75%,
      var(--red) 75%
    ),
    linear-gradient(
      45deg,
      var(--red) 25%,
      transparent 25%,
      transparent 75%,
      var(--red) 75%
    );
  background-size: 22px 22px;
  background-position: 0 0, 11px 11px;
}

/* === BOTONES === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-cond);
  font-size: 1.25rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.78rem 1.7rem;
  border: 2px solid transparent;
  border-radius: 999px;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease),
    color 0.15s var(--ease);
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red-dark);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}
.btn-ghost--on-dark {
  color: var(--cream);
}
.btn-ghost:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn-lg {
  font-size: 1.4rem;
  padding: 0.95rem 2.1rem;
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 3px solid var(--red);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  padding-block: 0.55rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  height: 50px;
  width: auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  line-height: 0.86;
  text-transform: uppercase;
}
.brand-text .b1 {
  color: var(--cream);
  font-size: 1.32rem;
  letter-spacing: 0.02em;
}
.brand-text .b2 {
  color: var(--red);
  font-size: 1.66rem;
  letter-spacing: 0.01em;
}

.main-nav {
  order: 3;
  width: 100%;
}
.main-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3rem 1.15rem;
  border-top: 1px solid var(--ink-line);
  padding-top: 0.5rem;
}
.main-nav a {
  font-family: var(--font-cond);
  font-size: 1.18rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  padding: 0.2rem 0.25rem;
}
.main-nav a:hover {
  color: var(--gold);
  text-decoration: none;
}
.main-nav a[aria-current='page'] {
  color: var(--red);
  border-bottom: 3px solid var(--red);
}

.header-cta {
  font-size: 1.05rem;
  padding: 0.5rem 1.15rem;
}

@media (min-width: 920px) {
  :root {
    --header-h: 66px;
  }
  .header-inner {
    flex-wrap: nowrap;
    padding-block: 0;
    min-height: 66px;
  }
  .main-nav {
    order: 0;
    width: auto;
  }
  .main-nav ul {
    border-top: 0;
    padding-top: 0;
    gap: 1.6rem;
  }
  .main-nav a {
    padding-block: 1.4rem;
  }
  .main-nav a[aria-current='page'] {
    border-bottom-width: 4px;
  }
  .header-cta {
    font-size: 1.15rem;
  }
}

/* === BOTÓN FLOTANTE "PEDIR" (MÓVIL) === */
.pedir-fab {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%) translateY(150%);
  z-index: 120;
  width: min(92%, 440px);
  font-size: 1.45rem;
  padding: 0.92rem 1.5rem;
  box-shadow: 0 8px 22px rgba(227, 30, 36, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.pedir-fab.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
@media (min-width: 768px) {
  .pedir-fab {
    display: none;
  }
}

/* === HERO === */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 88vh, 840px);
  background-color: var(--ink);
  background-image: url('../img/hero-pizza.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-on-dark);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      102deg,
      rgba(18, 15, 13, 0.95) 0%,
      rgba(18, 15, 13, 0.8) 42%,
      rgba(18, 15, 13, 0.48) 74%,
      rgba(18, 15, 13, 0.4) 100%
    ),
    linear-gradient(rgba(18, 15, 13, 0.1), rgba(18, 15, 13, 0.55));
}
.hero-inner {
  position: relative;
  width: 100%;
  padding-block: clamp(2.6rem, 6vw, 4.2rem);
  display: grid;
  gap: 1.4rem;
  justify-items: start;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero h1 {
  font-size: clamp(3rem, 14vw, 7rem);
  color: #fff;
}
.hero h1 .hl {
  color: var(--red);
}
.hero-tag {
  font-family: var(--font-cond);
  font-size: clamp(1.3rem, 4.5vw, 1.9rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-text {
  color: var(--text-on-dark-muted);
  max-width: 50ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.4rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.6rem;
  font-family: var(--font-cond);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}
.hero-badge svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

/* === RASGOS DE MARCA === */
.traits {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.trait {
  text-align: center;
  padding: 1.4rem 1rem;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
}
.trait svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.7rem;
  color: var(--red);
}
.trait h3 {
  font-family: var(--font-cond);
  font-size: 1.32rem;
  letter-spacing: 0.04em;
  color: #fff;
}

/* === GRID DE TARJETAS GENÉRICO === */
.card-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* === TARJETAS DE MENÚ DESTACADO === */
.menu-card {
  display: flex;
  flex-direction: column;
  background: var(--cream-card);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.menu-card__top {
  display: flex;
  align-items: center;
  min-height: 5.5rem;
  background: var(--ink);
  color: #fff;
  padding: 1rem 1.25rem;
  border-bottom: 3px solid var(--red);
}
.menu-card__top h3 {
  color: #fff;
  font-size: 1.55rem;
}
.menu-card__body {
  padding: 1.1rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.8rem;
}
.menu-card__desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  flex: 1;
}
.menu-card__price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--red);
}

/* === BANDA DE TAMAÑOS DE PIZZA === */
.sizes {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.size-card {
  border: 2px dashed var(--cream-line);
  border-radius: var(--radius);
  padding: 1.6rem;
  text-align: center;
  background: var(--cream-card);
}
.size-card .dot {
  display: grid;
  place-items: center;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
}
.size-card .dot--m {
  width: 86px;
  height: 86px;
  font-size: 1.5rem;
}
.size-card .dot--g {
  width: 122px;
  height: 122px;
  font-size: 2.1rem;
}
.size-card h3 {
  font-size: 1.7rem;
}
.size-card p {
  color: var(--text-muted);
}

/* === BLOQUE INFO / UBICACIÓN === */
.split {
  display: grid;
  gap: 1.6rem;
}
@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }
}
.info-list {
  display: grid;
  gap: 1rem;
}
.info-row {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.info-row svg {
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--red);
  margin-top: 2px;
}
.info-row .k {
  font-family: var(--font-cond);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.info-row .v {
  font-size: 1.1rem;
}
.info-row .v a {
  color: inherit;
}

/* === MAPA === */
.map-link {
  display: block;
}
.map-frame {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* === TABLA DE HORARIO === */
.hours {
  width: 100%;
  border-collapse: collapse;
  background: var(--cream-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hours caption {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.5rem;
  text-align: left;
  padding: 0 0 0.7rem;
}
.hours th,
.hours td {
  padding: 0.78rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--cream-line);
}
.hours th {
  font-family: var(--font-cond);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
}
.hours td {
  font-variant-numeric: tabular-nums;
}
.hours tr:last-child th,
.hours tr:last-child td {
  border-bottom: 0;
}
.hours tr.is-today {
  background: rgba(255, 195, 0, 0.22);
}
.hours tr.is-today th {
  color: var(--text);
}
.hours .closed {
  color: var(--red);
  font-family: var(--font-cond);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

/* === PÁGINA "NOSOTROS" === */
.story {
  display: grid;
  gap: 1.2rem;
  max-width: 68ch;
}
.story p {
  font-size: 1.12rem;
}
.pull {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  line-height: 1.08;
  color: var(--red);
  border-left: 6px solid var(--gold);
  padding-left: 1.1rem;
  margin-block: 0.6rem;
}
.values {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.value-card {
  background: var(--cream-card);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.value-card .num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  color: var(--gold);
  line-height: 1;
}
.value-card h3 {
  font-size: 1.5rem;
  margin: 0.35rem 0 0.4rem;
}
.value-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* === CARTA: ESTADO DE CARGA / ERROR === */
.menu-status {
  text-align: center;
  padding: 3rem 1rem;
  font-family: var(--font-cond);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.menu-status--error {
  color: var(--red);
}
.menu-status .btn {
  margin-top: 1rem;
}

/* === CARTA: PANEL INFORMATIVO === */
.menu-intro {
  background: var(--ink);
  color: var(--text-on-dark);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.7rem;
  margin-bottom: 1.8rem;
}
.menu-intro h2 {
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: 0.9rem;
}
.menu-intro .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}
.menu-intro .badge {
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-family: var(--font-cond);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}
.menu-intro p {
  color: var(--text-on-dark-muted);
  font-size: 0.99rem;
}
.menu-intro p + p {
  margin-top: 0.4rem;
}

/* === CARTA: NAVEGACIÓN DE CATEGORÍAS === */
.cat-nav {
  background: var(--cream);
  margin-inline: calc(-1 * clamp(1.1rem, 4.5vw, 2.4rem));
  padding: 0.6rem clamp(1.1rem, 4.5vw, 2.4rem);
  border-bottom: 1px solid var(--cream-line);
}
@media (min-width: 920px) {
  .cat-nav {
    position: sticky;
    top: var(--header-h);
    z-index: 80;
  }
  .menu-category {
    scroll-margin-top: calc(var(--header-h) + 62px);
  }
}
.cat-nav ul {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.cat-nav a {
  white-space: nowrap;
  font-family: var(--font-cond);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--cream-card);
  border: 1px solid var(--cream-line);
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
}
.cat-nav a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  text-decoration: none;
}

/* === CARTA: CATEGORÍAS Y PRODUCTOS === */
.menu-category {
  padding-top: 2.4rem;
  scroll-margin-top: calc(var(--header-h) + 14px);
}
.menu-category__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 3px solid var(--red);
  padding-bottom: 0.5rem;
  margin-bottom: 0.4rem;
}
.menu-category__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  overflow: hidden;
}
.menu-category__icon svg {
  width: 26px;
  height: 26px;
  color: var(--cream);
}
.menu-category__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-category__title {
  font-size: clamp(1.9rem, 6vw, 2.9rem);
}
.menu-category__count {
  font-family: var(--font-cond);
  font-size: 1.1rem;
  color: var(--text-muted);
}
.menu-category__info {
  color: var(--text-muted);
  font-size: 0.99rem;
  margin: 0.55rem 0 0.2rem;
}

.menu-list {
  display: grid;
}
.menu-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--cream-line);
}
.menu-item__main {
  flex: 1 1 220px;
  min-width: 0;
}
.menu-item__name {
  font-family: var(--font-cond);
  font-size: 1.4rem;
  line-height: 1.12;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--text);
}
.menu-item__num {
  color: var(--red);
  margin-right: 0.15rem;
}
.menu-item__desc {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin-top: 0.15rem;
}
.menu-item__prices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.price {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-sm);
  padding: 0.28rem 0.7rem;
  min-width: 64px;
}
.price__label {
  font-family: var(--font-cond);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.price__value {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.price--solo {
  background: var(--red);
  border-color: var(--red);
}
.price--solo .price__value {
  color: #fff;
}
.price--solo .price__label {
  color: rgba(255, 255, 255, 0.8);
}

/* === FOOTER === */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark-muted);
  padding-top: 2.8rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.2rem;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}
.site-footer h2 {
  font-family: var(--font-cond);
  font-size: 1.35rem;
  letter-spacing: 0.07em;
  color: #fff;
  margin-bottom: 0.9rem;
}
.site-footer a {
  color: var(--text-on-dark-muted);
}
.site-footer a:hover {
  color: var(--gold);
}
.footer-brand .brand {
  margin-bottom: 0.9rem;
}
.footer-brand p {
  font-size: 0.98rem;
}
.footer-links {
  display: grid;
  gap: 0.5rem;
}
.footer-contact {
  display: grid;
  gap: 0.5rem;
  font-size: 0.98rem;
}
.socials {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  background: var(--ink-soft);
}
.socials a:hover {
  background: var(--red);
  border-color: var(--red);
}
.socials svg {
  width: 20px;
  height: 20px;
  color: #fff;
}
.footer-bar {
  border-top: 1px solid var(--ink-line);
}
.footer-bar .container {
  padding-block: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* Holgura inferior en móvil para el botón flotante */
@media (max-width: 767px) {
  .site-footer {
    padding-bottom: 4.8rem;
  }
}

/* === UTILIDADES === */
.text-center {
  text-align: center;
}
.mt-gap {
  margin-top: 1.6rem;
}
.flow > * + * {
  margin-top: 1rem;
}
.section-head--center .lead {
  margin-inline: auto;
}
.trait p {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
}
.menu-fallback {
  grid-column: 1 / -1;
}

/* === GALERÍA DE FOTOS === */
.gallery {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery figure:hover img {
  transform: scale(1.06);
}

/* === NOSOTROS: HISTORIA CON FOTO === */
.about-grid {
  display: grid;
  gap: 1.8rem;
}
.about-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 880px) {
  .about-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
  }
  .about-photo {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
