/* ==========================================================================
   Asia Traders & Suppliers — shared design system
   Palette derived from the company logo: royal blue #0671B7, red #B11E24
   ========================================================================== */

:root {
  /* Brand — blues */
  --navy-deep: #06243f;   /* darkest — nav, dark sections */
  --navy:      #0a3a63;
  --blue:      #0671b7;    /* logo blue — primary */
  --blue-bright: #2a8fd6;
  --blue-light:  #6fb8e6;
  --blue-pale:   #d8eaf7;

  /* Brand — red accent (replaces gold) */
  --red:       #b11e24;    /* logo red — accent */
  --red-bright:#d6303a;
  --red-soft:  #f3d4d6;

  /* Neutrals */
  --cream:   #f5f8fb;
  --white:   #ffffff;
  --line:    rgba(6,36,63,0.10);
  --line-2:  rgba(6,36,63,0.07);

  --text-dark:  #0c2238;
  --text-mid:   #2c4a63;
  --text-muted: #6a8298;

  --whatsapp: #25d366;

  /* Layout */
  --maxw: 1200px;
  --nav-h: 66px;
  --radius: 12px;
  --radius-sm: 8px;

  --shadow-sm: 0 2px 8px rgba(6,36,63,0.06);
  --shadow-md: 0 12px 40px rgba(6,36,63,0.12), 0 2px 8px rgba(6,36,63,0.06);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

/* Hide the alternate-language copy by default; main.js swaps via [lang=ne] on <html> */
[data-ne] { display: none; }
html[data-lang="ne"] [data-en] { display: none; }
html[data-lang="ne"] [data-ne] { display: inline; }
html[data-lang="ne"] [data-ne].block { display: block; }

/* ── Reveal-on-scroll (motion) ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(6,36,63,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; height: 100%;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-brand img {
  width: 38px; height: 38px; border-radius: 9px;
  background: #fff; padding: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.nav-brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 17px; color: #fff; font-weight: 600; letter-spacing: 0.01em;
  white-space: nowrap; line-height: 1;
}
.nav-brand-text .amp { color: var(--blue-light); }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: rgba(255,255,255,0.78); text-decoration: none;
  font-size: 13.5px; font-weight: 400; letter-spacing: 0.02em;
  transition: color 0.2s; position: relative; padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--red-bright); border-radius: 2px;
}

.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(255,255,255,0.22); border-radius: 999px;
  overflow: hidden; font-size: 11.5px; font-weight: 600;
}
.lang-toggle button {
  background: transparent; border: 0; color: rgba(255,255,255,0.6);
  padding: 5px 11px; cursor: pointer; font-family: inherit; letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.lang-toggle button.active { background: var(--blue); color: #fff; }

.nav-cta {
  background: var(--red); color: #fff !important;
  padding: 9px 18px; border-radius: 6px;
  font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0.02em;
  text-decoration: none; transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--red-bright); transform: translateY(-1px); }

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: 0.25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 7px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; font-family: inherit;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-bright); box-shadow: 0 8px 22px rgba(6,113,183,0.32); }
.btn-accent { background: var(--red); color: #fff; }
.btn-accent:hover { background: var(--red-bright); box-shadow: 0 8px 22px rgba(177,30,36,0.30); }
.btn-wa { background: var(--whatsapp); color: #fff; }
.btn-wa:hover { background: #1ebe59; box-shadow: 0 8px 22px rgba(37,211,102,0.32); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.34); color: rgba(255,255,255,0.9); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.75); color: #fff; }
.btn-ghost-dark { background: transparent; border-color: var(--line); color: var(--text-mid); }
.btn-ghost-dark:hover { border-color: var(--blue); color: var(--blue); }

/* ==========================================================================
   SECTIONS / HEADINGS
   ========================================================================== */
section { padding: 92px 0; }
.section-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); font-weight: 700; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 22px; height: 2px; background: var(--red); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.6vw, 46px); line-height: 1.16;
  color: var(--navy-deep); font-weight: 600; max-width: 620px; margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--blue); }
.section-sub {
  font-size: 15.5px; color: var(--text-muted); line-height: 1.7;
  max-width: 540px; margin-bottom: 8px;
}

