/* ==========================================================================
   KORA — Global stylesheet
   Brand: AI chat agents, AI voice agents and automation. Karachi, Pakistan.
   Palette is derived from the logo's aqua particle burst.
   Edit tokens below to re-skin the whole site at once.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Colour */
  --ink:        #06161b;   /* deepest background */
  --ink-2:      #091d24;   /* section alternate */
  --surface:    #0c2229;   /* raised panels */
  --surface-2:  #103039;   /* hover / inputs */
  --aqua:       #5edce2;   /* brand accent (from logo) */
  --aqua-soft:  #9deaee;   /* light accent, headings on dark */
  --aqua-deep:  #1a97a3;   /* borders, pressed states */
  --text:       #eaf6f7;   /* primary text on dark */
  --muted:      #a6c3c8;   /* body text on dark */
  --faint:      #6d8f96;   /* captions, meta */
  --paper:      #edf6f6;   /* light panel background */
  --paper-ink:  #062026;   /* text on light panel */
  --line:       rgba(94, 220, 226, 0.16);
  --line-soft:  rgba(160, 200, 206, 0.10);

  /* Type */
  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;

  --fs-xs:   0.78rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.4rem;
  --fs-xl:   1.9rem;
  --fs-2xl:  2.6rem;
  --fs-3xl:  3.4rem;

  /* Space + shape */
  --gap:   1.25rem;
  --pad-section: clamp(4.5rem, 9vw, 8rem);
  --wrap: 1180px;
  --wrap-narrow: 780px;
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 24px;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.85);
  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--ink);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Faint dot texture across the whole site — echoes the logo's particle spray */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(94, 220, 226, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 120% 80% at 70% 0%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 120% 80% at 70% 0%, #000 10%, transparent 72%);
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  font-weight: 600;
}

h1 { font-size: clamp(2.3rem, 6vw, var(--fs-3xl)); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 4vw, var(--fs-2xl)); letter-spacing: -0.03em; }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

p { margin: 0 0 1.1em; max-width: 68ch; }

ul { margin: 0 0 1.2em; padding-left: 1.1em; }
li { margin-bottom: 0.45em; }

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

::selection { background: var(--aqua); color: var(--ink); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--aqua);
  color: var(--ink);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-s);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--ink); }

/* --------------------------------------------------------------------------
   3. LAYOUT HELPERS
   -------------------------------------------------------------------------- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.section { padding-block: var(--pad-section); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--ink-2); }
.section--light { background: var(--paper); color: #3c5b60; }
.section--light h2,
.section--light h3,
.section--light h4 { color: var(--paper-ink); }
.section--light .lede { color: #47686d; }

.grid { display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media { order: -1; }

.stack-sm > * + * { margin-top: 0.6rem; }

/* Section heading block */
.section-head { max-width: 62ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head p { color: var(--muted); font-size: var(--fs-md); }

.lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: var(--muted);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  color: var(--aqua);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--aqua-deep);
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 0.8rem 1.4rem;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
  line-height: 1;
  text-align: center;
}

/* Solid fill, no glow, no lift — the muted aqua reads as a control, not a beacon */
.btn--primary {
  background: #3fb8c0;
  color: #03181c;
}
.btn--primary:hover {
  background: var(--aqua);
  color: #03181c;
}

.btn--ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--aqua-deep);
  color: var(--aqua-soft);
  background: rgba(94, 220, 226, 0.05);
}

.btn--light { background: var(--paper-ink); color: var(--paper); }
.btn--light:hover { background: #0b3038; color: #fff; }

.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.9rem; }

/* Quiet inline link with underline that grows */
.link-quiet {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-bottom: 1px solid var(--aqua-deep);
  padding-bottom: 2px;
}
.link-quiet:hover { border-color: var(--aqua); }

