/*
Theme Name: Univteh Pro
Theme URI: https://univteh.ro
Description: Temă premium pentru Univteh — servicii de control nedistructiv. Design industrial de precizie: navy grafit, accente cyan și chihlimbar, animații de scanare.
Version: 1.0.0
Author: Univteh
Text Domain: univteh-pro
License: GNU General Public License v2 or later
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    /* Culori */
    --ink: #0B1526;
    --ink-soft: #33415C;
    --muted: #5B6B7F;
    --bg: #F6F8FB;
    --surface: #FFFFFF;
    --line: #E3E9F1;

    --navy-950: #060D1A;
    --navy-900: #0A1830;
    --navy-800: #10233F;
    --navy-line: rgba(148, 190, 233, 0.14);

    --cyan-300: #67E8F9;
    --cyan-400: #22D3EE;
    --cyan-600: #0891B2;
    --amber-400: #FBBF24;
    --amber-500: #F59E0B;
    --amber-600: #D97706;

    /* Tipografie */
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Diverse */
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(11, 21, 38, 0.07);
    --shadow-md: 0 8px 24px rgba(11, 21, 38, 0.09);
    --shadow-lg: 0 20px 50px rgba(11, 21, 38, 0.16);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --header-h: 74px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* reveal-right translations and the marquee would otherwise widen the page */
html, body { overflow-x: clip; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.container {
    width: min(1180px, 100% - 2.5rem);
    margin-inline: auto;
}

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }

.section-dark {
    background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
    color: #E7EEF7;
    position: relative;
    overflow: hidden;
}
.section-dark h2, .section-dark h3 { color: #fff; }

.section-header {
    max-width: 640px;
    margin: 0 auto clamp(2.5rem, 5vw, 3.75rem);
    text-align: center;
}
.section-header p { color: var(--muted); margin-top: 0.75rem; font-size: 1.05rem; }
.section-dark .section-header p { color: #9FB2C8; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan-600);
    margin-bottom: 0.9rem;
}
.eyebrow::before {
    content: '';
    width: 26px; height: 2px;
    background: linear-gradient(90deg, var(--cyan-400), var(--cyan-600));
    border-radius: 2px;
}
.section-dark .eyebrow { color: var(--cyan-300); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
    will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.88rem; }

.btn-amber {
    background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
    color: var(--navy-950);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}
.btn-amber:hover { box-shadow: 0 10px 26px rgba(245, 158, 11, 0.45); }

.btn-ghost {
    color: #E7EEF7;
    border: 1px solid rgba(231, 238, 247, 0.35);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--cyan-400); color: var(--cyan-300); }

.btn-outline {
    color: var(--ink);
    border: 1.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-arrow svg { transition: transform 0.25s var(--ease); }
.btn-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    z-index: 1002;
    pointer-events: none;
}
.scroll-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--cyan-400), var(--amber-500));
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
    background: var(--navy-950);
    color: #A9BBD1;
    font-size: 0.82rem;
    border-bottom: 1px solid var(--navy-line);
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.45rem;
}
.topbar-tagline { letter-spacing: 0.02em; }
.topbar-meta { display: flex; align-items: center; gap: 1.25rem; }
.topbar-meta a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}
.topbar-meta a:hover { color: var(--cyan-300); }

.language-switcher { display: inline-flex; align-items: center; gap: 0.35rem; }
.lang-btn {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6B7F97;
    padding: 0.1rem 0.2rem;
    transition: color 0.2s;
}
.lang-btn.active, .lang-btn:hover { color: var(--cyan-300); }
.lang-separator { color: #34455E; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 24, 48, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--navy-line);
    transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(6, 13, 26, 0.45); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: var(--header-h);
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
}
.logo-mark { color: var(--navy-800); display: inline-flex; }
.logo-mark .logo-bg { fill: #132A4D; }
.logo-text {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.logo-text em { font-style: normal; color: var(--cyan-400); }

/* Nav */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.main-nav a, .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    color: #C6D4E4;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s, background 0.2s;
}
.main-nav a:hover:not(.mega-panel a), .nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }

/* Mega menu */
.has-mega { position: relative; }
.mega-trigger svg { transition: transform 0.25s var(--ease); }
.has-mega.open .mega-trigger svg,
.has-mega:hover .mega-trigger svg { transform: rotate(180deg); }

