﻿:root {
    --color-base: #161616;
    --color-muted: #595959;
    --color-muted-light: #7c7c7c;
    --color-bg: #ffffff;
    --color-white: #ffffff;
    --accent-green: #16a34a;
    --accent-yellow: #ffe999;
    --accent-lilac: #7c3aed;
    --accent-dark: #111111;
    --accent-border: rgba(17, 17, 17, 0.08);
    --radius-lg: 28px;
    --radius-md: 24px;
    --shadow-soft: 0 22px 48px rgba(17, 17, 17, 0.12);
    --shadow-light: 0 16px 32px rgba(17, 17, 17, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--color-bg);
    color: var(--color-base);
    line-height: 1.6;
}

a {
    color: inherit;
}

a:hover,
a:focus {
    color: var(--accent-dark);
}

.container {
    width: min(1160px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(243, 244, 247, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(17, 17, 17, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 16px 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand {
    font-family: "Space Grotesk", "DM Sans", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    text-decoration: none;
    color: var(--accent-dark);
    display: inline-flex;
    align-items: center;
}

.brand-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-content img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    object-position: center;
    border-radius: 6px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.brand-text span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-dark);
}

/* Brand without text - only logo */
.brand-content:has(img):not(:has(.brand-text)) {
    gap: 0;
}

.site-logo {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.site-logo svg,
.site-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 6px;
}


.top-nav {
    display: flex;
    gap: 28px;
    font-size: 0.95rem;
}

.top-nav a {
    text-decoration: none;
    color: var(--color-muted);
    position: relative;
    padding-bottom: 6px;
}

.top-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-dark);
    transition: width 0.25s ease;
}

.top-nav a:hover::after,
.top-nav a:focus::after {
    width: 100%;
}

.btn {
    font-family: "Space Grotesk", "DM Sans", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 14px 26px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--accent-green);
    color: var(--color-white);
    box-shadow: var(--shadow-light);
}

.btn-dark {
    background: var(--accent-lilac);
    color: var(--color-white);
    box-shadow: 0 18px 32px rgba(124, 58, 237, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-dark);
    color: var(--accent-dark);
}

.hero {
    padding: 120px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-green);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
}

.hero-title {
    font-family: "Space Grotesk", "DM Sans", sans-serif;
    font-size: clamp(2.6rem, 4vw + 1rem, 3.8rem);
    line-height: 1.1;
    margin: 28px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-title-main {
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
    color: var(--accent-lilac);
}

.hero-title-main::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-lilac);
    border-radius: 2px;
}

.hero-title-sub {
    font-size: 0.65em;
    font-weight: 500;
    color: var(--color-muted);
    line-height: 1.4;
}

.hero-text {
    color: var(--color-muted);
    font-size: 1.08rem;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 36px 0 24px;
}

.hero-mission {
    margin-top: 40px;
    padding: 32px 28px;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.03) 0%, rgba(22, 163, 74, 0.01) 100%);
    border-left: 3px solid var(--accent-green);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.3s both;
    max-width: 600px;
}

.hero-mission::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    pointer-events: none;
}

.mission-text {
    color: var(--accent-dark);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    max-width: 100%;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.hero-motto {
    margin-top: 24px;
    padding: 32px 28px;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.03) 0%, rgba(22, 163, 74, 0.01) 100%);
    border-left: 3px solid var(--accent-green);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.5s both;
    max-width: 600px;
}

.hero-motto::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    pointer-events: none;
}

.motto-text {
    color: var(--accent-dark);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    max-width: 100%;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin: 0;
    padding: 0;
    width: min(420px, 100%);
    align-items: stretch;
}

.stats-separated {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    width: 100%;
}

.stats-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    width: 100%;
    max-width: min(420px, 100%);
    box-sizing: border-box;
}

.stat-card-separated {
    background: var(--color-white);
    border-radius: 12px;
    padding: 20px 16px;
    border: 1px solid var(--accent-border);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.stat-card-separated:hover {
    background: var(--color-white);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: rgba(22, 163, 74, 0.2);
}

.stat-card-separated dt {
    font-family: "Space Grotesk", "DM Sans", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin: 0 0 8px;
    line-height: 1.2;
}

.stat-card-separated dd {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-muted);
    line-height: 1.4;
}

.stat-card-separated:hover dt {
    color: var(--accent-dark);
}

.stat-card-separated:hover dd {
    color: var(--accent-dark);
}

#siteCounters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-stats .stat-item {
    flex: 1 1 0;
}

.stat-item {
    background: var(--color-white);
    border-radius: 12px;
    padding: 20px 18px;
    border: none;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    z-index: 1;
    min-width: 0;
    overflow: hidden;
}

.stat-item:hover {
    background: var(--color-white);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.stat-item dt {
    font-family: "Space Grotesk", "DM Sans", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--accent-dark);
    line-height: 1.2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    word-break: break-all;
    overflow-wrap: break-word;
    hyphens: auto;
}

