/* ============================================================
   Blurrline — Design tokens
   Values pulled from the Figma "Blurrline - Deliver" frame.
   ============================================================ */
:root {
  /* Colours */
  --ink: #1e1e1e;              /* Black - Blurrline */
  --amber: #ffaa3c;           /* primary accent */
  --amber-grad-from: #ffb549; /* button/band gradient start */
  --amber-grad-to: #f27e02;   /* button/band gradient end   */
  --bg: #f5f5f5;              /* page background */
  --silk-white: #f9f9f9;
  --white: #ffffff;
  --teal: #38ad9a;            /* positive delta */
  --coral: #e76749;           /* negative delta */
  --violet: #876afe;
  --muted: #a8a8a8;

  /* Gradients */
  --grad-amber: linear-gradient(65deg, var(--amber-grad-from) 0%, var(--amber-grad-to) 100%);

  /* Type */
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-arabic: "Cairo", var(--font-sans);

  /* Layout */
  --container: 1200px;
  --container-narrow: 1120px;
  --gutter: 120px;

  /* Radii */
  --r-pill: 100px;
  --r-lg: 20px;
  --r-md: 14px;

  /* Shadows */
  --shadow-card: 0 8px 20px rgba(0, 0, 0, 0.05);
  --shadow-soft: 0 5px 30.9px rgba(0, 0, 0, 0.10);
  --shadow-btn: 0 4px 5px rgba(0, 0, 0, 0.10);
  --shadow-nav: 0 4px 14px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   Reset / base
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, dt, figure, blockquote { margin: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.text-amber { color: var(--amber); }

/* Decorative amber glow blobs (recreated with CSS radial gradients —
   the source frame uses blurred ellipse SVGs). */
.glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.55;
}
.glow--amber {
  background: radial-gradient(circle, rgba(255, 170, 60, 0.55) 0%, rgba(255, 170, 60, 0) 70%);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.32px;
  line-height: 1.6;
  padding: 9px 20px;
  border-radius: var(--r-pill);
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn--gradient {
  background: var(--grad-amber);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}
.btn--gradient:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(242,126,2,0.30); }
.btn--glass {
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.btn--glass:hover { background: rgba(255,255,255,0.8); transform: translateY(-1px); }
.btn--icon .btn__icon-sm { width: 9.5px; height: 9.5px; }
.btn--icon .btn__icon-circle { width: 26px; height: 26px; }
.btn--gradient.btn--icon { padding-right: 9px; }
.btn--sm { font-size: 16px; }

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 245, 245, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding: 24px var(--gutter);
}
.navbar__logo img { width: 62px; height: auto; }
.navbar__nav { flex: 1; display: flex; justify-content: center; }
.navbar__menu {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 40px;
  box-shadow: var(--shadow-nav);
}
.navbar__menu a {
  display: block;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 16px;
  letter-spacing: 0.32px;
  line-height: 1.6;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}
.navbar__menu a:hover { background: rgba(255, 170, 60, 0.15); }
.navbar__menu a.is-active { background: var(--amber); color: var(--white); font-weight: 600; }
.navbar__cta { flex-shrink: 0; padding: 9px 20px; }
/* The mobile menu gets a cloned CTA (added via JS); keep it hidden until the
   nav collapses at the mobile breakpoint. */
.navbar__nav .navbar__cta { display: none; }

/* hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.navbar__toggle span {
  width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ============================================================
   Section head helpers
   ============================================================ */
.section-head { text-align: center; margin-bottom: 60px; }
.eyebrow {
  color: var(--amber);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-title {
  font-weight: 600;
  font-size: 36px;
  line-height: 1.1;
  color: var(--ink);
}
.section-sub { font-size: 20px; margin-top: 18px; }
.section-head--light .section-title,
.section-head--light .stats-band__lead { color: var(--white); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding: 90px 0 60px;
}
.hero__glow { width: 900px; height: 700px; right: -180px; top: -120px; }
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 583px) minmax(0, 582px);
  gap: 35px;
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 58px; }
.hero__intro { display: flex; flex-direction: column; gap: 35px; }
.hero__title {
  font-weight: 700;
  font-size: 62px;
  line-height: 1.05;
  text-transform: capitalize;
}
.hero__lead { font-size: 16px; line-height: 1.35; max-width: 583px; }
.hero__actions { display: flex; gap: 19px; flex-wrap: wrap; }

