/* ==========================================================================
   SKY TELECOM — Emerald / Mint Theme (Redesign)
   Palette: Deep Forest (#06251c) · Emerald (#059669) · Mint (#34d399)
   Background: Cool White (#f6faf8)
   Font: Plus Jakarta Sans
   ========================================================================== */

:root {
  --bg: #f6faf8;
  --bg-alt: #eafaf2;
  --surface: #ffffff;
  --surface-soft: #f3faf6;
  --ink: #08231b;
  --ink-soft: #1b3b32;
  --muted: #5b7a70;
  --line: #d8ece2;
  --line-soft: #e6f3ec;

  --primary: #059669;
  --primary-dark: #047857;
  --primary-deep: #065f46;
  --primary-soft: #d9f5e8;

  /* legacy token names kept so existing selectors keep working — now emerald family */
  --gold: #10b981;          /* bright emerald accent */
  --gold-dark: #047857;
  --gold-soft: #cdf3e1;

  --sage: #14b8a6;          /* teal */
  --sage-soft: #d2f4ee;

  --rose: #0d9488;          /* deep teal */
  --rose-soft: #d4f1ec;

  --grad-primary: linear-gradient(135deg, #047857 0%, #10b981 100%);
  --grad-gold: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  --grad-card: linear-gradient(180deg, #ffffff 0%, #f1faf5 100%);

  --shadow-sm: 0 4px 16px rgba(6, 78, 59, 0.06);
  --shadow: 0 16px 40px rgba(6, 78, 59, 0.10);
  --shadow-lg: 0 28px 60px rgba(6, 78, 59, 0.18);

  --radius: 24px;
  --font: "Plus Jakarta Sans", "Segoe UI", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  position: relative;
  background:
    radial-gradient(900px 600px at 100% -10%, rgba(16, 185, 129, 0.12), transparent 60%),
    radial-gradient(820px 520px at -10% 8%, rgba(20, 184, 166, 0.10), transparent 60%),
    linear-gradient(180deg, #f6fbf8 0%, #e8f6ef 100%);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Background decoration
   -------------------------------------------------------------------------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.24;
}

.blob-1 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, #059669 0%, transparent 70%);
  top: -140px; left: -140px;
  animation: float 24s ease-in-out infinite;
}

.blob-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #34d399 0%, transparent 70%);
  top: 30%; right: -120px;
  opacity: 0.18;
  animation: float 28s ease-in-out infinite reverse;
}

.blob-3 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #14b8a6 0%, transparent 70%);
  bottom: -120px; left: 40%;
  opacity: 0.16;
  animation: float 32s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.05); }
}

.grid-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(5, 150, 105, 0.05);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(246, 251, 248, 0.82);
  border-bottom: 1px solid rgba(216, 236, 226, 0.8);
  min-height: 76px;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 6px 14px rgba(5, 150, 105, 0.32));
}

.brand-mark svg { width: 100%; height: 100%; }

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}

.brand-copy strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--primary-deep);
}

.brand-copy small {
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--muted);
  font-weight: 700;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.top-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.top-nav a:hover {
  color: var(--primary-dark);
}

.top-nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.cta-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
  border: none;
}

.cta-button {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 12px 26px rgba(5, 150, 105, 0.30), inset 0 1px 0 rgba(255,255,255,0.18);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(5, 150, 105, 0.40);
}

.cta-white {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.cta-white:hover { color: var(--primary-deep); }

.secondary-button {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1.5px solid var(--line);
  backdrop-filter: blur(8px);
}

.secondary-button:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--primary-dark);
  background: #fff;
}

.nav-cta {
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Mobile menu
   -------------------------------------------------------------------------- */
.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker { display: none; }

.mobile-menu summary span {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--primary);
}

.mobile-nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.mobile-nav a:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.grad-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary-dark);
  font-weight: 800;
}

.eyebrow,
.section-tag,
.card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 16px 7px 13px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid rgba(5, 150, 105, 0.16);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 80px 0 70px;
  overflow: hidden;
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.wave-deco {
  position: absolute;
  bottom: -10px; left: 0;
  width: 100%;
  height: 200px;
  opacity: 0.5;
}

