/* ============================================================
   WEB — shaded slate-teal, lit from the top-left (matched to logo v3)
   palette: bg #1E3034 / surface #26393E / teal #5FB4C0 / deep #328A94
            cool light #E8F2F4 / globe silver #B4B4B4 · logo colours only
   depth:   every surface uses --surface-grad + a cool hairline (--edge)
   type: Unbounded (display) · Sora (body) · IBM Plex Mono (labels)
   ============================================================ */

:root {
  --night: #16262A;         /* deepest slate — icon tiles, badges, dark-on-teal text */
  --night-2: #22363A;
  --ink: #26393E;           /* dark surface for secondary buttons / browser chrome */
  --porcelain: #1E3034;     /* page background — deep slate-teal, the logo's field */
  --white: #D5E3E6;         /* the theme's light — cool silver, NO pure white */
  --surface: #26393E;       /* card / panel surface */
  --surface-2: #31494F;     /* elevated surface, chips, hover */
  --cobalt: #7CC7D2;        /* accent on dark — lifted teal for small text */
  --beam: #5FB4C0;          /* logo teal */
  --beam-deep: #328A94;     /* the logo's deep teal — gradient ends, secondary accent */
  --beam-soft: rgba(95, 180, 192, 0.18);
  --silver: #B4B4B4;        /* the logo globe's silver */
  --cream: #E8F2F4;         /* logo highlight — headings */
  --mist: #3C555C;          /* borders on dark */
  --text-dim: #92A9AE;      /* muted slate secondary text */
  --radius: 18px;
  /* shading: every surface is lit from the top-left, slate-teal only */
  --surface-grad: linear-gradient(158deg, #2F464C 0%, #26393E 52%, #213237 100%);
  --surface-grad-hi: linear-gradient(158deg, #395258 0%, #2D4349 52%, #263A3F 100%);
  --edge: rgba(232, 242, 244, 0.09);      /* cool hairline — catches the light */
  --edge-lit: inset 0 1px 0 rgba(232, 242, 244, 0.11);
  --display: 'Unbounded', sans-serif;
  --body: 'Sora', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --ar: 'Aref Ruqaa', serif;
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 12px 30px -12px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  /* ambient cool wash so the page reads as lit charcoal, not flat black */
  background:
    radial-gradient(90% 55% at 82% 4%, rgba(95, 180, 192, 0.07) 0%, transparent 60%),
    radial-gradient(70% 45% at 8% 46%, rgba(95, 180, 192, 0.04) 0%, transparent 65%),
    linear-gradient(180deg, #24383D 0%, var(--porcelain) 32%, #17272B 100%);
  background-attachment: fixed;
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.mono { font-family: var(--mono); }

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

/* ---------- shared bits ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 1.1rem;
}
.eyebrow--light { color: var(--beam); }

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 7rem 2rem 3rem;
}

.section__head { max-width: 640px; margin-bottom: 4rem; }

.section__head h2, .contact h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.section__lede { margin-top: 1.2rem; color: var(--text-dim); font-size: 1.05rem; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  transition: transform 0.25s cubic-bezier(.2,.9,.3,1.3), box-shadow 0.25s ease, background 0.25s ease, color .25s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.98); }
.btn:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }

.btn--gold { background: var(--beam); color: var(--night); box-shadow: 0 8px 24px -8px rgba(95, 180, 192,.55); }
.btn--gold:hover { box-shadow: 0 14px 34px -8px rgba(95, 180, 192,.7); }
.btn--ink { background: linear-gradient(158deg, #395258 0%, #26393E 100%); color: var(--white); box-shadow: inset 0 0 0 1px var(--mist), inset 0 1px 0 rgba(232, 242, 244,.09); }
.btn--ink:hover { background: var(--beam); color: var(--night); box-shadow: none; }
.btn--ghost { border: 1.5px solid rgba(213, 227, 230,.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--beam); color: var(--beam); }
.btn--ghost-light { border: 1.5px solid rgba(213, 227, 230,.35); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--beam); color: var(--beam); }
.btn--whatsapp { background: #22C55E; color: #06230F; }
.btn--whatsapp:hover { box-shadow: 0 14px 34px -10px rgba(34,197,94,.7); }
.btn--small { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.btn__arr { transition: transform .25s ease; }
.btn--gold:hover .btn__arr { transform: translateY(3px); }

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.nav.is-scrolled {
  background: linear-gradient(180deg, rgba(20,34,38,.94), rgba(26,42,46,.86));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--edge), 0 10px 30px -18px rgba(0,0,0,.8);
  padding: 0.75rem 2rem;
}

.nav__logo { display: flex; align-items: center; gap: 0.7rem; }
/* logo lockup, keyed to transparency — sits straight on the charcoal */
.nav__logo-mark {
  width: auto; height: 42px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.55));
}

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn) {
  color: rgba(213, 227, 230,.75);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  transition: color .25s ease;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--beam);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
.nav__links a:not(.btn):hover { color: var(--white); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav__burger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — night harbor with sweeping lighthouse beam
   ============================================================ */

.hero {
  position: relative;
  background: radial-gradient(120% 80% at 72% 68%, #334B51 0%, #22363B 45%, #172A2E 100%);
  color: var(--white);
  overflow: hidden;
}

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

/* wireframe globe — the logo's mark, drawn large and slowly turning */
.hero__scene {
  position: absolute;
  top: 50%; right: -4%;
  translate: 0 -50%;
  width: min(46%, 620px);
  aspect-ratio: 1;
}
.globe { width: 100%; height: 100%; overflow: visible; }
.globe__rim {
  fill: none;
  stroke: var(--silver);
  stroke-opacity: .5;
  stroke-width: 1.4;
}
.globe__line {
  fill: none;
  stroke: var(--beam);
  stroke-opacity: .34;
  stroke-width: 1.2;
}
.globe__body {
  filter: drop-shadow(0 0 42px rgba(95, 180, 192, .18));
  transform-origin: 50% 50%;
  animation: globeTilt 22s ease-in-out infinite alternate;
}
/* three meridians sweeping out of phase reads as rotation */
.globe__mer { animation: meridian 16s linear infinite; }
.globe__mer--1 { animation-delay: 0s; }
.globe__mer--2 { animation-delay: -5.33s; }
.globe__mer--3 { animation-delay: -10.66s; }

@keyframes meridian {
  0%   { rx: 168px; stroke-opacity: .34; }
  25%  { rx: 0px;   stroke-opacity: .12; }
  50%  { rx: 168px; stroke-opacity: .34; }
  75%  { rx: 0px;   stroke-opacity: .12; }
  100% { rx: 168px; stroke-opacity: .34; }
}
@keyframes globeTilt {
  from { rotate: -4deg; }
  to   { rotate: 4deg; }
}
.hero__glow {
  position: absolute;
  right: 12%; top: 34%;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(95, 180, 192,.28), transparent 70%);
  filter: blur(10px);
  animation: contactGlow 6s ease-in-out infinite alternate;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(30,48,52,.92) 4%, rgba(30,48,52,.45) 34%, rgba(30,48,52,0) 60%),
    linear-gradient(180deg, rgba(23,39,43,.45) 0%, rgba(23,39,43,0) 14%);
}

/* keep: still used by .hero__proof-dot */
@keyframes lampPulse {
  0%, 100% { box-shadow: 0 0 24px 8px rgba(95, 180, 192,.8), 0 0 90px 40px rgba(95, 180, 192,.25); }
  50% { box-shadow: 0 0 30px 12px rgba(95, 180, 192,.95), 0 0 120px 55px rgba(95, 180, 192,.35); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10.5rem 2rem 9rem;
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
.hero__copy { max-width: 600px; }

.hero__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
  color: var(--cream);
}
.hero__title-beam {
  background: linear-gradient(100deg, var(--beam) 20%, var(--cream) 40%, var(--beam) 60%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

.hero__sub {
  color: rgba(213, 227, 230, 0.72);
  font-size: 1.08rem;
  max-width: 30rem;
  margin-bottom: 2.2rem;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }

.hero__proof {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: rgba(213, 227, 230,.55);
  letter-spacing: 0.04em;
}
.hero__proof-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 10px 2px rgba(34,197,94,.6);
  animation: lampPulse 3s ease-in-out infinite;
}

/* load-in sequence */
.load-seq {
  opacity: 0;
  transform: translateY(26px);
  animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__copy .load-seq:nth-child(1) { animation-delay: .1s; }
.hero__copy .load-seq:nth-child(2) { animation-delay: .22s; }
.hero__copy .load-seq:nth-child(3) { animation-delay: .38s; }
.hero__copy .load-seq:nth-child(4) { animation-delay: .52s; }
.hero__copy .load-seq:nth-child(5) { animation-delay: .68s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ---------- marquee ---------- */

.marquee {
  position: relative;
  border-top: 1px solid var(--edge);
  padding: 1rem 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16,28,31,.75), rgba(22,36,40,.55));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee__track span {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(213, 227, 230,.55);
  white-space: nowrap;
}
.marquee__track em { color: var(--beam); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SERVICES — two pillars
   ============================================================ */

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.svc {
  position: relative;
  background: var(--surface-grad);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 2.4rem 2.2rem;
  box-shadow: var(--shadow-sm), var(--edge-lit);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.svc:hover { background: var(--surface-grad-hi); }
.svc::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--beam), var(--cream));
}
.svc--care::before { background: linear-gradient(90deg, var(--beam-deep), var(--beam)); }
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.svc__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(158deg, #1E3034 0%, #0F1D20 100%);
  box-shadow: inset 0 1px 0 rgba(95, 180, 192,.16), 0 6px 16px -8px rgba(0,0,0,.7);
  color: var(--beam);
  margin-bottom: 1.4rem;
}
.svc__icon svg { width: 28px; height: 28px; }
.svc__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 0.8rem;
  color: var(--cream);
}
.svc__desc { color: var(--text-dim); margin-bottom: 1.5rem; }
.svc__list { display: grid; gap: 0.7rem; margin-bottom: 1.8rem; }
.svc__list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.95rem;
}
.svc__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--beam);
  transform: rotate(45deg);
}
.svc--care .svc__list li::before { background: var(--beam-deep); }
.svc__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--cobalt);
  transition: gap .25s ease;
}
.svc__link:hover { gap: 0.9rem; }

