/* =========================================================
   UBORA STUDIO — Modern African Premium
   Design system + layout
   ========================================================= */

:root {
  /* Brand palette (logo) */
  --blue:        #1B75BB;
  --blue-deep:   #135a90;
  --orange:      #F15A29;
  --orange-soft: #E57047;
  --orange-ink:  #C2410C;   /* AA-contrast orange for text on white & white text on orange */

  /* Modern African Premium neutrals */
  --navy:        #0B1B33;   /* deep navy sections */
  --navy-2:      #0F2340;   /* raised navy surface */
  --ink:         #071426;   /* near-black */
  --cream:       #F8F5EF;   /* soft warm white sections */
  --cream-2:     #FFFFFF;   /* pure white */
  --white:       #FFFFFF;
  --gold:        #C9A24B;   /* restrained gold accent */
  --gold-soft:   #E4CE9B;

  /* Text */
  --text-dark:   #14202E;
  --text-muted:  #5A6472;
  --text-onnavy: #EAF0F8;
  --text-onnavy-muted: #9DAAC0;

  /* Utility */
  --line:        rgba(11, 27, 51, 0.10);
  --line-navy:   rgba(255, 255, 255, 0.10);
  --shadow-sm:   0 2px 10px rgba(11, 27, 51, 0.06);
  --shadow-md:   0 18px 40px -20px rgba(11, 27, 51, 0.35);
  --shadow-lg:   0 40px 80px -30px rgba(7, 20, 38, 0.55);

  --radius:      18px;
  --radius-sm:   12px;
  --radius-lg:   28px;

  --container:   1200px;
  --pad:         clamp(20px, 5vw, 80px);

  --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

/* ------------------ Reset / base ------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a, button { touch-action: manipulation; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* Visible keyboard focus for all interactive elements */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ------------------ Layout helpers ------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: clamp(64px, 10vw, 130px); position: relative; }
.section--navy { background: var(--navy); color: var(--text-onnavy); }
.section--ink  { background: var(--ink);  color: var(--text-onnavy); }
.section--cream { background: var(--cream); }
.section--white { background: var(--cream-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--orange-ink);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 30px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  display: inline-block;
}
.section--navy .eyebrow, .section--ink .eyebrow { color: var(--gold-soft); }

.section-head { max-width: 720px; margin-bottom: clamp(38px, 6vw, 64px); }
.section-head h2 {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  text-wrap: balance;
}
.section-head p { margin-top: 20px; color: var(--text-muted); font-size: 1.06rem; }
.section--navy .section-head p, .section--ink .section-head p { color: var(--text-onnavy-muted); }

.accent { color: var(--orange); }
.accent-blue { color: var(--blue); }

/* ------------------ Buttons ------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px; font-weight: 700; font-size: 0.98rem;
  border: 1.5px solid transparent; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange-ink); color: #fff; box-shadow: 0 12px 26px -12px rgba(194,65,12,.6); }
.btn--primary:hover { background: #a8360a; }
.btn--light { background: var(--cream); color: var(--navy); }
.btn--light:hover { background: #fff; }
.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; opacity: .9; }
.btn--ghost:hover { opacity: 1; background: rgba(255,255,255,.06); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--ink); }
.btn--block { width: 100%; }

/* ------------------ Header / nav ------------------ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  --logo-h: clamp(58px, 8vw, 90px);   /* prominent but balanced on big screens */
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 86px; padding-block: 8px;
}
/* flex-shrink:0 so the logo can never be squeezed to zero width on mid-size screens */
.brand { display: flex; align-items: center; gap: 12px; z-index: 2; flex: 0 0 auto; }
.brand img { height: var(--logo-h); width: auto; transition: opacity .3s, height .35s var(--ease); }
.brand .logo-dark { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; }
.brand__box { position: relative; display: flex; align-items: center; height: var(--logo-h); flex: 0 0 auto; transition: height .35s var(--ease); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 9px 11px; border-radius: 100px; font-size: 0.94rem; font-weight: 600;
  color: var(--text-onnavy); opacity: .82; transition: opacity .2s, background .2s, color .2s;
}
.nav a:hover, .nav a.active { opacity: 1; background: rgba(255,255,255,.09); }
/* On desktop the single CTA lives in .header__cta; the in-nav one is only for the mobile menu */
.nav > .btn { display: none; }
.header__cta { display: flex; align-items: center; gap: 14px; }

