/* ==========================================================================
   RAF BUILDING — HOUSE EXTENSIONS PAGE
   A page-level redesign that follows the layout grammar of the supplied
   reference — arched hero, overlapping trust bar, numbered section labels,
   blueprint cards, takeaway panel, dark value band and photographic closing
   CTA — restyled to the RAF Building identity: logo cyan and charcoal,
   warm neutral surfaces, Fraunces display headings and Inter body copy.

   Everything is scoped to .ext-page so the shared header, footer and the
   other service pages are untouched.
   ========================================================================== */

.ext-page {
  --n: #1a1c1e;
  --n2: #23272b;
  --g: #1eb2d6;
  --gd: #0f596b;
  --gi: #0f596b;
  --cr: #f7f5f2;
  --sd: #f4f6f7;
  --ln: #e4e1dc;
  --mu: #667075;
  --tx: #2f3438;
  --hh: var(--header-h, 92px);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--tx);
  background: #fff;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.ext-page *,
.ext-page *::before,
.ext-page *::after { box-sizing: border-box; }

.ext-page img { max-width: 100%; }
.ext-page p { margin: 0 0 1.1rem; }
.ext-page p:last-child { margin-bottom: 0; }

.ext-page h1,
.ext-page h2,
.ext-page h3 {
  font-family: var(--font-display);
  color: var(--n);
  text-wrap: balance;
  font-weight: 600;
}

.ext-page h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}

.ext-page h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1.15rem;
  max-width: 24ch;
}

.ext-page h3 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 2rem 0 0.7rem;
}

.ext-page ::selection { background: var(--g); color: var(--n); }

.ext-page :focus-visible {
  outline: 3px solid var(--g);
  outline-offset: 3px;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   Shell + typography helpers
   -------------------------------------------------------------------------- */
.ex-wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.ex-sec {
  position: relative;
  padding: clamp(3.8rem, 8vw, 7rem) 0;
  scroll-margin-top: calc(var(--hh) + 24px);
}

.ex-cream { background: var(--cr); }
.ex-sand { background: var(--sd); }
.ex-white { background: #fff; }

.ex-dark { background: var(--n); color: #9ba1a6; }
.ex-dark h2,
.ex-dark h3 { color: #fff; }

.ex-lead {
  font-size: clamp(1.15rem, 1.9vw, 1.38rem);
  line-height: 1.65;
  font-weight: 600;
  color: var(--n);
  max-width: 62ch;
  margin: 0 0 1.2rem;
}

.ex-p {
  font-size: clamp(1rem, 1.2vw, 1.06rem);
  line-height: 1.85;
  max-width: 70ch;
  margin: 0 0 1.1rem;
}

.ex-src {
  color: var(--mu);
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 0.9rem 0 0;
}

.ex-g2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.ex-g2 > * { min-width: 0; }

.ex-sticky { position: sticky; top: calc(var(--hh) + 40px); }

.ex-eye {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
  color: var(--gi);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
}

.ex-eye i {
  font-style: normal;
  display: grid;
  place-items: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: var(--n);
  color: var(--g);
  letter-spacing: 0;
  font-size: 0.74rem;
}

.ex-dark .ex-eye { color: #6edaea; }
.ex-dark .ex-eye i { background: var(--g); color: var(--n); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.ex-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 56px;
  padding: 0.85rem 1.75rem;
  border: 2px solid var(--g);
  border-radius: 999px;
  background: var(--g);
  color: #111315;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(30, 178, 214, 0.55);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.ex-btn:hover {
  background: #6edaea;
  border-color: #6edaea;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -10px rgba(30, 178, 214, 0.65);
}

.ex-btn:active { transform: none; }

.ex-btn--navy {
  background: var(--n);
  border-color: var(--n);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(17, 19, 21, 0.55);
}
.ex-btn--navy:hover { background: var(--n2); border-color: var(--n2); }

.ex-btn--line {
  background: transparent;
  border-color: var(--n);
  color: var(--n);
  box-shadow: none;
}
.ex-btn--line:hover { background: var(--n); border-color: var(--n); color: #fff; }

.ex-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  box-shadow: none;
}
.ex-btn--ghost:hover {
  background: #fff;
  border-color: #fff;
  color: #111315;
}

.ex-acts { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.js .ex-rv {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.85s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .ex-rv.in { opacity: 1; transform: none; }
.ex-rv.d1 { transition-delay: 0.1s; }
.ex-rv.d2 { transition-delay: 0.2s; }
.ex-rv.d3 { transition-delay: 0.3s; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.ex-hero {
  position: relative;
  overflow: hidden;
  background: var(--cr);
  padding:
    calc(var(--hh) + clamp(2rem, 4.5vw, 3.6rem))
    0
    clamp(5.2rem, 9vw, 7.2rem);
}

.ex-hero::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -30%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 178, 214, 0.22), transparent 65%);
  pointer-events: none;
}

.ex-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(17, 19, 21, 0.04) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(17, 19, 21, 0.04) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  pointer-events: none;
}

.ex-hgrid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.ex-crumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ln);
  list-style: none;
  font-size: 0.82rem;
  color: var(--mu);
}

.ex-crumb li { display: inline-flex; align-items: center; gap: 0.5rem; }
.ex-crumb li + li::before {
  content: "\203A";
  color: var(--gd);
  margin-right: 0.1rem;
}
.ex-crumb a {
  color: var(--n);
  text-decoration: none;
  font-weight: 700;
}
.ex-crumb a:hover { text-decoration: underline; }

.ex-hero h1 span {
  background: linear-gradient(transparent 62%, rgba(30, 178, 214, 0.3) 62%);
  padding: 0 0.08em;
}

.ex-hero__lead {
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.78;
  max-width: 56ch;
  margin: 0 0 1.7rem;
  color: var(--tx);
}

.ex-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

.ex-chips a {
  display: inline-block;
  padding: 0.48rem 1rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ln);
  color: var(--n);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ex-chips a:hover {
  background: var(--n);
  border-color: var(--n);
  color: #fff;
}

.ex-hvis {
  position: relative;
  padding: 0 0 2rem 2.2rem;
}

.ex-ph {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 40px 70px -36px rgba(17, 19, 21, 0.55);
  background: var(--sd);
}

.ex-ph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ex-ph--arch { border-radius: 999px 999px 32px 32px; }
.ex-ph--arch img { aspect-ratio: 3 / 4; }
.ex-ph--wide img { aspect-ratio: 4 / 3; }
.ex-ph--tall img { aspect-ratio: 4 / 5; }

.ex-hvis .ex-ph--arch { max-width: 460px; margin-left: auto; }

.ex-circ {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38%;
  max-width: 190px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 7px solid var(--cr);
  box-shadow: 0 24px 40px -16px rgba(17, 19, 21, 0.55);
  background: var(--sd);
}

.ex-circ img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ex-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.1rem 0.7rem 0.8rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 40px -20px rgba(17, 19, 21, 0.5);
  font-size: 0.78rem;
  line-height: 1.25;
  color: var(--mu);
  font-weight: 700;
}

.ex-float b {
  display: block;
  color: var(--n);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.ex-float i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--n);
  color: var(--g);
  font-style: normal;
  font-weight: 700;
  flex: none;
}

