/* ==========================================================
   TAPAS TITO — Hoja de estilos principal
   Paleta industrial: carbón, blanco cálido y naranja de marca.
   ========================================================== */
:root {
    --ink: #092243;
    --ink-soft: #12345a;
    --paper: #f4f6f8;
    --white: #fff;
    --orange: #e67e22;
    --orange-dark: #c96510;
    --whatsapp: #25d366;
    --muted: #647184;
    --line: rgba(9, 34, 67, .12);
    --container: 1180px;
    --radius: 4px;
    --shadow: 0 12px 32px rgba(9, 34, 67, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 999; padding: 10px 16px; background: var(--orange); color: white; }
.skip-link:focus { top: 12px; }

/* Cabecera reutilizable */
.utility-bar { background: #06182f; color: #dbe5ef; font-size: .72rem; letter-spacing: .04em; }
.utility-inner { min-height: 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.utility-inner p { margin: 0; text-transform: uppercase; }
.utility-inner div { display: flex; gap: 10px; }
.utility-inner a:hover { color: white; }
.site-header { position: sticky; top: 0; z-index: 100; color: white; background: rgba(9, 34, 67, .98); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(12px); transition: transform .28s ease, box-shadow .28s ease; will-change: transform; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 10px 28px rgba(4, 19, 38, .18); }
.nav-shell { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 112px; height: auto; }
.main-nav > ul { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 1px; margin: 0; padding: 0; list-style: none; }
.main-nav li { position: relative; list-style: none; }
.main-nav a { display: block; padding: 8px 7px; border-bottom: 2px solid transparent; font-size: .70rem; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; white-space: nowrap; }
.main-nav a:hover, .main-nav a.is-active { color: white; border-bottom-color: white; }
.submenu-arrow { margin-left: 3px; font-size: .66rem; }
.submenu-toggle { display: none; }
.main-nav .submenu { position: absolute; left: 0; top: calc(100% + 8px); min-width: 210px; margin: 0; padding: 7px; visibility: hidden; opacity: 0; background: white; border-top: 3px solid var(--orange); box-shadow: var(--shadow); transform: translateY(7px); transition: opacity .2s, transform .2s, visibility .2s; }
.has-submenu:hover > .submenu, .has-submenu:focus-within > .submenu { visibility: visible; opacity: 1; transform: translateY(0); }
.main-nav .submenu a { padding: 9px 11px; border: 0; color: var(--ink); }
.main-nav .submenu a:hover, .main-nav .submenu a.is-active { color: white; background: var(--ink); }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px; background: white; }
.menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Componentes tipográficos y botones */
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.035em; }
h1 { margin-bottom: 20px; font-size: clamp(2.35rem, 5vw, 5rem); font-weight: 900; text-transform: uppercase; }
h2 { font-size: clamp(1.75rem, 3.2vw, 3.1rem); text-transform: uppercase; }
.eyebrow { margin-bottom: 11px; color: var(--ink); font-size: .70rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius); font-size: .79rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--orange); }
.button-primary:hover { background: var(--orange-dark); }
.button-ghost { color: white; border-color: rgba(255,255,255,.35); }
.button-ghost:hover { border-color: white; background: white; color: var(--ink); }
.button-light { color: var(--ink); background: white; }

