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

:root {
    --blue:   #0077b6;
    --cyan:   #00b4d8;
    --dark:   #0d1b2a;
    --darker: #081220;
    --white:  #ffffff;
    --gray:   #94a3b8;
    --slate:  #cbd5e1;
    --border: rgba(255,255,255,0.08);
    --card:   rgba(255,255,255,0.04);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(13,27,42,0.93);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition: background .3s;
}
.header.scrolled { background: rgba(8,18,32,0.98); }

.nav {
    display: flex; align-items: center;
    justify-content: space-between; height: 68px; gap: 16px;
}

/* Logo */
.nav-logo { text-decoration: none; flex-shrink: 0; }
.logo-img-wrap {
    background: white;
    border-radius: 6px;
    padding: 5px 10px;
    display: flex; align-items: center;
    height: 48px;
}
.logo-img-wrap img { height: 36px; width: auto; display: block; }

/* Nav menu */
.nav-menu {
    display: flex; align-items: center;
    gap: 24px; list-style: none; flex: 1; justify-content: center;
}
.nav-menu a {
    color: var(--gray); text-decoration: none;
    font-size: 14px; font-weight: 500; transition: color .2s;
}
.nav-menu a:hover { color: var(--white); }

.btn-nav {
    background: var(--blue); color: var(--white) !important;
    padding: 8px 20px; border-radius: 6px;
    font-weight: 600; display: inline-block; transition: background .2s;
}
.btn-nav:hover { background: var(--cyan) !important; color: var(--darker) !important; }

/* Right cluster */
.nav-right { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

/* Language switcher */
.lang-switcher {
    display: flex; align-items: center; gap: 2px;
    border: 1px solid var(--border); border-radius: 6px;
    padding: 3px;
}
.lang-btn {
    background: none; border: none; cursor: pointer;
    color: var(--gray); font-size: 12px; font-weight: 700;
    letter-spacing: .8px; padding: 4px 9px; border-radius: 4px;
    transition: all .2s; font-family: inherit;
}
.lang-btn:hover { color: var(--white); background: rgba(255,255,255,.06); }
.lang-btn.active { color: var(--cyan); background: rgba(0,180,216,.12); }
.lang-sep { color: var(--border); font-size: 14px; padding: 0 1px; }

/* Hamburger */
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--white); border-radius: 2px; transition: all .3s;
}

/* Mobile menu */
.nav-menu.open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(8,18,32,.98);
    padding: 24px 24px; gap: 20px;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; padding-top: 68px; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, var(--darker) 0%, var(--dark) 60%, #0a1e30 100%);
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,180,216,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,180,216,.04) 1px, transparent 1px);
    background-size: 64px 64px;
}
.hero-glow {
    position: absolute; width: 600px; height: 600px;
    border-radius: 50%; filter: blur(120px); pointer-events: none;
}
.gl1 { top: -100px; left: -150px; background: rgba(0,119,182,.12); }
.gl2 { bottom: -100px; right: -100px; background: rgba(0,180,216,.07); }

.hero-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 48px;
    padding-top: 80px; padding-bottom: 80px;
}
.hero-content { display: flex; flex-direction: column; }

.hero-badge {
    display: inline-block;
    background: rgba(0,180,216,.08);
    border: 1px solid rgba(0,180,216,.25);
    color: var(--cyan); font-size: 12px; font-weight: 600;
    letter-spacing: 1.5px; padding: 6px 18px;
    border-radius: 20px; margin-bottom: 28px; text-transform: uppercase;
    width: fit-content;
}
.hero-title {
    font-size: clamp(38px, 5.5vw, 72px);
    font-weight: 800; line-height: 1.06;
    margin-bottom: 24px; letter-spacing: -1.5px;
}
.gradient-text {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 16px; color: var(--gray);
    max-width: 500px; margin-bottom: 36px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; margin-bottom: 60px; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 30px; border-radius: 8px;
    font-weight: 600; font-size: 14.5px; text-decoration: none;
    transition: all .2s; cursor: pointer; border: none; font-family: inherit;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover {
    background: var(--cyan); color: var(--darker);
    transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,180,216,.25);
}
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.2); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn.full-width { width: 100%; }

.hero-stats { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 36px; font-weight: 800; color: var(--cyan); line-height: 1; letter-spacing: -1px; }
.stat-num sup { font-size: 18px; }
.stat-label { font-size: 11px; color: var(--gray); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 5px; }
.stat-div { width: 1px; height: 44px; background: var(--border); }

