/* ===== CSS VARIABLES ===== */
:root {
  --blue: #0057ff;
  --blue-light: #3d8bff;
  --blue-dark: #0038b8;
  --gold: #d4a017;
  --gold-light: #f0c040;
  --green: #2ecc40;
  --green-dark: #1a8a2a;
  --pink: #e91e8c;
  --dark: #08090e;
  --dark2: #0f1118;
  --dark3: #161820;
  --mid: #1e2130;
  --mid2: #252840;
  --border: rgba(255,255,255,0.08);
  --text: #e8eaf0;
  --text-dim: #8892a4;
  --radius: 16px;
  --radius-lg: 24px;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== CONTAINERS ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(8,9,14,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(8,9,14,0.98); }
.nav-inner {
  max-width: 1300px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo img { height: 48px; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links li a {
  padding: 8px 14px; border-radius: 8px;
  font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--text-dim); transition: var(--transition);
}
.nav-links li a:hover, .nav-links li a.active { color: var(--text); }
.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 8px 18px !important;
}
.nav-cta:hover { background: var(--blue-light) !important; }
.lang-switch a {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
}
.burger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue);
  color: #fff; font-weight: 700; font-family: var(--font-head);
  letter-spacing: 0.05em; font-size: 1rem; text-transform: uppercase;
  padding: 14px 28px; border-radius: 10px;
  border: none; cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(0,87,255,0.35);
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,87,255,0.5); }
.btn-primary.btn-large { font-size: 1.1rem; padding: 18px 36px; }
.btn-primary.btn-sm { font-size: 0.85rem; padding: 10px 20px; }
.btn-ghost {
  display: inline-flex; align-items: center;
  color: var(--text-dim); font-weight: 500;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.btn-ghost:hover { color: var(--text); border-color: var(--blue); }

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--blue-light);
  background: rgba(0,87,255,0.1);
  border: 1px solid rgba(0,87,255,0.25);
  padding: 4px 14px; border-radius: 100px;
  margin-bottom: 16px;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800; text-transform: uppercase; line-height: 1.05;
  margin-bottom: 16px; letter-spacing: -0.01em;
}
.section-header p { color: var(--text-dim); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.accent { color: var(--blue-light); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0,87,255,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(61,139,255,0.08) 0%, transparent 50%),
              var(--dark);
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}
.orb1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,87,255,0.3), transparent); top: -100px; left: -100px; }
.orb2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(61,139,255,0.2), transparent); bottom: -50px; right: 10%; animation-delay: -3s; }
.orb3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(212,160,23,0.15), transparent); top: 40%; right: 20%; animation-delay: -6s; }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 700px;
  animation: fadeUp 0.8s ease forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-block;
  background: rgba(0,87,255,0.15); border: 1px solid rgba(0,87,255,0.3);
  padding: 8px 20px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--blue-light); margin-bottom: 28px;
  animation: fadeUp 0.8s ease 0.1s both;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900; line-height: 0.95;
  text-transform: uppercase; letter-spacing: -0.02em;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease 0.2s both;
}
.hero-sub {
  font-size: 1.15rem; color: var(--text-dim);
  max-width: 540px; margin-bottom: 40px; line-height: 1.7;
  animation: fadeUp 0.8s ease 0.3s both;
}
.hero-btns {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.4s both;
}
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim); opacity: 0.5;
  animation: bounce 2s ease infinite;
}
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ===== VALUES ===== */
.values { padding: 80px 0; background: var(--dark2); }
.value-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px;
}
.value-card {
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: var(--transition);
}
.value-card:hover { border-color: rgba(0,87,255,0.4); transform: translateY(-4px); }
.value-icon { font-size: 2.2rem; margin-bottom: 16px; }
.value-card h3 {
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 700;
  text-transform: uppercase; margin-bottom: 10px; letter-spacing: 0.02em;
}
.value-card p { color: var(--text-dim); font-size: 0.95rem; }

