/* Fuentes propias (sin depender de Google Fonts) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/inter-var-latin.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/space-grotesk-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/space-grotesk-700-latin.woff2') format('woff2'); }

/* SunRental — estilos del sitio
   Paleta: asfalto (texto), sol (marca y acción), plano (cotas y dibujos), aluminio (fondos alternos). */
:root {
  --ink: #1f2428;
  --ink-2: #4a535b;
  --paper: #ffffff;
  --alu: #f1f3f4;
  --line: #d8dde1;
  --grid: #e8ecee;
  --sun: #f66107;
  --sun-soft: #fde6d6;
  --plan: #2b5c8a;
  --wood: #8a6a45;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --r: 8px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.1vw, 2.15rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-2); }
.fine { font-size: .85rem; color: var(--ink-2); margin-top: 12px; }
:focus-visible { outline: 3px solid var(--plan); outline-offset: 2px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; }

/* Íconos de planta */
.ico { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.ico circle { fill: none; }
.ico-h1 { width: 44px; height: 44px; vertical-align: -6px; margin-right: 12px; color: var(--sun); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 6px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn .ico { width: 20px; height: 20px; }
.btn-lg { padding: 14px 22px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #dc5606; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-line-ink { border-color: var(--ink); color: var(--ink); }
.btn-line-ink:hover { background: rgba(31, 36, 40, .1); }
.btn-quiet { color: var(--ink); padding-left: 10px; padding-right: 10px; }
.btn-quiet:hover { background: var(--alu); }
.btn-text { background: none; border: 0; padding: 6px 0; font: 500 .95rem var(--body); color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--sun); color: var(--ink); font-size: .8rem; font-weight: 700; }
.badge[hidden] { display: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 52px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 10px; text-decoration: none; font-weight: 500; color: var(--ink-2); border-radius: 6px; }
.nav a:hover { color: var(--ink); background: var(--alu); }
.nav a[aria-current='page'] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--sun); border-radius: 0; }
.header-actions { margin-left: auto; display: flex; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--ink); border-radius: 6px; padding: 7px 14px; font: 600 .95rem var(--body); color: var(--ink); cursor: pointer; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-block; }
  .header-actions .btn-quiet { display: none; }
  .header-actions { margin-left: 0; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 20px 16px; }
  .nav a { padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--grid); border-radius: 0; }
  .nav a[aria-current='page'] { box-shadow: inset 3px 0 0 var(--sun); padding-left: 12px; }
}
@media (max-width: 560px) {
  .header-actions { display: none; }
}

/* Migas */
.crumbs ol { list-style: none; margin: 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .88rem; color: var(--ink-2); }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Secciones */
.section { padding: 72px 0; }
.section-tight { padding: 32px 0 56px; }
.section-alt { background: var(--alu); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; display: flex; align-items: center; gap: 12px; }
.section-head h2 .ico { color: var(--sun); }
.link-more { font-weight: 600; }
.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.page-head { padding-top: 28px; padding-bottom: 8px; }
.page-head h1 { max-width: 22ch; }
.prose { max-width: 66ch; }
.prose p { font-size: 1.05rem; }

