/* ==========================================================================
   Diálogo Studio — Suprematist Design System
   ========================================================================== */

/* Color Palette - Azul Glaciar */
:root {
    --color-bg: #F7F9FC;
    --color-primary: #2E4057;
    --color-accent-1: #8DA9C4;
    --color-accent-2: #B8D4E3;
    --color-text: #1A1A2E;
    --color-text-muted: #5A6978;
    --color-border: #2E4057;
    --color-border-light: #D1DBE5;

    /* Spacing */
    --padding-x: 4rem;
    --padding-x-mobile: 2rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent-1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent-1) var(--color-bg);
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
    user-select: none;
    -webkit-user-select: none;
}

h2 {
    text-transform: uppercase;
}

/* ==========================================================================
   Navbar (mobile only)
   ========================================================================== */

.navbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem var(--padding-x-mobile);
    background-color: var(--color-bg);
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
}

.navbar-logo {
    height: 2.5rem;
    width: auto;
    display: block;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #FFFFFF;
    background-color: var(--color-text);
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.navbar-cta:hover {
    opacity: 0.8;
}

.navbar-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--color-border-light);
    border-radius: 4px;
    cursor: pointer;
    color: var(--color-text);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.navbar-menu-btn:hover {
    border-color: var(--color-primary);
}

.navbar-menu-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #FFFFFF;
}

/* Dropdown Menu */
.navbar-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border-light);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.navbar-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-dropdown-link {
    padding: 1rem var(--padding-x-mobile);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border-light);
    transition: background-color 0.2s ease;
}

.navbar-dropdown-link:last-child {
    border-bottom: none;
}

.navbar-dropdown-link:hover {
    background-color: rgba(141, 169, 196, 0.1);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    min-height: 100vh;
    padding: 3rem var(--padding-x);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Logo (desktop only) */
.logo {
    height: 6.5rem;
    width: auto;
    display: block;
    margin-right: auto;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
}

.hero-nav {
    display: none;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.hero-nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.hero-nav-link:hover {
    opacity: 0.7;
}

@media (min-width: 768px) {
    .hero-nav {
        display: flex;
    }
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background-image: url('images/hero-poster.png');
    background-size: cover;
    background-position: center;
}

.hero-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140vw;
    height: 140vh;
    min-width: 140vw;
    min-height: 105vw;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-video-bg.video-ready video {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(46, 64, 87, 0.8));
    z-index: 1;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    user-select: none;
    -webkit-user-select: none;
}


/* Hero Title */
.hero-title {
    display: flex;
    flex-direction: column;
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-top: auto;
}

.hero-title span {
    display: block;
}

/* Hero CTA Mobile */
.hero-cta-mobile {
    display: none;
    margin-top: 2rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background-color 0.2s ease;
}

.hero-cta-mobile:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

/* Hero Description */
.hero-description {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 320px;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    text-align: right;
}

/* ==========================================================================
   Stats Section (Estadísticas) - Suprematist Design
   ========================================================================== */

.stats {
    padding: 10rem var(--padding-x);
    border-top: 1px solid var(--color-border-light);
}

.stats-header {
    margin-bottom: 4rem;
    max-width: 700px;
}

.stats-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.stats-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.stat-card {
    display: contents;
}

.stat-item {
    text-align: left;
    padding: 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    position: relative;
    grid-row: 1;
}

.stat-box {
    grid-row: 2;
}

.stat-item:hover {
    background-color: rgba(141, 169, 196, 0.06);
}

/* Toggle button - hidden on desktop */
.stat-toggle {
    display: none;
}

.stat-num {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--color-primary);
    display: block;
}

