/* ============================================
   VOLARISTECH — Corporate Site
   ============================================ */
:root {
    --blue: #1a73e8;
    --blue-dark: #1558b0;
    --blue-soft: #e8f1fc;
    --navy: #1a2332;
    --text: #2d3748;
    --muted: #6b7a90;
    --line: #e6ebf2;
    --bg: #ffffff;
    --bg-soft: #f6f8fb;
    --purple: #8b5cf6;
    --grad: linear-gradient(135deg, #1a73e8 0%, #7c3aed 100%);
    --shadow: 0 10px 30px rgba(26, 50, 90, 0.08);
    --shadow-lg: 0 24px 60px rgba(26, 50, 90, 0.12);
    --radius: 14px;
    --radius-sm: 10px;
    --header-h: 76px;
    --font: "Plus Jakarta Sans", system-ui, sans-serif;
    --container: 1420px;
    --ease: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 22px;
    border-radius: 999px;
    transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.28);
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.btn-ghost {
    background: #fff;
    color: var(--navy);
    border: 1.5px solid var(--line);
}

.btn-ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 600;
}

.btn-link:hover { gap: 12px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    height: var(--header-h);
    transition: box-shadow var(--ease), border-color var(--ease);
}

.site-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(20, 40, 80, 0.06);
    border-bottom-color: var(--line);
}

.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-mark { width: 42px; height: 42px; object-fit: contain; }

.brand-text {
    font-weight: 800;
    font-size: 1.65rem;
    line-height: 1;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    height: 42px;
}

.brand-volaris {
    background: linear-gradient(115deg, #00eaff 0%, #1a73e8 55%, #006fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-tech {
    background: linear-gradient(115deg, #5d54ff 0%, #9f30ff 55%, #b528ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav,
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-mobile {
    display: none;
}

.nav-link,
.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--muted);
    border-radius: 8px;
    transition: color var(--ease), background var(--ease);
    position: relative;
}

.nav-link:hover,
.nav-dropdown-toggle:hover,
.nav-link.is-active,
.nav-dropdown-toggle.is-active {
    color: var(--blue);
}

.nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
}

.nav-dropdown { position: relative; }

.nav-chevron {
    transition: transform 0.3s ease;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.nav-dropdown-solutions {
    position: static;
}

.nav-dropdown-solutions .nav-mega-menu {
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100%;
    min-width: 0;
    max-height: none;
    overflow: visible;
    padding: 0;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow:
        0 28px 60px rgba(15, 35, 70, 0.14),
        0 8px 20px rgba(15, 35, 70, 0.06);
    background:
        linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
}

.nav-dropdown-solutions .nav-mega-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

.nav-mega-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.nav-mega-head strong {
    display: block;
    color: var(--navy);
    font-size: 0.98rem;
    font-weight: 800;
}

.nav-mega-head p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.nav-mega-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(26, 115, 232, 0.08);
    color: var(--blue);
    font-size: 0.86rem;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-mega-cta:hover {
    background: var(--blue);
    color: #fff;
}

.nav-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 14px 16px 18px;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text);
}

.nav-dropdown-menu a:hover {
    background: var(--blue-soft);
    color: var(--blue);
}

.nav-mega-menu .nav-mega-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid transparent;
    color: inherit;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-mega-menu .nav-mega-item:hover {
    background: #fff;
    border-color: rgba(26, 115, 232, 0.16);
    box-shadow: 0 10px 24px rgba(26, 115, 232, 0.08);
    transform: translateY(-1px);
    color: inherit;
}

.nav-mega-eyebrow {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    line-height: 1.2;
}