/* Scrolled state: solid cream header, dark text */
.header.scrolled {
  background: rgba(248, 245, 239, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -22px rgba(11,27,51,.5);
  --logo-h: 62px;   /* compact once scrolling */
}
.header.scrolled .logo-light { opacity: 0; }
.header.scrolled .logo-dark  { opacity: 1; }
.header.scrolled .nav a { color: var(--text-dark); }
.header.scrolled .nav a:hover, .header.scrolled .nav a.active { background: rgba(11,27,51,.07); }
.header.scrolled .btn--ghost { color: var(--navy); }
.header.scrolled .burger span { background: var(--navy); }

/* ------------------ Language switch (drives Google Translate) ------------------ */
.langswitch {
  display: inline-flex; flex: none; padding: 3px; border-radius: 100px;
  border: 1px solid var(--line-navy); background: rgba(255,255,255,.07);
}
.langswitch button {
  border: none; background: transparent; color: var(--text-onnavy); opacity: .72;
  font-size: .76rem; font-weight: 800; letter-spacing: .06em; padding: 7px 13px;
  border-radius: 100px; transition: background .25s, color .25s, opacity .25s;
}
.langswitch button:hover { opacity: 1; }
.langswitch button.is-active { background: var(--blue); color: #fff; opacity: 1; }
.header.scrolled .langswitch { border-color: var(--line); background: rgba(11,27,51,.05); }
.header.scrolled .langswitch button { color: var(--text-dark); }
.header.scrolled .langswitch button.is-active { background: var(--blue); color: #fff; }

/* Google Translate widget: keep the machinery, hide its chrome */
#google_translate_element { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.goog-te-banner-frame, .goog-te-gadget-icon, .VIpgJd-ZVi9od-ORHb-OEVmcd { display: none !important; }
.skiptranslate iframe { display: none !important; }
body { top: 0 !important; }   /* undo the offset the translate banner adds */
font[style] { background: none !important; box-shadow: none !important; }

.burger {
  display: none; width: 46px; height: 46px; border: none; background: transparent;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px; z-index: 2;
}
.burger span { width: 24px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .3s; border-radius: 2px; }
body.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ------------------ Hero ------------------ */
.hero {
  position: relative; background: var(--navy); color: var(--text-onnavy);
  padding-top: clamp(140px, 14vw, 190px); padding-bottom: clamp(70px, 10vw, 120px); overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(27,117,187,.35), transparent 68%);
  top: -180px; right: -140px; filter: blur(10px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(241,90,41,.22), transparent 66%);
  bottom: -220px; left: -160px; pointer-events: none;
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 70px); align-items: center;
}
.hero__tagline {
  display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft);
  border: 1px solid var(--line-navy); padding: 8px 16px; border-radius: 100px; margin-bottom: 26px;
}
.hero__tagline .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(241,90,41,.2); }
.hero h1 {
  font-size: clamp(1.9rem, 8.5vw, 4.6rem); letter-spacing: -0.03em;
}
.hero h1 .thin { -webkit-text-stroke: 1.4px var(--gold-soft); color: transparent; }
.hero__lead { margin-top: 26px; max-width: 520px; color: var(--text-onnavy-muted); font-size: 1.12rem; }
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 34px; }
.hero__stats .num { font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero__stats .lbl { font-size: .82rem; color: var(--text-onnavy-muted); letter-spacing: .04em; }

/* Hero visual — browser-window mockup (fits landscape screenshots) */
.hero__visual { position: relative; display: flex; justify-content: center; width: 100%; }
.browser {
  position: relative; width: min(520px, 100%); background: #0a1526;
  border-radius: 16px; border: 1px solid #1e2c47; box-shadow: var(--shadow-lg);
  overflow: hidden; transform: rotate(-1.5deg); transition: transform .5s var(--ease);
}
.browser:hover { transform: rotate(0deg) translateY(-4px); }
.browser__bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #10203a;
  border-bottom: 1px solid #1e2c47;
}
.browser__bar span { width: 11px; height: 11px; border-radius: 50%; background: #2d3e5c; }
.browser__bar span:nth-child(1) { background: #f15a29; }
.browser__bar span:nth-child(2) { background: #e4ce9b; }
.browser__bar span:nth-child(3) { background: #1b75bb; }
.browser__bar .url {
  margin-left: 10px; flex: 1; height: 22px; background: #0a1526; border-radius: 100px;
  display: flex; align-items: center; padding: 0 14px; font-size: .72rem; color: var(--text-onnavy-muted);
  letter-spacing: .02em; overflow: hidden; white-space: nowrap;
}
.browser__stage { position: relative; aspect-ratio: 1400 / 909; background: #0a1526; overflow: hidden; }
.browser__stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center;
  opacity: 0; transform: scale(1.02); transition: opacity 1.1s var(--ease), transform 6s ease-out;
}
.browser__stage img.is-active { opacity: 1; transform: scale(1); }
.hero__card {
  position: absolute; background: rgba(255,255,255,.96); color: var(--navy);
  border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-md); backdrop-filter: blur(4px);
}
.hero__card small { display: block; color: var(--text-muted); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.hero__card strong { font-size: 1.2rem; }
.hero__card--tl { top: 8%; left: -6%; }
.hero__card--br { bottom: 10%; right: -8%; }
.hero__card .up { display: inline-block; color: #1a9d5a; font-weight: 800; animation: rise 1.8s ease-in-out infinite; }
/* Re-triggered by JS each time the hero image changes */
.hero__card.pop { animation: cardpop .6s var(--ease); }
.hero__card.pop strong { display: inline-block; animation: wordfade .6s var(--ease); }
@keyframes rise { 0%,100% { transform: translateY(2px); } 50% { transform: translateY(-4px); } }
@keyframes cardpop { 0% { transform: scale(1); } 32% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes wordfade { from { opacity: .25; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* ------------------ Marquee / sectors ------------------ */
.marquee { background: var(--white); border-bottom: 1px solid var(--line); padding-block: 24px; overflow: hidden; }
.marquee__track { display: flex; gap: 60px; width: max-content; animation: scroll-x 26s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 14px; color: var(--text-muted);
  font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
}
.marquee__item::before { content: "✦"; color: var(--gold); font-size: .9rem; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ------------------ Services ------------------ */
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.service:hover { transform: translateY(-6px); border-color: rgba(201,162,75,.55); box-shadow: var(--shadow-md); }
.service__num { position: absolute; top: 22px; right: 28px; font-size: 3.4rem; font-weight: 800; color: rgba(11,27,51,.06); }
.service__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); margin-bottom: 22px;
}
.service:nth-child(2n) .service__icon { background: linear-gradient(135deg, var(--orange), var(--orange-soft)); }
.service__icon svg { width: 26px; height: 26px; stroke: #fff; }
.service h3 { font-size: 1.4rem; margin-bottom: 12px; letter-spacing: -0.01em; }
.service p { color: var(--text-muted); font-size: .98rem; }

/* "What's included" checklist — replaces the old tag pills, which read as a menu
   label rather than a sell. Outcome line is pinned to the card foot. */
.service { display: flex; flex-direction: column; }
.service__incl { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.service__incl h4 {
  font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px;
}
.service__incl ul { display: flex; flex-direction: column; gap: 10px; }
.service__incl li {
  position: relative; padding-left: 26px; font-size: .92rem; line-height: 1.5; color: var(--text-dark);
}
.service__incl li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 15px; height: 9px;
  border-left: 2.2px solid var(--blue); border-bottom: 2.2px solid var(--blue);
  transform: rotate(-45deg); border-radius: 1px;
}
.service:nth-child(2n) .service__incl li::before { border-color: var(--orange); }
.service p.service__outcome {
  margin-top: auto; padding: 16px 18px; background: var(--cream); border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold); font-size: .95rem; font-weight: 600;
  color: var(--text-dark); line-height: 1.5;
}
.service__incl + .service__outcome { margin-top: 24px; }

/* Card 05 spans the grid: intro + outcome left, checklist right */
.service--wide { grid-column: 1 / -1; flex-direction: row; gap: clamp(28px, 5vw, 60px); align-items: stretch; }
.service--wide .service__wide-main { flex: 1 1 46%; display: flex; flex-direction: column; }
.service--wide .service__incl { flex: 1 1 54%; margin-top: 0; padding-top: 0; border-top: none; }
.service--wide .service__outcome { margin-top: auto; }
.service--wide .service__incl li::before { border-color: var(--gold); }

/* ------------------ About / process ------------------ */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__meaning {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-sm);
}
.about__word { display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 20px; }
.about__word b { font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--navy); letter-spacing: -0.03em; }
.about__word span { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-ink); font-weight: 700; }
.about__meaning p { color: var(--text-muted); }
.about__lead { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 600; line-height: 1.35; color: var(--text-dark); letter-spacing: -0.01em; }
.about__lead .accent { font-weight: 800; }
.about__body { margin-top: 22px; color: var(--text-muted); }
.about__body p + p { margin-top: 16px; }

.process { margin-top: clamp(48px, 7vw, 80px); }
.process__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.process__step { position: relative; padding-top: 30px; }
.process__step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-size: .85rem; font-weight: 800; color: var(--orange-ink); letter-spacing: .1em;
}
.process__step::after { content: ""; position: absolute; top: 8px; left: 0; width: 100%; height: 2px; background: var(--line); }
.process__step h4 { font-size: 1.06rem; margin: 14px 0 8px; letter-spacing: -0.01em; }
.process__step p { font-size: .9rem; color: var(--text-muted); }

/* ------------------ Portfolio ------------------ */
.work__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.case {
  background: var(--navy-2); border: 1px solid var(--line-navy); border-radius: var(--radius-lg);
  padding: 22px; transition: transform .35s var(--ease), border-color .35s;
}
.case:hover { transform: translateY(-6px); border-color: rgba(201,162,75,.5); }
.case__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-inline: 6px; }
.case__client { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.case__tag { font-size: .72rem; color: var(--gold-soft); text-transform: uppercase; letter-spacing: .12em; }
.ba {
  position: relative; border-radius: 16px; overflow: hidden; background: #0a1526;
  aspect-ratio: 16/10;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: opacity .5s var(--ease); }
.ba .after { opacity: 0; }
.ba.show-after .after { opacity: 1; }
.ba.show-after .before { opacity: 0; }
.ba__badge {
  position: absolute; top: 14px; left: 14px; z-index: 4; font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em; padding: 6px 14px; border-radius: 100px;
  background: rgba(11,27,51,.72); color: #fff; backdrop-filter: blur(4px);
}
.ba.show-after .ba__badge { background: var(--orange-ink); }
.case__toggle {
  display: inline-flex; margin-top: 18px; background: var(--ink); border: 1px solid var(--line-navy);
  border-radius: 100px; padding: 4px; width: 100%;
}
.case__toggle button {
  flex: 1; border: none; background: transparent; color: var(--text-onnavy-muted);
  font-weight: 700; font-size: .82rem; padding: 10px; border-radius: 100px; text-transform: uppercase;
  letter-spacing: .06em; transition: background .3s, color .3s;
}
.case__toggle button.active { background: var(--blue); color: #fff; }
.ba.show-after ~ .case__toggle button.active { background: var(--orange-ink); }

/* Case narrative — problem / what we did / result */
.case__story { margin: 20px 0 0; padding: 20px 6px 0; border-top: 1px solid var(--line-navy); }
.case__story > div + div { margin-top: 14px; }
.case__story dt {
  font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 5px;
}
.case__story dd { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--text-onnavy-muted); }
.case__story > div:last-child dd { color: var(--text-onnavy); font-weight: 600; }

/* ------------------ Pricing ------------------ */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 30px; transition: transform .35s var(--ease), box-shadow .35s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan--featured {
  background: var(--navy); color: var(--text-onnavy); border-color: transparent;
  box-shadow: var(--shadow-lg); transform: scale(1.03);
}
.plan--featured:hover { transform: scale(1.03) translateY(-6px); }
.plan__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange-ink); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; padding: 7px 18px; border-radius: 100px; white-space: nowrap;
}
.plan__name { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; color: var(--orange); }
.plan--featured .plan__name { color: var(--gold-soft); }
.plan__price { margin: 16px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan__price .amt { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; }
.plan__price .per { font-size: .9rem; color: var(--text-muted); }
.plan--featured .plan__price .per { color: var(--text-onnavy-muted); }
.plan__from { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); }
.plan--featured .plan__from { color: var(--text-onnavy-muted); }
.plan__desc { margin: 16px 0 22px; font-size: .95rem; color: var(--text-muted); border-top: 1px solid var(--line); padding-top: 20px; }
.plan--featured .plan__desc { color: var(--text-onnavy-muted); border-top-color: var(--line-navy); }
.plan__features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.plan__features li { display: flex; gap: 11px; font-size: .93rem; align-items: flex-start; }
.plan__features svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--blue); }
.plan--featured .plan__features svg { color: var(--gold-soft); }
.pricing__note { text-align: center; margin-top: 32px; color: var(--text-muted); font-size: .92rem; }
.pricing__note strong { color: var(--text-dark); }

