:root {
  --navy: #07111f;
  --navy-2: #0c1b2e;
  --navy-3: #13263d;
  --ink: #0e1a2b;
  --text: #1c2a3a;
  --muted: #5b6b7f;
  --line: #d7e0ea;
  --paper: #f6f8fb;
  --white: #ffffff;
  --accent: #00a8d5;
  --accent-2: #14b8a6;
  --silver: #c5d0dc;
  --shadow: 0 16px 40px rgba(7, 17, 31, .08);
  --radius: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.muted { color: var(--muted); }
h1,h2,h3,h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 750; }
h3 { font-size: 1.2rem; }

/* Loader */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #050b14;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .45s ease, visibility .45s ease;
}
#page-loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; color: #e8f4ff; }
.loader-logo {
  width: min(220px, 62vw); height: auto; margin: 0 auto 18px;
  filter: drop-shadow(0 0 24px rgba(0,168,213,.45));
  animation: pulse 1.4s ease-in-out infinite;
}
.loader-inner p { letter-spacing: .28em; font-weight: 700; font-size: .78rem; }
.loader-bar { width: 160px; height: 3px; background: #1b334d; margin: 0 auto 14px; overflow: hidden; border-radius: 99px; }
.loader-bar span { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--accent), #7cf); animation: load 1.1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.04); filter: drop-shadow(0 0 34px rgba(0,168,213,.7)); } }
@keyframes load { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,17,31,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .08em; color: #fff; }
.brand img { width: 42px; height: 42px; object-fit: contain; background: #000; border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a { color: #d5e2ef; font-size: .92rem; font-weight: 500; }
.site-nav a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 8px; }

.btn, .btn-sm {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #04202a !important; font-weight: 700;
  border-radius: 999px; padding: 12px 20px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-sm { padding: 8px 14px; font-size: .86rem; }
.btn:hover, .btn-sm:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,168,213,.28); }
.btn-ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.25); }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(0,168,213,.22), transparent 50%),
    linear-gradient(180deg, #07111f 0%, #0c1b2e 100%);
  color: #eaf3fb; padding: 88px 0 72px; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; }
.hero p.lead { font-size: 1.08rem; color: #c5d4e3; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.hero-card img { width: 100%; border-radius: 12px; background: #000; }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: #b9d7e8; }
.icon-badge {
  width: 48px; height: 48px; border-radius: 12px;
  background: #e7f7fc; color: #06799a; display: grid; place-items: center; font-weight: 800; margin-bottom: 14px;
}
.product-card { overflow: hidden; padding: 0; }
.product-card .thumb { position: relative; background: #0a1522; min-height: 180px; }
.product-card .thumb img { width: 100%; height: 200px; object-fit: cover; }
.product-card .thumb .mark {
  position: absolute; right: 10px; bottom: 10px; width: 46px; height: 46px;
  background: #000; border-radius: 8px; padding: 3px;
}
.product-card .body { padding: 18px 18px 20px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; color: #06799a; background: #e7f7fc; padding: 4px 8px; border-radius: 999px; }

.band { background: var(--paper); }
.cta-band {
  background: linear-gradient(135deg, #07111f, #12324a);
  color: #fff; border-radius: 24px; padding: 42px; display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.cta-band h2 { color: #fff; margin: 0 0 8px; }

table.specs { width: 100%; border-collapse: collapse; }
table.specs th, table.specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: .95rem; }
table.specs th { width: 38%; color: var(--muted); font-weight: 600; }

.form { display: grid; gap: 12px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff;
}
.form textarea { min-height: 140px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
.alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; }
.alert-ok { background: #e8f8f2; color: #0b6b4f; }
.alert-err { background: #fdecec; color: #9b1c1c; }

.site-footer { background: #07111f; color: #c9d6e3; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 24px; }
.site-footer h4 { color: #fff; font-size: .95rem; }
.site-footer a { display: block; color: #b7c6d6; margin: 6px 0; font-size: .92rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; color: #8ea0b3; }

/* Language dock — left side, between middle and bottom */
.lang-dock {
  position: fixed;
  left: 16px;
  top: 68%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.lang-dock .lang-en {
  background: #fff; color: #0c1b2e; border: 1px solid #cfe0ee;
  border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 700; cursor: pointer;
  box-shadow: 0 8px 20px rgba(7,17,31,.12);
}
#google_translate_element {
  background: #fff; border-radius: 10px; padding: 4px 6px;
  box-shadow: 0 8px 20px rgba(7,17,31,.12); border: 1px solid #cfe0ee;
}
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-logo-link, .goog-te-gadget span { display: none !important; }
.goog-te-gadget { font-size: 0 !important; }
.goog-te-combo { font-size: 12px !important; }

.page-hero { background: var(--navy); color: #fff; padding: 54px 0 36px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c5d4e3; max-width: 720px; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.avatar { height: 160px; border-radius: 12px; background: linear-gradient(135deg,#0c1b2e,#1a4a63); display: grid; place-items: center; color: #9fdff0; font-weight: 800; letter-spacing: .08em; }

/* Admin */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: #07111f; color: #d7e4ef; padding: 22px 16px; }
.admin-side a { display: block; color: #d7e4ef; padding: 9px 10px; border-radius: 8px; margin-bottom: 4px; }
.admin-side a:hover, .admin-side a.active { background: rgba(255,255,255,.08); }
.admin-main { padding: 28px; background: #f3f6fa; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.admin-table th, .admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: .92rem; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; background: #07111f; }
.login-card { width: min(420px, 92vw); background: #fff; padding: 28px; border-radius: 16px; }

@media (max-width: 980px) {
  .hero-grid, .grid-3, .grid-2, .footer-grid, .team-grid, .admin-shell { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: #07111f; flex-direction: column; padding: 16px 22px 22px; align-items: flex-start;
  }
  .site-nav.open { display: flex; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .lang-dock { left: 10px; top: 72%; }
}
.skiptranslate iframe { visibility: hidden !important; }