/* ============================================================
   WORK — live sample frames
   ============================================================ */

.work { padding-bottom: 1rem; }

/* a medium, centred box — the whole site renders inside it, scaled to fit */
.project {
  max-width: 900px;
  margin: 0 auto 6rem;
}

/* caption row above each full-width preview */
.project__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: 1.8rem;
}
.project__intro { max-width: 62ch; }
.project__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.project__num { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 0.9rem; }
.project__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 1rem;
  color: var(--cream);
}
.project__desc { color: var(--text-dim); margin-bottom: 0; }

.chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem; margin-bottom: 0.8rem; }
.chips li {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--mist);
  color: var(--text-dim);
  background: linear-gradient(158deg, #31494F 0%, #26393E 100%);
  transition: border-color .25s ease, color .25s ease, transform .25s ease;
}
.project:hover .chips li { border-color: var(--cobalt); color: var(--cobalt); }
.project:hover .chips li:nth-child(2) { transition-delay: .04s; }
.project:hover .chips li:nth-child(3) { transition-delay: .08s; }
.project:hover .chips li:nth-child(4) { transition-delay: .12s; }

.project__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--cobalt);
  border-bottom: 2px solid transparent;
  transition: gap .25s ease, border-color .25s ease;
}
.project__link:hover { gap: 0.9rem; border-color: var(--cobalt); }
.project__link--soon { color: var(--text-dim); border: 0; font-weight: 600; }

