/* ==========================================================================
   RIGTEL — Offshore VSAT & LEO Satellite Connectivity
   styles.css  |  Static site stylesheet
   Palette derived from logo.png (teal #61AEBD) and hero-back.png (deep navy
   night sky + gold rig lighting + cyan earth rim).
   ========================================================================== */

/* ---------- 1. Design tokens --------------------------------------------- */
:root {
  /* Core surfaces */
  --bg-abyss: #04090f;
  --bg-deep: #070e18;
  --bg-surface: #0c1725;
  --bg-surface-2: #101f31;
  --bg-elevated: #142639;

  /* Brand */
  --brand: #61aebd;
  --brand-light: #82cadb;
  --brand-dark: #3d8394;
  --brand-glow: rgba(97, 174, 189, 0.35);

  /* Secondary accent (rig lighting) */
  --gold: #e9a83c;
  --gold-soft: rgba(233, 168, 60, 0.16);

  /* Text */
  --text: #eef4f8;
  --text-soft: #b7c7d4;
  --text-muted: #8095a6;
  --text-faint: #5d7286;

  /* Lines */
  --line: rgba(133, 174, 196, 0.16);
  --line-strong: rgba(133, 174, 196, 0.32);

  /* Shape */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.75);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.85);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --header-h: 76px; /* clears the 38px logo with even padding */

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.45s;

  /* Type */
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono",
    Menlo, monospace;
}

/* ---------- 2. Reset ------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(0.975rem, 0.93rem + 0.22vw, 1.06rem);
  line-height: 1.7;
  color: var(--text-soft);
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(900px 520px at 82% -8%, rgba(97, 174, 189, 0.14), transparent 62%),
    radial-gradient(720px 420px at 4% 12%, rgba(233, 168, 60, 0.07), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5 {
  margin: 0 0 0.6em;
  color: var(--text);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.018em;
}

h1 { font-size: clamp(2.15rem, 1.35rem + 3.5vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.72rem, 1.25rem + 2.1vw, 2.65rem); }
h3 { font-size: clamp(1.12rem, 1rem + 0.55vw, 1.38rem); }
h4 { font-size: 1.03rem; }

p { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-light); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--text); }

ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: 0.45rem; }

strong { color: var(--text); font-weight: 620; }

hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand); color: #04090f; }

/* ---------- 3. Layout helpers -------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-block: clamp(3.75rem, 2.4rem + 5.4vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
.section--alt { background: linear-gradient(180deg, rgba(12, 23, 37, 0) 0%, rgba(12, 23, 37, 0.85) 18%, rgba(12, 23, 37, 0.85) 82%, rgba(12, 23, 37, 0) 100%); }
.section--panel {
  background: var(--bg-surface);
  border-block: 1px solid var(--line);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--brand);
  color: #04090f;
  padding: 0.75rem 1.25rem;
  font-weight: 640;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* Section heading block */
.sec-head { max-width: 720px; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head p { color: var(--text-muted); font-size: 1.03rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.735rem;
  font-weight: 660;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 0.95rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand));
}
.sec-head--center .eyebrow::before { display: none; }

/* ---------- 4. Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.6rem;
  font-family: inherit;
  font-size: 0.945rem;
  font-weight: 640;
  letter-spacing: 0.005em;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.22s var(--ease), background-color 0.22s ease,
    border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
  color: #04141a;
  box-shadow: 0 12px 28px -12px var(--brand-glow);
}
.btn--primary:hover {
  color: #04141a;
  box-shadow: 0 18px 36px -12px var(--brand-glow);
}

.btn--gold {
  background: linear-gradient(135deg, #f7bd52, var(--gold));
  color: #1a1103;
  box-shadow: 0 12px 28px -12px rgba(233, 168, 60, 0.6);
}
.btn--gold:hover {
  color: #1a1103;
  box-shadow: 0 18px 36px -12px rgba(233, 168, 60, 0.7);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--text);
  background: rgba(10, 18, 30, 0.55);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--brand-light); color: var(--text); background: rgba(97, 174, 189, 0.14); }

.btn--sm { padding: 0.6rem 1.2rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

.btn .ico { width: 17px; height: 17px; flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 620;
  font-size: 0.92rem;
  color: var(--brand-light);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. Header ----------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(6, 12, 20, 0.9);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 38px; width: auto; } /* 152px reduced by 75% */

