/*
   CARBURG - Premium Auto Import Website
   Styles
*/

/* ==================== VARIABLES ==================== */
:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --red: #e63946;
    --gray-900: #1a1a1a;
    --gray-800: #2a2a2a;
    --gray-700: #3a3a3a;
    --gray-600: #6a6a6a;
    --gray-500: #8a8a8a;
    --gray-400: #aaaaaa;
    --gray-300: #cccccc;
    --gray-200: #e0e0e0;
    --gray-100: #e5e5e5;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==================== RESET ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--gray-300);
    overflow-x: hidden;
    /* cursor: none; - Moved to JS to ensure cursor is visible if JS fails */
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }

::selection {
    background: var(--red);
    color: var(--white);
}

/* ==================== LOADER ==================== */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: opacity 0.6s, visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--white);
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    width: 0;
    height: 100%;
    background: var(--red);
    animation: loaderFill 1.8s var(--ease) forwards;
}

@keyframes loaderFill {
    to { width: 100%; }
}

/* ==================== CURSOR ==================== */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(230, 57, 70, 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor.hover {
    width: 50px;
    height: 50px;
    background: rgba(230, 57, 70, 0.15);
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--red);
}

/* ==================== NAVIGATION ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 3rem;
    transition: all 0.4s var(--ease);
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 3rem;
    border-bottom: 1px solid var(--gray-800);
}

.nav.menu-open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #0a0a0a;
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--white);
}

.logo-dot {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-500);
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--red);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-phone {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    transition: color 0.3s;
}

.nav-phone:hover {
    color: var(--white);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.burger span {
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
    display: block;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 3rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(230, 57, 70, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(230, 57, 70, 0.04) 0%, transparent 50%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-tag span {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.hero-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.title-line {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    letter-spacing: -0.03em;
}

.title-line.accent {
    color: var(--red);
}

.hero-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-500);
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    text-transform: uppercase;
}

.btn-main:hover {
    background: #c62f3b;
    transform: translateY(-2px);
}

.btn-main.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 0.9rem;
}

.btn-main.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border: 1px solid var(--gray-700);
    color: var(--gray-300);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--white);
    color: var(--white);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.hero-scroll span {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-600);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--red), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 60px; }
    50% { opacity: 0.3; height: 40px; }
}

/* ==================== MARQUEE ==================== */
.marquee {
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-800);
    border-bottom: 1px solid var(--gray-800);
    overflow: hidden;
    background: var(--gray-900);
    width: 100%;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    animation: marqueeScroll 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.marquee-track span {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-500);
    flex-shrink: 0;
}

.marquee-track .sep {
    color: var(--red);
    font-size: 0.5rem;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==================== SECTIONS COMMON ==================== */
.section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.label-num {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--red);
    letter-spacing: 0.1em;
}

.label-text {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gray-600);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.accent {
    color: var(--red);
}

/* ==================== ABOUT ==================== */
.about {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.about-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-800);
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--red);
    font-weight: 600;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-top: 0.5rem;
}

/* ==================== SERVICES ==================== */
.services {
    padding: 6rem 0;
    background: var(--gray-900);
}

.services .section-title {
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background-color: var(--black);
    border: 1px solid var(--gray-800);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background-size 0.4s var(--ease);
    
    /* Animated Border Gradients */
    background-image: 
        linear-gradient(var(--red), var(--red)), 
        linear-gradient(var(--red), var(--red)), 
        linear-gradient(var(--red), var(--red)), 
        linear-gradient(var(--red), var(--red));
    background-repeat: no-repeat;
    background-position: 
        top left,
        top right,
        bottom right,
        bottom left;
    background-size: 
        0% 2px,
        2px 0%,
        0% 2px,
        2px 0%;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    background-size: 
        100% 2px,
        2px 100%,
        100% 2px,
        2px 100%;
}

/* Obsolete ::before removed, functionally replaced by background gradients above */

.card-num {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-700);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.card-icon {
    color: var(--red);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--gray-500);
}

.card-arrow {
    display: block;
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: var(--gray-700);
    transition: color 0.3s, transform 0.3s;
}

.service-card:hover .card-arrow {
    color: var(--red);
    transform: translateX(5px);
}

/* ==================== GEOGRAPHY ==================== */
.geography {
    padding: 6rem 0;
}