.ex-float--a { right: -0.4rem; top: 12%; }
.ex-float--b { right: 1.2rem; bottom: 0; }

/* --------------------------------------------------------------------------
   Overlapping trust bar
   -------------------------------------------------------------------------- */
.ex-stats {
  position: relative;
  z-index: 2;
  margin-top: -3.2rem;
}

.ex-stats ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 30px;
  background: linear-gradient(160deg, var(--n2), var(--n));
  box-shadow: 0 40px 60px -30px rgba(17, 19, 21, 0.7);
  overflow: hidden;
}

.ex-stats li {
  padding: 1.45rem 1.4rem;
  color: #b9bfc4;
  font-size: 0.82rem;
  line-height: 1.5;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.ex-stats li:last-child { border-right: 0; }

.ex-stats b {
  display: block;
  color: var(--g);
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.ex-stats span { display: block; }

/* --------------------------------------------------------------------------
   Types / blueprint cards
   -------------------------------------------------------------------------- */
.ex-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 2.6rem;
  align-items: start;
}

.ex-type {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 50px -40px rgba(17, 19, 21, 0.5);
}

.ex-bp {
  position: relative;
  padding: 3rem 1.6rem 1.2rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(160deg, #23272b, #111315);
}

.ex-bp svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 180px;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.ex-gr { stroke: #6b7278; stroke-width: 2; fill: none; }
.ex-rf { fill: rgba(255, 255, 255, 0.1); stroke: #cfd6da; stroke-width: 3; }
.ex-bd { fill: rgba(255, 255, 255, 0.04); stroke: #cfd6da; stroke-width: 3; }
.ex-gd { fill: var(--g); fill-opacity: 0.92; }
.ex-ed { fill: none; stroke: #fff; stroke-width: 4; }
.ex-wn { fill: rgba(255, 255, 255, 0.16); stroke: #cfd6da; stroke-width: 2; }

.ex-tag {
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(30, 178, 214, 0.16);
  border: 1px solid rgba(30, 178, 214, 0.55);
  color: #7ee6f4;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ex-type__tx {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.7rem 1.8rem;
}

.ex-type__tx h3 { margin: 0 0 0.7rem; font-size: 1.4rem; }
.ex-type__tx p { color: var(--mu); font-size: 0.94rem; line-height: 1.75; }

.ex-type__tx ul {
  margin: 0.2rem 0 1.1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.ex-type__tx ul li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--mu);
  font-size: 0.92rem;
  line-height: 1.55;
}

.ex-type__tx ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--g);
  transform: rotate(45deg);
}

.ex-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.ex-band img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 330px;
  object-fit: cover;
  border-radius: 30px;
}

.ex-band img:nth-child(2) { border-radius: 999px 999px 30px 30px; }

/* --------------------------------------------------------------------------
   Cyan design checklist
   -------------------------------------------------------------------------- */
.ex-take {
  margin-top: 2rem;
  padding: clamp(1.5rem, 3.2vw, 2.4rem);
  border-radius: 34px;
  background: linear-gradient(135deg, #6edaea, var(--g));
  color: #111315;
  position: relative;
  overflow: hidden;
}

.ex-take::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -40%;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.ex-take ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  counter-reset: k;
  position: relative;
  z-index: 1;
}

.ex-take li {
  counter-increment: k;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 700;
  color: #111315;
}

.ex-take li::before {
  content: "0" counter(k);
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  color: var(--n);
}

/* --------------------------------------------------------------------------
   Cost section
   -------------------------------------------------------------------------- */
.ex-factors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.4rem 0 2.4rem;
  padding: 0;
  list-style: none;
}

.ex-factors li {
  position: relative;
  padding: 1rem 1.1rem 1rem 3rem;
  border: 1px solid var(--ln);
  border-radius: 18px;
  background: #fff;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--tx);
}

.ex-factors li::before {
  content: "\2713";
  position: absolute;
  left: 0.9rem;
  top: 0.95rem;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--n);
  color: var(--g);
  font-size: 0.78rem;
  font-weight: 700;
}

.ex-cost-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-top: 1rem;
}