.hero__trust { display: flex; flex-direction: column; gap: 20px; }
.hero__trust-label { font-weight: 600; font-size: 16px; }
.trust-logos {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}
.trust-logos img { height: 40px; width: auto; object-fit: contain; opacity: 0.9; }

/* Dashboard mockup */
.dashboard {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 21.88px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 17.5px 14.9px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.dashboard__search {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 109px;
  padding: 8px 12px;
  border-radius: 38px;
  background: rgba(0, 0, 0, 0.03);
  font-size: 11.7px;
  color: var(--muted);
}
.dashboard__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11.7px; }
.stat-tile {
  position: relative;
  min-height: 82px;
  border-radius: var(--r-md);
  background: rgba(0, 0, 0, 0.02);
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.stat-tile__head { display: flex; align-items: center; gap: 6px; }
.stat-tile__avatar { width: 23px; height: 23px; border-radius: 50%; background: linear-gradient(135deg, #ffd9a8, #ffaa3c); flex-shrink: 0; }
.stat-tile__bars { display: flex; flex-direction: column; gap: 3px; }
.stat-tile__bars i { display: block; height: 5.8px; border-radius: 29px; background: var(--ink); opacity: 0.2; }
.stat-tile__bars i:first-child { width: 30px; }
.stat-tile__bars i:last-child { width: 60px; }
.stat-tile__value { display: flex; align-items: center; gap: 5px; font-weight: 600; font-size: 18px; color: rgba(30, 30, 30, 0.5); letter-spacing: -0.8px; }
.stat-tile__delta { font-size: 11px; font-weight: 400; letter-spacing: -0.35px; }
.stat-tile__delta--up { color: var(--teal); }
.stat-tile__delta--down { color: var(--coral); }

.dashboard__chart {
  position: relative;
  background: rgba(0, 0, 0, 0.05);
  border-radius: var(--r-md);
  padding: 20px 12px 10px;
}
.chart__legend { position: absolute; top: 16px; left: 14px; display: flex; gap: 17px; }
.chart__legend span { display: inline-flex; align-items: center; gap: 7px; }
.chart__legend b { display: block; width: 30px; height: 5.8px; border-radius: 29px; background: var(--ink); opacity: 0.2; }
.dot { width: 13px; height: 13px; border-radius: 4px; display: inline-block; }
.dot--purple { background: var(--violet); }
.dot--amber { background: #ffbc02; }
.chart__range { position: absolute; top: 18px; right: 14px; display: flex; align-items: center; gap: 10px; font-size: 8.8px; color: var(--ink); }
.chart__range b { display: block; width: 30px; height: 5.8px; border-radius: 29px; background: var(--ink); opacity: 0.2; }
.chart__svg { width: 100%; height: 190px; margin-top: 26px; display: block; }
.chart__svg .grid { stroke: var(--ink); stroke-opacity: 0.12; stroke-width: 1; }
.chart__svg .area { fill: rgba(255, 181, 73, 0.18); }
.chart__svg .line { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.chart__svg .line--amber { stroke: #ffb549; }
.chart__svg .line--purple { stroke: var(--violet); }
.chart__selector { fill: #ffb549; stroke: #fdfdfd; stroke-width: 2.9; }
.chart__axis { display: flex; justify-content: space-between; padding: 4px 6px 0; font-size: 8.8px; color: var(--ink); }
.chart__axis li { white-space: nowrap; }

/* ============================================================
   Services (Section 2)
   ============================================================ */
.services { position: relative; overflow: hidden; padding: 50px 0 75px; }
.services__glow { width: 900px; height: 700px; right: -260px; top: -420px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}
.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--white);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.service-card__top { display: flex; align-items: center; gap: 12px; }
.service-card__icon { width: 60px; height: 60px; object-fit: contain; flex-shrink: 0; }
.service-card__title { font-weight: 600; font-size: 20px; line-height: 1.1; }
.service-card__text { font-size: 16px; line-height: 1.35; flex: 1; }
.service-card .btn { align-self: flex-start; }

/* ============================================================
   Stats band (Section 3)
   ============================================================ */
.stats-band {
  background: linear-gradient(65deg, var(--amber-grad-from) 0%, var(--amber-grad-to) 132%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.stats-band__lead { font-weight: 500; font-size: 20px; margin-top: 18px; }
.stats-band__grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.stat-big { flex: 1; min-width: 220px; max-width: 300px; }
.stat-big__num { font-weight: 600; font-size: 100px; line-height: 1.1; }
.stat-big__label { font-weight: 500; font-size: 20px; margin-top: 18px; }

/* ============================================================
   Process (Section 4)
   ============================================================ */
.process { position: relative; overflow: hidden; padding: 70px 0; }
.process__glow { width: 700px; height: 620px; }
.process__glow--r { right: -300px; top: 20px; }
.process__glow--l { left: -400px; top: 80px; }
.process__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}
.step-card__num {
  display: flex; align-items: center; justify-content: center;
  width: 120px; height: 120px;
  background: var(--amber);
  color: var(--white);
  border-radius: 30px;
  font-weight: 600;
  font-size: 80px;
  line-height: 1;
}
.step-card__title { font-weight: 600; font-size: 28px; }
.step-card__text { font-weight: 500; font-size: 16px; line-height: 1.35; }

/* ============================================================
   Case studies (Section 5)
   ============================================================ */
.cases { position: relative; overflow: hidden; padding: 66px 0 70px; }
.cases__glow { width: 620px; height: 700px; right: -300px; top: 120px; }
.cases__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin-bottom: 40px; flex-wrap: wrap;
}
.cases__title { max-width: 430px; text-transform: capitalize; line-height: 1.2; }
/* Horizontal row that overflows past the container edge, mirroring the
   source frame's clipped card row. */
.cases__grid {
  display: flex;
  gap: 35px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.case-card {
  flex: 0 0 auto;
  width: 470px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 30px;
  display: flex;
  gap: 40px;
  align-items: center;
  overflow: hidden;
}
.case-card__info { display: flex; flex-direction: column; gap: 25px; flex: 1; min-width: 170px; }
.case-card__brand { height: 30px; width: auto; object-fit: contain; align-self: flex-start; margin-bottom: 40px; }
.case-card__num { font-weight: 700; font-size: 46px; line-height: 1.25; }
.case-card__label { font-weight: 500; font-size: 16px; margin-top: 12px; }
.case-card__info .btn { align-self: flex-start; }

/* Product ad card inside the case card */
.product-card {
  position: relative;
  flex-shrink: 0;
  width: 198.5px;
  height: 248px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
}
.product-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(177deg, rgba(62,53,40,0.85) 2%, rgba(62,53,40,0) 80%);
  mix-blend-mode: multiply;
}
.product-card__fg { position: absolute; left: 50%; transform: translateX(-50%); bottom: 30px; width: 184px; height: auto; }
.product-card__badge { position: absolute; top: 0; left: 50%; transform: translateX(-50%); height: 33px; width: auto; }
.product-card__pill {
  position: absolute; top: 37px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(131deg, #000 12%, #333 41%, #000 104%);
  color: var(--white); font-weight: 700; font-size: 9.7px; text-transform: uppercase;
  padding: 2px 6px; border-radius: 13px; white-space: nowrap;
}
.product-card__caption { position: absolute; top: 56px; left: 50%; transform: translateX(-50%); width: 166px; text-align: center; }
.product-card__headline { font-family: var(--font-arabic); font-weight: 800; font-size: 14.3px; line-height: 1.1; color: var(--white); text-transform: capitalize; text-shadow: 0.4px 0.4px 3.7px rgba(70,44,17,0.45); }
.product-card__sub { font-family: var(--font-arabic); font-weight: 600; font-size: 6.6px; line-height: 1.2; color: var(--white); margin-top: 8px; text-shadow: 0.4px 0.4px 3.7px rgba(70,44,17,0.45); }
.product-card__suitable { position: absolute; left: 19px; bottom: 14px; display: flex; flex-direction: column; gap: 4px; }
.product-card__tag {
  align-self: flex-start;
  background: linear-gradient(121deg, rgba(0,0,0,0.9) 12%, rgba(51,51,51,0.9) 41%, rgba(0,0,0,0.9) 104%);
  color: var(--white); font-family: var(--font-arabic); font-size: 6.6px; padding: 1px 5px; border-radius: 18px;
  box-shadow: -0.7px 1.1px 2.2px rgba(129,87,66,0.2);
}
.product-card__suitable ul { font-family: var(--font-arabic); font-size: 6.6px; color: #000; padding-left: 12px; list-style: disc; line-height: 1.3; }

/* ============================================================
   Tech stack (Section 6)
   ============================================================ */
.tech { position: relative; overflow: hidden; padding: 0 0 35px; }
.tech__glow { width: 620px; height: 700px; right: -260px; top: -360px; }
.tech__title { text-align: center; text-transform: capitalize; margin-bottom: 36px; }
.tech__card {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 40px;
}
.tech__logos { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.tech__logos img { height: 42px; width: auto; object-fit: contain; }

/* ============================================================
   Testimonials (Section 7)
   ============================================================ */
.testimonials { position: relative; overflow: hidden; padding: 35px 0 70px; }
.testimonials__glow { width: 590px; height: 530px; left: 120px; top: 200px; }
.testimonials__title { text-align: center; text-transform: capitalize; margin-bottom: 36px; line-height: 1.2; }
.testimonials__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 35px; }
.testi-card {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 31px;
}
.testi-card__stars { height: 16.7px; width: auto; }
.testi-card__quote { font-size: 14px; line-height: 1.45; font-style: normal; }
.testi-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.testi-card__person { display: flex; align-items: center; gap: 16px; }
.testi-card__avatar { width: 39px; height: 39px; border-radius: 50%; object-fit: cover; background: var(--ink); }
.testi-card__name { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.25; }
.testi-card__name b { font-weight: 700; }
.testi-card__name small { font-size: 14px; font-weight: 400; }
.testi-card__brand { height: 16.7px; width: auto; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.6); padding: 50px 0 0; }
.footer__inner {
  display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap;
  max-width: calc(var(--container-narrow) + var(--gutter) * 2);
}
.footer__brand { display: flex; flex-direction: column; gap: 28px; }
.footer__logo { width: 62px; height: auto; }
.footer__social { display: flex; gap: 19px; align-items: center; }
.footer__social a { display: inline-flex; opacity: 0.9; transition: opacity 0.2s ease; }
.footer__social a:hover { opacity: 1; }
.footer__social img { width: 21px; height: 21px; }
/* Instagram is a 3-layer composite (outer frame, lens, flash dot) exported
   from the design; stack the layers using their original insets. */
.ig-icon { position: relative; display: inline-block; width: 21px; height: 21px; }
.ig-icon img { position: absolute; width: auto; height: auto; }
.ig-icon img[style*="inset:0"] { inset: 0; width: 100%; height: 100%; }
.footer__contact--indent { padding-left: 36px; }
.footer__contact { display: flex; flex-direction: column; gap: 16px; }
.footer__contact li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.footer__contact img { width: 24px; height: 24px; }
.footer__contact a:hover { color: var(--white); }
.footer__links { display: flex; gap: 40px; }
.footer__col h3 { color: var(--silk-white); font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 14px; }
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  max-width: calc(var(--container-narrow) + var(--gutter) * 2);
  margin-top: 22px; padding-top: 22px; padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a:hover { color: var(--white); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
  :root { --gutter: 64px; }
  .hero__grid { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: 52px; }
  .stat-big__num { font-size: 84px; }
}

@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .navbar__menu { gap: 0; }
  .navbar__menu a { padding: 8px 12px; font-size: 14px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  /* Collapse the centre pill nav into a slide-down menu */
  .navbar__toggle { display: flex; order: 3; }
  .navbar__nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg);
    flex-direction: column;
    padding: 16px var(--gutter) 24px;
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
    display: none;
  }
  .navbar__nav.is-open { display: flex; }
  .navbar__menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 4px;
  }
  .navbar__menu a { text-align: center; }
  .navbar__cta { display: none; }
  .navbar__nav .navbar__cta { display: inline-flex; margin-top: 12px; align-self: center; }
  .process__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .hero { padding-top: 56px; }
  /* minmax(0,1fr) removes the implicit min-content floor so the wide dashboard
     mockup can't push the hero text past the viewport edge. */
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero__copy { gap: 40px; min-width: 0; }
  .dashboard { max-width: 582px; width: 100%; overflow: hidden; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .hero__title { font-size: 40px; }
  .section-title { font-size: 28px; }
  .eyebrow { font-size: 16px; }
  .services__grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .testimonials__grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .stat-big__num { font-size: 64px; }
  .stats-band__grid { flex-direction: column; align-items: center; gap: 32px; }
  .cases__head { justify-content: center; text-align: center; }
  .cases__title { text-align: center; }
  .case-card { width: min(470px, 84vw); flex-direction: column; align-items: stretch; }
  .case-card__brand { margin-bottom: 8px; }
  .product-card { align-self: center; }
  .hero__actions .btn { flex: 1; }
  .footer__inner { gap: 40px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.sv-hero { position: relative; overflow: hidden; background: var(--bg); padding: 90px 0 40px; }
.sv-hero__glow { width: 620px; height: 620px; right: -120px; top: 140px; }
.sv-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 595px) minmax(0, 459px); gap: 46px; align-items: center; }
.sv-hero__copy { display: flex; flex-direction: column; gap: 35px; align-items: flex-start; }
.sv-hero__title { font-weight: 700; font-size: 64px; line-height: 1.3; text-transform: capitalize; }
.sv-hero__lead { font-size: 16px; line-height: 1.35; }
.sv-hero__card { background: rgba(255, 255, 255, 0.15); border: 2px solid var(--white); border-radius: 40px; box-shadow: 0 6px 62px rgba(0, 0, 0, 0.05); height: 415px; display: flex; align-items: center; justify-content: center; padding: 30px; }
.sv-hero__card img { max-width: 345px; max-height: 100%; width: 100%; height: auto; object-fit: contain; }

.sv-intro { padding: 40px 0 10px; }

/* Alternating service blocks */
.sv-blocks { position: relative; overflow: hidden; padding: 20px 0 40px; }
.sv-blocks__glow { width: 560px; height: 560px; }
.sv-blocks__glow--r { right: -280px; top: 200px; }
.sv-blocks__glow--l { left: -320px; top: 900px; }
.sv-block { position: relative; z-index: 1; display: grid; grid-template-columns: 459px 1fr; gap: 90px; align-items: center; padding: 45px var(--gutter); }
.sv-block--reverse .sv-block__media { order: 2; }
.sv-block__media { background: rgba(255, 255, 255, 0.15); border: 2px solid var(--white); border-radius: 40px; box-shadow: 0 6px 62px rgba(0, 0, 0, 0.05); height: 415px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 24px; }
.sv-block__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sv-block__copy { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; max-width: 560px; }
.sv-block__head { display: flex; flex-direction: column; gap: 14px; }
.sv-block__title { font-weight: 600; font-size: 28px; text-transform: capitalize; }
.sv-block__tag { font-weight: 700; font-size: 16px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--amber); }
.sv-block__text { font-size: 14px; line-height: 1.35; }
.sv-list { display: flex; flex-direction: column; gap: 5px; list-style: disc; padding-left: 21px; font-size: 14px; line-height: 1.35; }
.sv-list strong { font-weight: 600; }
.sv-metrics { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.sv-metrics__pill { background: var(--amber); color: var(--white); font-weight: 600; padding: 5px 10px; border-radius: 30px; white-space: nowrap; }

/* Graphic-design collage (approximation of the Figma sample grid) */
.sv-collage { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 10px; padding: 18px; }
.sv-collage img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; box-shadow: 0 4px 12px rgba(0,0,0,0.12); }

/* We Measure */
.sv-measure { position: relative; overflow: hidden; padding: 50px 0 70px; }
.sv-measure__glow { width: 800px; height: 700px; left: 50%; top: -80px; transform: translateX(-30%); }
.sv-measure__panel { position: relative; z-index: 1; background: rgba(255, 255, 255, 0.2); border: 2px solid var(--white); border-radius: var(--r-lg); box-shadow: 0 7.5px 30px rgba(0, 0, 0, 0.10); padding: 60px; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.sv-measure__panel .section-title { text-align: center; }
.sv-steps { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; width: 100%; max-width: 900px; position: relative; }
/* connector line behind the icons */
.sv-steps::before { content: ""; position: absolute; top: 50px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,170,60,0.6) 0 10px, transparent 10px 18px); z-index: 0; }
.sv-step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; flex: 1; }
.sv-step__ic { display: flex; align-items: center; justify-content: center; width: 100px; height: 100px; }
.sv-step__ic--box { background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(255,255,255,0.6)); border: 1.5px solid var(--white); border-radius: 25px; box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08); }
.sv-step__ic img { max-width: 56px; max-height: 56px; }
.sv-step__txt { display: flex; flex-direction: column; gap: 4px; }
.sv-step__txt b { font-weight: 600; font-size: 18px; }
.sv-step__txt span { font-size: 14px; }

