/* =========================================================
   Del Este Contenedores — estilos públicos (v2)
   Sistema: asfalto + naranja volquete + hormigón.
   Títulos en Barlow Condensed (rotulación de camión), texto en Barlow.
   --primary y --brand-dark llegan desde el panel.
   ========================================================= */
:root {
  --primary: #E5711B;
  --primary-ink: #B85A15;
  --primary-rgb: 229, 113, 27;
  --asphalt: #2B343B;
  --asphalt-2: #20282E;
  --concrete: #E8EAEB;
  --concrete-2: #F3F4F5;
  --white: #FFFFFF;
  --steel: #5E6B74;
  --ink: #1C2328;
  --line: #D5DADD;
  --wa: #138A48;
  --wa-hover: #0F743C;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
  --container: 1200px;
  --r-sm: 6px;
  --r-md: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.02; margin: 0 0 .45em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.55rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 2px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.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 { position: absolute; left: -9999px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 10px 16px; }
.muted { color: var(--steel); }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: 0 0 auto; }

/* Franja de seguridad: la misma que llevan pintada los volquetes */
.hazard { height: 10px; background: repeating-linear-gradient(-45deg, var(--primary) 0 14px, #fff 14px 28px); }

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-tight { padding: 56px 0; }
.section-concrete { background: var(--concrete); }
.section-title { margin-bottom: .35em; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--steel); font-size: 1.12rem; margin: 0; }
.lead { font-size: 1.15rem; color: #3A454D; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: var(--r-sm); border: 2px solid transparent;
  font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn .ico { width: 20px; height: 20px; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-ink); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }
.btn-dark { background: var(--asphalt); color: #fff; }
.btn-dark:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--concrete); color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-ghost-dark { color: var(--ink); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: var(--ink); color: var(--ink); }
.link { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 2px; }
.link:hover { color: var(--primary-ink); }

/* ---------- Barra superior ---------- */
.topbar { background: var(--asphalt-2); color: #C7CED3; font-size: .9rem; }
.topbar-inner { display: flex; justify-content: flex-end; gap: 28px; min-height: 38px; align-items: center; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { color: var(--primary); }
.topbar .ico { color: var(--primary); width: 15px; height: 15px; }
.topbar-inner > span:first-child { margin-right: auto; }
@media (max-width: 760px) { .topbar .hide-sm { display: none; } .topbar-inner { gap: 16px; font-size: .84rem; } }
@media (max-width: 560px) { .topbar { display: none; } }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: var(--header-h, 76px); padding: 8px 0; }
.brand { text-decoration: none; flex: 0 0 auto; }
.brand img { height: var(--logo-h, 58px); width: auto; max-width: 60vw; object-fit: contain; }
.brand-text { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--ink); }
.brand-text.light { color: #fff; }

.main-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.main-nav > ul { display: flex; gap: 4px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; color: var(--ink);
  font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent;
}
.main-nav > ul > li > a:hover { color: var(--primary-ink); }
.main-nav > ul > li > a[aria-current="page"] { border-bottom-color: var(--primary); }
.caret { width: 16px; height: 16px; transition: transform .2s; }
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
.main-nav .sub {
  position: absolute; top: calc(100% + 6px); left: -12px; width: 340px; padding: 8px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 24px 48px -24px rgba(28,35,40,.45);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.main-nav .sub::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); }
.sub a:hover { background: var(--concrete-2); }
.sub img { width: 60px; height: 44px; object-fit: contain; background: var(--concrete); border-radius: 4px; padding: 3px; }
.sub strong { display: block; font-size: .98rem; }
.sub small { display: block; color: var(--steel); font-size: .84rem; line-height: 1.3; }
.nav-actions { display: flex; gap: 10px; }

.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle .ico { width: 26px; height: 26px; }
.nav-toggle .i-close, .nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: inline; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, 114px); bottom: 0; z-index: 49;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    background: #fff; padding: 20px 20px 100px; overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
  }
  .nav-open .main-nav { visibility: visible; opacity: 1; }
  .nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li > a { display: flex; padding: 16px 4px; font-size: 1.25rem; border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a[aria-current="page"] { border-bottom-color: var(--line); color: var(--primary-ink); }
  .caret { display: none; }
  .main-nav .sub { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 8px 0; }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { width: 100%; }
}
@media (max-width: 560px) { .brand img { height: var(--logo-h-m, 46px); } }

