/* TINKER JUAREZ - CENTRALIZED SITE STYLES */

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --red: #ed101c;
            --blue: #0750a0;
            --black: #08090b;
            --white: #ffffff;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background: var(--black);
            color: var(--white);
            font-family: Arial, Helvetica, sans-serif;
            overflow-x: hidden;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .home-page {
            width: 100%;
            min-height: 100vh;
            overflow: hidden;
        }

        /* HEADER */

        .main-header {
            height: 76px;
            width: 100%;
            padding: 0 4.5%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(5, 6, 8, .97);
            position: relative;
            z-index: 20;
            border-bottom: 1px solid rgba(255,255,255,.12);
        }

        .header-logo {
            width: 185px;
            max-height: 68px;
            object-fit: contain;
            background: transparent;
            padding: 0;
            display: block;
        }

        .header-divider {
            height: 36px;
            width: 1px;
            background: #555;
            margin: 0 35px;
        }

        .main-nav {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: clamp(18px, 3.2vw, 55px);
            flex: 1;
        }

        .main-nav a {
            font-size: 14px;
            font-weight: 700;
            text-transform: uppercase;
            white-space: nowrap;
            position: relative;
            padding: 10px 0;
            transition: color .25s;
        }

        .main-nav a:hover,
        .main-nav a.active {
            color: var(--red);
        }

        .main-nav a.active::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--red);
        }

        .social-links {
            display: flex;
            align-items: center;
            gap: 22px;
            margin-left: 30px;
        }

        .social-links a {
            font-size: 23px;
            font-weight: 800;
        }

.language-button {
    border: 1px solid #777;
    background: transparent;
    color: white;
    padding: 7px 10px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 3px;
    margin-left: 22px;
}

        .menu-toggle {
            display: none;
            color: white;
            background: none;
            border: 0;
            font-size: 30px;
            cursor: pointer;
        }

        /* HERO */

        .hero {
            width: 100%;
            min-height: 610px;
            height: min(44vw, 690px);
            position: relative;
            display: flex;
            align-items: center;
            overflow: hidden;
            background: #111;
        }

        .hero-image {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 48%;
        }

