/* ==========================================================================
   CargoTrak - estilos compartidos (index.html y aviso-privacidad.html)
   ========================================================================== */

/* ---------- Colores (tema claro) ---------- */
:root {
    --navy: #14295f;
    --blue: #1f3f94;
    --red: #d4212a;
    --red-deep: #a9141c;

    --primary: #1f3f94;
    --primary-hover: #17327a;
    --wa: #0e7a40;
    --wa-hover: #0b6635;

    --text: #1d2433;
    --muted: #4a5568;
    --bg: #ffffff;
    --bg-alt: #f2f5fa;
    --surface: #ffffff;
    --border: #dde3ee;
    --chip: #e4ebf9;
    --shadow: 0 10px 30px rgba(20, 41, 95, .10);
    --shadow-soft: 0 1px 2px rgba(20, 41, 95, .06), 0 4px 12px rgba(20, 41, 95, .05);
    --error: #b3141c;
    --success: #0e7a40;

    --radius: 14px;
    --header-h: 72px;
    --max: 1160px;
    --font: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;

    color-scheme: light;
}

/* ---------- Colores (tema oscuro) ---------- */
:root[data-theme="dark"] {
    --navy: #9db8ff;
    --blue: #5b84ee;
    --red: #ff4d55;
    --red-deep: #e8363f;

    --primary: #3d63c9;
    --primary-hover: #335ab8;

    --text: #e6ebf7;
    --muted: #a3afc6;
    --bg: #0a0f1f;
    --bg-alt: #0f1630;
    --surface: #131a30;
    --border: #2b3658;
    --chip: #1d2a4d;
    --shadow: 0 10px 30px rgba(0, 0, 0, .45);
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 12px rgba(0, 0, 0, .25);
    --error: #ff6b72;
    --success: #4fd18b;

    color-scheme: dark;
}

/* Sin JavaScript: sigue el tema del sistema */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --navy: #9db8ff;
        --blue: #5b84ee;
        --red: #ff4d55;
        --red-deep: #e8363f;
        --primary: #3d63c9;
        --primary-hover: #335ab8;
        --text: #e6ebf7;
        --muted: #a3afc6;
        --bg: #0a0f1f;
        --bg-alt: #0f1630;
        --surface: #131a30;
        --border: #2b3658;
        --chip: #1d2a4d;
        --shadow: 0 10px 30px rgba(0, 0, 0, .45);
        --shadow-soft: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 12px rgba(0, 0, 0, .25);
        --error: #ff6b72;
        --success: #4fd18b;
        color-scheme: dark;
    }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    transition: background-color .3s ease, color .3s ease;
}

img, svg { display: block; max-width: 100%; }
svg.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--blue); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -0.015em; }
h2 { font-size: clamp(28px, 4.5vw, 40px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px;
    font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* El logo tiene letras oscuras: en modo oscuro lleva contorno blanco suave */
:root[data-theme="dark"] .logo-outline {
    filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 0 10px rgba(255,255,255,.25));
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .logo-outline {
        filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 0 10px rgba(255,255,255,.25));
    }
}

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px;
    border-radius: 10px; border: 2px solid transparent;
    font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2;
    text-decoration: none; cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 48px; height: 48px; padding: 0 12px;
    background: var(--surface); color: var(--navy);
    border: 1px solid var(--border); border-radius: 8px;
    font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}
.icon-btn:hover { border-color: var(--blue); background: var(--bg-alt); }

/* ---------- Encabezado ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .3s ease;
}
.site-header::before {
    content: ""; display: block; height: 4px;
    background: linear-gradient(90deg, var(--blue) 0 62%, var(--red) 62% 100%);
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 18px rgba(20, 41, 95, .08); }

.header-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    height: var(--header-h);
}
.brand { display: block; flex-shrink: 0; }
.brand-logo { width: 150px; height: auto; }

.site-nav ul { list-style: none; display: flex; gap: 4px; }
.site-nav a {
    position: relative;
    display: block; padding: 8px 12px; border-radius: 8px;
    color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none;
    transition: color .3s ease-in-out, background-color .3s ease-in-out;
}
/* Subrayado rojo que crece desde el centro; absoluto para no mover el texto ni la altura */
.site-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute; left: 12px; right: 12px; bottom: 4px;
    height: 2px; border-radius: 2px;
    background: var(--red);
    transform: scaleX(0); transform-origin: center;
    transition: transform .3s ease-in-out .05s;
}
.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta):focus-visible { color: var(--navy); }
.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after { transform: scaleX(1); }
.site-nav .nav-cta { background: var(--primary); color: #fff; }
.site-nav .nav-cta:hover { background: var(--primary-hover); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .btn { min-height: 48px; padding: 8px 14px; font-size: 14px; white-space: nowrap; }
.menu-toggle { display: none; }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
    .menu-toggle { display: inline-flex; }
    .site-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        display: none;
    }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; padding: 8px 16px 16px; gap: 2px; }
    .site-nav a { padding: 12px; font-size: 16px; }
    .site-nav .nav-cta { margin-top: 8px; text-align: center; }
}
@media (max-width: 380px) {
    .brand-logo { width: 120px; }
}