.geography .section-title {
    margin-bottom: 3rem;
}

.geo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.geo-card {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    padding: 2.5rem;
    transition: all 0.4s var(--ease);
}

.geo-card:hover {
    border-color: var(--gray-700);
    transform: translateY(-4px);
}

.geo-flag {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.geo-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.geo-card p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.geo-features li {
    font-size: 0.8rem;
    color: var(--gray-400);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-800);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.geo-features li::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ==================== PROCESS ==================== */
.process {
    padding: 6rem 0;
    background: var(--gray-900);
}

.process .section-title {
    margin-bottom: 4rem;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.step {
    flex: 1;
    padding: 0 2rem;
}

.step-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.step h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.step p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--gray-500);
}

.step-line {
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, var(--red), var(--gray-800));
    flex-shrink: 0;
    margin-top: 1rem;
}

/* ==================== CTA ==================== */
.cta {
    padding: 8rem 0;
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-desc {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== CONTACT ==================== */
.contact {
    padding: 6rem 0;
    background: var(--gray-900);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-400);
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-600);
}

.contact-value {
    font-size: 1rem;
    color: var(--gray-200);
    transition: color 0.3s;
}

a.contact-value:hover {
    color: var(--red);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--black);
    border: 1px solid var(--gray-800);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-600);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--red);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ==================== FAQ ==================== */
.faq {
    padding: 6rem 0;
    background: var(--black);
}

.faq-list {
    max-width: 800px;
    margin-top: 3rem;
}

.faq-item {
    border-bottom: 1px solid var(--gray-800);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--gray-200);
    list-style: none;
    transition: color 0.3s;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--red);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s;
    font-weight: 300;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-item[open] .faq-question {
    color: var(--white);
}

.faq-question:hover {
    color: var(--white);
}

.faq-answer {
    padding: 0 0 1.5rem;
}