/* CTA + contact form */
.sv-contact { padding: 0; }
.sv-contact__inner { position: relative; overflow: hidden; background: linear-gradient(-41deg, var(--amber-grad-from) 8%, var(--amber-grad-to) 126%); }
.sv-contact__grid { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 30px; align-items: flex-start; padding-top: 60px; padding-bottom: 60px; max-width: calc(760px + var(--gutter) * 2); margin-inline: 0; }
.sv-contact__copy { color: var(--white); max-width: 557px; }
.sv-contact__title { font-weight: 600; font-size: 36px; text-transform: capitalize; margin-bottom: 20px; }
.sv-contact__sub { font-weight: 500; font-size: 20px; line-height: 1.35; }
.sv-form { display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: 687px; }
.sv-input { background: var(--white); border: 0; border-radius: 10px; padding: 15px 30px; font-family: var(--font-sans); font-size: 18px; color: var(--ink); }
.sv-input::placeholder { color: #bebebe; }
.sv-input:focus { outline: 2px solid var(--ink); }
.sv-input--area { resize: vertical; min-height: 160px; }
.sv-form__btn { background: var(--ink); color: var(--white); align-self: flex-start; padding-left: 20px; padding-right: 9px; }
.sv-form__btn:hover { filter: brightness(1.15); transform: translateY(-1px); }
.sv-contact__hand { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 500px; max-width: 42%; height: auto; z-index: 0; pointer-events: none; }

@media (max-width: 1024px) {
  .sv-block { grid-template-columns: 1fr; gap: 32px; max-width: 560px; margin-inline: auto; }
  .sv-block--reverse .sv-block__media { order: 0; }
  .sv-block__media { height: auto; aspect-ratio: 459 / 415; }
  .sv-measure__panel { padding: 40px 24px; }
  .sv-steps { flex-wrap: wrap; gap: 32px; }
  .sv-steps::before { display: none; }
  .sv-step { flex: 1 1 40%; min-width: 160px; }
  .sv-contact__hand { opacity: 0.25; max-width: 60%; }
}
@media (max-width: 860px) {
  .sv-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sv-hero__title { font-size: 48px; }
}
@media (max-width: 640px) {
  .sv-hero { padding-top: 56px; }
  .sv-hero__title { font-size: 38px; }
  .sv-hero__card { height: auto; aspect-ratio: 459 / 415; }
  .sv-step { flex: 1 1 100%; }
  .sv-contact__title { font-size: 28px; }
  .sv-contact__sub { font-size: 18px; }
  .sv-contact__hand { display: none; }
}

/* ============================================================
   PLACEHOLDER (pages not yet designed)
   ============================================================ */
.placeholder { position: relative; overflow: hidden; }
.placeholder__inner { position: relative; z-index: 1; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 20px; padding-top: 80px; padding-bottom: 80px; }
.placeholder__title { font-size: 40px; }
.placeholder__text { max-width: 560px; font-size: 16px; line-height: 1.5; }

/* ============================================================
   ECOMMERCE PAGE
   ============================================================ */
.ec-center { text-align: center; }

/* Hero */
.ec-hero { position: relative; overflow: hidden; background: var(--bg); padding: 90px 0 60px; }
.ec-hero__glow { width: 620px; height: 560px; right: -140px; top: 120px; }
.ec-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 595px) minmax(0, 459px); gap: 46px; align-items: center; }
.ec-hero__copy { display: flex; flex-direction: column; gap: 35px; }
.ec-hero__title { font-weight: 700; font-size: 64px; line-height: 1.3; text-transform: capitalize; }
.ec-hero__lead { font-size: 16px; line-height: 1.35; }
.ec-partners { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 63px; }
.ec-partner { display: flex; align-items: center; gap: 13px; }
.ec-partner img { height: 43px; width: auto; object-fit: contain; }
.ec-partner b { display: block; font-weight: 700; font-size: 18px; }
.ec-partner small { display: block; font-size: 14px; color: var(--muted); }
.ec-hero__card { background: rgba(255, 255, 255, 0.2); border-radius: 40px; box-shadow: 0 5px 30.9px rgba(0, 0, 0, 0.05); padding: 33px 45px; display: flex; align-items: center; justify-content: center; }
.ec-hero__card img { width: 100%; max-width: 368px; height: auto; }

