/* ==========================================================
   DIAMER S. de R.L. — hoja de estilos
   Colores tomados del logotipo.
   ========================================================== */

:root {
  /* Marca */
  --navy: #0e2b42;
  --navy-deep: #081d2e;
  --navy-soft: #1d4161;
  --copper: #c38657;
  --copper-dark: #9a5f32;   /* cobre para texto sobre fondo claro (AA) */
  --sand: #d6c4ae;
  --sand-soft: #f3ece3;
  --white: #ffffff;

  /* Semánticos */
  --bg: var(--white);
  --text: var(--navy);
  --text-muted: #4b5d6d;
  --line: #e2d8cb;
  --on-dark: #ffffff;
  --on-dark-muted: #c7d1da;
  --focus: #e0a374;
  --wa: #1a7f45;      /* verde WhatsApp oscurecido para contraste AA con texto blanco */
  --error: #b42318;
  --ok: #1f7a46;

  /* Tipografía */
  --font-display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  /* Espaciado y forma */
  --radius: 6px;           /* mismo radio que las piezas del logo */
  --gap-tile: 8px;         /* separación entre piezas, como en el logo */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
  --header-h: 84px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { flex-shrink: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Campo trampa anti-spam: invisible para personas, visible para bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nav-cta[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--navy); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--sand { background: var(--sand-soft); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.125rem; }

/* La pieza: pequeño cuadro de 4 partes del logo, marca los títulos de sección */
.tile-mark {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 22px; height: 22px;
  margin-bottom: 14px;
}
.tile-mark i { border-radius: 1.5px; }
.tile-mark i:nth-child(1), .tile-mark i:nth-child(4) { background: var(--copper); }
.tile-mark i:nth-child(2), .tile-mark i:nth-child(3) { background: var(--sand); }
.section-head--center .tile-mark { margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--copper); color: var(--navy-deep); }
.btn-primary:hover { background: #d29a6d; }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-soft); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: #156a39; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: var(--navy); text-decoration: none;
  border-bottom: 2px solid var(--copper);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--copper-dark); }