/* Dark section variant */
.dark { background: var(--navy-deep); color: #fff; }
.dark .section-title { color: #fff; }
.dark .section-sub { color: rgba(255,255,255,0.62); }
.dark .section-label { color: var(--blue-light); }

/* ==========================================================================
   PAGE HEADER (sub-pages)
   ========================================================================== */
.page-header {
  background: var(--navy-deep);
  padding: calc(var(--nav-h) + 64px) 0 64px;
  position: relative; overflow: hidden;
}
.page-header::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(900px 380px at 85% -10%, rgba(6,113,183,0.35), transparent 60%),
    radial-gradient(600px 300px at 0% 120%, rgba(177,30,36,0.18), transparent 60%);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header .crumb { font-size: 12px; color: var(--blue-light); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 56px); color: #fff; font-weight: 600; line-height: 1.12;
  margin-bottom: 16px; max-width: 760px;
}
.page-header p { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 560px; line-height: 1.7; }

/* ==========================================================================
   HERO (home)
   ========================================================================== */
#hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 72px; overflow: hidden;
  background: var(--navy-deep);
}
/* Lightweight animated gradient fallback — always rendered, sits behind the canvas */
#hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(820px 520px at 78% 18%, rgba(6,113,183,0.55), transparent 60%),
    radial-gradient(620px 480px at 12% 92%, rgba(177,30,36,0.22), transparent 60%),
    radial-gradient(700px 600px at 95% 95%, rgba(42,143,214,0.30), transparent 65%),
    linear-gradient(160deg, #06243f 0%, #0a3a63 55%, #06243f 100%);
  animation: heroGlow 16s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  from { background-position: 0 0, 0 0, 0 0, 0 0; filter: saturate(1); }
  to   { background-position: 4% -3%, -3% 3%, -2% -2%, 0 0; filter: saturate(1.15); }
}
#hero-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero-eyebrow {
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-light); font-weight: 700; margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 11px;
}
.hero-eyebrow::before { content: ''; width: 30px; height: 2px; background: var(--red-bright); }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(33px, 4.9vw, 60px); line-height: 1.13; color: #fff;
  font-weight: 600; margin-bottom: 22px; letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; color: var(--blue-light); }
.hero-sub { font-size: 16.5px; line-height: 1.7; color: rgba(255,255,255,0.72); max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-stats {
  position: relative; z-index: 2; margin-top: 54px;
  display: flex; gap: 44px; flex-wrap: wrap;
}
.hero-stat-num { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 40px); color: #fff; font-weight: 600; line-height: 1; }
.hero-stat-num span { color: var(--blue-light); }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,0.55); letter-spacing: 0.07em; text-transform: uppercase; margin-top: 6px; }

/* intro split */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.coverage-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 17px; line-height: 1.8; color: var(--text-mid); }
.section-head { margin-bottom: 8px; }
.section-cta { margin-top: 36px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .section-label { justify-content: center; }
.center .section-title, .center .section-sub { margin-left: auto; margin-right: auto; }

@media (max-width: 860px) {
  #hero { min-height: auto; padding: calc(var(--nav-h) + 52px) 0 56px; }
  .hero-stats { position: static; margin-top: 44px; gap: 28px; flex-wrap: wrap; }
  .split, .coverage-split { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 22px; }
  .hero-stat { flex: 1 1 40%; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  background: var(--blue); padding: 13px 0; overflow: hidden; white-space: nowrap;
  border-top: 3px solid var(--red);
}
.marquee-inner { display: inline-flex; animation: marquee 26s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee-inner { animation-play-state: paused; }
.marquee-item {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.95);
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0 26px;
  display: inline-flex; align-items: center; gap: 22px;
}
.marquee-item::after { content: '◆'; color: rgba(255,255,255,0.45); font-size: 8px; }

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px; margin-top: 48px;
}
.product-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px;
  display: flex; flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--blue-pale); box-shadow: var(--shadow-md); }