.addons { margin-top: 56px; text-align: center; }
.addons h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 26px; font-weight: 700; }
/* Promoted from plain tags into mini-sells — each add-on gets a line of its own */
.addons__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: left; }
.addon {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.addon:hover { transform: translateY(-5px); border-color: rgba(201,162,75,.55); box-shadow: var(--shadow-md); }
.addon__ic {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cream); color: var(--blue); margin-bottom: 16px;
}
.addon:nth-child(2n) .addon__ic { color: var(--orange); }
.addon__ic svg { width: 21px; height: 21px; }
.addon b { display: block; font-size: 1rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.addon p { font-size: .88rem; line-height: 1.55; color: var(--text-muted); }
.addons__note { margin-top: 22px; font-size: .9rem; color: var(--text-muted); }
.addons__note a { color: var(--blue); font-weight: 700; border-bottom: 1px solid rgba(27,117,187,.35); }
.addons__note a:hover { border-bottom-color: var(--blue); }

/* ------------------ Testimonials ------------------ */
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.testi:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testi__stars { color: var(--gold); letter-spacing: 3px; font-size: 1rem; }
.testi p { font-size: 1.02rem; line-height: 1.55; }
.testi__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--blue), var(--orange)); }
.testi__who b { display: block; font-size: .95rem; }
.testi__who small { color: var(--text-muted); font-size: .82rem; }

