:root {
    color-scheme: dark;
    --red: #f7192d;
    --light-red: #ff515b;
    --font-body: 'Inter', sans-serif;
    --font-display: 'Barlow Condensed', sans-serif;
}

* { box-sizing: border-box; }
html { background: #080808; }
body { margin: 0; color: #fff; font-family: var(--font-body); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--light-red); outline-offset: 7px; }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 10;
    background: transparent;
    transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header__inner {
    width: min(100% - 96px, 1600px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 18px 0;
    transition: padding .3s ease;
}
.brand {
    display: block;
    flex-shrink: 0;
    width: clamp(240px, 27vw, 390px);
    transition: width .35s ease;
}
.brand img { display: block; width: 100%; height: auto; }
.navigation { display: flex; align-items: center; gap: clamp(24px, 3.3vw, 54px); }
.navigation__link, .quote-button {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .1em;
    white-space: nowrap;
    cursor: default;
}
.navigation__link {
    padding: 16px 0;
    text-shadow: 0 2px 12px #000;
    transition: color .2s ease;
}
.navigation__link:hover { color: var(--red); }
.navigation__link[href] { cursor: pointer; }
.quote-button {
    padding: 15px 22px;
    border-radius: 3px;
    background: var(--light-red);
    color: #080808;
    transition: background-color .2s ease;
}
.quote-button:hover { background: #ff737b; }
.site-header.is-scrolled { background: #000; box-shadow: 0 6px 25px #0003; }
.site-header.is-scrolled .site-header__inner { padding: 6px 0; }
.site-header.is-scrolled .brand { width: 132px; }

.hero {
    position: relative;
    isolation: isolate;
    height: 100vh;
    overflow: hidden;
    background: #101012;
}
.hero__video, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__video { object-fit: cover; object-position: center; z-index: -2; }
.hero__shade {
    z-index: -1;
    background: linear-gradient(180deg, #0009 0%, #0001 40%, #0003 62%, #000b 100%);
}
.hero__content {
    position: absolute;
    inset: auto 24px max(12svh, 80px);
    text-align: center;
}
.hero h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(48px, 6.9vw, 116px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.015em;
    color: #fff;
    -webkit-text-stroke: 2px #080808;
    paint-order: stroke fill;
    text-shadow: 3px 4px 0 #e3192b, 0 4px 28px #ed102866;
    text-wrap: balance;
}
.hero__content p {
    margin: 24px 0 0;
    font-size: clamp(12px, 1.2vw, 17px);
    font-weight: 600;
    letter-spacing: .48em;
    padding-left: .48em;
    text-shadow: 0 2px 12px #000;
}

.services {
    position: relative;
    isolation: isolate;
    padding: 84px 0 88px;
    background: #080808;
    scroll-margin-top: 110px;
}
.services::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, #08080800 40%, #080808 88%),
        url('../images/simulador-carreras-volante-pedales.webp') top right / cover no-repeat;
    opacity: .85;
}
.services__inner { width: min(100% - 96px, 1440px); margin: 0 auto; }
.services__intro { display: flex; align-items: flex-start; margin-bottom: 40px; }
.services h2 {
    width: 100%;
    margin: 0;
    padding-top: 26px;
    font-family: var(--font-display);
    font-size: clamp(42px, 4.5vw, 72px);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -.015em;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 2px 24px #000;
}
.services h2 span { color: var(--light-red); }
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.service-card { min-width: 0; }
.service-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background: #151515;
    border: 1px solid #ffffff24;
    border-bottom: 3px solid var(--red);
}
.service-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, #0003 45%, #000e 100%);
    pointer-events: none;
}
.service-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.service-card:hover img { transform: scale(1.035); }
.service-card h3 {
    position: absolute;
    z-index: 1;
    inset: auto 24px 22px;
    margin: 0;
    max-width: 320px;
    font-family: var(--font-display);
    font-size: clamp(27px, 2.5vw, 40px);
    font-weight: 700;
    line-height: 1.04;
    text-transform: uppercase;
    text-shadow: 0 2px 10px #0008;
}
.service-card p { margin: 20px 0 0; color: #c5c5ca; font-size: 20px; line-height: 1.65; max-width: 42ch; }

@media (max-width: 1050px) {
    .services { scroll-margin-top: 140px; }
    .services__inner { width: calc(100% - 48px); }
    .services__grid { gap: 18px; }
    .service-card__image { aspect-ratio: 4 / 5; }
    .service-card h3 { left: 16px; right: 16px; }
}
@media (max-width: 760px) {
    .services { padding: 56px 0; scroll-margin-top: 160px; }
    .services::before { background-size: auto 570px; background-position: top right 30%; opacity: .55; }
    .services__inner { width: calc(100% - 36px); }
    .services__intro { margin-bottom: 28px; }
    .services h2 { font-size: clamp(20px, 5.8vw, 44px); padding-top: 0; }
    .services__grid { grid-template-columns: 1fr; gap: 36px; }
    .service-card__image { aspect-ratio: 16 / 11; }
    .service-card h3 { font-size: 34px; left: 22px; right: 22px; }
    .service-card p { margin-top: 15px; max-width: none; }
}

.events { padding: 88px 0 104px; background: #111113; scroll-margin-top: 120px; }
.events__inner { width: min(100% - 96px, 1440px); margin: 0 auto; }
.events h2 {
    margin: 0 0 64px;
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(52px, 6vw, 88px);
    font-weight: 700;
    line-height: 1.05;
}
.events__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 5vw, 80px); }
.events__copy { min-width: 0; }
.events h3 {
    margin: 0 0 24px;
    font-family: var(--font-display);
    font-size: clamp(38px, 3.5vw, 52px);
    line-height: 1;
    color: var(--light-red);
    font-weight: 700;
    letter-spacing: .03em;
}
.events p, .events li { font-size: 20px; line-height: 1.7; color: #d1d1d5; }
.events p { margin: 0 0 24px; }
.events ul { list-style: none; padding: 0; margin: 0 0 28px; }
.events li { position: relative; padding-left: 24px; margin-bottom: 12px; }
.events li::before { content: ''; position: absolute; top: .7em; left: 0; width: 7px; height: 7px; background: var(--light-red); transform: skewX(-15deg); }
.events .events__closing { margin-bottom: 0; color: #fff; }
.events__visual { margin: 0; overflow: hidden; border: 1px solid #ffffff18; }
.events__visual img { display: block; width: 100%; height: auto; }
@media (max-width: 1050px) {
    .events__inner { width: calc(100% - 48px); }
    .events__grid { align-items: start; gap: 28px; }
}
@media (max-width: 760px) {
    .events { padding: 56px 0 64px; }
    .events__inner { width: calc(100% - 36px); }
    .events h2 { margin-bottom: 40px; }
    .events__grid { grid-template-columns: 1fr; gap: 36px; }
    .events p, .events li { font-size: 18px; }
}

.experience-panels {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #080808;
    scroll-margin-top: 110px;
}
.experience-panel {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: clamp(500px, 43vw, 720px);
    padding: 52px 36px;
    overflow: hidden;
}
.experience-panel__background {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.experience-panel::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, #0001 10%, #0002 40%, #000c 75%, #000e 100%);
}
.experience-panel__content { width: 100%; max-width: 660px; text-align: center; }
.experience-panel h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(36px, 3.5vw, 60px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.015em;
    color: #fff;
    -webkit-text-stroke: 2px #080808;
    paint-order: stroke fill;
    text-shadow: 3px 4px 0 #e3192b, 0 4px 28px #ed102866;
    text-wrap: balance;
}
.experience-panel p { max-width: 46ch; margin: 24px auto 0; font-size: 20px; line-height: 1.65; color: #fff; text-shadow: 0 2px 12px #000; }
@media (max-width: 760px) {
    .experience-panels { grid-template-columns: 1fr; }
    .experience-panel { min-height: 520px; padding: 42px 24px; }
    .experience-panel h2 { font-size: clamp(34px, 7vw, 48px); }
    .experience-panel p { font-size: 18px; }
}

@media (min-width: 1600px) {
    .hero h1 { font-size: 112px; }
}
@media (max-width: 1050px) {
    .site-header__inner { width: calc(100% - 32px); flex-direction: column; gap: 6px; padding: 12px 0 18px; }
    .brand { width: 240px; }
    .navigation { width: 100%; justify-content: center; flex-wrap: wrap; gap: 12px 24px; }
    .navigation__link, .quote-button { font-size: 14px; letter-spacing: .06em; }
    .quote-button { padding: 12px 14px; }
    .site-header.is-scrolled .site-header__inner { gap: 2px; padding: 4px 0 10px; }
    .site-header.is-scrolled .brand { width: 90px; }
}
@media (max-width: 760px) {
    .hero__content { left: 18px; right: 18px; }
    .hero h1 { font-size: clamp(48px, 10.5vw, 76px); line-height: 1; }
    .hero__content p { margin-top: 20px; letter-spacing: .32em; }
}
.quote-button[href] { cursor: pointer; }
.site-footer {
    padding: 76px 24px 84px;
    background: #25262b;
    text-align: center;
    scroll-margin-top: 120px;
}
.site-footer__inner { max-width: 1100px; margin: 0 auto; }
.site-footer h2 { margin: 0; font-family: var(--font-display); font-size: clamp(32px, 3.5vw, 52px); font-weight: 600; line-height: 1.15; text-wrap: balance; }
.site-footer__phone { display: inline-block; margin-top: 22px; font-family: var(--font-display); font-size: clamp(48px, 7.5vw, 104px); line-height: 1.1; font-weight: 700; letter-spacing: .025em; }
.site-footer__phone:hover { color: var(--light-red); }
@media (min-width: 1051px) {
    .site-footer__phone { font-size: clamp(64px, 5vw, 76px); }
}
.site-footer__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 30px; }
.site-footer__button { display: inline-flex; align-items: center; justify-content: center; min-width: 180px; min-height: 54px; padding: 15px 30px; border-radius: 3px; background: var(--light-red); color: #080808; font-size: 18px; font-weight: 700; transition: background-color .2s ease; }
.site-footer__button:hover { background: #ff737b; }
.site-footer__button--whatsapp { background: #25d366; gap: 10px; }
.site-footer__button--whatsapp img { display: block; width: 24px; height: 24px; flex-shrink: 0; }
.site-footer__button--whatsapp:hover { background: #4de385; }
.service-card__link { display: block; }
.hero--rental h1 { max-width: 1200px; margin: 0 auto; font-size: clamp(44px, 6vw, 96px); }
.hero--rental .hero__content p { max-width: 900px; margin: 24px auto 0; padding: 0; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.6; letter-spacing: normal; font-weight: 500; text-wrap: balance; }
.rental-experience { padding: 96px 0; background: #111113; }
.rental-experience__inner { width: min(100% - 96px, 1440px); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.rental-experience h2, .rental-experience .rental-experience__title { margin: 0 0 28px; font-family: var(--font-display); font-size: clamp(36px, 3.6vw, 56px); line-height: 1.08; font-weight: 700; text-wrap: balance; }
.rental-experience p { margin: 0 0 20px; font-size: 20px; line-height: 1.75; color: #d1d1d5; }
.rental-experience p:last-child { margin-bottom: 0; }
.rental-experience .rental-experience__eyebrow { margin-bottom: 18px; color: var(--light-red); font-size: 16px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; }
.rental-experience__image { display: block; width: 100%; height: auto; border: 1px solid #ffffff18; }
.rental-experience__list { list-style: none; margin: 0 0 28px; padding: 0; }
.rental-experience__list li { position: relative; padding-left: 24px; margin-bottom: 12px; font-size: 20px; line-height: 1.7; color: #d1d1d5; }
.rental-experience__list li::before { content: ''; position: absolute; top: .7em; left: 0; width: 7px; height: 7px; background: var(--light-red); transform: skewX(-15deg); }
.rental-experience--btl { background: #1b1b20; }
@media (min-width: 761px) {
    .rental-experience--btl .rental-experience__image { grid-column: 1; grid-row: 1; }
    .rental-experience--btl .rental-experience__copy { grid-column: 2; grid-row: 1; }
}
@media (max-width: 760px) {
    .hero--rental .hero__content { bottom: 36px; }
    .hero--rental h1 { font-size: clamp(36px, 8.5vw, 60px); }
    .hero--rental .hero__content p { font-size: 17px; margin-top: 18px; }
    .rental-experience { padding: 56px 0; }
    .rental-experience__inner { width: calc(100% - 36px); grid-template-columns: 1fr; gap: 32px; }
    .rental-experience p { font-size: 18px; }
    .rental-experience__list li { font-size: 18px; }
}
.hero__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.about-editorial { padding: 96px 0 104px; background: #f0efeb; color: #19191c; }
.about-editorial__inner { width: min(100% - 96px, 1440px); margin: 0 auto; }
.about-editorial__intro { max-width: 1200px; margin: 0 auto 64px; font-family: var(--font-display); font-size: clamp(34px, 3.7vw, 58px); line-height: 1.18; font-weight: 600; text-wrap: pretty; }
.about-editorial__intro strong { color: #ce1728; font-weight: 700; }
.about-editorial__visual { margin: 0; }
.about-editorial__visual img { display: block; width: 100%; height: auto; }
.about-editorial__chapters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 56px; }
.about-editorial__chapter { border-top: 1px solid #b8b7b3; padding-top: 24px; }
.about-editorial__number { display: block; margin-bottom: 22px; font-family: var(--font-display); font-size: 56px; font-weight: 600; line-height: 1; color: #ce1728; }
.about-editorial__chapter p { margin: 0; font-size: 19px; line-height: 1.8; color: #47474d; }
.about-editorial__chapter strong { color: #19191c; font-weight: 700; }
@media (max-width: 1050px) {
    .about-editorial__inner { width: calc(100% - 48px); }
    .about-editorial__chapters { gap: 24px; }
    .about-editorial__chapter p { font-size: 18px; }
}
@media (max-width: 760px) {
    .about-editorial { padding: 56px 0 64px; }
    .about-editorial__inner { width: calc(100% - 36px); }
    .about-editorial__intro { margin-bottom: 36px; }
    .about-editorial__chapters { grid-template-columns: 1fr; margin-top: 36px; gap: 32px; }
    .about-editorial__chapter { display: grid; grid-template-columns: 48px 1fr; gap: 20px; }
    .about-editorial__number { font-size: 44px; margin: 0; }
}
.business-partners { padding: 32px 20px 38px; background: #1c1d22; text-align: center; }
.business-partners h2 { margin: 0 0 18px; font-family: var(--font-display); font-size: 30px; font-weight: 600; }
.business-partners__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; }
.business-partners__links a { color: #d1d1d5; font-size: 15px; line-height: 1.6; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.business-partners__links a:hover { color: var(--light-red); }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}

.rental-experience .rental-experience__eyebrow { font-family: var(--font-body); text-wrap: wrap; }
.rental-experience .rental-experience__lead { margin: 0 0 20px; font-family: var(--font-body); font-size: 20px; font-weight: 500; line-height: 1.75; color: #d1d1d5; text-wrap: wrap; }
@media (max-width: 760px) {
    .rental-experience .rental-experience__lead { font-size: 18px; }
}