.product-icon {
  width: 48px; height: 48px; border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.product-name { font-size: 15px; font-weight: 600; color: var(--navy-deep); margin-bottom: 6px; line-height: 1.3; }
.product-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.product-order {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; color: var(--whatsapp); text-decoration: none;
  padding-top: 14px; border-top: 1px solid var(--line-2);
  transition: gap 0.2s, color 0.2s;
}
.product-order:hover { gap: 11px; color: #1ebe59; }
.product-order svg { width: 15px; height: 15px; }

/* ==========================================================================
   FEATURE / WHY GRID
   ========================================================================== */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 48px; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.why-item {
  padding: 34px 28px; background: var(--white);
  border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  transition: background 0.2s;
}
.why-item:hover { background: #f0f6fc; }
.why-num {
  font-family: 'Playfair Display', serif; font-size: 38px;
  color: var(--blue-pale); font-weight: 600; line-height: 1; margin-bottom: 16px;
}
.why-icon { font-size: 26px; margin-bottom: 14px; }
.why-title { font-size: 15.5px; font-weight: 600; color: var(--navy-deep); margin-bottom: 8px; }
.why-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

/* ==========================================================================
   STEPS (how ordering works)
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative;
}
.step-num {
  width: 38px; height: 38px; border-radius: 10px; background: var(--blue); color: #fff;
  font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 16px; color: var(--navy-deep); font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }
.dark .step { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.dark .step h3 { color: #fff; }
.dark .step p { color: rgba(255,255,255,0.6); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   CLIENTS
   ========================================================================== */
.clients-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px; margin-top: 48px;
}
.client-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.client-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-pale); }
.client-tier {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 9px;
  display: inline-block; padding: 3px 9px; background: var(--red-soft); border-radius: 999px;
}
.client-name { font-size: 15px; font-weight: 600; color: var(--navy-deep); margin-bottom: 4px; line-height: 1.3; }
.client-loc { font-size: 12.5px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }

/* ==========================================================================
   STAT ROW
   ========================================================================== */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px;
}
.stat {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 26px 22px;
}
.stat-num { font-family: 'Playfair Display', serif; font-size: 40px; color: #fff; font-weight: 600; line-height: 1; }
.stat-num span { color: var(--blue-light); }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 8px; }

/* light stat variant */
.stat-row.light .stat { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-sm); }
.stat-row.light .stat-num { color: var(--navy-deep); }
.stat-row.light .stat-num span { color: var(--blue); }
.stat-row.light .stat-label { color: var(--text-muted); }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-deep), var(--blue));
  border-radius: 0; padding: 70px 0; position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(177,30,36,0.35), transparent 70%);
}
.cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-inner h2 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3.4vw, 40px); color: #fff; font-weight: 600; margin-bottom: 12px; max-width: 560px; }
.cta-inner p { font-size: 15.5px; color: rgba(255,255,255,0.72); max-width: 480px; }
.cta-actions { display: flex; gap: 13px; flex-wrap: wrap; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-mid); margin-bottom: 7px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: inherit; font-size: 14px;
  color: var(--text-dark); background: var(--cream);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 3px rgba(6,113,183,0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12.5px; color: var(--text-muted); margin-top: 4px; }