/* ==========================================================
   Cabecera
   ========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(8, 29, 46, .06); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 56px; width: auto; }

.site-nav ul {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a:not(.btn) {
  display: inline-block;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  color: var(--navy);
  position: relative;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--copper); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .nav-cta { margin-left: 14px; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: none; border: 0; color: var(--navy); cursor: pointer; border-radius: var(--radius);
}
.nav-toggle svg { width: 28px; height: 28px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand img { height: 46px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--white);
    padding: 24px var(--gutter) 40px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
    overflow-y: auto;
  }
  .site-nav.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border: 0; }
  .site-nav a:not(.btn) { display: block; padding: 18px 0; font-size: 1.15rem; }
  .site-nav a:not(.btn)::after { left: 0; right: auto; width: 32px; bottom: 10px; }
  .site-nav .nav-cta { margin: 24px 0 0; width: 100%; }
}

/* ==========================================================
   Portada (hero) — camión con franjas de color de la marca
   ========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--on-dark);
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 60% center;
}
/* En la portada el camión se corre a la izquierda para dejar sitio a las franjas */
.hero > .hero-bg {
  width: calc(100% - min(15vw, 220px));
  object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
          mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,29,46,.96) 0%, rgba(8,29,46,.88) 38%, rgba(8,29,46,.35) 70%, rgba(8,29,46,.15) 100%),
    linear-gradient(0deg, rgba(8,29,46,.7) 0%, rgba(8,29,46,0) 40%);
}
/* Franjas diagonales cobre y arena (inspiradas en la referencia) */
.hero-stripes {
  position: absolute; z-index: -1; top: 0; bottom: 0; right: 0;
  width: min(22vw, 320px);
  pointer-events: none;
}
.hero-stripes span { position: absolute; inset: 0; }
.hero-stripes .s-copper {
  background: var(--copper);
  clip-path: polygon(78% 0, 100% 0, 100% 6%, 30% 100%, 0 100%);
}
.hero-stripes .s-sand {
  background: var(--sand);
  clip-path: polygon(100% 34%, 100% 100%, 54% 100%);
}
.hero-inner {
  display: flex; flex-direction: column; justify-content: center;
  min-height: min(82vh, 720px);
  padding-block: clamp(72px, 10vw, 120px);
  max-width: 720px;
}
.hero-kicker {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; color: var(--sand); margin-bottom: 20px;
}
.hero-kicker::before { content: ""; width: 36px; height: 2px; background: var(--copper); }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--on-dark-muted); max-width: 600px; }
.hero-lead strong { color: var(--white); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Entrada única al cargar la página */
@media (prefers-reduced-motion: no-preference) {
  .hero-stripes .s-copper { animation: stripe-in .9s cubic-bezier(.2,.8,.2,1) both .1s; }
  .hero-stripes .s-sand { animation: stripe-in .9s cubic-bezier(.2,.8,.2,1) both .25s; }
  .hero-inner > * { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
  .hero-inner > :nth-child(2) { animation-delay: .08s; }
  .hero-inner > :nth-child(3) { animation-delay: .16s; }
  .hero-inner > :nth-child(4) { animation-delay: .24s; }
}
@keyframes stripe-in { from { transform: translateX(105%); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  /* En móvil las franjas pasan a una esquina inferior para no tapar el texto */
  .hero-stripes, .page-hero .hero-stripes { top: auto; height: 72px; width: 46vw; }
  .hero-inner, .page-hero-inner { padding-bottom: 104px; }
  .hero > .hero-bg { width: 100%; object-position: 70% center; -webkit-mask-image: none; mask-image: none; }
  .hero::before { background: linear-gradient(90deg, rgba(8,29,46,.95) 0%, rgba(8,29,46,.8) 70%, rgba(8,29,46,.55) 100%); }
  .hero-inner { min-height: 0; }
}

/* Encabezado de páginas internas */
.page-hero { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--on-dark); isolation: isolate; }
.page-hero .hero-bg { object-position: center; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,29,46,.95) 0%, rgba(8,29,46,.82) 50%, rgba(8,29,46,.5) 100%);
}
.page-hero .hero-stripes { width: min(26vw, 320px); }
.page-hero-inner { padding-block: clamp(64px, 9vw, 104px); max-width: 720px; }
/* En móvil las franjas ocupan la esquina inferior: el texto termina por encima de ellas */
@media (max-width: 760px) { .page-hero-inner { padding-bottom: 104px; } }
/* En tableta y escritorio las franjas ocupan el borde derecho: el texto no llega hasta ellas */
@media (min-width: 761px) { .page-hero-inner { max-width: min(720px, calc(100% - min(26vw, 320px) - 24px)); } }
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 16px; }
.page-hero p { color: var(--on-dark-muted); font-size: 1.15rem; max-width: 580px; }
.breadcrumb { margin-bottom: 18px; font-size: .95rem; color: var(--sand); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--on-dark-muted); }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* ==========================================================
   Franja de datos
   ========================================================== */
.facts { background: var(--navy); color: var(--on-dark); }
.facts ul {
  display: grid; grid-template-columns: repeat(4, 1fr);
  list-style: none; margin: 0; padding: 0;
}
.facts li {
  padding: 28px 24px;
  border-left: 1px solid rgba(214,196,174,.25);
  display: flex; flex-direction: column; gap: 2px;
}
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; color: var(--sand); }
.facts span { color: var(--on-dark-muted); font-size: .98rem; }
@media (max-width: 900px) {
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 22px 16px; }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid rgba(214,196,174,.25); }
}