/* Portadas y efecto visual */
.hero { position: relative; overflow: hidden; color: white; background: var(--ink); }
.home-hero, .hero-product { min-height: 700px; display: grid; align-items: center; }
.hero-noise { position: absolute; inset: 0; opacity: .16; background-image: repeating-linear-gradient(115deg, transparent 0, transparent 38px, rgba(255,255,255,.06) 39px, transparent 40px); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 40px; padding-block: 70px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 em { color: var(--orange); font-style: normal; }
.hero-lead { max-width: 650px; margin-bottom: 30px; color: #cfcdc8; font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.hero-visual { position: relative; min-height: 510px; display: grid; place-items: center; }
.hero-visual img { position: relative; z-index: 2; max-height: 520px; object-fit: contain; filter: drop-shadow(0 36px 30px rgba(0,0,0,.45)); }
.orange-orbit { position: absolute; width: min(39vw, 470px); aspect-ratio: 1; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 34px rgba(255,91,24,.08), 0 0 0 70px rgba(255,91,24,.035); }
.visual-label { position: absolute; right: 0; bottom: 30px; z-index: 3; padding: 10px 14px; color: var(--ink); background: white; font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-3deg); }
.hero-facts { display: flex; gap: 34px; margin: 50px 0 0; padding: 0; list-style: none; }
.hero-facts li { display: grid; }
.hero-facts strong { color: white; font-size: 1.45rem; }
.hero-facts span { color: #999; font-size: .72rem; text-transform: uppercase; }
.hero-product h1 { font-size: clamp(3rem, 6.4vw, 6.4rem); }

/* Secciones y tarjetas */
.section { padding-block: 110px; }
.section-heading { max-width: 760px; }
.section-heading > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.products-section { background: var(--paper); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 50px; }
.product-card { min-height: 300px; display: flex; flex-direction: column; padding: 34px; border: 1px solid var(--line); background: rgba(255,255,255,.44); transition: color .25s, background .25s, transform .25s; }
.product-card:hover { color: white; background: var(--ink); transform: translateY(-4px); }
.product-card > span { color: var(--orange); font-weight: 900; }
.product-card h3 { margin: auto 0 15px; font-size: clamp(1.8rem, 3vw, 3rem); text-transform: uppercase; }
.product-card p { max-width: 390px; color: var(--muted); }
.product-card:hover p { color: #c7c5c0; }
.product-card b { color: var(--orange); font-size: .78rem; text-transform: uppercase; }
.product-card.featured { color: white; background: var(--orange); border-color: var(--orange); }
.product-card.featured span, .product-card.featured b { color: var(--ink); }
.product-card.featured p { color: #fff3ec; }
.repair-teaser { position: relative; min-height: 610px; display: grid; align-items: center; overflow: hidden; color: white; background: #101010; }
.repair-bg { position: absolute; inset: -8%; background: linear-gradient(90deg,rgba(0,0,0,.92) 10%,rgba(0,0,0,.38)), url('../img/tapa-cilindro.png') 85% center / min(55vw,700px) auto no-repeat; }
.repair-content { position: relative; }
.repair-content h2 { max-width: 720px; font-size: clamp(3rem, 7vw, 7rem); }
.repair-content p:not(.eyebrow) { max-width: 600px; color: #c8c6c1; font-size: 1.15rem; }
.split-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; font-weight: 700; }
.feature-list span { color: var(--orange); }
.cta-band { padding-block: 72px; color: white; background: var(--orange); }
.cta-band .eyebrow { color: var(--ink); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { max-width: 800px; margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.8rem); }
.cta-inner p:last-child { margin-bottom: 0; }

/* Empresa */
.page-hero { color: white; background: var(--ink); }
.compact-hero { padding-block: 100px; }
.compact-hero h1 { max-width: 900px; font-size: clamp(3rem, 7vw, 7rem); }
.compact-hero p:last-child { max-width: 750px; color: #c8c6c1; font-size: 1.2rem; }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.story-image { min-height: 560px; display: grid; place-items: center; overflow: hidden; background: var(--ink); }
.story-image img { max-height: 520px; object-fit: contain; }
.value-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 35px; }
.value-row span { display: grid; padding-top: 16px; border-top: 2px solid var(--orange); color: var(--muted); font-size: .8rem; text-transform: uppercase; }
.value-row strong { color: var(--ink); font-size: 2rem; }
.values { padding-block: 90px; color: white; background: var(--ink); }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.value-grid article { padding-right: 30px; border-right: 1px solid rgba(255,255,255,.15); }
.value-grid article:last-child { border: 0; }
.value-grid span { color: var(--orange); font-weight: 900; }
.value-grid h2 { margin: 55px 0 16px; font-size: 2.1rem; }
.value-grid p { color: #aaa; }

/* Reparaciones */
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 45px; }
.service-grid article { min-height: 280px; padding: 28px; color: white; background: var(--ink); }
.service-grid b { color: var(--orange); }
.service-grid h3 { margin-top: 80px; font-size: 1.6rem; text-transform: uppercase; }
.service-grid p { color: #aaa; }
.process { padding-block: 100px; background: #e9e5dd; }
.process-list { margin: 0; padding: 0; list-style: none; counter-reset: process; }
.process-list li { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; font-weight: 800; text-transform: uppercase; }
.process-list span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--orange); }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; }
.contact-form { padding: 46px; background: white; box-shadow: var(--shadow); }
.form-heading { margin-bottom: 30px; }
.form-heading h2 { margin-bottom: 0; font-size: 2.6rem; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 18px; font-size: .77rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #d2cec6; border-radius: 0; padding: 13px; color: var(--ink); background: #faf9f6; outline: 0; text-transform: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,91,24,.12); }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: .78rem; }
.contact-card { padding: 46px; color: white; background: var(--ink); }
.contact-card h2 { font-size: 2.6rem; }
.contact-card dl { margin: 35px 0; }
.contact-card dl div { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-card dt { color: var(--orange); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-card dd { margin: 3px 0 0; color: #ceccc7; }
.contact-card a:hover { color: var(--orange); }
.map-link { display: flex; justify-content: space-between; font-weight: 900; text-transform: uppercase; }

/* Página provisoria para secciones aún no publicadas */
.construction { min-height: 680px; display: grid; place-items: center; overflow: hidden; color: white; background: var(--ink); }
.construction-inner { position: relative; padding-block: 90px; }
.construction-inner h1 { position: relative; z-index: 1; max-width: 940px; font-size: clamp(3rem, 8vw, 7.5rem); }
.construction-inner > p:not(.eyebrow, .construction-number) { position: relative; z-index: 1; max-width: 650px; color: #c9c7c2; font-size: 1.15rem; }
.construction-number { position: absolute; right: 2vw; top: -80px; margin: 0; color: rgba(255,91,24,.12); font-size: clamp(18rem, 40vw, 38rem); font-weight: 900; line-height: 1; }
.construction .button-row { position: relative; z-index: 1; margin-top: 30px; }

/* Pie y WhatsApp */
.site-footer { padding-top: 75px; color: #c7c5c0; background: #0c0c0c; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 70px; padding-bottom: 60px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-grid img { filter: grayscale(1); opacity: .9; }
.footer-grid p { margin: 5px 0; }
.footer-grid h2 { margin-bottom: 15px; color: white; font-size: .9rem; letter-spacing: .1em; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #777; font-size: .75rem; text-transform: uppercase; }
.footer-bottom p { margin: 0; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; align-items: center; gap: 10px; color: white; filter: drop-shadow(0 8px 18px rgba(0,0,0,.3)); }
.whatsapp-float img { width: 60px; height: 60px; border-radius: 50%; }
.whatsapp-float span { padding: 8px 12px; border-radius: 3px; background: #1d1d1d; font-size: .76rem; font-weight: 900; text-transform: uppercase; }

/* Animaciones progresivas: si JS falla, todo sigue visible */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Ajuste moderno y compacto: azul estructural, naranja sólo para conversión. */
.button { min-height: 44px; padding: 10px 19px; font-size: .73rem; }
.hero { color: var(--ink); background: #f7f9fb; }
.home-hero, .hero-product { min-height: 560px; }
.hero-grid { gap: 34px; padding-block: 48px; }
.hero-copy h1 em { color: var(--ink); }
.hero-lead { max-width: 600px; margin-bottom: 24px; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); }
.button-ghost { color: var(--ink); border-color: rgba(9,34,67,.3); }
.button-ghost:hover { color: white; border-color: var(--ink); background: var(--ink); }
.hero-visual { min-height: 400px; }
.hero-visual img { max-height: 410px; filter: drop-shadow(0 24px 25px rgba(9,34,67,.18)); }
.orange-orbit { width: min(34vw, 390px); background: #e9eef3; box-shadow: 0 0 0 28px rgba(9,34,67,.035), 0 0 0 58px rgba(9,34,67,.02); }
.hero-facts { gap: 28px; margin-top: 34px; }
.hero-facts strong { color: var(--ink); font-size: 1.2rem; }
.hero-facts span { color: var(--muted); }
.hero-product h1 { font-size: clamp(2.4rem, 4.8vw, 4.8rem); }
.section { padding-block: 76px; }
.section-heading { max-width: 680px; }
.section-heading > p:not(.eyebrow) { font-size: 1rem; }
.product-grid { gap: 18px; margin-top: 35px; }
.product-card { min-height: 240px; padding: 27px; border: 0; border-radius: 8px; background: white; box-shadow: var(--shadow); }
.product-card:hover { color: white; background: var(--ink); transform: translateY(-3px); }
.product-card > span { color: var(--ink); }
.product-card h3 { margin: auto 0 12px; font-size: clamp(1.45rem, 2.2vw, 2.3rem); }
.product-card.featured { color: var(--ink); background: white; border-top: 4px solid var(--ink); }
.product-card.featured span { color: var(--ink); }
.product-card.featured b { color: var(--orange); }
.product-card.featured p { color: var(--muted); }
.product-card.featured:hover { color: white; background: var(--ink); }
.product-card.featured:hover p { color: #c7d2de; }
.repair-teaser { min-height: 470px; background: var(--ink); }
.repair-content h2 { max-width: 680px; font-size: clamp(2.4rem, 5vw, 4.8rem); }
.cta-band { padding-block: 55px; background: var(--ink); }
.cta-band .eyebrow { color: white; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); }
.cta-band .button-light { color: white; background: var(--orange); }
.compact-hero { padding-block: 70px; }
.compact-hero h1 { font-size: clamp(2.6rem, 5.2vw, 5.2rem); }
.story-grid { gap: 58px; }
.story-image { min-height: 440px; border-radius: 8px; background: white; box-shadow: var(--shadow); }
.story-image img { max-height: 400px; }
.values, .site-footer { background: var(--ink); }
.value-grid h2 { margin-top: 35px; font-size: 1.75rem; }
.contact-form, .contact-card { padding: 36px; }
.contact-card { background: var(--ink); }
.contact-card dt, .value-grid span, .service-grid b { color: white; }
.process-list span { background: var(--ink); }
.construction-number { color: rgba(9,34,67,.08); }
.original-copy-visual { min-height: 330px; display: grid; place-items: center; padding: 28px; border-radius: 8px; background: white; box-shadow: var(--shadow); }
.original-copy-visual img { max-height: 300px; object-fit: contain; }

/* Consultador por vehículo y marcas reales. */
.vehicle-query { background: #edf1f5; }
.query-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; align-items: start; }
.brands-strip { padding-block: 34px; background: white; border-block: 1px solid var(--line); }
.brands-strip p { margin-bottom: 16px; color: var(--muted); font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.brands-strip div div { display: flex; flex-wrap: wrap; gap: 11px; }
.brands-strip span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 50px; color: var(--ink); font-size: .78rem; font-weight: 800; }
.whatsapp-float img { background: var(--whatsapp); }
.whatsapp-float span { background: var(--whatsapp); }

/* Páginas unificadas de Repuestos y Tapas de cilindro. */
.unified-hero { min-height: 520px; }
.compact-intro .large-copy { margin: 0; color: var(--muted); font-size: 1.02rem; }
.unified-card { display: grid; grid-template-columns: 1fr .85fr; gap: 45px; align-items: center; padding: 38px; border-radius: 10px; background: white; box-shadow: var(--shadow); }
.unified-card.reverse { grid-template-columns: .85fr 1fr; }
.unified-card.reverse .unified-card-copy { order: 2; }
.unified-card img { width: 100%; max-height: 340px; object-fit: contain; border-radius: 7px; }
.unified-card-copy h2 { margin-bottom: 16px; }
.unified-card-copy .button { margin-top: 8px; }
.parts-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.parts-card { overflow: hidden; border-radius: 9px; background: white; box-shadow: var(--shadow); }
.parts-card img { width: 100%; height: 220px; object-fit: contain; padding: 18px; background: #f8fafc; }
.parts-card div { padding: 25px; }
.parts-card h3 { font-size: 1.55rem; text-transform: uppercase; }
.parts-card a { color: var(--orange); font-size: .75rem; font-weight: 900; text-transform: uppercase; }
.service-compact-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 30px; }
.service-compact-grid article { min-height: 160px; padding: 20px; border-radius: 7px; background: white; box-shadow: var(--shadow); }
.service-compact-grid span { color: var(--ink); font-size: .72rem; font-weight: 900; }
.service-compact-grid p { margin: 32px 0 0; font-weight: 700; line-height: 1.35; }

/* Formulario dual: WhatsApp o correo. */
.consultation-section { background: #edf1f5; }
.consultation-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 48px; align-items: start; }
.form-card { padding: 38px; border-radius: 12px; background: white; box-shadow: var(--shadow); }
.home-quote-card { padding: 34px; }
.quote-form-heading { padding-bottom: 22px; text-align: center; }
.quote-form-title { margin: 0 0 7px; color: var(--ink); font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 900; text-align: center; text-transform: none; letter-spacing: -.035em; }
.quote-form-heading p { margin-bottom: 10px; color: var(--muted); }
.quick-badge { display: inline-block; padding: 4px 12px; border-radius: 50px; color: #1556a2; background: #e8f0ff; font-size: .72rem; font-weight: 800; }
.quote-form-section { padding-block: 22px; border-top: 1px solid var(--line); }
.quote-form-section h4 { display: flex; align-items: center; gap: 11px; margin: 0 0 16px; color: var(--ink); font-size: 1.05rem; }
.quote-form-section h4 > span { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--ink); font-size: .85rem; }
.consultation-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 19px 22px; }
.consultation-fields label { display: grid; gap: 7px; margin: 0; color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: 0; text-transform: none; }
.consultation-fields label > span b { color: #d92d20; }
.consultation-fields label > span small { color: var(--muted); font-weight: 600; }
.consultation-fields input, .consultation-fields textarea, .consultation-fields select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cdd5df; border-radius: 5px; color: var(--ink); background: white; outline: 0; text-transform: none; }
.consultation-fields textarea { min-height: 82px; resize: vertical; }
.consultation-fields input:focus, .consultation-fields textarea:focus, .consultation-fields select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(9,34,67,.08); }
.consultation-fields .full-field { grid-column: 1 / -1; }
.consultation-fields [hidden] { display: none; }
.website-field { position: absolute !important; left: -10000px; }
.channel-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.channel-field legend { margin-bottom: 8px; color: var(--ink); font-size: .72rem; font-weight: 800; }
.channel-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.channel-option { position: relative; display: block !important; cursor: pointer; }
.channel-option input { position: absolute; opacity: 0; pointer-events: none; }
.channel-card { min-height: 61px; display: flex; flex-direction: column; justify-content: center; padding: 9px 14px 9px 48px; border: 1px solid #cdd5df; border-radius: 6px; background: white; transition: border-color .2s, background .2s; }
.channel-card::before { content: ''; position: absolute; left: 16px; top: 23px; width: 12px; height: 12px; border: 2px solid #b7c1cd; border-radius: 50%; background: white; }
.channel-card strong { font-size: .82rem; }
.channel-card small { color: var(--muted); font-size: .68rem; font-weight: 500; }
.channel-option input:checked + .channel-card { border-color: #25d366; background: #f2fff7; }
.channel-option input:checked + .channel-card::before { border: 4px solid #25d366; }
.channel-option input[value="email"]:checked + .channel-card { border-color: var(--ink); background: #f4f7fa; }
.channel-option input[value="email"]:checked + .channel-card::before { border-color: var(--ink); }
.privacy-note { margin: 4px 0 9px; color: var(--muted); font-size: .68rem; }
.quote-submit { width: 100%; min-height: 52px; border: 0; border-radius: 5px; color: white; font-size: .87rem; font-weight: 900; cursor: pointer; transition: transform .2s, background .2s; }
.quote-submit:hover { transform: translateY(-2px); }
.quote-submit-whatsapp { background: #19ad4b; }
.quote-submit-whatsapp:hover { background: #128d3c; }
.quote-submit-email { background: var(--ink); }
.quote-submit-email:hover { background: var(--ink-soft); }
.quote-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.quote-footnote { margin: 9px 0 0; color: var(--muted); font-size: .72rem; text-align: center; }
.form-status { display: none; position: relative; margin: 14px 0 0; padding: 14px 16px 14px 46px; border: 1px solid transparent; border-radius: 8px; font-size: .84rem; font-weight: 800; line-height: 1.45; box-shadow: 0 8px 22px rgba(9, 34, 67, .10); }
.form-status.is-visible { display: block; animation: status-in .24s ease-out; }
.form-status::before { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; border-radius: 50%; color: white; font-size: .75rem; line-height: 20px; text-align: center; transform: translateY(-50%); }
.form-status.is-success { color: #146c38; border-color: #9ed9b5; background: #effbf3; }
.form-status.is-success::before { content: '✓'; background: #16833f; }
.form-status.is-error { color: #9f241b; border-color: #efb2ac; background: #fff3f2; }
.form-status.is-error::before { content: '!'; background: #b42318; }
@keyframes status-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* Tablet y celular */
@media (max-width: 1040px) {
    .menu-toggle { display: block; margin-left: auto; }
    .main-nav { position: fixed; inset: 102px 0 auto; max-height: calc(100vh - 102px); overflow: auto; padding: 20px; color: var(--ink); background: var(--paper); border-top: 1px solid var(--line); transform: translateY(-130%); visibility: hidden; transition: transform .3s, visibility .3s; }
    .main-nav.is-open { transform: translateY(0); visibility: visible; }
    .main-nav > ul { display: block; }
    .main-nav a { padding: 13px 8px; border-bottom: 1px solid var(--line); font-size: .9rem; }
    .main-nav a:hover, .main-nav a.is-active { color: var(--ink); border-bottom-color: var(--orange); }
    .has-submenu > a { padding-right: 44px; }
    .submenu-arrow { display: none; }
    .submenu-toggle { position: absolute; right: 2px; top: 4px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border: 0; color: var(--ink); background: transparent; cursor: pointer; }
    .main-nav .submenu { position: static; display: none; min-width: 0; padding: 5px 0 8px 16px; visibility: visible; opacity: 1; background: transparent; border: 0; box-shadow: none; transform: none; }
    .has-submenu.submenu-open > .submenu { display: block; }
    .main-nav .submenu a { font-size: .8rem; }
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .service-grid { grid-template-columns: 1fr 1fr; }
    .service-compact-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .utility-inner { min-height: 31px; justify-content: center; }
    .utility-inner p, .utility-inner a[href^="mailto"] { display: none; }
    .nav-shell { min-height: 76px; }
    .brand img { width: 102px; }
    .main-nav { inset-block-start: 103px; max-height: calc(100vh - 103px); }
    .hero-grid, .split-content, .story-grid, .contact-grid, .query-grid, .unified-card, .unified-card.reverse, .consultation-layout { grid-template-columns: 1fr; }
    .unified-card.reverse .unified-card-copy { order: initial; }
    .parts-card-grid, .consultation-fields { grid-template-columns: 1fr; }
    .consultation-fields .full-field { grid-column: auto; }
    .service-compact-grid { grid-template-columns: 1fr 1fr; }
    .unified-card { gap: 25px; padding: 24px; }
    .channel-options { grid-template-columns: 1fr; }
    .form-card, .home-quote-card { padding: 24px 20px; }
    .quote-form-title { font-size: 1.75rem; }
    .quote-form-heading p { font-size: .88rem; }
    .quote-form-section { padding-block: 18px; }
    .quote-form-section h4 { font-size: .95rem; }
    .consultation-fields input, .consultation-fields textarea, .consultation-fields select { min-height: 48px; font-size: 16px; }
    .quote-submit { min-height: 56px; padding: 10px; font-size: .78rem; }
    .home-hero, .hero-product { min-height: auto; }
    .hero-grid { padding-block: 60px 40px; gap: 0; }
    h1 { font-size: clamp(2.25rem, 11vw, 3.8rem); }
    .hero-visual { min-height: 300px; margin-top: 15px; }
    .hero-visual img { max-height: 290px; }
    .orange-orbit { width: 68vw; max-width: 290px; }
    .hero-facts { gap: 18px; margin-top: 36px; }
    .hero-facts strong { font-size: 1.1rem; }
    .hero-facts span { font-size: .62rem; }
    .section { padding-block: 58px; }
    .product-grid, .value-grid, .footer-grid { grid-template-columns: 1fr; }
    .product-card { min-height: 220px; padding: 23px; }
    .repair-teaser { min-height: 470px; }
    .repair-bg { background-position: 130px 160px; background-size: 620px auto; opacity: .72; }
    .cta-inner { align-items: flex-start; flex-direction: column; }
    .compact-hero { padding-block: 70px; }
    .story-grid { gap: 45px; }
    .story-image { min-height: 400px; }
    .value-grid article { padding: 0 0 26px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
    .value-grid h2 { margin-top: 25px; }
    .contact-form, .contact-card { padding: 28px 22px; }
    .vehicle-form { grid-template-columns: 1fr; padding: 22px; }
    .vehicle-form .query-product { grid-column: auto; }
    .vehicle-form .home-delivery, .vehicle-form .home-full, .vehicle-form .form-status { grid-column: auto; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { gap: 35px; }
    .footer-bottom { flex-direction: column; }
    .whatsapp-float span { display: none; }
}
@media (max-width: 480px) {
    .service-grid { grid-template-columns: 1fr; }
    .button-row .button { width: 100%; }
    .hero-facts { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Landing independiente: reparación y venta de tapas de cilindro. */
.landing-tapas { background: #f7f9fb; }
.landing-hero { position: relative; overflow: hidden; padding-block: 76px 64px; background: linear-gradient(115deg, #f7f9fb 0 64%, #eef2f6 64%); }
.landing-hero::before { content: ''; position: absolute; width: 420px; height: 420px; left: -250px; top: -210px; border: 80px solid rgba(230,126,34,.08); border-radius: 50%; }
.landing-hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 65px; align-items: center; }
.landing-hero-copy h1 { max-width: 760px; font-size: clamp(3rem, 5.7vw, 5.8rem); }
.landing-hero-copy h1 em { display: block; color: var(--orange); font-style: normal; }
.landing-lead { max-width: 680px; margin-bottom: 28px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.landing-whatsapp { color: #126c34; border-color: #1cac50; background: white; }
.landing-whatsapp:hover { color: white; background: #168e42; }
.landing-trust { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 44px 0 0; padding: 25px 0 0; border-top: 1px solid var(--line); list-style: none; }
.landing-trust li { display: grid; gap: 2px; }
.landing-trust strong { font-size: 1rem; }
.landing-trust span { color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.landing-image-frame { position: relative; min-height: 460px; display: grid; place-items: center; padding: 35px; border-radius: 14px; background: var(--ink); box-shadow: 28px 28px 0 var(--orange); }
.landing-image-frame::after { content: 'TAPAS TITO'; position: absolute; right: 19px; top: 19px; color: rgba(255,255,255,.25); font-size: .68rem; font-weight: 900; letter-spacing: .18em; }
.landing-image-frame img { max-height: 390px; object-fit: contain; filter: drop-shadow(0 25px 22px rgba(0,0,0,.4)); }
.landing-hero-visual > p { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 46px 0 0; color: var(--muted); font-size: .72rem; font-weight: 800; text-align: center; text-transform: uppercase; }
.landing-hero-visual > p span { color: var(--orange); }
.landing-hero-visual > p b { color: var(--ink); }
.landing-choice { background: white; }
.landing-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 42px; }
.landing-choice-grid article { position: relative; overflow: hidden; padding: 42px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; }
.landing-choice-grid article:last-child { color: white; border-color: var(--ink); background: var(--ink); }
.choice-number { position: absolute; right: 25px; top: 16px; color: rgba(9,34,67,.08); font-size: 5rem; font-weight: 900; line-height: 1; }
.landing-choice-grid article:last-child .choice-number { color: rgba(255,255,255,.08); }
.landing-choice-grid h3 { max-width: 430px; font-size: clamp(2rem,3.2vw,3.2rem); text-transform: uppercase; }
.landing-choice-grid article > p:not(.eyebrow) { max-width: 540px; color: var(--muted); }
.landing-choice-grid article:last-child > p, .landing-choice-grid article:last-child .eyebrow { color: #c6d0db; }
.landing-choice-grid ul { margin: 28px 0; padding: 0; list-style: none; }
.landing-choice-grid li { padding: 10px 0 10px 25px; border-bottom: 1px solid var(--line); }
.landing-choice-grid li::before { content: '✓'; display: inline-block; width: 25px; margin-left: -25px; color: var(--orange); font-weight: 900; }
.landing-choice-grid article:last-child li { border-color: rgba(255,255,255,.13); }
.landing-choice-grid article > a { color: var(--orange); font-size: .78rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.landing-choice-grid article > a span { margin-left: 7px; }
.landing-process { background: #edf1f5; }
.landing-process-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.landing-steps { margin: 0; padding: 0; list-style: none; }
.landing-steps li { display: flex; gap: 25px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.landing-steps li:first-child { padding-top: 0; }
.landing-steps li > span { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--orange); font-weight: 900; }
.landing-steps strong { display: block; margin-bottom: 5px; font-size: 1.15rem; text-transform: uppercase; }
.landing-steps p { margin: 0; color: var(--muted); }
.landing-proof { padding-block: 35px; color: white; background: var(--ink); }
.landing-proof-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.landing-proof-grid div { display: grid; padding-right: 25px; border-right: 1px solid rgba(255,255,255,.15); }
.landing-proof-grid div:last-child { border: 0; }
.landing-proof-grid strong { color: var(--orange); font-size: 1.05rem; text-transform: uppercase; }
.landing-proof-grid span { color: #bbc6d2; font-size: .82rem; }
.landing-contact-card { display: grid; gap: 5px; margin-top: 30px; padding: 23px; border-left: 4px solid var(--orange); background: white; box-shadow: var(--shadow); }
.landing-contact-card span { color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.landing-contact-card a { font-size: 1.8rem; font-weight: 900; }
.landing-contact-card strong { font-size: 1.18rem; line-height: 1.35; }
.landing-contact-card .landing-map-link { margin-block: 8px; color: var(--orange); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.landing-contact-card small { color: var(--muted); }
.landing-faq { background: white; }
.landing-faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 23px 45px 23px 0; cursor: pointer; font-weight: 900; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 10px; top: 18px; color: var(--orange); font-size: 1.7rem; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { padding-right: 40px; color: var(--muted); }
.landing-final-cta { padding-block: 75px; color: white; text-align: center; background: var(--ink); }
.landing-final-cta .eyebrow { color: var(--orange); }
.landing-final-cta h2 { max-width: 850px; margin-inline: auto; }
.landing-final-cta > div > p:not(.eyebrow) { color: #c0cbd6; }

@media (max-width: 900px) {
    .landing-hero-grid, .landing-process-grid, .landing-faq-grid { grid-template-columns: 1fr; gap: 45px; }
    .landing-image-frame { min-height: 380px; }
    .landing-choice-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .landing-hero { padding-block: 52px 48px; background: #f7f9fb; }
    .landing-hero-copy h1 em { display: inline; }
    .landing-hero .button-row .button { width: 100%; }
    .landing-trust { grid-template-columns: 1fr; gap: 13px; }
    .landing-image-frame { min-height: 300px; padding: 20px; box-shadow: 12px 12px 0 var(--orange); }
    .landing-image-frame img { max-height: 270px; }
    .landing-hero-visual > p { flex-wrap: wrap; margin-top: 30px; }
    .landing-choice-grid article { padding: 28px 23px; }
    .choice-number { font-size: 3.7rem; }
    .landing-proof-grid { grid-template-columns: 1fr; gap: 18px; }
    .landing-proof-grid div { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
    .landing-contact-card a { font-size: 1.45rem; }
}