.ex-ins {
  display: flex;
  gap: 1rem;
  margin: 1.8rem 0 0;
  padding: 1.4rem 1.6rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--ln);
  box-shadow: 0 20px 40px -32px rgba(17, 19, 21, 0.4);
  line-height: 1.7;
  font-size: 0.96rem;
  max-width: 78ch;
  position: relative;
}

.ex-ins::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 5px;
  border-radius: 0 6px 6px 0;
  background: var(--g);
}

.ex-ins svg {
  flex: none;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--gd);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 0.1rem;
}

.ex-ins b { color: var(--n); }

.ex-box {
  padding: 1.7rem 1.8rem;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--ln);
  margin: 1.4rem 0 0;
  box-shadow: 0 24px 44px -38px rgba(17, 19, 21, 0.4);
  position: relative;
  overflow: hidden;
}

.ex-box::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gd), var(--g));
}

.ex-box h3 { margin: 0.3rem 0 0.5rem; }
.ex-box p { max-width: 64ch; }

/* --------------------------------------------------------------------------
   Why RAF band
   -------------------------------------------------------------------------- */
.ex-why {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.ex-why > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  z-index: -2;
}

.ex-why::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(17, 19, 21, 0.94), rgba(17, 19, 21, 0.88));
}

.ex-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.4rem 0;
}

.ex-value {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.7rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.03));
}

.ex-value svg {
  width: 50px;
  height: 50px;
  padding: 12px;
  border-radius: 50%;
  background: var(--g);
  fill: none;
  stroke: var(--n);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.ex-value h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1.18rem;
}

.ex-value p {
  margin: 0;
  color: #9ba1a6;
  font-size: 0.93rem;
  line-height: 1.7;
}

.ex-value:last-child { grid-column: auto; }

.ex-why__foot {
  align-self: center;
  padding-left: 1.4rem;
  border-left: 2px solid rgba(30, 178, 214, 0.55);
}
.ex-why__foot p { color: #9ba1a6; }

/* --------------------------------------------------------------------------
   Areas
   -------------------------------------------------------------------------- */
.ex-towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.6rem 0 2.2rem;
  padding: 0;
  list-style: none;
}

.ex-town {
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--ln);
  border-radius: 999px;
  background: #fff;
  color: var(--n);
  font-size: 0.85rem;
  font-weight: 700;
}

.ex-areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.ex-area {
  background: var(--cr);
  border: 1px solid var(--ln);
  border-radius: 30px;
  padding: 1.8rem;
}

.ex-area__num {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(17, 19, 21, 0.14);
}

.ex-area h3 { margin: 0 0 0.7rem; font-size: 1.35rem; }
.ex-area p { color: var(--mu); font-size: 0.93rem; line-height: 1.75; }

/* --------------------------------------------------------------------------
   FAQs
   -------------------------------------------------------------------------- */
.ex-faq-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.ex-faq__media { position: sticky; top: calc(var(--hh) + 40px); }