/* ------------------ FAQ ------------------ */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq__item[open] { border-color: rgba(27,117,187,.45); box-shadow: var(--shadow-md); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px;
  padding: 22px 24px; font-size: 1.06rem; font-weight: 700; color: var(--text-dark);
  letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; border-radius: var(--radius-sm); }
.faq__item[open] summary { color: var(--blue); }
.faq__q { flex: 1; }
/* Plus / minus mark drawn in CSS, using brand colours */
.faq__mark { position: relative; flex: none; width: 22px; height: 22px; }
.faq__mark::before, .faq__mark::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--orange);
  border-radius: 2px; transition: transform .3s var(--ease), background .3s;
}
.faq__mark::before { width: 15px; height: 2.5px; transform: translate(-50%, -50%); }
.faq__mark::after  { width: 2.5px; height: 15px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__mark::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__item[open] .faq__mark::before { background: var(--blue); }
.faq__a { padding: 0 24px 24px; color: var(--text-muted); font-size: 1rem; line-height: 1.6; }
.faq__a p { max-width: 64ch; }
.faq__item[open] .faq__a { animation: faqOpen .32s var(--ease); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq__more { text-align: center; margin-top: 30px; color: var(--text-muted); }

/* ------------------ Contact ------------------ */
.contact__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 6vw, 70px); align-items: start; }
.contact__intro h2 { font-size: clamp(2rem, 5vw, 3.2rem); text-wrap: balance; }
.contact__intro p { margin-top: 20px; color: var(--text-onnavy-muted); font-size: 1.06rem; }
.contact__channels { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }
.channel {
  display: flex; align-items: center; gap: 16px; background: var(--navy-2); border: 1px solid var(--line-navy);
  border-radius: var(--radius-sm); padding: 16px 20px; transition: border-color .3s, transform .3s;
}
.channel:hover { border-color: rgba(201,162,75,.5); transform: translateX(4px); }
.channel__ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); flex: none; }
.channel__ic svg { width: 22px; height: 22px; }
.channel small { display: block; color: var(--text-onnavy-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.channel b { font-size: 1.05rem; }

.form {
  background: var(--white); color: var(--text-dark); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-lg);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 8px; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: .98rem; color: var(--text-dark); background: var(--cream-2);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,117,187,.14); background: #fff;
}
.form__hint { font-size: .82rem; color: var(--text-muted); margin-top: 14px; text-align: center; }

