:root {
    --navy: #061e35;
    --navy-2: #082d4c;
    --gold: #ffc118;
    --gold-2: #f5a900;
    --white: #ffffff;
    --ink: #061a2c;
    --muted: #64758a;
    --line: #dbe4ef;
    --soft: #f4f7fb;
    --danger: #d92d20;
    --success: #079455;
    --radius: 22px;
    --shadow: 0 20px 60px rgba(4, 22, 44, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--white);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 30, 53, .94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.navbar {
    width: min(1180px, calc(100% - 32px));
    height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: .02em; }
.brand img { width: 58px; height: 58px; object-fit: cover; border-radius: 12px; }
.brand span { color: var(--white); font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: rgba(255,255,255,.86); text-decoration: none; font-weight: 700; font-size: 14px; }
.nav-links a:hover { color: var(--gold); }
.nav-toggle { display: none; border: 0; background: var(--gold); color: var(--navy); border-radius: 10px; padding: 8px 12px; font-size: 20px; font-weight: 800; }

.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 78px);
    padding: 56px 0 72px;
    background:
        radial-gradient(circle at 15% 15%, rgba(255,193,24,.22), transparent 28%),
        linear-gradient(135deg, #061e35 0%, #082d4c 48%, #031526 100%);
}
.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.08);
}
.hero-bg::before { width: 620px; height: 620px; right: -160px; top: -160px; }
.hero-bg::after { width: 440px; height: 440px; left: -150px; bottom: -170px; }
.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 54px;
    align-items: center;
}
.hero-content { color: var(--white); }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .10em;
    font-size: 12px;
}
.eyebrow::before { content: ''; width: 34px; height: 3px; background: var(--gold); border-radius: 20px; }
.eyebrow.dark { color: var(--navy); }
.eyebrow.dark::before { background: var(--gold); }
h1 { font-size: clamp(42px, 6vw, 78px); line-height: .98; margin: 18px 0 20px; letter-spacing: -.055em; }
.hero-content p { font-size: 19px; line-height: 1.65; color: rgba(255,255,255,.82); max-width: 680px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-contact { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.hero-contact a {
    color: rgba(255,255,255,.88);
    text-decoration: none;
    font-weight: 800;
    padding: 10px 13px;
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}
.hero-contact a:hover { color: var(--gold); }
.hero-machine {
    position: relative;
    max-width: 740px;
    margin: 18px 0 0;
    pointer-events: none;
}
.hero-machine::before {
    content: '';
    position: absolute;
    left: 6%;
    right: 14%;
    bottom: 7%;
    height: 26%;
    border-radius: 999px;
    background: radial-gradient(ellipse at center, rgba(255,193,24,.22), transparent 66%);
    filter: blur(14px);
}
.hero-machine img {
    position: relative;
    z-index: 1;
    width: min(100%, 700px);
    transform: translateX(-5%);
    filter: drop-shadow(0 28px 34px rgba(0,0,0,.38));
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 21px;
    border-radius: 14px;
    border: 0;
    text-decoration: none;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy); box-shadow: 0 16px 34px rgba(255,193,24,.25); }
.btn-outline { color: var(--white); border: 1px solid rgba(255,255,255,.26); background: rgba(255,255,255,.06); }
.dark-outline { color: var(--navy); border: 1px solid var(--line); background: var(--white); }
.btn-submit { width: 100%; background: var(--navy); color: var(--white); }
.hero-metrics { display: flex; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.hero-metrics div { min-width: 130px; padding: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.10); border-radius: 18px; }
.hero-metrics strong { display: block; color: var(--gold); font-size: 24px; }
.hero-metrics span { display: block; color: rgba(255,255,255,.74); font-size: 13px; margin-top: 3px; }

.quote-card {
    background: rgba(255,255,255,.96);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.5);
}
.quote-head span { color: var(--gold-2); font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: .1em; }
.quote-head h2 { margin: 8px 0 8px; font-size: 30px; letter-spacing: -.035em; }
.quote-head p { color: var(--muted); margin: 0 0 18px; line-height: 1.5; }
.quote-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: grid; gap: 7px; }
.form-field label { font-size: 13px; font-weight: 900; color: var(--navy); }
.form-field b { color: var(--gold-2); }
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 13px 14px;
    font-size: 15px;
    color: var(--ink);
    background: var(--white);
    outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(255,193,24,.18); }