.stat-item dd {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover dt {
    color: var(--accent-dark);
    transform: scale(1.05);
}

.stat-item:hover dd {
    color: var(--color-muted);
    font-weight: 400;
}

.hero-media {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    align-self: start;
    margin-top: 56px;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.media-frame {
    position: relative;
    background: var(--color-white);
    color: var(--accent-dark);
    padding: 32px 28px;
    border-radius: 16px;
    width: min(420px, 100%);
    overflow: visible;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    z-index: 1;
    box-sizing: border-box;
}

.media-frame:hover {
    background: var(--color-white);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.18),
        0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
}

.media-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2a2a2a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    margin-bottom: 20px;
}

.media-stats {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.media-stat {
    display: grid;
    grid-auto-flow: row;
    align-items: center;
    justify-items: center;
    background: #f6f6f6;
    border-radius: 999px;
    padding: 6px 12px;
    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.06);
}

.media-stat strong {
    font-family: "Space Grotesk", "DM Sans", sans-serif;
    font-size: 0.95rem;
}

.media-stat span {
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted-light);
}

.media-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.media-list li {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}


.media-list li > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Marquee horizontal animation */
.marquee-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-horizontal {
    height: auto;
    min-height: 60px;
}

.marquee-track {
    display: flex;
    gap: 16px;
    will-change: transform;
    align-items: center;
    width: max-content;
}

@keyframes marqueeRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

.marquee-animate {
    animation: marqueeRight var(--marquee-duration, 15s) linear infinite;
    animation-fill-mode: both;
    animation-play-state: running;
}

.marquee-track:hover .marquee-animate {
    animation-play-state: running;
}

@media (prefers-reduced-motion: reduce) {
    .marquee-animate { animation: none; }
}

/* Убираем зеленую точку, так как теперь есть логотипы */
.media-list li > span:first-child::before {
    display: none;
}

/* Client logos */
.client-logo {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.client-logo svg {
    width: 100%;
    height: 100%;
    transition: all 0.2s ease;
}

.media-list li:hover .client-logo {
    transform: scale(1.05);
}

.media-list li:hover .client-logo svg {
    filter: drop-shadow(0 2px 4px rgba(17, 17, 17, 0.15));
}

/* Специфичные стили для каждого логотипа */
.cherry-logo svg {
    filter: none; /* Эффекты уже встроены в SVG */
}

.cherry-logo:hover svg {
    filter: brightness(1.1) contrast(1.05);
    transform: scale(1.02);
}

.haval-logo svg {
    filter: none; /* Эффекты уже встроены в SVG */
}

.haval-logo:hover svg {
    filter: brightness(1.15) contrast(1.1);
    transform: scale(1.02);
}

.murad-logo svg {
    filter: drop-shadow(0 1px 2px rgba(30, 58, 138, 0.3));
}

.murad-logo:hover svg {
    filter: drop-shadow(0 2px 4px rgba(30, 58, 138, 0.4));
    transform: scale(1.02);
}

.media-list li span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--accent-dark);
}

.media-pill {
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--color-white);
}

.media-pill-green { background: var(--accent-green); }
.media-pill-lilac { background: var(--accent-lilac); }

.media-chart {
    margin: 38px 0 48px;
    height: 120px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chart-line {
    height: 2px;
    background: rgba(17, 17, 17, 0.12);
}

.chart-point {
    position: absolute;
    right: 24px;
    bottom: 30px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 18px rgba(22, 163, 74, 0.6);
}

.media-card {
    background: #f6f6f6;
    color: var(--accent-dark);
    border-radius: 18px;
    padding: 18px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.media-card span {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted-light);
    margin-bottom: 6px;
}

.media-blobs {
    position: absolute;
    inset: auto auto 12px 12px;
    display: flex;
    gap: 10px;
}

.blob {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    opacity: 0.85;
    filter: blur(0.5px);
}

.blob-green {
    background: var(--accent-green);
}

.blob-yellow {
    background: var(--accent-yellow);
}

.blob-lilac {
    background: var(--accent-lilac);
}

.services,
.values,
.approach,
.contact {
    padding: 80px 0;
}

.section-head {
    display: grid;
    gap: 18px;
    margin-bottom: 48px;
    max-width: 720px;
}

.section-head h2,
.contact-info h2,
.approach-intro h2 {
    font-family: "Space Grotesk", "DM Sans", sans-serif !important;
    font-size: clamp(2.2rem, 3vw + 1rem, 3rem) !important;
    margin: 0 !important;
    line-height: 1.15 !important;
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    font-weight: 700 !important;
    color: var(--accent-dark) !important;
}

.highlight {
    display: inline-block !important;
    background: var(--accent-green) !important;
    padding: 6px 18px !important;
    border-radius: 20px !important;
    margin-right: 6px !important;
    color: var(--color-white) !important;
    font-weight: 700 !important;
    font-size: inherit !important;
    line-height: 1.2 !important;
    vertical-align: baseline !important;
    white-space: nowrap !important;
}

/* Make all highlights consistent */
.section-head h2 .highlight,
.contact-info h2 .highlight,
.approach-intro h2 .highlight {
    font-weight: 700;
    font-size: inherit;
}

/* Ensure text after highlight has same styling */
.section-head h2 > span:not(.highlight),
.contact-info h2 > span:not(.highlight),
.approach-intro h2 > span:not(.highlight) {
    font-weight: 700;
    font-size: inherit;
    color: var(--accent-dark);
    line-height: inherit;
    display: inline-block;
    vertical-align: baseline;
}

/* Highlight text color override */
.section-head h2 .highlight,
.contact-info h2 .highlight,
.approach-intro h2 .highlight {
    color: var(--color-white) !important;
}

.section-head p {
    margin: 0;
    color: var(--color-muted);
    font-size: 1rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--accent-border);
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.06);
    display: grid;
    gap: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.service-card.is-active {
    transform: translateY(-8px);
    box-shadow: 0 26px 48px rgba(17, 17, 17, 0.16);
}