/* ==========================================================
   Mosaico de 4 piezas (eco del logo)
   ========================================================== */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--gap-tile);
  aspect-ratio: 1;
  max-width: 560px;
}
.mosaic > * { border-radius: var(--radius); overflow: hidden; min-height: 0; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.tile-copper { background: var(--copper); color: var(--navy-deep); }
.tile-sand { background: var(--sand); color: var(--navy-deep); }
.tile-navy { background: var(--navy); color: var(--white); }
.tile-text {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(16px, 2.4vw, 28px);
}
.tile-text strong {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1; letter-spacing: -0.03em;
}
.tile-text span { font-weight: 600; margin-top: 8px; line-height: 1.3; }
@media (max-width: 480px) {
  .tile-text { padding: 12px; }
  .tile-text strong { font-size: 1.6rem; }
  .tile-text span { font-size: .85rem; margin-top: 4px; }
  .facts strong { font-size: 1.1rem; }
  .facts span { font-size: .92rem; }
}

.prose p { color: var(--text-muted); }
.prose p.lead { color: var(--text); font-size: 1.2rem; }
.prose .text-link { margin-top: 12px; }

/* ==========================================================
   Lotes de inventario
   ========================================================== */
.lots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 28px;
}
/* Las 4 categorías de la página Productos: cuadrícula de 2 × 2 */
.lots--categorias { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .lots--categorias { grid-template-columns: 1fr; } }
/* En la página de inicio, 4 tarjetas en una fila para que la sección no quede tan alta */
@media (min-width: 1100px) {
  .lots--inicio { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .lots--inicio .lot-specs div { flex-direction: column; gap: 2px; }
  .lots--inicio .lot-specs dd { text-align: left; }
}
.lot {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.lot[hidden] { display: none; }
.lot-media { aspect-ratio: 4 / 3; background: var(--sand-soft); overflow: hidden; }
.lot-media img { width: 100%; height: 100%; object-fit: cover; }
.lot-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.lot-title { font-size: 1.15rem; margin-bottom: 8px; }
.lot-desc { color: var(--text-muted); font-size: 1rem; margin-bottom: 18px; }
.lot-specs { margin: 0 0 22px; font-size: .95rem; }
.lot-specs div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-top: 1px solid var(--line);
}
.lot-specs dt { font-weight: 700; color: var(--navy); }
.lot-specs dd { margin: 0; text-align: right; color: var(--text-muted); }
/* En teléfonos muy angostos, etiqueta arriba y valor abajo para que no se partan en dos líneas */
@media (max-width: 360px) {
  .lot-specs div { flex-direction: column; gap: 2px; }
  .lot-specs dd { text-align: left; }
}
.lot-cta { margin-top: auto; width: 100%; }

.lots-foot { margin-top: 44px; text-align: center; }

.filters-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 32px;
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters button {
  min-height: 44px; padding: 8px 18px;
  font: 600 .95rem var(--font-display);
  color: var(--navy); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.lots-count { color: var(--text-muted); margin: 0; font-weight: 600; }
.lots-empty { padding: 40px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--radius); }

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 40px; padding: 20px 22px;
  background: var(--sand-soft); border-left: 4px solid var(--copper); border-radius: 0 var(--radius) var(--radius) 0;
}
.notice svg { width: 22px; height: 22px; color: var(--copper-dark); margin-top: 2px; }
.notice p { margin: 0; }

/* ==========================================================
   Cómo comprar (columnas con iconos)
   ========================================================== */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--line);
}
.steps > li { padding: 36px 32px 8px; border-left: 1px solid var(--line); }
.steps > li:first-child { border-left: 0; padding-left: 0; }
.steps > li:last-child { padding-right: 0; }
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--sand-soft); color: var(--copper-dark); margin-bottom: 20px;
}
.section--sand .icon-badge { background: var(--white); }
.icon-badge svg { width: 28px; height: 28px; }
.steps p { color: var(--text-muted); }
.steps strong { color: var(--navy); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps > li { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .steps > li:first-child { border-top: 0; }
}

/* ==========================================================
   Categorías (tarjetas con imagen)
   ========================================================== */
.cat-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  list-style: none; margin: 0; padding: 0;
}
.cat-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cat-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--white); border-bottom: 1px solid var(--line); }
.cat-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.cat-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.cat-card p { color: var(--text-muted); font-size: 1rem; margin-bottom: 20px; }
.cat-card p:last-child { margin-bottom: 0; }
.cat-card .btn { margin-top: auto; width: 100%; }
@media (max-width: 1100px) { .cat-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cat-cards { grid-template-columns: 1fr; gap: 20px; } }

/* ==========================================================
   Línea de tiempo
   ========================================================== */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line);
}
.timeline li { position: relative; padding: 0 0 36px 52px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 24px; height: 24px; border-radius: 4px;
  background: var(--copper); box-shadow: 0 0 0 5px var(--white);
}
.section--sand .timeline li::before { box-shadow: 0 0 0 5px var(--sand-soft); }
.timeline li:last-child::before { background: var(--navy); }
.timeline .year {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1.6rem; line-height: 1.2; color: var(--navy); margin-bottom: 6px;
}
.timeline p { color: var(--text-muted); max-width: 560px; }

/* Valores */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.values h3 { display: flex; align-items: center; gap: 12px; }
.values h3 svg { width: 24px; height: 24px; color: var(--copper-dark); }
.values p { color: var(--text-muted); }
@media (max-width: 640px) { .values { grid-template-columns: 1fr; gap: 28px; } }

/* Cita destacada */
.pull {
  margin: 0;
  padding: clamp(32px, 5vw, 56px);
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  position: relative;
}
.pull p {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.3;
  max-width: 30ch;
}
.pull footer { margin-top: 20px; color: var(--sand); font-weight: 600; }

