/* ==========================================================
   CRL Construcciones
   Concepto: la hilada (muro de block en aparejo cuatrapeado)
   ========================================================== */

:root {
  --azul: #1F3FAE;
  --azul-hover: #19358F;
  --azul-profundo: #152C7A;
  --azul-claro: #4C6BE0;
  --grafito: #2A2E35;
  --concreto: #8C929B;
  --concreto-texto: #5E646D; /* gris con contraste AA sobre blanco */
  --cemento: #E7E9EC;
  --blanco: #FFFFFF;
  --linea-campo: #7E848D;   /* borde de campos: 3:1 sobre blanco y cemento */
  --error: #B3261E;

  /* capas */
  --z-header: 50;
  --z-cta: 60;
  --z-skip: 100;

  /* movimiento */
  --t-rapido: 150ms;
  --t-medio: 250ms;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Public Sans", system-ui, sans-serif;

  /* escala 1.25 */
  --t-sm: 0.875rem;
  --t-base: 1rem;
  --t-md: 1.25rem;
  --t-lg: 1.5625rem;
  --t-xl: 1.953rem;
  --t-2xl: clamp(2.2rem, 4vw, 3.815rem);
  --t-hero: clamp(3rem, 7.4vw, 6rem);

  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4rem, 9vw, 7.5rem);

  /* medidas del block: 40 x 20, junta de 4 */
  --block-w: 64px;
  --block-h: 28px;
  --junta: 4px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--grafito);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.005em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: var(--t-2xl); color: var(--azul-profundo); }
h3 { font-size: var(--t-lg); font-weight: 700; line-height: 1.1; }
p { margin: 0 0 1em; }

a { color: var(--azul); }

:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 3px;
}
.site-header :focus-visible,
.hero :focus-visible,
.section-dark :focus-visible,
.site-footer :focus-visible,
.cta-bar:focus-visible { outline-color: var(--blanco); }

picture { display: contents; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: var(--z-skip);
  background: var(--blanco); color: var(--azul-profundo);
  padding: 0.6rem 1rem; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font: 700 var(--t-base)/1 var(--body);
  text-decoration: none;
  color: var(--blanco);
  background: var(--azul);
  border: 2px solid var(--azul);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color var(--t-rapido), color var(--t-rapido), border-color var(--t-rapido), transform var(--t-rapido);
}
.btn:active { transform: translateY(1px); }
.btn:hover { background: var(--azul-hover); border-color: var(--azul-hover); }
.btn-small { min-height: 40px; padding: 0.5rem 1rem; font-size: var(--t-sm); }
.btn-light { background: var(--blanco); color: var(--azul-profundo); border-color: var(--blanco); }
.btn-light:hover { background: var(--cemento); border-color: var(--cemento); }
.btn-ghost { background: transparent; color: var(--blanco); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--blanco); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--azul-profundo);
  color: var(--blanco);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: inherit; text-decoration: none;
}
.brand-mark { width: 52px; height: 52px; flex: none; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a:not(.btn) {
  color: var(--blanco);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { border-bottom-color: rgba(255,255,255,.45); }
.nav a[aria-current="true"] { border-bottom-color: var(--blanco); }
.nav .btn { background: var(--blanco); color: var(--azul-profundo); border-color: var(--blanco); }
.nav .btn:hover { background: var(--cemento); border-color: var(--cemento); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; color: var(--blanco); cursor: pointer;
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  display: block; width: 24px; height: 2px; background: currentColor;
  position: relative; margin: 0 auto; transition: transform .2s;
}
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: var(--azul-profundo);
  color: var(--blanco);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(2rem, 4vw, 4rem);
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}
.hero-copy { padding-bottom: clamp(3rem, 7vw, 6rem); }
.hero h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  line-height: 0.95;
  margin-bottom: 1.75rem;
  text-wrap: pretty;
}
.lead {
  font-size: var(--t-md);
  line-height: 1.55;
  max-width: 34rem;
  color: rgba(255,255,255,.86);
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 1.5rem 2.5rem;
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero-facts dt {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.25rem, 3.6vw, 3rem);
  line-height: 1;
}
.hero-facts dd { margin: 0.35rem 0 0; max-width: 12rem; line-height: 1.35; color: rgba(255,255,255,.86); }
.hero-zones { margin: 1.25rem 0 0; max-width: 34rem; font-size: var(--t-sm); color: rgba(255,255,255,.8); }

