:root {
    --franchise-ink: #142521;
    --franchise-muted: #53645e;
    --franchise-green: #376217;
    --franchise-gold: #d4a768;
    --franchise-gold-ink: #805b2a;
    --franchise-line: #e3e6df;
    --franchise-nav-height: 76px;
}
html { scroll-padding-top: calc(var(--franchise-nav-height) + 24px); }
body { line-height: 1.6; }
[hidden] { display: none !important; }
a, button, input { touch-action: manipulation; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:where(a, button, input):focus-visible {
    outline: 3px solid var(--franchise-gold);
    outline-offset: 4px;
}
main:focus { outline: none; }
main :where(section, h3)[id] { scroll-margin-top: 12px; }
main :where(.grid) > * { min-width: 0; }
.skip-link {
    position: fixed; top: 8px; left: 16px; z-index: 60;
    padding: 12px 20px; border-radius: 8px;
    background: white; color: var(--franchise-ink); font-weight: 700;
    transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.franchise-header {
    position: fixed; inset: 0 0 auto; z-index: 40;
    background: rgb(14 27 24 / 97%);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgb(255 255 255 / 12%);
}
.franchise-nav {
    max-width: 1280px; margin-inline: auto; padding-inline: 24px;
    height: var(--franchise-nav-height);
    display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.franchise-brand { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.franchise-brand img { width: 124px; height: 40px; object-fit: contain; }
.franchise-brand-label {
    padding-left: 18px; border-left: 1px solid rgb(255 255 255 / 20%);
    font-size: 10px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--franchise-gold); white-space: nowrap;
}
.franchise-links { display: flex; align-items: center; gap: 26px; }
.franchise-links a {
    position: relative; padding-block: 26px; color: #d7dfda;
    font-size: 13px; font-weight: 600; white-space: nowrap;
    transition: color .2s ease;
}
.franchise-links a:hover, [data-section][aria-current] { color: var(--franchise-gold); }
.franchise-links a[aria-current]::after {
    content: ''; position: absolute; inset: auto 0 14px;
    height: 2px; border-radius: 2px; background: var(--franchise-gold);
}
.franchise-nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
a.franchise-whatsapp {
    color: var(--franchise-ink); background: #25d366;
    gap: 10px; line-height: 1.4; text-align: center;
    transition: background .2s ease, box-shadow .2s ease;
}
a.franchise-whatsapp:hover { background: #55e68b; box-shadow: 0 4px 16px rgb(37 211 102 / 12%); }
.franchise-whatsapp > i { flex-shrink: 0; }
a.franchise-nav-cta {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 12px 20px; border-radius: 999px;
    white-space: nowrap; font-size: 13px; font-weight: 800;
}
.franchise-nav-cta i { font-size: 20px; }
.franchise-menu-toggle {
    display: none; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid rgb(255 255 255 / 22%); color: white;
}
.franchise-mobile-nav {
    max-height: calc(100dvh - var(--franchise-nav-height)); overflow-y: auto;
    padding: 12px 24px 20px; border-top: 1px solid rgb(255 255 255 / 10%);
}
.franchise-mobile-nav a {
    display: flex; justify-content: space-between; align-items: center;
    min-height: 52px; padding: 12px; color: #e2e8e4;
    font-size: 14px; font-weight: 600; border-radius: 8px;
}
.franchise-mobile-nav a:hover { background: rgb(255 255 255 / 6%); }
.franchise-mobile-nav i { font-size: 12px; color: var(--franchise-gold); }
.franchise-hero { padding-top: 128px; padding-bottom: 48px; }
.franchise-hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 40px 56px; align-items: center; }
.franchise-hero-grid > * { min-width: 0; }
.franchise-headline { font-size: clamp(36px, 3.7vw, 52px); line-height: 1.1; letter-spacing: -.04em; max-width: 640px; }
.franchise-intro { max-width: 62ch; font-size: 15px; line-height: 1.85; }
.franchise-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.franchise-primary-action, .franchise-secondary-action {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 13px 20px; border-radius: 999px;
    font-size: 13px; font-weight: 700; line-height: 1.5;
    transition: background .2s ease, border-color .2s ease;
}
.franchise-primary-action { background: var(--franchise-gold); color: var(--franchise-ink); }
.franchise-primary-action:hover { background: #e4bc83; }
.franchise-secondary-action { border: 1px solid rgb(255 255 255 / 30%); color: white; }
.franchise-secondary-action:hover { background: rgb(255 255 255 / 8%); border-color: var(--franchise-gold); }
.franchise-stats {
    grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    background: rgb(255 255 255 / 4%); border: 1px solid rgb(255 255 255 / 12%); border-radius: 20px;
}
.franchise-stat { padding: 20px 24px; }
.franchise-stat + .franchise-stat { border-left: 1px solid rgb(255 255 255 / 12%); }
.franchise-stat-value { font-size: clamp(25px, 2.5vw, 32px); line-height: 1.3; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.franchise-stat-share { color: #a6b6ae; font-size: .7em; }
.franchise-stat > p:last-child { margin-top: 4px; line-height: 1.6; }
.franchise-video-card { grid-column: 2; grid-row: 1; padding: 16px; border: 1px solid rgb(212 167 104 / 35%); background: rgb(255 255 255 / 4%); border-radius: 24px; box-shadow: 0 24px 60px rgb(0 0 0 / 20%); }
.franchise-video-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 4px 14px; font-size: 12px; font-weight: 600; }
.franchise-video-heading i { margin-right: 6px; color: var(--franchise-gold); }
.franchise-video-duration { color: #b7c4bc; white-space: nowrap; font-size: 11px; }
.franchise-video-frame { position: relative; border-radius: 14px; overflow: hidden; background: black; }
.franchise-video-frame video { display: block; }
.franchise-video-play {
    position: absolute; inset: 0 0 42px; width: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    padding: 12px; color: white; background: linear-gradient(rgb(14 27 24 / 35%), rgb(14 27 24 / 85%));
    font-size: 14px; font-weight: 700;
}
.franchise-video-play:focus-visible { outline-offset: -5px; }
.franchise-play-icon {
    display: flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; padding-left: 3px; border-radius: 50%;
    background: var(--franchise-gold); color: var(--franchise-ink); font-size: 22px;
    box-shadow: 0 0 0 8px rgb(212 167 104 / 12%); transition: transform .2s ease;
}
.franchise-video-play:hover .franchise-play-icon { transform: scale(1.06); }
.franchise-play-hint { color: #ced8d1; font-size: 11px; font-weight: 500; }
.franchise-video-caption { margin: 12px 4px 0; color: #b7c4bc; font-size: 11px; line-height: 1.6; }
main h2 { letter-spacing: -.035em; line-height: 1.2; text-wrap: balance; }
main .text-rc-gold { color: var(--franchise-gold-ink); }
main .text-rc-goldLight { color: var(--franchise-gold); }
.franchise-hero .text-rc-gold, #como-funciona .text-rc-gold, #proyeccion .bg-rc-dark .text-rc-gold { color: var(--franchise-gold); }
.franchise-comparison .space-y-3\.5 > div > .flex { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 16px; line-height: 1.6; }
.franchise-comparison .space-y-3\.5 > div > .flex > span:last-child { white-space: nowrap; }
.franchise-comparison > .grid > div > div:first-child > .flex { align-items: flex-start; flex-wrap: wrap; }
.franchise-comparison > .grid > div > div:last-child { flex-wrap: wrap; gap: 16px; }
.franchise-comparison-table { margin-top: 24px; }
.franchise-comparison-head, .franchise-comparison-row { display: grid; grid-template-columns: minmax(0, 1fr) 86px 86px; align-items: center; gap: 12px; }
.franchise-comparison-head { padding-bottom: 10px; font-size: 11px; font-weight: 700; color: var(--franchise-muted); }
.franchise-comparison-row { padding: 15px 0; border-top: 1px solid var(--franchise-line); font-size: 13px; }
.franchise-comparison-row dt { font-weight: 700; }
.franchise-comparison-row dt i { color: var(--franchise-green); margin-right: 4px; }
.franchise-comparison-row small { display: block; margin-top: 3px; font-size: 11px; color: var(--franchise-muted); font-weight: 500; }
.franchise-comparison-row dd { font-weight: 800; color: var(--franchise-green); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.franchise-comparison-head > span:not(:first-child) { text-align: right; }
.franchise-period-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.franchise-period-switch { max-width: 100%; }
.franchise-period-switch button, #vehicle-tabs button { min-height: 44px; }
#resultados > div > .flex:first-child { flex-wrap: wrap; }
#resultados > div > .flex:first-child > div:first-child { flex: 1 1 480px; }
#resultados > div > .flex:first-child h2 { max-width: 25ch; }
#vehicle-tabs { padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: #b7c4bc transparent; }
#vehicle-tabs::-webkit-scrollbar { display: block; height: 4px; }
#vehicle-tabs::-webkit-scrollbar-thumb { background: #b7c4bc; border-radius: 4px; }
#monthly-bars { font-variant-numeric: tabular-nums; }
#monthly-bars > div > div:first-child { height: 64px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
#monthly-bars > div > span:last-child { min-height: 36px; text-align: center; }
.franchise-month-label { flex-direction: column; min-height: 52px; justify-content: flex-start; }
.franchise-month-short, .franchise-projection-short { display: none; }
#resultados .bg-rc-dark > div > .flex.items-baseline { flex-wrap: wrap; gap: 8px; }
.franchise-chart-button { min-height: 44px; padding: 8px 0 8px 12px; font-weight: 700; }
.franchise-chart-button:hover { text-decoration: underline; }
#fleet-cards-grid article { cursor: default; }
#fleet-cards-grid article img { object-fit: contain; background: #f0f1ec; padding: 8px; }
#proyeccion [data-days] { min-height: 44px; padding: 10px 14px; background: white; color: #475569; border: 1px solid #cbd5e1; }
#proyeccion [data-days][aria-pressed="true"] { background: var(--franchise-green); color: white; border-color: var(--franchise-green); }
#proyeccion .sim-cat-btn[aria-pressed="false"] { background: white; border-color: #d7dfda; }
#proyeccion .sim-cat-btn[aria-pressed="false"] .bg-rc-green { background: #eef4ea; color: var(--franchise-green); }
#proyeccion .sim-cat-btn[aria-pressed="true"] { box-shadow: 0 0 0 1px var(--franchise-green); }
#sim-days { height: 12px; padding-block: 16px; background-clip: content-box; }
#sim-days:focus-visible { outline: 3px solid var(--franchise-gold); outline-offset: 4px; }
#proyeccion label[for="sim-days"] { line-height: 1.7; }
#proyeccion label[for="sim-days"] + span { white-space: nowrap; font-size: 13px; }
#proyeccion .bg-rc-cream > .flex:first-child { flex-wrap: wrap; gap: 10px; }
#sim-cumulative-bars > div > .flex { gap: 12px; align-items: baseline; }
#sim-cumulative-bars > div > .flex > span:last-child { white-space: nowrap; }
#seguridad .space-y-4 > .bg-rc-cream { flex-wrap: wrap; }
#seguridad .space-y-4 > .bg-rc-cream > div { min-width: 0; flex: 1 1 240px; }
#seguridad .space-y-4 > .bg-rc-cream > a { min-height: 44px; }
@media (max-width: 1099px) {
    .franchise-links { display: none; }
    .franchise-menu-toggle { display: flex; }
    .franchise-hero-grid { gap: 32px; }
    .franchise-headline { font-size: 40px; }
    .franchise-intro { font-size: 14px; }
    .franchise-stat { padding: 20px; }
}
@media (max-width: 767px) {
    :root { --franchise-nav-height: 68px; }
    .franchise-nav { gap: 12px; padding-inline: 16px; }
    .franchise-brand-label { display: none; }
    .franchise-brand img { width: 104px; height: 36px; }
    a.franchise-nav-cta { padding: 10px 14px; font-size: 12px; }
    .franchise-nav-actions { gap: 8px; }
    .franchise-hero { padding-top: 104px; padding-bottom: 32px; }
    .franchise-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .franchise-headline { max-width: 16ch; font-size: clamp(32px, 6.5vw, 44px); }
    .franchise-intro { font-size: 15px; }
    .franchise-hero-grid > div > span:first-child { max-width: 100%; font-size: 10px; line-height: 1.8; border-radius: 12px; }
    .franchise-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
    .franchise-stat { padding: 18px; }
    .franchise-stat:nth-child(3) { border-left: 0; }
    .franchise-stat:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / 12%); }
    .franchise-stat-value { font-size: clamp(23px, 6vw, 27px); }
    .franchise-video-card { grid-column: 1; grid-row: 3; padding: 12px; border-radius: 20px; }
    .franchise-play-icon { width: 48px; height: 48px; font-size: 17px; }
    .franchise-video-play { gap: 8px; font-size: 13px; }
    .franchise-play-hint { display: none; }
    .franchise-period-switch { width: 100%; }
    .franchise-period-switch button { flex: 1; padding-inline: 8px; font-size: 11px; }
    #resultados > div > .flex:first-child > div:first-child { flex-basis: auto; }
    #resultados > div > .grid > div { padding: 20px; }
    #monthly-bars { gap: 6px; padding-inline: 0; }
    #monthly-bars > div { min-width: 0; }
    #monthly-bars > div > div:first-child > p { font-size: 9px; }
    #monthly-bars > div > div:first-child > span { padding: 3px 4px; font-size: 11px; }
    #monthly-bars .franchise-month-label > span { font-size: 9px; padding: 2px 3px; }
    .franchise-month-full { display: none; }
    .franchise-projection-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .franchise-month-short, .franchise-projection-short { display: inline; }
    #monthly-bars > div > span { font-size: 9px; }
    #chart-car-name + span { max-width: 100%; }
    #chart-car-img + div > .flex { flex-wrap: wrap; }
    #proyeccion > div { padding: 24px 16px; }
    #proyeccion .bg-rc-dark { padding: 24px 20px; }
    #proyeccion .sim-cat-btn { padding: 12px; }
    #proyeccion .sim-cat-btn > .flex { flex-wrap: wrap; gap: 6px; }
    #proyeccion .bg-rc-cream > .flex.justify-between.text-\[11px\] { gap: 12px; font-size: 10px; }
    #seguridad > div { padding: 24px 20px; }
    #seguridad .absolute.bottom-4 > span { display: inline-block; line-height: 1.7; }
}
@media (max-width: 479px) {
    .franchise-hero-actions { flex-direction: column; }
    .franchise-hero-actions a { width: 100%; }
    .franchise-comparison-head { display: none; }
    .franchise-comparison-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .franchise-comparison-row dt { grid-column: 1 / -1; }
    .franchise-comparison-row dd { text-align: left; font-size: 16px; }
    .franchise-period-label { display: block; position: static; width: auto; height: auto; clip-path: none; color: var(--franchise-muted); font-size: 11px; font-weight: 500; }
    .franchise-comparison > .grid > div > div:last-child > p { font-size: 24px; }
}
@media (max-width: 359px) {
    .franchise-nav { padding-inline: 12px; gap: 8px; }
    .franchise-brand img { width: 80px; }
    a.franchise-nav-cta { padding-inline: 10px; font-size: 11px; gap: 8px; }
    .franchise-nav-cta i { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
