/* ===== Reset & base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ink: #0e0e14;         /* headings */
  --body: #5c5c6b;        /* body copy */
  --muted: #8d8d9c;       /* meta */
  --line: #e8e8ef;        /* borders */
  --bg: #ffffff;
  --tint: #f6f6fa;        /* alternating band */
  --soft: #fafafd;        /* card fill on white */
  --dark: #10101a;        /* dark panel */
  --brand: #8E09D8;
  --brand-dark: #6a05a3;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(14, 14, 20, 0.05);
  --shadow: 0 10px 30px rgba(14, 14, 20, 0.07);
  --shadow-lg: 0 24px 60px rgba(14, 14, 20, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* guards against stray horizontal scroll from shadows/floating pills */
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

/* Long unbroken strings (URLs, phone numbers) must never widen the layout */
h1, h2, h3, p, li, a {
  overflow-wrap: break-word;
}

/* Icon sprite is never rendered directly */
.sprite {
  display: none;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== Shared type ===== */
.h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.h2--light {
  color: #fff;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.tag--light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #d9b6f2;
  box-shadow: none;
}

.head {
  max-width: 720px;
  margin-bottom: 56px;
}

.head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.head__desc {
  margin-top: 16px;
  font-size: 17px;
  color: var(--body);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.btn__icon {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(142, 9, 216, 0.32);
}

.btn--primary:hover {
  transform: translateY(-2px);
  background: var(--brand-dark);
}

.btn--white {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  transform: translateY(-2px);
  background: var(--brand);
}

/* Frosted button used on photos and coloured panels */
.btn--glass {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

/* ===== Gradient icon tiles ===== */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  color: #fff;
  margin-bottom: 22px;
  background: linear-gradient(140deg, var(--g1), var(--g2));
  box-shadow: 0 8px 18px var(--g-shadow, rgba(14, 14, 20, 0.14));
  flex-shrink: 0;
}

.icon svg {
  width: 22px;
  height: 22px;
}

.icon--violet { --g1: #9d2ae8; --g2: #6a05a3; --g-shadow: rgba(142, 9, 216, 0.3); }
.icon--blue   { --g1: #3f8bff; --g2: #1f4fd8; --g-shadow: rgba(63, 139, 255, 0.3); }
.icon--teal   { --g1: #2bc4d8; --g2: #0d8a9c; --g-shadow: rgba(43, 196, 216, 0.3); }
.icon--green  { --g1: #34cb8b; --g2: #12885a; --g-shadow: rgba(52, 203, 139, 0.3); }
.icon--amber  { --g1: #ffc043; --g2: #e08700; --g-shadow: rgba(255, 176, 46, 0.32); }
.icon--orange { --g1: #ff8a4c; --g2: #e14d16; --g-shadow: rgba(255, 122, 60, 0.3); }
.icon--pink   { --g1: #ff6fa5; --g2: #d81e63; --g-shadow: rgba(255, 111, 165, 0.3); }

/* Icon on dark / coloured surfaces */
.icon--onDark {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

/* ===== Hero ===== */
.hero {
  /* sticky = stays pinned while the next section scrolls up over it (parallax) */
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100vh;
  /* svh avoids the mobile address-bar jump that makes 100vh overflow */
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* Zooming background layer. The gradient is a fallback so the banner still
   reads well before assets/image/seo-banner.jpg is dropped in. */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(140deg, #2a0b4a 0%, #14142a 55%, #0a0a12 100%);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
  /* smooths the JS-driven scale updates on scroll */
  transition: transform 0.1s linear;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(8, 8, 14, 0.9) 0%,
      rgba(8, 8, 14, 0.55) 42%,
      rgba(8, 8, 14, 0.18) 76%,
      rgba(8, 8, 14, 0.08) 100%
    ),
    rgba(8, 8, 14, 0.26);
}

/* Content row: text bottom-left, action on the right */
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 88px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  /* fade behaviour driven by JS via --hero-opacity */
  opacity: var(--hero-opacity, 1);
  transform: translateY(calc((1 - var(--hero-opacity, 1)) * 40px));
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero__content {
  max-width: 720px;
  color: #fff;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px 5px 5px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.hero__badge strong {
  background: #fff;
  color: var(--ink);
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero__title {
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__aside {
  flex-shrink: 0;
  padding-bottom: 4px;
}

/* ===== Sections sit above the sticky hero ===== */
.intro,
.services,
.local,
.section,
.cta-section {
  position: relative;
  z-index: 2;
  background: var(--bg);
}

.section {
  padding: 100px 0;
}

.section--tint {
  background: var(--tint);
}

/* ===== Intro + trust strip ===== */
.intro {
  padding: 90px 0 100px;
  border-radius: 24px 24px 0 0; /* soft lip as it rises over the hero */
}

/* Stat card straddles the hero edge */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0 0 90px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.stat {
  padding: 34px 30px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: none;
}

.stat__value {
  display: block;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 10px;
  background: linear-gradient(120deg, var(--brand), #3f8bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat__label {
  font-size: 14px;
  color: var(--body);
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.intro__body p {
  font-size: 17px;
  margin-bottom: 16px;
}

.intro__tagline {
  font-size: 19px;
  font-weight: 600;
  color: var(--brand);
}

/* ===== Cards (shared) ===== */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.card--soft {
  background: var(--soft);
}

.card__name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 10px;
}

.card__desc {
  font-size: 15px;
  line-height: 1.65;
}

.card__list {
  list-style: none;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 9px;
}

.card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--body);
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

/* ===== Services bento ===== */
.services {
  padding: 100px 0;
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card--wide {
  grid-column: span 2;
}

.card--feature {
  background: linear-gradient(160deg, #faf4ff 0%, #fff 60%);
  border-color: #ecdcf8;
}

/* The one purple card, used as the visual anchor of the grid */
.card--accent {
  background: linear-gradient(140deg, var(--brand) 0%, #5a0a95 100%);
  border-color: transparent;
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(142, 9, 216, 0.28);
}

.card--accent .card__name {
  color: #fff;
}

/* ===== Local SEO ===== */
.local {
  padding: 100px 0;
  background: var(--tint);
}

.local__inner {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.local__aside {
  position: sticky;
  top: 50px;
}

.local__intro {
  margin-top: 16px;
  font-size: 16px;
}

/* Covered-areas card */
.areas {
  margin-top: 26px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.areas__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.areas__pin {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

.areas__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.areas__list span {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--tint);
  font-size: 13px;
  color: var(--ink);
}

.local__nav {
  list-style: none;
  margin-top: 28px;
}

.local__link {
  display: block;
  padding: 11px 0 11px 16px;
  border-left: 2px solid transparent;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.local__link:hover {
  color: var(--ink);
}

.local__link.is-active {
  color: var(--brand);
  border-left-color: var(--brand);
}

.local__content {
  display: grid;
  gap: 18px;
}

.panel {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  scroll-margin-top: 90px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.panel .icon {
  margin-bottom: 0;
}

.panel__name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}

.panel__desc {
  font-size: 15px;
}

/* ===== Generic card grids ===== */
.grid {
  display: grid;
  gap: 20px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ===== Process ===== */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 20px;
  background: linear-gradient(140deg, var(--brand), #5a0a95);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(142, 9, 216, 0.26);
}

.step__title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}

.step__desc {
  font-size: 15px;
}

/* ===== What we measure (dark panel) ===== */
.measure {
  background: var(--dark);
  border-radius: 26px;
  padding: 64px 56px;
  color: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-lg);
  /* soft brand glow in the top-right corner */
  background-image: radial-gradient(
    620px 360px at 88% 0%,
    rgba(142, 9, 216, 0.4),
    transparent 70%
  );
}

.measure__head {
  max-width: 620px;
  margin-bottom: 52px;
}

.measure__desc {
  margin-top: 16px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.measure__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.metric {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 26px 24px;
  transition: background 0.22s ease, border-color 0.22s ease;
}

.metric:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.metric .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
}

.metric .icon svg {
  width: 20px;
  height: 20px;
}

.metric__name {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.metric__desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Industries chips ===== */
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.chips li:hover {
  transform: translateY(-3px);
  border-color: #e2cdf2;
  box-shadow: var(--shadow);
}

.chips__icon {
  width: 17px;
  height: 17px;
  color: var(--brand);
}

/* ===== SEO + development split ===== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}

.split__desc {
  margin-top: 18px;
  font-size: 17px;
}

.ticks {
  list-style: none;
  margin: 26px 0;
  display: grid;
  gap: 12px;
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  color: var(--ink);
}

.ticks svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
  flex-shrink: 0;
}

.split__tagline {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand);
}

/* Stylised browser + ranking chart */
.split__visual {
  position: relative;
  padding: 10px 20px 30px;
}

.mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.mock__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dcdce6;
}

.mock__url {
  margin-left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.mock__body {
  padding: 22px 20px 8px;
}

.mock__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.mock__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  border-radius: 7px;
  background: rgba(142, 9, 216, 0.1);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.mock__lines {
  display: grid;
  gap: 7px;
  flex: 1;
}

.mock__lines i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #ececf3;
}

.mock__lines i:first-child {
  background: #e0e0ea;
}

.mock__chart {
  display: block;
  width: 100%;
  height: 90px;
  margin-top: 12px;
}

/* Floating stat pills over the mock */
.floaty {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}

.floaty svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
  flex-shrink: 0;
}

.floaty span {
  display: grid;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

.floaty strong {
  font-size: 13px;
  color: var(--ink);
}

.floaty--a {
  left: -18px;
  bottom: 74px;
}

.floaty--b {
  right: -10px;
  top: 34px;
  animation-delay: 1.6s;
}

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

/* ===== CTA ===== */
.cta-section {
  padding: 0 0 100px;
}

.cta {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 76px 56px;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(135deg, #3d0764 0%, var(--brand) 55%, #b23bf0 100%);
  box-shadow: var(--shadow-lg);
}

/* subtle light bloom behind the headline */
.cta::before {
  content: "";
  position: absolute;
  inset: -40% 40% 40% -20%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 60%);
  pointer-events: none;
}

.cta > * {
  position: relative;
}

.cta__title {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
  max-width: 760px;
  margin-inline: auto;
}

.cta__desc {
  font-size: 17px;
  max-width: 680px;
  margin: 0 auto;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.cta__meta {
  margin-top: 26px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

/* ===== FAQ ===== */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.faq__aside {
  position: sticky;
  top: 60px;
}

.faq__help {
  margin-top: 30px;
  padding: 24px 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq__help-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.faq__help-sub {
  font-size: 14px;
  margin-bottom: 18px;
}

.faq__list {
  display: grid;
  gap: 10px;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.faq__item.is-open {
  border-color: #e2cdf2;
  box-shadow: var(--shadow);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

/* plus icon that rotates into an × when open */
.faq__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--muted);
  border-radius: 2px;
}

.faq__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq__icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq__item.is-open .faq__icon {
  transform: rotate(135deg); /* + becomes × */
}

.faq__item.is-open .faq__icon::before,
.faq__item.is-open .faq__icon::after {
  background: var(--brand);
}

/* animated answer reveal */
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}

.faq__a > div {
  overflow: hidden;
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

.faq__a p {
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.65;
  max-width: 640px;
}

/* ===== Scroll reveal ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__img,
  .floaty {
    transition: none;
    animation: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3,
  .steps,
  .measure__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .local__inner,
  .faq,
  .split {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .local__aside,
  .faq__aside {
    position: static;
  }
  .floaty--a { left: 0; }
  .floaty--b { right: 0; }
}

@media (max-width: 900px) {
  .wrap {
    padding: 0 24px;
  }
  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 24px 64px;
    gap: 28px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    margin: 0 0 64px;
  }
  .stat:nth-child(2n) {
    border-right: none;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .intro__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .section,
  .services,
  .local {
    padding: 72px 0;
  }
  .intro {
    padding: 64px 0 72px;
  }
  .cta-section {
    padding-bottom: 72px;
  }
  .head {
    margin-bottom: 40px;
  }
  .measure {
    padding: 44px 28px;
  }
  .cta {
    padding: 56px 28px;
  }
}

@media (max-width: 640px) {
  .bento,
  .grid--3,
  .steps,
  .measure__grid {
    grid-template-columns: 1fr;
  }
  .card--wide {
    grid-column: span 1;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .stat:last-child {
    border-bottom: none;
  }
  .hero__actions .btn,
  .cta__actions .btn,
  .hero__aside .btn {
    width: 100%;
  }
  .panel {
    flex-direction: column;
    gap: 16px;
    padding: 24px 22px;
  }
  .floaty {
    display: none;
  }
  .split__visual {
    padding: 0;
  }
  .section,
  .services,
  .local {
    padding: 60px 0;
  }
  .intro {
    padding: 52px 0 60px;
  }
  .cta-section {
    padding-bottom: 60px;
  }
  .head {
    margin-bottom: 32px;
  }
  .stats {
    margin-bottom: 48px;
  }
  .card,
  .step {
    padding: 26px 22px;
  }
  .measure {
    padding: 40px 22px;
    border-radius: 20px;
  }
  .cta {
    padding: 48px 22px;
    border-radius: 20px;
  }
  .chips {
    justify-content: flex-start;
  }
  .chips li {
    padding: 11px 16px;
    font-size: 14px;
  }
  .faq__q {
    padding: 18px 20px;
    font-size: 15px;
  }
  .faq__a p {
    padding: 0 20px 20px;
  }
}

/* ===== Small phones ===== */
@media (max-width: 420px) {
  .wrap {
    padding: 0 18px;
  }
  .hero {
    min-height: 560px;
  }
  .hero__inner {
    padding: 0 18px 52px;
    gap: 22px;
  }
  .hero__badge {
    margin-bottom: 20px;
    font-size: 12px;
  }
  .hero__subtitle {
    font-size: 16px;
    margin-bottom: 26px;
  }
  .icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin-bottom: 18px;
  }
  .stat {
    padding: 26px 22px;
  }
  .stat__value {
    font-size: 34px;
  }
  .areas {
    padding: 18px 18px;
  }
  .mock__body {
    padding: 16px 14px 6px;
  }
  .mock__url {
    font-size: 11px;
  }
  .ticks li {
    font-size: 15px;
    align-items: flex-start;
  }
  .cta__meta {
    letter-spacing: 0.06em;
  }
}