/* margin-left:auto anchors the menu to the right edge — without the old CTA
   button after it, space-between would otherwise strand it mid-header. */
.nav { display: flex; align-items: center; gap: 0.15rem; margin-left: auto; }
.nav a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.925rem;
  font-weight: 550;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.28rem;
  height: 1.5px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--text); }

.header-cta { display: flex; align-items: center; gap: 0.6rem; flex: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text);
}
.nav-toggle span {
  display: block;
  position: relative;
  width: 19px;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background-color 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Hero ------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 5vw, 4.5rem));
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
/* Hero media: OneWeb constellation video, with hero-back.png as the still
   fallback (shown if the video fails, is blocked, or before it decodes). */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background-color: var(--bg-abyss);
  background-image: url("../../hero-back.png");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Kept sharp — no blur. Readability over the video comes from the scrim
     below plus the text-shadow on the hero copy, not from softening the plate. */
  filter: brightness(0.98) saturate(1.15) contrast(1.06);
  transform: scale(1.03);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 48%, rgba(4, 9, 15, 0.8) 0%, rgba(4, 9, 15, 0.56) 50%, rgba(4, 9, 15, 0) 86%),
    linear-gradient(180deg, rgba(4, 9, 15, 0.9) 0%, rgba(4, 9, 15, 0.3) 24%, rgba(4, 9, 15, 0.45) 72%, var(--bg-deep) 100%);
}

/* On a narrow screen `cover` crops the 934x636 source to a tall slice and blows
   the satellite labels up to an unreadable size behind the copy. Phones get the
   still plate instead — which also saves them a 13 MB download on cellular.
   To run the video on mobile too, delete this block and the matching
   `killVideoOnMobile` guard in main.js. */
@media (max-width: 760px) {
  .hero__video,
  .media-toggle { display: none; }
  .hero__media { background-position: 62% 45%; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(4, 9, 15, 0.9) 0%, rgba(4, 9, 15, 0.6) 22%, rgba(4, 9, 15, 0.66) 70%, var(--bg-deep) 100%);
  }
}

/* Pause/play control — WCAG 2.2.2: auto-playing motion over 5s needs a stop. */
.media-toggle {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text-soft);
  background: rgba(6, 13, 22, 0.6);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.media-toggle:hover { opacity: 1; border-color: var(--brand); color: var(--text); }
.media-toggle svg { width: 15px; height: 15px; }
.media-toggle .ico-pause { display: block; }
.media-toggle .ico-play { display: none; }
.media-toggle[aria-pressed="true"] .ico-pause { display: none; }
.media-toggle[aria-pressed="true"] .ico-play { display: block; }

.hero__inner { max-width: 860px; margin-inline: auto; text-align: center; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.95rem 0.42rem 0.55rem;
  margin-bottom: 1.5rem;
  font-size: 0.79rem;
  font-weight: 580;
  letter-spacing: 0.03em;
  color: var(--text-soft);
  background: rgba(10, 22, 34, 0.72);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}
.hero__badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-light);
  box-shadow: 0 0 0 4px rgba(97, 174, 189, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
  margin-left: 0.35rem;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(97, 174, 189, 0.22); }
  50% { box-shadow: 0 0 0 8px rgba(97, 174, 189, 0); }
}

/* Lift the copy off a sharp moving background without dulling the video.
   The h1 uses drop-shadow, not text-shadow, because "Offshore Ready." is
   gradient-filled text (background-clip) — text-shadow would paint a slab
   behind the transparent glyphs. */
.hero__inner h1 { filter: drop-shadow(0 2px 4px rgba(4, 9, 15, 0.85)) drop-shadow(0 6px 26px rgba(4, 9, 15, 0.7)); }
.hero__tagline,
.hero__lead,
.hero__meta li { text-shadow: 0 1px 3px rgba(4, 9, 15, 0.9), 0 4px 22px rgba(4, 9, 15, 0.85); }

.hero h1 { margin-bottom: 1.15rem; text-wrap: balance; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--brand-light), var(--brand) 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__tagline {
  font-size: clamp(1.06rem, 0.98rem + 0.5vw, 1.35rem);
  font-weight: 400;
  color: var(--brand-light);
  margin-bottom: 1.6rem;
  letter-spacing: 0.005em;
}

