/* ==========================================================================
   REPARAMAS.es — hoja de estilos del sitio público (v4)
   Navy para cabecera y bloques oscuros, blanco para el contenido,
   verde REPARAMAS solo para acciones, estados activos y acentos.

   Índice
   01 VARIABLES        09 BENEFICIOS          17 VEN AL TALLER
   02 RESET            10 CATEGORÍAS          18 PIE
   03 BASE             11 REPARACIÓN AVANZADA 19 PÁGINAS INTERIORES
   04 TIPOGRAFÍA       12 ANTES / DESPUÉS     20 TIENDA Y CARRITO
   05 BOTONES Y TAGS   13 ASÍ TRABAJAMOS      21 FORMULARIOS
   06 CABECERA         14 SEGUIMIENTO         22 ESTADOS Y AVISOS
   07 HERO             15 PROMOCIONES         23 HTML PROPIO (panel)
   08 PRESUPUESTADOR   16 ANIMACIONES         24 RESPONSIVE
   ========================================================================== */

@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 400 800;
    font-stretch: 75% 125%;
    font-display: swap;
    src: url('/assets/fonts/archivo-variable.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 01 VARIABLES ------------------------------------------------------------ */
:root {
    --navy:      #0b1620;
    --navy-2:    #132330;
    --navy-3:    #1c3140;
    --navy-line: rgba(255, 255, 255, .10);
    --ink:       #0f1b24;
    --steel:     #5b6873;
    --steel-lt:  #a3b1bc;
    --paper:     #ffffff;
    --canvas:    #f4f6f7;
    --line:      #e2e7eb;
    --line-2:    #cfd7dd;
    --lime:      #92d804;
    --lime-hover:#a4e61f;
    --lime-deep: #4a7400;
    --lime-wash: #f1f9e3;
    --on-lime:   #0f1a00;
    --danger:    #b3261e;
    --danger-bg: #fdecea;
    --warn:      #7a4a00;
    --warn-bg:   #fdf2de;

    --r-sm: 10px;
    --r:    16px;
    --r-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(15, 27, 36, .06);
    --shadow:    0 1px 2px rgba(15, 27, 36, .05), 0 10px 30px rgba(15, 27, 36, .07);
    --shadow-lg: 0 2px 6px rgba(15, 27, 36, .06), 0 30px 60px rgba(15, 27, 36, .14);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --wrap: 1240px;
    --gutter: 24px;

    /* Nombres antiguos: los usa el HTML que se haya pegado desde el panel */
    --bg: var(--paper); --bg-raised: var(--canvas); --bg-card: var(--paper);
    --text: var(--ink); --text-dim: var(--steel); --text-faint: var(--steel);
    --blue: var(--lime-deep); --blue-dim: var(--lime-wash);
    --amber: var(--warn); --amber-dim: var(--warn-bg);
    --red: var(--danger); --red-dim: var(--danger-bg);
    --radius: var(--r); --mist: var(--canvas); --lime-ink: var(--lime-deep);
}

/* 02 RESET ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
img, svg, video, iframe { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

/* 03 BASE ----------------------------------------------------------------- */
body {
    background: var(--paper); color: var(--ink);
    font-family: 'Archivo', system-ui, -apple-system, sans-serif;
    font-size: 17px; line-height: 1.6; font-variation-settings: 'wdth' 100;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ico { display: block; flex: none; }
.tnum { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.top :focus-visible, .dark :focus-visible, .hero :focus-visible { outline-color: var(--lime); }
.section { padding: 96px 0; }
.section-tight { padding: 48px 0 96px; }
.section-mist, .section-canvas { background: var(--canvas); }
.dark { background: var(--navy); color: #fff; }

/* 04 TIPOGRAFÍA ----------------------------------------------------------- */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
.accent { color: var(--lime); }
.accent-deep { color: var(--lime-deep); }
.h-display { font-size: clamp(42px, 5.6vw, 78px); font-weight: 800; letter-spacing: -0.04em; line-height: .98; }
.h-page { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.h-section { font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; }
.h-card { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--steel); line-height: 1.55; max-width: 58ch; }
.dark .lead { color: var(--steel-lt); }
.kicker { display: inline-block; font-size: 15px; font-weight: 650; color: var(--lime-deep); margin-bottom: 14px; }
.dark .kicker, .hero .kicker { color: var(--lime); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-head .lead { margin-top: 14px; }
.sec-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 16px; text-decoration: none; color: var(--ink); }
.sec-link .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.sec-link:hover .ico { transform: translateX(3px); }

/* 05 BOTONES Y TAGS ------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 22px; border-radius: var(--r-sm); border: 1.5px solid transparent;
    font-size: 16px; font-weight: 650; line-height: 1.2; text-decoration: none; white-space: nowrap;
    cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn .ico { width: 19px; height: 19px; }
.btn:active { transform: translateY(1px); }
.btn-lime, .btn-primary { background: var(--lime); color: var(--on-lime); }
.btn-lime:hover, .btn-primary:hover { background: var(--lime-hover); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--navy-3); }
.btn-line, .btn-outline { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover, .btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); }
.dark .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.dark .btn-line:hover { border-color: #fff; }
.btn-sm { padding: 10px 16px; font-size: 15px; }
.btn-lg { padding: 17px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-icon { width: 50px; padding-left: 0; padding-right: 0; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.actions-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.link-btn { background: none; border: 0; padding: 6px; font-size: 15px; color: var(--steel); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--danger); }
.go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; border: 1.5px solid var(--line-2); color: var(--ink); transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.go .ico { width: 20px; height: 20px; }

.tag { display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: 12.5px; font-weight: 650; line-height: 1.45; white-space: nowrap; background: var(--canvas); color: var(--ink); }
.tag-urg { background: #fde2df; color: #8a1c14; }
.tag-adv { background: var(--ink); color: #fff; }
.tag-ok { background: var(--lime-wash); color: var(--lime-deep); }
.tag-warn { background: var(--warn-bg); color: var(--warn); }
.tag-out { background: var(--danger-bg); color: var(--danger); }

/* 06 CABECERA ------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11, 22, 32, .92); color: #fff; backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--navy-line); }
.top .wrap { display: flex; align-items: center; gap: 36px; height: 72px; position: relative; }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 21px; width: auto; }
.brand-text { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.brand-text span { color: var(--lime); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15.5px; font-weight: 550; color: var(--steel-lt); }
.nav a { text-decoration: none; padding: 6px 0; transition: color .2s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--lime); }
.nav-extra { display: none; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.top-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 600; text-decoration: none; color: #fff; margin-right: 4px; }
.top-phone .ico { width: 19px; height: 19px; color: var(--lime); }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); color: #fff; text-decoration: none; transition: background-color .2s var(--ease); }
.cart-link:hover { background: rgba(255, 255, 255, .08); }
.cart-link .ico { width: 23px; height: 23px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--lime); color: var(--on-lime); font-size: 11.5px; font-weight: 800; display: grid; place-items: center; }
.top .btn { padding: 11px 18px; font-size: 15px; }
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1.5px solid var(--navy-line); background: none; color: #fff; cursor: pointer; }
.menu-btn .ico { width: 22px; height: 22px; }

/* 07 HERO ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(146, 216, 4, .13), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 150px; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { color: #c3cdd5; margin-bottom: 30px; max-width: 50ch; }
.hero-points { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 30px; margin-bottom: 38px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 550; color: #e7edf1; }
.hero-points .ico { width: 20px; height: 20px; color: var(--lime); stroke-width: 2.6; }
.hero-media { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-2); box-shadow: 0 40px 80px rgba(0, 0, 0, .35); }
.hero-media > img { width: 100%; height: 100%; object-fit: cover; }
.hero-collage { position: absolute; inset: 0; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; padding: 12px; }
.hero-collage figure { position: relative; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #fff, #eef2f4); display: grid; place-items: center; }
.hero-collage figure:first-child { grid-row: span 2; }
.hero-collage img { width: 88%; height: 88%; object-fit: contain; }
.hero-devices { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 90% at 70% 20%, #203848 0%, var(--navy-2) 55%, #0d1a24 100%); }
.hero-devices svg { width: 86%; height: auto; }

/* 08 PRESUPUESTADOR -------------------------------------------------------- */
.quote-section { position: relative; z-index: 2; margin-top: -96px; padding-bottom: 24px; }
.quote { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 36px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 40px; }
.quote-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.quote-head h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.03em; }
.quote-head p { color: var(--steel); font-size: 16px; }
.quote-label { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 650; margin-bottom: 12px; }
.step-no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 800; flex: none; }
.devs { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; margin-bottom: 28px; }
.dev { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 6px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.2; text-align: center; cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease); }
.dev .ico { width: 34px; height: 34px; stroke-width: 1.6; }
.dev:hover { border-color: var(--line-2); transform: translateY(-1px); }
.dev[aria-pressed="true"] { border-color: var(--lime); background: var(--lime-wash); box-shadow: inset 0 0 0 1px var(--lime); }
.faults { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fault { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font-size: 15px; font-weight: 550; line-height: 1.25; text-align: left; cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.fault:hover { border-color: var(--line-2); }
.fault[aria-pressed="true"] { border-color: var(--lime); background: var(--lime-wash); box-shadow: inset 0 0 0 1px var(--lime); }
.quote-side { display: flex; flex-direction: column; }
.result { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 16px; background: var(--canvas); border-radius: var(--r); padding: 26px; }
.result-head { display: flex; align-items: center; gap: 14px; }
.result-head .ico { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--paper); box-shadow: var(--shadow-sm); stroke-width: 1.7; }
.result-name { font-size: 21px; font-weight: 750; letter-spacing: -0.015em; }
.result-meta { display: flex; gap: 32px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.result-meta span { display: block; font-size: 13px; color: var(--steel); }
.result-meta b { font-size: 17px; font-weight: 700; }
.result-desc { color: var(--steel); font-size: 15.5px; }
.result .btn { width: 100%; margin-top: 4px; white-space: normal; text-align: center; }
.result .btn .arrow { width: 17px; height: 17px; }
.quote-foot { margin-top: 12px; font-size: 14px; color: var(--steel); }

/* 09 BENEFICIOS ------------------------------------------------------------ */
.trust { padding: 56px 0 24px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { display: flex; align-items: center; gap: 16px; padding: 6px 28px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item .ico { width: 32px; height: 32px; color: var(--lime-deep); stroke-width: 1.7; }
.trust-item b { display: block; font-variant-numeric: tabular-nums; font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.trust-item span { display: block; font-size: 14.5px; color: var(--steel); }

/* 10 CATEGORÍAS ----------------------------------------------------------- */
.cats { padding: 96px 0; }
.cat-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cat-card { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 16px 22px 16px 16px; border-radius: var(--r); background: var(--canvas); text-decoration: none; transition: background-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.cat-card:hover { background: var(--paper); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-card:hover .go { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.cat-card-img { aspect-ratio: 1; border-radius: 12px; background: var(--paper); display: grid; place-items: center; overflow: hidden; }
.cat-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cat-card-img .ico { width: 54px; height: 54px; stroke-width: 1.3; color: #8c9ba6; }
.cat-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 4px; }
.cat-card p { font-size: 14.5px; color: var(--steel); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 11 REPARACIÓN AVANZADA --------------------------------------------------- */
.pro { padding: 110px 0; }
.pro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.pro-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-2); }
.pro-media > img { width: 100%; height: 100%; object-fit: cover; }
.pro-media .photo-art { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(90% 70% at 50% 40%, #1f3646, var(--navy-2)); }
.pro-media .photo-art svg { width: 76%; }
.pro-badge { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: rgba(11, 22, 32, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; max-width: 400px; }
.pro-badge .bdg { width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; flex: none; }
.pro-badge .bdg .ico { width: 22px; height: 22px; }
.pro-badge b { display: block; font-size: 16px; }
.pro-badge span { font-size: 14px; color: var(--steel-lt); }
.pro h2 { margin-bottom: 20px; }
.pro .lead { margin-bottom: 36px; }
.pro-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--navy-line); }
.pro-list li { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--navy-line); font-size: 17px; font-weight: 600; }
.pro-list li:nth-child(odd) { padding-right: 18px; }
.pro-list .ico { width: 24px; height: 24px; color: var(--lime); stroke-width: 1.7; }

/* 12 ANTES / DESPUÉS ------------------------------------------------------- */
.ba-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba-shot { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--canvas); }
.ba-shot > img { width: 100%; height: 100%; object-fit: cover; }
.ba-shot .ba-art { position: absolute; inset: 0; display: grid; place-items: center; }
.ba-shot .ba-art svg { width: 58%; }
.ba-label { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .04em; background: rgba(15, 27, 36, .82); color: #fff; }
.ba-after .ba-label { background: var(--lime); color: var(--on-lime); }
.ba-copy h3 { font-size: 26px; font-weight: 750; letter-spacing: -0.02em; margin-bottom: 18px; }
.checks { list-style: none; display: grid; gap: 12px; margin-bottom: 32px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.checks .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--lime-wash); color: var(--lime-deep); stroke-width: 3; }

/* 13 ASÍ TRABAJAMOS -------------------------------------------------------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.process li { display: flex; flex-direction: column; }
.process-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--paper); margin-bottom: 18px; display: grid; place-items: center; }
.process-img img { width: 100%; height: 100%; object-fit: cover; }
.process-img .ico { width: 52px; height: 52px; stroke-width: 1.3; color: var(--steel); }
.process-no { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 800; color: var(--lime-deep); font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.process-no::after { content: ""; flex: 1; height: 2px; margin-right: -20px; border-radius: 2px; background: linear-gradient(90deg, var(--lime), rgba(146, 216, 4, .25)); transform-origin: left; }
.process li:last-child .process-no::after { display: none; }
.process h3 { font-size: 20px; font-weight: 750; letter-spacing: -0.015em; margin-bottom: 6px; }
.process p { font-size: 15.5px; color: var(--steel); }

/* 14 SEGUIMIENTO ----------------------------------------------------------- */
.track-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding: 56px; border-radius: var(--r-lg); background: var(--navy); color: #fff; overflow: hidden; position: relative; }
.track-card::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; background: radial-gradient(closest-side, rgba(146, 216, 4, .14), transparent); pointer-events: none; }
.track-card h2 { margin-bottom: 16px; }
.track-card .lead { margin-bottom: 30px; }
.track-note { margin-top: 16px; font-size: 14.5px; color: var(--steel-lt); }
.track-note a { color: #fff; }
.tracker { position: relative; z-index: 1; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--r); padding: 26px 28px; }
.tracker-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--navy-line); font-size: 14.5px; color: var(--steel-lt); }
.tracker-head b { color: #fff; font-size: 16px; }
.tracker-state { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(146, 216, 4, .14); color: var(--lime); font-size: 13.5px; font-weight: 650; }
.tracker-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.steps { list-style: none; display: grid; gap: 0; }
.steps li { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding-bottom: 18px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; left: 12px; top: 26px; bottom: 0; width: 2px; background: var(--navy-3); }
.steps li:last-child::before { display: none; }
.steps .done::after { content: ""; position: absolute; left: 12px; top: 26px; bottom: 0; width: 2px; background: var(--lime); transform-origin: top; }
.pin { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--navy-3); background: var(--navy-2); color: var(--on-lime); position: relative; z-index: 1; }
.pin .ico { width: 14px; height: 14px; stroke-width: 3.4; }
.steps .done .pin { background: var(--lime); border-color: var(--lime); }
.steps .now .pin { border-color: var(--lime); }
.steps .now .pin::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.steps h3 { font-size: 16px; font-weight: 650; line-height: 1.4; }
.steps p { font-size: 14px; color: var(--steel-lt); }
.steps .ready h3, .steps .ready p { color: #7f909c; }

/* 15 PROMOCIONES ----------------------------------------------------------- */
.promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.promo { position: relative; display: grid; grid-template-rows: auto 1fr; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.promo:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.promo-shop { background: var(--navy); color: #fff; }
.promo-tests { background: var(--canvas); color: var(--ink); }
.promo-txt { padding: 40px 40px 0; max-width: 460px; position: relative; z-index: 1; }
.promo h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 12px; }
.promo p { font-size: 16.5px; opacity: .8; margin-bottom: 20px; }
.promo-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; }
.promo-shop .promo-cta { color: var(--lime); }
.promo-tests .promo-cta { color: var(--lime-deep); }
.promo-cta .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.promo:hover .promo-cta .ico { transform: translateX(4px); }
.promo-img { position: relative; align-self: end; display: flex; justify-content: flex-end; align-items: flex-end; padding: 0 28px 0 40px; min-height: 200px; }
.promo-img img { max-height: 250px; width: auto; max-width: 100%; object-fit: contain; }
.promo-img .ico { width: 150px; height: 150px; stroke-width: .9; opacity: .35; margin: 0 20px 30px auto; }
.promo-shop .promo-img::before { content: ""; position: absolute; right: -60px; bottom: -120px; width: 420px; height: 420px; background: radial-gradient(closest-side, rgba(146, 216, 4, .22), transparent); z-index: -1; }

/* 16 ANIMACIONES ----------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Escalonado: las tarjetas de una misma fila entran una detrás de otra */
.cat-cards > .reveal:nth-child(3n+2), .promo-grid > .reveal:nth-child(2), .ba-grid > .reveal:nth-child(2) { transition-delay: .1s; }
.cat-cards > .reveal:nth-child(3n) { transition-delay: .2s; }
.process > li:nth-child(2) { transition-delay: .12s; }
.process > li:nth-child(3) { transition-delay: .24s; }
.process > li:nth-child(4) { transition-delay: .36s; }
.process > li:nth-child(5) { transition-delay: .48s; }
.process > li:nth-child(6) { transition-delay: .6s; }

/* Cabecera: más sólida en cuanto se baja un poco */
.top { transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.top.is-scrolled { background: rgba(11, 22, 32, .98); box-shadow: 0 10px 30px rgba(0, 0, 0, .22); }

/* Portada: una sola entrada orquestada al cargar */
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroFade { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes devIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes devInLeft { from { opacity: 0; transform: translateX(-26px) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scan { 0% { transform: translateY(0); } 55%, 100% { transform: translateY(246px); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.js .hero-copy > * { animation: heroUp .8s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .12s; }
.js .hero-copy > :nth-child(3) { animation-delay: .22s; }
.js .hero-copy > :nth-child(4) { animation-delay: .32s; }
.js .hero-media { animation: heroFade 1s var(--ease) .15s both; }
.hero-devices g { transform-box: fill-box; transform-origin: center; }
.js .hd-laptop { animation: devIn .9s var(--ease) .45s both; }
.js .hd-pad { animation: devIn .9s var(--ease) .6s both; }
.js .hd-phone { animation: devInLeft 1s var(--ease) .7s both; }
.js .hd-watch { animation: devIn .9s var(--ease) .85s both; }
.hd-ring { transform-box: fill-box; transform-origin: center; animation: spin 2.4s linear infinite; }
.hd-scan { animation: scan 5s cubic-bezier(.5, 0, .5, 1) 1.6s infinite both; }
.hd-led { animation: blink 2.2s ease-in-out 1.8s infinite; }

/* Placa: corriente que llega al chip por las pistas */
@keyframes pulse-trace { from { stroke-dashoffset: 100; } to { stroke-dashoffset: -14; } }
@keyframes chip-glow { 0%, 100% { opacity: 0; transform: scale(1); } 40% { opacity: .5; transform: scale(2.6); } }
.trace-pulses path { stroke-dasharray: 14 100; stroke-dashoffset: 100; opacity: 0; }
.pro-media.is-in .trace-pulses path { opacity: 1; animation: pulse-trace 2.8s cubic-bezier(.4, 0, .6, 1) infinite; }
.pro-media.is-in .trace-pulses path:nth-child(2) { animation-delay: .7s; }
.pro-media.is-in .trace-pulses path:nth-child(3) { animation-delay: 1.4s; }
.pro-media.is-in .trace-pulses path:nth-child(4) { animation-delay: .35s; }
.pro-media.is-in .trace-pulses path:nth-child(5) { animation-delay: 1.05s; }
.pro-media.is-in .trace-pulses path:nth-child(6) { animation-delay: 1.75s; }
.pro-media.is-in .trace-pulses path:nth-child(7) { animation-delay: 2.1s; }
.pro-media.is-in .trace-pulses path:nth-child(8) { animation-delay: 2.45s; }
.chip-glow { transform-box: fill-box; transform-origin: center; opacity: 0; }
.pro-media.is-in .chip-glow { animation: chip-glow 1.4s ease-out infinite; }

/* Antes / después: se rompe, se repara */
@keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.3); } 70% { transform: scale(1.15); } 100% { opacity: 1; transform: none; } }
.ba-crack, .ba-ring, .ba-tick { stroke-dasharray: 100; }
.ba-impact, .checks .ico { transform-box: fill-box; transform-origin: center; }
.js .ba-pair.is-in .ba-impact { animation: pop .35s var(--ease) .25s both; }
.js .ba-pair.is-in .ba-crack { animation: draw .9s cubic-bezier(.2, .8, .3, 1) .35s both; }
.js .ba-pair.is-in .ba-ring { animation: draw .7s var(--ease) 1.25s both; }
.js .ba-pair.is-in .ba-tick { animation: draw .4s var(--ease) 1.8s both; }
.js .ba-copy.is-in .checks .ico { animation: pop .4s var(--ease) both; }
.js .ba-copy.is-in .checks li:nth-child(1) .ico { animation-delay: .5s; }
.js .ba-copy.is-in .checks li:nth-child(2) .ico { animation-delay: .75s; }
.js .ba-copy.is-in .checks li:nth-child(3) .ico { animation-delay: 1s; }
.js .ba-copy.is-in .checks li:nth-child(4) .ico { animation-delay: 1.25s; }
.js .ba-copy.is-in .checks li:nth-child(5) .ico { animation-delay: 1.5s; }
.js .ba-copy.is-in .checks li:nth-child(6) .ico { animation-delay: 1.75s; }

/* Así trabajamos: la línea une cada paso con el siguiente */
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.js .process li.is-in .process-no::after { animation: grow-x .8s var(--ease) both; }
.js .process li:nth-child(1).is-in .process-no::after { animation-delay: .4s; }
.js .process li:nth-child(2).is-in .process-no::after { animation-delay: .55s; }
.js .process li:nth-child(3).is-in .process-no::after { animation-delay: .7s; }
.js .process li:nth-child(4).is-in .process-no::after { animation-delay: .85s; }
.js .process li:nth-child(5).is-in .process-no::after { animation-delay: 1s; }

/* Seguimiento: la orden avanza paso a paso hasta «En reparación» */
@keyframes pin-on { from { background: var(--navy-2); border-color: var(--navy-3); } to { background: var(--lime); border-color: var(--lime); } }
@keyframes grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes now-ring { 0% { box-shadow: 0 0 0 0 rgba(146, 216, 4, .5); } 100% { box-shadow: 0 0 0 12px rgba(146, 216, 4, 0); } }
.js .track-card.is-in .steps li:nth-child(-n+3) .pin { animation: pin-on .35s var(--ease) both; }
.js .track-card.is-in .steps li:nth-child(-n+3) .pin .ico { animation: pop .4s var(--ease) both; }
.js .track-card.is-in .steps .done::after { animation: grow-y .45s var(--ease) both; }
.js .track-card.is-in .steps li:nth-child(1) .pin, .js .track-card.is-in .steps li:nth-child(1) .pin .ico { animation-delay: .5s; }
.js .track-card.is-in .steps li:nth-child(1)::after { animation-delay: .8s; }
.js .track-card.is-in .steps li:nth-child(2) .pin, .js .track-card.is-in .steps li:nth-child(2) .pin .ico { animation-delay: 1.15s; }
.js .track-card.is-in .steps li:nth-child(2)::after { animation-delay: 1.45s; }
.js .track-card.is-in .steps li:nth-child(3) .pin, .js .track-card.is-in .steps li:nth-child(3) .pin .ico { animation-delay: 1.8s; }
.js .track-card.is-in .steps li:nth-child(3)::after { animation-delay: 2.1s; }
.js .track-card.is-in .steps .now .pin::after { animation: pop .4s var(--ease) 2.5s both; }
@keyframes now-on { from { border-color: var(--navy-3); } to { border-color: var(--lime); } }
.js .track-card.is-in .steps .now .pin { animation: now-on .3s var(--ease) 2.35s both, now-ring 1.8s ease-out 2.9s infinite; }
.js .track-card.is-in .tracker-state { animation: fade-in .4s var(--ease) 2.6s both; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
    /* Sin movimiento: cada dibujo se queda directamente en su estado final */
    .hero *, .hero-media, .pro-media *, .ba-pair *, .checks *, .process *, .process *::after, .tracker *, .tracker *::before, .tracker *::after { animation: none !important; }
    .trace-pulses { display: none; }
}

/* 17 VEN AL TALLER ---------------------------------------------------------- */
.visit { padding: 110px 0; }
.visit-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: stretch; }
.visit h2 { margin-bottom: 30px; }
.visit dl { display: grid; grid-template-columns: 110px 1fr; gap: 18px 20px; font-size: 17px; margin-bottom: 36px; }
.visit dt { color: var(--steel-lt); }
.visit dd a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.visit dd a:hover { border-color: #fff; }
.map { position: relative; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.map-label { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--paper); color: var(--ink); font-size: 14.5px; font-weight: 650; text-decoration: none; box-shadow: var(--shadow); }
.map-label .ico { width: 18px; height: 18px; color: var(--lime-deep); }
.map-label:hover { background: var(--lime); color: var(--on-lime); }
.map-label:hover .ico { color: var(--on-lime); }

/* 18 PIE -------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--steel-lt); font-size: 15px; }
.visit + .site-footer .footer-cols { border-top: 1px solid var(--navy-line); }
.footer-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer-cols h2 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-cols p { margin-bottom: 9px; max-width: 34ch; line-height: 1.5; }
.footer-cols a { text-decoration: none; transition: color .2s var(--ease); }
.footer-cols a:hover { color: #fff; }
.footer-logo { height: 20px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 36ch; }
.footer-cta { margin-top: 22px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--navy-line); font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: none; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.wa-float .ico { width: 30px; height: 30px; }

/* 19 PÁGINAS INTERIORES ----------------------------------------------------- */
.page-head { background: var(--canvas); padding: 72px 0 56px; }
.page-head .h-page { max-width: 20ch; margin-bottom: 16px; }
.crumbs { font-size: 14.5px; color: var(--steel); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.cat-tabs, .filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.filters + .filters { margin-top: 10px; }
.cat-tab, .chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--line); font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.cat-tab .ico { width: 22px; height: 22px; }
.cat-tab:hover, .chip:hover { border-color: var(--ink); }
.cat-tab[aria-current="page"], .chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-sm { padding: 7px 13px; font-size: 14px; font-weight: 550; }
.cat-block { padding-top: 48px; }
.cat-block + .cat-block { margin-top: 24px; }
.cat-block-head { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.cat-block-head p { color: var(--steel); }
.spec-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--canvas); display: grid; place-items: center; flex: none; }
.spec-icon .ico { width: 28px; height: 28px; stroke-width: 1.7; }
.svc-list { list-style: none; margin-top: 18px; border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) 150px 140px auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.svc h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.svc p { font-size: 15.5px; color: var(--steel); max-width: 62ch; }
.svc-cell span { display: block; font-size: 13px; color: var(--steel); }
.svc-cell b { font-weight: 650; }
.note-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: 64px; padding: 36px 40px; border-radius: var(--r-lg); background: var(--navy); color: #fff; }
.note-box h2 { font-size: 26px; font-weight: 750; letter-spacing: -0.02em; margin-bottom: 4px; }
.note-box p { color: var(--steel-lt); }
.note-box .btn-ink { background: var(--lime); color: var(--on-lime); }
.note-box .btn-ink:hover { background: var(--lime-hover); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r); background: var(--canvas); text-decoration: none; transition: background-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
a.tile:hover { background: var(--paper); box-shadow: var(--shadow); transform: translateY(-2px); }
.tile .spec-icon { background: var(--paper); margin-bottom: 6px; }
.tile h3 { font-size: 19px; font-weight: 700; }
.tile p { flex: 1; font-size: 15.5px; color: var(--steel); }
.tile .meta { font-size: 14px; color: var(--steel); }
.tile .btn { align-self: flex-start; margin-top: 6px; }
.tile-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 650; color: var(--lime-deep); }
.tile-link .ico { width: 18px; height: 18px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.contact-list { list-style: none; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list .ico { width: 24px; height: 24px; margin-top: 2px; color: var(--lime-deep); }
.contact-list span { display: block; font-size: 14px; color: var(--steel); }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-portal { margin-top: 28px; padding: 26px; border-radius: var(--r); background: var(--canvas); }
.contact-portal h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.contact-portal p { font-size: 15.5px; color: var(--steel); margin-bottom: 16px; }
.contact-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); }
.card { padding: 24px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--paper); }
.pickup-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pickup-photo { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--canvas); display: grid; place-items: center; color: #8c9ba6; }
.pickup-photo img { width: 100%; height: 100%; object-fit: cover; }
.pickup-photo .ico { width: 110px; height: 110px; stroke-width: 1; }
.pickup-price { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 24px; border-radius: var(--r-sm); background: var(--lime-wash); color: var(--lime-deep); font-weight: 650; }
.pickup-price .ico { width: 20px; height: 20px; }
.pickup-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: pk; }
.pickup-steps li { padding: 28px; border-radius: var(--r); background: var(--paper); counter-increment: pk; }
.pickup-steps li::before { content: "0" counter(pk); display: block; font-size: 15px; font-weight: 800; color: var(--lime-deep); margin-bottom: 12px; }
.pickup-steps h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.pickup-steps p { font-size: 15.5px; color: var(--steel); }
.pack-list { list-style: none; display: grid; gap: 12px; }
.pack-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.pack-list .ico { width: 22px; height: 22px; color: var(--lime-deep); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 48px; align-items: start; }
.two-col-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* 20 TIENDA Y CARRITO -------------------------------------------------------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product { display: flex; flex-direction: column; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.product:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-img { aspect-ratio: 4 / 3; background: var(--canvas); display: grid; place-items: center; color: #8c9ba6; }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.product-img .ico { width: 58px; height: 58px; stroke-width: 1.2; }
.product-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.product-body > .tag { align-self: flex-start; }
.product h3 { font-size: 16.5px; font-weight: 650; line-height: 1.35; }
.product p { font-size: 14.5px; color: var(--steel); }
.product-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; }
.price { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.product-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.product-actions form { display: contents; }
.cart-lines { list-style: none; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) 90px 110px auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 72px; height: 72px; border-radius: 12px; background: var(--canvas); display: grid; place-items: center; overflow: hidden; color: #8c9ba6; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-thumb .ico { width: 32px; height: 32px; }
.cart-line h3 { font-size: 16.5px; font-weight: 650; line-height: 1.35; }
.cart-line small { font-size: 14px; color: var(--steel); }
.line-total { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty { width: 84px; padding: 11px 8px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--paper); text-align: center; font-size: 16px; }
.qty:focus { border-color: var(--ink); outline: none; }
.summary { position: sticky; top: 100px; padding: 28px; border-radius: var(--r); background: var(--canvas); }
.summary h2 { font-size: 21px; font-weight: 750; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 9px; font-size: 15.5px; color: var(--steel); font-variant-numeric: tabular-nums; }
.sum-total { display: flex; justify-content: space-between; margin: 16px 0 20px; padding-top: 14px; border-top: 1.5px solid var(--ink); font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.summary .btn { width: 100%; }
.summary-note { margin-top: 12px; font-size: 14px; color: var(--steel); }
.done-box { max-width: 640px; margin: 0 auto; padding: 96px 0; text-align: center; }
.done-mark { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; }
.done-mark .ico { width: 34px; height: 34px; stroke-width: 3; }
.order-no { display: inline-block; margin: 16px 0 20px; padding: 9px 16px; border-radius: var(--r-sm); background: var(--canvas); font-size: 21px; font-weight: 800; letter-spacing: .04em; font-variant-numeric: tabular-nums; }

/* 21 FORMULARIOS ------------------------------------------------------------- */
form.form { display: flex; flex-direction: column; gap: 18px; }
.form label, .field-label { display: block; margin-bottom: 7px; font-size: 14.5px; font-weight: 650; }
.form label small { font-weight: 450; color: var(--steel); }
.form input, .form textarea, .form select { width: 100%; padding: 13px 15px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--paper); font-size: 16px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(15, 27, 36, .07); }
.form textarea { min-height: 150px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fieldset-title { margin-top: 12px; font-size: 20px; font-weight: 750; letter-spacing: -0.015em; }
.help { font-size: 14.5px; color: var(--steel); }
.ship-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-bottom: 8px; padding: 16px 18px; border-radius: var(--r-sm); border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.ship-opt:hover { border-color: var(--line-2); }
.ship-opt:has(input:checked) { border-color: var(--lime); background: var(--lime-wash); }
.form .ship-opt input { width: 18px; height: 18px; padding: 0; accent-color: var(--lime-deep); }
.ship-opt b { display: block; font-weight: 650; }
.ship-opt small { font-size: 14px; color: var(--steel); }
.price-sm { font-weight: 700; font-variant-numeric: tabular-nums; }

/* 22 ESTADOS Y AVISOS -------------------------------------------------------- */
.alert { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; padding: 15px 18px; border-radius: var(--r-sm); font-size: 15.5px; }
.alert .ico { width: 22px; height: 22px; margin-top: 1px; }
.alert-warn { background: var(--warn-bg); color: var(--warn); }
.alert-error { background: var(--danger-bg); color: var(--danger); }
.alert-ok { background: var(--lime-wash); color: var(--lime-deep); }
.empty { padding: 72px 20px; text-align: center; color: var(--steel); }
.empty .ico { width: 52px; height: 52px; margin: 0 auto 18px; color: #9aa8b2; }
.empty h2 { font-size: 24px; font-weight: 750; color: var(--ink); margin-bottom: 8px; }
.empty .btn { margin-top: 22px; }

/* 23 HTML PROPIO (panel) ----------------------------------------------------- */
/* Las páginas y tests pegados desde el panel se diseñaron para fondo oscuro */
.custom-html {
    background: var(--navy); color: #e6ebf2;
    --bg: var(--navy); --bg-raised: var(--navy-2); --bg-card: var(--navy-2); --line: var(--navy-3);
    --text: #e6ebf2; --text-dim: var(--steel-lt); --text-faint: #7d8c98;
    --blue: var(--lime); --blue-dim: rgba(146, 216, 4, .12);
    --amber: #f5a623; --amber-dim: rgba(245, 166, 35, .12); --red: #f87171; --red-dim: rgba(248, 113, 113, .12);
}
.custom-html a { color: var(--lime); }

/* 24 RESPONSIVE --------------------------------------------------------------- */
@media (max-width: 1200px) {
    .nav { gap: 22px; }
    .cat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
    .top-phone { display: none; }
    .menu-btn { display: grid; }
    .nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px;
        background: var(--navy); border-bottom: 1px solid var(--navy-line); font-size: 18px; color: #fff;
    }
    .nav a { padding: 14px 0; border-bottom: 1px solid var(--navy-line); }
    .nav a[aria-current="page"] { box-shadow: none; color: var(--lime); }
    .nav.open { display: flex; }
    .nav-extra { display: block; }
    .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
    .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
    .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-top: 56px; padding-bottom: 130px; }
    .hero-media { aspect-ratio: 16 / 10; }
    .quote { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .pro-grid, .ba-grid, .visit-grid, .contact-grid, .two-col, .two-col-even, .pickup-hero, .track-card { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .pro-media { aspect-ratio: 16 / 11; }
    .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
    .process li:nth-child(2n) .process-no::after { display: none; }
    .pickup-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .svc { grid-template-columns: minmax(0, 1fr) 130px 120px; }
    .svc .btn { grid-column: 1 / -1; justify-self: start; }
    .summary { position: static; }
    .track-card { padding: 44px; }
}
@media (max-width: 768px) {
    :root { --gutter: 20px; }
    .section, .cats { padding: 72px 0; }
    .pro, .visit { padding: 80px 0; }
    .cat-cards, .promo-grid { grid-template-columns: minmax(0, 1fr); }
    .quote { padding: 26px 22px; }
    .quote-section { margin-top: -80px; }
    .map { min-height: 320px; }
}
@media (max-width: 640px) {
    body { font-size: 16.5px; }
    .top .wrap { height: 64px; gap: 10px; }
    .brand img { height: 17px; }
    .top-actions { gap: 6px; }
    .top-actions .btn { display: none; }
    .hero .wrap { padding-top: 40px; padding-bottom: 110px; }
    .hero-points { grid-template-columns: minmax(0, 1fr); }
    .hero .actions-row .btn { width: 100%; white-space: normal; }
    .hero-media { aspect-ratio: 4 / 3; }
    .quote { padding: 22px 16px; border-radius: var(--r); }
    .devs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .dev { padding: 12px 4px 10px; font-size: 13px; }
    .dev .ico { width: 28px; height: 28px; }
    .faults { grid-template-columns: minmax(0, 1fr); }
    .result { padding: 20px 18px; }
    .trust-grid { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
    .trust-item, .trust-item:nth-child(3) { border-left: 0; padding: 0; }
    .cat-card { grid-template-columns: 88px minmax(0, 1fr) auto; gap: 14px; padding: 12px 14px 12px 12px; }
    .cat-card h3 { font-size: 17px; }
    .pro-list { grid-template-columns: minmax(0, 1fr); }
    .pro-list li:nth-child(odd) { padding-right: 0; }
    .ba-pair { gap: 10px; }
    .process { grid-template-columns: minmax(0, 1fr); }
    .process-no::after { display: none; }
    .process-img.is-icon { aspect-ratio: auto; width: 64px; height: 64px; border-radius: 14px; margin-bottom: 14px; }
    .process-img.is-icon .ico { width: 30px; height: 30px; stroke-width: 1.6; color: var(--lime-deep); }
    .track-card { padding: 32px 22px; }
    .tracker { padding: 22px 18px; }
    .promo { min-height: 0; }
    .promo-txt { padding: 30px 26px 0; }
    .promo-img { min-height: 150px; padding: 0 20px 0 26px; }
    .promo-img img { max-height: 180px; }
    .visit dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .visit dt { margin-top: 14px; }
    .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 56px; }
    .page-head { padding: 44px 0 36px; }
    .section-tight { padding: 32px 0 72px; }
    .svc { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
    .svc > div:first-child { grid-column: 1 / -1; }
    .note-box { padding: 28px 24px; }
    .pickup-steps { grid-template-columns: minmax(0, 1fr); }
    .form-row { grid-template-columns: minmax(0, 1fr); }
    .cart-line { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px 14px; }
    .cart-thumb { width: 56px; height: 56px; }
    .cart-line .qty { grid-column: 2; width: 76px; }
    .cart-line .line-total { grid-column: 3; grid-row: 2; }
    .cart-line .link-btn { grid-column: 3; grid-row: 1; justify-self: end; }
    .wa-float { display: grid; }
}
@media (max-width: 380px) {
    :root { --gutter: 16px; }
    .devs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h-display { font-size: 38px; }
}

/* Páginas legales (aviso legal, privacidad, cookies) */
.legal .wrap { max-width: 760px; }
.legal .h-page { margin-bottom: 28px; }
.legal-texto h2 { font-size: 22px; margin: 32px 0 10px; }
.legal-texto h3 { font-size: 18px; margin: 24px 0 8px; }
.legal-texto p, .legal-texto li { color: var(--steel); line-height: 1.7; }
.legal-texto ul, .legal-texto ol { padding-left: 22px; margin: 0 0 16px; }
.legal-texto p { margin: 0 0 14px; }
.legal-texto a { text-decoration: underline; }
.legal-borrador { background: #fff7e6; border: 1px solid #f5c26b; color: #7a4b00; padding: 10px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; }

.form-privacy .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.form-privacy .check input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.form-privacy .help { font-size: 12.5px; line-height: 1.55; margin-top: 10px; }
.form-privacy a { text-decoration: underline; }

/* Fotos de la biblioteca (<picture> con WebP): se colocan igual que las <img> de siempre */
.hero-media > picture, .pro-media > picture, .ba-shot > picture, .process-img > picture, .promo-img > picture { display: contents; }
.hero-media > picture > img, .pro-media > picture > img, .ba-shot > picture > img { width: 100%; height: 100%; object-fit: cover; }
.ancla-bloque { scroll-margin-top: 80px; }

/* Bloques genéricos del editor de páginas */
.texto-foto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.texto-foto.foto-izquierda .texto-foto-img { order: -1; }
.texto-foto.sin-foto { grid-template-columns: minmax(0, 760px); }
.texto-foto .lead { margin-top: 16px; max-width: 60ch; }
.texto-foto-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--canvas); box-shadow: var(--shadow); }
.texto-foto-img > picture { display: contents; }
.texto-foto-img img { width: 100%; height: 100%; object-fit: cover; }
.bloque-oscuro { background: var(--navy); color: #fff; }
.bloque-oscuro .lead { color: var(--steel-lt); }
.ventajas { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.ventaja { padding: 28px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ventaja-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--lime-wash); color: var(--lime-deep); margin-bottom: 16px; }
.ventaja-ico .ico { width: 26px; height: 26px; }
.ventaja h3 { font-size: 18px; margin-bottom: 6px; }
.ventaja p { color: var(--steel); font-size: 15.5px; line-height: 1.55; }
.faq-lista { max-width: 860px; }
.faq .h-section { margin-bottom: 24px; }
.faq-lista { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 17.5px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--lime-deep); transition: transform .2s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--steel); line-height: 1.65; padding: 0 40px 22px 0; }
.bloque-aviso .note-box { margin-top: 0; }
@media (max-width: 900px) {
    .texto-foto { grid-template-columns: 1fr; gap: 32px; }
    .texto-foto.foto-izquierda .texto-foto-img { order: 0; }
}
.bloque-texto .legal-texto { max-width: 760px; }
.page-head + .bloque-texto { padding-top: 56px; }
/* Dos bloques genéricos blancos seguidos: sin doble espacio entre ellos */
.bloque-gen + .bloque-gen { padding-top: 0; }
.bloque-gen + .bloque-aviso { padding-top: 0; }

/* Catálogo: ficha de reparación y página de modelo */
.migas { font-size: 14px; color: var(--steel); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.migas a { color: var(--steel); text-decoration: none; }
.migas a:hover { color: var(--ink); text-decoration: underline; }
.migas span { color: var(--ink); font-weight: 600; }
.ficha-rep .h-page { max-width: none; }
.ficha-cab { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.ficha-cab.sin-foto { grid-template-columns: minmax(0, 860px); }
.ficha-foto { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.ficha-foto > picture { display: contents; }
.ficha-foto img { width: 100%; height: 100%; object-fit: cover; }
.ficha-foto-aparato img { object-fit: contain; padding: 18px; }
.ficha-datos { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; padding: 0; }
.ficha-datos li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 12px 18px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.ficha-datos .ico { grid-row: span 2; width: 26px; height: 26px; color: var(--lime-deep); }
.ficha-datos span { font-size: 12.5px; color: var(--steel); }
.ficha-datos b { font-size: 17px; }
.buscador-modelo { position: relative; max-width: 620px; margin-bottom: 40px; }
.buscador-modelo label { display: block; font-weight: 750; font-size: 20px; margin-bottom: 10px; }
.buscador-caja { position: relative; }
.buscador-caja .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--steel); }
.buscador-caja input { width: 100%; padding: 16px 18px 16px 50px; font-size: 17px; border: 2px solid var(--line-2); border-radius: var(--r); background: var(--paper); }
.buscador-caja input:focus { outline: none; border-color: var(--lime-deep); box-shadow: 0 0 0 4px var(--lime-wash); }
.sugerencias { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; list-style: none; margin: 0; padding: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); }
.sugerencias li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 10px; cursor: pointer; font-weight: 600; }
.sugerencias li span { color: var(--lime-deep); font-weight: 700; white-space: nowrap; }
.sugerencias li:hover, .sugerencias li[aria-selected="true"] { background: var(--lime-wash); }
.sugerencias li.sin { cursor: default; color: var(--steel); font-weight: 500; }
.sugerencias li.sin:hover { background: none; }
.opciones-rep { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.opcion-rep { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.opcion-foto { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--canvas); margin-bottom: 6px; }
.opcion-foto > picture { display: contents; }
.opcion-foto img { width: 100%; height: 100%; object-fit: cover; }
.opcion-rep h3 { font-size: 19px; }
.opcion-precio { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.opcion-plazo { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--steel); }
.opcion-plazo .ico { width: 18px; height: 18px; }
.opcion-rep p { color: var(--steel); font-size: 15px; line-height: 1.55; flex: 1; }
.opcion-rep .btn { margin-top: 8px; justify-content: center; }
.muted-nota { color: var(--steel); font-size: 14.5px; margin-top: 18px; }
.modelos-enlaces { margin-top: 48px; }
.modelos-enlaces h2 { font-size: 22px; margin-bottom: 14px; }
.modelos-enlaces h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--steel); margin: 18px 0 10px; }
.chips-modelos { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-modelos a { display: inline-flex; gap: 8px; align-items: baseline; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.chips-modelos a span { color: var(--lime-deep); font-size: 13px; }
.chips-modelos a:hover { border-color: var(--lime-deep); }
.rep-modelo-lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.rep-modelo { padding: 26px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.rep-modelo-cab { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.rep-modelo h2 { font-size: 21px; }
.rep-modelo h2 a { color: inherit; text-decoration: none; }
.rep-modelo-precios { list-style: none; padding: 0; margin: 0; flex: 1; }
.rep-modelo-precios li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rep-modelo-precios b { font-size: 17px; }
@media (max-width: 900px) { .ficha-cab { grid-template-columns: 1fr; gap: 28px; } }
.svc-enlace { color: inherit; text-decoration: none; }
.svc-enlace:hover { color: var(--lime-deep); text-decoration: underline; }
.rep-modelo-precios small.opcion-plazo { display: flex; font-size: 12.5px; margin-top: 2px; }
.rep-modelo-precios small .ico { width: 14px; height: 14px; }
.opcion-pedido { align-self: flex-start; display: inline-block; margin: 4px 0 2px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: #fff4d6; color: #8a5a00; }
.rep-modelo-precios small.opcion-pedido { display: table; margin-top: 3px; padding: 1px 8px; font-size: 11.5px; }