/* ------------------ Footer ------------------ */
.footer { background: var(--ink); color: var(--text-onnavy-muted); padding-block: clamp(50px, 7vw, 76px) 30px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand img { height: 72px; margin-bottom: 18px; }
.footer__brand p { max-width: 300px; font-size: .95rem; }
.footer h5 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.footer__col a { display: block; padding: 5px 0; font-size: .95rem; transition: color .2s; }
.footer__col a:hover { color: var(--gold-soft); }
.footer__bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-navy);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem;
}
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); transition: background .25s, transform .25s; }
.footer__social a:hover { background: var(--orange); transform: translateY(-2px); color:#fff; }
.footer__social svg { width: 18px; height: 18px; }

/* ------------------ Floating WhatsApp ------------------ */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff;
  padding: 13px 20px 13px 15px; border-radius: 100px; font-weight: 700; font-size: .95rem;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.6); transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float .txt { transition: max-width .3s, opacity .3s; }

/* ------------------ Reveal animations ------------------ */
/* Hidden state only applies when JS is active, so content is never
   permanently invisible if JS or IntersectionObserver fails. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ------------------ Responsive ------------------ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  /* Copy first on stacked layouts so the message lands before the visual */
  .hero__copy { order: 1; }
  .hero__visual { order: 2; margin-top: 12px; }
  .browser { transform: none; width: min(460px, 100%); margin-inline: auto; }
  .hero__card--tl { left: 2%; }
  .hero__card--br { right: 2%; }
  .about__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }
  .testi__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .addons__grid { grid-template-columns: repeat(2, 1fr); }
}
/* Header switches to the hamburger menu early enough that landscape phones,
   tablets and narrow laptops never get the cramped full-width nav (8 links +
   language switch + CTA), which was crushing the logo to zero width. */