/* El muro: la foto se recorta como un muro de block levantándose,
   6 hiladas escalonadas en el borde izquierdo. */
.hero-wall {
  align-self: stretch;
  position: relative;
  margin-right: calc(var(--gutter) * -1);
  min-height: 420px;
  clip-path: polygon(
    30% 0, 100% 0, 100% 100%, 0 100%,
    0 83.333%, 6% 83.333%,
    6% 66.666%, 12% 66.666%,
    12% 50%, 18% 50%,
    18% 33.333%, 24% 33.333%,
    24% 16.666%, 30% 16.666%
  );
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 45% 50%;
}
/* juntas horizontales del muro sobre la foto */
.hero-wall::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 calc(16.666% - 3px),
    var(--azul-profundo) calc(16.666% - 3px) 16.666%
  );
  opacity: .9;
  pointer-events: none;
}

/* Animación única: el muro se levanta hilada por hilada */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-wall .hero-img {
    animation: levantar 1.3s steps(6, jump-start) .2s both;
  }
  @keyframes levantar {
    from { clip-path: inset(100% 0 0 0); }
    to   { clip-path: inset(0 0 0 0); }
  }
}

/* ---------- Hilada (divisor) ---------- */
.hilada {
  position: relative;
  height: calc(var(--block-h) * 2 + var(--junta) * 2);
  background-color: var(--blanco);
  --block-color: #C5C9CF;
  background-image:
    /* hilada superior */
    linear-gradient(to right, var(--block-color) calc(100% - var(--junta)), transparent 0),
    /* hilada inferior, desfasada medio block */
    linear-gradient(to right, var(--block-color) calc(100% - var(--junta)), transparent 0);
  background-size:
    var(--block-w) var(--block-h),
    var(--block-w) var(--block-h);
  background-position:
    0 var(--junta),
    calc(var(--block-w) / -2) calc(var(--block-h) + var(--junta) * 2);
  background-repeat: repeat-x;
  overflow: hidden;
}
.hilada span {
  position: absolute;
  top: var(--junta);
  /* un block azul en la hilada; se recorre en pantallas chicas */
  left: calc(var(--block-w) * 7);
  width: calc(var(--block-w) - var(--junta));
  height: var(--block-h);
  background: var(--azul);
}

/* ---------- Secciones ---------- */
.section { padding: var(--section) 0; }
.section-alt { background: var(--cemento); }