.mega-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 420px;
    background: var(--surface);
    color: var(--ink);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    padding: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.mega-panel::before {
    content: '';
    position: absolute;
    top: -14px; left: 0; right: 0;
    height: 14px;
}
.has-mega:hover .mega-panel,
.has-mega.open .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-grid { display: grid; gap: 0.2rem; }
.mega-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    color: var(--ink);
    transition: background 0.2s;
}
.mega-item:hover { background: rgba(8, 145, 178, 0.07); }
.mega-icon {
    flex: none;
    width: 40px; height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(8, 145, 178, 0.1));
    color: var(--cyan-600);
    transition: transform 0.25s var(--ease);
}
.mega-item:hover .mega-icon { transform: scale(1.08); }
.mega-copy strong { display: block; font-size: 0.93rem; font-weight: 600; color: var(--ink); transition: color 0.2s; }
.mega-item:hover .mega-copy strong { color: var(--cyan-600); }
.mega-copy small { color: var(--muted); font-size: 0.8rem; line-height: 1.4; display: block; margin-top: 0.1rem; }

.mega-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.6rem;
    padding: 0.7rem;
    border-top: 1px solid var(--line);
    color: var(--cyan-600);
    font-weight: 600;
    font-size: 0.9rem;
}
.mega-all:hover svg { transform: translateX(4px); }
.mega-all svg { transition: transform 0.25s var(--ease); }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }

/* Burger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px; height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    align-items: center;
}
.menu-toggle span {
    display: block;
    width: 20px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MOBILE MENU (full-screen)
   ============================================================ */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: linear-gradient(160deg, var(--navy-950) 20%, var(--navy-800));
    color: #E7EEF7;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu.active { opacity: 1; visibility: visible; }

.mobile-menu-inner {
    width: min(560px, 100% - 3rem);
    margin: 0 auto;
    padding-top: var(--header-h);
}

.mobile-primary > li {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
    transition-delay: calc(var(--i, 0) * 70ms);
    border-bottom: 1px solid var(--navy-line);
}
.mobile-menu.active .mobile-primary > li { opacity: 1; transform: translateY(0); }

.mobile-primary a, .mobile-sub-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.05rem 0.25rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: #E7EEF7;
    transition: color 0.2s, padding-left 0.25s var(--ease);
}
.mobile-primary a:hover, .mobile-sub-trigger:hover { color: var(--cyan-300); padding-left: 0.7rem; }

.mobile-sub-trigger svg { transition: transform 0.3s var(--ease); }
.mobile-primary li.open .mobile-sub-trigger svg { transform: rotate(180deg); }

.mobile-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}
.mobile-primary li.open .mobile-sub { max-height: 400px; }
.mobile-sub a {
    font-size: 1.02rem;
    font-weight: 500;
    font-family: var(--font-body);
    color: #9FB2C8;
    padding: 0.55rem 0.25rem 0.55rem 1rem;
}