/* ---------- Secciones ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
@media (max-width: 640px) { .section { padding: 56px 0; } }

.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 12px; }

.eyebrow, .section-head .eyebrow, .quote-copy .eyebrow {
    display: inline-block; margin: 0 0 10px;
    color: var(--red); font-size: 13px; font-weight: 800;
    letter-spacing: .12em; text-transform: uppercase;
}

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.grid-products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .3s ease;
}
.card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

.card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; margin-bottom: 18px;
    border-radius: 12px; background: var(--chip); color: var(--blue);
}
.card-icon svg { width: 28px; height: 28px; }

/* Foto (o icono grande) en la parte superior de la tarjeta */
.card-media {
    margin: -28px -24px 20px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
    background: var(--chip);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.04); }
/* Aviso sobre imágenes que no son fotos reales de CargoTrak */
.card-media { position: relative; }
.media-note {
    position: absolute; right: 8px; bottom: 8px;
    padding: 2px 8px; border-radius: 999px;
    background: rgba(10, 15, 31, .7); color: #fff;
    font-size: 11px; font-weight: 600; letter-spacing: .02em;
    pointer-events: none;
}
.card-media-icon { display: flex; align-items: center; justify-content: center; color: var(--blue); }
.card-media-icon svg { width: 72px; height: 72px; stroke-width: 1.5; opacity: .85; }

/* Galería */
.gallery figure {
    margin: 0; overflow: hidden;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.gallery figcaption { padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; list-style: none; }
.tags li {
    font-size: 12px; font-weight: 700; color: var(--blue);
    background: var(--chip); padding: 3px 10px; border-radius: 999px;
}

/* ---------- Inicio (hero) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0 88px; }
.hero::before, .hero::after {
    content: ""; position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1;
}
.hero::before { width: 460px; height: 460px; background: rgba(31, 63, 148, .18); top: -160px; left: -140px; }
.hero::after  { width: 400px; height: 400px; background: rgba(212, 33, 42, .13); bottom: -160px; right: -120px; }

.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 {
    font-size: clamp(34px, 6vw, 56px); font-weight: 800; line-height: 1.06;
    letter-spacing: -0.025em; margin-bottom: 20px;
}
.hero h1 .accent {
    background: linear-gradient(100deg, var(--blue) 0%, var(--red) 80%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.hero .lead { font-size: clamp(17px, 2.2vw, 19px); color: var(--muted); max-width: 54ch; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; list-style: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points svg { width: 18px; height: 18px; color: var(--success); }

.hero-photo {
    width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(20, 41, 95, .22);
    outline: 1px solid var(--border); outline-offset: -1px;
}
.hero-video { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.hero-still { display: none; }
.hero-media { position: relative; }
.hero-media::after {
    content: ""; position: absolute; left: 24px; right: 24px; bottom: -6px; height: 6px; border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, var(--blue) 0 62%, var(--red) 62% 100%);
    z-index: -1;
}

@media (max-width: 900px) {
    .hero { padding: 48px 0 64px; }
    .hero-inner { grid-template-columns: 1fr; gap: 32px; }
    .hero-media { max-width: 520px; }
}

/* ---------- A quién servimos ---------- */
.audience { display: flex; gap: 16px; align-items: flex-start; }
.audience .card-icon { flex-shrink: 0; margin-bottom: 0; }

/* ---------- Cobertura ---------- */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.coverage-copy .section-lead { color: var(--muted); font-size: 17px; margin-top: 12px; }
.coverage-map { color: var(--blue); }
.coverage-map .land { fill: var(--chip); stroke: var(--blue); stroke-width: 2; }
.coverage-map .city { fill: var(--red); }
.coverage-map .city-ring { fill: none; stroke: var(--red); stroke-width: 2; opacity: .5; }
.coverage-map text { fill: var(--text); font: 700 15px var(--font); }

.city-list { list-style: none; display: grid; gap: 12px; margin: 24px 0; }
.city-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.city-list .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(212, 33, 42, .18); flex-shrink: 0; }

.export-band {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
    padding: 18px 20px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border);
}
.export-band strong { color: var(--navy); }
.export-band .flags { display: flex; gap: 8px; }
.export-band .flags span {
    font-size: 12px; font-weight: 800; letter-spacing: .06em;
    padding: 4px 10px; border-radius: 6px; background: var(--chip); color: var(--blue);
}

@media (max-width: 900px) {
    .coverage { grid-template-columns: 1fr; gap: 24px; }
    .coverage-map { max-width: 520px; }
}