.section-head { max-width: 52rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { font-size: var(--t-md); color: var(--concreto-texto); margin: 0; text-wrap: pretty; }

/* ---------- Servicios ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 3vw, 2.5rem);
}
.service img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.service-body {
  border-left: 4px solid var(--azul);
  padding: 1.5rem 0 0 1.25rem;
  margin-top: -1px;
}
.section-cta { margin: clamp(2rem, 4vw, 3rem) 0 0; }
.service h3 { font-size: var(--t-lg); color: var(--azul-profundo); margin-bottom: 0.75rem; }
.service p { max-width: 34rem; }

/* Listas con un block pequeño como viñeta */
.checks,
.lead-list { list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; }
.checks li,
.lead-list li {
  position: relative;
  padding: 0.8rem 0 0.8rem 1.75rem;
  border-top: 1px solid #D5D8DC;
}
.checks li:last-child,
.lead-list li:last-child { border-bottom: 1px solid #D5D8DC; }
.checks li::before,
.lead-list li::before {
  content: "";
  position: absolute; left: 0; top: 1.35rem;
  width: 12px; height: 6px;
  background: var(--azul);
}
.checks strong,
.lead-list strong { color: var(--azul-profundo); }

/* ---------- Proyectos ---------- */
/* Fotos 4:3: la fachada ocupa 2x2 y las otras cuatro la rodean */
.gallery {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.shot { aspect-ratio: 4 / 3; }
.shot-main { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

.shot-btn {
  position: relative;
  display: block; width: 100%; height: 100%;
  padding: 0; border: 0; background: var(--concreto);
  cursor: zoom-in; overflow: hidden;
  font-family: inherit;
}
.shot-btn img { width: 100%; height: 100%; object-fit: cover; }
.shot-cap {
  position: absolute; left: 0; bottom: 0;
  padding: 0.4rem 0.75rem;
  background: var(--blanco);
  color: var(--azul-profundo);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
}
.shot-main .shot-cap { font-size: var(--t-lg); padding: 0.6rem 1rem; }

/* ---------- Proceso ---------- */
.steps-intro { font-weight: 600; margin-bottom: 1rem; }
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 2.5rem;
  counter-reset: paso;
  border-top: 4px solid var(--azul);
}
.steps li {
  counter-increment: paso;
  padding: 1.5rem 1.5rem 0;
  border-left: 1px solid var(--cemento);
}
.steps li:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.steps li::before {
  content: counter(paso);
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--azul);
  margin-bottom: 1rem;
}
.steps h3 { margin-bottom: 0.6rem; color: var(--azul-profundo); }
.steps p { color: var(--concreto-texto); margin: 0; }
.steps-note { margin: 3rem 0 0; max-width: 42rem; color: var(--concreto-texto); }

/* ---------- Secciones de lectura: título a la izquierda, texto a la derecha ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.split > h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  position: sticky; top: 104px;
}
.prose { max-width: 48rem; font-size: 1.0625rem; }
.prose > :last-child { margin-bottom: 0; }

/* Respuesta directa al inicio de cada sección */
.answer {
  font-size: var(--t-md);
  line-height: 1.55;
  color: var(--grafito);
  border-left: 4px solid var(--azul);
  padding-left: 1.25rem;
  margin-bottom: 1.5em;
}

/* Texto a todo el ancho: en pantallas grandes se reparte en dos columnas
   para que cada línea siga siendo cómoda de leer */
.prose-wide { max-width: none; }
@media (min-width: 900px) {
  .prose-wide { columns: 2; column-gap: clamp(2rem, 5vw, 4rem); }
  .prose-wide p { break-inside: avoid; }
}

/* ---------- Tabla de precios ---------- */
.table-wrap { overflow-x: auto; margin: 1.5rem 0 2rem; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.price-table th,
.price-table td { padding: 1rem 1rem 1rem 0; text-align: left; border-bottom: 1px solid #D5D8DC; }
.price-table thead th {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--concreto-texto);
  border-bottom: 4px solid var(--azul);
  padding-top: 0;
}
.price-table tbody th {
  font-family: var(--display);
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--azul-profundo);
}
.price-table td { font-size: var(--t-md); white-space: nowrap; }
.price-table td:last-child { font-weight: 700; color: var(--azul-profundo); }

/* ---------- Clima ---------- */
.rows { list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; }
.rows li { padding: 1rem 0; border-top: 1px solid #C5C9CF; }
.rows li:last-child { border-bottom: 1px solid #C5C9CF; }
.rows strong {
  display: block;
  font-family: var(--display);
  font-size: var(--t-lg);
  line-height: 1.1;
  color: var(--azul-profundo);
  margin-bottom: 0.3rem;
}

/* ---------- Por qué CRL ---------- */
.section-dark { background: var(--azul-profundo); color: var(--blanco); }
.section-dark h2 { color: var(--blanco); }
.section-dark .section-head p { color: rgba(255,255,255,.8); }
.reasons {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 3vw, 2.5rem);
}
.reasons li { border-top: 4px solid var(--azul-claro); padding-top: 1.25rem; }
.reasons h3 { color: var(--blanco); margin-bottom: 0.6rem; }
.reasons p { color: rgba(255,255,255,.8); margin: 0; }

/* ---------- Preguntas frecuentes ---------- */
.faq details { border-bottom: 1px solid #C5C9CF; }
.faq details:first-child { border-top: 1px solid #C5C9CF; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: var(--t-lg); color: var(--azul-profundo); }
.faq summary::after {
  content: "+";
  flex: none;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  font: 700 1.5rem/1 var(--body);
  color: var(--blanco);
  background: var(--azul);
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover h3 { color: var(--azul); }
.faq details p { margin: 0 0 1.5rem; max-width: 48rem; font-size: 1.0625rem; }

/* ---------- Contacto ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 5rem);
}
.contact-main h2 { margin-bottom: 1.25rem; }
.contact-cta { margin: 2rem 0 0; }
.btn-big { min-height: 56px; padding: 1rem 1.75rem; font-size: var(--t-md); }
.form-title {
  font-size: var(--t-lg);
  color: var(--azul-profundo);
  margin: 3rem 0 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid #D5D8DC;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: var(--t-sm); }
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--grafito);
  background: var(--blanco);
  border: 2px solid var(--linea-campo);
  border-radius: 2px;
  padding: 0.7rem 0.85rem;
  min-height: 52px;
}
.field input, .field select { height: 52px; }
.field textarea { resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { border-color: var(--azul); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error {
  margin: 0;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--error);
}
.field-error::before { content: "! "; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-status { margin: 0; font-size: var(--t-sm); color: var(--concreto-texto); }
.form-status.is-error { color: var(--error); font-weight: 600; }

.contact-info {
  background: var(--cemento);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  align-self: start;
}
.contact-info dl { margin: 0 0 1.5rem; }
.contact-info dl > div { padding: 0.75rem 0; border-bottom: 1px solid #C5C9CF; }
.contact-info dl > div:first-child { padding-top: 0; }
.contact-info dt { font-size: var(--t-sm); color: var(--concreto-texto); }
.contact-info dd { margin: 0.15rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-info dd a { color: var(--azul-profundo); text-decoration-color: var(--azul-claro); }

.map { aspect-ratio: 4 / 3; background: var(--concreto); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--azul-profundo); color: rgba(255,255,255,.8); padding: 3.5rem 0 2rem; }
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 3rem;
  align-items: center;
}
.site-footer .brand { color: var(--blanco); }
.site-footer p { margin: 0; font-size: var(--t-sm); }
.site-footer p a { color: var(--blanco); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.footer-nav a { display: inline-block; padding: 0.6rem 0; color: var(--blanco); text-decoration: none; font-size: var(--t-sm); font-weight: 600; }
.footer-nav a:hover { text-decoration: underline; }
.copy {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  margin-top: 1rem !important;
  border-top: 1px solid rgba(255,255,255,.15);
}

/* ---------- Barra fija de WhatsApp (móvil) ---------- */
.cta-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-cta);
  align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 56px;
  padding: 0.75rem 16px calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--azul);
  color: var(--blanco);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 -4px 16px rgba(21,44,122,.25);
  transition: transform var(--t-medio) ease-out, visibility var(--t-medio);
}
.cta-bar svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.cta-bar:active { background: var(--azul-hover); }
/* oculta mientras se ve el hero o el contacto, que ya tienen su botón */
.cta-bar.is-hidden { transform: translateY(100%); visibility: hidden; }

/* ---------- Lightbox ---------- */
.lightbox {
  padding: 0; border: 0; background: transparent;
  max-width: min(1100px, 92vw); max-height: 92vh;
}
.lightbox::backdrop { background: rgba(21,44,122,.92); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox-cap { color: var(--blanco); margin: 0.75rem 0 0; }
.lightbox-close {
  position: absolute; top: 8px; right: 8px;
  width: 44px; height: 44px;
  font-size: 2rem; line-height: 1;
  color: var(--azul-profundo); background: var(--blanco);
  border: 0; border-radius: 2px; cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-copy { padding-bottom: 2.5rem; }
  .hero-wall { min-height: 440px; margin-left: calc(var(--gutter) * -1); }
  .hero-img { object-position: 40% 60%; }
  .services, .contact, .split { grid-template-columns: 1fr; }
  .split > h2 { position: static; }
  .steps, .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3n + 1) { padding-left: 1.5rem; border-left: 1px solid var(--cemento); }
  .steps li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot-main { grid-row: auto; aspect-ratio: 4 / 3; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--azul-profundo);
    padding: 0.5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 0.9rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav .btn { margin-top: 1rem; min-height: 48px; }
  .cta-bar { display: flex; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  .hilada span { left: calc(var(--block-w) * 2); }
  .steps, .reasons { grid-template-columns: 1fr; }
  .steps li, .steps li:nth-child(n) { padding-left: 0; padding-right: 0; border-left: 0; }
  .steps li::before { font-size: 3.5rem; }
  .price-table th, .price-table td { padding-right: 0.75rem; }
  .price-table td { font-size: 1rem; }
  .price-table tbody th { font-size: var(--t-md); }
  .gallery { grid-template-columns: 1fr; }
  .shot-main { grid-column: auto; }
  .contact-form { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
