/* ==========================================================
   Riberas del Maule — hoja de estilos
   ========================================================== */

/* ---------- Variables (tema claro) ---------- */
:root, [data-theme="light"] {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem);

  --space-2: 0.5rem;  --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem;  --space-8: 2rem;
  --space-10: 2.5rem; --space-12: 3rem;   --space-16: 4rem;

  --color-bg: #f0f7ff;
  --color-surface: #ffffff;
  --color-surface-2: #e8f3ff;
  --color-surface-offset: #d6eafc;
  --color-surface-offset-2: #c4defc;
  --color-border: #a4c8ec;
  --color-border-soft: rgba(12, 31, 58, .08);
  --color-text: #0c1f3a;
  --color-text-muted: #3a5a7a;
  --color-text-inverse: #f0f7ff;
  --color-primary: #0f6fc6;
  --color-primary-hover: #0c55a0;
  --color-primary-highlight: #cce2fa;
  --color-accent: #f28c18;          /* naranjo del sol del logo */
  --color-success: #0a7d6a;
  --color-glass: rgba(255, 255, 255, .62);
  --color-glass-border: rgba(164, 200, 236, .9);
  --whatsapp: #25d366;

  --radius-md: 0.75rem; --radius-lg: 1.25rem; --radius-xl: 1.75rem; --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(12, 28, 64, 0.06);
  --shadow-md: 0 12px 30px rgba(12, 28, 64, 0.09);
  --shadow-lg: 0 20px 60px rgba(12, 28, 64, 0.14);

  --content: 1120px;
  --font-display: 'Boska', Georgia, serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;
  --ease: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

/* ---------- Tema oscuro ---------- */
[data-theme="dark"] {
  --color-bg: #091826;
  --color-surface: #0d1e3d;
  --color-surface-2: #12284e;
  --color-surface-offset: #17325e;
  --color-surface-offset-2: #1d3c6e;
  --color-border: #284870;
  --color-border-soft: rgba(255, 255, 255, .08);
  --color-text: #e4f0ff;
  --color-text-muted: #a3c2de;
  --color-text-inverse: #071422;
  --color-primary: #5ab4f8;
  --color-primary-hover: #7fc8ff;
  --color-primary-highlight: #142d50;
  --color-accent: #ffa94d;
  --color-success: #3fd0b4;
  --color-glass: rgba(13, 30, 61, .72);
  --color-glass-border: rgba(90, 180, 248, .25);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.22);
  --shadow-md: 0 12px 30px rgba(0,0,0,.32);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.42);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(79,168,255,.18), transparent 30%),
    radial-gradient(circle at top right, rgba(176,220,255,.22), transparent 24%),
    var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; border-radius: 6px; }

.container { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }
.section { padding-block: clamp(var(--space-10), 6vw, var(--space-16)); }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 999;
  background: var(--color-primary); color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-md);
}
.skip-link:focus { top: var(--space-4); }