/* DESKTOP: subir el encuadre para evitar cortar el rostro */
@media (min-width: 769px) {
    .hero-image {
        object-fit: cover;
        object-position: center 18%;
    }
}


        .hero::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(
                90deg,
                rgba(0,0,0,.05) 0%,
                rgba(0,0,0,.08) 43%,
                rgba(0,0,0,.72) 63%,
                rgba(0,0,0,.94) 100%
            );
        }

        .hero-content {
            position: relative;
            z-index: 2;
            width: 48%;
            margin-left: auto;
            padding: 30px 5% 30px 2%;
            text-align: center;
        }

        .hero-brand {
            font-size: clamp(42px, 5.5vw, 82px);
            line-height: .93;
            font-weight: 900;
            font-style: italic;
            letter-spacing: -3px;
            text-transform: uppercase;
        }

        .hero-brand .tinker {
            color: white;
            display: block;
        }

        .hero-brand .juarez {
            color: var(--red);
            display: block;
        }

        .brand-stripes {
            display: flex;
            justify-content: center;
            gap: 13px;
            margin: 0 auto 15px;
        }

        .brand-stripes span {
            width: 75px;
            height: 45px;
            transform: skew(-30deg);
            background: var(--blue);
        }

        .brand-stripes span:last-child {
            background: var(--red);
        }

        .brand-stripes-bottom {
            margin-top: 15px;
        }

        .hero-subtitle {
            margin-top: 28px;
            font-size: 14px;
            font-weight: 700;
            letter-spacing: 6px;
            text-transform: uppercase;
        }

        .hero-subtitle span {
            color: var(--red);
            padding: 0 12px;
        }

        .hero-actions {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 25px;
            margin-top: 48px;
        }

        .watch-story {
            display: flex;
            align-items: center;
            gap: 13px;
            font-size: 14px;
            font-weight: bold;
            white-space: nowrap;
        }

        .play-button {
            width: 58px;
            height: 58px;
            border: 2px solid white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
        }

        .hero-signature {
            border-left: 1px solid #aaa;
            padding-left: 25px;
            font-family: Georgia, serif;
            font-style: italic;
            font-size: clamp(19px, 2.5vw, 35px);
            white-space: nowrap;
        }

        /* FEATURE CARDS */

        .feature-grid {
            width: 100%;
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 3px;
            padding: 0 1%;
            margin-top: -2px;
            position: relative;
            z-index: 3;
        }

        .feature-card {
            min-width: 0;
            min-height: 185px;
            position: relative;
            overflow: hidden;
            background: linear-gradient(145deg, #292929, #090909);
            border: 1px solid #414141;
            transform: skew(-7deg);
            transition: border-color .3s, background .3s;
        }

        .feature-card:hover {
            border-color: var(--red);
            background: #202020;
        }

        .feature-card-inner {
            height: 100%;
            min-height: 185px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            transform: skew(7deg);
        }

        .feature-placeholder {
            position: absolute;
            inset: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            color: rgba(255,255,255,.22);
            font-size: 12px;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        .feature-card h2 {
            position: relative;
            z-index: 2;
            font-size: clamp(13px, 1.25vw, 20px);
            font-style: italic;
            font-weight: 900;
            text-transform: uppercase;
            white-space: nowrap;
        }

        .feature-line {
            width: 75px;
            height: 4px;
            margin-top: 10px;
            background: var(--red);
        }

        .feature-arrow {
            position: absolute;
            right: 17px;
            bottom: 16px;
            font-size: 25px;
        }

        /* FOOTER STRIP */

        .ride-strip {
            min-height: 100px;
            padding: 25px 5%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 35px;
            background: #08090b;
        }

        .ride-line {
            height: 4px;
            width: 180px;
            background: var(--red);
        }

        .ride-line.blue {
            background: var(--blue);
        }

        .ride-text {
            font-size: clamp(15px, 1.6vw, 23px);
            font-weight: 800;
            letter-spacing: 9px;
            white-space: nowrap;
        }

        .ride-text span {
            color: var(--red);
            padding: 0 8px;
        }

        /* RESPONSIVE */

        @media (max-width: 1100px) {
            .main-header {
                padding: 0 2%;
            }

            .header-logo {
                width: 145px;
            }

            .header-divider {
                margin: 0 15px;
            }

            .main-nav {
                gap: 18px;
            }

            .main-nav a {
                font-size: 12px;
            }

            .social-links {
                gap: 12px;
                margin-left: 15px;
            }

            .hero {
                min-height: 520px;
            }

            .feature-card,
            .feature-card-inner {
                min-height: 155px;
            }
        }

        @media (max-width: 768px) {
            .main-header {
                height: 72px;
                padding: 0 18px;
            }

            .header-logo {
                width: 155px;
                max-height: 60px;
            }

            .header-divider,
            .social-links {
                display: none;
            }

            .menu-toggle {
                display: block;
            }

            .main-nav {
                display: none;
                position: absolute;
                top: 72px;
                left: 0;
                right: 0;
                width: 100%;
                background: #090a0c;
                padding: 15px 25px 25px;
                flex-direction: column;
                align-items: stretch;
                gap: 5px;
                border-top: 1px solid #333;
            }

            .main-nav.open {
                display: flex;
            }

            .main-nav a {
                padding: 13px 0;
                border-bottom: 1px solid #292929;
                font-size: 14px;
            }

            .main-nav a.active::after {
                display: none;
            }

            .hero {
                min-height: 680px;
                height: auto;
                align-items: flex-end;
            }

            .hero-image {
                object-fit: cover;
                object-position: 36% center;
            }

            .hero::after {
                background: linear-gradient(
                    0deg,
                    rgba(0,0,0,.96) 0%,
                    rgba(0,0,0,.83) 42%,
                    rgba(0,0,0,.05) 100%
                );
            }

            .hero-content {
                width: 100%;
                margin: 0;
                padding: 35px 15px 40px;
            }

            .hero-brand {
                font-size: clamp(44px, 12vw, 70px);
            }

            .brand-stripes span {
                width: 55px;
                height: 32px;
            }

            .hero-subtitle {
                font-size: 11px;
                letter-spacing: 3px;
                margin-top: 20px;
            }

            .hero-actions {
                margin-top: 28px;
                gap: 15px;
            }

            .play-button {
                width: 46px;
                height: 46px;
            }

            .watch-story {
                font-size: 11px;
            }

            .hero-signature {
                font-size: 19px;
                padding-left: 14px;
            }

            .feature-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 7px;
                padding: 8px;
            }

            .feature-card,
            .feature-card-inner {
                min-height: 145px;
            }

            .feature-card:last-child {
                grid-column: 1 / -1;
            }

            .feature-card h2 {
                font-size: 14px;
            }

            .ride-strip {
                min-height: 80px;
                gap: 12px;
                padding: 20px 8px;
            }

            .ride-line {
                width: 35px;
            }

            .ride-text {
                font-size: 12px;
                letter-spacing: 3px;
            }

            .ride-text span {
                padding: 0 2px;
            }
        }

        @media (max-width: 380px) {
            .hero-actions {
                gap: 10px;
            }

            .hero-signature {
                font-size: 16px;
            }

            .hero-subtitle {
                letter-spacing: 2px;
            }

            .feature-card,
            .feature-card-inner {
                min-height: 125px;
            }
        }


.feature-image {
    position: absolute;
    top: 0;
    left: -7%;
    width: 114%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: skew(7deg);
    z-index: 0;
    transition: transform .5s ease;
}

.feature-card-inner {
    position: relative;
    z-index: 1;
    background: linear-gradient( to bottom, rgba(0,0,0,.05) 15%, rgba(0,0,0,.75) 100% );
}

.feature-card:hover .feature-image {
    transform: skew(7deg) scale(1.04);
}

/* Encuadre individual de las fotografías */
#story .feature-image {
    object-position: 50% 0%;
}

#experiences .feature-image {
    object-position: 50% 0%;
}