/* ---------- Por qué CargoTrak ---------- */
.feature { text-align: left; }
.feature .num {
    display: block; margin-bottom: 10px;
    font-size: 15px; font-weight: 800; color: var(--red); letter-spacing: .08em;
}

/* ---------- Cotización ---------- */
.quote { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.quote-copy p { color: var(--muted); margin: 12px 0 24px; }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.contact-list a { color: var(--text); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--blue); }

.quote-form {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14px; color: var(--text); }
.field .req { color: var(--red); }

.field input, .field select, .field textarea {
    width: 100%; min-height: 48px; padding: 10px 14px;
    font: inherit; font-size: 16px; color: var(--text);
    background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 63, 148, .2);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { min-height: 0; color: var(--error); font-size: 13px; font-weight: 600; }
.field-error:empty { display: none; }

.field-check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 0 10px; min-height: 48px; }
.field-check input { width: 20px; height: 20px; min-height: 0; margin-top: 14px; flex-shrink: 0; accent-color: var(--primary); }
.field-check label { flex: 1; font-weight: 500; padding: 12px 0; }
.field-check .field-error { flex-basis: 100%; }

.hp-field { position: absolute; left: -9999px; }

.form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-weight: 600; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--error); }
.form-status:empty { display: none; }

@media (max-width: 900px) {
    .quote { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
    .form-grid { grid-template-columns: 1fr; }
    .quote-form { padding: 22px 18px; }
    .form-actions .btn { width: 100%; }
}

/* ---------- Pie de página ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 56px 0 24px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-grid p, .footer-grid li { color: var(--muted); }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--blue); }
.footer-logo { width: 160px; height: auto; margin-bottom: 14px; }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
    margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border);
    color: var(--muted); font-size: 14px;
}
.footer-bottom a { color: var(--muted); }

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 60;
    display: flex; align-items: center; justify-content: center;
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--wa); color: #fff;
    box-shadow: 0 8px 24px rgba(14, 122, 64, .4);
    transition: transform .2s ease, background-color .2s ease;
}
.wa-float:hover { background: var(--wa-hover); color: #fff; transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; }
@media (max-width: 480px) { .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; } }

/* ---------- Página legal ---------- */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 800; margin-bottom: 8px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--text); margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
.prose .meta { color: var(--muted); margin-bottom: 28px; }
.prose .note {
    padding: 14px 18px; border-left: 4px solid var(--blue); border-radius: 8px;
    background: var(--bg-alt); color: var(--muted);
}
.pending { background: rgba(212, 33, 42, .12); color: var(--red); font-weight: 700; padding: 0 4px; border-radius: 4px; }

/* ---------- Ajustes móviles (<768px) ---------- */
@media (max-width: 767px) {
    /* Hero: texto y botones primero, foto como franja debajo */
    .hero { padding: 32px 0 48px; }
    .hero-inner { gap: 24px; }
    .hero .lead { margin-bottom: 24px; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; }
    .hero-media { max-width: none; }
    .hero-photo { aspect-ratio: 16 / 9; max-height: 200px; }

    /* Productos y galería: una sola columna */
    .grid-products, .gallery {
        grid-template-columns: 1fr; gap: 16px;
        max-width: 520px; margin-inline: auto;
    }
    .card-media-icon { aspect-ratio: 16 / 7; }
    .card-media-icon svg { width: 56px; height: 56px; }

    /* Tarjetas más legibles */
    .card { padding: 24px 16px; box-shadow: var(--shadow-soft); }
    .card-media { margin: -24px -16px 16px; }
    .card h3 { font-size: 20px; }
    .card p { font-size: 16px; line-height: 1.6; }
    .tags li { font-size: 13px; padding: 4px 12px; }
    .gallery figcaption { font-size: 15px; }
    .quote-form { padding: 24px 16px; }

    /* Áreas táctiles de 48px en enlaces de contacto y pie */
    .footer-grid ul { gap: 0; }
    .footer-grid a, .contact-list a { display: inline-flex; align-items: center; min-height: 48px; }

    /* Acciones fijas abajo: reemplazan al botón flotante */
    .wa-float { display: none; }
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    .sticky-actions {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
        padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
        background: color-mix(in srgb, var(--bg) 90%, transparent);
        backdrop-filter: saturate(160%) blur(10px);
        -webkit-backdrop-filter: saturate(160%) blur(10px);
        border-top: 1px solid var(--border);
        transform: translateY(100%);
        transition: transform .3s ease-in-out;
    }
    .sticky-actions.is-visible { transform: translateY(0); }
    .sticky-actions .btn { min-height: 48px; padding: 12px 16px; }
}
@media (min-width: 768px) {
    .sticky-actions { display: none; }
}

/* En pantallas táctiles el hover se queda "pegado" al tocar */
@media (hover: none) {
    .card:hover { transform: none; box-shadow: var(--shadow-soft); }
    .card:hover .card-media img { transform: none; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hero-video { display: none; }
    .hero-still { display: block; }
}
