/* ============================================================
   WAVY SITES 3.1 — PREMIUM DESIGN SYSTEM
   Dark/ocean identity · cyan/mint/gold palette
   Fluid type · glass surfaces · micro-interactions
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Ocean depths — navy from the wordmark */
  --bg: #061229;
  --bg-2: #0a1d3a;
  --panel: #0e2547;
  --panel-2: #123058;

  /* Text on dark */
  --text: #f7fbff;
  --muted: #b9c9d9;
  --muted-2: #6f8399;
  --line: rgba(255, 255, 255, 0.12);

  /* Brand — sampled from the 2026 wave logos */
  --brand: #1490c0;
  --brand-2: #25d4b4;
  --gold: #8bc53f;
  --white: #ffffff;

  /* Light surfaces */
  --surface: #ffffff;
  --surface-muted: #f3f8fb;
  --ink: #0e2547;
  --ink-muted: #46587a;
  --ink-soft: rgba(6, 16, 29, 0.08);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  --grad-dark: linear-gradient(150deg, #061229 0%, #0c2450 48%, #05101f 100%);
  --grad-card: linear-gradient(180deg, #ffffff 0%, #f4fafd 100%);

  /* Elevation */
  --shadow-xs: 0 2px 10px rgba(3, 17, 35, 0.06);
  --shadow-sm: 0 10px 30px rgba(3, 17, 35, 0.08);
  --shadow: 0 24px 80px rgba(3, 17, 35, 0.16);
  --shadow-dark: 0 24px 90px rgba(0, 0, 0, 0.38);
  --glow-brand: 0 16px 44px rgba(20, 144, 192, 0.28);

  /* Shape */
  --radius: 28px;
  --radius-sm: 18px;
  --radius-xs: 12px;
  --container: 1180px;

  /* Type */
  --font-display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 0.28s;
}

/* ---------- 2. RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
}

::selection {
  background: rgba(20, 144, 192, 0.35);
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 6px;
}

/* ---------- 3. TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.85rem, 6.4vw, 5.6rem);
  max-width: 950px;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2.05rem, 4vw, 3.8rem);
  margin-bottom: 18px;
}

h3 {
  font-size: clamp(1.24rem, 1.9vw, 1.6rem);
  margin-bottom: 12px;
}

p {
  color: var(--ink-muted);
}

.grad-text {
  background: linear-gradient(120deg, var(--brand) 10%, var(--brand-2) 55%, var(--gold) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: #0d7fa1;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: var(--grad-brand);
}

.section-dark .eyebrow,
.cta-band .eyebrow {
  color: var(--brand-2);
}

.large-text,
.section-heading p {
  font-size: 1.12rem;
}

/* ---------- 4. LAYOUT PRIMITIVES ---------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(76px, 10vw, 116px) 0;
  position: relative;
}

.section-dark {
  background:
    radial-gradient(1100px 500px at 15% -10%, rgba(20, 144, 192, 0.16), transparent 60%),
    radial-gradient(900px 420px at 88% 8%, rgba(139, 197, 63, 0.1), transparent 55%),
    var(--grad-dark);
  color: var(--text);
}

.section-dark p,
.section-dark .large-text,
.section-dark .hero-lede,
.section-dark li {
  color: var(--muted);
}

.section-muted {
  background:
    radial-gradient(900px 400px at 18% 0%, rgba(20, 144, 192, 0.1), transparent 55%),
    var(--surface-muted);
}

.section-heading {
  max-width: 800px;
  margin-bottom: clamp(38px, 5vw, 56px);
}

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

/* Wave section dividers */
.wave-divider {
  display: block;
  width: 100%;
  height: clamp(48px, 8vw, 110px);
  margin-bottom: -1px;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
}

/* ---------- 5. SKIP LINK & PROGRESS ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  background: var(--brand);
  color: #03111e;
  padding: 10px 16px;
  border-radius: 999px;
  transform: translateY(-180%);
  z-index: 1200;
  font-weight: 800;
  transition: transform 0.2s var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--grad-brand);
  z-index: 1100;
  pointer-events: none;
}

/* ---------- 6. HEADER & NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(6, 18, 41, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) ease, border-color var(--dur) ease, box-shadow var(--dur) ease;
}

.site-header.is-scrolled {
  background: rgba(6, 18, 41, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.28);
}

.nav-shell {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  min-width: max-content;
}

.brand img {
  width: auto;
  height: 44px;
  filter: drop-shadow(0 6px 16px rgba(20, 144, 192, 0.35));
  transition: transform var(--dur) var(--ease-spring);
}

.brand:hover img {
  transform: rotate(-4deg) scale(1.06);
}

.brand strong,
.brand small {
  display: block;
  font-family: var(--font-display);
}

.brand strong {
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
  margin-top: -1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  color: rgba(247, 251, 255, 0.85);
  font-weight: 650;
  font-size: 0.93rem;
  padding: 10px 13px;
  border-radius: 999px;
  transition: background var(--dur) ease, color var(--dur) ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.main-nav a.is-active:not(.nav-cta) {
  color: var(--brand-2);
  background: rgba(37, 212, 180, 0.08);
}

.main-nav .nav-cta {
  margin-left: 6px;
  background: var(--grad-brand);
  color: #03121f;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(20, 144, 192, 0.24);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) ease;
}

.main-nav .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-brand);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 10px;
  cursor: pointer;
  transition: background var(--dur) ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- 7. BUTTONS ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) ease, background var(--dur) ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: var(--grad-brand);
  color: #03111e;
  box-shadow: 0 16px 40px rgba(20, 144, 192, 0.26);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.6s var(--ease-out);
}

.btn-primary:hover::after {
  transform: translateX(110%);
}

.btn-primary:hover {
  box-shadow: var(--glow-brand);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
}

.section:not(.section-dark) .btn-secondary,
.package-card .btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}

.section:not(.section-dark) .btn-secondary:hover,
.package-card .btn-secondary:hover {
  border-color: rgba(20, 144, 192, 0.5);
  box-shadow: 0 14px 35px rgba(20, 144, 192, 0.16);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #047e9d;
  font-weight: 800;
  border-bottom: 2px solid rgba(4, 126, 157, 0.22);
  transition: gap var(--dur) ease, border-color var(--dur) ease;
}

.text-link:hover {
  gap: 12px;
  border-color: rgba(4, 126, 157, 0.6);
}

/* ---------- 8. HERO ---------- */
.hero {
  position: relative;
  overflow: clip;
  padding: clamp(70px, 9vw, 104px) 0 0;
}

/* Aurora backdrop */
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(620px 420px at 12% 18%, rgba(20, 144, 192, 0.2), transparent 60%),
    radial-gradient(560px 400px at 85% 12%, rgba(37, 212, 180, 0.13), transparent 60%),
    radial-gradient(500px 360px at 70% 78%, rgba(139, 197, 63, 0.09), transparent 60%);
  animation: aurora 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes aurora {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(2%, -3%, 0) scale(1.06); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.02); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(64px, 8vw, 96px);
}