/* ===== SOLUTIONS ===== */
.solutions { padding: 100px 0; }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sol-card {
  display: flex; flex-direction: column;
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); cursor: pointer;
  position: relative;
}
.sol-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.2); }
.sol-card:hover .sol-img-wrap img { transform: scale(1.05); }
.sol-img-wrap { height: 220px; overflow: hidden; background: var(--mid); }
.sol-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.sol-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.sol-logo { height: 52px; margin-bottom: 12px; }
.sol-logo-text {
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 800;
  text-transform: uppercase; margin-bottom: 12px;
}
.fitness-brand { color: #7fff00; }
.coffee-brand { color: #d4a017; }
.kids-brand { color: #ff69b4; }
.water-brand { color: #00cfff; }
.outside-brand { color: #00cfff; }
.snacks-brand { color: #ffa500; }
.hotfood-brand { color: #ff5722; }
.sol-content p { color: var(--text-dim); font-size: 0.9rem; flex: 1; margin-bottom: 16px; }
.sol-link { color: var(--blue-light); font-weight: 600; font-size: 0.9rem; }

/* ===== WHY US ===== */
.why-us { padding: 100px 0; background: var(--dark2); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-text .section-label { margin-bottom: 12px; }
.why-text h2 {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; text-transform: uppercase; line-height: 1.05;
  margin-bottom: 40px;
}
.why-points { display: flex; flex-direction: column; gap: 28px; margin-bottom: 40px; }
.why-point { display: flex; gap: 20px; align-items: flex-start; }
.why-num {
  font-family: var(--font-head); font-size: 2.5rem; font-weight: 900;
  color: rgba(0,87,255,0.3); line-height: 1; min-width: 44px;
}
.why-point h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.why-point p { color: var(--text-dim); font-size: 0.9rem; }
.why-visual { border-radius: var(--radius-lg); overflow: hidden; }
.why-visual img { width: 100%; height: 500px; object-fit: cover; }

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 100px 0; }
.steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.step {
  flex: 1; min-width: 200px; max-width: 300px;
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 32px;
  text-align: center;
}
.step-num {
  width: 56px; height: 56px;
  background: var(--blue); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 900;
  margin: 0 auto 20px;
  box-shadow: 0 0 30px rgba(0,87,255,0.4);
}
.step h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 0.9rem; }
.step-arrow {
  font-size: 1.5rem; color: var(--text-dim); padding: 0 16px;
}

/* ===== LOCATIONS ===== */
.locations { padding: 80px 0; background: var(--dark2); }
.loc-tags {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.loc-tags span {
  background: var(--mid); border: 1px solid var(--border);
  padding: 10px 20px; border-radius: 100px;
  font-size: 0.9rem; font-weight: 500; color: var(--text-dim);
  transition: var(--transition);
}
.loc-tags span:hover { border-color: var(--blue); color: var(--text); background: rgba(0,87,255,0.1); }

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 100px 24px; text-align: center;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.1), transparent),
              radial-gradient(ellipse at 70% 50%, rgba(0,0,0,0.2), transparent);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; text-transform: uppercase; margin-bottom: 16px;
}
.cta-banner p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 36px; }
.cta-banner .btn-primary { background: #fff; color: var(--blue-dark); box-shadow: 0 8px 40px rgba(0,0,0,0.3); }
.cta-banner .btn-primary:hover { background: rgba(255,255,255,0.9); }

/* ===== FOOTER ===== */
.footer { background: var(--dark2); border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img { margin-bottom: 16px; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 8px; max-width: 280px; }
.footer-legal { font-size: 0.8rem !important; color: rgba(136,146,164,0.6) !important; }
.footer-links h4, .footer-contact h4 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px; color: var(--text);
}
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a { color: var(--text-dim); font-size: 0.9rem; transition: var(--transition); }
.footer-links ul li a:hover { color: var(--text); }
.footer-contact p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 8px; }
.footer-contact a { color: var(--text-dim); transition: var(--transition); }
.footer-contact a:hover { color: var(--blue-light); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 20px 0;
  text-align: center;
}
.footer-bottom p { color: var(--text-dim); font-size: 0.8rem; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 140px 24px 80px;
  background: var(--dark2);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 10% 50%, var(--hero-color, rgba(0,87,255,0.12)) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-head); font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900; text-transform: uppercase; line-height: 0.95;
  margin-bottom: 20px;
}
.page-hero p { color: var(--text-dim); font-size: 1.1rem; max-width: 600px; }

/* ===== FEATURE SECTION ===== */
.feature-section { padding: 80px 0; }
.feature-section:nth-child(even) { background: var(--dark2); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-grid.reverse { direction: rtl; }
.feature-grid.reverse > * { direction: ltr; }
.feature-img { border-radius: var(--radius-lg); overflow: hidden; }
.feature-img img { width: 100%; height: 420px; object-fit: cover; }
.feature-text h2 {
  font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; text-transform: uppercase; margin-bottom: 16px;
}
.feature-text p { color: var(--text-dim); margin-bottom: 16px; line-height: 1.7; }
.feature-list { list-style: none; margin-bottom: 28px; }
.feature-list li { color: var(--text-dim); padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; }
.feature-list li::before { content: '✓'; color: var(--blue-light); font-weight: 700; }

/* ===== GALLERY ===== */
.gallery-section { padding: 80px 0; background: var(--dark2); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px;
}
.gallery-grid img {
  width: 100%; height: 280px; object-fit: cover;
  border-radius: var(--radius); transition: var(--transition);
}
.gallery-grid img:hover { transform: scale(1.02); }

/* ===== SPECS TABLE ===== */
.specs-section { padding: 80px 0; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table th, .specs-table td {
  padding: 14px 20px; text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.specs-table th {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: 0.8rem; letter-spacing: 0.1em; color: var(--text-dim);
  background: var(--mid);
}
.specs-table td { color: var(--text-dim); }
.specs-table td:first-child { font-weight: 600; color: var(--text); }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.contact-info h2 {
  font-family: var(--font-head); font-size: 2rem; font-weight: 800;
  text-transform: uppercase; margin-bottom: 24px;
}
.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.contact-detail-icon { font-size: 1.4rem; }
.contact-detail h4 { font-weight: 600; margin-bottom: 4px; }
.contact-detail p, .contact-detail a { color: var(--text-dim); font-size: 0.95rem; }
.contact-detail a:hover { color: var(--blue-light); }

/* ===== FORM ===== */
.contact-form {
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.contact-form h3 {
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 700;
  text-transform: uppercase; margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-dim); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  background: var(--mid); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); background: var(--mid2);
}
.form-group select option { background: var(--mid2); }
.form-group textarea { resize: vertical; min-height: 120px; }
.checkbox-group { display: flex; flex-direction: column; gap: 10px; }
.checkbox-item { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.checkbox-item input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; accent-color: var(--blue); }
.checkbox-item span { font-size: 0.9rem; color: var(--text-dim); }
.form-submit { width: 100%; margin-top: 8px; font-size: 1rem; padding: 16px; }
.form-success {
  display: none; background: rgba(46,204,64,0.1); border: 1px solid rgba(46,204,64,0.3);
  border-radius: 10px; padding: 20px; text-align: center;
  color: #2ecc40; font-weight: 600; margin-top: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .feature-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { display: none; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(8,9,14,0.98); backdrop-filter: blur(20px);
    padding: 16px; border-bottom: 1px solid var(--border);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .burger { display: flex; }
  .solutions-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .feature-grid.reverse { direction: ltr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 3.5rem; }
}

/* ===== SLIDE-IN ANIMATIONS ===== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Page visibility control */
/* .nav-locations-hidden removed — locations page now exists */
.nav-locations-visible { display: list-item !important; }

/* Language visibility (controlled by admin) */
.lang-ru-hidden .nav-ru, .lang-ua-hidden .nav-ua { display: none !important; }

/* ============================================================
   RESPONSIVE — FULL MOBILE & TABLET SUPPORT
   ============================================================ */

/* ===== TABLET LANDSCAPE 1024-1200px ===== */
@media (max-width: 1200px) {
  .container { padding: 0 20px; }
  .hero-title { font-size: clamp(3rem, 7vw, 5.5rem); }
  .solutions-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 28px; }
}

/* ===== TABLET PORTRAIT 768-1024px ===== */
@media (max-width: 1024px) {
  .container { padding: 0 18px; }

  /* Nav */
  .nav-inner { height: 62px; }
  .nav-logo img { height: 54px; }

  /* Hero */
  .hero { padding: 100px 20px 60px; }
  .hero-title { font-size: clamp(2.8rem, 6vw, 4.5rem); }
  .hero-sub { font-size: 1rem; }

  /* Solutions */
  .solutions-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .sol-img-wrap { height: 190px; }

  /* Values */
  .value-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  /* Why us */
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-visual { display: none; }
  .why-text h2 { font-size: 2rem; }

  /* Steps */
  .steps { gap: 0; }
  .step { padding: 28px 22px; }

  /* Feature sections */
  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-img img { height: 300px; }
  .feature-grid.reverse { direction: ltr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid img { height: 220px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  /* Specs table */
  .specs-table th, .specs-table td { padding: 10px 14px; font-size: 0.9rem; }

  /* Page hero */
  .page-hero { padding: 110px 20px 60px; }
  .page-hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); }

  /* Sections */
  .solutions { padding: 70px 0; }
  .why-us { padding: 70px 0; }
  .how-it-works { padding: 70px 0; }
  .feature-section { padding: 60px 0; }
}

/* ===== MOBILE LARGE 480-768px ===== */
@media (max-width: 768px) {
  .container { padding: 0 16px; }

  /* Navbar */
  .nav-inner { height: 58px; padding: 0 16px; }
  .nav-logo img { height: 48px; }
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 58px; left: 0; right: 0; bottom: 0;
    background: rgba(8,9,14,0.99);
    padding: 20px 16px; gap: 4px;
    overflow-y: auto; z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 12px 16px; font-size: 1rem; border-radius: 10px; }
  .nav-cta { text-align: center; margin-top: 8px; padding: 14px !important; }
  .lang-switch { margin-top: 8px; }
  .burger { display: flex; }

  /* Hero */
  .hero { padding: 90px 16px 50px; min-height: 90vh; }
  .hero-title { font-size: clamp(2.4rem, 9vw, 3.5rem); line-height: 1; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 28px; }
  .hero-badge { font-size: 0.75rem; padding: 6px 14px; margin-bottom: 20px; }
  .hero-btns { flex-direction: column; gap: 14px; align-items: flex-start; }
  .btn-primary { padding: 13px 24px; font-size: 0.9rem; }
  .hero-orb { filter: blur(60px); opacity: 0.25; }

  /* Section headers */
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .section-header p { font-size: 0.9rem; }

  /* Values */
  .values { padding: 50px 0; }
  .value-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .value-card { padding: 22px 18px; }
  .value-icon { font-size: 1.8rem; margin-bottom: 10px; }
  .value-card h3 { font-size: 1.1rem; }
  .value-card p { font-size: 0.85rem; }

  /* Solutions */
  .solutions { padding: 50px 0; }
  .solutions-grid { grid-template-columns: 1fr; gap: 16px; }
  .sol-img-wrap { height: 200px; }
  .sol-content { padding: 18px; }
  .sol-logo-text { font-size: 1.3rem; }

  /* Why us */
  .why-us { padding: 50px 0; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .why-text h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .why-points { gap: 20px; margin-bottom: 28px; }
  .why-num { font-size: 2rem; min-width: 36px; }
  .why-point h4 { font-size: 0.95rem; }

  /* Steps */
  .how-it-works { padding: 50px 0; }
  .steps { flex-direction: column; align-items: center; gap: 0; }
  .step { max-width: 100%; width: 100%; padding: 24px 20px; }
  .step-arrow { transform: rotate(90deg); padding: 8px 0; font-size: 1.2rem; }
  .step-num { width: 46px; height: 46px; font-size: 1.4rem; }

  /* Locations tags */
  .locations { padding: 50px 0; }
  .loc-tags { gap: 8px; }
  .loc-tags span { font-size: 0.8rem; padding: 8px 14px; }

  /* CTA Banner */
  .cta-banner { padding: 60px 16px; }
  .cta-banner h2 { font-size: clamp(1.6rem, 5vw, 2.5rem); }
  .cta-banner p { font-size: 0.9rem; }
  .btn-primary.btn-large { font-size: 0.95rem; padding: 15px 28px; }

  /* Feature sections */
  .feature-section { padding: 50px 0; }
  .feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .feature-grid.reverse { direction: ltr; }
  .feature-img img { height: 240px; border-radius: 12px; }
  .feature-text h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .feature-text p { font-size: 0.9rem; }
  .feature-list li { font-size: 0.85rem; padding: 6px 0; }

  /* Gallery */
  .gallery-section { padding: 50px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-grid img { height: 160px; border-radius: 10px; }

  /* Specs table */
  .specs-section { padding: 50px 0; }
  .specs-table { font-size: 0.85rem; }
  .specs-table th, .specs-table td { padding: 9px 12px; }

  /* Page hero */
  .page-hero { padding: 90px 16px 50px; }
  .page-hero h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  .page-hero p { font-size: 0.95rem; }

  /* Contact page */
  .contact-section { padding: 50px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-info h2 { font-size: 1.6rem; }
  .contact-form { padding: 24px 18px; }
  .contact-form h3 { font-size: 1.3rem; margin-bottom: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .form-group label { font-size: 0.8rem; }
  .form-group input, .form-group select, .form-group textarea { 
    padding: 11px 14px; font-size: 0.9rem; 
  }

  /* Footer */
  .footer { padding: 48px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand img { height: 52px; margin-bottom: 12px; }
  .footer-brand p { font-size: 0.85rem; }
  .footer-links h4, .footer-contact h4 { font-size: 0.9rem; margin-bottom: 12px; }
  .footer-links ul li { margin-bottom: 6px; }
  .footer-links ul li a { font-size: 0.85rem; }
  .footer-contact p { font-size: 0.85rem; }
  .footer-bottom { padding: 16px 0; }
  .footer-bottom p { font-size: 0.75rem; }

  /* Locations page map */
  .map-container iframe { height: 350px; }
  .coming-soon-banner { padding: 40px 20px; }
  .coming-soon-banner h3 { font-size: 1.5rem; }

  /* Admin sidebar hide on mobile */
  .sidebar { display: none; }
}

/* ===== MOBILE SMALL 320-480px ===== */
@media (max-width: 480px) {
  .container { padding: 0 14px; }

  /* Hero */
  .hero { padding: 80px 14px 44px; }
  .hero-title { font-size: clamp(2rem, 10vw, 2.8rem); }
  .hero-badge { font-size: 0.7rem; padding: 5px 12px; }
  .hero-sub { font-size: 0.88rem; }
  .btn-primary { padding: 12px 20px; font-size: 0.85rem; width: 100%; text-align: center; }
  .btn-ghost { font-size: 0.85rem; }

  /* Section headers */
  .section-header h2 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .section-label { font-size: 0.72rem; }

  /* Values — single column on very small */
  .value-grid { grid-template-columns: 1fr; gap: 12px; }
  .value-card { padding: 18px 16px; }

  /* Solutions */
  .sol-img-wrap { height: 180px; }

  /* Gallery — single column */
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 200px; }

  /* Specs table — scrollable */
  .specs-section .container { overflow-x: auto; }
  .specs-table { min-width: 300px; }
  .specs-table th, .specs-table td { padding: 8px 10px; font-size: 0.8rem; }

  /* Steps */
  .step { padding: 20px 16px; }
  .step h3 { font-size: 1.1rem; }
  .step p { font-size: 0.85rem; }

  /* Feature */
  .feature-img img { height: 200px; }
  .feature-text h2 { font-size: clamp(1.3rem, 6vw, 1.8rem); }

  /* Page hero */
  .page-hero h1 { font-size: clamp(1.8rem, 9vw, 2.8rem); }

  /* Contact form */
  .contact-form { padding: 20px 14px; }
  .checkbox-item span { font-size: 0.82rem; }

  /* Footer */
  .footer-grid { gap: 20px; }

  /* CTA */
  .cta-banner h2 { font-size: clamp(1.4rem, 6vw, 2rem); }
  .btn-primary.btn-large { padding: 14px 22px; font-size: 0.9rem; width: 100%; }

  /* Nav logo smaller */
  .nav-logo img { height: 42px; }
  .nav-inner { height: 54px; padding: 0 14px; }
  .nav-links { top: 54px; }

  /* Loc tags */
  .loc-tags span { font-size: 0.75rem; padding: 6px 12px; }

  /* Map */
  .map-container iframe { height: 280px; }
}

/* ===== EXTRA SMALL 320px ===== */
@media (max-width: 360px) {
  .hero-title { font-size: 1.9rem; }
  .btn-primary { font-size: 0.82rem; padding: 11px 16px; }
  .value-card h3 { font-size: 1rem; }
  .sol-logo-text { font-size: 1.1rem; }
  .footer-brand img { height: 44px; }
}

/* ===== TOUCH DEVICES — better tap targets ===== */
@media (hover: none) and (pointer: coarse) {
  .btn-primary { min-height: 44px; }
  .nav-links li a { min-height: 44px; display: flex; align-items: center; }
  .sol-card:hover { transform: none; }
  .value-card:hover { transform: none; }
  .gallery-grid img:hover { transform: none; }
  .loc-tags span:hover { background: var(--mid); color: var(--text-dim); border-color: var(--border); }
}

/* ===== LANDSCAPE MOBILE ===== */
@media (max-width: 768px) and (orientation: landscape) {
  .hero { min-height: 100vw; padding: 80px 16px 40px; }
  .hero-title { font-size: clamp(1.8rem, 5vw, 2.8rem); }
  .nav-links { 
    flex-direction: row; flex-wrap: wrap; 
    bottom: auto; padding: 12px 16px;
    max-height: 200px; overflow-y: auto;
  }
  .nav-links li { flex: 0 0 auto; }
}

/* ===== PRINT ===== */
@media print {
  .navbar, .hero-scroll, .burger, .btn-primary, .btn-ghost { display: none !important; }
  body { background: white; color: black; }
  .hero { padding-top: 20px; min-height: auto; }
}

/* ===== BURGER ANIMATION ===== */
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.burger span { transition: transform 0.3s ease, opacity 0.3s ease; }

/* ===== SPECS TABLE SCROLL WRAPPER ===== */
.specs-section .container { overflow-x: auto; }

/* ===== IMAGES RESPONSIVE ===== */
img { max-width: 100%; height: auto; }
.sol-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ===== HERO IMAGE RIGHT SIDE ===== */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 1;
}
.hero-content {
  flex: 1;
  max-width: 600px;
  animation: fadeUp 0.8s ease forwards;
}
.hero-image {
  flex: 1;
  max-width: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.8s ease 0.3s both;
}
.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0,87,255,0.3));
  animation: floatImg 6s ease-in-out infinite;
  border-radius: 16px;
}
@keyframes floatImg {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== REDUCED SPACING ===== */
.hero { padding: 82px 24px 50px !important; min-height: 80vh !important; }
.values { padding: 50px 0 !important; }
.solutions { padding: 60px 0 !important; }
.why-us { padding: 60px 0 !important; }
.how-it-works { padding: 60px 0 !important; }
.locations { padding: 50px 0 !important; }
.cta-banner { padding: 70px 24px !important; }
.section-header { margin-bottom: 36px !important; }

/* ===== HERO IMAGE RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { gap: 24px; }
  .hero-image { max-width: 420px; }
}
@media (max-width: 768px) {
  .hero-inner { flex-direction: column !important; gap: 28px; }
  .hero-image { 
    width: 100% !important; 
    max-width: 100% !important;
    margin-top: 16px;
  }
  .hero-image img { max-width: 90%; margin: 0 auto; display: block; }
  .hero { padding: 80px 16px 40px !important; min-height: auto !important; }
}
@media (max-width: 480px) {
  .hero-image { display: none !important; }
  .hero { padding: 74px 14px 36px !important; }
}

/* ===== HERO IMAGE LARGER ===== */
.hero-image {
  flex: 1.2 !important;
  max-width: 660px !important;
}
.hero-image img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}
.hero-content {
  flex: 0.9 !important;
  max-width: 520px !important;
}

/* ===== HERO IMAGE FINAL FIX ===== */
.hero-inner { max-width: 100% !important; padding: 0 24px; }
.hero-content { flex: 0 0 44% !important; max-width: 44% !important; }
.hero-image { flex: 0 0 52% !important; max-width: 52% !important; }
.hero-image img { width: 100% !important; height: auto !important; }

@media (max-width: 1024px) {
  .hero-content { flex: 0 0 48% !important; max-width: 48% !important; }
  .hero-image { flex: 0 0 48% !important; max-width: 48% !important; }
}
@media (max-width: 768px) {
  .hero-content { flex: 0 0 100% !important; max-width: 100% !important; }
  .hero-image { flex: 0 0 100% !important; max-width: 100% !important; margin-top: 20px; }
}
@media (max-width: 480px) {
  .hero-image { display: none !important; }
}

/* ===== HERO TITLE 4 LINES ===== */
.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 5.2rem) !important;
  line-height: 1.02 !important;
  margin-bottom: 20px !important;
}