.mobile-menu-footer {
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
    transition-delay: calc(var(--i, 4) * 70ms);
}
.mobile-menu.active .mobile-menu-footer { opacity: 1; transform: translateY(0); }
.mobile-menu-footer p { margin-top: 1rem; color: #7E93AC; font-size: 0.9rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(34, 211, 238, 0.13), transparent 60%),
        radial-gradient(700px 500px at -10% 110%, rgba(245, 158, 11, 0.08), transparent 55%),
        linear-gradient(165deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800));
    color: #E7EEF7;
    overflow: hidden;
    padding: clamp(4rem, 9vw, 7rem) 0 clamp(4.5rem, 9vw, 7.5rem);
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 190, 233, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 190, 233, 0.055) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 75%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--navy-line);
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.82rem;
    font-weight: 500;
    color: #B9C9DC;
    margin-bottom: 1.4rem;
}
.badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--cyan-400);
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
    animation: pulse-dot 2.2s infinite;
}
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.hero-text h1 { color: #fff; margin-bottom: 1.25rem; }
.accent-gradient {
    background: linear-gradient(92deg, var(--cyan-300), var(--cyan-400) 45%, var(--amber-400));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-text > p {
    color: #A9BBD1;
    font-size: 1.08rem;
    max-width: 34rem;
    margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-standards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 2.2rem;
}
.hero-standards li {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #8CA2BC;
    padding: 0.35rem 0.85rem;
    border: 1px dashed rgba(148, 190, 233, 0.3);
    border-radius: 8px;
}

/* Media frame + scanline */
.hero-media { perspective: 1000px; }
.media-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(148, 190, 233, 0.2);
}
.media-frame img { width: 100%; object-fit: cover; }

.scanline {
    position: absolute;
    left: 0; right: 0;
    height: 34%;
    top: -40%;
    background: linear-gradient(180deg,
        transparent,
        rgba(34, 211, 238, 0.06) 35%,
        rgba(34, 211, 238, 0.22) 78%,
        rgba(103, 232, 249, 0.85) 99%,
        transparent 100%);
    animation: scan 4.6s var(--ease) infinite;
    pointer-events: none;
}
@keyframes scan {
    0% { top: -40%; opacity: 0; }
    12% { opacity: 1; }
    82% { opacity: 1; }
    100% { top: 108%; opacity: 0; }
}

.frame-corner {
    position: absolute;
    width: 22px; height: 22px;
    border: 2.5px solid var(--cyan-400);
    pointer-events: none;
}
.frame-corner.tl { top: 10px; left: 10px; border-right: none; border-bottom: none; border-radius: 6px 0 0 0; }
.frame-corner.tr { top: 10px; right: 10px; border-left: none; border-bottom: none; border-radius: 0 6px 0 0; }
.frame-corner.bl { bottom: 10px; left: 10px; border-right: none; border-top: none; border-radius: 0 0 0 6px; }
.frame-corner.br { bottom: 10px; right: 10px; border-left: none; border-top: none; border-radius: 0 0 6px 0; }

.hero-chip {
    position: absolute;
    left: 16px; bottom: 16px;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(6, 13, 26, 0.82);
    backdrop-filter: blur(8px);
    border: 1px solid var(--navy-line);
    border-radius: 12px;
    padding: 0.6rem 0.95rem;
    animation: float-chip 5s ease-in-out infinite;
}
@keyframes float-chip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
.chip-pulse {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
    animation: pulse-dot 2s infinite;
}
.hero-chip small { display: block; color: #8CA2BC; font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; }
.hero-chip strong { color: #fff; font-size: 0.85rem; font-weight: 600; }

/* ============================================================
   STANDARDS MARQUEE
   ============================================================ */
.standards-strip {
    background: var(--navy-950);
    border-block: 1px solid var(--navy-line);
    padding: 0.85rem 0;
    overflow: hidden;
}
.marquee { overflow: hidden; }
.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    will-change: transform;
}
.marquee-track span {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.86rem;
    letter-spacing: 0.14em;
    color: #5F7794;
}
.marquee-track i { color: var(--cyan-600); font-style: normal; }
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section { padding-block: clamp(3rem, 6vw, 4.5rem); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}
.stat-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem 1.2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.stat-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-item h3 {
    font-size: clamp(2rem, 4vw, 2.7rem);
    color: var(--navy-900);
    display: inline-flex;
    align-items: baseline;
}
.stat-item h3 em { font-style: normal; color: var(--amber-500); margin-left: 2px; }
.stat-item p { color: var(--muted); font-size: 0.92rem; margin-top: 0.35rem; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(8, 145, 178, 0.35);
}
.service-card-image {
    height: 190px;
    overflow: hidden;
    position: relative;
}
.service-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(6, 13, 26, 0.35));
}
.service-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.service-card:hover .service-card-image img { transform: scale(1.07); }

.service-card-content {
    padding: 1.5rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
}
.service-card-icon {
    position: absolute;
    top: -26px;
    left: 1.4rem;
    width: 52px; height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    color: var(--cyan-400);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(34, 211, 238, 0.25);
}
.service-card h3 { margin: 1.4rem 0 0.6rem; }
.service-card p { color: var(--muted); font-size: 0.94rem; flex: 1; }

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.2rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--cyan-600);
}
.card-link svg { transition: transform 0.25s var(--ease); }
.card-link:hover svg { transform: translateX(5px); }

/* ============================================================
   PROCESS
   ============================================================ */
