/* ============================================================
   FUTURISTIC / HUD DISAINIKIHT (laetakse pärast styles.css)
   Tume täppistehnoloogia esteetika: tsüaan-aktsent, Space Grotesk,
   JetBrains Mono andmesildid, 3D-hero (hero3d.js).
   ============================================================ */

:root {
    --accent-blue: #0EA5E9;
    --accent-light: #22D3EE;
    --accent-glow: rgba(34, 211, 238, 0.18);
    --cyan: #22D3EE;
    --cyan-soft: rgba(34, 211, 238, 0.55);
    --hud-line: rgba(148, 197, 255, 0.35);
    --deep-1: #04070F;
    --deep-2: #0A1322;
    --shadow-btn: 0 10px 28px -6px rgba(14, 165, 233, 0.45);
}

h1, h2, h3, h4, .font-display, .preloader-logo {
    font-family: 'Space Grotesk', 'Outfit', sans-serif;
}

.section-tag-line, .watermark, .service-tag {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.18em;
}

/* ---------- HERO: alus ---------- */
.hero-tech {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(1200px 700px at 70% 30%, rgba(14, 165, 233, 0.10), transparent 60%),
        radial-gradient(900px 600px at 20% 80%, rgba(34, 211, 238, 0.06), transparent 60%),
        linear-gradient(180deg, var(--deep-1) 0%, var(--deep-2) 55%, #0F172A 100%);
}

#hero3d {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Peen perspektiivvõrk põrandal */
.hero-grid {
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    transform: perspective(600px) rotateX(58deg);
    transform-origin: bottom center;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%, rgba(0,0,0,0.5) 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 45%, rgba(0,0,0,0.5) 100%);
}

/* ---------- HERO: HUD kiht ---------- */
.hero-hud {
    position: absolute;
    inset: 92px 4% 28px 4%;
    pointer-events: none;
    z-index: 3;
    font-family: 'JetBrains Mono', monospace;
}