.nav-mega-title {
    display: block;
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.header-cta { flex-shrink: 0; margin-left: 12px; padding: 11px 18px; font-size: 0.9rem; }

.nav-toggle {
    display: none;
    position: relative;
    z-index: 130;
    width: 46px;
    height: 46px;
    margin-left: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, width 0.25s ease;
    transform-origin: center;
}

.nav-toggle.is-active {
    border-color: rgba(26, 115, 232, 0.35);
    background: var(--blue-soft);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.12);
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-backdrop {
    display: none;
}

/* ---------- Hero: full-width image, content in container ---------- */
.hero {
    padding: 0;
    background: #eef3fb;
}

.hero-wide {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: clamp(360px, 40.8vw, 576px);
    min-height: 360px;
    max-height: 576px;
    aspect-ratio: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.65s ease, visibility 0.65s ease;
    display: flex;
    align-items: center;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.hero-wide .hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-wide .hero-bg-img,
.hero-wide .hero-media img.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center center;
    display: block;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 520px) 1fr;
    gap: 24px;
    align-items: center;
    width: min(100% - 48px, var(--container));
    margin-inline: auto;
    padding: clamp(24px, 3vw, 40px) 0;
}

.hero-wide .hero-content {
    position: relative;
    z-index: 2;
    width: auto;
    max-width: 520px;
    margin: 0;
    padding: 0;
}

.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none;
}

.hero-visual img {
    width: min(100%, 640px);
    height: auto;
    max-height: min(460px, 78%);
    object-fit: contain;
    filter: drop-shadow(0 28px 50px rgba(20, 40, 90, 0.22));
    mix-blend-mode: lighten;
}

/* Hero dots — bottom right */
.hero-dots {
    position: absolute;
    right: max(24px, calc((100% - var(--container)) / 2));
    bottom: 22px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(8px);
}