/* ==========================================================
   Llamado con el camión DIAMER
   El fondo del camión pasa de blanco a azul al 57.7 % de su altura;
   la franja azul empieza exactamente en esa línea.
   ========================================================== */
.cta-truck {
  --tw: min(600px, 52vw);
  background: var(--white);
  padding-top: calc(var(--tw) * 0.3517 + 24px);
}
.cta-truck-band { background: var(--navy); color: var(--on-dark); }
.cta-truck-grid {
  display: grid;
  grid-template-columns: var(--tw) 1fr;
  gap: clamp(24px, 4vw, 56px);
  min-height: calc(var(--tw) * 0.2575);
}
.cta-truck-img {
  width: var(--tw);
  max-width: none;
  margin-top: calc(var(--tw) * -0.3517);
  margin-left: calc(var(--gutter) * -0.5);
  align-self: start;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent);
          mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent);
}
.cta-truck-copy { padding-block: 32px 44px; align-self: center; }
.cta-truck-copy h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.cta-truck-copy p { color: var(--on-dark-muted); max-width: 46ch; }
.cta-truck-copy .hero-actions { margin-top: 22px; }
@media (max-width: 820px) {
  .cta-truck { --tw: min(560px, calc(100vw - var(--gutter) * 2)); }
  .cta-truck-grid { grid-template-columns: 1fr; gap: 0; }
  .cta-truck-img { margin-left: 0; }
  .cta-truck-copy { padding-block: 8px 48px; }
}

/* ==========================================================
   Contacto
   ========================================================== */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; margin: 0 0 32px; padding: 0; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-list .icon-badge { width: 48px; height: 48px; margin: 0; }
.contact-list .icon-badge svg { width: 22px; height: 22px; }
.contact-list h3 { font-size: 1rem; margin: 0 0 2px; }
.contact-list p, .contact-list a { color: var(--text-muted); margin: 0; }
.contact-list a { text-decoration: underline; text-underline-offset: 3px; }
.contact-list a:hover { color: var(--navy); }

.contact-list p.note { margin-top: 6px; font-size: .95rem; font-weight: 600; color: var(--copper-dark); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--copper);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px);
}
.form-card h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.form-intro { color: var(--text-muted); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .98rem; }
.field .req { color: var(--copper-dark); }
.field .hint { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font: inherit; font-size: 1rem;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid #c9bcad;
  border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230e2b42' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(195,134,87,.35);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { display: block; color: var(--error); font-size: .92rem; margin-top: 6px; min-height: 0; }
.field-error:empty { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.form-actions .hint { color: var(--text-muted); font-size: .95rem; }
.form-intro a { color: var(--navy); font-weight: 600; }
.form-status { margin-top: 18px; padding: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--ok); padding: 14px 16px; background: #e9f5ee; border-radius: var(--radius); }
.form-status.is-error { color: var(--error); padding: 14px 16px; background: #fdecea; border-radius: var(--radius); }
.form-status a { color: inherit; }

.map {
  margin-top: 8px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--sand-soft);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Preguntas frecuentes */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--sand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230e2b42' stroke-width='2.5'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-muted); padding: 0 48px 24px 0; margin: 0; }

/* ==========================================================
   Pie de página
   ========================================================== */
.site-footer { background: var(--navy-deep); color: var(--on-dark-muted); padding-top: clamp(56px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.footer-logo {
  display: inline-block; background: var(--white); padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px;
}
.footer-logo img { height: 64px; width: auto; }
.footer-tag { font-family: var(--font-display); font-weight: 600; color: var(--white); max-width: 30ch; }
.site-footer h2 { font-size: 1.1rem; color: var(--white); margin-bottom: 18px; letter-spacing: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 4px; }
.footer-links a { display: inline-block; padding: 6px 0; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-contact svg { width: 20px; height: 20px; color: var(--copper); margin-top: 3px; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--white); text-decoration: underline; }
.social-list { display: flex; gap: 10px; list-style: none; margin: 22px 0 0; padding: 0; }
.social-list a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(214,196,174,.4); color: var(--white);
}
.social-list a:hover { background: var(--copper); border-color: var(--copper); color: var(--navy-deep); }
.social-list svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(214,196,174,.2);
  padding-block: 22px 96px; /* deja espacio para el botón flotante de WhatsApp */
  font-size: .92rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 16px;
  background: var(--wa); color: var(--white);
  border-radius: 999px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  box-shadow: 0 10px 24px rgba(8, 29, 46, .25);
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { background: #156a39; }
@media (max-width: 600px) {
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
body.menu-open .wa-float { display: none; }

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