/* --------------------------------------------------------------------------
   5. HEADER + NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(6, 22, 27, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(6, 22, 27, 0.94);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand img { width: 30px; height: 30px; object-fit: contain; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: 0.18em;
  color: var(--text);
}
.brand__tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--faint);
  font-weight: 400;
  margin-top: 2px;
}

.nav__links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-size: var(--fs-sm);
  color: var(--muted);
  font-weight: 500;
  position: relative;
  padding-block: 0.3rem;
}
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--aqua); }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--aqua);
}

.nav__cta {
  display: inline-flex;
  background: transparent;
  border-color: var(--line);
  color: var(--text);
  font-weight: 500;
  padding: 0.62rem 1.15rem;
}
.nav__cta:hover { background: transparent; border-color: var(--aqua-deep); color: var(--aqua-soft); }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transform: translateX(-50%);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span { top: 50%; margin-top: -0.75px; }
.nav__toggle span::before { top: -6px; left: 0; transform: none; }
.nav__toggle span::after { top: 6px; left: 0; transform: none; }
.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;
  padding-block: clamp(3.2rem, 7vw, 5.5rem) clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(880px 500px at 78% 24%, rgba(26, 151, 163, 0.18), transparent 64%),
    radial-gradient(680px 400px at 8% 86%, rgba(94, 220, 226, 0.06), transparent 68%);
}

/* Optional photographic backdrop — drop a file at the path in the HTML to use it */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.16;
  mix-blend-mode: luminosity;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 { margin-bottom: 1rem; }
.hero .lede { max-width: 46ch; }

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line-soft);
}
.hero__proof div { min-width: 120px; }
.hero__proof b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero__proof span { font-size: var(--fs-sm); color: var(--faint); }

/* Live chat preview panel in the hero */
.chat-demo {
  background: linear-gradient(160deg, rgba(12, 34, 41, 0.92), rgba(6, 22, 27, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 1.3rem;
  box-shadow: 0 20px 50px -34px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
}
.chat-demo__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.chat-demo__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 12px var(--aqua);
}
.chat-demo__title { font-family: var(--font-display); font-size: var(--fs-sm); color: var(--text); }
.chat-demo__title span { color: var(--faint); font-family: var(--font-body); }

.bubble {
  max-width: 85%;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  font-size: var(--fs-sm);
  line-height: 1.55;
  margin-bottom: 0.7rem;
  opacity: 0;
  transform: translateY(8px);
  animation: bubbleIn 0.5s var(--ease) forwards;
}
.bubble--them {
  background: var(--surface-2);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.bubble--us {
  background: rgba(94, 220, 226, 0.14);
  border: 1px solid var(--line);
  color: var(--aqua-soft);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.bubble:nth-child(1) { animation-delay: 0.35s; }
.bubble:nth-child(2) { animation-delay: 0.95s; }
.bubble:nth-child(3) { animation-delay: 1.55s; }
.bubble:nth-child(4) { animation-delay: 2.15s; }

@keyframes bubbleIn { to { opacity: 1; transform: translateY(0); } }

.chat-demo__foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  color: var(--faint);
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-soft);
}

/* --------------------------------------------------------------------------
   7. PAGE HEADER (interior pages)
   -------------------------------------------------------------------------- */
.page-head {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.page-head__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(760px 360px at 82% 10%, rgba(26, 151, 163, 0.26), transparent 65%);
}
.page-head__photo {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.12; mix-blend-mode: luminosity;
}
.page-head .wrap { position: relative; z-index: 2; }
.page-head h1 { max-width: 18ch; }
.page-head .lede { max-width: 60ch; }

.crumbs { font-size: var(--fs-sm); color: var(--faint); margin-bottom: 1.2rem; }
.crumbs a { color: var(--faint); }
.crumbs a:hover { color: var(--aqua); }
.crumbs span { margin-inline: 0.45rem; opacity: 0.5; }

/* --------------------------------------------------------------------------
   8. CARDS + FEATURE BLOCKS
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.card:hover { border-color: var(--line); background: var(--surface-2); }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: var(--fs-sm); margin-bottom: 0; }

.card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(94, 220, 226, 0.10);
  border: 1px solid var(--line);
  margin-bottom: 1.1rem;
  color: var(--aqua);
}
.card__icon svg { width: 21px; height: 21px; }

/* Service rows — deliberately not identical cards */
.service-row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2.4rem, 5vw, 4rem);
  border-top: 1px solid var(--line-soft);
}
.service-row:first-of-type { border-top: 0; }
.service-row:nth-child(even) .service-row__media { order: -1; }
.service-row h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }

