/* ==========================================================================
   WorldNet — Design System
   ========================================================================== */

:root {
  /* Brand */
  --green: #a3e635;
  --green-light: #c4f24d;
  --green-dark: #6ba821;

  /* Surfaces */
  --bg: #0a0d0b;
  --bg-alt: #0f1310;
  --surface: #141914;
  --surface-2: #1a201a;
  --border: #232b23;

  --bg-light: #fbfdfb;
  --surface-light: #ffffff;
  --border-light: #e7ede7;

  /* Text */
  --text: #f3f6f2;
  --text-muted: #9aa39a;
  --text-dim: #6b746b;

  --text-dark: #10140f;
  --text-dark-muted: #52594f;

  /* Type */
  --font-head: "Roboto", sans-serif;
  --font-body: "Roboto", sans-serif;
  --font-accent: "Roboto Slab", serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 100px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

section { position: relative; }

/* ---------- Utility ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px 2px var(--green);
}

.light .eyebrow {
  color: var(--green-dark);
}

.light .eyebrow::before {
  background: var(--green-dark);
  box-shadow: 0 0 8px 1px rgba(107, 168, 33, 0.45);
}

.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
  color: var(--text);
}

.section-head p {
  color: var(--text-muted);
  font-size: 17px;
}

.light .section-head h2 { color: var(--text-dark); }
.light .section-head p { color: var(--text-dark-muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  color: #0a0d0b;
  box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(163, 230, 53, 0.5);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

.light .btn-ghost { border-color: var(--border-light); color: var(--text-dark); }
.light .btn-ghost:hover { border-color: var(--green-dark); color: var(--green-dark); }

.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ==========================================================================
   Header
   ========================================================================== */

.topbar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}

.topbar a { transition: color 0.2s; }
.topbar a:hover { color: var(--green); }

.topbar-links { display: flex; gap: 20px; }
.topbar-links span { display: inline-flex; align-items: center; gap: 6px; }

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  /* no filter/transform here on purpose: either would create a new
     containing block for position:fixed descendants (the mobile nav
     panel), breaking its full-viewport sizing. The blur lives on
     ::before instead. */
}

header.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 13, 11, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

.logo img { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -30px;
  height: 2px;
  background: var(--green);
}

.nav-cta { display: flex; align-items: center; gap: 14px; }

.mobile-only-link { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 150px 0 90px;
  overflow: hidden;
  background-image: url(../assets/img/hero-bg.jpg);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center top;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(10, 13, 11, 0.65) 0%,
    rgba(10, 13, 11, 0.78) 22%,
    rgba(10, 13, 11, 0.6) 55%,
    rgba(10, 13, 11, 0.3) 100%);
  z-index: -1;
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  max-width: 720px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.hero h1 span {
  background: linear-gradient(100deg, var(--green-light), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 520px;
  margin: 24px 0 40px;
  font-size: 18px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 72px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
  width: 100%;
  max-width: 640px;
  justify-content: start;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 600;
  color: var(--text);
}

.stat-num span { color: var(--green); }

.stat-label {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ==========================================================================
   Sections generic
   ========================================================================== */

.section { padding: 120px 0; }
.section.tight { padding: 90px 0; }
.light { background: var(--bg-light); color: var(--text-dark); }

/* ---------- Services grid ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(163, 230, 53, 0.4);
  background: var(--surface-2);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(163, 230, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ---------- Split (about) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-visual {
  position: relative;
  aspect-ratio: 4/3.4;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 20%, rgba(163,230,53,0.35), transparent 55%),
    linear-gradient(145deg, #151b14, #0a0d0b);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-visual svg { width: 62%; height: auto; opacity: 0.9; }

.split h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 20px; }
.split p { color: var(--text-muted); margin-bottom: 18px; font-size: 16px; }
.light .split p { color: var(--text-dark-muted); }

.check-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}
.light .check-list li { color: var(--text-dark); }

.check-list svg { flex-shrink: 0; color: var(--green); margin-top: 2px; }

/* ---------- Solutions (3 cards) ---------- */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  border-radius: var(--radius);
  padding: 40px 32px;
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.solution-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(0,0,0,0.12); }

.solution-card.featured {
  background: linear-gradient(160deg, #10140f, #0a0d0b);
  border-color: #1c231b;
  color: var(--text);
}

.solution-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 14px;
  display: block;
}

.solution-card.featured .solution-tag { color: var(--green); }

.solution-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--text-dark);
}
.solution-card.featured h3 { color: var(--text); }