.faq-answer p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--gray-400);
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 4rem 0 0;
    border-top: 1px solid var(--gray-800);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-heading {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.footer-col a, .footer-col span {
    font-size: 0.85rem;
    color: var(--gray-500);
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom span {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.footer-privacy {
    font-size: 0.8rem;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-privacy:hover {
    color: var(--white);
}

.dev-banner {
    padding: 1rem 0;
    border-top: 1px solid var(--gray-800);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.dev-banner span {
    font-size: 0.7rem;
    color: var(--gray-600);
    letter-spacing: 0.05em;
}

.dev-banner a {
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.dev-banner a:hover {
    color: var(--red);
}

/* ==================== MODAL ==================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
}

.modal-box {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    padding: 3rem;
    max-width: 400px;
    text-align: center;
    position: relative;
    animation: modalIn 0.4s var(--ease);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--white);
}

.modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(230, 57, 70, 0.1);
    border: 2px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--red);
}

.modal-box h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.modal-box p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ==================== BRANDS ==================== */
.brands {
    padding: 3rem 0;
    border-bottom: 1px solid var(--gray-800);
}

.brands-track {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem 3rem;
}

.brand-item {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--gray-600);
    transition: color 0.3s;
    white-space: nowrap;
}

.brand-item:hover {
    color: var(--white);
}

/* ==================== CALCULATOR ==================== */
.calculator {
    padding: 6rem 0;
}

.calc-subtitle {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
    margin-bottom: 3rem;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calc-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.calc-radio-group {
    display: flex;
    gap: 1rem;
}

.calc-radio {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.calc-radio input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.calc-radio span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.calc-radio input:checked + span {
    border-color: var(--red);
    color: var(--white);
    background: rgba(230, 57, 70, 0.1);
}

.calc-input-wrap {
    position: relative;
}

.calc-input-wrap input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.25rem;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.calc-input-wrap input:focus {
    border-color: var(--red);
}

.calc-input-wrap input::placeholder {
    color: var(--gray-600);
}

.calc-currency {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-weight: 600;
    font-size: 0.9rem;
}

.calc-select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236a6a6a' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    transition: border-color 0.3s;
}

.calc-select:focus {
    border-color: var(--red);
}

.calc-select option {
    background: var(--gray-900);
    color: var(--white);
}

.calc-result {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calc-result-placeholder {
    text-align: center;
    color: var(--gray-600);
}

.calc-result-placeholder svg {
    margin-bottom: 1rem;
    opacity: 0.4;
}

.calc-result-placeholder p {
    font-size: 0.85rem;
}

.calc-result-data {
    width: 100%;
}

.calc-result-data h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.calc-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-800);
    font-size: 0.85rem;
}

.calc-line span:first-child {
    color: var(--gray-400);
}

.calc-line span:last-child {
    color: var(--white);
    font-weight: 600;
    font-family: var(--font-display);
}

.calc-line.calc-total {
    border-bottom: none;
    border-top: 2px solid var(--red);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.calc-line.calc-total span:first-child {
    color: var(--white);
    font-weight: 600;
}

.calc-line.calc-total span:last-child {
    color: var(--red);
    font-size: 1.2rem;
}

.calc-note {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-top: 1rem;
    font-style: italic;
}

/* ==================== REVIEWS ==================== */
.reviews {
    padding: 6rem 0;
    background: var(--gray-900);
}

.reviews .section-title {
    margin-bottom: 3rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.review-card {
    background: var(--black);
    border: 1px solid var(--gray-800);
    padding: 2rem;
    transition: all 0.4s var(--ease);
}

.review-card:hover {
    border-color: var(--gray-700);
    transform: translateY(-4px);
}

.review-stars {
    color: var(--red);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.review-text {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--red);
    flex-shrink: 0;
}

.review-name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
}

.review-car {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-top: 0.15rem;
}

/* ==================== YANDEX MAP ==================== */
.contact-map {
    margin-top: 3rem;
    border: 1px solid var(--gray-800);
    overflow: hidden;
}

.contact-map iframe {
    display: block;
    filter: grayscale(80%) invert(92%) contrast(90%);
    transition: filter 0.4s;
}

.contact-map:hover iframe {
    filter: grayscale(50%) invert(92%) contrast(90%);
}

/* ==================== FLOATING TELEGRAM ==================== */
.floating-tg {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: #0088cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 900;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
    transition: all 0.3s var(--ease);
    opacity: 0;
    transform: translateY(20px);
}

.floating-tg.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-tg:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 136, 204, 0.6);
}

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    background: var(--gray-900);
    border-top: 1px solid var(--gray-800);
    padding: 1rem 2rem;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    animation: slideUp 0.5s var(--ease);
}

.cookie-banner.show {
    display: flex;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-banner p {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin: 0;
}

.cookie-banner a {
    color: var(--red);
    text-decoration: underline;
    transition: color 0.3s;
}

.cookie-banner a:hover {
    color: var(--white);
}

.cookie-accept {
    padding: 0.5rem 1.5rem;
    background: var(--red);
    color: var(--white);
    border: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: background 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.cookie-accept:hover {
    background: #c62f3b;
}

/* ==================== REVEAL ANIMATIONS ==================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .calc-grid {
        grid-template-columns: 1fr;
    }
    .process-steps {
        flex-direction: column;
        gap: 2rem;
    }
    .step-line {
        width: 60px;
        height: 1px;
        background: linear-gradient(to right, var(--red), var(--gray-800));
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #0a0a0a;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
        color: var(--gray-300);
    }

    .nav-phone {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero {
        padding: 0 1.5rem;
    }

    .hero-scroll {
        display: none;
    }

    .section-inner {
        padding: 0 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .geo-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-inner {
        padding: 0 1.5rem;
    }

    .floating-tg {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 48px;
        height: 48px;
    }

    .floating-tg svg {
        width: 20px;
        height: 20px;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1rem 1.5rem;
    }

    .cursor, .cursor-follower {
        display: none;
    }

    body {
        cursor: auto;
    }
}

@media (max-width: 480px) {
    .title-line {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .stat-num {
        font-size: 2rem;
    }

    .cta-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
}

/* Auto/Index Animated Text Cycle */
#animated-word-container {
    display: inline-block;
    position: relative;
    min-width: 250px; /* Adjust based on word length to prevent layout shift */
    vertical-align: top;
    text-align: left;
    height: 1.2em;
    overflow: hidden;
}

.word-cycle-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(-20px);
    filter: blur(8px);
    transition: all 0.4s ease-out;
    white-space: nowrap;
}

.word-cycle-item.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.word-cycle-item.exit {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
    transition: all 0.3s ease-in;
}

/* Ensure font size matches parent h1 */
.word-cycle-item {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}