.feature-list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.feature-list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: var(--fs-sm);
  margin-bottom: 0.7rem;
  color: var(--muted);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgba(94, 220, 226, 0.12);
}

/* Numbered process — used only where content is a real sequence */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.4rem;
  padding-block: 1.8rem;
  border-top: 1px solid var(--line-soft);
  align-items: start;
}
.step:first-child { border-top: 0; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--aqua-deep);
  line-height: 1.2;
}
.step h3 { margin-bottom: 0.35rem; }
.step p { font-size: var(--fs-sm); margin-bottom: 0; }

/* Stats band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--aqua);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.45rem;
}
.stat span { font-size: var(--fs-sm); color: var(--faint); }

/* Founder cards */
.founder {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.founder__photo { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.founder__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.founder__role { font-size: var(--fs-sm); color: var(--aqua); margin-bottom: 0.8rem; }
.founder h3 { margin-bottom: 0.2rem; }
.founder__contact { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line-soft); }
.founder__contact a { display: block; font-size: var(--fs-sm); margin-bottom: 0.35rem; word-break: break-word; }

/* Logo / client strip */
.strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.6rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.6rem;
  border-block: 1px solid var(--line-soft);
}
.strip p { margin: 0; font-size: var(--fs-sm); color: var(--faint); }
.strip__items { display: flex; flex-wrap: wrap; gap: 1.2rem 2.2rem; align-items: center; }
.strip__items img { height: 26px; width: auto; opacity: 0.55; filter: grayscale(1) brightness(1.7); }

/* Quote */
.quote {
  border-left: 2px solid var(--aqua);
  padding-left: clamp(1.2rem, 3vw, 2.2rem);
  max-width: 70ch;
}
.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  line-height: 1.42;
  color: var(--text);
  letter-spacing: -0.02em;
}
.quote cite { font-style: normal; font-size: var(--fs-sm); color: var(--faint); }

/* --------------------------------------------------------------------------
   9. IMAGE FRAMES + PLACEHOLDERS
   -------------------------------------------------------------------------- */
.frame {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--square { aspect-ratio: 1 / 1; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--pano { aspect-ratio: 21 / 9; }

/* Aqua wash over photos so any stock image matches the brand */
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 22, 27, 0) 35%, rgba(6, 22, 27, 0.55));
  mix-blend-mode: multiply;
  pointer-events: none;
}
.frame--plain::after { display: none; }

.frame__caption {
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  z-index: 2;
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* Shown automatically by script.js when an image file is missing */
.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 190px;
  display: grid;
  place-content: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1.5rem;
  background:
    repeating-linear-gradient(135deg, rgba(94,220,226,0.05) 0 12px, transparent 12px 24px),
    var(--surface-2);
  color: var(--faint);
  font-size: var(--fs-xs);
  line-height: 1.5;
}
.img-placeholder b {
  font-family: var(--font-display);
  color: var(--aqua);
  font-size: var(--fs-sm);
  font-weight: 600;
  word-break: break-all;
}