/* ===== HERO TITLE RESTORED — original large style ===== */
.hero-title {
  font-family: var(--font-head) !important;
  font-size: clamp(3.5rem, 10vw, 7rem) !important;
  font-weight: 900 !important;
  line-height: 0.95 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 24px !important;
  color: var(--text) !important;
}
.hero-title .accent {
  color: var(--blue-light) !important;
}

/* ===== HERO TITLE EXACT 4 LINES ===== */
.hero-title {
  font-family: var(--font-head) !important;
  font-size: clamp(3.2rem, 8.5vw, 6.5rem) !important;
  font-weight: 900 !important;
  line-height: 0.97 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 24px !important;
}

/* ===== HERO TITLE MOBILE FIX — prevent unwanted line breaks ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem) !important;
    line-height: 1.0 !important;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.9rem, 9vw, 2.8rem) !important;
  }
}

/* ===== HERO TITLE — FIT 4 LINES IN 44% CONTAINER ===== */
.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 5.2rem) !important;
  line-height: 0.97 !important;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem) !important; white-space: normal; }
}
@media (max-width: 768px) {
  .hero-title { font-size: clamp(2rem, 8vw, 3.2rem) !important; white-space: normal; }
}
@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.8rem, 9vw, 2.6rem) !important; white-space: normal; }
}