/* ---------- Tipografía de sección ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: .45rem .9rem; border-radius: var(--radius-full);
  background: var(--color-primary-highlight); color: var(--color-primary);
  font-size: var(--text-xs); letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
}
.section-title {
  font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.08;
  margin: var(--space-3) 0 var(--space-3); max-width: 24ch;
}
.section-copy { color: var(--color-text-muted); max-width: 62ch; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--color-bg) 84%, transparent);
  border-bottom: 1px solid var(--color-border-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); font-weight: 700; }
.brand-mark {
  width: 3rem; height: 3rem; border-radius: .9rem; overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm); flex: 0 0 auto;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand strong { display: block; font-size: var(--text-sm); }
.brand small { display: block; font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 500; }

.nav-links { display: none; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 500; }
.nav-links a { padding: .45rem .75rem; border-radius: var(--radius-full); transition: background var(--ease), color var(--ease); }
.nav-links a:hover { background: var(--color-primary-highlight); color: var(--color-primary); }
.nav-links a.is-active { color: var(--color-primary); background: var(--color-primary-highlight); }

.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.theme-toggle, .menu-toggle {
  width: 2.75rem; height: 2.75rem; display: inline-grid; place-items: center;
  border-radius: var(--radius-full); background: var(--color-surface);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
}
.mobile-nav { display: grid; gap: var(--space-2); padding-bottom: var(--space-4); }
.mobile-nav a { padding: .85rem 1rem; border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--color-border); }
.mobile-nav[hidden] { display: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 3rem; padding: .9rem 1.3rem; border-radius: var(--radius-full);
  font-size: var(--text-sm); font-weight: 700;
  transition: transform var(--ease), background var(--ease), color var(--ease), box-shadow var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: var(--color-text-inverse); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-secondary { background: var(--color-surface); border: 1px solid var(--color-border); }
.btn-secondary:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-whatsapp { background: var(--whatsapp); color: #06331a; }
.btn-whatsapp:hover { background: #1fbe5b; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(var(--space-6), 4vw, var(--space-12)); }
.hero-wrap { display: grid; grid-template-columns: 1fr; gap: var(--space-8); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: var(--space-4); }
.hero-copy h1 { font-family: var(--font-display); font-size: clamp(2.6rem, 5.5vw, 4.6rem); line-height: .98; }
.hero-copy h1 em { font-style: normal; color: var(--color-primary); }
.hero-copy p { color: var(--color-text-muted); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-2); }
.hero-stat {
  display: flex; flex-direction: column; gap: .3rem; padding: var(--space-4);
  border-radius: var(--radius-lg); background: var(--color-glass);
  border: 1px solid var(--color-glass-border); backdrop-filter: blur(10px);
}
.hero-stat-icon { font-size: 1.4rem; line-height: 1; }
.hero-stat strong { font-size: var(--text-sm); line-height: 1.2; }
.hero-stat span:last-child { color: var(--color-text-muted); font-size: var(--text-xs); line-height: 1.4; }

/* ---------- Carrusel ---------- */
.hero-card {
  border-radius: 2rem; padding: var(--space-2); overflow: hidden;
  background: var(--color-surface); border: 1px solid var(--color-border-soft); box-shadow: var(--shadow-lg);
}
.carousel { position: relative; border-radius: 1.5rem; overflow: hidden; aspect-ratio: 4 / 3; background: var(--color-surface-2); }
.slides { display: grid; height: 100%; }
.slide { grid-area: 1 / 1; opacity: 0; pointer-events: none; transition: opacity 700ms ease; position: relative; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-caption {
  position: absolute; left: var(--space-4); bottom: var(--space-4);
  padding: .5rem .9rem; border-radius: var(--radius-full);
  background: rgba(9, 24, 38, .62); color: #fff; font-size: var(--text-xs); font-weight: 700;
  backdrop-filter: blur(6px);
}
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-2) var(--space-2); }
.carousel-buttons, .carousel-dots { display: flex; gap: var(--space-2); align-items: center; }
.carousel-buttons button {
  width: 2.75rem; height: 2.75rem; display: inline-grid; place-items: center;
  border-radius: var(--radius-full); background: var(--color-surface-2); border: 1px solid var(--color-border);
  transition: background var(--ease);
}
.carousel-buttons button:hover { background: var(--color-primary-highlight); }
.carousel-dots button { width: .7rem; height: .7rem; border-radius: var(--radius-full); background: var(--color-surface-offset-2); transition: width var(--ease), background var(--ease); }
.carousel-dots button[aria-current="true"] { background: var(--color-primary); width: 1.6rem; }

/* ---------- Servicios ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-5); margin-top: var(--space-8); }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--space-6); border-radius: var(--radius-xl);
  background: var(--color-surface); border: 1px solid var(--color-border-soft); box-shadow: var(--shadow-md);
  transition: transform var(--ease), box-shadow var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-icon {
  width: 3.2rem; height: 3.2rem; border-radius: var(--radius-lg); display: inline-grid; place-items: center;
  background: var(--color-primary-highlight); color: var(--color-primary);
}
.service-body { display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.service-body h3 { font-size: var(--text-lg); line-height: 1.2; }
.service-body p { color: var(--color-text-muted); font-size: var(--text-sm); }
.service-tag {
  align-self: flex-start; padding: .3rem .85rem; border-radius: var(--radius-full);
  background: var(--color-primary-highlight); color: var(--color-primary);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

/* ---------- Valores ---------- */
.prices-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-5); margin-top: var(--space-8); }
.price-card {
  padding: clamp(var(--space-5), 3vw, var(--space-8)); border-radius: var(--radius-xl);
  background: var(--color-surface); border: 1px solid var(--color-border-soft); box-shadow: var(--shadow-md);
}
.price-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-4); display: flex; align-items: center; gap: var(--space-3); }
.price-group + .price-group { margin-top: var(--space-5); }
.price-group h4 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--color-primary); margin-bottom: var(--space-2); }
.price-group h4 small { text-transform: none; letter-spacing: 0; color: var(--color-text-muted); font-weight: 500; }
.price-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4);
  padding: .7rem 0; border-bottom: 1px dashed var(--color-border);
}
.price-row:last-child { border-bottom: 0; }
.price-row span { color: var(--color-text-muted); }
.price-row strong { font-size: var(--text-lg); white-space: nowrap; }
.price-note { margin-top: var(--space-4); font-size: var(--text-xs); color: var(--color-text-muted); }

