/* =========================================================
   Maderas Cibils — Landing
   Marca: azul #00152D + blanco · Space Grotesk
   Acento madera tomado de las fotos del depósito
   ========================================================= */

@font-face { font-family: "Space Grotesk"; src: url("assets/fonts/SpaceGrotesk-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("assets/fonts/SpaceGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("assets/fonts/SpaceGrotesk-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("assets/fonts/SpaceGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* Marca */
  --navy-950: #00152d;
  --navy-900: #061f3d;
  --navy-800: #0d2c52;
  --navy-600: #2a4a72;
  --navy-300: #9fb0c6;

  /* Acento madera */
  --wood-300: #e6bd84;
  --wood-400: #dca561;
  --wood-500: #c98a3d;
  --wood-700: #8a561b;

  /* Neutros cálidos */
  --sand-50: #fbf8f3;
  --sand-100: #f4ede2;
  --sand-200: #e8dccb;

  --ink: var(--navy-950);
  --muted: #4a5a6e;
  --line: rgba(0, 21, 45, .12);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(0, 21, 45, .35);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 140px);
  --header-h: 76px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--wood-400); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.text-accent { color: var(--wood-400); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--wood-400); color: var(--navy-950); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.icon { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ---------- Eyebrow (líneas del isotipo) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--wood-700);
  margin-bottom: 20px;
}
.eyebrow--light { color: var(--wood-300); }
.eyebrow-line {
  width: 34px; height: 10px; flex: none;
  background: repeating-linear-gradient(to bottom, currentColor 0 2px, transparent 2px 4px);
  border-radius: 6px 0 0 6px;
}

/* ---------- Botones ---------- */
.btn {
  --bg: transparent; --fg: inherit; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--accent { --bg: var(--wood-400); --fg: var(--navy-950); }
.btn--accent:hover { --bg: var(--wood-300); box-shadow: 0 12px 30px -12px rgba(220, 165, 97, .7); }
.btn--ghost-light { --fg: #fff; --bd: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { --bg: rgba(255, 255, 255, .1); --bd: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .35s, box-shadow .35s, height .35s;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; display: block; width: clamp(180px, 20vw, 230px); }
.brand-logo { width: 100%; height: auto; transition: opacity .3s; }
.brand-logo--dark { position: absolute; inset: 0; opacity: 0; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav ul a {
  position: relative; color: #fff; font-weight: 500; font-size: 15px; padding: 6px 0;
  transition: color .25s;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--wood-400); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav ul a:hover::after { transform: scaleX(1); }

.site-header.is-scrolled {
  --header-h: 66px;
  background: rgba(251, 248, 243, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled .brand-logo--light { opacity: 0; }
.site-header.is-scrolled .brand-logo--dark { opacity: 1; }
.site-header.is-scrolled .main-nav ul a { color: var(--navy-950); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .12); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.site-header.is-scrolled .nav-toggle { background: var(--sand-100); }
.site-header.is-scrolled .nav-toggle span { background: var(--navy-950); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff;
  padding-top: var(--header-h);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%;
  transform: scale(1.06);
  animation: hero-zoom 14s var(--ease) forwards;
}
@keyframes hero-zoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 21, 45, .94) 0%, rgba(0, 21, 45, .78) 38%, rgba(0, 21, 45, .2) 75%, rgba(0, 21, 45, .05) 100%),
    linear-gradient(0deg, rgba(0, 21, 45, .55) 0%, rgba(0, 21, 45, 0) 35%);
}
.hero-mark {
  position: absolute; z-index: -1; right: -6vw; top: 50%;
  width: min(62vw, 760px); height: auto; aspect-ratio: 1;
  transform: translateY(-50%);
  fill: #fff; opacity: .06;
}
.hero-content { padding-block: clamp(40px, 6vw, 80px); }
.hero-title {
  font-size: clamp(44px, 7.4vw, 104px);
  font-weight: 700; letter-spacing: -.035em; line-height: .98;
  max-width: 13ch;
}
.hero-lead {
  margin-top: 28px; max-width: 46ch;
  font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .82);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }


/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; background: var(--wood-400); color: var(--navy-950);
  padding: 18px 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee span { font-size: 20px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.marquee svg { width: 22px; height: 22px; fill: var(--navy-950); flex: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - 14px)); } }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--sand { background: var(--sand-100); }