/* browser frame */
.frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-grad);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  transition: box-shadow .4s ease;
}
.frame:hover { box-shadow: 0 40px 100px -24px rgba(0,0,0,.55); }

.frame__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px;
  background: linear-gradient(180deg, #31494F, #26262A);
}
.frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(213, 227, 230,.25); }
.frame__bar i:nth-child(1) { background: #F97066; }
.frame__bar i:nth-child(2) { background: var(--beam); }
.frame__bar i:nth-child(3) { background: #22C55E; }
.frame__url {
  margin-left: 10px;
  flex: 1;
  font-size: 0.72rem;
  color: rgba(213, 227, 230,.6);
  background: rgba(213, 227, 230,.08);
  border-radius: 6px;
  padding: 4px 12px;
  letter-spacing: 0.03em;
}

.frame__view {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #22363B;
  overflow: hidden;
}
/* width/height/scale are set by fitFrames() in app.js so the embedded site
   renders at a real desktop viewport instead of an absurdly wide one */
.frame__view iframe {
  border: 0;
  transform-origin: 0 0;
  pointer-events: none;
  background: var(--surface);
}
.frame.is-live iframe { pointer-events: auto; }

.frame__cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.9rem;
  justify-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55));
  opacity: 1;
  transition: opacity .4s ease, visibility .4s ease;
}
.frame.is-live .frame__cover { opacity: 0; visibility: hidden; }
.frame__play {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--beam);
  color: var(--night);
  font-size: 1.2rem;
  padding-left: 4px;
  box-shadow: 0 12px 34px -8px rgba(95, 180, 192,.8);
  transition: transform .3s cubic-bezier(.2,.9,.3,1.4);
}
.frame__cover:hover .frame__play { transform: scale(1.12); }
.frame__hint {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

/* ============================================================
   STATS
   ============================================================ */

.stats {
  max-width: 1180px;
  margin: 2rem auto 0;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat {
  background: var(--surface-grad);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 2rem 1rem 1.8rem;
  box-shadow: var(--shadow-sm), var(--edge-lit);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), var(--edge-lit); background: var(--surface-grad-hi); }
.stat__n {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--cobalt);
  margin-bottom: 0.3rem;
  font-variant-numeric: tabular-nums;
}
.stat__l { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); }