/* Panels (tech + cro share a big translucent panel) */
.ec-panel { position: relative; z-index: 1; background: rgba(255, 255, 255, 0.25); border: 2px solid var(--white); border-radius: var(--r-lg); box-shadow: 0 7.5px 30px rgba(0, 0, 0, 0.07); padding: 60px; display: flex; flex-direction: column; align-items: center; gap: 45px; }

/* What We Do */
.ec-what { position: relative; overflow: hidden; padding: 70px 0; }
.ec-what__glow { width: 620px; height: 560px; right: -180px; top: -260px; }
.ec-what .section-title { margin-bottom: 60px; }
.ec-what__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ec-what-card { background: linear-gradient(90deg, rgba(255,255,255,0.5), rgba(255,255,255,0.5)); border: 1px solid var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 50px; display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.ec-what-card__icon { display: flex; align-items: center; justify-content: center; width: 133px; height: 115px; background: rgba(255, 255, 255, 0.6); border-radius: 25px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); }
.ec-what-card__icon img { width: 66px; height: 66px; object-fit: contain; }
.ec-what-card__text { font-size: 16px; line-height: 1.35; }

/* Tech partners */
.ec-tech { position: relative; overflow: hidden; padding: 0 0 70px; }
.ec-tech__glow { width: 620px; height: 560px; left: -300px; top: -60px; }
.ec-tech__sub { max-width: 731px; margin-inline: auto; }
.ec-tech__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 45px; max-width: 814px; }
.ec-tech__logos img { height: 44px; width: auto; object-fit: contain; }