.hero-lede {
  font-size: clamp(1.05rem, 1.9vw, 1.26rem);
  max-width: 720px;
  margin-bottom: 32px;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  font-weight: 700;
  font-size: 0.88rem;
  backdrop-filter: blur(6px);
}

.hero-proof span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--grad-brand);
  box-shadow: 0 0 10px rgba(20, 144, 192, 0.8);
}

/* Hero stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-stats article {
  min-width: 120px;
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

/* Hero visual card */
.hero-card {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 46px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(16px);
  z-index: -1;
}

.hero-logo {
  width: min(84%, 470px);
  filter:
    drop-shadow(0 26px 46px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 44px rgba(20, 144, 192, 0.3));
  animation: heroFloat 7s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  opacity: 0.8;
  z-index: -1;
}

.orb-one {
  width: 220px;
  height: 220px;
  left: -10px;
  top: 40px;
  background: radial-gradient(circle at 35% 35%, rgba(20, 144, 192, 0.4), rgba(20, 144, 192, 0.08));
  animation: orbDrift 12s ease-in-out infinite alternate;
}

.orb-two {
  width: 170px;
  height: 170px;
  right: -6px;
  bottom: 84px;
  background: radial-gradient(circle at 40% 35%, rgba(139, 197, 63, 0.32), rgba(139, 197, 63, 0.05));
  animation: orbDrift 15s ease-in-out infinite alternate-reverse;
}

@keyframes orbDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(18px, -22px) scale(1.1); }
}