.float-shape {
  position: absolute;
  opacity: 0.4;
}

.shape-square {
  top: 18%; left: 6%;
  width: 18px; height: 18px;
  background: var(--gold);
  border-radius: 4px;
  transform: rotate(20deg);
  animation: float-up 9s ease-in-out infinite;
}

.shape-circle {
  bottom: 18%; right: 8%;
  width: 22px; height: 22px;
  background: var(--sage);
  border-radius: 50%;
  animation: float-up 11s ease-in-out infinite reverse;
}

.shape-triangle {
  top: 60%; left: 4%;
  width: 0; height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 18px solid var(--primary);
  opacity: 0.28;
  animation: float-up 13s ease-in-out infinite;
}

@keyframes float-up {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-26px) rotate(180deg); }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 420px);
  gap: 50px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(40px, 5vw, 46px);
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero-text,
.section-copy p,
.section-heading p,
.service-card > p,
.highlight-card > p,
.faq-item > p,
.footer-brand-block p,
.footer-column p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-text {
  max-width: 56ch;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}

.hero-points .check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.32);
}

/* Hero card */
.hero-card {
  position: relative;
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(160deg, #047857 0%, #065f46 100%);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(52, 211, 153, 0.5);
  pointer-events: none;
}

.ring-1 {
  width: 220px; height: 220px;
  top: -60px; right: -60px;
  animation: spin 32s linear infinite;
}

.ring-2 {
  width: 160px; height: 160px;
  bottom: -50px; left: -50px;
  border-color: rgba(255, 255, 255, 0.2);
  animation: spin 24s linear infinite reverse;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-card-inner {
  position: relative;
  padding: 32px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  z-index: 1;
}

.card-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  margin-bottom: 18px;
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.24);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.hero-card h2 {
  font-size: 30px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.hero-card p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.full-width { width: 100%; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--primary-dark);
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid var(--line);
}

.ts-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.signal-graphic {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 18px;
  height: 24px;
}

.signal-graphic span {
  display: block;
  width: 6px;
  border-radius: 2px;
  background: var(--primary);
  animation: pulse-bar 1.6s ease-in-out infinite;
}

.signal-graphic span:nth-child(4),
.signal-graphic span:nth-child(5) {
  background: var(--gold);
}

.signal-graphic span:nth-child(1) { height: 30%; animation-delay: 0s; }
.signal-graphic span:nth-child(2) { height: 50%; animation-delay: 0.15s; }
.signal-graphic span:nth-child(3) { height: 70%; animation-delay: 0.3s; }
.signal-graphic span:nth-child(4) { height: 85%; animation-delay: 0.45s; }
.signal-graphic span:nth-child(5) { height: 100%; animation-delay: 0.6s; }

@keyframes pulse-bar {
  0%, 100% { opacity: 0.4; transform: scaleY(0.85); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* --------------------------------------------------------------------------
   Bento layout (home restructure)
   -------------------------------------------------------------------------- */
.hero-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(0, auto);
  gap: 18px;
  align-items: stretch;
}

.tile-feature {
  grid-column: span 2;
  grid-row: span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.tile-feature::before {
  content: "";
  position: absolute;
  top: -90px; right: -90px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.16), transparent 70%);
  pointer-events: none;
}

.tile-feature > * { position: relative; z-index: 1; }
.hero-bento .tile-feature .eyebrow { margin-bottom: 16px; }
.hero-bento .tile-feature h1 { margin-bottom: 18px; }
.hero-bento .hero-actions { margin-bottom: 24px; }

.hero-bento .hero-card {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.hero-bento .hero-card-inner { height: 100%; }

.hero-bento .bento-metric {
  grid-column: span 1;
  margin: 0;
}

/* Bento services grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(168px, 1fr);
  gap: 18px;
}

.bento-grid .service-card {
  display: flex;
  flex-direction: column;
}

.bento-grid .service-card > p { margin-bottom: 20px; }
.bento-grid .service-button { margin-top: auto; align-self: flex-start; }

.bento-grid .tile-2x2 {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: center;
}

.bento-grid .tile-2x2 .service-icon { width: 68px; height: 68px; margin-bottom: 22px; }
.bento-grid .tile-2x2 h3 { font-size: clamp(26px, 3vw, 34px); }
.bento-grid .tile-2x2 > p { font-size: 17px; max-width: 46ch; }

.service-card.tile-dark {
  background: linear-gradient(160deg, #047857 0%, #065f46 100%);
  border: none;
  color: #fff;
  box-shadow: 0 18px 40px rgba(6, 78, 59, 0.3);
}

.service-card.tile-dark h3 { color: #fff; }
.service-card.tile-dark > p { color: rgba(255, 255, 255, 0.82); }
.service-card.tile-dark .service-icon {
  background: rgba(52, 211, 153, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.34);
}
.service-card.tile-dark .service-button {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.service-card.tile-dark .service-button:hover { background: #fff; color: var(--primary-deep); }
.service-card.tile-dark::after { display: none; }

@media (max-width: 960px) {
  .hero-bento { grid-template-columns: 1fr; }
  .hero-bento .tile-feature,
  .hero-bento .hero-card,
  .hero-bento .bento-metric { grid-column: auto; grid-row: auto; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-grid .tile-2x2 { grid-column: auto; grid-row: auto; }
}

@media (min-width: 961px) and (max-width: 1080px) {
  .tile-feature { padding: 34px; }
}

/* --------------------------------------------------------------------------
   Metrics (base card style — now used as bento tiles)
   -------------------------------------------------------------------------- */
.metrics-section { padding-bottom: 50px; }

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

.metric-card {
  position: relative;
  padding: 28px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.metric-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--grad-gold);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.metric-card:hover::before { opacity: 1; }

.metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.icon-violet { background: var(--primary-soft); color: var(--primary-dark); border: 1px solid rgba(5,150,105,0.16); }
.icon-cyan { background: var(--sage-soft); color: var(--sage); border: 1px solid rgba(20,184,166,0.2); }
.icon-pink { background: var(--rose-soft); color: var(--rose); border: 1px solid rgba(13,148,136,0.2); }
.icon-amber { background: var(--gold-soft); color: var(--gold-dark); border: 1px solid rgba(16,185,129,0.24); }

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.metric-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Sections shared
   -------------------------------------------------------------------------- */
.about-section,
.services-section,
.highlight-section,
.faq-section,
.funding-section,
.how-section {
  position: relative;
  padding: 72px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

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

.section-heading.center .section-tag,
.section-heading.center .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.narrow { max-width: 600px; }

.section-copy h2,
.section-heading h2,
.highlight-card h2,
.highlight-card h3 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

/* --------------------------------------------------------------------------
   About — illustration panel
   -------------------------------------------------------------------------- */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 48px;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px dashed var(--line);
}

.stat strong {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.stat span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.image-panel {
  position: relative;
  min-height: 480px;
}

.art-panel {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 28px;
  background: linear-gradient(160deg, #d6f3e5 0%, #bfeeda 100%);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.art-blob {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.34), transparent 70%);
  top: -60px; left: -60px;
  filter: blur(20px);
}

.art-blob-2 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.34), transparent 70%);
  top: auto; left: auto;
  bottom: -50px; right: -50px;
}

.art-phone {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  width: 220px;
  height: 360px;
  filter: drop-shadow(0 24px 40px rgba(6, 78, 59, 0.3));
}

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(6, 78, 59, 0.16);
  border: 1px solid var(--line);
  z-index: 2;
}