/* CRO framework */
.ec-cro { position: relative; overflow: hidden; padding: 0 0 70px; }
.ec-cro__glow { width: 620px; height: 620px; right: -260px; top: -40px; }
.ec-steps { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; width: 100%; }
.ec-step { background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(255,255,255,0.6)); border: 2px solid var(--white); border-radius: 25px; box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08); padding: 24px 40px; display: flex; flex-direction: column; align-items: center; gap: 20px; min-width: 146px; }
.ec-step__ic { display: flex; align-items: center; justify-content: center; width: 49px; height: 49px; }
.ec-step__ic img { max-width: 100%; max-height: 100%; }
.ec-step span:last-child { font-weight: 600; font-size: 16px; }
.ec-step__arrow { display: flex; align-items: center; }
.ec-step__arrow img { width: 28px; height: auto; opacity: 0.8; }

/* Pricing */
.ec-pricing { position: relative; overflow: hidden; padding: 35px 0 70px; }
.ec-pricing__glow { width: 620px; height: 620px; right: -220px; top: 60px; }
.ec-pricing__title { margin-bottom: 60px; line-height: 1.2; }
.ec-plans { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: center; }
.plan { background: rgba(255, 255, 255, 0.2); border: 1px solid var(--white); border-radius: 24px; box-shadow: var(--shadow-card); padding: 30px 32px 32px; display: flex; flex-direction: column; gap: 32px; }
.plan__head { display: flex; flex-direction: column; gap: 4px; }
.plan__name { font-weight: 700; font-size: 20px; letter-spacing: -0.8px; }
.plan__desc { font-size: 14px; color: rgba(30, 30, 30, 0.45); letter-spacing: -0.42px; }
.plan__price { display: flex; align-items: baseline; gap: 2px; flex-wrap: wrap; font-family: "Space Grotesk", var(--font-sans); color: var(--ink); }
.plan__cur { font-weight: 500; font-size: 42px; letter-spacing: -1.68px; }
.plan__amt { font-weight: 700; font-size: 42px; letter-spacing: -1.68px; }
.plan__per { font-weight: 700; font-size: 20.64px; }
.plan__features { display: flex; flex-direction: column; gap: 11px; min-height: 150px; }
.plan__features li { display: flex; align-items: flex-start; gap: 6px; font-size: 16px; letter-spacing: -0.48px; text-transform: capitalize; }
.plan__features img { width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; }
.plan__btn { width: 100%; border-radius: 9999px; padding: 12px 24px; }
.plan-featured { background: linear-gradient(85deg, rgba(255,181,73,0.85), rgba(242,126,2,0.85)); border-radius: 28px; box-shadow: var(--shadow-card); padding: 10px 6px 6px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.plan-featured__tag { font-weight: 600; font-size: 12px; letter-spacing: 0.96px; color: #1a1a1a; }
.plan--growth { background: rgba(255, 255, 255, 0.85); width: 100%; }

/* FAQ */
.ec-faq { position: relative; overflow: hidden; padding: 35px 0 70px; }
.ec-faq__glow { width: 620px; height: 620px; right: -220px; top: -40px; }
.ec-faq .section-title { margin-bottom: 60px; }
.faq { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 30px; max-width: 1200px; margin-inline: auto; }
.faq__item { background: rgba(255, 255, 255, 0.6); border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px; font-weight: 500; font-size: 20px; letter-spacing: -0.4px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chevron { display: flex; transition: transform 0.25s ease; }
.faq__chevron img { width: 12px; height: auto; }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__body { padding: 0 28px 28px; font-size: 16px; line-height: 1.5; color: rgba(30, 30, 30, 0.75); }

/* CTA banner */
.ec-cta-wrap { padding: 35px 0 70px; }
.ec-cta { position: relative; overflow: hidden; border-radius: 24px; box-shadow: 0 7.5px 30px rgba(0, 0, 0, 0.07); background: linear-gradient(-80deg, var(--amber-grad-from), var(--amber-grad-to)); min-height: 337px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 48px 67px; }
.ec-cta__copy { display: flex; flex-direction: column; gap: 31px; max-width: 427px; color: var(--white); }
.ec-cta__title { font-weight: 600; font-size: 36px; line-height: 1.2; text-transform: capitalize; }
.ec-cta__sub { font-weight: 500; font-size: 20px; line-height: 1.35; }
.ec-cta__btn { background: var(--ink); color: var(--white); align-self: flex-start; padding-left: 20px; padding-right: 9px; }
.ec-cta__btn:hover { filter: brightness(1.15); transform: translateY(-1px); }
.ec-cta__art { width: 350px; max-width: 45%; height: auto; align-self: center; }

@media (max-width: 1024px) {
  .ec-what__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .ec-plans { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .ec-panel { padding: 40px 28px; }
}
@media (max-width: 860px) {
  .ec-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ec-hero__title { font-size: 48px; }
  .ec-partners { margin-top: 8px; }
  .ec-cta { flex-direction: column; text-align: center; padding: 40px 28px; }
  .ec-cta__copy { max-width: none; align-items: center; }
  .ec-cta__btn { align-self: center; }
  .ec-cta__art { max-width: 320px; width: 80%; }
}
@media (max-width: 640px) {
  .ec-hero { padding-top: 56px; }
  .ec-hero__title { font-size: 38px; }
  .ec-hero__card { padding: 24px; }
  .ec-steps { flex-direction: column; }
  .ec-step { width: min(280px, 80vw); }
  .ec-step__arrow { transform: rotate(90deg); }
  .ec-cta__title { font-size: 28px; }
}