.form-field textarea { min-height: 94px; resize: vertical; }
.form-field small { color: var(--muted); font-size: 12px; }
.captcha-row { display: grid; grid-template-columns: 116px 1fr; align-items: end; gap: 12px; }
.captcha-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 10px;
    background: #f0f0f0;
    color: #111;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: .16em;
    transform: rotate(-1deg);
    user-select: none;
}
.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.check-row input { margin-top: 3px; }
.check-row a { color: var(--navy); font-weight: 800; }
.required-note { margin: -3px 0 0; color: var(--muted); font-size: 12px; }
.alert { padding: 12px 14px; border-radius: 12px; font-weight: 800; font-size: 14px; }
.alert.error { background: #fff1f0; color: var(--danger); border: 1px solid #ffc8c2; }
.alert.success { background: #ecfdf3; color: var(--success); border: 1px solid #abefc6; }

.section { padding: 86px 0; }
.section-title { max-width: 760px; margin-bottom: 36px; }
.section-title span { color: var(--gold-2); font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: .1em; }
.section-title h2,
.process h2,
.cta-strip h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.045em; margin: 8px 0 12px; line-height: 1.05; }
.section-title p,
.process p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.services { background: var(--soft); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 12px 32px rgba(7, 30, 52, .08);
    min-height: 300px;
}
.service-icon {
    width: 58px; height: 58px; border-radius: 16px;
    background: var(--navy);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-weight: 900;
    margin-bottom: 18px;
}
.service-card h3 { margin: 0 0 10px; font-size: 21px; }
.service-card p { color: var(--muted); line-height: 1.55; }
.service-card ul { padding-left: 18px; margin: 16px 0 0; color: var(--navy); font-weight: 700; line-height: 1.8; }

.process { background: var(--white); }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.steps { display: grid; gap: 14px; }
.steps div {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--soft);
}
.steps strong { width: 52px; height: 52px; border-radius: 14px; background: var(--gold); display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 22px; }
.steps span { font-weight: 800; }