.hero-dot {
    position: relative;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    overflow: hidden;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot.is-active {
    width: 34px;
    background: rgba(255, 255, 255, 0.28);
}

.hero-dot-progress {
    position: absolute;
    inset: 0;
    width: 0;
    background: #fff;
    border-radius: inherit;
}

.hero-dot.is-active .hero-dot-progress {
    /* süre JS tarafında inline verilir: 3500ms */
    width: 0;
    background: #fff;
}

@keyframes heroDotProgress {
    from { width: 0; }
    to { width: 100%; }
}

/* Hero text reveal — per active slide */
.hero-reveal-item {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    filter: blur(8px);
}

.hero-reveal-visual {
    opacity: 0;
    transform: translate3d(36px, 0, 0) scale(0.96);
}

.hero-slide.is-animating .hero-reveal-item {
    animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-slide.is-animating .hero-reveal-item:nth-child(1) { animation-delay: 0.08s; }
.hero-slide.is-animating .hero-reveal-item:nth-child(2) { animation-delay: 0.2s; }
.hero-slide.is-animating .hero-reveal-item:nth-child(3) { animation-delay: 0.34s; }
.hero-slide.is-animating .hero-reveal-item:nth-child(4) { animation-delay: 0.48s; }

.hero-slide.is-animating .hero-reveal-visual {
    animation: heroVisualIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

.hero-slide.is-animating h1 em {
    animation: heroAccentGlow 1.2s ease 0.55s both;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

@keyframes heroVisualIn {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes heroAccentGlow {
    0% { opacity: 0.35; filter: brightness(0.9); }
    60% { opacity: 1; filter: brightness(1.15); }
    100% { opacity: 1; filter: brightness(1); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }

    .hero-reveal-item,
    .hero-reveal-visual {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
    }

    .hero-dot.is-active .hero-dot-progress {
        animation: none;
        width: 100%;
    }

    .hero-slide.is-animating h1 em {
        animation: none !important;
    }
}

.hero-panel {
    display: none;
}

.hero-panel {
    display: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 22px;
    backdrop-filter: blur(6px);
}

.hero h1 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.12;
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    max-width: 14ch;
}

.hero h1 em {
    font-style: normal;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    color: #4a5568;
    font-size: 1.02rem;
    max-width: 44ch;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero .btn-ghost {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
}

/* ---------- Section commons ---------- */
.section {
    padding: 88px 0;
}

.section-soft { background: var(--bg-soft); }

.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.eyebrow {
    display: inline-block;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-head h2,
.section-title {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-head p {
    margin-top: 12px;
    color: var(--muted);
    max-width: 55ch;
    margin-inline: auto;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ---------- Solutions cards ---------- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.solution-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--ease), box-shadow var(--ease);
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.solution-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    height: 100%;
}

.solution-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin: 16px 16px 0;
    color: #fff;
}

.solution-icon.teal { background: #14b8a6; }
.solution-icon.orange { background: #f97316; }
.solution-icon.purple { background: #8b5cf6; }
.solution-icon.navy { background: #1e3a8a; }
.solution-icon.sky { background: #0ea5e9; }
.solution-icon.indigo { background: #4f46e5; }
.solution-icon.rose { background: #e11d48; }
.solution-icon.lime { background: #65a30d; }
.solution-icon.slate { background: #475569; }
.solution-icon.amber { background: #d97706; }
.solution-icon.crimson { background: #be123c; }

.solutions-more-head {
    text-align: center;
    margin: 0 0 32px;
}

.solutions-more-head .eyebrow {
    display: block;
    margin-bottom: 10px;
}

.solutions-more-head h3 {
    color: var(--navy);
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

.solutions-grid-more {
    grid-template-columns: repeat(4, 1fr);
}

.solution-thumb-group {
    margin: 12px 12px 0;
    border-radius: 14px;
    aspect-ratio: 1.12 / 1;
    background: transparent;
}

.solution-thumb-group img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.solution-card-group .solution-body {
    padding-top: 14px;
}

.solution-thumb {
    margin: 14px 16px 0;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--bg-soft);
}

.solution-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.solution-body h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 700;
}

.solution-body p {
    font-size: 0.86rem;
    color: var(--muted);
    flex: 1;
    margin-bottom: 16px;
}

.solution-arrow {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--muted);
    transition: all var(--ease);
}

.solution-card:hover .solution-arrow {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

/* ---------- Okulport ---------- */
.okulport {
    padding: 40px 0 88px;
}

.okulport-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: linear-gradient(135deg, #f0f6ff 0%, #f7f3ff 100%);
    border-radius: 28px;
    padding: 48px;
    border: 1px solid rgba(26, 115, 232, 0.08);
}

.okulport-copy h2 {
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.okulport-copy > p {
    color: var(--muted);
    margin-bottom: 24px;
    max-width: 48ch;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin-bottom: 28px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 550;
    color: var(--navy);
}

.feature-item svg {
    color: #22c55e;
    flex-shrink: 0;
}

.okulport-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.okulport-visual img {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    filter: drop-shadow(0 24px 40px rgba(40, 60, 120, 0.18));
}

.float-badge {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    color: var(--blue);
    animation: float 4s ease-in-out infinite;
}

.float-badge.b1 { top: 8%; left: 6%; animation-delay: 0s; }
.float-badge.b2 { top: 18%; right: 4%; animation-delay: 0.6s; color: #f59e0b; }
.float-badge.b3 { bottom: 22%; left: 2%; animation-delay: 1.2s; color: #8b5cf6; }
.float-badge.b4 { bottom: 10%; right: 10%; animation-delay: 1.8s; color: #14b8a6; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---------- Stats ---------- */
.stats {
    padding: 0 0 88px;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.stat-item {
    padding: 32px 24px;
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: var(--line);
}

.stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    color: var(--blue);
}

.stat-item strong {
    display: block;
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.stat-item span {
    color: var(--muted);
    font-size: 0.9rem;
}

/* ---------- References ---------- */
.refs-slider-wrap {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    overflow: hidden;
    padding: 4px;
}

.refs-track {
    display: flex;
    gap: 28px;
    padding: 12px 4px;
    will-change: transform;
}

.ref-logo {
    flex: 0 0 calc(20% - 22.4px);
    height: 96px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    display: grid;
    place-items: center;
    padding: 14px 18px;
    filter: grayscale(1);
    opacity: 0.78;
    transition: filter var(--ease), opacity var(--ease), box-shadow var(--ease), transform var(--ease);
}

.ref-logo:hover {
    filter: grayscale(0.15);
    opacity: 1;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.ref-logo img {
    max-width: 100%;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ref-logo span {
    font-weight: 700;
    font-size: 0.82rem;
    color: #5b687c;
    text-align: center;
    line-height: 1.3;
}

.refs-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
}

.refs-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--blue);
    color: var(--blue);
    display: grid;
    place-items: center;
    transition: all var(--ease);
}

.refs-arrow:hover {
    background: var(--blue);
    color: #fff;
}

.refs-dots {
    display: flex;
    gap: 8px;
}

.refs-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c8d4e6;
}

.refs-dots button.is-active { background: var(--blue); }

/* ---------- Page hero (inner) ---------- */
.page-hero {
    padding: 72px 0 56px;
    background:
        radial-gradient(ellipse 50% 80% at 90% 20%, rgba(124, 58, 237, 0.07), transparent),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(26, 115, 232, 0.08), transparent),
        var(--bg-soft);
    text-align: center;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.page-hero p {
    color: var(--muted);
    max-width: 56ch;
    margin-inline: auto;
}

/* ---------- Content blocks ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.about-grid h2 {
    font-size: 1.9rem;
    color: var(--navy);
    margin-bottom: 16px;
    font-weight: 800;
}

.about-grid p {
    color: var(--muted);
    margin-bottom: 14px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.value-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.value-card .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--blue-soft);
    color: var(--blue);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}

.value-card h3 {
    color: var(--navy);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.value-card p { color: var(--muted); font-size: 0.92rem; }

.solution-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
}

.solution-detail:last-child { border-bottom: 0; }
.solution-detail.reverse .solution-detail-copy { order: 2; }
.solution-detail.reverse .solution-detail-media { order: 1; }

.solution-detail h2 {
    font-size: 1.7rem;
    color: var(--navy);
    margin: 10px 0 14px;
    font-weight: 800;
}

.solution-detail p { color: var(--muted); margin-bottom: 12px; }

.solution-detail-media {
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-soft);
    aspect-ratio: 16 / 11;
    border: 1px solid var(--line);
}

.solution-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--ease), box-shadow var(--ease);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--bg-soft);
}

.product-card-body { padding: 20px; }

.product-card h3 {
    color: var(--navy);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.product-card p { color: var(--muted); font-size: 0.9rem; }

.refs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ref-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    height: 110px;
    display: grid;
    place-items: center;
    padding: 16px;
    text-align: center;
    font-weight: 700;
    color: #5b687c;
    font-size: 0.9rem;
}

.ref-card-logo {
    filter: grayscale(1);
    opacity: 0.82;
    transition: filter var(--ease), opacity var(--ease), box-shadow var(--ease), transform var(--ease);
}

.ref-card-logo:hover {
    filter: grayscale(0.15);
    opacity: 1;
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.ref-card-logo img {
    max-width: 100%;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ---------- Forms ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

.contact-info-card {
    background: linear-gradient(160deg, #1a73e8, #5b3cc4);
    color: #fff;
    border-radius: 24px;
    padding: 36px;
}

.contact-info-card h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.contact-info-card > p {
    opacity: 0.9;
    margin-bottom: 28px;
}

.contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.contact-list svg { flex-shrink: 0; margin-top: 2px; opacity: 0.9; }

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font: inherit;
    color: var(--text);
    background: #fff;
    transition: border-color var(--ease), box-shadow var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.12);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.form-note {
    margin-top: 12px;
    font-size: 0.82rem;
    color: var(--muted);
}

.form-success {
    display: none;
    padding: 14px 16px;
    border-radius: 10px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 600;
    margin-bottom: 16px;
}

.form-success.is-visible { display: block; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
    gap: 36px;
    padding-bottom: 48px;
}

.footer-brand p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.92rem;
    max-width: 34ch;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--muted);
    transition: all var(--ease);
}

.social-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.footer-col h4 {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 16px;
}

.footer-col li { margin-bottom: 10px; }

.footer-col a {
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-col a:hover { color: var(--blue); }

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-contact svg {
    color: var(--blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 18px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 18px;
}

.footer-legal a {
    color: var(--muted);
    font-size: 0.85rem;
}

.footer-legal a:hover { color: var(--blue); }

/* ---------- Legal pages ---------- */
.legal-content {
    max-width: 760px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--navy);
    margin: 28px 0 10px;
    font-size: 1.25rem;
}

.legal-content p,
.legal-content li {
    color: var(--muted);
    margin-bottom: 10px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .nav-mega-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .solutions-grid,
    .solutions-grid-more { grid-template-columns: repeat(3, 1fr); }
    .ref-logo { flex-basis: calc(25% - 21px); }
}

@media (max-width: 960px) {
    .header-cta { display: none; }
    .nav-desktop { display: none; }
    .nav-toggle { display: flex; }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 200;
        background: rgba(8, 18, 40, 0.5);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .nav-backdrop.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-mobile {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: min(86vw, 360px);
        height: 100vh;
        height: 100dvh;
        z-index: 210;
        margin: 0;
        padding: 0;
        background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
        box-shadow: -24px 0 60px rgba(10, 24, 56, 0.22);
        transform: translateX(105%);
        visibility: hidden;
        pointer-events: none;
        transition:
            transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0.45s;
    }

    .nav-mobile.is-open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .nav-mobile .nav-panel-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: max(18px, env(safe-area-inset-top)) 20px 14px;
        border-bottom: 1px solid rgba(226, 232, 240, 0.9);
        flex-shrink: 0;
    }

    .nav-mobile .nav-panel-label {
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--blue);
    }

    .nav-mobile .nav-panel-close {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border-radius: 12px;
        color: var(--navy);
        background: #fff;
        border: 1px solid var(--line);
        transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }

    .nav-mobile .nav-panel-close:hover {
        background: var(--blue-soft);
        color: var(--blue);
        border-color: rgba(26, 115, 232, 0.28);
    }

    .nav-mobile .nav-links {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 18px 16px;
        overflow-y: auto;
        flex: 1 1 auto;
        min-height: 0;
        -webkit-overflow-scrolling: touch;
    }

    .nav-mobile .nav-link,
    .nav-mobile .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 15px 16px;
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--navy);
        border-radius: 14px;
        opacity: 0;
        transform: translateX(18px);
        transition:
            opacity 0.35s ease,
            transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
            background 0.2s ease,
            color 0.2s ease;
    }

    .nav-mobile .nav-dropdown {
        opacity: 0;
        transform: translateX(18px);
        transition:
            opacity 0.35s ease,
            transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .nav-mobile.is-open .nav-link,
    .nav-mobile.is-open .nav-dropdown {
        opacity: 1;
        transform: none;
        transition-delay: calc(0.08s + (var(--i, 0) * 0.045s));
    }

    .nav-mobile.is-open .nav-dropdown-toggle {
        opacity: 1;
        transform: none;
    }

    .nav-mobile .nav-link:hover,
    .nav-mobile .nav-dropdown-toggle:hover {
        background: rgba(26, 115, 232, 0.08);
        color: var(--blue);
    }

    .nav-mobile .nav-link.is-active,
    .nav-mobile .nav-dropdown-toggle.is-active {
        background: linear-gradient(115deg, rgba(26, 115, 232, 0.12), rgba(93, 84, 255, 0.1));
        color: var(--blue);
    }

    .nav-mobile .nav-link.is-active::after {
        display: none;
    }

    .nav-mobile .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        background: transparent;
        padding: 0 4px 6px 12px;
        margin: 0 0 4px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease;
    }

    .nav-mobile .nav-dropdown.is-expanded .nav-dropdown-menu {
        max-height: none;
        padding: 4px 4px 10px 12px;
    }

    .nav-mobile .nav-dropdown.is-expanded .nav-chevron {
        transform: rotate(180deg);
    }

    .nav-mobile .nav-dropdown-menu a {
        padding: 11px 14px;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--muted);
        border-radius: 10px;
        border-left: 2px solid transparent;
    }

    .nav-mobile .nav-dropdown-menu a:hover,
    .nav-mobile .nav-dropdown-menu a:active {
        background: rgba(26, 115, 232, 0.07);
        color: var(--blue);
        border-left-color: var(--blue);
    }

    .nav-mobile .nav-panel-foot {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 16px 22px max(28px, env(safe-area-inset-bottom));
        border-top: 1px solid rgba(226, 232, 240, 0.9);
        flex-shrink: 0;
        background: #fff;
    }

    .nav-mobile .nav-mobile-cta {
        display: inline-flex;
        justify-content: center;
        width: 100%;
        opacity: 0;
        transform: translateY(12px);
        transition:
            opacity 0.35s ease,
            transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .nav-mobile.is-open .nav-mobile-cta {
        opacity: 1;
        transform: none;
        transition-delay: 0.28s;
    }

    .nav-mobile .nav-mobile-phone {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 0.92rem;
        font-weight: 600;
        color: var(--muted);
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.35s ease, transform 0.4s ease, color 0.2s ease;
    }

    .nav-mobile.is-open .nav-mobile-phone {
        opacity: 1;
        transform: none;
        transition-delay: 0.34s;
    }

    .nav-mobile .nav-mobile-phone:hover {
        color: var(--blue);
    }

    body.nav-open {
        overflow: hidden;
    }

    body.nav-open .site-header {
        z-index: 220;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        border-color: transparent;
        pointer-events: none;
    }

    body.nav-open .brand {
        opacity: 0;
        pointer-events: none;
    }

    body.nav-open .nav-toggle {
        pointer-events: auto;
    }

    .okulport-panel,
    .about-grid,
    .solution-detail,
    .solution-detail.reverse,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .solution-detail.reverse .solution-detail-copy,
    .solution-detail.reverse .solution-detail-media { order: initial; }

    .okulport-panel { padding: 32px 24px; }

    .stats-bar { grid-template-columns: 1fr 1fr; }
    .stat-item:nth-child(2)::after { display: none; }

    .products-grid,
    .values-grid { grid-template-columns: 1fr 1fr; }

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

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

@media (max-width: 720px) {
    .hero {
        padding: 0;
    }

    .hero-wide {
        height: clamp(420px, 58vw, 520px);
        min-height: 420px;
        max-height: 520px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 12px;
        width: min(100% - 32px, 100%);
        padding: clamp(18px, 3vw, 28px) 0;
    }

    .hero-wide .hero-content {
        width: 100%;
        max-width: none;
        order: 1;
    }

    .hero-visual {
        order: 0;
        justify-content: center;
    }

    .hero-visual img {
        width: min(100%, 420px);
        max-height: 220px;
    }

    .hero-dots {
        right: 16px;
        bottom: 14px;
    }

    .hero h1 { max-width: none; }
    .solutions-grid,
    .solutions-grid-more { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr; }
    .stat-item:not(:last-child)::after { display: none; }
    .stat-item { border-bottom: 1px solid var(--line); }
    .products-grid,
    .values-grid,
    .form-row,
    .footer-grid { grid-template-columns: 1fr; }
    .ref-logo { flex-basis: calc(50% - 14px); }
    .section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