.section--dark { background: var(--navy-950); color: #fff; overflow: hidden; overflow: clip; isolation: isolate; }

.section-head {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.section-head--center { display: block; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -.03em; }
.section-lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 52ch; }
.section--dark .section-lead { color: rgba(255, 255, 255, .72); }

/* ---------- Bento de productos ---------- */
.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
}
.card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--navy-900); color: #fff;
  isolation: isolate;
}
.card--xl { grid-column: span 2; grid-row: span 2; }
.card--wide { grid-column: span 2; }
.card img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(0, 21, 45, .92) 0%, rgba(0, 21, 45, .35) 48%, rgba(0, 21, 45, 0) 75%);
  transition: opacity .4s;
}
.card:hover img { transform: scale(1.06); }
.card-body {
  position: absolute; inset: auto 0 0 0; padding: 24px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
}
.card-tag {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.card h3 { font-size: 22px; font-weight: 600; }
.card--xl h3 { font-size: clamp(28px, 2.8vw, 38px); }
.card p { font-size: 15px; color: rgba(255, 255, 255, .78); max-width: 40ch; }

/* ---------- Amoblamientos ---------- */
.feature-mark, .contact-mark {
  position: absolute; z-index: -1; fill: #fff; opacity: .035; aspect-ratio: 1; height: auto;
}
.feature-mark { width: 720px; left: -260px; bottom: -240px; }
.feature-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.feature-media { position: relative; }
.feature-media img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 30% 50%;
  border-radius: var(--radius-lg);
}
.feature-chip {
  position: absolute; left: 24px; bottom: 24px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--sand-50); color: var(--navy-950); font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow);
}
.feature-chip svg { width: 22px; height: 22px; fill: var(--navy-950); }
.feature-copy .section-title { margin-bottom: 22px; }
.checklist { margin: 32px 0 40px; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 36px; font-size: 16px; color: rgba(255, 255, 255, .9); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--wood-400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2300152d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-copy .section-title { margin-bottom: 22px; }
.values { margin: 44px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.values div { padding-top: 18px; border-top: 2px solid var(--navy-950); }
.values dt { font-weight: 700; font-size: 19px; margin-bottom: 6px; }
.values dd { margin: 0; color: var(--muted); font-size: 15px; }

.about-media { position: relative; padding: 0 0 22% 0; }
.about-img { border-radius: var(--radius-lg); object-fit: cover; }
.about-img--main { width: 88%; aspect-ratio: 4 / 4.4; object-position: 60% 50%; }
.about-img--secondary {
  position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3;
  border: 8px solid var(--sand-50); border-radius: calc(var(--radius-lg) + 8px);
  box-shadow: var(--shadow);
}
.about-stripes {
  position: absolute; left: -22px; bottom: 12%; z-index: -1;
  width: 46%; height: 120px;
  background: repeating-linear-gradient(to bottom, var(--wood-400) 0 12px, transparent 12px 24px);
  border-radius: 60px 0 0 60px;
}

/* ---------- Envíos ---------- */
.delivery {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  min-height: min(80vh, 720px);
  display: flex; align-items: center;
  color: #fff;
}
.delivery-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.delivery-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0, 21, 45, .95) 0%, rgba(0, 21, 45, .8) 40%, rgba(0, 21, 45, .1) 80%);
}
.delivery-content { padding-block: var(--section-y); }
.delivery-content .section-title { max-width: 12ch; margin-bottom: 22px; }
.delivery-content .section-lead { color: rgba(255, 255, 255, .78); max-width: 42ch; margin-bottom: 36px; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 36px 32px 40px;
  background: var(--sand-50); border-radius: var(--radius);
  border: 1px solid var(--sand-200);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  display: inline-block; margin-bottom: 34px;
  font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--wood-700);
  padding-bottom: 6px; border-bottom: 2px solid var(--wood-400);
}
.step h3 { font-size: 26px; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 16px; }