.cta-strip { background: var(--navy); color: var(--white); padding: 56px 0; }
.cta-content { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.cta-content h2 { margin: 0; max-width: 760px; }

.site-footer { background: #031526; color: rgba(255,255,255,.78); padding: 46px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid img { width: 82px; border-radius: 14px; margin-bottom: 14px; }
.footer-grid strong { display: block; color: var(--white); margin-bottom: 10px; }
.footer-grid a { display: block; color: rgba(255,255,255,.76); text-decoration: none; margin: 7px 0; }
.footer-grid a:hover { color: var(--gold); }
.copyright { margin-top: 34px; padding: 18px; text-align: center; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }

.simple-header { height: 84px; display: flex; align-items: center; padding: 0 24px; background: var(--navy); }
.policy-page { padding: 44px 16px; background: var(--soft); }
.policy-document { max-width: 940px; margin: 0 auto; background: var(--white); padding: 42px; border-radius: 22px; box-shadow: var(--shadow); }
.policy-document h1 { color: var(--navy); font-size: 42px; }
.policy-document h2 { margin-top: 28px; color: var(--navy); }
.policy-document p { line-height: 1.7; color: #24374a; }
.muted { color: var(--muted) !important; }
.policy-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.thanks-body { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-2)); padding: 20px; }
.thanks-card { max-width: 560px; width: 100%; background: var(--white); border-radius: 24px; padding: 36px; text-align: center; box-shadow: var(--shadow); }
.thanks-card img { width: 100px; border-radius: 16px; margin: 0 auto 18px; }
.thanks-card span { color: var(--gold-2); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.thanks-card h1 { font-size: 34px; color: var(--navy); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-machine { max-width: 680px; margin: 24px auto 0; }
    .hero-machine img { transform: none; }
    .quote-card { max-width: 680px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .nav-toggle { display: inline-flex; }
    .nav-links {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 84px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 12px;
        border-radius: 18px;
        background: var(--navy);
        box-shadow: var(--shadow);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 13px; width: 100%; }
    .hero { padding-top: 36px; }
    .hero-machine { margin-top: 18px; }
    .hero-machine img { width: 100%; }
    .form-row,
    .captcha-row,
    .service-grid,
    .footer-grid { grid-template-columns: 1fr; }
    .cta-content { flex-direction: column; align-items: flex-start; }
    .quote-card,
    .policy-document { padding: 22px; }
    .brand span { font-size: 16px; }
    .brand img { width: 50px; height: 50px; }
}

/* ================================
   Ajustes V4: hero + reclamos
   ================================ */
.hero { isolation: isolate; }
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(6,30,53,.92) 0%, rgba(6,30,53,.78) 38%, rgba(6,30,53,.38) 64%, rgba(6,30,53,.74) 100%);
    pointer-events: none;
}
.hero-equipment-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-equipment-bg img {
    position: absolute;
    left: clamp(-140px, -6vw, -40px);
    top: 50%;
    width: min(880px, 67vw);
    transform: translateY(-46%);
    opacity: .54;
    filter: drop-shadow(0 34px 36px rgba(0,0,0,.38));
}
.hero-grid { z-index: 2; }
.hero-content {
    position: relative;
    z-index: 3;
    padding: 28px 26px 30px 0;
}
.hero-content h1,
.hero-content p,
.hero-actions,
.hero-contact,
.hero-metrics,
.hero-content .eyebrow {
    position: relative;
    z-index: 4;
}
.hero-content h1 {
    text-shadow: 0 12px 34px rgba(0,0,0,.55);
}
.hero-content p {
    text-shadow: 0 8px 22px rgba(0,0,0,.42);
}
.claims-section { background: linear-gradient(180deg, var(--white), var(--soft)); }
.claims-card {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 26px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: 0 18px 46px rgba(7, 30, 52, .10);
    padding: 34px;
}
.claims-card h2 { font-size: clamp(30px, 4vw, 46px); margin: 10px 0; letter-spacing: -.045em; }
.claims-card p { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 0; }
.claim-notes { display: grid; gap: 8px; margin-top: 18px; color: var(--navy); }
.claim-notes span { padding-left: 16px; border-left: 4px solid var(--gold); line-height: 1.45; }
.claims-actions { display: grid; gap: 12px; justify-items: stretch; }
.claims-actions .btn { width: 100%; }

/* Libro de reclamaciones */
.lr-body { background: var(--soft); color: var(--ink); }
.lr-shell { padding: 44px 16px 74px; }
.lr-document {
    max-width: 1120px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--line);
}
.lr-top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    align-items: center;
    padding: 30px 34px;
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    color: var(--white);
}
.lr-top img { width: 92px; border-radius: 16px; }
.lr-top h1 { font-size: clamp(32px, 5vw, 52px); margin: 0 0 8px; letter-spacing: -.045em; }
.lr-top p { margin: 0; color: rgba(255,255,255,.78); line-height: 1.55; }
.lr-provider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 18px 34px;
    background: #fff9e3;
    border-bottom: 1px solid #f4dda0;
    color: var(--navy);
    font-size: 14px;
}
.lr-provider b { display: block; margin-bottom: 2px; }
.lr-form { padding: 30px 34px 36px; display: grid; gap: 22px; }
.lr-section {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    background: #fff;
}
.lr-section h2 {
    margin: 0 0 16px;
    font-size: 22px;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
}
.lr-section h2::before {
    content: '';
    width: 10px;
    height: 28px;
    border-radius: 20px;
    background: var(--gold);
}
.lr-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.lr-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lr-radio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.lr-option {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: var(--soft);
    cursor: pointer;
}
.lr-option input { margin-top: 4px; }
.lr-option strong { display: block; color: var(--navy); margin-bottom: 4px; }
.lr-option span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.lr-note {
    border-radius: 16px;
    background: #f7fbff;
    border: 1px solid #dbeafe;
    color: #24405f;
    padding: 14px;
    line-height: 1.55;
    font-size: 14px;
}
.lr-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.lr-actions .btn { min-width: 190px; }
.field-error input,
.field-error select,
.field-error textarea { border-color: var(--danger) !important; box-shadow: 0 0 0 4px rgba(217,45,32,.12) !important; }
.field-error.check-row { color: var(--danger); }

@media (max-width: 980px) {
    .hero::before { background: linear-gradient(180deg, rgba(6,30,53,.90), rgba(6,30,53,.82)); }
    .hero-equipment-bg img {
        left: 50%;
        top: 34%;
        width: min(760px, 110vw);
        transform: translate(-50%, -50%);
        opacity: .28;
    }
    .hero-content { padding-right: 0; }
    .claims-card,
    .lr-provider { grid-template-columns: 1fr; }
    .claims-actions { justify-items: start; }
    .claims-actions .btn { width: auto; }
}
@media (max-width: 720px) {
    .hero-equipment-bg img {
        top: 28%;
        width: 125vw;
        opacity: .22;
    }
    .claims-card { padding: 24px; }
    .lr-top { grid-template-columns: 1fr; padding: 24px; }
    .lr-provider,
    .lr-form { padding-left: 20px; padding-right: 20px; }
    .lr-grid-2,
    .lr-grid-3,
    .lr-radio-grid { grid-template-columns: 1fr; }
    .lr-section { padding: 18px; }
    .lr-actions .btn { width: 100%; }
}

/* ================================
   V5: ruta logística + descargas
   ================================ */