.stat-label {
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

.stat-source {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--color-accent-1);
    margin-top: 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Stat Box */
.stat-box {
    border: 1px solid var(--color-primary);
    padding: 2.5rem 2rem;
    background-color: #FFFFFF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(46, 64, 87, 0.1);
}

.stat-box-title {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.stat-box-title strong {
    font-weight: 700;
    color: var(--color-primary);
}

.stat-box-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Shift Section (El cambio)
   ========================================================================== */

.shift {
    padding: 10rem var(--padding-x);
    border-top: 1px solid var(--color-border-light);
    background-color: #FFFFFF;
    color: var(--color-text);
    position: relative;
    display: flex;
    flex-direction: column;
}

.shift-container {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 4rem;
}

/* CTA */
.shift-cta {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: start;
    background-color: var(--color-primary);
    color: #FFFFFF;
    padding: 1rem 2rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shift-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 64, 87, 0.25);
}

.shift-cta-text {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.shift-cta-arrow {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.shift-cta:hover .shift-cta-arrow {
    transform: translateX(4px);
}

.shift-header {
    grid-column: 1;
    grid-row: 1;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.shift-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.shift-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.shift-grid {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.shift-lever {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.shift-lever:hover {
    background-color: rgba(46, 64, 87, 0.04);
}

.shift-lever-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.shift-lever-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.shift-lever-title--gtm::after {
    background-color: var(--color-accent-2);
}

.shift-lever-title--revops::after {
    background-color: var(--color-accent-1);
}

.shift-lever-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.shift-lever-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.shift-lever-list li {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--color-text);
}

/* ==========================================================================
   Outcomes Section (Qué vas a lograr)
   ========================================================================== */

.outcomes {
    padding: 10rem var(--padding-x);
    border-top: 1px solid var(--color-border-light);
}

.outcomes-title {
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 4rem;
    max-width: 900px;
}

.outcome {
    position: relative;
    padding: 1.5rem;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.outcome:hover {
    background-color: rgba(141, 169, 196, 0.08);
}

.outcome:hover .outcome-number {
    color: var(--color-primary);
}

.outcome-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-accent-2);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.outcome-heading {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.outcome-text {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Motors Section (Modelos de trabajo)
   ========================================================================== */

.motors {
    padding: 10rem var(--padding-x);
    border-top: 1px solid var(--color-border-light);
}

.motors-header {
    margin-bottom: 4rem;
}

.motors-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.motors-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
}

.motors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.motor-card {
    border: 1px solid var(--color-border-light);
    padding: 2.5rem 2rem;
    background-color: #FFFFFF;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.motor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(46, 64, 87, 0.1);
}

.motor-card--featured {
    border-color: var(--color-primary);
    border-width: 2px;
}

.motor-card--featured::before {
    content: 'Recomendado';
    position: absolute;
    top: -12px;
    left: 24px;
    background-color: var(--color-primary);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
}

.motor-icon {
    height:30px;
    width: auto;
    display: block;
    margin-bottom: 1.5rem;
}

.motor-name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.motor-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.motor-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.motor-list li {
    font-size: 0.95rem;
    color: var(--color-text);
    padding-left: 1.25rem;
    position: relative;
}

.motor-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent-1);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
    padding: 10rem var(--padding-x);
    border-top: 1px solid var(--color-border-light);
    background-color: var(--color-bg);
    color: var(--color-text);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-header {
    margin-bottom: 3rem;
    text-align: center;
}

.contact-title {
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.contact-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--color-border-light);
    background-color: #FFFFFF;
    color: var(--color-text);
    transition: border-color 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232E4057' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group select option {
    background-color: #FFFFFF;
    color: var(--color-text);
}

.form-submit {
    padding: 1.25rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: var(--color-primary);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: flex-start;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 64, 87, 0.25);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    padding: 5rem var(--padding-x) 3rem;
    border-top: none;
    background-color: #0a0a0f;
    color: #ffffff;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-title {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

.footer-connect {
    display: flex;
    flex-direction: column;
}

.footer-email {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
    margin-bottom: 1.5rem;
}

.footer-email:hover {
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-social-link:hover {
    color: #ffffff;
}

.footer-flag {
    cursor: default;
    transition: transform 0.2s ease;
}

.footer-flag:hover {
    transform: scale(1.2);
}

.footer-nav {
    display: flex;
    flex-direction: column;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom .footer-flags {
    display: flex;
    gap: 0.5rem;
    font-size: 1.2rem;
}

/* ==========================================================================
   Sidebar Navigation
   ========================================================================== */

.sidebar-nav {
    position: fixed;
    left: 3rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: none;
    width: 120px;
    transition: opacity 0.3s ease;
}

.sidebar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-link {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    text-decoration: none;
    padding: 0.5rem 0;
    padding-left: 1rem;
    border-left: 2px solid var(--color-border-light);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.sidebar-link:hover {
    color: var(--color-text);
    border-left-color: var(--color-accent-1);
}

.sidebar-link.active {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    font-weight: 700;
}

.sidebar-nav.sidebar-hidden {
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */

.toast {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 4px;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.toast--visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast--success {
    background-color: #1a472a;
    color: #ffffff;
}

.toast--error {
    background-color: #7a1f1f;
    color: #ffffff;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --padding-x: var(--padding-x-mobile);
    }

    .navbar {
        display: flex;
    }

    .navbar-logo {
        height: 2.5rem;
    }

    /* Add padding to body top to account for fixed navbar */
    body {
        padding-top: 4.5rem;
    }

    .logo {
        display: none;
    }

    .hero {
        padding: 2rem var(--padding-x-mobile);
        min-height: calc(100vh - 4.5rem);
        min-height: calc(100dvh - 4.5rem);
    }

    .hero-video-bg video {
        width: 300vw;
        height: 100%;
        min-width: 300vw;
        min-height: 200vw;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta-mobile {
        display: inline-block;
        margin-bottom: 1.5rem;
        border-radius: 50px;
        align-self: flex-start;
    }

    .hero-description {
        position: relative;
        bottom: auto;
        right: auto;
        max-width: 100%;
        text-align: left;
        margin-top: 3rem;
    }

    .stats,
    .shift,
    .outcomes,
    .motors,
    .contact {
        padding: 5rem var(--padding-x-mobile);
    }

    .footer {
        padding: 3rem var(--padding-x-mobile) 2rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .footer-email {
        font-size: 1.2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .footer-bottom .footer-flags {
        font-size: 1.3rem;
    }

    .motors-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .motor-card {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .shift-container {
        display: flex;
        flex-direction: column;
    }

    .shift-header {
        order: 1;
        margin-bottom: 1.5rem;
    }

    .shift-cta {
        order: 2;
        margin-bottom: 2rem;
        align-self: flex-start;
    }

    .shift-grid {
        order: 3;
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-header {
        margin-bottom: 3rem;
    }

    .stats-title {
        font-size: 1.75rem;
    }

    .stats-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .stat-card {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .stat-item {
        position: relative;
        grid-row: auto;
    }

    .stat-box {
        grid-row: auto;
    }

    /* Toggle button - visible on mobile */
    .stat-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 1rem;
        right: 0.5rem;
        width: 36px;
        height: 36px;
        background: transparent;
        border: 1px solid var(--color-border-light);
        border-radius: 50%;
        cursor: pointer;
        color: var(--color-text-muted);
        transition: all 0.2s ease;
    }

    .stat-toggle:hover {
        border-color: var(--color-primary);
        color: var(--color-primary);
    }

    .stat-toggle-close {
        display: none;
    }

    .stat-card.expanded .stat-toggle-open {
        display: none;
    }

    .stat-card.expanded .stat-toggle-close {
        display: block;
    }

    .stat-card.expanded .stat-toggle {
        background: var(--color-primary);
        border-color: var(--color-primary);
        color: #FFFFFF;
    }

    .stat-num {
        font-size: 3.5rem;
    }

    .stat-label {
        font-size: 1.1rem;
        padding-right: 3rem;
    }

    /* Hide stat-box on mobile by default */
    .stat-box {
        display: none;
        margin-top: 1rem;
    }

    .stat-card.expanded .stat-box {
        display: block;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .stat-box-title {
        font-size: 1rem;
    }

    .outcomes-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .outcome-number {
        font-size: 2.5rem;
    }

    .levers-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .lever-title {
        font-size: 1.25rem;
    }

    .lever-list li {
        font-size: 1rem;
    }

}

/* Large screens */
@media (min-width: 1440px) {
    :root {
        --padding-x: 6rem;
    }

    .hero-title {
        font-size: 5.6rem;
    }

    .stat-label {
        font-size: 1.5rem;
    }

    .stat-box-title {
        font-size: 1.2rem;
    }

    .stat-box-text {
        font-size: 1rem;
    }

    .shift-lever-list li {
        font-size: 1.1rem;
    }

    .outcome-heading {
        font-size: 1.35rem;
    }

    .outcome-text {
        font-size: 1.05rem;
    }

    .motor-desc {
        font-size: 1.05rem;
    }

    .motor-list li {
        font-size: 1rem;
    }

    .footer {
        padding: 4rem 6rem;
    }

    /* Sidebar visible with its own column */
    .sidebar-nav {
        display: block;
        left: 3rem;
    }

    /* Content sections get left margin for sidebar space */
    .stats,
    .shift,
    .outcomes,
    .motors,
    .contact {
        padding-left: calc(180px + 4rem);
    }
}