.float-badge div { display: flex; flex-direction: column; line-height: 1.2; }

.float-badge strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.float-badge small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.badge-speed {
  top: 30px;
  right: 20px;
  color: var(--gold-dark);
  animation: float-up 6s ease-in-out infinite;
}

.badge-signal {
  bottom: 30px;
  left: 20px;
  color: var(--sage);
  animation: float-up 7s ease-in-out infinite reverse;
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */
.how-section {
  background:
    linear-gradient(180deg, transparent 0%, rgba(217, 245, 232, 0.6) 50%, transparent 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}

.steps-grid::before {
  content: "";
  position: absolute;
  top: 56px;
  left: 12%;
  right: 12%;
  height: 2px;
  background-image: linear-gradient(to right, var(--primary) 50%, transparent 50%);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  opacity: 0.4;
  z-index: 0;
}

.step-card {
  position: relative;
  padding: 32px 26px 28px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  z-index: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.step-number {
  position: absolute;
  top: 14px;
  right: 22px;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
  opacity: 0.34;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--grad-primary);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 12px 24px rgba(5, 150, 105, 0.3);
}

.step-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.services-section {
  position: relative;
}

.services-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.dot-cluster {
  position: absolute;
  top: 80px;
  right: 20px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--primary) 1.2px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.14;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  padding: 30px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  top: -2px; right: -2px;
  width: 80px; height: 80px;
  background: var(--gold);
  border-radius: 0 24px 0 80px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(5, 150, 105, 0.22);
}

.service-card:hover::after { opacity: 0.12; }

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.service-card > p {
  margin: 0 0 20px;
}

.service-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(5, 150, 105, 0.18);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.service-button:hover {
  background: var(--primary);
  color: #fff;
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Highlight
   -------------------------------------------------------------------------- */
.highlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 400px);
  gap: 22px;
}