.hero__lead {
  font-size: clamp(0.94rem, 0.9rem + 0.28vw, 1.05rem);
  line-height: 1.85;
  color: var(--text-soft);
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 2.2rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.75rem; justify-content: center; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.9rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  max-width: 680px;
  margin-inline: auto;
  list-style: none;
  padding-left: 0;
}
.hero__meta li {
  list-style: none;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.89rem;
  color: var(--text-muted);
}
.hero__meta svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.hero__meta ul { display: contents; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.scroll-cue__line {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, var(--brand), transparent);
  animation: cueDrop 2.2s ease-in-out infinite;
}
@keyframes cueDrop {
  0%, 100% { opacity: 0.25; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ---------- 6b. Stats band ------------------------------------------------ */
.stats {
  background: var(--bg-surface);
  border-block: 1px solid var(--line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem 1rem;
  padding-block: clamp(1.9rem, 1.5rem + 1.6vw, 2.9rem);
  text-align: center;
}
.stat__num {
  display: block;
  font-size: clamp(1.9rem, 1.4rem + 2.1vw, 2.85rem);
  font-weight: 720;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold);
  margin-bottom: 0.6rem;
  font-variant-numeric: tabular-nums;
}
.stat__num .unit { font-size: 0.55em; font-weight: 600; margin-left: 0.06em; }
.stat__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 620;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.5;
}
.stat + .stat { position: relative; }
@media (min-width: 861px) {
  .stat + .stat::before {
    content: "";
    position: absolute;
    left: -0.5rem;
    top: 12%;
    bottom: 12%;
    width: 1px;
    background: var(--line);
  }
}

/* ---------- 6c. Package panel --------------------------------------------- */
.package {
  display: grid;
  /* Offer on the left, orbit video on the right. */
  grid-template-columns: minmax(300px, 1.15fr) minmax(260px, 1fr);
  gap: clamp(1.75rem, 1.3rem + 2.4vw, 3rem);
  align-items: stretch;
  padding: clamp(1.75rem, 1.3rem + 2vw, 2.9rem);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(620px 320px at 12% 8%, rgba(233, 168, 60, 0.1), transparent 62%),
    linear-gradient(145deg, rgba(19, 36, 55, 0.94), rgba(9, 18, 29, 0.96));
}
.package__offer { display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; }

.package__media {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-abyss);
}
.package__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Feather the video into the panel so it doesn't read as a pasted-on box. */
.package__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 78% 78% at 50% 50%, transparent 55%, rgba(9, 18, 29, 0.6) 100%);
}

@media (max-width: 860px) {
  .package { grid-template-columns: 1fr; }
  .package__media { min-height: 260px; order: -1; } /* video first when stacked */
}

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.72rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  font-size: 0.965rem;
  color: var(--text-soft);
}
.check-list svg { width: 17px; height: 17px; flex: none; color: var(--gold); margin-top: 0.32em; }

.price-box {
  text-align: center;
  padding: clamp(1.4rem, 1.1rem + 1.2vw, 2rem) 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(6, 13, 22, 0.6);
}
.price {
  display: block;
  font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.45rem);
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
.price-box .terms { font-size: 0.875rem; color: var(--text-muted); margin: 0 0 0.25rem; }
.price-box .terms:last-of-type { margin-bottom: 1.5rem; }

/* ---------- 6d. Highlight panels (about) ---------------------------------- */
.panel-list { display: grid; gap: 0.8rem; }
.panel {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.2rem;
  font-size: 0.93rem;
  color: var(--text-soft);
  background: linear-gradient(120deg, rgba(19, 36, 55, 0.9), rgba(11, 21, 34, 0.9));
  border: 1px solid var(--line);
  border-left: 2px solid var(--brand);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, background-color 0.3s ease;
}
.panel:hover { transform: translateX(4px); border-left-color: var(--gold); }
.panel svg { width: 18px; height: 18px; flex: none; color: var(--brand-light); margin-top: 0.2em; }