/* --------------------------------------------------------------------------
   10. ACCORDION (FAQ)
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line-soft); }
.faq__item { border-bottom: 1px solid var(--line-soft); }
.faq__q {
  width: 100%;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  text-align: left;
  padding: 1.25rem 2.5rem 1.25rem 0;
  cursor: pointer;
  position: relative;
  line-height: 1.4;
}
.faq__q::after {
  content: "";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 1.5px solid var(--aqua);
  border-bottom: 1.5px solid var(--aqua);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.28s var(--ease);
}
.faq__item.is-open .faq__q::after { transform: translateY(-20%) rotate(-135deg); }
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease);
}
.faq__a p { font-size: var(--fs-sm); padding-bottom: 1.3rem; margin: 0; }

/* --------------------------------------------------------------------------
   11. FORMS
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.42rem; }
.field label { font-size: var(--fs-sm); color: var(--text); font-family: var(--font-display); }
.field label span { color: var(--aqua); }

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-s);
  padding: 0.8rem 0.95rem;
  width: 100%;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #5d7d84; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--aqua);
  background: var(--surface-2);
  outline: none;
}
.field select { appearance: none; cursor: pointer; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.field__error { font-size: var(--fs-xs); color: #ff9a8b; min-height: 1em; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #ff9a8b; }

.form__note { font-size: var(--fs-xs); color: var(--faint); }

.form-status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-s);
  font-size: var(--fs-sm);
  border: 1px solid var(--line);
  background: rgba(94, 220, 226, 0.10);
  color: var(--aqua-soft);
}
.form-status.is-visible { display: block; }

/* Contact detail panel */
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.contact-line { padding-block: 1rem; border-bottom: 1px solid var(--line-soft); }
.contact-line:last-child { border-bottom: 0; }
.contact-line small { display: block; font-size: var(--fs-xs); color: var(--faint); margin-bottom: 0.2rem; }
.contact-line a, .contact-line p { font-size: var(--fs-sm); margin: 0; color: var(--text); }
.contact-line a:hover { color: var(--aqua); }

/* --------------------------------------------------------------------------
   12. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #0a2730, #06161b 60%);
  border-top: 1px solid var(--line);
}
.cta-band__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(620px 320px at 82% 50%, rgba(94, 220, 226, 0.14), transparent 68%);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { max-width: 20ch; }
.cta-band p { max-width: 52ch; }

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #041015;
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: var(--fs-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(1.8rem, 4vw, 3rem);
}
.site-footer h4 {
  font-size: var(--fs-sm);
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--aqua); }
.site-footer p { font-size: var(--fs-sm); color: var(--faint); max-width: 34ch; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(2.2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  color: var(--faint);
  font-size: var(--fs-xs);
}

.social { display: flex; gap: 0.6rem; }
.social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: var(--muted);
}
.social a:hover { border-color: var(--aqua); color: var(--aqua); }
.social svg { width: 16px; height: 16px; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 80;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #3fb8c0;
  color: #03181c;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.9);
  transition: background 0.2s var(--ease);
}
.wa-float:hover { background: var(--aqua); color: #03181c; }
.wa-float svg { width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   14. SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   15. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(6, 22, 27, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.25rem 1.5rem;
    transform: translateY(-120%);
    transition: transform 0.3s var(--ease);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links li { border-bottom: 1px solid var(--line-soft); }
  .nav__links a { display: block; padding: 0.95rem 0; font-size: var(--fs-md); }
  .nav__links .btn { margin-top: 1.1rem; width: 100%; }
  .nav__links li:last-child { border-bottom: 0; }

  .hero__inner,
  .split,
  .service-row,
  .grid-3,
  .grid-4,
  .grid-2,
  .field-row { grid-template-columns: 1fr; }

  .split--reverse .split__media,
  .service-row:nth-child(even) .service-row__media { order: 0; }

  .hero { padding-block: 3rem 3.5rem; }
}

@media (max-width: 560px) {
  :root { --fs-2xl: 2rem; --fs-xl: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 44px 1fr; gap: 1rem; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .brand__name { font-size: 1.15rem; }
}

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

@media print {
  .site-header, .wa-float, .cta-band, #hero-canvas { display: none; }
  body { background: #fff; color: #000; }
}