/* ---------- Portada ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--asphalt); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-img, none) center 60%/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(32,40,46,.96) 0%, rgba(32,40,46,.86) 48%, rgba(32,40,46,.6) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(48px, 7vw, 88px) 0; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #D3DADE; max-width: 34ch; margin-bottom: 26px; }
.hero-badges { display: grid; gap: 10px; margin-bottom: 32px; }
.hero-badges li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #EEF1F3; }
.hero-badges .ico { color: var(--primary); width: 22px; height: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }


/* Pedido rápido */
.quote {
  position: relative; background: #fff; color: var(--ink); border-radius: var(--r-md); overflow: hidden;
  padding: 34px 28px 24px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
}
.hazard-top { position: absolute; left: 0; right: 0; top: 0; }
.quote-title { font-size: 2rem; margin-bottom: 14px; }
.quote fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.quote legend { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 10px; padding: 0; }
.step-dot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--asphalt); color: #fff; font-size: .85rem; font-weight: 700; }
.pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%;
  padding: 10px 8px 12px; border: 2px solid var(--line); border-radius: var(--r-sm); background: var(--concrete-2);
  text-align: center; transition: border-color .15s, background-color .15s;
}
.pick-card img { height: 64px; width: 100%; object-fit: contain; }
.pick-card strong { font-size: .95rem; line-height: 1.2; }
.pick:hover .pick-card { border-color: #AAB3B9; }
.pick input:checked + .pick-card { border-color: var(--primary); background: #FFF3E9; box-shadow: inset 0 0 0 1px var(--primary); }
.pick input:focus-visible + .pick-card { outline: 3px solid var(--primary); outline-offset: 2px; }
.input {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--ink);
  border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff;
}
.input:focus { outline: none; border-color: var(--primary); }
.quote-note { margin: 10px 0 0; font-size: .9rem; color: var(--steel); text-align: center; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
}
@media (max-width: 420px) { .quote { padding: 30px 18px 20px; } }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 28px; }
.steps li { position: relative; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; left: 72px; right: -16px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.step-num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 18px;
  background: var(--asphalt); color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.6rem;
  box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--primary);
}
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--steel); margin: 0; max-width: 32ch; }
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .steps li .step-num { grid-row: span 2; margin: 0; }
  .steps li:not(:last-child)::after { top: 64px; bottom: -22px; left: 27px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
}