/* ---------- 7. Cards ------------------------------------------------------ */
.grid { display: grid; gap: clamp(1rem, 0.7rem + 1vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  position: relative;
  padding: clamp(1.5rem, 1.2rem + 0.9vw, 2.1rem);
  background: linear-gradient(158deg, rgba(20, 38, 57, 0.9), rgba(10, 20, 32, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-glow), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }

.card h3 { margin-bottom: 0.55rem; }
.card p { color: var(--text-muted); font-size: 0.945rem; margin-bottom: 0; }
.card > * { position: relative; }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.15rem;
  border-radius: var(--radius);
  color: var(--brand-light);
  background: linear-gradient(150deg, rgba(97, 174, 189, 0.2), rgba(97, 174, 189, 0.05));
  border: 1px solid rgba(97, 174, 189, 0.25);
}
.card__icon svg { width: 24px; height: 24px; }
.card__icon--gold {
  color: var(--gold);
  background: linear-gradient(150deg, rgba(233, 168, 60, 0.2), rgba(233, 168, 60, 0.05));
  border-color: rgba(233, 168, 60, 0.28);
}

.card__list { margin: 1.1rem 0 0; padding: 0; list-style: none; }
.card__list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.8;
}

.card--link { display: block; color: inherit; }
.card--link:hover { color: inherit; }
.card--link .link-arrow { margin-top: 1.2rem; }

.card__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 0.9rem;
  display: block;
}

/* Feature row (icon + text, no box) */
.feature { display: flex; gap: 1.05rem; }
.feature__icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--brand-light);
  background: rgba(97, 174, 189, 0.11);
  border: 1px solid rgba(97, 174, 189, 0.2);
}
.feature__icon svg { width: 20px; height: 20px; }
.feature h4 { margin-bottom: 0.3rem; color: var(--text); }
.feature p { font-size: 0.925rem; color: var(--text-muted); margin: 0; }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(2rem, 1.5rem + 3vw, 4.5rem);
  align-items: center;
}
.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.split__media img { width: 100%; }
.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 9, 15, 0) 45%, rgba(4, 9, 15, 0.6));
  pointer-events: none;
}

/* ---------- 8. Comparison table ------------------------------------------ */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(12, 23, 37, 0.72);
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; min-width: 660px; font-size: 0.93rem; }
thead th {
  text-align: left;
  padding: 1.05rem 1.25rem;
  font-size: 0.76rem;
  font-weight: 660;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand-light);
  background: rgba(97, 174, 189, 0.07);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