.hud-corner {
    position: absolute;
    width: 26px;
    height: 26px;
    border: 1px solid var(--hud-line);
    opacity: 0.9;
}
.hud-corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud-corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud-corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud-corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.hud-top, .hud-bottom {
    position: absolute;
    left: 22px;
    right: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.hud-top { top: 10px; }
.hud-bottom { bottom: 10px; }

.hud-meta {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    color: rgba(186, 215, 247, 0.55);
    white-space: nowrap;
}

.hud-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    color: #BAE6FD;
    border: 1px solid var(--hud-line);
    border-radius: 3px;
    background: rgba(8, 19, 36, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: color 0.4s, border-color 0.4s;
}
.hud-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan);
    animation: hud-pulse 1.6s ease-in-out infinite;
}
@keyframes hud-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}
.hud-chip.bad { color: #FCA5A5; border-color: rgba(248, 113, 113, 0.45); }
.hud-chip.bad .hud-dot { background: #F87171; box-shadow: 0 0 8px #F87171; }
.hud-chip.work { color: #67E8F9; border-color: rgba(34, 211, 238, 0.5); }
.hud-chip.ok { color: #86EFAC; border-color: rgba(74, 222, 128, 0.4); }
.hud-chip.ok .hud-dot { background: #4ADE80; box-shadow: 0 0 8px #4ADE80; }

/* ---------- HUD väljakutse: sihik kivitäkkel + olekusilt ---------- */
.hud-callout {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    color: var(--cyan);
}
.hud-callout.visible { opacity: 1; }
.hud-callout.bad { color: #F87171; }
.hud-callout.work { color: #22D3EE; }
.hud-callout.ok { color: #4ADE80; }

.hud-reticle {
    position: absolute;
    left: 0;
    top: 0;
    width: 54px;
    height: 54px;
    transform: translate(-50%, -50%);
}
.ret-ring {
    position: absolute;
    inset: 8px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    box-shadow: 0 0 16px currentColor, inset 0 0 10px rgba(255, 255, 255, 0.08);
    animation: ret-breathe 2.4s ease-in-out infinite;
}
@keyframes ret-breathe {
    0%, 100% { transform: scale(1); opacity: 0.95; }
    50% { transform: scale(1.12); opacity: 0.6; }
}
.ret-tick {
    position: absolute;
    background: currentColor;
    box-shadow: 0 0 6px currentColor;
}
.ret-tick.t { left: 50%; top: -2px; width: 1.5px; height: 9px; transform: translateX(-50%); }
.ret-tick.b { left: 50%; bottom: -2px; width: 1.5px; height: 9px; transform: translateX(-50%); }
.ret-tick.l { top: 50%; left: -2px; height: 1.5px; width: 9px; transform: translateY(-50%); }
.ret-tick.r { top: 50%; right: -2px; height: 1.5px; width: 9px; transform: translateY(-50%); }

.hud-callout-line {
    position: absolute;
    left: 20px;
    top: -20px;
    width: 74px;
    height: 1.5px;
    background: linear-gradient(90deg, currentColor, transparent);
    box-shadow: 0 0 6px currentColor;
    transform: rotate(-38deg);
    transform-origin: left center;
}

.hud-callout .hud-chip {
    position: absolute;
    left: 72px;
    top: -92px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    padding: 11px 18px;
    border-radius: 6px;
    border-width: 1.5px;
    background: rgba(6, 14, 27, 0.78);
    box-shadow: 0 0 28px rgba(0, 0, 0, 0.5), 0 0 22px -4px currentColor;
    white-space: nowrap;
}
.hud-callout-text { display: flex; flex-direction: column; gap: 3px; }
.hud-callout-sub {
    font-size: 0.58rem;
    letter-spacing: 0.24em;
    color: rgba(186, 215, 247, 0.6);
}
/* Peegelpilt, kui silt jookseks paremast servast välja */
.hud-callout.flip .hud-callout-line { transform: rotate(-142deg); }
.hud-callout.flip .hud-chip { left: auto; right: 72px; }

/* Kitsamal ekraanil kompaktsem silt, et see paremale ära mahuks */
@media (max-width: 1280px) {
    .hud-callout .hud-chip { font-size: 0.64rem; padding: 9px 13px; left: 58px; top: -76px; }
    .hud-callout-line { width: 54px; }
    .hud-callout.flip .hud-chip { left: auto; right: 58px; }
}

.hud-callout .hud-chip.pop { animation: chip-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes chip-pop {
    0% { transform: scale(1.22); filter: brightness(1.8); }
    100% { transform: scale(1); filter: brightness(1); }
}

/* Väljakutse asukoht ilma 3D-ta (mobiil / fallback) */
.hero-tech.no3d .hud-callout {
    opacity: 1;
    left: 68%;
    top: 38%;
}
@media (max-width: 768px) {
    .hero-tech.no3d .hud-callout { left: 38%; top: 30%; }
    .hud-callout .hud-chip { font-size: 0.66rem; padding: 9px 14px; }
}

/* ---------- HERO: sisu ---------- */
.hero-tech .hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 980px;
    padding: 0 5%;
}

.hero-tech .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #7DD3FC;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 100px;
    padding: 9px 20px;
    background: rgba(8, 19, 36, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 28px;
}
.hero-tech .badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    animation: hud-pulse 1.6s ease-in-out infinite;
}

.hero-tech .hero-title {
    font-size: clamp(2.8rem, 7vw, 5.4rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: #F0F9FF;
    margin-bottom: 22px;
    text-shadow: 0 2px 40px rgba(2, 8, 20, 0.6);
}
.hero-tech .blue-text {
    background: linear-gradient(100deg, #38BDF8 0%, #22D3EE 45%, #A5F3FC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 0 28px rgba(34, 211, 238, 0.35));
}

.hero-tech .hero-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: rgba(203, 225, 245, 0.78);
    max-width: 640px;
    margin: 0 auto 38px;
    line-height: 1.7;
}

/* ---------- HERO: kiirvorm (reg-nr -> pakkumine) ---------- */
.hero-quick {
    display: flex;
    align-items: stretch;
    gap: 10px;
    max-width: 560px;
    margin: 0 auto 18px;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(125, 211, 252, 0.22);
    background: rgba(7, 16, 30, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px -20px rgba(2, 8, 20, 0.8), inset 0 1px 0 rgba(186, 230, 253, 0.08);
}

.hq-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid rgba(125, 211, 252, 0.18);
    background: rgba(10, 22, 40, 0.65);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.hq-field:focus-within {
    border-color: rgba(34, 211, 238, 0.6);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12), 0 0 24px rgba(34, 211, 238, 0.12);
}
.hq-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: rgba(125, 211, 252, 0.6);
    white-space: nowrap;
}
.hq-field input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #E0F2FE;
    padding: 14px 0;
    cursor: none;
}
.hq-field input::placeholder { color: rgba(148, 184, 220, 0.35); }

.hero-quick .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    border-radius: 10px;
    background: linear-gradient(120deg, #0EA5E9, #22D3EE);
    box-shadow: var(--shadow-btn), 0 0 30px rgba(34, 211, 238, 0.25);
    border: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #04121F;
    padding: 0 26px;
}
.hq-arrow { font-weight: 400; transform: translateY(-1px); }

.hero-sub-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.82rem;
    color: rgba(148, 184, 220, 0.6);
}
.hq-sep { opacity: 0.4; }
.hq-link {
    color: #7DD3FC;
    text-decoration: none;
    border-bottom: 1px solid rgba(125, 211, 252, 0.3);
    padding-bottom: 1px;
    transition: color 0.3s, border-color 0.3s;
}
.hq-link:hover { color: #BAE6FD; border-color: #BAE6FD; }
.hq-note { letter-spacing: 0.02em; }

/* ---------- Scroll-vihje heledal taustal nähtavaks ---------- */
.hero-tech .scroll-hint { z-index: 4; }

/* ---------- 3D puudub (mobiil / reduced-motion / WebGL-i pole) ---------- */
.hero-tech.no3d #hero3d { display: none; }
.hero-tech.no3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 420px at 62% 38%, rgba(34, 211, 238, 0.13), transparent 65%),
        radial-gradient(2px 2px at 20% 30%, rgba(186, 230, 253, 0.5), transparent 100%),
        radial-gradient(2px 2px at 80% 20%, rgba(186, 230, 253, 0.35), transparent 100%),
        radial-gradient(1.5px 1.5px at 45% 70%, rgba(186, 230, 253, 0.4), transparent 100%);
}

/* ---------- Mobiil ---------- */
@media (max-width: 768px) {
    .hero-hud { inset: 84px 4% 20px 4%; }
    .hud-top { top: 4px; left: 12px; right: 12px; }
    .hud-bottom { bottom: 4px; left: 12px; right: 12px; }
    .hud-meta { display: none; }
    .hud-bottom .hud-meta { display: block; }
    .hero-quick { flex-direction: column; padding: 10px; }
    .hero-quick .btn-primary { justify-content: center; padding: 16px 26px; }
    .hq-field input { padding: 13px 0; }
}

/* ============================================================
   TUME TEEMA: KOGU LEHT HUD-KEELES (hero'st allapoole)
   ============================================================ */
body {
    background: var(--deep-1);
    color: #C9DCEF;
}
body::-webkit-scrollbar-track { background: #0A1322; }
body::-webkit-scrollbar-thumb { background: #1E3A5F; }
body::-webkit-scrollbar-thumb:hover { background: #2E5077; }

/* Navigatsioon kerides: tume klaas heleda asemel */
nav.scrolled .nav-inner {
    background: rgba(8, 17, 32, 0.78);
    border: 1px solid rgba(125, 211, 252, 0.16);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
}
nav.scrolled .logo { color: white; }
nav.scrolled .nav-item { color: rgba(224, 242, 254, 0.85); }
nav.scrolled .lang-switch { border-color: rgba(125, 211, 252, 0.2); }
nav.scrolled .lang-switch a { color: rgba(148, 184, 220, 0.6); }
nav.scrolled .lang-switch a.active, nav.scrolled .lang-switch a:hover { color: #7DD3FC; }
nav.scrolled .btn-glass { color: #E0F2FE !important; border-color: rgba(125, 211, 252, 0.3); }
nav.scrolled .btn-glass:hover { background: rgba(34, 211, 238, 0.15); color: white !important; border-color: rgba(34, 211, 238, 0.5); }

/* Peened eraldusjooned sektsioonide vahel */
.services, .testimonials, .partners-section, .essential-info { border-top: 1px solid rgba(125, 211, 252, 0.07); }

/* --- Usalduse moodulid --- */
.trust-section { background: transparent; border-bottom: 1px solid rgba(125, 211, 252, 0.08); }
.trust-item {
    background: rgba(10, 19, 34, 0.55);
    border: 1px solid rgba(125, 211, 252, 0.10);
    border-radius: 10px;
}
.trust-item:hover {
    background: rgba(14, 26, 46, 0.85);
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: 0 18px 44px -18px rgba(34, 211, 238, 0.25);
}
.trust-item h4 { color: #E8F4FF; }
.trust-item p { color: rgba(168, 199, 228, 0.65); }
.trust-icon {
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.22);
    color: #22D3EE;
    border-radius: 8px;
}
.trust-item:hover .trust-icon {
    background: linear-gradient(135deg, #0EA5E9, #22D3EE);
    color: #04121F;
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.4);
}

/* --- Meist --- */
.about-section {
    background: radial-gradient(900px 500px at 85% 20%, rgba(14, 165, 233, 0.07), transparent 60%), #0A1322;
}
.about-content h2 { color: #F0F9FF; }
.about-content p { color: rgba(168, 199, 228, 0.72); }
.about-image {
    border: 1px solid rgba(125, 211, 252, 0.15);
    border-radius: 14px;
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.year-badge {
    background: #081120;
    border: 1px solid rgba(34, 211, 238, 0.35);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.15);
}
.year-badge::before { border-color: rgba(34, 211, 238, 0.35); }

/* --- Teenused --- */
.services { background: transparent; }
.section-header h2 { color: #F0F9FF; }
.section-header p { color: rgba(168, 199, 228, 0.7); }
.service-content h3 { color: #F0F9FF; }
.service-content p { color: rgba(168, 199, 228, 0.72); }
.service-list li { color: #CFE6F8; }
.service-list li::before { color: #22D3EE; }
.service-tag {
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.25);
    color: #67E8F9;
    border-radius: 4px;
    font-size: 0.66rem;
}
.watermark { -webkit-text-stroke: 1.5px rgba(125, 211, 252, 0.10); }
.service-row:hover .watermark { -webkit-text-stroke: 2px rgba(34, 211, 238, 0.30); }
.service-img-wrap {
    border-radius: 14px;
    border: 1px solid rgba(125, 211, 252, 0.14);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.service-img-wrap:hover { box-shadow: 0 40px 90px -25px rgba(34, 211, 238, 0.18); }
.link-arrow { color: #E0F2FE; }
.link-arrow:hover { color: #67E8F9; }
.link-arrow .circle { border-color: rgba(125, 211, 252, 0.25); }
.link-arrow:hover .circle { background: #22D3EE; border-color: #22D3EE; color: #04121F; }

/* --- Tagasiside --- */
.testimonials { background: #0A1322; }
.testimonials::before { background: radial-gradient(circle, rgba(34, 211, 238, 0.12), transparent 70%); }
.testimonials::after { background: radial-gradient(circle, rgba(34, 211, 238, 0.07), transparent 70%); }
.test-card { border-radius: 12px; border-color: rgba(125, 211, 252, 0.12); }
.test-card:hover { border-color: rgba(34, 211, 238, 0.4); }
.test-avatar {
    background: linear-gradient(135deg, #0EA5E9, #22D3EE);
    color: #04121F;
    box-shadow: 0 8px 20px rgba(34, 211, 238, 0.3);
}
.test-service { color: #67E8F9; }

/* --- Partnerid --- */
.partners-section { background: transparent; }
.partners-title {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.2em;
    color: rgba(148, 184, 220, 0.55);
}
.partner-logo { color: rgba(148, 184, 220, 0.28); }
.partner-logo:hover { color: #BAE6FD; }

/* --- Kontaktiplokk --- */
.essential-info {
    background: radial-gradient(800px 400px at 15% 80%, rgba(14, 165, 233, 0.06), transparent 60%), #0A1322;
}
.info-architecture {
    background: rgba(8, 17, 32, 0.75);
    border: 1px solid rgba(125, 211, 252, 0.13);
    border-radius: 14px;
    box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.8);
}
.info-col { border-left-color: rgba(125, 211, 252, 0.1); }
.info-col h4 { color: #E8F4FF; }
.info-col p, .info-col a.info-link { color: rgba(148, 184, 220, 0.7); }
.info-col a.info-link:hover { color: #67E8F9; }
.massive-phone:hover { color: white; }
.map-btn {
    background: rgba(10, 22, 40, 0.7);
    border-color: rgba(125, 211, 252, 0.18);
    color: #9CC3E8;
}
.map-btn:hover { box-shadow: 0 5px 18px rgba(34, 211, 238, 0.15); }

/* --- Mobiil: tume teema erisused --- */
@media (max-width: 768px) {
    .trust-item { background: rgba(10, 19, 34, 0.55); }
    .mobile-bottom-nav {
        background: rgba(8, 17, 32, 0.92);
        border: 1px solid rgba(125, 211, 252, 0.18);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    }
    .mobile-nav-item { color: rgba(148, 184, 220, 0.6); }
    .mobile-nav-item.active, .mobile-nav-item:hover { color: #22D3EE; }
}
@media (max-width: 600px) {
    .info-col:nth-last-child(2) { border-bottom-color: rgba(125, 211, 252, 0.1); }
}

/* --- CTA bänner (auto + "Võta meiega ühendust") --- */
.cta-banner {
    background:
        radial-gradient(900px 500px at 50% 10%, rgba(14, 165, 233, 0.16), transparent 60%),
        linear-gradient(180deg, #0A1322 0%, #060D19 100%);
}
.cta-banner::before {
    background:
        radial-gradient(circle at 15% 20%, rgba(34, 211, 238, 0.10), transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(2, 6, 14, 0.5), transparent 50%);
}
.cta-banner::after {
    background-image:
        linear-gradient(rgba(125, 211, 252, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 211, 252, 0.06) 1px, transparent 1px);
}
.cta-banner p { color: rgba(203, 225, 245, 0.8); }
.cta-banner .btn-primary {
    background: linear-gradient(120deg, #0EA5E9, #22D3EE);
    color: #04121F !important;
    border-color: transparent;
}
.cta-banner .btn-primary:hover {
    background: #E0F2FE;
    border-color: #E0F2FE;
    color: #04121F !important;
}
.cta-bottom { border-top-color: rgba(125, 211, 252, 0.15); color: rgba(148, 184, 220, 0.6); }

/* ============================================================
   LISAD: kleepuv CTA, statistika, ADAS-radar, skaneering, modaalid
   ============================================================ */

/* --- Kleepuv CTA-riba (arvutis; mobiilis on oma alumine riba) --- */
.sticky-cta {
    position: fixed;
    bottom: 22px;
    /* Crisp vestlusmull (~54x54) on all paremas nurgas, ~20px servast.
       Hoiame "Küsi pakkumist" riba paremal, kuid ~100px servast, et mulliga ruumi jääks. */
    right: 100px;
    z-index: 950;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 10px 9px 20px;
    border-radius: 100px;
    background: rgba(8, 17, 32, 0.85);
    border: 1px solid rgba(125, 211, 252, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 18px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px -10px rgba(34, 211, 238, 0.35);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.sticky-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.sc-phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #E0F2FE;
    text-decoration: none;
    transition: color 0.3s;
}
.sc-phone svg { color: #22D3EE; }
.sc-phone:hover { color: #67E8F9; }
.sc-divider { width: 1px; height: 22px; background: rgba(125, 211, 252, 0.2); }
.sticky-cta .sc-btn {
    padding: 10px 22px;
    border-radius: 100px;
    background: linear-gradient(120deg, #0EA5E9, #22D3EE);
    color: #04121F !important;
    border: 0;
    font-size: 0.78rem;
}
@media (max-width: 768px) { .sticky-cta { display: none; } }

/* Mobiilis: tõsta Crispi vestlusmull alumisest menüüribast kõrgemale,
   et see ei kataks navigatsiooni. Sihime ainult kokkupandud nuppu (anchor),
   nii et avatud vestlusaken jääb puutumata.
   NB! Crispi DOM kasutab obfuskeeritud klasse — kõige kindlam on määrata
   vertikaalne nihe ka Crispi töölaualt (Chatbox → Appearance). */
@media (max-width: 768px) {
    #crisp-chatbox a[aria-label],
    #crisp-chatbox > div > a {
        bottom: 100px !important;
    }
}

/* --- Tiksuvad usaldusnumbrid (Meist) --- */
.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 38px;
    padding-top: 30px;
    border-top: 1px solid rgba(125, 211, 252, 0.12);
    flex-wrap: wrap;
}
.stat-num {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.3rem;
    font-weight: 500;
    color: #22D3EE;
    text-shadow: 0 0 24px rgba(34, 211, 238, 0.4);
    line-height: 1.1;
}
.stat-label {
    display: block;
    margin-top: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: rgba(148, 184, 220, 0.6);
}

/* --- ADAS radarivisualiseering --- */
.adas-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(420px 320px at 50% 35%, rgba(14, 165, 233, 0.12), transparent 65%),
        linear-gradient(rgba(125, 211, 252, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 211, 252, 0.045) 1px, transparent 1px),
        #081120;
    background-size: auto, 44px 44px, 44px 44px, auto;
}
.adas-svg { width: 100%; height: 100%; }
.adas-chip {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: #67E8F9;
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 3px;
    padding: 6px 12px;
    background: rgba(6, 14, 27, 0.7);
}
.adas-car rect, .adas-car path {
    fill: rgba(14, 165, 233, 0.06);
    stroke: #7DD3FC;
    stroke-width: 1.6;
}
.adas-car path { fill: none; }
.adas-cam { fill: #22D3EE; filter: drop-shadow(0 0 6px #22D3EE); }
.adas-cone { animation: cone-breathe 3s ease-in-out infinite; }
@keyframes cone-breathe {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}
.adas-ring {
    fill: none;
    stroke: #22D3EE;
    stroke-width: 1.3;
    stroke-dasharray: 6 7;
    opacity: 0.2;
    animation: ring-pulse 3s ease-in-out infinite;
}
.adas-ring.r2 { animation-delay: 0.5s; }
.adas-ring.r3 { animation-delay: 1s; }
@keyframes ring-pulse {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.65; }
}
.adas-ping {
    fill: none;
    stroke: #22D3EE;
    stroke-width: 1.5;
    transform-origin: 300px 310px;
    transform-box: view-box;
    animation: adas-ping 2.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes adas-ping {
    0% { transform: scale(0.15); opacity: 0.9; }
    75% { transform: scale(3.2); opacity: 0; }
    100% { transform: scale(3.2); opacity: 0; }
}
.adas-dot {
    fill: #22D3EE;
    filter: drop-shadow(0 0 4px #22D3EE);
    animation: hud-pulse 1.6s ease-in-out infinite;
}
.adas-dot.d2 { animation-delay: 0.4s; }
.adas-dot.d3 { animation-delay: 0.8s; }
.adas-dot.d4 { animation-delay: 1.2s; }
.adas-rear {
    fill: none;
    stroke: rgba(34, 211, 238, 0.5);
    stroke-width: 1.3;
    stroke-dasharray: 4 6;
    animation: ring-pulse 3s ease-in-out infinite;
    animation-delay: 1.5s;
}
.adas-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    fill: rgba(125, 211, 252, 0.7);
}

/* --- Skaneerimisjoon teenusepiltidel (hover) --- */
.service-img-wrap::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -14%;
    height: 11%;
    background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.30), rgba(186, 230, 253, 0.18), transparent);
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}
.service-img-wrap:hover::before { animation: img-scan 1.1s ease-in-out; }
@keyframes img-scan {
    0% { top: -14%; opacity: 1; }
    100% { top: 112%; opacity: 0.4; }
}

/* --- Modaalid tumedaks --- */
.ra-modal { background: rgba(2, 8, 18, 0.82); }
.ra-modal-panel {
    --bg-surface: rgba(13, 25, 44, 0.85);
    --bg-pure: #0E1C30;
    --text-dark: #E8F4FF;
    --text-gray: #93B5D6;
    --border-light: rgba(125, 211, 252, 0.16);
    background: #0B1626;
    border: 1px solid rgba(125, 211, 252, 0.18);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 60px -20px rgba(34, 211, 238, 0.15);
    color: #C9DCEF;
}
.ra-modal-close { background: rgba(125, 211, 252, 0.08); }
.ra-modal-close:hover { background: rgba(125, 211, 252, 0.18); color: #E8F4FF; }
.ra-modal-badge { background: rgba(34, 211, 238, 0.1); color: #67E8F9; }
.ra-input { background: rgba(13, 25, 44, 0.85); }
.ra-input:focus { background: rgba(13, 25, 44, 1); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14); }
.ra-input::placeholder { color: rgba(125, 168, 207, 0.45); }
.ra-dropdown-menu { background: #0E1C30; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); }
.ra-dropdown-menu .dropdown-item:hover { background: rgba(125, 211, 252, 0.08); }
.ra-chip input:checked + span {
    background: linear-gradient(120deg, #0EA5E9, #22D3EE);
    color: #04121F;
    border-color: transparent;
}
.ra-service-option input:checked + .ra-service-option__inner {
    background: rgba(34, 211, 238, 0.08);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}
.ra-method-card:hover { background: rgba(34, 211, 238, 0.05); }
.ra-method-card.selected { background: rgba(34, 211, 238, 0.08); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12); }
.ra-method-card__icon { color: #22D3EE; }
.ra-logo-option { background: rgba(255, 255, 255, 0.92); }
.ra-logo-option:hover { background: #fff; }
.ra-logo-option.selected { background: #fff; box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.3); }
.ra-upload-area:hover, .ra-upload-area.highlight { background: rgba(34, 211, 238, 0.05); }
.ra-upload-area__icon, .ra-upload-area__text strong, .ra-qr-link, .ra-required, .ra-details__summary { color: #22D3EE; }
.ra-modal .btn-primary {
    background: linear-gradient(120deg, #0EA5E9, #22D3EE);
    color: #04121F !important;
    border-color: transparent;
}
.ra-modal .btn-primary:hover {
    background: #E0F2FE;
    border-color: #E0F2FE;
    color: #04121F !important;
}

/* ============================================================
   SÜSTEEMIKONTROLL, KAHJUSKEEMID, KALIBREERIMISJOON
   ============================================================ */

/* --- Süsteemikontroll (endised usalduskaardid) --- */
.sys-check {
    max-width: 920px;
    margin: 0 auto;
    border: 1px solid rgba(125, 211, 252, 0.16);
    border-radius: 12px;
    background: rgba(8, 17, 32, 0.6);
    font-family: 'JetBrains Mono', monospace;
    overflow: hidden;
}
.sys-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(125, 211, 252, 0.14);
    background: rgba(13, 25, 44, 0.5);
}
.sys-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    color: #7DD3FC;
}
.sys-meta { font-size: 0.6rem; letter-spacing: 0.2em; color: rgba(148, 184, 220, 0.45); }
.sys-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 19px 24px;
    border-top: 1px solid rgba(125, 211, 252, 0.07);
    opacity: 0.45;
    transition: opacity 0.5s ease, background 0.5s ease;
}
.sys-row:first-of-type { border-top: 0; }
.sys-row.checking, .sys-row.done { opacity: 1; }
.sys-row.done { animation: sys-flash 0.7s ease; }
@keyframes sys-flash {
    0% { background: rgba(34, 211, 238, 0.12); }
    100% { background: transparent; }
}
.sys-num { font-size: 0.7rem; color: rgba(34, 211, 238, 0.55); letter-spacing: 0.1em; }
.sys-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sys-name { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.22em; color: #E8F4FF; }
.sys-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    color: rgba(148, 184, 220, 0.6);
    letter-spacing: 0;
}
.sys-dots { flex: 1; min-width: 24px; border-bottom: 1px dashed rgba(125, 211, 252, 0.18); }
.sys-status {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    color: rgba(148, 184, 220, 0.45);
    white-space: nowrap;
    transition: color 0.3s;
}
.sys-row.checking .sys-status { color: #67E8F9; }
.sys-row.done .sys-status { color: #4ADE80; text-shadow: 0 0 14px rgba(74, 222, 128, 0.5); }
@media (max-width: 768px) {
    .sys-head { padding: 12px 16px; }
    .sys-meta { display: none; }
    .sys-row { padding: 15px 16px; gap: 12px; }
    .sys-dots { display: none; }
    .sys-desc { font-size: 0.78rem; }
    .sys-status { margin-left: auto; }
}

/* --- Kahjupiltide skeemid kasko-modaalis --- */
.ra-upload-example__img--schematic {
    position: relative;
    padding-top: 0;
    aspect-ratio: 5 / 3;
    background: rgba(8, 17, 32, 0.8);
    border: 1px solid rgba(125, 211, 252, 0.18);
    overflow: hidden;
}
.ra-upload-example__img--schematic svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sch-corner { fill: none; stroke: rgba(125, 211, 252, 0.5); stroke-width: 1.5; }
.sch-car path, .sch-car rect { fill: rgba(14, 165, 233, 0.06); stroke: #7DD3FC; stroke-width: 1.5; }
.sch-glass {
    fill: rgba(14, 165, 233, 0.07);
    stroke: #7DD3FC;
    stroke-width: 1.5;
}
.sch-star path {
    fill: none;
    stroke: #22D3EE;
    stroke-width: 1.4;
    stroke-linecap: round;
    filter: drop-shadow(0 0 3px rgba(34, 211, 238, 0.8));
}
.sch-star-zoom path { stroke-width: 2; }
.sch-lens {
    fill: rgba(6, 14, 27, 0.55);
    stroke: #67E8F9;
    stroke-width: 2;
    filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.5));
}
.sch-lens-handle { stroke: #67E8F9; stroke-width: 3.5; stroke-linecap: round; }
.sch-plate { fill: rgba(6, 14, 27, 0.8); stroke: #67E8F9; stroke-width: 1; }
.sch-plate-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 7px;
    letter-spacing: 1px;
    fill: #BAE6FD;
}
.ra-upload-example > span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7DD3FC;
}

/* --- Kalibreerimisjoon (BMW asemel) + CTA-bänneri uus ülaserv --- */
.cal-divider {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(34, 211, 238, 0.45), transparent 95%);
    z-index: 26;
    overflow: visible;
}
.cal-spark {
    position: absolute;
    top: -2.5px;
    left: -10%;
    width: 110px;
    height: 6px;
    border-radius: 6px;
    background: linear-gradient(90deg, transparent, #67E8F9, transparent);
    filter: blur(1.2px);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.6);
    animation: spark-move 4.5s linear infinite;
}
@keyframes spark-move {
    0% { left: -10%; }
    100% { left: 105%; }
}
.cta-banner { padding-top: 120px; }
@media (max-width: 1024px) { .cta-banner { padding-top: 110px; } }
@media (max-width: 600px) { .cta-banner { padding-top: 90px; } }

/* ============================================================
   HUD-IKOONIKAARDID, KURSORIPARANDUS, KLAASIVALIK
   ============================================================ */

/* --- Kursori "LISAINFO" silt maha (pildid pole klikitavad) --- */
.cursor-ring.hover-img {
    width: 40px;
    height: 40px;
    background: transparent;
    border-color: var(--accent-light);
}
.cursor-ring.hover-img::after { content: none; }

/* --- Usalduskaardid v3: ikoonid pöörlevas sihikurõngas --- */
.hud-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.hud-card {
    position: relative;
    text-align: center;
    padding: 38px 24px 30px;
    border-radius: 12px;
    background: rgba(10, 19, 34, 0.55);
    border: 1px solid rgba(125, 211, 252, 0.10);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s;
}
.hud-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 20px 50px -20px rgba(34, 211, 238, 0.3);
}
.hc-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(34, 211, 238, 0.45);
    transition: border-color 0.4s;
}
.hc-corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.hc-corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.hud-card:hover .hc-corner { border-color: #22D3EE; }
.hc-icon {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22D3EE;
}
.hc-icon svg {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.6));
}
.hc-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(34, 211, 238, 0.5);
    animation: hc-spin 26s linear infinite;
}
.hc-ring.r2 {
    inset: 9px;
    border-style: solid;
    border-color: rgba(125, 211, 252, 0.16);
    animation: hc-spin 18s linear infinite reverse;
}
.hud-card:hover .hc-ring { animation-duration: 7s; border-color: rgba(34, 211, 238, 0.9); }
.hud-card h4 { color: #E8F4FF; font-size: 1.05rem; margin-bottom: 10px; }
.hud-card p { font-size: 0.9rem; color: rgba(168, 199, 228, 0.65); line-height: 1.65; }
.hc-tag {
    display: inline-block;
    margin-top: 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.56rem;
    letter-spacing: 0.22em;
    color: #67E8F9;
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 3px;
    padding: 4px 10px;
    background: rgba(34, 211, 238, 0.06);
}
@media (max-width: 1024px) { .hud-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hud-grid { grid-template-columns: 1fr; } }

/* --- Klaasivalik autoikoonilt (päringuvormis) --- */
.glass-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 14px 12px;
    margin-bottom: 14px;
    border: 1px dashed rgba(125, 211, 252, 0.25);
    border-radius: 14px;
    background: rgba(8, 17, 32, 0.5);
}
.glass-picker svg { width: 150px; height: auto; }
.gp-body {
    fill: rgba(14, 165, 233, 0.05);
    stroke: #7DD3FC;
    stroke-width: 1.6;
}
.gp-mirror { fill: rgba(14, 165, 233, 0.1); stroke: rgba(125, 211, 252, 0.5); stroke-width: 1; }
.gp-zone {
    fill: rgba(34, 211, 238, 0.08);
    stroke: rgba(125, 211, 252, 0.55);
    stroke-width: 1.2;
    cursor: pointer;
    transition: fill 0.25s, stroke 0.25s;
}
.gp-zone:hover { fill: rgba(34, 211, 238, 0.30); stroke: #67E8F9; }
.gp-zone:focus { outline: none; fill: rgba(34, 211, 238, 0.30); stroke: #67E8F9; }
.gp-zone:focus-visible { outline: 2px solid #67E8F9; outline-offset: 2px; }
.gp-zone.selected {
    fill: rgba(34, 211, 238, 0.5);
    stroke: #22D3EE;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.7));
}
.gp-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    fill: #FFFFFF;
    paint-order: stroke;
    stroke: rgba(4, 12, 24, 0.85);
    stroke-width: 2.5px;
    stroke-linejoin: round;
}
.gp-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7DD3FC;
    text-align: center;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.5;
}
.gp-status.picked { color: #4ADE80; }

/* ============================================================
   PARANDUSED: partnerite riba + mobiilivaate korrastus
   ============================================================ */

/* --- Partnerite riba: rohkem kõrgust, logod ei puutu serva --- */
.partners-section { padding: 60px 0 64px; }
.partners-title { margin-bottom: 34px; }
.partner-logo { height: 64px; }

/* --- Hero sisu klikitavaks (aluskiht seab .hero-content { pointer-events:none }) --- */
.hero-tech .hero-content,
.hero-tech .hero-content * { pointer-events: auto; }

/* ============================================================
   MOBIIL ≤768px: uue disaini komponentide korrastus
   ============================================================ */
@media (max-width: 768px) {
    /* Hero: kõrgus + tekst kompaktsemaks */
    .hero-tech { min-height: 100svh; }
    .hero-tech .hero-content { padding: 0 22px; }
    .hero-tech .hero-badge { margin-bottom: 18px; font-size: 0.6rem; }
    .hero-tech .hero-title { font-size: clamp(2.1rem, 8.5vw, 3rem); margin-bottom: 18px; }
    .hero-tech .hero-subtitle { font-size: 0.98rem; margin-bottom: 26px; }

    /* HUD-overlay mobiilis segab teksti – peidame */
    .hero-hud { display: none; }

    /* Usalduskaardid: üks veerg, mugavam padding */
    .hud-grid { grid-template-columns: 1fr; gap: 16px; }
    .hud-card { padding: 30px 22px 26px; }
    .hud-card h4 { font-size: 1.1rem; }

    /* Statistika "Meist" – ühtlaselt jaotatud, ei jookse üle serva */
    .about-stats { gap: 22px 26px; justify-content: space-between; margin-top: 30px; padding-top: 26px; }
    .about-stats .stat { flex: 1 1 40%; min-width: 120px; }
    .stat-num { font-size: 1.9rem; }
    .stat-label { font-size: 0.55rem; }

    /* Partnerid mobiilis pisut tihedam */
    .partners-section { padding: 44px 0 48px; }
    .partner-logo { font-size: 0.95rem; height: 56px; }
}

@media (max-width: 480px) {
    .hero-tech .hero-title { font-size: clamp(1.9rem, 9.5vw, 2.5rem); }
    .about-stats .stat { flex: 1 1 100%; }
}

/* ============================================================
   VALIKUMODAAL (kleepuv CTA -> hinnapäring / kasko kahjuteade)
   ============================================================ */
.ra-choice-panel { max-width: 540px; }
.ra-choice-grid { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.ra-choice-card {
    display: flex; align-items: center; gap: 16px; text-align: left; width: 100%;
    padding: 20px 22px; border-radius: 14px; cursor: pointer;
    background: rgba(13, 25, 44, 0.6);
    border: 1px solid rgba(125, 211, 252, 0.16);
    color: #C9DCEF;
    transition: transform .35s cubic-bezier(0.16,1,0.3,1), border-color .35s, box-shadow .35s, background .35s;
}
.ra-choice-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.5);
    background: rgba(34, 211, 238, 0.06);
    box-shadow: 0 18px 44px -20px rgba(34, 211, 238, 0.4);
}
.ra-choice-card__icon {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #22D3EE; background: rgba(34, 211, 238, 0.10);
    border: 1px solid rgba(34, 211, 238, 0.28);
    transition: background .35s, color .35s;
}
.ra-choice-card:hover .ra-choice-card__icon { background: linear-gradient(135deg, #0EA5E9, #22D3EE); color: #04121F; }
.ra-choice-card__body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.ra-choice-card__body strong { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; color: #E8F4FF; font-weight: 600; }
.ra-choice-card__body span { font-size: 0.85rem; color: rgba(168, 199, 228, 0.7); line-height: 1.5; }
.ra-choice-card__arrow { flex-shrink: 0; font-size: 1.2rem; color: rgba(125, 211, 252, 0.5); transition: transform .35s, color .35s; }
.ra-choice-card:hover .ra-choice-card__arrow { color: #67E8F9; transform: translateX(4px); }
@media (max-width: 600px) {
    .ra-choice-card { padding: 16px; gap: 13px; }
    .ra-choice-card__body span { font-size: 0.8rem; }
}

/* ============================================================
   KIVITÄKKE PARANDUSE VISUAAL (taustapilt + animeeritud SVG)
   ============================================================ */
.repair-visual { background-size: cover; background-position: center; }
.repair-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }

.rep-glass { fill: none; stroke: rgba(125, 211, 252, 0.16); stroke-width: 1.2; }

.rep-caliper line { stroke: #7DD3FC; stroke-width: 1.4; }
.rep-cap-text { font-family: 'JetBrains Mono', monospace; font-size: 15px; letter-spacing: 2px; fill: #BAE6FD; }

.rep-reticle { color: #F87171; animation: rep-reticle-color 6s ease-in-out infinite; }
.rep-reticle line { stroke: currentColor; stroke-width: 1.6; }
.rep-ring {
    fill: none; stroke: currentColor; stroke-width: 1.6; stroke-dasharray: 5 7;
    transform-box: fill-box; transform-origin: center;
    animation: rep-ring-breathe 2.6s ease-in-out infinite;
}

.rep-crack path { fill: none; stroke: #E3F5FF; stroke-width: 1.8; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(186, 230, 253, 0.85)); }
.rep-crack .rep-arc { stroke-width: 1.3; opacity: 0.8; }
.rep-core { fill: #FFFFFF; filter: drop-shadow(0 0 5px rgba(186, 230, 253, 0.9)); }
.rep-crack { animation: rep-crack 6s ease-in-out infinite; }

.rep-scan { transform-box: fill-box; transform-origin: center; opacity: 0; animation: rep-scan 6s ease-in-out infinite; }

.rep-text-bad, .rep-text-ok { font-family: 'JetBrains Mono', monospace; font-size: 14px; letter-spacing: 2px; }
.rep-text-bad { fill: #FCA5A5; opacity: 1; animation: rep-text-bad 6s ease-in-out infinite; }
.rep-text-ok { fill: #86EFAC; opacity: 0; animation: rep-text-ok 6s ease-in-out infinite; }

@keyframes rep-crack {
    0% { opacity: 0; }
    5% { opacity: 1; }
    46% { opacity: 1; }
    64% { opacity: 0.12; }
    74% { opacity: 0; }
    100% { opacity: 0; }
}
@keyframes rep-scan {
    0% { opacity: 0; transform: translateY(0); }
    48% { opacity: 0; transform: translateY(0); }
    52% { opacity: 1; }
    70% { opacity: 1; transform: translateY(150px); }
    76% { opacity: 0; transform: translateY(150px); }
    100% { opacity: 0; transform: translateY(150px); }
}
@keyframes rep-reticle-color {
    0%, 46% { color: #F87171; }
    54%, 68% { color: #22D3EE; }
    80%, 100% { color: #4ADE80; }
}
@keyframes rep-ring-breathe {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.06); opacity: 0.5; }
}
@keyframes rep-text-bad {
    0%, 46% { opacity: 1; }
    54%, 100% { opacity: 0; }
}
@keyframes rep-text-ok {
    0%, 72% { opacity: 0; }
    80%, 96% { opacity: 1; }
    100% { opacity: 0; }
}

/* Hover: kiirenda sihiku hingamist (interaktiivne tunne) */
.repair-visual:hover .rep-ring { animation-duration: 1.1s; }

/* Vähendatud liikumise eelistus: näita lõppolekut (parandatud, selge) */
@media (prefers-reduced-motion: reduce) {
    .rep-crack, .rep-scan, .rep-reticle, .rep-ring, .rep-text-bad, .rep-text-ok { animation: none; }
    .rep-crack { opacity: 0; }
    .rep-reticle { color: #4ADE80; }
    .rep-text-bad { opacity: 0; }
    .rep-text-ok { opacity: 1; }
}

/* Mobiil: pisut väiksem tekst */
@media (max-width: 600px) {
    .rep-cap-text { font-size: 13px; }
    .rep-text-bad, .rep-text-ok { font-size: 12px; }
}

/* ============================================================
   INFO-ARHITEKTUUR: 3 veergu (kiirlingid eemaldatud)
   ============================================================ */
.info-architecture { grid-template-columns: 1.5fr 1fr 1fr; }
@media (max-width: 1024px) { .info-architecture { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .info-architecture { grid-template-columns: 1fr; } }

/* ============================================================
   MOBIILIMODAALID: mugavam alumine leht + sisemine kerimine
   ============================================================ */
@media (max-width: 600px) {
    .ra-modal { align-items: flex-end; padding: 0; }
    .ra-modal-panel {
        width: 100%; max-width: 100%; margin: 0;
        border-radius: 22px 22px 0 0;
        max-height: 92vh; max-height: 92dvh;
        overflow-y: auto; -webkit-overflow-scrolling: touch;
        padding: 26px 18px calc(26px + env(safe-area-inset-bottom));
    }
    .ra-modal-panel--wide, .ra-modal-panel--inquiry { max-width: 100%; }
    .ra-modal-close { top: 14px; right: 14px; }
    .ra-modal-title { font-size: 1.4rem; padding-right: 46px; }
    .ra-modal-header { margin-bottom: 18px; }
    .ra-method-grid { grid-template-columns: 1fr; }
    .ra-logo-grid { grid-template-columns: repeat(3, 1fr); }
    .ra-choice-grid { gap: 12px; }
    .ra-modal.ra-confirm-modal { align-items: center; padding: 18px; }
    .ra-confirm-panel { border-radius: 22px; }
}

/* ============================================================
   LOGO PILT (asendab tekstilogo nii navis kui preloaderis)
   Renderdame valgena, et tumedal taustal alati nähtav oleks.
   ============================================================ */
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo .logo-img {
    height: 38px; width: auto; display: block;
}
.preloader-logo { display: flex; align-items: center; justify-content: center; }
.preloader-logo img {
    height: 58px; width: auto; display: block; max-width: 78vw;
}
@media (max-width: 768px) {
    .logo .logo-img { height: 32px; }
    .preloader-logo img { height: 46px; }
}
@media (max-width: 380px) {
    .logo .logo-img { height: 28px; }
}

/* ============================================================
   TUMEDA TEEMA LOETAVUS (sisendid + kinnitused, ka modaalides)
   ============================================================ */
.ra-input { color: #E8F4FF; }
.ra-confirm-title { color: #E8F4FF; }
.ra-confirm-text { color: rgba(168, 199, 228, 0.72); }

/* ============================================================
   KONTAKTI ALAMLEHT
   ============================================================ */
.contact-page {
    position: relative;
    overflow: hidden;
    padding: 150px 0 90px;
    min-height: 86vh;
    background:
        radial-gradient(900px 500px at 80% 8%, rgba(14, 165, 233, 0.10), transparent 60%),
        radial-gradient(800px 500px at 10% 90%, rgba(34, 211, 238, 0.06), transparent 60%);
}
.contact-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.55; }
.contact-page .container { position: relative; z-index: 1; }

.contact-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.contact-head .section-tag-line { justify-content: center; }
.contact-head h1 {
    font-family: 'Space Grotesk', 'Outfit', sans-serif;
    font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 700; line-height: 1.05;
    color: #F0F9FF; margin: 12px 0 16px; letter-spacing: -0.02em;
}
.contact-head .blue-text {
    background: linear-gradient(100deg, #38BDF8 0%, #22D3EE 45%, #A5F3FC 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    filter: drop-shadow(0 0 26px rgba(34, 211, 238, 0.32));
}
.contact-head p { color: rgba(203, 225, 245, 0.78); font-size: 1.05rem; line-height: 1.7; }

.contact-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 26px; align-items: start; }

.contact-card {
    background: rgba(11, 22, 38, 0.72);
    border: 1px solid rgba(125, 211, 252, 0.14);
    border-radius: 16px;
    padding: 30px 30px 32px;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
}
.contact-form-card h2 { color: #F0F9FF; font-size: 1.7rem; margin: 14px 0 6px; }
.contact-card-sub { color: rgba(168, 199, 228, 0.7); font-size: 0.92rem; margin: 0 0 22px; }
.contact-card .ra-label { color: #9CC0E0; }

.contact-form-card .ra-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form-card .form-group { margin-bottom: 16px; }
.contact-form-card .ra-submit-btn {
    width: 100%; margin-top: 6px;
    background: linear-gradient(120deg, #0EA5E9, #22D3EE);
    color: #04121F !important; border-color: transparent;
}
.contact-form-card .ra-submit-btn:hover { background: #E0F2FE; border-color: #E0F2FE; color: #04121F !important; }
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form-msg { margin: 12px 0 0; font-size: 0.88rem; min-height: 1.1em; }
.contact-form-msg.is-error { color: #FCA5A5; }
.contact-success { text-align: center; padding: 16px 6px; }

.contact-aside { display: flex; flex-direction: column; gap: 20px; }
.contact-card-title { display: flex; align-items: center; gap: 12px; color: #E8F4FF; font-size: 1.15rem; margin: 0 0 18px; }
.cc-ico {
    width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #22D3EE; background: rgba(34, 211, 238, 0.10); border: 1px solid rgba(34, 211, 238, 0.28);
}
.cc-ico svg { width: 20px; height: 20px; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(125, 211, 252, 0.08); }
.contact-list li:last-child { border-bottom: 0; }
.cl-label { font-family: 'JetBrains Mono', monospace; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(125, 211, 252, 0.6); min-width: 52px; }
.cl-value { color: #E8F4FF; text-decoration: none; font-size: 1.02rem; transition: color 0.3s; word-break: break-word; }
.cl-value:hover { color: #67E8F9; }

.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(125, 211, 252, 0.08); color: rgba(203, 225, 245, 0.82); }
.hours-list li:last-child { border-bottom: 0; }
.hours-open { color: #4ADE80; font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; }
.hours-closed { color: rgba(148, 184, 220, 0.55); font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; letter-spacing: 0.06em; }

.contact-addr { color: rgba(203, 225, 245, 0.82); line-height: 1.7; margin: 0 0 18px; }

.contact-map {
    margin-top: 26px; border-radius: 16px; overflow: hidden;
    border: 1px solid rgba(125, 211, 252, 0.14);
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
    height: 420px;
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.2) invert(0.9) hue-rotate(180deg) brightness(0.95) contrast(0.92); }

@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .contact-page { padding: 120px 0 80px; }
    .contact-card { padding: 24px 20px 26px; }
    .contact-form-card .ra-form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-head h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
    .contact-map { height: 320px; }
}

/* ============================================================
   MOBIILI VIIMISTLUS: alumise lehe käepide, iOS-zoomi vältimine, ruum
   ============================================================ */
@media (max-width: 600px) {
    /* Alumise lehe "haaramiskäepide" (mitte kinnitusmodaalil) */
    .ra-modal:not(.ra-confirm-modal) .ra-modal-panel { padding-top: 30px; }
    .ra-modal:not(.ra-confirm-modal) .ra-modal-panel::before {
        left: 50%; right: auto; transform: translateX(-50%);
        top: 9px; width: 42px; height: 4px; border-radius: 4px;
        background: rgba(125, 211, 252, 0.45);
    }
    /* Väldi iOS-i automaatset sissesuumimist sisestusväljal */
    .ra-input, .ra-input--textarea { font-size: 16px; }
}
@media (max-width: 1024px) {
    /* Ruum alumise navi jaoks, et sisu ei jääks selle taha */
    body { padding-bottom: 88px; }
}