.system-card {
  position: absolute;
  right: 0;
  bottom: 30px;
  width: min(92%, 360px);
  padding: 24px;
  border-radius: 24px;
  background: rgba(6, 18, 41, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(18px);
}

.system-label {
  display: block;
  color: var(--brand-2);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin-bottom: 8px;
}

.system-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.24rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.system-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ---------- 9. TRUST STRIP ---------- */
.trust-strip {
  padding: 0;
  transform: translateY(-52px);
  margin-bottom: -52px;
  position: relative;
  z-index: 5;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  border: 1px solid var(--ink-soft);
}

.trust-grid article {
  padding: 22px;
  border-radius: 20px;
  background: var(--grad-card);
  border: 1px solid transparent;
  transition: border-color var(--dur) ease, transform var(--dur) var(--ease-out);
}

.trust-grid article:hover {
  border-color: rgba(20, 144, 192, 0.35);
  transform: translateY(-3px);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  font-family: var(--font-display);
  font-size: 0.99rem;
  color: var(--ink);
}

.trust-grid span {
  color: var(--ink-muted);
  margin-top: 4px;
  font-size: 0.92rem;
}

/* ---------- 10. SERVICE CARDS ---------- */
.cards,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--grad-card);
  border: 1px solid var(--ink-soft);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease, border-color var(--dur) ease;
}

.card:hover,
.project-card:hover,
.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 70px rgba(3, 17, 35, 0.14);
}

.card:hover {
  border-color: rgba(20, 144, 192, 0.4);
}

.card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  right: -58px;
  top: -58px;
  background: radial-gradient(circle, rgba(20, 144, 192, 0.16), transparent 70%);
  transition: transform 0.45s var(--ease-out);
}

.card:hover::after {
  transform: scale(1.6);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e6faff, #dcfef5);
  color: #06758e;
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 26px;
  border: 1px solid rgba(20, 144, 192, 0.2);
}

.card p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

/* ---------- 11. SPLIT / SYSTEM LIST ---------- */
.split-grid,
.cta-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(36px, 5vw, 56px);
  align-items: start;
}

.system-list {
  display: grid;
  gap: 14px;
}

.system-list article {
  display: grid;
  gap: 4px;
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--ink-soft);
  box-shadow: var(--shadow-xs);
  border-left: 4px solid transparent;
  transition: border-color var(--dur) ease, transform var(--dur) var(--ease-out), box-shadow var(--dur) ease;
}

.system-list article:hover {
  border-left-color: var(--brand);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.system-list span {
  justify-self: start;
  display: inline-flex;
  color: #06758e;
  background: #e8faff;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.system-list p {
  margin-bottom: 0;
}

/* ---------- 12. PORTFOLIO ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--ink-soft);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease, border-color var(--dur) ease;
}

.project-card:hover {
  border-color: rgba(20, 144, 192, 0.36);
}

.project-card img,
.project-placeholder {
  width: 128px;
  height: 128px;
  border-radius: 26px;
  object-fit: cover;
  background: #eef7fb;
  border: 1px solid var(--ink-soft);
  transition: transform 0.4s var(--ease-out);
}

.project-card:hover img {
  transform: scale(1.06) rotate(-1.5deg);
}

.project-placeholder {
  display: grid;
  place-items: center;
  color: #07839f;
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #eef7fb, #e2f7f1);
}

.project-card span {
  color: #06758e;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.74rem;
}

.project-card h3 {
  margin: 8px 0;
}

.project-card p {
  margin-bottom: 14px;
  font-size: 0.97rem;
}

.project-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #035f7a;
  font-weight: 800;
  transition: gap var(--dur) ease, color var(--dur) ease;
}

.project-card a:hover {
  gap: 12px;
  color: #06758e;
}

/* ---------- 13. CTA BAND ---------- */
.cta-band {
  padding: clamp(64px, 8vw, 88px) 0;
}

.cta-panel {
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(12px);
}

.cta-panel strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 16px;
  font-size: 1.22rem;
}

.cta-panel ul,
.package-card ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.cta-panel li,
.package-card li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}

.cta-panel li::before,
.package-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--grad-brand);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}