tbody td, tbody th {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--text-muted);
  text-align: left;
  font-weight: 400;
}
tbody th { color: var(--text); font-weight: 600; white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody tr:hover td, tbody tr:hover th { background: rgba(97, 174, 189, 0.04); }

/* ---------- 9. Steps ------------------------------------------------------ */
.steps { counter-reset: step; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { position: relative; padding-top: 2.4rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.08em;
}
.step::after {
  content: "";
  position: absolute;
  top: 0.72rem;
  left: 2.6rem;
  right: -0.6rem;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.step:last-child::after { display: none; }
.step h4 { margin-bottom: 0.35rem; }
.step p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }

/* ---------- 10. Industries pills ----------------------------------------- */
.pill-grid { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.62rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
  background: rgba(16, 31, 49, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}
.pill:hover { border-color: var(--brand); color: var(--text); transform: translateY(-2px); }
.pill svg { width: 15px; height: 15px; color: var(--brand); }

/* ---------- 11. CTA band -------------------------------------------------- */
.cta-band {
  position: relative;
  padding: clamp(2.5rem, 2rem + 3vw, 4.25rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(97, 174, 189, 0.2), transparent 65%),
    radial-gradient(600px 320px at 92% 110%, rgba(233, 168, 60, 0.14), transparent 62%),
    linear-gradient(140deg, rgba(18, 35, 53, 0.96), rgba(8, 16, 26, 0.98));
  overflow: hidden;
  text-align: center;
}
.cta-band h2 { margin-bottom: 0.7rem; }
.cta-band p { max-width: 620px; margin: 0 auto 1.9rem; color: var(--text-soft); }
.cta-band .hero__actions { justify-content: center; margin-bottom: 0; }

/* ---------- 12. Forms ----------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: flex; flex-direction: column; gap: 0.42rem; }
.field label { font-size: 0.855rem; font-weight: 600; color: var(--text-soft); }
.field label .req { color: var(--gold); margin-left: 2px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--text);
  background: rgba(6, 13, 22, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238095a6' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 16px;
  padding-right: 2.4rem;
  cursor: pointer;
}
.field select option { background: #0c1725; color: var(--text); }

.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(8, 18, 29, 0.95);
  box-shadow: 0 0 0 3px rgba(97, 174, 189, 0.16);
}

.field .error {
  font-size: 0.8rem;
  color: #ff9d8a;
  min-height: 1em;
  display: none;
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #d9705c; box-shadow: 0 0 0 3px rgba(217, 112, 92, 0.14); }
.field.is-invalid .error { display: block; }

.form__note { font-size: 0.83rem; color: var(--text-faint); margin: 0; }

.form-status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border: 1px solid;
}
.form-status.is-visible { display: block; }
.form-status--ok {
  color: #a7e0c9;
  background: rgba(60, 160, 120, 0.12);
  border-color: rgba(90, 190, 150, 0.35);
}
.form-status--warn {
  color: #f0cf95;
  background: var(--gold-soft);
  border-color: rgba(233, 168, 60, 0.35);
}

/* ---------- 13. Accordion ------------------------------------------------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(12, 23, 37, 0.6); }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.acc-trigger:hover { background: rgba(97, 174, 189, 0.05); }
.acc-trigger svg { width: 18px; height: 18px; flex: none; color: var(--brand); transition: transform 0.3s var(--ease); }
.acc-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel.is-open { grid-template-rows: 1fr; }
.acc-panel p { padding: 0 1.35rem 1.3rem; color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* ---------- 14. Placeholder marker (content to be supplied by RIGTEL) ----- */
.ph {
  display: inline-block;
  padding: 0.06em 0.5em;
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px dashed rgba(233, 168, 60, 0.45);
  border-radius: 5px;
}

/* ---------- 15. Footer ---------------------------------------------------- */
.site-footer {
  background: var(--bg-abyss);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 2.4rem + 2.4vw, 4.5rem);
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1.8rem, 1.4rem + 2vw, 3.25rem);
  padding-bottom: 2.75rem;
}
/* `width: auto` matters: the <img> carries width="167" height="95" attributes,
   so setting height alone left the mark stretched to 167px wide. */
.footer-brand img { height: 60px; width: auto; margin-bottom: 1.1rem; } /* 150% of the original 40px */
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); max-width: 320px; }

.footer-col h5 {
  font-size: 0.74rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
  font-weight: 660;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.58rem; }
.footer-col a, .footer-col span { font-size: 0.9rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--brand-light); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
  color: var(--text-faint);
}
.footer-bottom p { margin: 0; }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-muted);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}
.footer-social a:hover { border-color: var(--brand); color: var(--brand-light); transform: translateY(-2px); }
.footer-social svg { width: 15px; height: 15px; }

/* ---------- 16. Page header (inner pages) --------------------------------- */
.page-head {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 5vw, 5rem));
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../../hero-back.png");
  background-size: cover;
  background-position: center 35%;
  opacity: 0.5;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 9, 15, 0.9), rgba(7, 14, 24, 0.94) 70%, var(--bg-deep));
}
.page-head h1 { font-size: clamp(1.95rem, 1.4rem + 2.4vw, 3.05rem); margin-bottom: 0.7rem; }
.page-head p { max-width: 640px; color: var(--text-soft); margin: 0; }

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-bottom: 1rem;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--text-faint); }
.breadcrumb a { color: var(--text-muted); }

/* ---------- 17. Reveal animation ------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 18. Back to top ----------------------------------------------- */
.to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text);
  background: rgba(12, 23, 37, 0.92);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s,
    border-color 0.25s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--brand); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 19. Responsive ------------------------------------------------ */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }


  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem var(--gutter) 1.5rem;
    background: rgba(6, 12, 20, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, transform 0.28s var(--ease), visibility 0.28s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--brand-light); }
  .nav a:last-child { border-bottom: 0; }
  body.nav-open { overflow: hidden; }

  .hero { min-height: auto; }
  .hero__bg { background-position: 62% 45%; }
  .scroll-cue { display: none; }
  .step::after { display: none; }
}

@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero__actions .btn { flex: 1 1 100%; }
  .cta-band .hero__actions .btn { flex: 1 1 auto; }
}

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

/* ---------- 20. Print ----------------------------------------------------- */
@media print {
  .site-header, .to-top, .scroll-cue, .hero__bg, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