.card-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 600;
}

.card-tag-green {
    background: var(--accent-green);
    color: var(--color-white);
}

.card-tag-yellow {
    background: var(--accent-yellow);
    color: var(--accent-dark);
}

.card-tag-lilac {
    background: var(--accent-lilac);
    color: var(--color-white);
}

.service-card h3 {
    margin: 0;
    font-family: "Space Grotesk", "DM Sans", sans-serif;
    font-size: 1.6rem;
}

.service-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.98rem;
}

.service-card p strong {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1rem;
    background: rgba(22, 163, 74, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

.service-label {
    font-weight: 700 !important;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 4px;
}

.service-label-problem {
    color: #dc2626 !important;
    background: rgba(220, 38, 38, 0.1) !important;
}

.service-label-solution {
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.1) !important;
}

.service-label-result {
    color: var(--accent-green) !important;
    background: rgba(22, 163, 74, 0.1) !important;
}

.process-symbol {
    color: var(--accent-dark) !important;
    font-weight: 700 !important;
}

.service-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.service-card li {
    position: relative;
    padding-left: 18px;
    font-size: 0.95rem;
    color: var(--color-base);
}

.service-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.value-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--accent-border);
    box-shadow: 0 12px 28px rgba(17, 17, 17, 0.06);
    display: grid;
    gap: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 48px rgba(17, 17, 17, 0.16);
}

.value-number {
    font-family: "Space Grotesk", "DM Sans", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent-green);
    opacity: 0.15;
    position: absolute;
    top: 24px;
    right: 32px;
    pointer-events: none;
}

.value-card h3 {
    margin: 0;
    font-family: "Space Grotesk", "DM Sans", sans-serif;
    font-size: 1.6rem;
    color: var(--accent-dark);
    position: relative;
    z-index: 1;
}

.value-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.approach-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}

.approach-intro {
    display: grid;
    gap: 24px;
}

.approach-note {
    grid-column: 1 / -1;
    max-width: 100%;
}

.approach-intro p {
    margin: 0;
    color: var(--color-muted);
}

.approach-note {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--accent-border);
    box-shadow: var(--shadow-light);
    display: grid;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.approach-note:hover {
    background: var(--color-white);
    box-shadow: 
        0 8px 24px rgba(17, 17, 17, 0.12),
        0 4px 12px rgba(17, 17, 17, 0.08);
    transform: translateY(-2px);
    border-color: rgba(22, 163, 74, 0.2);
}