.price-card--promo { background: linear-gradient(160deg, var(--color-surface) 55%, var(--color-primary-highlight)); position: relative; }
.promo-badge {
  display: inline-block; padding: .3rem .8rem; border-radius: var(--radius-full);
  background: var(--color-accent); color: #2b1600; font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.promo-price { display: flex; align-items: baseline; gap: var(--space-2); margin: var(--space-2) 0 var(--space-4); }
.promo-price strong { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1; color: var(--color-primary); }
.promo-price span { color: var(--color-text-muted); font-size: var(--text-sm); }
.meal-list { list-style: none; display: grid; gap: var(--space-3); }
.meal-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; }
.meal-list .meal-icon {
  width: 2.2rem; height: 2.2rem; border-radius: .7rem; display: inline-grid; place-items: center;
  background: var(--color-surface-2); font-size: 1.1rem;
}
.meal-list strong { display: block; font-size: var(--text-sm); }
.meal-list span { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ---------- Galería ---------- */
.gallery-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--space-8); }
.gallery-item {
  position: relative; padding: var(--space-2); overflow: hidden; border-radius: var(--radius-xl);
  background: var(--color-surface); border: 1px solid var(--color-border-soft); box-shadow: var(--shadow-md);
  transition: transform var(--ease), box-shadow var(--ease); cursor: zoom-in; text-align: left;
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gallery-item img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:first-child { grid-row: span 2; }
.gallery-item:first-child img { aspect-ratio: auto; height: 100%; min-height: 300px; }
.gallery-overlay {
  position: absolute; inset: var(--space-2); border-radius: var(--radius-lg);
  background: linear-gradient(to top, rgba(9, 24, 38, .75), transparent 55%);
  display: flex; align-items: flex-end; padding: var(--space-4) var(--space-5);
  color: #fff; font-size: var(--text-sm); font-weight: 700;
  opacity: 0; transition: opacity 300ms ease; pointer-events: none;
}
.gallery-item:hover .gallery-overlay, .gallery-item:focus-visible .gallery-overlay { opacity: 1; }

/* Visor de fotos */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh;
  margin: auto; overflow: visible;
}
.lightbox::backdrop { background: rgba(5, 14, 26, .88); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: var(--radius-lg); margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: var(--space-3); font-weight: 700; }
.lightbox-btn {
  position: fixed; width: 3rem; height: 3rem; display: inline-grid; place-items: center;
  border-radius: var(--radius-full); background: rgba(255,255,255,.14); color: #fff;
  border: 1px solid rgba(255,255,255,.25); transition: background var(--ease);
}
.lightbox-btn:hover { background: rgba(255,255,255,.28); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Ubicación ---------- */
.location-wrap { display: grid; grid-template-columns: 1fr; gap: var(--space-5); margin-top: var(--space-8); }
.card {
  padding: clamp(var(--space-5), 3vw, var(--space-8)); border-radius: var(--radius-xl);
  background: var(--color-surface); border: 1px solid var(--color-border-soft); box-shadow: var(--shadow-md);
}
.card h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.card p { color: var(--color-text-muted); }
.info-list { list-style: none; display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.info-list li { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; color: var(--color-text-muted); }
.info-list svg { color: var(--color-primary); margin-top: .2rem; }
.info-list a { color: var(--color-text); font-weight: 700; }
.location-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.map-card { overflow: hidden; min-height: 340px; border-radius: var(--radius-xl); border: 1px solid var(--color-border-soft); box-shadow: var(--shadow-md); background: var(--color-surface-2); }
.map-card iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Contacto ---------- */
.contact-box {
  display: grid; grid-template-columns: 1fr; gap: var(--space-5); margin-top: var(--space-8);
  padding: clamp(var(--space-4), 2.2vw, var(--space-8)); border-radius: var(--radius-xl);
  background: var(--color-surface); border: 1px solid var(--color-border-soft); box-shadow: var(--shadow-md);
}
.contact-info { display: flex; flex-direction: column; gap: var(--space-4); }
.contact-panel {
  padding: clamp(var(--space-4), 2vw, var(--space-6)); border-radius: var(--radius-lg);
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.contact-message { flex: 1; }
.contact-panel h3 { font-size: var(--text-base); }
.contact-panel p, .contact-panel a { color: var(--color-text-muted); }
.contact-panel a:hover { color: var(--color-primary); }
.contact-panel .btn-whatsapp { color: #06331a; margin-top: var(--space-2); align-self: flex-start; }
.social-icons { display: flex; gap: var(--space-3); align-items: center; }
.social-icons a, .footer-social a {
  width: 2.75rem; height: 2.75rem; display: inline-grid; place-items: center; border-radius: 50%;
  background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-primary);
  transition: background var(--ease), color var(--ease);
}
.social-icons a:hover, .footer-social a:hover { background: var(--color-primary); color: var(--color-text-inverse); }

.contact-form {
  padding: clamp(var(--space-5), 2.4vw, var(--space-8)); border-radius: calc(var(--radius-xl) - .25rem);
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  display: grid; gap: var(--space-4); align-content: start;
}
.contact-form h3 { font-size: var(--text-lg); }
.field { display: grid; gap: var(--space-2); }
.field-row { display: grid; grid-template-columns: 1fr; gap: var(--space-4); }
.field label { font-size: var(--text-sm); font-weight: 700; }
.field label small { font-weight: 500; color: var(--color-text-muted); }
.field input, .field textarea {
  width: 100%; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: .9rem 1rem; transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-highlight); }
.field textarea { min-height: 150px; resize: vertical; }
.contact-form .btn { width: 100%; }
.form-status { font-size: var(--text-sm); font-weight: 700; padding: .8rem 1rem; border-radius: var(--radius-md); }
.form-status[hidden] { display: none; }
.form-status.ok { background: rgba(10,125,106,.12); color: var(--color-success); }
.form-status.error { background: rgba(200,40,40,.12); color: #c62828; }
[data-theme="dark"] .form-status.error { color: #ff8a80; }
.form-legal { font-size: var(--text-xs); color: var(--color-text-muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pie ---------- */
footer { padding-block: var(--space-8); border-top: 1px solid var(--color-border); background: var(--color-surface-2); color: var(--color-text-muted); }
.footer-inner { display: flex; flex-direction: column; gap: var(--space-5); align-items: flex-start; }
.footer-brand { display: flex; align-items: center; gap: var(--space-3); }
.footer-brand img { width: 2.6rem; height: 2.6rem; border-radius: .7rem; background: #fff; object-fit: contain; }
.footer-brand strong { display: block; font-size: var(--text-sm); color: var(--color-text); }
.footer-brand small { font-size: var(--text-xs); }
.footer-social { display: flex; gap: var(--space-3); }
.footer-top { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 700; }
.footer-top:hover { color: var(--color-primary); }
.footer-legal { font-size: var(--text-xs); margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--color-border); }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--whatsapp); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform var(--ease);
}
.wa-float:hover { transform: scale(1.07); }

/* ---------- Animación de aparición ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  .nav-links { display: flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
  .hero-wrap { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .prices-grid { grid-template-columns: 1fr 1fr; }
  .location-wrap { grid-template-columns: 1fr 1fr; }
  .contact-box { grid-template-columns: 1fr 1.35fr; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (max-width: 759px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat { flex-direction: row; align-items: center; gap: var(--space-3); }
  .hero-stat > div { display: flex; flex-direction: column; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery-item:first-child img { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 1rem; transform: none; }
}
@media (max-width: 420px) {
  .gallery-grid { gap: var(--space-3); }
  .gallery-item { padding: .3rem; border-radius: var(--radius-lg); }
}

.promo-intro { margin-bottom: var(--space-5); }
.hero-stat > div { display: flex; flex-direction: column; gap: .2rem; }
.hero-copy .eyebrow { align-self: flex-start; }
/* El atributo height del <img> no debe imponerse a la proporción */
.gallery-item img { height: auto; }
.gallery-item:first-child img { height: 100%; }
@media (max-width: 759px) { .gallery-item:first-child img { height: auto; } }