/* Hero image */
.hero-img-wrap {
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.hero-img-wrap::before {
    content: '';
    position: absolute; inset: -20px;
    background: radial-gradient(ellipse at center, rgba(0,119,182,.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-img {
    width: 100%; max-width: 480px;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,.5);
    position: relative; z-index: 1;
}

/* ═══════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════ */
.section { padding: 96px 0; }
.section-dark { background: var(--darker); }

.section-tag {
    display: block; font-size: 11px; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--blue); margin-bottom: 14px;
}
.section-tag.light { color: var(--cyan); }
.section-title {
    font-size: clamp(28px, 4vw, 46px); font-weight: 800;
    line-height: 1.1; margin-bottom: 48px; letter-spacing: -.5px;
}
.section-desc {
    font-size: 16px; color: rgba(255,255,255,.55);
    max-width: 600px; margin-bottom: 48px; line-height: 1.7;
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}
.about-text p { color: var(--slate); font-size: 15.5px; line-height: 1.8; margin-bottom: 16px; }

.about-cap-box {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; padding: 36px;
}
.cap-title { font-size: 15px; font-weight: 700; color: var(--cyan); margin-bottom: 22px; }
.cap-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.cap-list li {
    display: flex; align-items: flex-start; gap: 11px;
    font-size: 14px; color: var(--slate); line-height: 1.55;
}
.cap-list li::before {
    content: ''; display: block; width: 6px; height: 6px;
    border-radius: 50%; background: var(--cyan); flex-shrink: 0; margin-top: 7px;
}

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.service-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 14px; padding: 26px 22px; transition: all .25s;
}
.service-card:hover {
    background: rgba(0,119,182,.09); border-color: rgba(0,180,216,.25);
    transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.svc-icon { width: 38px; height: 38px; color: var(--cyan); margin-bottom: 14px; }
.svc-icon svg { width: 100%; height: 100%; }
.service-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 7px; color: var(--white); line-height: 1.3; }
.service-card p { font-size: 13px; color: var(--gray); line-height: 1.55; }

/* ═══════════════════════════════════════════
   BRANDS
═══════════════════════════════════════════ */
.brand-tabs {
    display: flex; flex-wrap: wrap; gap: 4px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 36px; padding-bottom: 0;
}
.tab-btn {
    padding: 10px 16px; border: none; background: none;
    color: var(--gray); font-size: 13px; font-weight: 500;
    cursor: pointer; border-bottom: 2px solid transparent;
    margin-bottom: -1px; transition: all .2s;
    border-radius: 4px 4px 0 0; font-family: inherit; white-space: nowrap;
}
.tab-btn:hover { color: var(--white); background: rgba(255,255,255,.04); }
.tab-btn.active { color: var(--cyan); border-bottom-color: var(--cyan); }

.brand-panel { display: none; animation: fadeIn .25s ease; }
.brand-panel.active { display: block; }

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

/* Brand grid */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px,1fr));
    gap: 12px;
}
.brand-grid-sm { grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); }

/* Brand card */
.brand-card {
    background: white; border-radius: 10px;
    padding: 14px 12px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 8px; min-height: 90px;
    transition: transform .2s, box-shadow .2s;
    overflow: hidden;
}
.brand-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.brand-card img {
    max-width: 130px; max-height: 56px;
    object-fit: contain; display: block;
}
.brand-card span {
    font-size: 10px; color: #555;
    text-align: center; line-height: 1.3; font-weight: 500;
}

/* Text-only brand card */
.brand-card.text-only {
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
}
.brand-card.text-only span {
    font-size: 13px; color: var(--slate); font-weight: 500;
}

/* Category label */
.brand-cat-label {
    font-size: 10px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--cyan); margin: 20px 0 10px;
}
.brand-cat-label:first-child { margin-top: 0; }

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.ci-item { display: flex; align-items: flex-start; gap: 14px; }
.ci-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    background: rgba(0,180,216,.1); border: 1px solid rgba(0,180,216,.2);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    color: var(--cyan); padding: 8px;
}
.ci-icon svg { width: 100%; height: 100%; }
.ci-item strong {
    display: block; font-size: 11px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--cyan); margin-bottom: 4px;
}
.ci-item p { font-size: 14.5px; color: var(--slate); line-height: 1.55; }
.ci-link { color: var(--slate); text-decoration: none; transition: color .2s; }
.ci-link:hover { color: var(--cyan); }

.contact-form-card {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border); border-radius: 18px; padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block; font-size: 11px; font-weight: 600;
    color: var(--gray); margin-bottom: 8px;
    letter-spacing: .5px; text-transform: uppercase;
}
.form-group input, .form-group textarea {
    width: 100%; background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1); border-radius: 8px;
    padding: 12px 14px; color: var(--white); font-size: 14.5px;
    font-family: inherit; transition: border-color .2s, background .2s;
    resize: vertical; outline: none;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--cyan); background: rgba(0,180,216,.05);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.2); }
.form-success {
    display: none; background: rgba(0,180,216,.1);
    border: 1px solid rgba(0,180,216,.3); color: var(--cyan);
    border-radius: 8px; padding: 14px 18px; font-size: 14px;
    font-weight: 500; margin-top: 14px; text-align: center;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer { background: var(--darker); border-top: 1px solid var(--border); padding: 64px 0 32px; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }

.footer-logo {
    background: white; border-radius: 8px;
    padding: 8px 14px; display: inline-flex;
    align-items: center; margin-bottom: 16px; width: fit-content;
}
.footer-logo img { height: 40px; width: auto; display: block; }
.ft { font-size: 13px; color: var(--gray); margin-bottom: 4px; }

.footer-nav h5, .footer-contact h5 {
    font-size: 10px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--cyan); margin-bottom: 16px;
}
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav ul a { color: var(--gray); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-nav ul a:hover { color: var(--white); }

.footer-contact address { font-style: normal; }
.footer-contact p { font-size: 13.5px; color: var(--gray); margin-bottom: 6px; line-height: 1.5; }
.ft-link { color: var(--gray); text-decoration: none; transition: color .2s; }
.ft-link:hover { color: var(--cyan); }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,.25); }

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════ */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; padding-top: 60px; }
    .hero-img-wrap { display: none; }
    .services-grid { grid-template-columns: repeat(2,1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .nav-menu { display: none; }
    .hamburger { display: flex; }
    .services-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 24px; }
    .stat-div { display: none; }
    .hero-actions { flex-direction: column; }
    .brand-tabs { gap: 3px; }
    .tab-btn { font-size: 12px; padding: 8px 10px; }
    .contact-form-card { padding: 24px 18px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .section { padding: 72px 0; }
    .brand-grid { grid-template-columns: repeat(auto-fill, minmax(130px,1fr)); }
}

@media (max-width: 420px) {
    .nav-menu.open { padding: 20px 16px; }
    .logo-img-wrap { height: 42px; }
    .logo-img-wrap img { height: 30px; }
}