@media (max-width: 1200px) {
  .header__cta .btn:not(.burger) { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw); flex-direction: column;
    align-items: stretch; justify-content: center; gap: 6px; background: var(--navy);
    padding: 40px 30px; transform: translateX(100%); transition: transform .35s var(--ease);
    box-shadow: var(--shadow-lg); z-index: 1;
  }
  body.nav-open .nav { transform: none; }
  .nav a { color: var(--text-onnavy) !important; font-size: 1.1rem; padding: 14px 18px; }
  .nav > .btn { display: inline-flex; margin-top: 16px; }
  .burger { display: flex; }
}
@media (max-width: 760px) {
  .services__grid { grid-template-columns: 1fr; }
  .service--wide { flex-direction: column; gap: 0; }
  .service--wide .service__incl { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
  .addons__grid { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .form__row { grid-template-columns: 1fr; }
  .wa-float .txt { display: none; }
  .wa-float { padding: 14px; }

  /* --- Smoother scrolling on phones: drop GPU-heavy blur effects --- */
  .header.scrolled {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: rgba(248, 245, 239, 0.98);
  }
  .hero::before, .hero::after { filter: none; }
  .hero::before { width: 340px; height: 340px; top: -120px; right: -100px; }
  .hero::after  { width: 300px; height: 300px; }

  /* Tighter hero so the headline and CTA sit higher on small screens */
  .hero { padding-top: 112px; padding-bottom: 48px; }
  .section { padding-block: 56px; }

  /* Compact floating cards so they don't crowd the mockup */
  .hero__card { padding: 10px 14px; border-radius: 12px; }
  .hero__card small { font-size: .66rem; }
  .hero__card strong { font-size: 1rem; }
  .hero__card--tl { top: 6%; left: 2%; }
  .hero__card--br { bottom: 6%; right: 2%; }
}
@media (max-width: 420px) {
  .process__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
}

/* nav overlay */
.nav-overlay {
  position: fixed; inset: 0; background: rgba(7,20,38,.5); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 99;
}
body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
@media (min-width: 1201px) { .nav-overlay { display: none; } }