/* ===== HERO LAYOUT FIX — wider text column ===== */
.hero-title {
  font-size: clamp(3.5rem, 10vw, 7rem) !important;
  line-height: 0.95 !important;
  white-space: normal !important;
  letter-spacing: -0.02em !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}
.hero-content {
  flex: 0 0 55% !important;
  max-width: 55% !important;
}
.hero-image {
  flex: 0 0 42% !important;
  max-width: 42% !important;
}
@media (max-width: 1024px) {
  .hero-content { flex: 0 0 52% !important; max-width: 52% !important; }
  .hero-image { flex: 0 0 44% !important; max-width: 44% !important; }
  .hero-title { font-size: clamp(2.8rem, 6vw, 5rem) !important; }
}
@media (max-width: 768px) {
  .hero-content { flex: 0 0 100% !important; max-width: 100% !important; }
  .hero-image { flex: 0 0 100% !important; max-width: 100% !important; }
  .hero-title { font-size: clamp(2.4rem, 9vw, 4rem) !important; }
}
@media (max-width: 480px) {
  .hero-image { display: none !important; }
  .hero-title { font-size: clamp(2rem, 10vw, 3rem) !important; }
}

/* ============================================================
   LIGHT THEME
   ============================================================ */
body.light-theme {
  --dark:   #f0f4ff;
  --dark2:  #e8eeff;
  --dark3:  #ffffff;
  --mid:    #dde6f7;
  --mid2:   #ccd8f0;
  --border: rgba(0,60,180,0.12);
  --text:   #0a1f5c;
  --text-dim: #4a5578;
  background: #f0f4ff;
  color: #0a1f5c;
}