.ex-q {
  margin-bottom: 0.8rem;
  border: 1px solid var(--ln);
  border-radius: 26px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ex-q:hover,
.ex-q[open] { border-color: var(--g); }
.ex-q[open] { box-shadow: 0 26px 44px -30px rgba(17, 19, 21, 0.45); }

.ex-q summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
}

.ex-q summary::-webkit-details-marker { display: none; }

.ex-q summary h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--n);
  margin: 0;
}

.ex-q summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sd);
  color: var(--gi);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.ex-q[open] summary::after {
  transform: rotate(45deg);
  background: var(--g);
  color: #111315;
}

.ex-q p {
  margin: 0;
  padding: 0 1.5rem 1.4rem;
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--tx);
}

/* --------------------------------------------------------------------------
   Closing CTA
   -------------------------------------------------------------------------- */
.ex-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--n);
  color: #c9ced2;
}

.ex-cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.ex-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 120% at 80% 120%, rgba(30, 178, 214, 0.32), transparent 70%),
    linear-gradient(110deg, rgba(17, 19, 21, 0.97) 35%, rgba(17, 19, 21, 0.76));
}

.ex-cta__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.ex-cta h2 { color: #fff; }
.ex-cta .ex-p { color: #c9ced2; max-width: 62ch; }
.ex-cta .ex-acts { margin-top: 1.5rem; }

.ex-nap {
  padding: 1.8rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  line-height: 1.85;
  color: #e6eaed;
  overflow-wrap: anywhere;
  font-style: normal;
}

.ex-nap strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ex-nap a { color: var(--g); font-weight: 800; }
.ex-nap a:hover { color: #6edaea; }

/* Floating call button on small screens, as on the reference */
.ex-call { display: none; }

@keyframes ex-pulse {
  0% { box-shadow: 0 0 0 0 rgba(30, 178, 214, 0.55), 0 14px 30px rgba(0, 0, 0, 0.35); }
  70% { box-shadow: 0 0 0 18px rgba(30, 178, 214, 0), 0 14px 30px rgba(0, 0, 0, 0.35); }
  100% { box-shadow: 0 0 0 0 rgba(30, 178, 214, 0), 0 14px 30px rgba(0, 0, 0, 0.35); }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .ex-g2,
  .ex-hgrid,
  .ex-cta__grid,
  .ex-faq-layout,
  .ex-cost-grid { grid-template-columns: 1fr; }

  .ex-sticky,
  .ex-faq__media { position: static; }

  .ex-hvis { max-width: 430px; margin: 0 auto; padding-left: 1.4rem; }

  .ex-stats ul { grid-template-columns: 1fr 1fr; }
  .ex-stats li:nth-child(2) { border-right: 0; }
  .ex-stats li:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }

  .ex-factors { grid-template-columns: 1fr 1fr; }

  .ex-ph--tall img { aspect-ratio: 16 / 10; }
  .ex-band { grid-template-columns: 1fr 1fr; }
  .ex-band img:last-child { display: none; }
}

@media (max-width: 760px) {
  .ex-types,
  .ex-areas,
  .ex-values { grid-template-columns: 1fr; }

  .ex-value:last-child { grid-column: auto; }

  .ex-take ol { grid-template-columns: 1fr; }

  .ex-why__foot { border-left: 0; padding-left: 0; }

  .ex-hero { padding-bottom: 5.5rem; }
  .ex-hero h1 { font-size: clamp(2.2rem, 10vw, 2.9rem); }

  .ex-stats { margin-top: -3rem; }
  .ex-stats li { padding: 1.1rem 1.05rem; font-size: 0.78rem; }
  .ex-stats b { font-size: 1rem; }

  .ex-sec { padding: 3.4rem 0; }
  .ext-page h2 { max-width: none; }

  .ex-factors { grid-template-columns: 1fr; }

  .ex-band { grid-template-columns: 1fr; }
  .ex-band img:nth-child(2) { display: none; }
  .ex-band img { min-height: 200px; }

  .ex-hvis { padding-left: 1rem; }
  .ex-float--a { right: -0.2rem; }
  .ex-float--b { display: none; }

  .ex-ins { flex-direction: column; gap: 0.6rem; }

  .ex-acts .ex-btn { width: 100%; }
}

@media (max-width: 560px) {
  .ex-stats ul { grid-template-columns: 1fr; }
  .ex-stats li { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .ex-stats li:nth-child(3) { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .ex-stats li:last-child { border-bottom: 0; }

  .ex-float--a { display: none; }

  .ex-crumb { font-size: 0.76rem; }

  .ex-call {
    display: flex;
    position: fixed;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6edaea, var(--g));
    color: #111315;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    animation: ex-pulse 2.4s infinite;
  }

  .ex-call svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ex-btn,
  .ex-chips a,
  .ex-q,
  .ex-q summary::after,
  .ex-call { transition: none; animation: none; }

  .js .ex-rv { opacity: 1; transform: none; transition: none; }
}