.solution-card p {
  font-size: 14.5px;
  color: var(--text-dark-muted);
  margin-bottom: 26px;
}
.solution-card.featured p { color: var(--text-muted); }

/* ---------- Coverage ---------- */

.coverage {
  background: radial-gradient(circle at 50% 0%, #141a12, var(--bg) 70%);
  text-align: center;
  padding: 130px 0;
}

.coverage h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 18px; }
.coverage h2 span { color: var(--green); }
.coverage p { max-width: 620px; margin: 0 auto; color: var(--text-muted); font-size: 17px; }

.coverage-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.badge {
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-muted);
  background: var(--surface);
}

/* ---------- Contact CTA ---------- */

.contact-cta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-cta h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 16px; }
.contact-cta p { color: var(--text-muted); font-size: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }

.field {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.field::placeholder { color: var(--text-dim); }
.field:focus { outline: none; border-color: var(--green); }

textarea.field { resize: vertical; min-height: 110px; }

.form-note { font-size: 12.5px; color: var(--text-dim); margin-top: 12px; }

.form-feedback { font-size: 13.5px; margin-top: 12px; font-weight: 500; }
.form-feedback.is-success { color: var(--green); }
.form-feedback.is-error { color: #f87171; }

/* ==========================================================================
   Footer
   ========================================================================== */

footer.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.footer-brand img { height: 26px; margin-bottom: 18px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; max-width: 300px; margin-bottom: 24px; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}
.socials a:hover { border-color: var(--green); color: var(--green); }

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { font-size: 14.5px; color: var(--text-muted); }
.footer-col a:hover { color: var(--green); }
.footer-col li { display: flex; align-items: flex-start; gap: 10px; }
.footer-col li svg { flex-shrink: 0; margin-top: 3px; color: var(--green); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-bottom a:hover { color: var(--green); }

/* ==========================================================================
   Reveal animation
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */

.page-hero {
  padding: 76px 0 70px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { justify-content: center; width: 100%; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); }
.page-hero p { max-width: 560px; margin: 18px auto 0; color: var(--text-muted); font-size: 17px; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--green); }

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.45);
  z-index: 200;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.55);
}

@media (max-width: 760px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .contact-cta { grid-template-columns: 1fr; padding: 40px; }
}

@media (max-width: 760px) {
  .topbar-links span:first-child { display: none; }
  .nav-links { position: fixed; top: var(--nav-offset, 84px); left: 0; right: 0; bottom: 0;
    background: var(--bg); flex-direction: column; padding: 40px 32px;
    align-items: flex-start; gap: 28px; transform: translateX(100%);
    transition: transform 0.35s var(--ease); overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 20px; }
  .mobile-only-link { display: block; color: var(--green) !important; margin-top: 10px; padding-top: 28px; border-top: 1px solid var(--border); width: 100%; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-ghost { display: none; }
  .hero { padding: 60px 0 70px; background-position: center 15%; }
  .hero::before { background: linear-gradient(180deg, rgba(10,13,11,0.85) 0%, rgba(10,13,11,0.94) 55%, rgba(10,13,11,0.98) 100%); }
  .hero-actions { flex-wrap: wrap; width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; min-width: 0; }
  .hero-stats { grid-template-columns: 1fr; gap: 24px; text-align: left; justify-items: start; }
  .services-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
}