.route-showcase {
    background:
        radial-gradient(circle at 20% 0%, rgba(0, 184, 255, .12), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}
.route-grid {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: 34px;
    align-items: center;
}
.route-copy h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -.045em;
    margin: 12px 0 14px;
    color: var(--navy);
}
.route-copy p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
    margin: 0;
}
.route-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.route-tags span {
    padding: 9px 12px;
    border-radius: 999px;
    background: var(--navy);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,.10);
}
.route-main-image {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(8,45,76,.15);
    box-shadow: 0 22px 56px rgba(6, 30, 53, .18);
    background: #031526;
}
.route-main-image::after {
    content: 'Ver imagen completa';
    position: absolute;
    right: 16px;
    bottom: 16px;
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--navy);
    background: var(--gold);
    font-weight: 900;
    font-size: 12px;
    box-shadow: 0 12px 24px rgba(0,0,0,.22);
}
.route-main-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .28s ease;
}
.route-main-image:hover img { transform: scale(1.025); }
.route-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 18px;
}
.route-gallery a {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(8,45,76,.13);
    background: #031526;
    box-shadow: 0 10px 26px rgba(6,30,53,.10);
}
.route-gallery img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    opacity: .9;
    transition: opacity .18s ease, transform .18s ease;
}
.route-gallery a:hover img { opacity: 1; transform: scale(1.04); }
.visual-guides {
    background: #031526;
    color: var(--white);
}
.visual-guides .section-title p { color: rgba(255,255,255,.70); }
.visual-guides .section-title h2 { color: var(--white); }
.guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.guide-card {
    display: block;
    text-decoration: none;
    color: var(--white);
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.05);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(0,0,0,.22);
    transition: transform .18s ease, border-color .18s ease;
}
.guide-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,193,24,.55);
}
.guide-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.guide-card strong {
    display: block;
    padding: 16px 16px 4px;
    color: var(--gold);
    font-size: 16px;
}
.guide-card span {
    display: block;
    padding: 0 16px 18px;
    color: rgba(255,255,255,.72);
    line-height: 1.5;
    font-size: 14px;
}
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.25fr; }
.footer-grid div:last-child a {
    padding-left: 0;
}

@media (max-width: 980px) {
    .route-grid { grid-template-columns: 1fr; }
    .route-gallery { grid-template-columns: repeat(3, 1fr); }
    .guide-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .route-gallery { grid-template-columns: 1fr 1fr; }
    .guide-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .route-tags span { font-size: 12px; }
}

/* ================================
   V5.1: carrusel de ruta logística
   ================================ */
.route-carousel {
    position: relative;
    width: 100%;
}
.route-carousel-frame {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(8,45,76,.16);
    background: #031526;
    box-shadow: 0 24px 62px rgba(6, 30, 53, .22);
}
.route-slide {
    display: none;
    position: relative;
}
.route-slide.active {
    display: block;
    animation: carouselFade .38s ease both;
}
@keyframes carouselFade {
    from { opacity: .35; transform: scale(.992); }
    to { opacity: 1; transform: scale(1); }
}
.route-slide a {
    display: block;
    text-decoration: none;
}
.route-slide img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.route-slide-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    color: var(--white);
    background: linear-gradient(135deg, rgba(3,21,38,.90), rgba(8,45,76,.70));
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 36px rgba(0,0,0,.22);
}
.route-slide-caption strong {
    display: block;
    color: var(--gold);
    font-size: 17px;
    margin-bottom: 4px;
}
.route-slide-caption span {
    display: block;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 1.42;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(3,21,38,.74);
    color: var(--white);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease, color .18s ease;
}
.carousel-btn:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-50%) scale(1.04);
}
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }
.carousel-open {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--navy);
    background: var(--gold);
    font-weight: 900;
    font-size: 12px;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(0,0,0,.22);
}
.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}
.carousel-dots button {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(6,30,53,.22);
    cursor: pointer;
    transition: width .18s ease, background .18s ease;
}
.carousel-dots button.active {
    width: 34px;
    background: var(--gold);
}
@media (max-width: 720px) {
    .route-slide-caption {
        position: static;
        border-radius: 0;
        background: #031526;
    }
    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 28px;
    }
    .carousel-open {
        top: 12px;
        right: 12px;
    }
}

/* ================================
   V5.2: selector de idiomas
   ================================ */
.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}
.language-switch a {
    width: auto !important;
    padding: 7px 10px !important;
    border-radius: 999px;
    color: rgba(255,255,255,.86);
    text-decoration: none;
    font-weight: 900;
    font-size: 12px;
    line-height: 1;
}
.language-switch a.active,
.language-switch a:hover {
    background: var(--gold);
    color: var(--navy) !important;
}
.simple-header-spread {
    justify-content: space-between;
    gap: 16px;
}
@media (max-width: 720px) {
    .nav-links .language-switch {
        margin-top: 8px;
        align-self: stretch;
        justify-content: center;
    }
    .simple-header-spread {
        height: auto;
        min-height: 84px;
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px;
    }
}