/* ---------- 14. PROCESS TIMELINE ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}

.timeline-item {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--ink-soft);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease, border-color var(--dur) ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
  border-color: rgba(20, 144, 192, 0.4);
  box-shadow: var(--shadow-sm);
}

.timeline-item span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--grad-dark);
  color: var(--brand-2);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 22px;
  box-shadow: 0 8px 22px rgba(6, 18, 41, 0.22);
}

.timeline-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ---------- 15. PACKAGES ---------- */
.package-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
}

.package-card {
  display: flex;
  flex-direction: column;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--ink-soft);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease;
}

.package-card.featured {
  background:
    radial-gradient(500px 300px at 90% -10%, rgba(20, 144, 192, 0.16), transparent 60%),
    linear-gradient(150deg, #0a1d3a, #123058);
  color: var(--text);
  border: 1px solid rgba(20, 144, 192, 0.32);
  box-shadow: 0 30px 80px rgba(4, 22, 39, 0.35);
}

.package-card > span {
  align-self: flex-start;
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  background: #e8faff;
  color: #06758e;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.package-card.featured > span {
  background: var(--grad-brand);
  color: #03121f;
}

.package-card.featured p,
.package-card.featured li {
  color: var(--muted);
}

.package-card ul {
  margin: 22px 0 28px;
  flex-grow: 1;
}

.package-card .btn {
  align-self: stretch;
}

/* ---------- 16. FAQ ---------- */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--ink-soft);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}

.faq-list details[open] {
  border-color: rgba(20, 144, 192, 0.4);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  transition: color var(--dur) ease;
}

.faq-list summary:hover {
  color: #06758e;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round"><path d="m6 9 6 6 6-6"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round"><path d="m6 9 6 6 6-6"/></svg>') center / contain no-repeat;
  color: #06758e;
  transition: transform 0.3s var(--ease-out);
}

.faq-list details[open] summary::after {
  transform: rotate(180deg);
}

.faq-list details p {
  padding: 0 24px 24px;
  margin-bottom: 0;
}

/* ---------- 17. CONTACT ---------- */
.contact-section {
  background:
    radial-gradient(800px 400px at 85% 10%, rgba(20, 144, 192, 0.12), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #eef8fc 100%);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.14fr);
}

.contact-notes {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-notes article {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--ink-soft);
  backdrop-filter: blur(6px);
}

.contact-notes strong,
.contact-notes span {
  display: block;
}

.contact-notes strong {
  margin-bottom: 4px;
  font-family: var(--font-display);
}

.contact-notes span {
  color: var(--ink-muted);
  font-size: 0.96rem;
}

.contact-form {
  padding: clamp(24px, 3.4vw, 36px);
  border-radius: 34px;
  background: #ffffff;
  border: 1px solid var(--ink-soft);
  box-shadow: var(--shadow);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-row {
  margin-bottom: 18px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

input,
select,
textarea {
  border: 1px solid rgba(6, 16, 29, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  background: #f9fcfe;
  color: var(--ink);
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease, background var(--dur) ease;
}

textarea {
  resize: vertical;
  min-height: 130px;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(6, 16, 29, 0.26);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: rgba(20, 144, 192, 0.75);
  box-shadow: 0 0 0 4px rgba(20, 144, 192, 0.15);
}

.form-button {
  width: 100%;
  border: 0;
}

.form-button.is-sending {
  opacity: 0.75;
  pointer-events: none;
}

.form-note {
  margin: 16px 0 0;
  font-size: 0.88rem;
  text-align: center;
}

/* ---------- 18. FOOTER ---------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(20, 144, 192, 0.08), transparent 60%),
    #05101f;
  color: var(--text);
  padding: 68px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-wordmark {
  width: min(100%, 280px);
  height: auto;
  filter: drop-shadow(0 8px 22px rgba(20, 144, 192, 0.2));
  transition: transform var(--dur) var(--ease-out);
}

.footer-brand:hover .footer-wordmark {
  transform: translateY(-2px);
}

.site-footer p,
.site-footer small,
.site-footer span,
.site-footer a {
  color: var(--muted);
}

.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 10px;
  transition: color var(--dur) ease, transform var(--dur) ease;
}

.site-footer a:hover {
  color: var(--brand-2);
  transform: translateX(3px);
}

.footer-heading {
  font-size: 0.98rem;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 42px;
}

.footer-bottom a:hover {
  transform: none;
}

/* ---------- 19. MOBILE CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 998;
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.mobile-cta.is-hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  background: var(--grad-brand);
  color: #03111e;
  font-weight: 800;
  font-family: var(--font-display);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

/* ---------- 20. REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.09s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.27s; }

/* ---------- 21. ROADMAP PAGE ---------- */
.roadmap-hero {
  position: relative;
  overflow: clip;
  padding: clamp(64px, 9vw, 92px) 0 clamp(120px, 16vw, 170px);
}

.roadmap-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.roadmap-sidebar {
  position: sticky;
  top: 108px;
  padding: 22px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--ink-soft);
  box-shadow: var(--shadow-xs);
}

.roadmap-sidebar h2 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.roadmap-sidebar a {
  display: block;
  color: var(--ink-muted);
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color var(--dur) ease, background var(--dur) ease;
}

.roadmap-sidebar a:hover,
.roadmap-sidebar a.is-active {
  color: #06758e;
  background: #e8faff;
}

.roadmap-section {
  padding: clamp(26px, 4vw, 38px);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--ink-soft);
  box-shadow: var(--shadow-xs);
  margin-bottom: 18px;
  scroll-margin-top: 110px;
}

.roadmap-section h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.check-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  background: #f4f9fc;
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  transition: border-color var(--dur) ease, background var(--dur) ease;
}

.check-item:hover {
  border-color: rgba(20, 144, 192, 0.35);
  background: #eefaff;
}

.check-item::before {
  content: "";
  flex-shrink: 0;
  margin-top: 3px;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--grad-brand);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / contain no-repeat;
}