.process-section { position: relative; }
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    counter-reset: step;
    position: relative;
}
.process-step {
    position: relative;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--navy-line);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.4rem;
    transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.process-step:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(34, 211, 238, 0.35);
}
.process-num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(180deg, var(--cyan-300), var(--cyan-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    margin-bottom: 0.8rem;
}
.process-step h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.process-step p { color: #9FB2C8; font-size: 0.9rem; }

/* ============================================================
   WHY US
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
}
.media-frame-light { border-color: var(--line); box-shadow: var(--shadow-md); }
.why-text h2 { margin-bottom: 1rem; }
.why-text > p { color: var(--muted); margin-bottom: 1.6rem; }

.check-list { display: grid; gap: 0.9rem; margin-bottom: 2rem; }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-weight: 500;
    font-size: 0.98rem;
}
.check-icon {
    flex: none;
    width: 24px; height: 24px;
    margin-top: 1px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(8, 145, 178, 0.14));
    color: var(--cyan-600);
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
    position: relative;
    background:
        radial-gradient(800px 400px at 90% -20%, rgba(34, 211, 238, 0.12), transparent 60%),
        linear-gradient(165deg, var(--navy-950), var(--navy-900));
    color: #E7EEF7;
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    overflow: hidden;
}
.page-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.page-hero h1 { color: #fff; margin-bottom: 1rem; font-size: clamp(2rem, 4.2vw, 3rem); }
.page-hero-text > p { color: #A9BBD1; font-size: 1.06rem; max-width: 34rem; }
.page-hero .hero-actions { margin-top: 1.8rem; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: #7E93AC;
    margin-bottom: 1.3rem;
}
.breadcrumb a:hover { color: var(--cyan-300); }
.breadcrumb em { font-style: normal; color: var(--cyan-300); font-weight: 500; }

/* ============================================================
   FEATURE CARDS (service pages)
   ============================================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.feature-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem 1.6rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(8, 145, 178, 0.3);
}
.feature-num {
    position: absolute;
    top: 0.6rem; right: 1rem;
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--bg);
    -webkit-text-stroke: 1px var(--line);
    line-height: 1;
    pointer-events: none;
}
.feature-icon {
    width: 50px; height: 50px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    color: var(--cyan-400);
    margin-bottom: 1.1rem;
    border: 1px solid rgba(34, 211, 238, 0.22);
}
.feature-card h3 { margin-bottom: 0.55rem; font-size: 1.12rem; }
.feature-card p { color: var(--muted); font-size: 0.93rem; }

/* ============================================================
   APPLICATIONS BAND
   ============================================================ */
.applications-band { padding-block: clamp(3.5rem, 6vw, 5rem); }
.app-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 820px;
    margin-inline: auto;
}
.app-chip {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.05rem 1.3rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--navy-line);
    font-weight: 500;
    transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}
.app-chip:hover {
    transform: translateX(6px);
    border-color: rgba(34, 211, 238, 0.4);
    background: rgba(34, 211, 238, 0.07);
}
.app-chip svg { color: var(--cyan-400); flex: none; }

/* ============================================================
   WORKS GALLERY + LIGHTBOX
   ============================================================ */