/* ---------- Fichas de contenedores ---------- */
.units { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.unit { display: grid; grid-template-columns: 42% 1fr; background: #fff; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.unit-media { display: grid; place-items: center; background: var(--concrete-2); padding: 20px; border-right: 1px solid var(--line); }
.unit-media img { max-height: 190px; width: 100%; object-fit: contain; }
.unit-body { padding: 24px 24px 22px; display: flex; flex-direction: column; }
.unit h3 { font-size: 1.8rem; margin-bottom: .2em; }
.unit h3 a { color: inherit; text-decoration: none; }
.unit h3 a:hover { color: var(--primary-ink); }
.unit-body > p { color: var(--steel); margin-bottom: 12px; }
.unit-body > p.unit-cap { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; color: var(--ink); font-size: .98rem; }
.unit-cap .ico { color: var(--primary); width: 22px; height: 22px; margin-top: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.chips li { font-size: .86rem; background: var(--concrete); color: #3A454D; padding: 4px 10px; border-radius: 4px; }
.unit-actions { margin-top: auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.help-line { margin: 32px 0 0; font-size: 1.08rem; }
.help-line a { font-weight: 700; }
@media (max-width: 1000px) { .units { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .unit { grid-template-columns: 1fr; }
  .unit-media { border-right: 0; border-bottom: 1px solid var(--line); }
  .unit-media img { max-height: 160px; }
}

/* ---------- Quiénes somos ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-media { position: relative; padding-bottom: 34px; }
.about-media .img-main { border-radius: var(--r-md); width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.years {
  position: absolute; left: 24px; bottom: 0; display: flex; align-items: center; gap: 14px;
  background: var(--primary); color: #fff; padding: 14px 22px; border-radius: var(--r-sm); max-width: 330px;
}
.years strong { font-family: var(--display); font-size: 3.2rem; line-height: 1; font-weight: 800; }
.years span { font-weight: 600; line-height: 1.25; }
.ticks { display: grid; gap: 12px; margin: 22px 0 30px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.ticks .ico { color: var(--primary); width: 24px; height: 24px; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ---------- Clientes ---------- */
.clients { background: var(--concrete); padding: 56px 0; }
.clients-title { font-size: 1.6rem; text-align: center; color: var(--steel); font-weight: 700; margin-bottom: 26px; }
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logo-wall li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); width: 172px; height: 92px; display: grid; place-items: center; padding: 14px 18px; }
.logo-wall img { max-height: 62px; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 560px) { .logo-wall li { width: calc(50% - 6px); height: 80px; } }

/* ---------- Opiniones ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 28px; }
.testimonial { margin: 0; background: #fff; border-radius: var(--r-md); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.stars { display: flex; gap: 2px; color: #E9A200; margin-bottom: 14px; }
.stars .ico { width: 20px; height: 20px; }
.testimonial blockquote { margin: 0 0 18px; font-size: 1.05rem; flex: 1; }
.testimonial figcaption strong { display: block; }
.testimonial figcaption span { color: var(--steel); font-size: .92rem; }

/* ---------- Zonas + preguntas ---------- */
.zones-faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.zone-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.zone-list li { display: flex; align-items: center; gap: 8px; font-weight: 600; padding: 10px 12px; background: var(--concrete-2); border-radius: var(--r-sm); }
.zone-list .ico { color: var(--primary); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 22px; height: 22px; color: var(--primary); transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { margin: 0 0 18px; color: var(--steel); max-width: 62ch; }
@media (max-width: 900px) { .zones-faq { grid-template-columns: 1fr; } }

/* ---------- Franja de llamado a la acción ---------- */
.cta-band { background: var(--asphalt); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 52px 0; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .2em; max-width: 22ch; }
.cta-band p { color: #C9D0D4; margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Texto SEO / contenido largo ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.3em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.4rem; margin-top: 1.2em; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--primary); }
.seo-text { color: var(--steel); font-size: .98rem; }
.seo-text h2, .seo-text h3 { color: var(--ink); }

/* ---------- Encabezado de páginas internas ---------- */
.page-hero {
  color: #fff;
  background: linear-gradient(95deg, rgba(32,40,46,.95), rgba(32,40,46,.8)), var(--hero-img, none) center/cover no-repeat, var(--asphalt);
  padding: clamp(44px, 6vw, 72px) 0 clamp(40px, 5vw, 60px);
}
.page-hero h1 { color: #fff; margin-bottom: .25em; }
.page-hero p { color: #D3DADE; font-size: 1.15rem; max-width: 56ch; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .92rem; color: #AEB8BF; margin-bottom: 14px; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #7C8891; }

/* ---------- Detalle de servicio ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.detail-figure { background: var(--concrete-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(20px, 4vw, 44px); margin: 0 0 32px; }
.detail-figure img { margin-inline: auto; max-height: 420px; width: auto; }
.detail-block { margin-top: 32px; }
.detail-block h2 { font-size: 1.8rem; }
.order {
  position: sticky; top: calc(var(--header-h, 76px) + 20px); background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(28,35,40,.5);
}
.order-body { padding: 26px 24px 22px; }
.order h2 { font-size: 1.9rem; }
.order-cap { display: flex; gap: 12px; align-items: flex-start; background: var(--concrete-2); border-radius: var(--r-sm); padding: 14px; margin-bottom: 18px; }
.order-cap .ico { width: 30px; height: 30px; color: var(--primary); }
.order-cap small { display: block; color: var(--steel); font-size: .85rem; }
.order-cap strong { line-height: 1.3; }
.order .btn { width: 100%; margin-bottom: 10px; }
.order-note { font-size: .88rem; color: var(--steel); margin: 6px 0 0; display: flex; gap: 8px; }
.order-note .ico { color: var(--primary); margin-top: 3px; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .order { position: static; } }

/* ---------- Página Nosotros ---------- */
.about-page { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.fact-box { background: var(--asphalt); color: #fff; border-radius: var(--r-md); overflow: hidden; }
.fact-box .fact-body { padding: 28px; }
.fact-box p.big { font-family: var(--display); font-weight: 700; font-size: 1.9rem; line-height: 1.1; color: #fff; margin-bottom: 20px; }
.fact-box img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.service-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 20px; }
.service-rows li { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.service-rows .ico { color: var(--primary); width: 24px; height: 24px; }
@media (max-width: 900px) { .about-page, .service-rows { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.channels { display: grid; gap: 10px; margin: 20px 0 24px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); background: #fff; }
a.channel:hover { border-color: var(--ink); color: var(--ink); }
.channel .ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--concrete); color: var(--asphalt); }
.channel.is-wa .ico { background: var(--wa); color: #fff; }
.channel small { display: block; color: var(--steel); font-size: .88rem; }
.channel strong { font-size: 1.08rem; }
.map { border: 0; width: 100%; height: 280px; border-radius: var(--r-md); display: block; }
.form { background: var(--concrete-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(22px, 4vw, 36px); }
.form h2 { font-size: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; font: inherit; padding: 12px 14px; color: var(--ink);
  border: 2px solid var(--line); border-radius: var(--r-sm); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 16px; border-radius: var(--r-sm); margin-bottom: 18px; font-weight: 600; border-left: 5px solid; }
.alert-ok { background: #E6F4EC; color: #145A33; border-color: var(--wa); }
.alert-error { background: #FCEBE6; color: #8E2A14; border-color: #C2411C; }
@media (max-width: 900px) { .contact, .form-row { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.site-footer { background: var(--asphalt-2); color: #BAC3C9; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; padding: 60px 0 44px; }
.footer-brand img { height: var(--logo-f-h, 92px); width: auto; max-width: 100%; object-fit: contain; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-title { font-size: 1.3rem; color: #fff; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: #DCE1E4; text-decoration: none; }
.site-footer a:hover { color: var(--primary); }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .ico { color: var(--primary); margin-top: 3px; }
.social { display: flex; gap: 8px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.social .ico { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .88rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Acciones rápidas ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
}
.wa-float:hover { background: var(--wa-hover); color: #fff; }
.wa-float .ico { width: 32px; height: 32px; }
.mobile-actions { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 64px; }
  .wa-float { display: none; }
  .mobile-actions {
    display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mobile-actions a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--r-sm);
    font-weight: 700; text-decoration: none; color: var(--ink); border: 2px solid var(--line);
  }
  .mobile-actions a.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
  .mobile-actions .ico { width: 20px; height: 20px; }
}

/* ---------- Aviso al administrador ---------- */
.admin-bar { background: var(--ink); color: #fff; font-size: .88rem; text-align: center; padding: 9px 16px; border-bottom: 3px solid var(--primary); }
.admin-bar a { color: #FFB27A; font-weight: 700; }

/* ---------- Desplazamiento suave (Lenis) ---------- */
html.lenis, html.lenis body { scroll-behavior: auto !important; }
.lenis.lenis-smooth iframe.map { pointer-events: auto; }

/* =========================================================
   MOVIMIENTO
   Todo se desactiva si el dispositivo pide «reducir movimiento».
   Las clases .rv / .in las agrega assets/js/main.js.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {

  /* --- Portada: entrada en secuencia + foto que se acerca lento --- */
  .js .hero::before { animation: kenburns 16s ease-out both; }
  @keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
  .js .hero h1, .js .hero-lead, .js .hero-badges li, .js .hero-actions, .js .quote,
  .js .page-hero .breadcrumb, .js .page-hero h1, .js .page-hero p {
    opacity: 0; animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards;
  }
  .js .hero-lead, .js .page-hero h1 { animation-delay: .1s; }
  .js .hero-badges li:nth-child(1), .js .page-hero p { animation-delay: .2s; }
  .js .hero-badges li:nth-child(2) { animation-delay: .28s; }
  .js .hero-badges li:nth-child(3) { animation-delay: .36s; }
  .js .hero-actions { animation-delay: .45s; }
  .js .quote { animation: rise-card .8s cubic-bezier(.2,.7,.2,1) .25s forwards; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes rise-card { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }

  /* --- Cinta de seguridad en movimiento (pedido rápido, franja final y pie) --- */
  .hazard { background-size: 39.598px 10px; animation: tape 1.6s linear infinite; }
  .site-footer > .hazard { animation-duration: 3s; }
  @keyframes tape { to { background-position: 39.598px 0; } }

  /* --- Aparición al hacer scroll --- */
  .rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  .rv.rv-left { transform: translateX(-36px); }
  .rv.rv-right { transform: translateX(36px); }
  .rv.rv-zoom { transform: scale(.94); }
  .rv.in { opacity: 1; transform: none; }

  /* --- Cómo funciona: la línea se dibuja y pasa el camión --- */
  .steps.rv-group li:not(:last-child)::after { transform: scaleX(0); transform-origin: left; transition: transform .9s ease .35s; }
  .steps.rv-group.in li:not(:last-child)::after { transform: scaleX(1); }
  .steps.rv-group .step-num { transform: scale(.4); opacity: 0; transition: transform .5s cubic-bezier(.3,1.6,.5,1), opacity .3s; transition-delay: var(--d, 0s); }
  .steps.rv-group.in .step-num { transform: none; opacity: 1; }
  .steps-truck { position: absolute; z-index: 2; top: -10px; left: 70px; width: 58px; height: 46px; color: var(--primary); opacity: 0; pointer-events: none; }
  .steps-truck .ico { width: 58px; height: 46px; }
  .steps.in .steps-truck { animation: drive 2.6s cubic-bezier(.45,0,.25,1) .5s forwards; }
  @keyframes drive {
    0%   { opacity: 0; transform: translateX(0); }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { opacity: 0; transform: translateX(var(--drive, 760px)); }
  }

  /* --- Fichas de contenedores --- */
  .unit { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
  .unit:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(28,35,40,.55); border-color: #C3CACE; }
  .unit-media img { transition: transform .45s cubic-bezier(.3,1.5,.5,1); }
  .unit:hover .unit-media img { transform: translateY(-8px) rotate(-2.5deg) scale(1.04); }

  /* --- Selector del pedido rápido --- */
  .pick-card { transition: border-color .15s, background-color .15s, transform .2s; }
  .pick:hover .pick-card { transform: translateY(-2px); }
  .pick input:checked + .pick-card img { animation: bounce .5s cubic-bezier(.3,1.6,.5,1); }
  @keyframes bounce { 0% { transform: translateY(0); } 40% { transform: translateY(-10px); } 100% { transform: translateY(0); } }

  /* --- Botones --- */
  .btn { transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .2s; }
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(0) scale(.97); }
  .btn-primary:hover { box-shadow: 0 10px 22px -10px rgba(var(--primary-rgb), .8); }
  .btn-wa:hover { box-shadow: 0 10px 22px -10px rgba(19,138,72,.8); }

  /* --- Cabecera que se compacta al bajar --- */
  .site-header { transition: box-shadow .25s; }
  .site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(28,35,40,.45); }
  .header-inner { transition: min-height .25s, padding .25s; }
  .site-header.scrolled .header-inner { min-height: calc(var(--header-h, 76px) - 12px); padding: 4px 0; }
  .brand img { transition: height .25s; }
  .site-header.scrolled .brand img { height: calc(var(--logo-h, 58px) * .85); }

  /* --- Menú desplegable de servicios --- */
  .sub li { opacity: 0; transform: translateX(-8px); transition: opacity .2s, transform .2s; }
  .has-sub:hover .sub li, .has-sub:focus-within .sub li { opacity: 1; transform: none; }
  .has-sub .sub li:nth-child(2) { transition-delay: .04s; }
  .has-sub .sub li:nth-child(3) { transition-delay: .08s; }
  .has-sub .sub li:nth-child(4) { transition-delay: .12s; }
  .has-sub .sub li:nth-child(5) { transition-delay: .16s; }
  .sub a img { transition: transform .3s cubic-bezier(.3,1.5,.5,1); }
  .sub a:hover img { transform: rotate(-4deg) scale(1.08); }

  /* --- Logos, zonas y opiniones --- */
  .logo-wall li { transition: transform .25s, box-shadow .25s, border-color .25s; }
  .logo-wall li:hover { transform: translateY(-4px); box-shadow: 0 14px 28px -18px rgba(28,35,40,.5); border-color: #C3CACE; }
  .logo-wall img { transition: transform .3s; }
  .logo-wall li:hover img { transform: scale(1.06); }
  .zone-list li { transition: background-color .2s; }
  .zone-list li:hover { background: #FFF3E9; }
  .zone-list li:hover .ico { animation: pin .6s cubic-bezier(.3,1.6,.5,1); }
  @keyframes pin { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-6px); } }
  .testimonial { transition: transform .3s, box-shadow .3s; }
  .testimonial:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -28px rgba(28,35,40,.5); }
  .channel { transition: border-color .2s, transform .2s; }
  a.channel:hover { transform: translateX(4px); }

  /* --- Preguntas frecuentes: la respuesta se despliega --- */
  .faq details[open] p { animation: faq .35s ease; }
  @keyframes faq { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .faq summary { transition: color .15s; }
  .faq summary:hover { color: var(--primary-ink); }

  /* --- Fotos que se acercan apenas al pasar el mouse --- */
  .about-media, .fact-box { overflow: hidden; }
  .about-media .img-main, .fact-box img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
  .about-media:hover .img-main, .fact-box:hover img { transform: scale(1.04); }
  .years { transition: transform .3s; }
  .about-media:hover .years { transform: translateY(-4px); }

  /* --- WhatsApp: un pulso suave cada tanto para que se note --- */
  .wa-float::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--wa);
    animation: ping 4s cubic-bezier(0,0,.2,1) 2s infinite;
  }
  @keyframes ping { 0% { transform: scale(1); opacity: .7; } 35%, 100% { transform: scale(1.6); opacity: 0; } }
  .wa-float { transition: transform .2s, background-color .15s; }
  .wa-float:hover { transform: scale(1.08); }
  .mobile-actions { animation: slide-up .5s cubic-bezier(.2,.7,.2,1) .6s both; }
  @keyframes slide-up { from { transform: translateY(100%); } to { transform: none; } }

  /* --- Menú móvil: los enlaces entran en cascada --- */
  .nav-open .main-nav > ul > li, .nav-open .nav-actions { animation: rise .4s cubic-bezier(.2,.7,.2,1) both; }
  .nav-open .main-nav > ul > li:nth-child(2) { animation-delay: .04s; }
  .nav-open .main-nav > ul > li:nth-child(3) { animation-delay: .08s; }
  .nav-open .main-nav > ul > li:nth-child(4) { animation-delay: .12s; }
  .nav-open .nav-actions { animation-delay: .16s; }
}
.steps-truck { display: none; }
@media (prefers-reduced-motion: no-preference) and (min-width: 801px) { .steps-truck { display: block; } }