/* ============================================================
   PACKAGES
   ============================================================ */

.packages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}

.pack {
  position: relative;
  background: var(--surface-grad);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 2.2rem 1.6rem 2rem;
  box-shadow: var(--shadow-sm), var(--edge-lit);
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.pack:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg), var(--edge-lit); background: var(--surface-grad-hi); }

.pack--featured {
  background: linear-gradient(158deg, #22363A 0%, #16262A 55%, #0F1D20 100%);
  color: var(--white);
  border: 1.5px solid rgba(95, 180, 192,.5);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(95, 180, 192,.18);
}
.pack--featured:hover { background: linear-gradient(158deg, #1E3034 0%, #182A2E 55%, #16262A 100%); }
.pack__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--beam);
  color: var(--night);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.pack__tag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 1rem; }
.pack--featured .pack__tag { color: var(--beam); }
.pack__price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: var(--cream);
}
.pack__price span { font-size: 1rem; font-weight: 500; color: var(--text-dim); }
.pack--featured .pack__price span { color: var(--mist); }
.pack__for { font-size: 0.92rem; color: var(--text-dim); margin-bottom: 1.4rem; }
.pack--featured .pack__for { color: rgba(213, 227, 230,.7); }

.pack__list { flex: 1; margin-bottom: 1.8rem; display: grid; gap: 0.65rem; }
.pack__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.92rem;
}
.pack__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cobalt);
  font-weight: 700;
}
.pack--featured .pack__list li::before { color: var(--beam); }
.pack .btn { justify-content: center; }

/* not included on this tier — muted, dash instead of a tick.
   Kept at full opacity: these rows still have to be readable when comparing tiers. */
.pack__list li.is-off { color: var(--text-dim); }
.pack__list li.is-off::before { content: "—"; color: var(--text-dim); font-weight: 500; }
.pack--featured .pack__list li.is-off::before { color: var(--text-dim); }

/* ============================================================
   CARE PLANS — monthly maintenance, 3 tiers
   ============================================================ */

.care__accent { color: var(--beam); }

.care__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}
.care__grid .pack { padding: 2.4rem 1.9rem 2.2rem; }

.care__billed {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: -0.5rem 0 1.1rem;
}
.pack__price sup, .pack__list sup { color: var(--beam); font-size: 0.7em; }

.care__note {
  margin-top: 1.6rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}

/* ============================================================
   PROCESS
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface-grad);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm), var(--edge-lit);
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), var(--edge-lit); background: var(--surface-grad-hi); }
.step__n {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--beam);
  background: linear-gradient(158deg, #1E3034 0%, #0F1D20 100%);
  box-shadow: inset 0 1px 0 rgba(95, 180, 192,.15);
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--cream); }
.step p { font-size: 0.9rem; color: var(--text-dim); }

/* connecting line between steps */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.9rem;
  right: -1.6rem;
  width: 1.6rem;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--mist) 0 6px, transparent 6px 11px);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq { padding-bottom: 6rem; }
.faq__list { max-width: 760px; display: grid; gap: 0.9rem; }