.works-gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.works-gallery {
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.4rem 0.2rem 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--cyan-600) transparent;
    flex: 1;
}
.gallery-item {
    flex: 0 0 290px;
    scroll-snap-align: start;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.gallery-item-image { position: relative; height: 195px; overflow: hidden; }
.gallery-item-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.gallery-item:hover .gallery-item-image img { transform: scale(1.08); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(6, 13, 26, 0.45);
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-zoom { color: #fff; }

.gallery-item-info { padding: 0.9rem 1.05rem 1.05rem; }
.gallery-item-info h4 { font-size: 0.96rem; }
.gallery-item-info p { color: var(--muted); font-size: 0.82rem; margin-top: 0.15rem; }

.carousel-btn {
    flex: none;
    width: 46px; height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    transition: background 0.2s, color 0.2s, opacity 0.2s, transform 0.2s;
}
.carousel-btn:hover { background: var(--navy-900); color: var(--cyan-300); transform: scale(1.06); }
.carousel-btn.disabled { opacity: 0.3; pointer-events: none; }

/* Lightbox */
.works-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.works-modal.active { opacity: 1; visibility: visible; }
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 13, 26, 0.86);
    backdrop-filter: blur(6px);
}
.modal-content-works {
    position: relative;
    width: min(880px, calc(100% - 2.5rem));
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: scale(0.94) translateY(12px);
    transition: transform 0.35s var(--ease);
}
.works-modal.active .modal-content-works { transform: scale(1) translateY(0); }
.modal-image img { width: 100%; max-height: 62vh; object-fit: cover; }
.modal-info-works { padding: 1.2rem 1.5rem 1.5rem; }
.modal-info-works p { color: var(--muted); font-size: 0.92rem; }
.modal-close {
    position: absolute;
    top: 0.8rem; right: 0.8rem;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(6, 13, 26, 0.65);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    display: grid;
    place-items: center;
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
}
.modal-close:hover { background: var(--amber-500); transform: rotate(90deg); }

/* ============================================================
   MINI SERVICES (other services)
   ============================================================ */
.mini-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}
.mini-service {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.2rem;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.94rem;
    transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.mini-service:hover {
    transform: translateY(-3px);
    border-color: rgba(8, 145, 178, 0.4);
    box-shadow: var(--shadow-sm);
}
.mini-service-icon {
    flex: none;
    width: 40px; height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    color: var(--cyan-400);
}
.mini-service-name { flex: 1; }
.mini-service-arrow { color: var(--cyan-600); transition: transform 0.25s var(--ease); }
.mini-service:hover .mini-service-arrow { transform: translateX(4px); }

/* ============================================================
   MISSION / VALUES (about page)
   ============================================================ */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.mission-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.9rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.mission-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.mission-card h2 { font-size: 1.4rem; margin-bottom: 0.7rem; }
.mission-card p { color: var(--muted); }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}
.value-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.8rem 1.5rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(8, 145, 178, 0.3);
}
.value-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.value-card p { color: var(--muted); font-size: 0.92rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
    position: relative;
    padding: clamp(4rem, 8vw, 6rem) 0;
    overflow: hidden;
    color: #fff;
}
.cta-band-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.cta-band-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(6, 13, 26, 0.93) 30%, rgba(10, 24, 48, 0.78));
}
.cta-band-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta-band h2 { color: #fff; max-width: 30ch; }
.cta-band p { color: #B9C9DC; margin-top: 0.6rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: clamp(4rem, 7vw, 5.5rem) 0;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: stretch;
}
.contact-info h2 { margin-bottom: 0.5rem; }
.contact-info > p { color: var(--muted); margin-bottom: 1.8rem; }

.contact-list { display: grid; gap: 1.1rem; }
.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.25s var(--ease), border-color 0.25s;
}
.contact-list li:hover { transform: translateX(5px); border-color: rgba(8, 145, 178, 0.35); }
.contact-icon {
    flex: none;
    width: 46px; height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    color: var(--cyan-400);
}
.contact-list small {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.contact-list strong { font-size: 1rem; }

.contact-map {
    min-height: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--navy-950);
    color: #8CA2BC;
    padding: clamp(3.5rem, 6vw, 5rem) 0 1.5rem;
    border-top: 1px solid var(--navy-line);
}
.footer-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--navy-line);
}
.footer-brand p { font-size: 0.92rem; margin-top: 1rem; max-width: 30ch; }
.footer-logo .logo-text { font-size: 1.5rem; color: #fff; }
.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a {
    font-size: 0.92rem;
    transition: color 0.2s, padding-left 0.2s var(--ease);
}
.footer-col a:hover { color: var(--cyan-300); padding-left: 4px; }
.footer-address { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; }
.footer-address svg { flex: none; margin-top: 3px; color: var(--cyan-400); }

.footer-standards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.2rem;
}
.footer-standards span {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 0.28rem 0.65rem;
    border: 1px dashed rgba(148, 190, 233, 0.28);
    border-radius: 6px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.4rem;
    font-size: 0.85rem;
}
.back-to-top {
    width: 42px; height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--navy-line);
    color: #8CA2BC;
    transition: color 0.2s, border-color 0.2s, transform 0.25s var(--ease);
}
.back-to-top:hover { color: var(--cyan-300); border-color: var(--cyan-600); transform: translateY(-3px); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    will-change: opacity, transform;
}
.reveal-right { transform: translateX(34px); }
.reveal.revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .main-nav, .header-cta { display: none; }
    .menu-toggle { display: flex; }

    .hero-inner, .page-hero-inner, .why-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-media { order: -1; }
    .page-hero-media { display: none; }
    .why-media { order: 2; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .topbar-tagline { display: none; }
    .topbar-inner { justify-content: center; }
}

@media (max-width: 640px) {
    .feature-grid, .app-grid, .mission-grid, .values-grid, .process-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid { gap: 0.8rem; }
    .stat-item { padding: 1.3rem 0.9rem; }
    .gallery-item { flex-basis: 250px; }
    .carousel-btn { display: none; }
    .cta-band-inner { flex-direction: column; align-items: flex-start; }
    .footer-content { grid-template-columns: 1fr; gap: 1.8rem; }
    .footer-bottom { flex-direction: column; }
    .topbar-meta { flex-wrap: wrap; justify-content: center; gap: 0.7rem; }
    .hero-actions .btn { width: 100%; }
}