.highlight-card {
  position: relative;
  padding: 38px;
  border-radius: 28px;
  overflow: hidden;
}

.highlight-card.soft {
  background: var(--grad-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.highlight-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.highlight-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: inset 0 0 0 4px #fff;
}

.highlight-list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.accent-card {
  background: linear-gradient(160deg, #047857 0%, #065f46 100%);
  color: #fff;
  box-shadow: 0 24px 50px rgba(6, 78, 59, 0.34);
}

.accent-card h3,
.accent-card p { color: #fff; }

.accent-card .section-tag {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.ac-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.26);
}

.ac-shape-1 { width: 180px; height: 180px; top: -60px; right: -60px; }
.ac-shape-2 { width: 100px; height: 100px; bottom: 40px; left: -40px; background: rgba(255, 255, 255, 0.08); }
.ac-shape-3 {
  width: 40px; height: 40px; top: 30px; left: 40px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.3);
  transform: rotate(28deg);
}

.ac-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(52, 211, 153, 0.2);
  color: #6ee7b7;
  margin-bottom: 18px;
  z-index: 1;
  border: 1px solid rgba(52, 211, 153, 0.34);
}

.accent-card > * { position: relative; z-index: 1; }

.accent-card .cta-button.cta-white {
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.faq-item {
  position: relative;
  padding: 30px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  margin-bottom: 14px;
  border: 1px solid rgba(16, 185, 129, 0.24);
}

.faq-item h3 {
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   Disclaimer
   -------------------------------------------------------------------------- */
.funding-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.disclaimer-card {
  padding: 38px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.disclaimer-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.disclaimer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--rose-soft);
  color: var(--rose);
  border: 1px solid rgba(13, 148, 136, 0.24);
  flex-shrink: 0;
}

.disclaimer-card h2 {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.15;
  margin-bottom: 0;
}

.disclaimer-card p {
  color: var(--muted);
  font-size: 10px;
  margin: 0 0 10px;
}

.disclaimer-card p:last-child { margin: 0; }

/* --------------------------------------------------------------------------
   Contact / Footer
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 72px 0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 16px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-ic {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-text a,
.contact-text > span:last-child {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.contact-text a:hover {
  color: var(--primary-dark);
}

.site-footer {
  position: relative;
  padding: 56px 0 36px;
  background: linear-gradient(180deg, #06251c 0%, #065f46 100%);
  color: #c5ddd2;
  overflow: hidden;
  margin-top: 40px;
}

.footer-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob-footer {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.32), transparent 70%);
  filter: blur(80px);
  top: -180px; right: -100px;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(180px, 1fr));
  gap: 36px;
  align-items: start;
}

.footer-brand-block .brand-copy strong {
  color: #ffffff;
}

.footer-brand-block .brand-copy small { color: #8fb3a4; }

.footer-brand-block p {
  margin: 14px 0 0;
  color: #9cbcae;
  font-size: 15px;
  line-height: 1.7;
}

.footer-column { display: grid; gap: 10px; }

.footer-column h3 {
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: #9cbcae;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-column a:hover { color: #6ee7b7; }

.footer-brand { margin-bottom: 4px; }

/* --------------------------------------------------------------------------
   Sticky call button
   -------------------------------------------------------------------------- */
.sticky-call-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--grad-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(5, 150, 105, 0.4);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.sticky-call-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(5, 150, 105, 0.5);
}