.faq__list details {
  background: var(--surface-grad);
  border: 1px solid var(--edge);
  border-radius: 14px;
  box-shadow: var(--shadow-sm), var(--edge-lit);
  overflow: hidden;
  transition: box-shadow .3s ease, background .3s ease;
}
.faq__list details:hover { background: var(--surface-grad-hi); }
.faq__list details[open] { background: var(--surface-grad-hi); box-shadow: var(--shadow-lg), var(--edge-lit); }
.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  flex: 0 0 22px;
  height: 22px;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  background: var(--cobalt);
  border-radius: 2px;
  transition: rotate .3s ease;
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; }
details[open] .faq__icon::after { rotate: 90deg; }
.faq__link { color: var(--cobalt); border-bottom: 1px solid rgba(124, 199, 210,.4); transition: border-color .2s ease; }
.faq__link:hover { border-color: var(--cobalt); }
.faq__list details p {
  padding: 0 1.5rem 1.3rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* ============================================================
   CONTACT — return to the night
   ============================================================ */

.contact {
  position: relative;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(95, 180, 192,.10) 0%, transparent 65%),
    radial-gradient(120% 90% at 50% 0%, #31494F 0%, #22363B 50%, #1A1A1C 100%);
  border-top: 1px solid var(--edge);
  color: var(--white);
  overflow: hidden;
  text-align: center;
  padding: 7rem 2rem;
}
.contact__beam {
  position: absolute;
  left: 50%; top: -40%;
  width: 900px; height: 900px;
  translate: -50% 0;
  background: radial-gradient(closest-side, var(--beam-soft), transparent 70%);
  animation: contactGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes contactGlow { from { opacity: .6; scale: 1; } to { opacity: 1; scale: 1.15; } }

.contact__inner { position: relative; max-width: 640px; margin: 0 auto; }
.contact h2 { margin-bottom: 1.2rem; }
.contact__sub { color: rgba(213, 227, 230,.7); margin-bottom: 2.4rem; }
.contact__ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 2rem; }
.contact__note { font-size: 0.78rem; color: rgba(213, 227, 230,.45); letter-spacing: 0.08em; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: linear-gradient(180deg, #16262A 0%, #101E21 100%);
  border-top: 1px solid var(--edge);
  color: rgba(213, 227, 230,.6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 2rem;
}
.footer__brand { display: flex; align-items: center; gap: 0.7rem; }
.footer__mark { width: auto; height: 42px; opacity: .9; }
.footer__logo em { font-family: var(--ar); font-style: normal; color: var(--beam); margin-left: 0.4rem; }
.footer__line { font-size: 0.75rem; }
.footer__line b { font-weight: 500; }

/* ============================================================
   SCROLL REVEALS
   ============================================================ */

html.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
html.js .reveal.in { opacity: 1; transform: translateY(0); }

/* stagger siblings */
.packages__grid .reveal:nth-child(2), .steps .reveal:nth-child(2), .services__grid .reveal:nth-child(2), .care__grid .reveal:nth-child(2) { transition-delay: .12s; }
.packages__grid .reveal:nth-child(3), .steps .reveal:nth-child(3), .care__grid .reveal:nth-child(3) { transition-delay: .24s; }
.packages__grid .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .36s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
  .hero__inner { padding-top: 8.5rem; padding-bottom: 6rem; min-height: 78vh; }
  .hero__scene { width: min(62%, 460px); right: -8%; }
  .hero__glow { right: 8%; top: 32%; width: 190px; height: 190px; }
  .project { margin-bottom: 4.5rem; }
  /* taller on phones so the preview shows a real phone screen, not a strip */
  .frame__view { aspect-ratio: 10 / 13; }
  .project__meta { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .project__aside { align-items: flex-start; }
  .chips { justify-content: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .packages__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .care__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .care__note { max-width: 480px; margin-left: auto; margin-right: auto; text-align: center; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
}

@media (max-width: 700px) {
  .section { padding: 4.5rem 1.2rem 2rem; }
  .nav { padding: 0.9rem 1.2rem; }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.4rem;
    background: rgba(26, 26, 28, 0.98);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { font-size: 1.3rem; }
  .nav__burger { display: flex; position: relative; z-index: 110; }
  .hero__scene { width: 86%; right: -18%; top: 30%; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(30,48,52,.55) 0%, rgba(30,48,52,.2) 34%, rgba(23,39,43,.5) 100%),
      linear-gradient(90deg, rgba(30,48,52,.6) 8%, rgba(30,48,52,0) 62%);
  }
  .hero__glow { right: 10%; top: 24%; width: 150px; height: 150px; }
  .steps { grid-template-columns: 1fr; }
  .packages__grid { grid-template-columns: 1fr; max-width: 420px; }
  .care__grid { max-width: 420px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .contact { padding: 5rem 1.2rem; }
  .footer { justify-content: center; text-align: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

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