.timeline {
    position: relative;
    padding-left: 48px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 18px;
    top: var(--line-start, 0px);
    width: 4px;
    height: var(--progress-height, 0px);
    min-height: 0;
    background: linear-gradient(180deg, var(--accent-green), #8effd1);
    border-radius: 999px;
    transition: height 0.05s linear;
    z-index: 1;
    transform-origin: top center;
    will-change: height;
    pointer-events: none;
    opacity: 1;
    display: block;
}

.timeline-step {
    position: relative;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 24px;
    padding: 28px;
    border-radius: var(--radius-md);
    background: var(--color-white);
    border: 1px solid var(--accent-border);
    box-shadow: 0 16px 32px rgba(17, 17, 17, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.timeline-step:hover {
    background: var(--color-white);
    box-shadow: 
        0 20px 40px rgba(17, 17, 17, 0.12),
        0 8px 16px rgba(17, 17, 17, 0.08);
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(22, 163, 74, 0.2);
}

.timeline-step::before {
    content: "";
    position: absolute;
    left: -36px;
    top: 32px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.timeline-step:hover::before {
    background: var(--accent-green);
    box-shadow: 0 0 0 8px rgba(22, 163, 74, 0.5);
    transform: scale(1.2);
}

.step-index {
    font-family: "Space Grotesk", "DM Sans", sans-serif;
    font-size: 1.4rem;
    color: var(--accent-dark);
    margin-top: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-body h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-body p {
    margin: 0;
    color: var(--color-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-step:hover .step-index {
    color: var(--accent-dark);
    transform: scale(1.1);
}

.timeline-step:hover .step-body h3 {
    color: var(--accent-dark);
    transform: scale(1.05);
}

.timeline-step:hover .step-body p {
    color: var(--color-muted);
    font-weight: 400;
}

.cta {
    padding: 70px 0;
}

.metrics {
    padding: 20px 0 60px;
}

.cta-wrap {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 48px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    color: var(--accent-dark);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--accent-border);
}

.cta-text h2 {
    font-family: "Space Grotesk", "DM Sans", sans-serif;
    font-size: 2.4rem;
    margin: 0 0 12px;
}

.cta-text p {
    margin: 0;
    color: var(--color-muted);
    max-width: 420px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 20px;
}

.contact-info p {
    margin: 0;
    color: var(--color-muted);
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.contact-list li {
    display: grid;
    gap: 4px;
    font-size: 0.95rem;
}

.contact-list span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-muted-light);
}

.contact-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-label svg {
    flex-shrink: 0;
    color: var(--color-muted-light);
}

.contact-form {
    background: var(--color-white);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-md);
    padding: 36px;
    display: grid;
    gap: 20px;
    box-shadow: var(--shadow-light);
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted-light);
}

.contact-form input,
.contact-form textarea {
    font-family: inherit;
    font-size: 1rem;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(17, 17, 17, 0.1);
    background: var(--color-bg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.12);
}

.contact-form .btn-primary {
    background: var(--accent-lilac);
    box-shadow: 0 18px 32px rgba(124, 58, 237, 0.3);
}

.contact-form .btn-primary:hover {
    box-shadow: 0 22px 40px rgba(124, 58, 237, 0.4);
}

.form-note {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.85rem;
}

.error-message {
    display: none;
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 4px;
    font-weight: 500;
}

.contact-form label.error .error-message {
    display: block;
}

.contact-form label.error input {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.site-footer {
    border-top: 1px solid rgba(17, 17, 17, 0.08);
    padding: 28px 0 40px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-muted-light);
    font-size: 0.9rem;
}

@media (max-width: 1100px) {
    .hero {
        padding-top: 100px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-media {
        order: -1;
        margin-top: 0;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .approach-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 16px 0;
    }

    .brand {
        font-size: 1.3rem;
    }

    .brand-content {
        gap: 8px;
    }

    .brand-text span {
        font-size: 1.3rem;
    }

    .site-logo {
        width: 64px;
        height: 64px;
    }

    .brand-content img {
        width: 64px;
        height: 64px;
    }

    .top-nav {
        display: none;
    }

    .header-actions {
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        order: 2;
        text-align: center;
    }

    .hero-media {
        order: 1;
        margin-top: 0;
        align-items: center;
    }

    .stats-separated {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 20px 0 0;
    }

    .stats-cards-container {
        grid-template-columns: repeat(3, 1fr);
        margin: 16px 0 0;
        gap: 10px;
    }

    .stat-card-separated {
        padding: 16px 12px;
    }

    @media (max-width: 600px) {
        .stats-cards-container {
            grid-template-columns: 1fr;
            gap: 12px;
        }
    }

    .stat-card-separated dt {
        font-size: 1.75rem;
    }

    .stat-card-separated dd {
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
        margin: 20px 0 16px;
        align-items: center;
    }

    .hero-title-main {
        width: fit-content;
        align-self: center;
        margin: 0 auto;
    }

    .hero-text {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-mission {
        margin-top: 32px;
        padding: 24px 20px;
        border-left-width: 3px;
    }

    .mission-text {
        font-size: 1rem;
        max-width: 100%;
        text-align: center;
        margin-bottom: 0;
    }

    .hero-motto {
        margin-top: 20px;
        padding: 24px 20px;
        max-width: 100%;
    }

    .motto-text {
        font-size: 1rem;
        max-width: 100%;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin: 28px 0 32px;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
        padding: 16px 24px;
        font-size: 1rem;
    }

    .hero-stats {
        width: 100%;
        flex-direction: row;
        gap: 8px;
        grid-template-columns: repeat(3, 1fr);
        margin: 0 auto;
        max-width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1 1 0;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .stat-item dt {
        font-size: 1.3rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.2;
        white-space: normal;
        text-align: center;
    }

    .stat-item dd {
        font-size: 0.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.2;
        white-space: normal;
        text-align: center;
    }

    /* Show mobile stats cards on mobile devices */
    .mobile-stats-cards {
        display: flex;
    }

    /* Show mobile CTA on mobile devices */
    .mobile-cta {
        display: block;
    }

    .media-frame {
        width: 100%;
        max-width: 400px;
        padding: 24px 20px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 24px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-card {
        padding: 24px;
    }

    .value-number {
        font-size: 2.5rem;
        top: 20px;
        right: 24px;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline {
        padding-left: 32px;
    }

    .timeline-step {
        padding: 20px;
        grid-template-columns: 50px 1fr;
        gap: 16px;
    }

    .timeline::before {
        left: 14px;
    }

    .timeline-step::before {
        left: -28px;
        width: 12px;
        height: 12px;
    }

    .cta-wrap {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px;
        gap: 24px;
    }

    .cta-text h2 {
        font-size: 1.8rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form {
        padding: 24px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

@media (max-width: 520px) {
    .container {
        width: 95vw;
    }

    .site-header {
        position: static;
    }

    .header-inner {
        padding: 12px 0;
    }

    .brand {
        font-size: 1.2rem;
    }

    .brand-text span {
        font-size: 1.2rem;
    }

    .site-logo {
        width: 56px;
        height: 56px;
    }

    .brand-content img {
        width: 56px;
        height: 56px;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 10vw, 2.4rem);
        line-height: 1.2;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .hero-actions {
        margin: 24px 0 28px;
    }

    .hero-actions .btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .media-frame {
        padding: 20px 16px;
        width: 100%;
    }

    .hero-stats {
        flex-direction: row;
        gap: 6px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
    }

    .stat-item {
        padding: 12px 8px;
        flex: 1 1 0;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .stat-item dt {
        font-size: 1.2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.2;
        white-space: normal;
        text-align: center;
    }

    .stat-item dd {
        font-size: 0.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.2;
        white-space: normal;
        text-align: center;
    }

    .service-card {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    .service-label {
        font-size: 0.9rem;
        padding: 2px 6px;
    }

    .timeline-step {
        padding: 16px;
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }

    .timeline {
        padding-left: 28px;
    }

    .timeline::before {
        left: 12px;
    }

    .timeline-step::before {
        left: -24px;
        width: 10px;
        height: 10px;
    }

    .step-index {
        font-size: 1.2rem;
    }

    .step-body h3 {
        font-size: 1.1rem;
    }

    .cta-wrap {
        padding: 24px 20px;
    }

    .cta-text h2 {
        font-size: 1.6rem;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* Mobile stats cards for small screens */
    .mobile-stat-card {
        padding: 16px;
        border-radius: 10px;
    }

    .mobile-stat-number {
        font-size: 1.6rem;
    }

    .mobile-stat-description {
        font-size: 0.85rem;
    }

    /* Mobile CTA for small screens */
    .mobile-cta-btn {
        padding: 16px 20px;
        font-size: 0.95rem;
        border-radius: 10px;
        letter-spacing: 0.01em;
    }
    
}


/* Dino Runner Section */
.dino-runner-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid rgba(17, 17, 17, 0.05);
    padding: 16px 0;
    margin-bottom: 40px;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.dino-runner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.dino-runner-track {
    position: relative;
    height: 100px;
    background: linear-gradient(90deg, #ffffff 0%, #f1f5f9 50%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid rgba(22, 163, 74, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding-bottom: 10px;
}

.ground-line {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    height: 8px;
    background: 
        /* Main road with color variations */
        linear-gradient(90deg, 
            transparent 0%, 
            #1a1a1a 10%, 
            #000000 15%, 
            #2a2a2a 20%, 
            #000000 25%, 
            #1a1a1a 30%, 
            #000000 35%, 
            #2a2a2a 40%, 
            #000000 45%, 
            #1a1a1a 50%, 
            #000000 55%, 
            #2a2a2a 60%, 
            #000000 65%, 
            #1a1a1a 70%, 
            #000000 75%, 
            #2a2a2a 80%, 
            #000000 85%, 
            #1a1a1a 90%, 
            transparent 100%
        ),
        /* Hill 1 - elevated terrain */
        linear-gradient(90deg, 
            transparent 0%, 
            #333333 20%, 
            #1a1a1a 25%, 
            #000000 30%, 
            #2a2a2a 35%, 
            #000000 40%, 
            #1a1a1a 45%, 
            #333333 50%, 
            #000000 55%, 
            #2a2a2a 60%, 
            transparent 100%
        ),
        /* Valley - depressed terrain */
        linear-gradient(90deg, 
            transparent 0%, 
            #0a0a0a 50%, 
            #000000 55%, 
            #1a1a1a 60%, 
            #000000 65%, 
            #2a2a2a 70%, 
            #000000 75%, 
            #0a0a0a 80%, 
            transparent 100%
        ),
        /* Hill 2 - rocky terrain */
        linear-gradient(90deg, 
            transparent 0%, 
            #2a2a2a 70%, 
            #000000 75%, 
            #333333 80%, 
            #1a1a1a 85%, 
            #000000 90%, 
            transparent 100%
        );
    background-size: 120px 8px, 120px 6px, 120px 4px, 120px 6px;
    background-position: 0 0, 0 2px, 0 4px, 0 2px;
    background-repeat: repeat-x;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    animation: groundMove 15s linear infinite;
}

@keyframes groundMove {
    0% { 
        background-position: 0 0, 0 2px, 0 4px, 0 2px;
    }
    100% { 
        background-position: 120px 0, 120px 2px, 120px 4px, 120px 2px;
    }
}

.ground-line::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background-image: 
        linear-gradient(90deg, transparent 0%, #000000 2px, transparent 4px),
        linear-gradient(90deg, transparent 3px, #000000 5px, transparent 7px),
        linear-gradient(90deg, transparent 6px, #000000 8px, transparent 10px),
        linear-gradient(90deg, transparent 9px, #000000 11px, transparent 13px),
        linear-gradient(90deg, transparent 12px, #000000 14px, transparent 16px),
        linear-gradient(90deg, transparent 15px, #000000 17px, transparent 19px),
        linear-gradient(90deg, transparent 18px, #000000 20px, transparent 22px),
        linear-gradient(90deg, transparent 21px, #000000 23px, transparent 25px),
        linear-gradient(90deg, transparent 24px, #000000 26px, transparent 28px),
        linear-gradient(90deg, transparent 27px, #000000 29px, transparent 31px);
    background-size: 30px 2px;
    background-repeat: repeat-x;
    opacity: 0.7;
    animation: roadMove 15s linear infinite;
}

@keyframes roadMove {
    0% { 
        background-position: 0 0;
    }
    100% { 
        background-position: 30px 0;
    }
}

/* Additional road texture */
.ground-line::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 1px;
    background-image: 
        linear-gradient(90deg, transparent 0%, #000000 1px, transparent 3px),
        linear-gradient(90deg, transparent 2px, #000000 3px, transparent 5px),
        linear-gradient(90deg, transparent 4px, #000000 5px, transparent 7px),
        linear-gradient(90deg, transparent 6px, #000000 7px, transparent 9px),
        linear-gradient(90deg, transparent 8px, #000000 9px, transparent 11px),
        linear-gradient(90deg, transparent 10px, #000000 11px, transparent 13px),
        linear-gradient(90deg, transparent 12px, #000000 13px, transparent 15px),
        linear-gradient(90deg, transparent 14px, #000000 15px, transparent 17px),
        linear-gradient(90deg, transparent 16px, #000000 17px, transparent 19px),
        linear-gradient(90deg, transparent 18px, #000000 19px, transparent 21px);
    background-size: 20px 1px;
    background-repeat: repeat-x;
    opacity: 0.5;
    animation: roadMove 15s linear infinite reverse;
}





.dino-character {
    position: absolute;
    left: 20px;
    bottom: 10px;
    z-index: 20;
    transition: all 0.3s ease;
    animation: dinoRun 0.6s infinite alternate, dinoWalk 3s infinite ease-in-out;
}

.dino-image {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.6) contrast(1.2);
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    transition: filter 0.3s ease;
}

.dino-character:hover .dino-image {
    filter: grayscale(100%) brightness(0.8) contrast(1.4);
}

.dino-character.jumping {
    animation: dinoJump 0.5s ease-out !important;
    transform: translateY(-30px) !important;
}

@keyframes dinoRun {
    0% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-1px) translateX(5px); }
    50% { transform: translateY(-2px) translateX(0px); }
    75% { transform: translateY(-1px) translateX(-5px); }
    100% { transform: translateY(0px) translateX(0px); }
}

@keyframes dinoWalk {
    0% { transform: translateX(0px); }
    25% { transform: translateX(15px); }
    50% { transform: translateX(0px); }
    75% { transform: translateX(-15px); }
    100% { transform: translateX(0px); }
}

@keyframes dinoJump {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
    100% { transform: translateY(0px); }
}

/* Dino character fade out */
.dino-character.fade-out {
    animation: dinoFadeOut 1s ease-in-out forwards;
}

@keyframes dinoFadeOut {
    0% { 
        opacity: 1;
        transform: scale(1);
    }
    100% { 
        opacity: 0;
        transform: scale(0.8);
    }
}

/* Company Logos Running Line */
.company-logos-scroll-container {
    position: absolute;
    bottom: 45px;
    left: 0;
    right: 0;
    height: 60px;
    overflow: hidden;
    z-index: 15;
}

.company-logos-track {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0;
    animation: logosScroll 15s linear infinite;
}

.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin: 0 60px;
}

.company-logo.collected {
    animation: logoCollected 0.6s ease-out forwards;
}

.company-logo.highlight {
    animation: logoHighlight 0.3s ease-out;
}

@keyframes logoHighlight {
    0% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.2);
        filter: brightness(1.3);
    }
    100% { 
        transform: scale(1.1);
        filter: brightness(1.1);
    }
}

@keyframes scoreFloat {
    0% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-30px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-60px) scale(0.8);
    }
}

@keyframes logoRespawn {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes logosScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Work Message */
.work-message {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: var(--color-white);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.3);
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    text-align: center;
    max-width: 300px;
}

.work-message.show {
    opacity: 1;
    visibility: visible;
    animation: workMessageAppear 0.6s ease-out;
}

.work-message.hide {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) scale(0.8);
}

/* Logo containers collapse animation */
.logo-container.collapse {
    animation: logoCollapse 1s ease-in-out forwards;
}

@keyframes logoCollapse {
    0% { 
        transform: scale(1) translateX(0);
        opacity: 1;
    }
    50% { 
        transform: scale(0.8) translateX(var(--collapse-offset, 0));
        opacity: 0.8;
    }
    100% { 
        transform: scale(0) translateX(var(--collapse-offset, 0));
        opacity: 0;
    }
}


/* Window closing animation */
.dino-runner-section.closing {
    overflow: hidden;
}

.dino-runner-section.closing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    z-index: 100;
    animation: topClose 0.8s ease-in-out forwards;
    transform-origin: top;
}

.dino-runner-section.closing::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    z-index: 100;
    animation: bottomClose 0.8s ease-in-out forwards;
    transform-origin: bottom;
}

@keyframes topClose {
    0% { 
        transform: translateY(0);
    }
    100% { 
        transform: translateY(50%);
    }
}

@keyframes bottomClose {
    0% { 
        transform: translateY(0);
    }
    100% { 
        transform: translateY(-50%);
    }
}

/* Window opening animation */
.dino-runner-section.opening::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    z-index: 100;
    animation: topOpen 0.6s ease-in-out forwards;
    transform-origin: top;
    transform: translateY(50%);
}

.dino-runner-section.opening::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    z-index: 100;
    animation: bottomOpen 0.6s ease-in-out forwards;
    transform-origin: bottom;
    transform: translateY(-50%);
}

@keyframes topOpen {
    0% { 
        transform: translateY(50%);
    }
    100% { 
        transform: translateY(0);
    }
}

@keyframes bottomOpen {
    0% { 
        transform: translateY(-50%);
    }
    100% { 
        transform: translateY(0);
    }
}

@keyframes workMessageAppear {
    0% { 
        opacity: 0;
        transform: translateX(-50%) scale(0.8) translateY(20px);
    }
    100% { 
        opacity: 1;
        transform: translateX(-50%) scale(1) translateY(0);
    }
}

.work-message-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-white);
    text-align: center;
}

@keyframes logoCollected {
    0% { 
        transform: scale(1) translateY(0px);
        opacity: 1;
    }
    50% { 
        transform: scale(1.2) translateY(-10px);
        opacity: 0.8;
    }
    100% { 
        transform: scale(0.8) translateY(-20px);
        opacity: 0;
    }
}

.logo-container {
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border: none;
    transition: all 0.3s ease;
}

.company-logo:hover .logo-container {
    transform: scale(1.1);
}



/* Mobile Stats Cards */
.mobile-stats-cards {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.mobile-stat-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(17, 17, 17, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-stat-card-highlighted {
    border: 1px solid var(--accent-green);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
}

.mobile-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.mobile-stat-card-highlighted:hover {
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.25);
}

.mobile-stat-number {
    font-family: "Space Grotesk", "DM Sans", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-dark);
    text-align: center;
    line-height: 1.2;
    margin-bottom: 8px;
}

.mobile-stat-description {
    font-size: 0.9rem;
    color: var(--color-muted);
    text-align: center;
    line-height: 1.4;
    font-weight: 400;
}

/* Mobile CTA Button */
.mobile-cta {
    display: none;
    margin-top: 20px;
    width: 100%;
}

.mobile-cta-btn {
    width: 100%;
    padding: 18px 24px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-radius: 12px;
    background: var(--accent-green);
    color: var(--color-white);
    border: none;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
    transition: all 0.3s ease;
    line-height: 1.2;
    text-align: center;
}

.mobile-cta-btn:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.4);
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--accent-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: var(--color-white);
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    padding: 20px;
    border-bottom: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.mobile-nav-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--accent-dark);
}

.mobile-nav-links {
    padding: 20px 0;
}

.mobile-nav-links a {
    display: block;
    padding: 16px 20px;
    color: var(--color-base);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.mobile-nav-links a:hover {
    background: rgba(22, 163, 74, 0.08);
    color: var(--accent-green);
    padding-left: 24px;
}

.mobile-nav-actions {
    padding: 20px;
    border-top: 1px solid var(--accent-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Language Selector in Mobile Menu */
.mobile-nav-actions .language-selector {
    position: relative;
    display: inline-block;
    z-index: 101;
}

.mobile-nav-actions .language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--color-white);
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-dark);
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.08);
    width: 100%;
    justify-content: center;
}

.mobile-nav-actions .language-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 17, 17, 0.12);
    border-color: var(--accent-green);
}

.mobile-nav-actions .globe-icon {
    font-size: 1rem;
}

.mobile-nav-actions .current-lang {
    font-weight: 600;
    color: var(--accent-green);
}

.mobile-nav-actions .dropdown-arrow {
    font-size: 0.8rem;
    color: var(--accent-green);
    transition: transform 0.2s ease;
}

.mobile-nav-actions .language-selector:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-nav-actions .language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: var(--color-white);
    border: 1px solid var(--accent-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1000;
    min-width: 100%;
    overflow: visible;
}

.mobile-nav-actions .language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-actions .language-option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    text-align: center;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-base);
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    overflow: visible;
    text-overflow: unset;
    min-width: 100%;
}

.mobile-nav-actions .language-option:hover {
    background: rgba(22, 163, 74, 0.08);
    color: var(--accent-green);
}

.mobile-nav-actions .language-option.active {
    background: var(--accent-green);
    color: var(--color-white);
}

.mobile-nav-actions .language-option.active:hover {
    background: var(--accent-green);
    color: var(--color-white);
}

/* Remove white background from logo in mobile menu */
.mobile-nav .site-logo {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.mobile-nav .site-logo img {
    background: transparent;
    border-radius: 0;
}

.mobile-nav .site-logo:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
}

/* Language Selector Styles for Desktop */
.language-selector {
    position: relative;
    display: inline-block;
    z-index: 101;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--color-white);
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-dark);
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.08);
}

.language-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 17, 17, 0.12);
    border-color: var(--accent-green);
}

.globe-icon {
    font-size: 1rem;
}

.current-lang {
    font-weight: 600;
    color: var(--accent-green);
}

.dropdown-arrow {
    font-size: 0.8rem;
    color: var(--accent-green);
    transition: transform 0.2s ease;
}

.language-selector:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--color-white);
    border: 1px solid var(--accent-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1000;
    min-width: 120px;
    overflow: visible;
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-base);
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    overflow: visible;
    text-overflow: unset;
    min-width: 100%;
}

.language-option:hover {
    background: rgba(22, 163, 74, 0.08);
    color: var(--accent-green);
}

.language-option.active {
    background: var(--accent-green);
    color: var(--color-white);
}

.language-option.active:hover {
    background: var(--accent-green);
    color: var(--color-white);
}

/* Responsive adjustments for language selector */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .top-nav {
        display: none;
    }
    
    .header-actions {
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }
    
    .language-selector {
        display: none;
    }

    /* Dino Runner Mobile */
    .dino-runner-section {
        padding: 12px 0;
        margin-bottom: 40px;
    }

    .dino-runner-container {
        padding: 0 16px;
    }

    .dino-runner-track {
        height: 80px;
    }

    .dino-character {
        left: 16px;
        bottom: 10px;
        animation: dinoRun 0.6s infinite alternate, dinoWalk 2.5s infinite ease-in-out;
    }

    @keyframes dinoWalk {
        0% { transform: translateX(0px); }
        25% { transform: translateX(10px); }
        50% { transform: translateX(0px); }
        75% { transform: translateX(-10px); }
        100% { transform: translateX(0px); }
    }

    .dino-image {
        width: 24px;
        height: 24px;
    }

    .company-logos-scroll-container {
        bottom: 35px;
        height: 48px;
    }

    .company-logos-track {
        gap: 0;
        animation-duration: 12s;
    }

    .company-logo {
        margin: 0 40px;
    }

    .logo-container {
        width: 40px;
        height: 40px;
    }

    .work-message {
        bottom: 20px;
        padding: 16px 24px;
        max-width: 280px;
    }

    .work-message-content h3 {
        font-size: 1.2rem;
    }

    .ground-line {
        animation-duration: 12s;
    }

    .ground-line::after {
        animation-duration: 12s;
    }

    .ground-line::before {
        animation-duration: 12s;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-white);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    box-shadow: var(--shadow-soft);
    max-width: 500px;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    overflow-y: auto;
    border: 1px solid var(--accent-border);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show .modal-content {
    transform: translateX(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 0;
    gap: 16px;
}

.modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.1);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--accent-dark);
}

.modal-body {
    padding: 24px;
}

.modal-body h3 {
    font-family: "Space Grotesk", "DM Sans", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--accent-dark);
}