/* Navbar */
body.light-theme .navbar {
  background: rgba(240,244,255,0.96) !important;
  border-bottom: 1px solid rgba(0,60,180,0.12);
}
body.light-theme .nav-links li a { color: #4a5578; }
body.light-theme .nav-links li a:hover,
body.light-theme .nav-links li a.active { color: #0a1f5c; }

/* Hero */
body.light-theme .hero {
  background: linear-gradient(135deg, #eef4ff 0%, #f8faff 100%);
}
body.light-theme .hero-bg {
  background: radial-gradient(ellipse at 20% 50%, rgba(0,87,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(61,139,255,0.06) 0%, transparent 50%),
              #f0f4ff;
}
body.light-theme .hero-orb { opacity: 0.15; }
body.light-theme .hero-title { color: #0a1f5c !important; }
body.light-theme .hero-title .accent { color: var(--blue) !important; }
body.light-theme .hero-sub { color: #4a5578; }
body.light-theme .hero-badge {
  background: rgba(0,87,255,0.08);
  border-color: rgba(0,87,255,0.2);
  color: var(--blue);
}
body.light-theme .btn-ghost { color: #4a5578; border-color: rgba(0,60,180,0.2); }

/* Sections */
body.light-theme .values { background: #ffffff; }
body.light-theme .value-card {
  background: #ffffff;
  border-color: rgba(0,60,180,0.1);
  box-shadow: 0 2px 12px rgba(0,60,180,0.06);
}
body.light-theme .value-card h3 { color: #0a1f5c; }
body.light-theme .value-card p { color: #4a5578; }

body.light-theme .solutions { background: #f0f4ff; }
body.light-theme .sol-card {
  background: #ffffff;
  border-color: rgba(0,60,180,0.1);
  box-shadow: 0 2px 16px rgba(0,60,180,0.06);
}
body.light-theme .sol-content p { color: #4a5578; }

body.light-theme .why-us { background: #ffffff; }
body.light-theme .why-num { color: rgba(0,87,255,0.2); }
body.light-theme .why-point h4 { color: #0a1f5c; }
body.light-theme .why-point p { color: #4a5578; }
body.light-theme .why-text h2 { color: #0a1f5c; }

body.light-theme .how-it-works { background: #f0f4ff; }
body.light-theme .step {
  background: #ffffff;
  border-color: rgba(0,60,180,0.1);
  box-shadow: 0 2px 12px rgba(0,60,180,0.06);
}
body.light-theme .step h3 { color: #0a1f5c; }
body.light-theme .step p { color: #4a5578; }
body.light-theme .step-arrow { color: #4a5578; }

body.light-theme .locations { background: #ffffff; }
body.light-theme .loc-tags span {
  background: #f0f4ff;
  border-color: rgba(0,60,180,0.12);
  color: #4a5578;
}
body.light-theme .loc-tags span:hover {
  background: rgba(0,87,255,0.08);
  color: #0a1f5c;
}

body.light-theme .section-header h2 { color: #0a1f5c; }
body.light-theme .section-header p { color: #4a5578; }
body.light-theme .section-label {
  background: rgba(0,87,255,0.08);
  border-color: rgba(0,87,255,0.2);
  color: var(--blue);
}

/* Page hero (inner pages) */
body.light-theme .page-hero {
  background: #eef4ff;
  border-bottom-color: rgba(0,60,180,0.1);
}
body.light-theme .page-hero h1 { color: #0a1f5c; }
body.light-theme .page-hero p { color: #4a5578; }

/* Feature sections */
body.light-theme .feature-section { background: #f0f4ff; }
body.light-theme .feature-section:nth-child(even) { background: #ffffff; }
body.light-theme .feature-text h2 { color: #0a1f5c; }
body.light-theme .feature-text p { color: #4a5578; }
body.light-theme .feature-list li { color: #4a5578; border-bottom-color: rgba(0,60,180,0.08); }

/* Specs table */
body.light-theme .specs-table th {
  background: #eef4ff;
  color: #4a5578;
}
body.light-theme .specs-table td { color: #4a5578; }
body.light-theme .specs-table td:first-child { color: #0a1f5c; }
body.light-theme .specs-table th,
body.light-theme .specs-table td { border-bottom-color: rgba(0,60,180,0.08); }

/* Gallery */
body.light-theme .gallery-section { background: #ffffff; }

/* Contact */
body.light-theme .contact-section { background: #f0f4ff; }
body.light-theme .contact-form {
  background: #ffffff;
  border-color: rgba(0,60,180,0.1);
}
body.light-theme .contact-form h3 { color: #0a1f5c; }
body.light-theme .contact-info h2 { color: #0a1f5c; }
body.light-theme .contact-detail h4 { color: #0a1f5c; }
body.light-theme .contact-detail p,
body.light-theme .contact-detail a { color: #4a5578; }
body.light-theme .form-group label { color: #4a5578; }
body.light-theme .form-group input,
body.light-theme .form-group select,
body.light-theme .form-group textarea {
  background: #f0f4ff;
  border-color: rgba(0,60,180,0.15);
  color: #0a1f5c;
}
body.light-theme .form-group input:focus,
body.light-theme .form-group select,
body.light-theme .form-group textarea:focus {
  background: #eef4ff;
}
body.light-theme .checkbox-item span { color: #4a5578; }

/* FAQ details */
body.light-theme details {
  background: #ffffff !important;
  border-color: rgba(0,60,180,0.1) !important;
}
body.light-theme details summary { color: #0a1f5c; }
body.light-theme details p { color: #4a5578; }

/* Footer */
body.light-theme .footer {
  background: #1a2a5c;
  border-top-color: rgba(255,255,255,0.1);
}
body.light-theme .footer-brand p,
body.light-theme .footer-legal { color: rgba(255,255,255,0.6) !important; }
body.light-theme .footer-links h4,
body.light-theme .footer-contact h4 { color: #fff; }
body.light-theme .footer-links ul li a { color: rgba(255,255,255,0.7); }
body.light-theme .footer-links ul li a:hover { color: #fff; }
body.light-theme .footer-contact p,
body.light-theme .footer-contact a { color: rgba(255,255,255,0.7); }
body.light-theme .footer-bottom p { color: rgba(255,255,255,0.5); }
body.light-theme .footer-bottom { border-top-color: rgba(255,255,255,0.1); }

/* Locations page */
body.light-theme .coming-soon-banner {
  background: linear-gradient(135deg, rgba(0,87,255,0.06), rgba(0,87,255,0.02));
  border-color: rgba(0,87,255,0.2);
}
body.light-theme .coming-soon-banner h3 { color: #0a1f5c; }
body.light-theme .coming-soon-banner p { color: #4a5578; }

/* Mobile menu light */
body.light-theme .nav-links {
  background: rgba(240,244,255,0.99);
}

/* Theme toggle button */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 6px 10px;
  font-size: 1rem;
  color: var(--text-dim);
  transition: var(--transition);
  line-height: 1;
}
.theme-toggle:hover { 
  background: rgba(0,87,255,0.1); 
  color: var(--text); 
  border-color: var(--blue);
}

/* ===== MOBILE MENU — ALWAYS ON TOP ===== */
.nav-links.open {
  z-index: 99999 !important;
  position: fixed !important;
  top: 58px !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(8,9,14,0.99) !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 20px 16px !important;
  overflow-y: auto !important;
}
.navbar {
  z-index: 99998 !important;
  position: fixed !important;
}

/* ===== MOBILE MENU Z-INDEX FIX ===== */
.navbar { position: fixed !important; z-index: 99998 !important; }
.nav-links.open {
  display: flex !important;
  flex-direction: column !important;
  position: fixed !important;
  top: 58px !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 99999 !important;
  background: rgba(8,9,14,0.99) !important;
  padding: 20px 16px !important;
  overflow-y: auto !important;
}

/* ===== MOBILE CONTACT ANCHOR BUTTON ===== */
.mobile-contact-anchor {
  display: none;
  text-align: center;
  padding: 16px;
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) {
  .mobile-contact-anchor { display: block; }
}