/* --------------------------------------------------------------------------
   Policy pages (privacy / terms)
   -------------------------------------------------------------------------- */
.policy-hero { padding: 72px 0 24px; }

.policy-hero h1 {
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1.02;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.policy-intro {
  max-width: 72ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.policy-section { padding: 12px 0 64px; }

.policy-card {
  padding: 36px;
  background: var(--grad-card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.policy-block + .policy-block {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px dashed var(--line);
}

.policy-block h2 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  margin-bottom: 12px;
}

.policy-block p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.policy-list {
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--muted);
}

.policy-list li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.text-link {
  color: var(--primary-dark);
  font-weight: 600;
  border-bottom: 1px solid rgba(5, 150, 105, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: var(--sage);
  border-color: var(--sage);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .top-nav { display: none; }
  .mobile-menu { display: block; }

  .hero-grid,
  .split-grid,
  .highlight-grid,
  .footer-grid,
  .funding-grid,
  .faq-grid,
  .metrics-grid,
  .service-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid::before { display: none; }

  .image-panel { min-height: 380px; }
  .art-panel { height: 400px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1180px); }

  .hero-section { padding: 50px 0 40px; }
  .about-section,
  .services-section,
  .highlight-section,
  .faq-section,
  .funding-section,
  .how-section { padding: 50px 0; }

  .brand-copy strong { font-size: 18px; }
  .brand-copy small { font-size: 9px; }
  .brand-mark { width: 34px; height: 34px; }

  .header-actions { margin-left: auto; }

  .nav-cta {
    padding: 8px 14px;
    min-height: 40px;
    font-size: 12px;
  }

  .nav-cta svg { display: none; }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-card h2 { font-size: 26px; }

  .service-card,
  .faq-item,
  .metric-card,
  .step-card,
  .highlight-card,
  .hero-card-inner,
  .policy-card,
  .disclaimer-card {
    padding: 24px;
  }

  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat strong { font-size: 24px; }

  .float-badge { padding: 8px 12px; }
  .badge-speed { top: 16px; right: 12px; }
  .badge-signal { bottom: 16px; left: 12px; }

  .sticky-call-button {
    right: 12px;
    left: 12px;
    bottom: 12px;
    min-height: 52px;
    padding: 14px 18px;
    justify-content: center;
  }

  .disclaimer-head { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   Welcome popup (broadband & phone deals)
   -------------------------------------------------------------------------- */
body.popup-open {
  overflow: hidden;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 37, 28, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow-y: auto;
}

.popup-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.popup-card {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 40px);
  padding: 34px;
  border: 1px solid rgba(216, 236, 226, 0.95);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.18), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f1faf5 100%);
  box-shadow: 0 30px 74px rgba(6, 37, 28, 0.28);
  overflow-y: auto;
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #e2f5ec;
  color: #06251c;
  font-size: 18px;
  cursor: pointer;
}

.popup-label {
  margin: 0 0 10px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.popup-card h2 {
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.05;
  margin: 0 0 14px;
}

.popup-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.popup-keywords {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.popup-keywords li {
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.popup-dismiss {
  cursor: pointer;
}

@media (max-width: 520px) {
  .popup-card {
    padding: 26px 20px;
  }
  .popup-keywords {
    grid-template-columns: 1fr;
  }
}