.form-status { margin-top: 16px; font-size: 14px; font-weight: 600; border-radius: var(--radius-sm); padding: 0; }
.form-status.ok { color: #1a7a3e; }
.form-status.err { color: var(--red); }

/* click-to-load map */
.map-embed { margin-top: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-load {
  width: 100%; min-height: 150px; display: flex; flex-direction: column; gap: 4px;
  align-items: center; justify-content: center; cursor: pointer; font-family: inherit;
  background: linear-gradient(135deg, #e8eef4, #d8eaf7); color: var(--navy-deep);
  border: 0; font-size: 14.5px; font-weight: 600;
  background-image:
    linear-gradient(135deg, rgba(232,238,244,0.92), rgba(216,234,247,0.92)),
    repeating-linear-gradient(0deg, rgba(6,113,183,0.08) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, rgba(6,113,183,0.08) 0 1px, transparent 1px 26px);
  transition: filter 0.2s;
}
.map-load:hover { filter: brightness(1.03); }
.map-load .map-pin { font-size: 26px; }
.map-load .map-hint { font-size: 11.5px; font-weight: 500; color: var(--text-muted); }

/* contact info cards */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.info-list { display: flex; flex-direction: column; gap: 14px; }
.info-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.info-item:hover { border-color: var(--blue-pale); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.info-ico {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px;
  background: var(--blue-pale); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.info-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 600; margin-bottom: 3px; }
.info-val { font-size: 14.5px; color: var(--navy-deep); font-weight: 600; }

/* ==========================================================================
   DISTRICTS (coverage)
   ========================================================================== */
.district-list { display: flex; flex-direction: column; gap: 11px; margin-top: 28px; }
.district-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm); transition: background 0.2s, border-color 0.2s;
}
.district-item:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.2); }
.district-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.district-dot.active { background: var(--blue-light); box-shadow: 0 0 0 4px rgba(111,184,230,0.2); }
.district-dot.soon { background: var(--red-bright); box-shadow: 0 0 0 4px rgba(214,48,58,0.18); }
.district-name { font-size: 14px; color: #fff; font-weight: 500; }
.district-status { font-size: 11px; color: rgba(255,255,255,0.45); margin-left: auto; letter-spacing: 0.04em; text-transform: uppercase; }

/* ==========================================================================
   GLOBE (coverage)
   ========================================================================== */
.globe-wrap { position: relative; width: 100%; min-height: 420px; display: flex; align-items: center; justify-content: center; }
#globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.globe-fallback { position: relative; z-index: 1; width: 100%; max-width: 420px; transition: opacity 0.6s ease; }
.globe-fallback .grid { stroke: rgba(111,184,230,0.18); fill: none; stroke-width: 1; }
.globe-fallback .ocean { fill: rgba(10,58,99,0.55); stroke: rgba(42,143,214,0.35); stroke-width: 1.5; }
.globe-fallback .atmo { fill: rgba(42,143,214,0.10); }
.globe-fallback .dot-active { fill: var(--blue-light); }
.globe-fallback .dot-soon { fill: var(--red-bright); }
.globe-fallback .pulse { transform-origin: center; transform-box: fill-box; animation: gpulse 2.4s ease-out infinite; }
.globe-fallback .pulse.b { animation-delay: 0.8s; }
.globe-fallback .pulse.c { animation-delay: 1.6s; }
@keyframes gpulse { 0% { opacity: 0.5; transform: scale(0.6); } 100% { opacity: 0; transform: scale(2.6); } }

/* ==========================================================================
   TIMELINE / VALUES (about)
   ========================================================================== */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.value-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.value-card .ico { font-size: 26px; margin-bottom: 14px; }
.value-card h3 { font-size: 16px; color: var(--navy-deep); font-weight: 600; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }
@media (max-width: 640px) { .value-grid { grid-template-columns: 1fr; } }

.about-figure { position: relative; }
.about-figure img { width: 100%; border-radius: var(--radius); background: #fff; padding: 28px; box-shadow: var(--shadow-md); }
.badge-est {
  position: absolute; right: -10px; bottom: -10px; background: var(--red); color: #fff;
  font-weight: 700; font-size: 13px; padding: 12px 16px; border-radius: 10px; box-shadow: var(--shadow-md);
  text-align: center; line-height: 1.2;
}
.badge-est span { display: block; font-family: 'Playfair Display', serif; font-size: 22px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--navy-deep); padding: 56px 0 28px; border-top: 3px solid var(--red); }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 9px; background: #fff; padding: 3px; }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 19px; color: #fff; font-weight: 600; }
.footer-brand-name span { color: var(--blue-light); }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 290px; }
.footer-col-title { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-light); font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-reg { font-size: 11px; color: rgba(255,255,255,0.25); }

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%; background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45); color: #fff;
  transition: transform 0.2s; animation: wa-pulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }
@keyframes wa-pulse { 0%,100% { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); } 50% { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 12px rgba(37,211,102,0); } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .container { padding: 0 22px; }
  .nav-inner { padding: 0 22px; }
  section { padding: 64px 0; }

  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-deep); padding: 8px 22px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: translateY(-120%); transition: transform 0.3s var(--ease);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 15px; }
  .nav-links a.active::after { display: none; }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }

  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .page-header { padding: calc(var(--nav-h) + 44px) 0 48px; }
}

@media (max-width: 560px) {
  .nav-brand-text .brand-tail { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .nav-inner { padding: 0 18px; gap: 10px; }
  .nav-brand-text { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card { padding: 18px 15px; }
  .product-icon { width: 42px; height: 42px; font-size: 21px; }
  .clients-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 12px; }
}