/* ---------- Galería ---------- */
.gallery {
  display: grid; gap: 18px;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 280px 280px;
}
.gallery-item { margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery-item--tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }

/* ---------- Contacto ---------- */
.contact-mark { width: 640px; right: -200px; top: -160px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-info .section-title { margin-bottom: 18px; }
.contact-list { margin-top: 44px; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon {
  width: 44px; height: 44px; padding: 11px; border-radius: 12px;
  background: rgba(255, 255, 255, .08); fill: var(--wood-400);
}
.contact-list div { display: flex; flex-direction: column; }
.contact-list strong { font-weight: 600; }
.contact-list span { color: rgba(255, 255, 255, .7); }
.contact-list span a { color: #fff; text-decoration: underline 1px rgba(255, 255, 255, .25); text-underline-offset: 5px; transition: color .2s, text-decoration-color .2s; }
.contact-list span a:hover { color: var(--wood-300); text-decoration-color: var(--wood-300); }
.contact-link { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--wood-300); }
.contact-link:hover { color: var(--wood-400); }
.contact-map {
  margin-top: 36px; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, .1);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.footer-bottom a:not(.to-top) { color: inherit; }

/* Área de toque mínima de 44 px sin alterar el layout */
.contact-link, .contact-list span a, .footer-nav a, .footer-bottom a {
  padding-block: 11px; margin-block: -11px;
}
.contact-link, .contact-list span a, .footer-nav a, .footer-bottom a { display: inline-block; }
.contact-link { align-self: flex-start; }

.contact-form {
  background: var(--sand-50); color: var(--navy-950);
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6);
}
.contact-form h3 { font-size: 26px; }
.form-note { margin: 6px 0 28px; color: var(--muted); font-size: 14px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--navy-950);
  padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--sand-200); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2300152d' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--wood-500); box-shadow: 0 0 0 4px rgba(220, 165, 97, .25);
}
.field .is-invalid { border-color: #c0392b; }
.contact-form .btn { margin-top: 8px; }
.form-error { margin-top: 14px; color: #b02a1a; font-size: 14px; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .75); padding-top: 64px; }
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 2fr auto; gap: 40px; align-items: center;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand img { width: min(300px, 100%); height: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: center; }
.footer-nav a, .to-top { transition: color .2s; }
.footer-nav a:hover, .to-top:hover { color: var(--wood-300); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .2); transition: background-color .25s, border-color .25s, color .25s;
}
.footer-social a:hover { background: var(--wood-400); border-color: var(--wood-400); color: var(--navy-950); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 24px 28px; font-size: 14px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
  transition: transform .3s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: scale(.6); transition: opacity .3s, visibility .3s, transform .3s var(--ease); }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .card--xl { grid-column: span 2; grid-row: span 2; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 40px;
    padding: 100px var(--gutter) 40px;
    background: var(--navy-950);
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .main-nav ul a, .site-header.is-scrolled .main-nav ul a { color: #fff; font-size: 34px; font-weight: 600; letter-spacing: -.02em; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-open .brand-logo--light { opacity: 1 !important; }
  .nav-open .brand-logo--dark { opacity: 0 !important; }
  .nav-open .nav-toggle { background: rgba(255, 255, 255, .12); }
  .nav-open .nav-toggle span { background: #fff; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }

  .hero-bg { object-position: 62% 50%; }
  .hero-overlay { background: linear-gradient(0deg, rgba(0, 21, 45, .96) 0%, rgba(0, 21, 45, .7) 55%, rgba(0, 21, 45, .35) 100%); }
  .delivery-overlay { background: linear-gradient(0deg, rgba(0, 21, 45, .95) 0%, rgba(0, 21, 45, .85) 55%, rgba(0, 21, 45, .5) 100%); }

  .section-head, .feature-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-head { gap: 20px; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 200px; }
  .gallery-item--tall { grid-column: span 2; grid-row: auto; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .card--xl, .card--wide { grid-column: auto; grid-row: auto; }
  .card--xl { grid-row: span 2; }
  .hero-actions .btn { width: 100%; }
  .values { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .gallery-item--tall { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