/* Hero */
.hero { padding: 48px 0 72px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.hero h1 { max-width: 19ch; font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-facts { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 500; color: var(--ink-2); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ''; width: 10px; height: 10px; background: var(--sun); border-radius: 2px; }
.hero-figure { margin: 0; }
.hero-figure figcaption { font-size: .85rem; color: var(--ink-2); margin-top: 10px; }
.hero-plan { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.hp-gridline { fill: none; stroke: var(--grid); stroke-width: 1; }
.hp-draw rect, .hp-draw path, .hp-draw circle { vector-effect: non-scaling-stroke; }
.hp-tent rect { fill: var(--sun-soft); stroke: var(--sun); stroke-width: 2; }
.hp-tent path { fill: none; stroke: var(--sun); stroke-width: 1.2; }
.hp-dim path { fill: none; stroke: var(--plan); stroke-width: 1.2; }
.hp-lights path { fill: none; stroke: var(--ink-2); stroke-width: 1.2; }
.hp-lights circle { fill: #f8b500; stroke: none; }
.hp-mob rect, .hp-mob path, .hp-mob circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.hp-perg rect, .hp-perg path { fill: none; stroke: var(--wood); stroke-width: 2; }
.hp-heat circle { fill: none; stroke: var(--sun); stroke-width: 2; }
.hp-stage rect { fill: var(--alu); stroke: var(--ink); stroke-width: 1.5; }
.hp-stage path { fill: none; stroke: var(--ink); stroke-width: 1; }
.hp-text text { font: 500 12px var(--body); fill: var(--ink-2); }
.hp-text text:nth-child(-n + 2) { fill: var(--plan); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .hp-draw > g { animation: hp-in .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hp-draw > g:nth-child(1) { animation-delay: .1s; }
  .hp-draw > g:nth-child(2) { animation-delay: .25s; }
  .hp-draw > g:nth-child(3) { animation-delay: .4s; }
  .hp-draw > g:nth-child(4) { animation-delay: .55s; }
  .hp-draw > g:nth-child(5) { animation-delay: .7s; }
  .hp-draw > g:nth-child(n + 6) { animation-delay: .85s; }
  .hp-text { animation: hp-fade .6s 1.1s both; }
}
@keyframes hp-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes hp-fade { from { opacity: 0; } to { opacity: 1; } }

/* Índice de categorías */
.cat-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.cat-index a {
  display: grid; grid-template-columns: 40px 1fr auto; grid-template-rows: auto auto; column-gap: 16px;
  padding: 18px 8px; border-top: 1px solid var(--line); text-decoration: none; align-items: center;
}
.cat-index li:nth-last-child(-n + 2) a { border-bottom: 1px solid var(--line); }
.cat-index .ico { grid-row: 1 / 3; width: 36px; height: 36px; color: var(--ink-2); }
.ci-name { font: 600 1.2rem var(--display); }
.ci-text { grid-column: 2; color: var(--ink-2); font-size: .95rem; }
.ci-count { grid-row: 1 / 3; grid-column: 3; font-size: .85rem; color: var(--plan); font-weight: 600; white-space: nowrap; }
.cat-index a:hover { background: var(--alu); }
.cat-index a:hover .ico { color: var(--sun); }

/* Productos */
.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 32px 24px; }
.pcard a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.pcard-img { display: block; aspect-ratio: 1; background: var(--alu); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); margin-bottom: 10px; }
.section-alt .pcard-img { background: var(--paper); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; }
.pcard-name { font: 600 1.15rem/1.25 var(--display); }
.pcard-meta { font-size: .88rem; font-weight: 600; color: var(--plan); }
.pcard-text { font-size: .95rem; color: var(--ink-2); }
.pcard a:hover .pcard-name { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; }
.pcard a:hover .pcard-img { border-color: var(--sun); }

/* Público */
.aud-list { list-style: none; margin: 0; padding: 0; }
.aud-list a { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; }
.aud-list li:last-child a { border-bottom: 1px solid var(--line); }
.aud-list strong { font: 600 1.1rem var(--display); }
.aud-list span { color: var(--ink-2); }
.aud-list a:hover strong { color: var(--sun); }

/* Pasos (secuencia real) */
.steps { list-style: none; margin: 8px 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: paso; }
.steps li { counter-increment: paso; border-top: 2px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(paso); display: block; font: 700 3rem/1 var(--display); color: var(--sun); margin-bottom: 14px; }
.steps p { color: var(--ink-2); margin: 0; }

/* Prueba social */
.proof { text-align: left; }
.proof-links { display: flex; flex-wrap: wrap; gap: 12px; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font: 600 1.08rem var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 12px; font: 400 1.6rem var(--body); color: var(--sun); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; margin: 0; max-width: 64ch; }

/* Franja de llamado */
.cta-band { background: var(--sun); color: var(--ink); padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: 6px; }
.cta-inner p { margin: 0; max-width: 52ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.chips a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; }
.chips a:hover { border-color: var(--ink); }
.combo { list-style: none; margin: 0; padding: 0; }
.combo a { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.combo a:hover .ico { color: var(--sun); }
.cat-section + .cat-section { padding-top: 0; }

/* Producto */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-top: 24px; padding-bottom: 24px; align-items: start; }
.product-media { background: var(--alu); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-main h1 { font-size: clamp(2rem, 1.5rem + 1.8vw, 2.8rem); }
.product-meta { font-weight: 600; color: var(--plan); font-size: 1.05rem; }
.add-box { border: 1px solid var(--line); border-radius: 10px; padding: 20px; display: grid; gap: 14px; margin-top: 24px; max-width: 440px; }
.add-status { margin: -4px 0 0; font-size: .95rem; font-weight: 500; min-height: 0; }
.add-status:empty { display: none; }
.product-details { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; }
.pd-text { max-width: 66ch; }
.pd-text h3 { margin-top: 28px; }
.pd-plan { border: 1px solid var(--line); border-radius: 10px; padding: 20px; background: var(--paper); align-self: start; position: sticky; top: 96px; }
.plan-foot { width: 100%; height: auto; margin: 8px 0 12px; }
.pf-area { fill: var(--sun-soft); stroke: var(--sun); stroke-width: 2; }
.pf-dim path { fill: none; stroke: var(--plan); stroke-width: 1.5; }
.pf-label { font: 600 13px var(--body); fill: var(--plan); }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding: 4px 0 4px 26px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 12px; height: 7px; border-left: 2px solid var(--sun); border-bottom: 2px solid var(--sun); transform: rotate(-45deg); }

/* Formularios */
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--body); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 6px; padding: 10px 12px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--sun-soft); }
.field [aria-invalid='true'] { border-color: #c0392b; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--paper); width: max-content; }
.stepper button { width: 42px; border: 0; background: var(--alu); font: 500 1.25rem var(--body); color: var(--ink); cursor: pointer; }
.stepper button:hover { background: var(--line); }
.stepper input { width: 56px; border: 0; text-align: center; font: 600 1rem var(--body); padding: 9px 0; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.form-error { color: #a12d20; font-weight: 600; margin: 0; }

/* Cotizador */
.quote { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; padding-top: 16px; padding-bottom: 72px; align-items: start; }
.qh { font-size: 1.35rem; margin: 0 0 16px; }
.quote-panel .qh:not(:first-child) { margin-top: 28px; }
.qgroup { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.qgroup legend { display: flex; align-items: center; gap: 10px; font: 600 1.15rem var(--display); padding: 0; margin-bottom: 8px; }
.qgroup legend .ico { color: var(--sun); }
.qgroup ul { list-style: none; margin: 0; padding: 0; }
.qline { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.qline img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; background: var(--alu); }
.ql-name { display: grid; font-weight: 500; }
.ql-name small { color: var(--plan); font-weight: 600; font-size: .82rem; }
.qline.has-qty { background: linear-gradient(90deg, var(--sun-soft), transparent 70%); }
.quote-side { position: sticky; top: 92px; }
.quote-panel { border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: grid; gap: 14px; background: var(--paper); }
.quote-panel .qh { margin-bottom: 0; }
.summary ul { list-style: none; margin: 0; padding: 0; }
.summary li { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.summary li b { min-width: 34px; color: var(--sun); font-family: var(--display); }
.summary .empty { color: var(--ink-2); margin: 0; }
.quote-tools { display: flex; gap: 20px; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.contact-card { display: grid; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.contact-card .ico { color: var(--sun); margin-bottom: 8px; }
.contact-card strong { font: 600 1.1rem var(--display); }
.contact-card span { color: var(--ink-2); overflow-wrap: anywhere; }
.contact-card:hover { border-color: var(--ink); }

/* Valores */
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.values-3 { grid-template-columns: repeat(3, 1fr); }
.values li { border-top: 2px solid var(--ink); padding-top: 14px; }
.values p { color: var(--ink-2); margin: 0; }
.nf { padding: 80px 20px 120px; }

/* Footer */
.site-footer { background: var(--ink); color: #c9cfd4; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.site-footer h2 { font: 600 1rem var(--display); color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.logo-footer { margin-bottom: 16px; }
.logo-footer img { height: 72px; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid #3a4248; font-size: .85rem; }
.footer-legal p { margin: 0; display: flex; gap: 20px; flex-wrap: wrap; }

/* Barra móvil */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 2px solid var(--ink); }
  .mobile-bar .ico { width: 20px; height: 20px; }
  .mobile-bar .mb-wa { background: var(--sun); border-color: var(--sun); }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .two-col, .product, .product-details, .quote { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 28px; }
  .cat-index { grid-template-columns: 1fr; }
  .cat-index li:nth-last-child(2) a { border-bottom: 0; }
  .steps, .values-3 { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quote-side, .pd-plan { position: static; }
  .aud-list a { grid-template-columns: 1fr; gap: 2px; }
  .section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .pcard-text { display: none; }
  .pcard-name { font-size: 1rem; }
  .values, .contact-grid, .footer-grid, .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .qline { grid-template-columns: 44px 1fr auto; gap: 10px; }
  .qline img { width: 44px; height: 44px; }
  .stepper button { width: 36px; }
  .stepper input { width: 44px; }
  .cat-index a { grid-template-columns: 32px 1fr; }
  .ci-count { grid-row: auto; grid-column: 2; }
}

.wa-preview { border: 1px dashed var(--line); border-radius: 8px; padding: 14px; background: var(--alu); }
.wa-preview pre { white-space: pre-wrap; font: 400 .9rem/1.5 var(--body); margin: 0 0 12px; }

/* Clientes */
.clients .section-head p { margin: 0; }
.client-logos { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.client-logos li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); height: 132px; overflow: hidden; }
.client-logos img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.proof-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; font-weight: 600; }

/* Asesoramiento */
.advice { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.advice h2 { max-width: 22ch; }
.advice-list { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--sun); border-radius: var(--r); padding: 24px; }
.advice-list h3 { margin-bottom: 12px; }
.advice-list .ticks { margin: 0; }
.advice-note { border: 1px solid var(--line); border-left: 4px solid var(--sun); border-radius: var(--r); padding: 20px 24px; background: var(--paper); display: grid; gap: 10px; justify-items: start; }
.advice-note h2 { font-size: 1.3rem; margin: 0; }
.advice-note p { margin: 0; color: var(--ink-2); max-width: 62ch; }
.advice-note-form { justify-items: stretch; }
.advice-inline { font-size: .95rem; margin-top: 16px; }
.advice-inline a { font-weight: 600; }
.spacer { height: 40px; }
@media (max-width: 960px) {
  .advice { grid-template-columns: 1fr; gap: 28px; }
  .client-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .client-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .client-logos li { height: 104px; }
  .client-logos img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
  .logo img { height: 44px; }
}

/* Guía y zonas */
.guide { max-width: 860px; }
.guide h2 { margin-top: 40px; }
.guide h2:first-child { margin-top: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table-wrap thead th { font-size: .88rem; color: var(--ink-2); font-weight: 600; border-bottom: 2px solid var(--ink); }
.table-wrap tbody th { font-weight: 600; }
.table-wrap .num { text-align: right; white-space: nowrap; }
.zones { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.zones h3 { margin-top: 24px; }
.zone-list { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.zone-list li { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.facts div { padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.facts dd { margin: 2px 0 0; }
@media (max-width: 960px) { .zones, .facts { grid-template-columns: 1fr; gap: 0 24px; } }

/* Compatibilidad: navegadores sin aspect-ratio */
@supports not (aspect-ratio: 1) {
  .pcard-img { height: 0; padding-bottom: 100%; position: relative; }
  .pcard-img img { position: absolute; inset: 0; }
  .product-media { height: 0; padding-bottom: 100%; position: relative; }
  .product-media img { position: absolute; top: 0; left: 0; }
}

/* Impresión */
@media print {
  .site-header, .mobile-bar, .cta-band, .site-footer, .hero-actions, .add-box, .skip { display: none !important; }
  body { padding: 0; }
  a { text-decoration: none; }
}

/* Fotos */
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.work-grid figure { margin: 0; }
.work-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--alu); }
.work-grid figcaption { font-size: .9rem; color: var(--ink-2); margin-top: 8px; }
.product-gallery { display: grid; gap: 12px; }
.thumbs { display: flex; gap: 10px; }
.thumbs button { padding: 0; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; background: none; cursor: pointer; width: 88px; height: 88px; }
.thumbs button[aria-current='true'] { border-color: var(--sun); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.landing-photo { margin-top: 32px; margin-bottom: 0; }
.landing-photo img { width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 12px; }
.landing-photo figcaption { font-size: .9rem; color: var(--ink-2); margin-top: 8px; }
@media (max-width: 960px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

/* Inicio: carrusel de fotos */
.slider { position: relative; height: clamp(440px, 72vh, 640px); overflow: hidden; background: var(--ink); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.slide > img { width: 100%; height: 100%; object-fit: cover; }
.slide > img.pos-right { object-position: 72% 50%; }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 22, 25, .78) 0%, rgba(20, 22, 25, .45) 45%, rgba(20, 22, 25, 0) 75%); }
.slide-text { position: absolute; left: 0; right: 0; bottom: 0; top: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.slide-text h1, .slide-text .slide-title { font: 700 clamp(2.1rem, 1.3rem + 3vw, 3.6rem)/1.08 var(--display); letter-spacing: -0.01em; max-width: 16ch; margin: 0 0 14px; text-wrap: balance; }
.slide-text p { font-size: 1.15rem; max-width: 46ch; margin: 0; }
.slide-text .hero-actions { margin-top: 26px; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--alu); }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2; display: flex; gap: 8px; }
.slider-dots button { width: 30px; height: 6px; border-radius: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; }
.slider-dots button[aria-current='true'] { background: var(--sun); }
@media (max-width: 760px) {
  .slider { height: 560px; }
  .slide::after { background: linear-gradient(0deg, rgba(20, 22, 25, .85) 0%, rgba(20, 22, 25, .5) 55%, rgba(20, 22, 25, .1) 100%); }
  .slide-text { justify-content: flex-end; padding-bottom: 56px; }
  .slide-text p { font-size: 1.02rem; }
}
@media (prefers-reduced-motion: reduce) { .slide, .slide.is-active { transition: none; } }

/* Banners con foto */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; color: #fff; text-decoration: none; background: var(--ink); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 22, 25, .82) 0%, rgba(20, 22, 25, .2) 55%, rgba(20, 22, 25, 0) 100%); }
.tile-text { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: grid; gap: 2px; }
.tile-text strong { font: 700 1.55rem/1.15 var(--display); }
.tile-text span { font-size: .95rem; opacity: .92; }
.tile:hover img { transform: scale(1.04); }
.tile:hover strong { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.tiles-short .tile { aspect-ratio: 16 / 10; }
.intro-block { text-align: center; padding-top: 40px; }
.intro-block h2 { max-width: 24ch; margin: 0 auto 14px; text-wrap: balance; }
.intro-block .lead { margin: 0 auto 36px; }
.intro-block .tiles { text-align: left; }
.clients h2 { text-align: center; max-width: 30ch; margin: 0 auto 28px; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); text-wrap: balance; }
.logistics { background: var(--ink); color: #fff; padding: 56px 0; }
.logistics-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; }
.logistics h2 { color: #fff; margin-bottom: 8px; }
.logistics p { color: #c9cfd4; margin: 0; }
.logistics ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.logistics li { border-top: 3px solid var(--sun); padding-top: 14px; display: grid; gap: 6px; }
.logistics li strong { font: 600 1.1rem var(--display); }
.logistics li span { color: #c9cfd4; font-size: .95rem; }
.logistics a { color: #fff; }
@media (max-width: 960px) {
  .tiles { grid-template-columns: 1fr; }
  .tile, .tiles-short .tile { aspect-ratio: 16 / 9; }
  .logistics-grid, .logistics ul { grid-template-columns: 1fr; gap: 24px; }
}