.modal-body p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.modal-footer {
    padding: 0 24px 24px;
    display: flex;
    justify-content: flex-end;
}

.modal-footer .btn {
    min-width: 120px;
}

/* Contact Form Modal Styles */
.modal-form-content {
    max-width: 600px;
}

.modal-form {
    display: grid;
    gap: 20px;
}

.modal-form label {
    display: grid;
    gap: 8px;
}

.modal-form label span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--accent-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--color-white);
    transition: border-color 0.2s ease;
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--accent-green);
}

.modal-form textarea {
    resize: vertical;
    min-height: 100px;
}

.modal-form .btn-primary {
    background: var(--accent-lilac);
    box-shadow: 0 18px 32px rgba(124, 58, 237, 0.3);
}

.modal-form .btn-primary:hover {
    box-shadow: 0 22px 40px rgba(124, 58, 237, 0.4);
}

.modal-form .form-note {
    font-size: 0.9rem;
    color: var(--color-muted);
    text-align: center;
    margin: 0;
}

.modal-form .error-message {
    display: none;
    font-size: 0.85rem;
    color: #dc2626;
}

.modal-form label:has(input:invalid:not(:placeholder-shown)) .error-message,
.modal-form label:has(textarea:invalid:not(:placeholder-shown)) .error-message {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal.show {
        justify-content: center;
        align-items: flex-end;
    }
    
    .modal-content {
        max-width: 100%;
        width: 100%;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        margin: 0;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 20px 20px 0;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        padding: 0 20px 20px;
    }
    
    .modal-body h3 {
        font-size: 1.3rem;
    }
}