/* ---------- 22. UTILITY PAGES (thank-you / 404) ---------- */
.utility-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 48px 0;
  position: relative;
  overflow: clip;
}

.utility-page::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(600px 400px at 20% 25%, rgba(20, 144, 192, 0.18), transparent 60%),
    radial-gradient(520px 380px at 80% 70%, rgba(139, 197, 63, 0.1), transparent 60%);
  animation: aurora 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.utility-inner {
  position: relative;
  max-width: 760px;
  text-align: center;
}

.utility-inner .eyebrow {
  justify-content: center;
}

.utility-inner h1 {
  font-size: clamp(2.3rem, 6.4vw, 4.6rem);
  margin-inline: auto;
}

.utility-inner .hero-lede {
  margin-inline: auto;
}

.utility-inner .hero-actions {
  justify-content: center;
}

.utility-logo {
  margin: 0 auto 26px;
  filter:
    drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 32px rgba(20, 144, 192, 0.28));
  animation: heroFloat 7s ease-in-out infinite;
}

/* ---------- 23. RESPONSIVE ---------- */
@media (max-width: 1040px) {
  .hero-grid,
  .split-grid,
  .cta-grid,
  .contact-grid,
  .roadmap-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 460px;
  }

  .trust-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .roadmap-sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 86px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(6, 18, 41, 0.97);
    backdrop-filter: blur(24px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-dark);
    transform: translateY(-14px) scale(0.98);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .main-nav a {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .main-nav .nav-cta {
    margin-left: 0;
    margin-top: 6px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-stats {
    gap: 24px;
  }

  .portfolio-grid,
  .package-grid,
  .cards,
  .service-grid,
  .trust-grid,
  .timeline,
  .footer-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-template-columns: 92px 1fr;
    padding: 18px;
  }

  .project-card img,
  .project-placeholder {
    width: 92px;
    height: 92px;
    border-radius: 20px;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .mobile-cta {
    display: block;
  }

  .site-footer {
    padding-bottom: 96px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand span {
    display: none;
  }

  .nav-shell {
    min-height: 70px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  .hero-card {
    min-height: 390px;
  }

  .hero-card::before {
    inset: 14px;
    border-radius: 34px;
  }

  .hero-logo {
    width: 82%;
  }

  .system-card {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 14px;
    padding: 18px;
  }

  .trust-grid,
  .contact-form,
  .package-card,
  .roadmap-section {
    padding: 20px;
    border-radius: 24px;
  }

  .card {
    padding: 24px;
    min-height: auto;
  }

  .hero-actions .btn,
  .btn {
    width: 100%;
  }

  .footer-bottom {
    display: grid;
    text-align: center;
  }
}

/* ---------- 24. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-logo,
  .utility-logo,
  .orb,
  .hero::before,
  .utility-page::before {
    animation: none;
  }
}
