/* ==========================================================================
   Threemo — site styles
   Palette and typography faithful to threemo.co.uk (Elementor kit values):
   primary #A85154 · hover #8A4245 · soft pink #F7EEEE · accent #EEDDDD
   text #110809 · headings Poppins · body Roboto
   ========================================================================== */

:root {
  --rose: #a85154;
  --rose-dark: #8a4245;
  --rose-deeper: #673234;
  --rose-mid: #bd7578;
  --rose-soft: #cd989a;
  --pink-bg: #f7eeee;
  --pink-soft: #faf1f1;
  --accent: #eeddDD;
  --ink: #110809;
  --heading: #241f20;
  --navy: #22345e;
  --muted: #5c5254;
  --paper: #fffdfd;
  --line: #e9e3e3;
  --footer-bg: #0a0708;
  --footer-text: #cecaca;
  --tp-green: #00b67a;
  --radius: 0px;
  --radius-lg: 0px;
  --shadow-sm: 0 2px 10px rgba(17, 8, 9, 0.06);
  --shadow-md: 0 10px 30px rgba(17, 8, 9, 0.1);
  --shadow-lg: 0 22px 50px rgba(17, 8, 9, 0.14);
  --container: 1140px;
  --font-head: "Poppins", sans-serif;
  --font-body: "Roboto", sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); }

p { margin: 0 0 1em; }

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

a:hover { color: var(--rose-dark); }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: clamp(44px, 5.5vw, 68px) 0;
}

.section--pink {
  background:
    radial-gradient(circle at 1px 1px, rgba(168, 81, 84, 0.05) 1px, transparent 0) 0 0 / 24px 24px,
    var(--pink-bg);
}
.section--soft { background: var(--pink-soft); }

.section-head {
  max-width: 780px;
  margin: 0 auto clamp(26px, 3.5vw, 40px);
  text-align: center;
}

.section-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 16px;
}

.section-head .kicker::before,
.section-head .kicker::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--rose);
}

.section-head .sub {
  color: var(--navy);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-family: var(--font-head);
  font-weight: 500;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 34px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--rose);
  color: #fff;
}

.btn--primary:hover {
  background: var(--rose-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(168, 81, 84, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--rose);
  border-color: var(--rose);
}

.btn--outline:hover {
  background: var(--rose);
  color: #fff;
  transform: translateY(-2px);
}

.btn--lg { padding: 18px 44px; font-size: 1.05rem; }

/* ---------- Top bar ---------- */

.topbar {
  background: var(--pink-bg);
  font-size: 0.92rem;
  color: var(--ink);
}

.topbar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
  padding: 10px 0;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar a:hover { color: var(--rose); }

.topbar svg { width: 15px; height: 15px; fill: var(--rose); flex: none; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 253, 253, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-stuck {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}

.brand { flex: none; display: inline-flex; }

.brand img { width: 150px; height: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 34px);
  margin-inline: auto;
}

.nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink);
  padding: 8px 2px;
  position: relative;
}

.nav > a::after,
.nav .dropdown > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--rose);
  transition: right 0.25s ease;
}

.nav > a:hover::after,
.nav > a.is-active::after { right: 0; }

.nav a:hover, .nav a.is-active { color: var(--rose); }

.dropdown { position: relative; }

.dropdown > a { display: inline-flex; align-items: center; gap: 6px; }

.dropdown > a svg {
  width: 11px; height: 11px; fill: currentColor;
  transition: transform 0.2s ease;
}

.dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 8px;
  min-width: 190px;
  background: #fff;
  border-radius: 2px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, translate 0.22s ease, visibility 0.22s;
}

.dropdown:hover .dropdown__menu,
.dropdown:focus-within .dropdown__menu {
  opacity: 1;
  visibility: visible;
  translate: -50% 0;
}

.dropdown:hover > a svg { transform: rotate(180deg); }

.dropdown__menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 2px;
  font-size: 0.98rem;
}

.dropdown__menu a:hover { background: var(--pink-bg); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.header-cta .btn { padding: 13px 26px; font-size: 0.95rem; }

/* Mobile nav */

.nav-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle span + span { margin-top: 6px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 1024px) {
  /* backdrop-filter would make the header the containing block for the
     fixed-position drawer below, so it must be off at drawer breakpoints */
  .site-header { backdrop-filter: none; background: #fffdfd; }

  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 86vw);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 96px 28px 28px;
    box-shadow: var(--shadow-lg);
    transform: translateX(105%);
    transition: transform 0.3s ease;
    z-index: 55;
    overflow-y: auto;
  }

  body.nav-open .nav { transform: translateX(0); }

  .nav a { font-size: 1.12rem; padding: 10px 0; }

  .dropdown__menu {
    position: static;
    translate: 0 0;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 18px;
    display: none;
  }

  .dropdown.open .dropdown__menu { display: block; }

  .header-cta { margin-left: auto; }
  .header-cta .btn--outline { display: none; }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 8, 9, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 50;
  }

  body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
}

@media (max-width: 480px) {
  .header-cta .btn { padding: 12px 18px; font-size: 0.88rem; }
  .brand img { width: 122px; }
}

/* ---------- Hero (home) ---------- */

/* The skyline animation is a full-bleed background with the copy sitting on
   top of it, matching the original site's hero container. */
.hero {
  position: relative;
  min-height: 800px;
  padding: clamp(26px, 3.4vw, 52px) 0 40px;
  text-align: center;
  background-color: var(--paper);
  /* sharp static poster paints instantly; the animation swaps in once loaded */
  background-image: url("../images/hero-poster.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Breakpoints and background sizing mirror the original hero container */
.hero.is-animated {
  background-image: url("../images/hero-skyline.gif");
}

@media (max-width: 1366px) {
  .hero { min-height: 700px; }
}

@media (max-width: 1024px) {
  .hero { min-height: 600px; background-size: 920px auto; }
}

@media (max-width: 767px) {
  .hero { min-height: 550px; background-size: 920px auto; }
}

.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.7rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.34em;
}

.hero .sub {
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  max-width: 780px;
  margin: 0 auto clamp(16px, 2.2vw, 24px);
}

.hero__cta { margin-bottom: clamp(14px, 2vw, 22px); }

.hero__trust {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: clamp(10px, 1.8vw, 20px);
}

/* Official TrustBox iframe — give it room and keep it centred */
.hero__trust .trustpilot-widget {
  width: 100%;
  max-width: 340px;
}

.tp-stars { display: inline-flex; gap: 4px; }

.tp-stars span {
  width: 34px;
  height: 34px;
  background: var(--tp-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tp-stars svg { width: 22px; height: 22px; fill: #fff; }




/* ---------- Feature cards (One Two Threemo) ---------- */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.6vw, 30px);
}

@media (max-width: 900px) {
  .cards-3 { grid-template-columns: 1fr; }
}

.feature-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transition: background 0.25s ease;
}

.feature-card:hover::before { background: var(--rose); }

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

.feature-card .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--rose);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-block;
  border: 1.5px solid var(--rose-soft);
  padding: 5px 12px;
  margin-bottom: 16px;
}

.feature-card ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.feature-card ul li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 8px;
}

.feature-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 0;
  background: var(--rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- Service cards ---------- */

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.service-card__img {
  background: var(--pink-soft);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card__img img { transform: scale(1.05); }

.service-card__body { padding: 26px 28px 30px; }

.service-card__body p { color: var(--muted); margin: 0; }

/* ---------- Split sections ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.split--rev > :first-child { order: 2; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}

/* In-section illustrations are sized to match the original site, which keeps
   them between ~260px and ~460px rather than filling the whole column. */
.split__media img {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}

.split__media--sm img { max-width: 270px; }
.split__media--md img { max-width: 270px; }
.split__media--lg img { max-width: 390px; }
/* transparent 540px animated masters — shown 1:1 so they stay pixel-crisp */
.split__media--art img { max-width: min(540px, 100%); }

.split__media--plain img {
  border-radius: 0;
}

/* Portrait-shaped photos stay at team-card scale instead of filling the column */
.split__media--portrait img {
  max-width: 320px;
  margin-inline: auto;
}

.split .sub {
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.15rem;
}

.checklist {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 42px;
  margin-bottom: 14px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23A85154'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/15px no-repeat;
}

/* ---------- Testimonials ---------- */

.testi {
  position: relative;
}

.testi__track-wrap { overflow: hidden; }

.testi__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}

.testi__slide {
  flex: 0 0 100%;
  padding: 8px;
}

/* Two per view, not three — wider cards keep the quotes short vertically.
   Must stay in sync with perView() in main.js. */
@media (min-width: 900px) {
  .testi__slide { flex-basis: 50%; }
}

.testi__track { align-items: flex-start; }

.testi-card {
  position: relative;
  margin: 0; /* figure carries a UA default margin of 1em 40px */
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-sm);
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.25s ease;
}

.testi-card:hover { border-top-color: var(--rose); }

.testi-card::after {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: Georgia, serif;
  font-size: 4.6rem;
  line-height: 1;
  color: var(--accent);
  pointer-events: none;
}

.testi-card .tp-stars span { width: 24px; height: 24px; }
.testi-card .tp-stars svg { width: 15px; height: 15px; }

.testi-card h3 { font-size: 1.08rem; margin: 0; }

/* 8 lines fits the longest review in full at the 2-up card width, while
   capping how tall one long quote can make every card in the row */
.testi-card blockquote {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.58;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testi-card figcaption {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--heading);
}

.testi__nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.testi__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--rose);
  background: #fff;
  color: var(--rose);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.testi__btn:hover { background: var(--rose); color: #fff; }

.testi__btn svg { width: 18px; height: 18px; fill: currentColor; }

.testi__dots { display: flex; gap: 8px; }

.testi__dots button {
  width: 10px;
  height: 4px;
  padding: 0;
  border: 0;
  background: var(--accent);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}

.testi__dots button.is-active {
  background: var(--rose);
  width: 28px;
}

/* ---------- Process steps ---------- */

.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: clamp(20px, 3vw, 34px) 0;
}


.step__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(3.4rem, 7vw, 5.5rem);
  line-height: 1;
  background: linear-gradient(160deg, var(--rose-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.step--rev > .step__media { order: -1; }

@media (max-width: 900px) {
  .step { grid-template-columns: 1fr; }
  .step--rev > .step__media { order: 0; }
}

.step__media img {
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 26px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--heading);
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--rose); }

.faq-item summary .chev {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 0;
  background: var(--pink-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s ease, background 0.2s ease;
}

.faq-item summary .chev svg { width: 14px; height: 14px; fill: var(--rose); }

.faq-item[open] summary { color: var(--rose); }

.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--accent); }

.faq-item__body {
  padding: 0 26px 22px;
  color: var(--muted);
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(100deg, rgba(43, 13, 14, 0.88) 15%, rgba(103, 50, 52, 0.55)),
    var(--cta-image, none) center/cover no-repeat;
  color: #fff;
  padding: clamp(40px, 5.5vw, 64px) clamp(28px, 5vw, 72px);
  text-align: center;
}

.cta-band h2 { color: #fff; margin-bottom: 22px; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background:
    radial-gradient(ellipse 60% 70% at 82% 45%, rgba(168, 81, 84, 0.08), transparent 70%),
    var(--pink-soft);
  overflow: hidden;
}

.page-hero .split { padding: clamp(32px, 4.5vw, 54px) 0; }

/* Hero artwork tops out at the same 469px the original site rendered it at,
   rather than stretching to fill half the container. */
.page-hero .split__media img {
  max-width: 470px;
  margin-inline: auto;
}

.page-hero h1 { letter-spacing: -0.015em; }

.page-hero .lead {
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

/* ---------- Benefit list (brokers) ---------- */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 2.6vw, 30px);
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.benefit-card img {
  width: 100%;
  max-width: 295px;
  margin: 0 auto 16px;
}

.benefit-card h3 { font-size: 1.1rem; margin-bottom: 6px; }

/* ---------- Numbered flow (brokers how it works) ---------- */

.flow {
  counter-reset: flow;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 860px;
  margin-inline: auto;
}

.flow li {
  counter-increment: flow;
  position: relative;
  padding: 0 0 28px 74px;
}

.flow li::before {
  content: counter(flow);
  position: absolute;
  left: 0;
  top: -4px;
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: var(--pink-bg);
  color: var(--rose);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow li::after {
  content: "";
  position: absolute;
  left: 23.5px;
  top: 48px;
  bottom: 4px;
  width: 1.5px;
  background: var(--accent);
}

.flow li:last-child::after { display: none; }

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(18px, 2.6vw, 30px);
}

.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.team-card__img {
  aspect-ratio: 1 / 1.02;
  overflow: hidden;
  background: var(--pink-soft);
}

.team-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-card__img img { transform: scale(1.04); }

.team-card__body { padding: 22px 24px 26px; }

.team-card__body h3 { margin-bottom: 2px; font-size: 1.15rem; }

.team-card__body .role {
  color: var(--rose);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.team-card__body p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Pricing ---------- */

.included-list {
  columns: 2;
  gap: 40px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

@media (max-width: 720px) { .included-list { columns: 1; } }

.included-list li {
  break-inside: avoid;
  position: relative;
  padding-left: 40px;
  margin-bottom: 13px;
}

.included-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 0;
  background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23A85154'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}

.fee-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.fee-link {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--heading);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.fee-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--rose-soft);
  color: var(--rose);
}

.fee-link .ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: var(--pink-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fee-link .ico svg { width: 20px; height: 20px; fill: var(--rose); }

.assume-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(18px, 2.6vw, 30px);
}

.assume-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.assume-card img { aspect-ratio: 5/4; object-fit: cover; width: 100%; }

.assume-card__body { padding: 24px 26px 28px; }

.assume-card__body ul {
  margin: 10px 0 0;
  padding: 0 0 0 20px;
  color: var(--muted);
}

.assume-card__body ul li { margin-bottom: 8px; }

.assume-card__body .more {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 600;
}

/* ---------- Prose blocks ---------- */

.prose {
  max-width: 860px;
  margin-inline: auto;
}

.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Contact ---------- */

.contact-info h3 { margin-bottom: 6px; }

.contact-info .item {
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--rose);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}

.contact-info .item h3 { margin-bottom: 4px; font-size: 1.05rem; }

.contact-info .item p { color: var(--muted); margin: 0; }

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(26px, 3.4vw, 40px);
}

.form label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--heading);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--pink-soft);
  border: 1.5px solid transparent;
  border-radius: 2px;
  padding: 14px 16px;
  margin-bottom: 18px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--rose);
  background: #fff;
}

.form textarea { min-height: 130px; resize: vertical; }

.form .note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 2px;
  background: #eef8f1;
  color: #1c7c46;
  font-weight: 500;
}

.form-status.is-error { background: #fdeeee; color: #b3403f; }

.form-status.is-visible { display: block; }

/* ---------- Calculator ---------- */

.calc-shell {
  max-width: 860px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 4vw, 48px);
}

.calc-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 34px;
}

.calc-progress span {
  flex: 1;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  transition: background 0.3s ease;
}

.calc-progress span.is-done { background: var(--rose); }
.calc-progress span.is-active { background: var(--rose-mid); }

.calc-stage { display: none; }
.calc-stage.is-active { display: block; animation: fadeUp 0.35s ease; }

.calc-stage h2 { font-size: 1.6rem; }
.calc-stage .stage-sub { color: var(--muted); margin-bottom: 26px; }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}

.choice-grid label {
  cursor: pointer;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }

.choice-grid label:has(input:checked) {
  border-color: var(--rose);
  background: var(--pink-bg);
  color: var(--rose);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}

.check-grid label {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--line);
  border-radius: 2px;
  padding: 13px 16px;
  cursor: pointer;
  font-size: 0.97rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.check-grid label:has(input:checked) {
  border-color: var(--rose);
  background: var(--pink-bg);
}

.check-grid input {
  accent-color: var(--rose);
  width: 18px;
  height: 18px;
  flex: none;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}

@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } }

.radio-row { display: flex; gap: 14px; margin-bottom: 18px; }

.radio-row label {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 2px;
  padding: 13px 16px;
  text-align: center;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.radio-row input { position: absolute; opacity: 0; pointer-events: none; }

.radio-row label:has(input:checked) {
  border-color: var(--rose);
  background: var(--pink-bg);
  color: var(--rose);
}

.calc-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
}

.calc-actions .btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}

.calc-actions .btn--ghost:hover { color: var(--rose); border-color: var(--rose); }

/* ---------- Results ---------- */

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(26px, 4vw, 44px);
  max-width: 760px;
  margin-inline: auto;
}

.quote-card h2 { font-size: 1.5rem; }

.quote-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

.quote-row.total {
  border-bottom: 0;
  border-top: 2px solid var(--heading);
  margin-top: 8px;
  padding-top: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
}

.quote-section-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--rose);
  margin: 22px 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 3px solid var(--rose);
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: clamp(48px, 6vw, 72px) 0 0;
  font-size: 0.95rem;
}

.site-footer a { color: var(--footer-text); }

.site-footer a:hover { color: #fff; }

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand img { width: 150px; margin-bottom: 22px; }

.footer-badges {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-badges img { height: 84px; width: auto; }

.footer-badges > img {
  background: #fff;
  border-radius: 2px;
  padding: 8px;
  box-sizing: content-box;
}

/* Yoshki SmartBadge: the CLC artwork leaves a blank band above the
   "Authenticate Here" button (centre 75.2% across, 18.3% down) for the
   verification date. Positioned in % so it tracks the badge at any size. */
.footer-badges .clc-badge {
  position: relative;
  display: inline-block;
  background: #fff;
  border-radius: 2px;
  padding: 8px 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-badges .clc-badge:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.footer-badges .clc-badge img { display: block; }

.footer-badges .clc-badge .clc-date {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 8px;
  height: 28%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 50.4%;          /* centre over the button, not the whole badge */
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
  color: #333;
  pointer-events: none;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding: 26px 0;
  justify-content: center;
}

.footer-links a { font-size: 0.9rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0 26px;
  text-align: center;
  font-size: 0.88rem;
  color: #9d9697;
}

/* ---------- Cookie notice ---------- */

.cookie-bar {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  max-width: 420px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 22px 24px;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.cookie-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.cookie-bar h3 { font-size: 1.02rem; margin-bottom: 8px; }

.cookie-bar p { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }

.cookie-bar .row { display: flex; gap: 10px; }

.cookie-bar .btn { padding: 10px 20px; font-size: 0.88rem; flex: 1; }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-lg { margin-bottom: clamp(28px, 4vw, 48px); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--rose);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
  border-radius: 0;
}

.skip-link:focus { left: 0; color: #fff; }

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(168, 81, 84, 0.45);
  outline-offset: 2px;
  border-radius: 2px;
}

.btn:focus-visible { border-radius: 999px; }

:target { scroll-margin-top: 110px; }

/* ==========================================================================
   Modern motion & micro-interaction layer
   Every animation here is subtle, brand-toned, and disabled under
   prefers-reduced-motion (the global rule above already zeroes durations).
   ========================================================================== */

::selection {
  background: var(--accent);
  color: var(--heading);
}

/* ---------- Scroll progress bar ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--rose), var(--rose-mid));
  z-index: 80;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ---------- Reveal variants ---------- */

/* Directional variants intentionally match the default fade-up: sliding
   content in from the sides read as distracting "flying". */
.reveal--left,
.reveal--right,
.reveal--zoom { transform: translateY(26px); }

.reveal--left.is-visible,
.reveal--right.is-visible,
.reveal--zoom.is-visible { transform: none; }

/* ---------- Header & menu ---------- */

.topbar a {
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

.topbar a:hover { transform: translateY(-1px); }

.dropdown__menu {
  transform-origin: top center;
  scale: 0.97;
  transition: opacity 0.22s ease, translate 0.22s ease, scale 0.22s ease, visibility 0.22s;
}

.dropdown:hover .dropdown__menu,
.dropdown:focus-within .dropdown__menu { scale: 1; }

.dropdown__menu a {
  transition: background 0.18s ease, color 0.18s ease, translate 0.18s ease;
}

.dropdown__menu a:hover { translate: 4px 0; }

/* Mobile drawer: links cascade in as it opens */
@media (max-width: 1024px) {
  .nav > * {
    opacity: 0;
    translate: 18px 0;
    transition: opacity 0.35s ease, translate 0.35s ease;
  }

  body.nav-open .nav > * { opacity: 1; translate: 0 0; }

  body.nav-open .nav > :nth-child(1) { transition-delay: 0.06s; }
  body.nav-open .nav > :nth-child(2) { transition-delay: 0.11s; }
  body.nav-open .nav > :nth-child(3) { transition-delay: 0.16s; }
  body.nav-open .nav > :nth-child(4) { transition-delay: 0.21s; }
  body.nav-open .nav > :nth-child(5) { transition-delay: 0.26s; }
}

/* ---------- Buttons: soft sheen sweep ---------- */

.btn {
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 55%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.btn--primary:hover::before { left: 125%; }

/* ---------- Cards: consistent lift + accent ---------- */

.feature-card,
.service-card,
.benefit-card,
.team-card,
.assume-card,
.fee-link {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease;
}

.feature-card:hover,
.service-card:hover,
.benefit-card:hover,
.team-card:hover,
.assume-card:hover { border-color: var(--rose-soft); }

.benefit-card img,
.assume-card img {
  transition: transform 0.4s ease;
}

.benefit-card:hover img { transform: translateY(-4px); }
.assume-card:hover img { transform: scale(1.03); }

/* ---------- Split media: gentle hover + hero float ---------- */

/* ---------- Steps ---------- */

.step {
  transition: background 0.3s ease;
  border-radius: var(--radius-lg);
}

.step__media img {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.step:hover .step__media img { transform: scale(1.02); }

/* ---------- FAQ: animated open/close (height set by JS) ---------- */

.faq-item__body {
  overflow: hidden;
}

.faq-item {
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--rose-soft);
}

/* ---------- CTA band: tinted image composite ---------- */

.cta-band {
  background: linear-gradient(100deg, rgba(43, 13, 14, 0.9) 15%, rgba(103, 50, 52, 0.65)),
    var(--cta-image, none) center/cover no-repeat;
}

/* ---------- Forms ---------- */

.form input,
.form select,
.form textarea {
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  box-shadow: 0 0 0 4px rgba(168, 81, 84, 0.12);
}

/* ---------- Footer ---------- */

.footer-links a {
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -3px;
  height: 1.5px;
  background: var(--rose-soft);
  transition: right 0.25s ease;
}

.footer-links a:hover::after { right: 0; }

.footer-badges img,
.footer-badges .clc-badge {
  transition: transform 0.3s ease;
}

.footer-badges img:hover,
.footer-badges .clc-badge:hover { transform: translateY(-3px); }

/* ---------- Back to top ---------- */

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--rose);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(168, 81, 84, 0.4);
  opacity: 0;
  translate: 0 14px;
  visibility: hidden;
  transition: opacity 0.3s ease, translate 0.3s ease, background 0.2s ease, visibility 0.3s;
}

.back-to-top.is-visible {
  opacity: 1;
  translate: 0 0;
  visibility: visible;
}

.back-to-top:hover { background: var(--rose-dark); }

.back-to-top svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Testimonials: active-slide emphasis ---------- */

.testi__slide { transition: opacity 0.4s ease; }

/* ---------- Quote card rows fade in when rendered ---------- */

.quote-block { animation: fadeUp 0.5s ease; }

/* ---------- Calc shell entrance for stage changes already animates;
     progress dots get a soft pulse on the active step ---------- */

@keyframes softPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168, 81, 84, 0.25); }
  50% { box-shadow: 0 0 0 5px rgba(168, 81, 84, 0); }
}

.calc-progress span.is-active { animation: softPulse 2.2s ease infinite; }

/* ==========================================================================
   Enterprise structure components
   ========================================================================== */

/* Bordered content panel with a left accent — for breaking long prose
   into structured blocks */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--rose);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--rose-soft);
  border-top-color: var(--rose);
}

.panel h2, .panel h3 { font-size: 1.25rem; }

.panel p:last-child { margin-bottom: 0; }

.panel .btn { margin-top: 6px; }

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(18px, 2.6vw, 28px);
}

/* Numbered mini-step cards (replaces plain checklists for step content) */
.mini-steps {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.mini-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mini-step:hover {
  transform: translateX(4px);
  border-color: var(--rose-soft);
  box-shadow: var(--shadow-md);
}

.mini-step .n {
  flex: none;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-bg);
  color: var(--rose);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}

.mini-step h4 {
  margin: 0 0 4px;
  font-size: 1.02rem;
}

.mini-step p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Enterprise data-strip under section heads (icon-free stat/point row) */
.point-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.point-row > div {
  padding: 22px 26px;
  border-right: 1px solid var(--line);
}

.point-row > div:last-child { border-right: 0; }

.point-row b {
  display: block;
  font-family: var(--font-head);
  color: var(--heading);
  margin-bottom: 4px;
}

.point-row span { color: var(--muted); font-size: 0.94rem; }

@media (max-width: 720px) {
  .point-row { grid-template-columns: 1fr; }
  .point-row > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .point-row > div:last-child { border-bottom: 0; }
}

/* ==========================================================================
   Design detail layer — structural accents + restrained motion
   ========================================================================== */

/* ---------- Section headings: animated rule under the title ---------- */

.section-head h2 {
  position: relative;
  display: block;          /* keeps the kicker on its own line above */
  padding-bottom: 14px;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--rose);
  transform: translateX(-50%);
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.section-head.is-visible h2::after,
.reveal.is-visible .section-head h2::after,
.is-visible > h2::after { width: 62px; }

/* ---------- Corner brackets on panels (enterprise framing) ---------- */

.panel { position: relative; }

.panel::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.panel:hover::after {
  width: 30px;
  height: 30px;
  border-color: var(--rose);
}

/* ---------- Service cards: index number + arrow affordance ---------- */

.service-card { position: relative; }

.service-card__body { position: relative; }

.service-card__body::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: 18px;
  width: 26px;
  height: 2px;
  background: var(--rose);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-card__body::after { transform: scaleX(1); }

.service-card__body { padding-bottom: 44px; }

/* ---------- Feature cards: watermark index ---------- */

.cards-3 { counter-reset: fcard; }

.feature-card { counter-increment: fcard; }

.feature-card::after {
  content: "0" counter(fcard);
  position: absolute;
  right: 18px;
  bottom: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--pink-bg);
  pointer-events: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.feature-card:hover::after { color: var(--accent); transform: translateY(-3px); }

/* ---------- Step rows: vertical connector with progress fill ---------- */

.step { position: relative; }

/* the divider itself draws in as the step scrolls into view */
/* A pseudo-element on .step would be an auto-placed grid item with a
   collapsed containing block, so the divider fades in via the border instead. */
.step:not(:last-child) {
  border-bottom: 1px solid transparent;
  transition: border-color 0.7s ease;
}

.step.is-visible:not(:last-child) { border-bottom-color: var(--accent); }

/* ---------- Mini-steps: connecting spine ---------- */

.mini-steps { position: relative; }

.mini-step { position: relative; }

.mini-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 42px;
  bottom: -14px;
  width: 1px;
  height: 14px;
  background: var(--accent);
}

.mini-step .n { transition: background 0.25s ease, color 0.25s ease; }

.mini-step:hover .n { background: var(--rose); color: #fff; }

/* ---------- Checklist: markers pop in sequence ---------- */

.checklist li::before { transition: transform 0.3s ease, background-color 0.3s ease; }

.checklist li:hover::before { transform: scale(1.12); }

/* ---------- Team cards: role bar + name underline ---------- */

.team-card__body { position: relative; }

.team-card__body .role { position: relative; display: inline-block; padding-left: 0; }

.team-card__img { position: relative; }

.team-card__img::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card:hover .team-card__img::after { transform: scaleX(1); }

/* ---------- Benefit cards: framing tick ---------- */

.benefit-card { position: relative; }

.benefit-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 3px;
  background: var(--rose);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.benefit-card:hover::before { width: 100%; }

/* ---------- Fee links: arrow slides ---------- */

.fee-link { position: relative; padding-right: 46px; }

.fee-link::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--rose);
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.fee-link:hover::after { transform: translateY(-50%) translateX(5px); }

/* ---------- Stat band ---------- */

.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.stat-band > div {
  padding: clamp(24px, 3vw, 34px) 22px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.stat-band > div:last-child { border-right: 0; }

.stat-band .n {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1;
  color: var(--rose);
  margin-bottom: 8px;
}

.stat-band .l {
  font-size: 0.94rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .stat-band > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-band > div:last-child { border-bottom: 0; }
}

/* ---------- Quote-card rows ---------- */

.quote-row { transition: background 0.2s ease; }
.quote-row:hover { background: var(--pink-soft); }

/* ---------- Footer: policy column accent ---------- */

.footer-brand p { position: relative; padding-left: 16px; }

.footer-brand p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--rose);
}

/* ---------- Reduced motion: freeze decorative reveals open ---------- */

@media (prefers-reduced-motion: reduce) {
  .section-head h2::after { width: 62px; transition: none; }
  .step:not(:last-child) { border-bottom-color: var(--accent); }
}

/* Illustration inside the "Why choose Threemo" feature cards */
.feature-card__img {
  width: auto;
  max-width: 190px;
  /* fixed box so the three headings line up despite differing artwork ratios */
  height: 110px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 20px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover .feature-card__img { transform: translateY(-4px); }

/* ==========================================================================
   Trustpilot band — live summary + review carousel
   ========================================================================== */

.tp-band {
  display: grid;
  grid-template-columns: 260px 1fr;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.tp-band__summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  background: var(--pink-soft);
}

.tp-band__summary .trustpilot-widget { width: 100%; }

.tp-band__all {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--rose);
  position: relative;
}

.tp-band__all::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -3px;
  height: 1.5px;
  background: var(--rose);
  transition: right 0.25s ease;
}

.tp-band__all:hover::after { right: 0; }

.tp-band__reviews { padding: 26px 26px 20px; min-width: 0; }

/* inside the band the cards sit flush — the band supplies the frame */
.tp-band__reviews .testi-card {
  border: 0;
  box-shadow: none;
  padding: 4px 26px 4px 0;
  border-right: 1px solid var(--line);
}

.tp-band__reviews .testi__slide:last-child .testi-card { border-right: 0; }

.tp-band__reviews .testi-card::after { display: none; }

.tp-band__reviews .testi__nav { margin-top: 20px; justify-content: flex-end; }

.tp-band__reviews .testi-card h3 { font-size: 1rem; }

.tp-band__reviews .testi-card blockquote {
  -webkit-line-clamp: 6;
  line-clamp: 6;
  font-size: 0.94rem;
}

@media (max-width: 900px) {
  .tp-band { grid-template-columns: 1fr; }

  .tp-band__summary {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px;
  }

  .tp-band__reviews { padding: 22px 20px 16px; }

  .tp-band__reviews .testi-card { border-right: 0; padding-right: 0; }
}


/* ---------- Breadcrumbs (inner-page heroes) ---------- */

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--rose); }

.crumbs .sep {
  width: 14px;
  height: 1.5px;
  background: var(--rose-soft);
  flex: none;
}

.crumbs .here { color: var(--rose); }

/* ---------- Stat cells: quiet hover ---------- */

.stat-band > div { transition: background 0.25s ease; }
.stat-band > div:hover { background: var(--pink-soft); }

/* ==========================================================================
   Structure round — visible per-section upgrades
   ========================================================================== */

/* ---------- Home trio: the "Threemo" card is the finale ---------- */

.cards-3--finale .feature-card:last-child {
  background: var(--rose);
  border-color: var(--rose);
}

.cards-3--finale .feature-card:last-child::before { background: var(--rose-deeper); }

.cards-3--finale .feature-card:last-child h3,
.cards-3--finale .feature-card:last-child p { color: #fff; }

.cards-3--finale .feature-card:last-child .num {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.cards-3--finale .feature-card:last-child::after { color: rgba(255, 255, 255, 0.14); }

.cards-3--finale .feature-card:last-child:hover::after { color: rgba(255, 255, 255, 0.22); }

/* ---------- Hero: secondary action + scroll cue ---------- */

.hero__cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  translate: -50% 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  color: var(--rose);
  z-index: 2;
}

.scroll-cue svg { width: 16px; height: 16px; fill: currentColor; }

@keyframes cueNudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.scroll-cue svg { animation: cueNudge 2s ease-in-out infinite; }

.scroll-cue:hover { background: #fff; border-color: var(--rose-soft); }

@media (prefers-reduced-motion: reduce) {
  .scroll-cue svg { animation: none; }
}

/* ---------- Framed screenshot (browser chrome) ---------- */

.framed {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.framed__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--pink-soft);
}

.framed__bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.framed__bar span:first-child { background: var(--rose-soft); }

.framed img { width: 100%; }

/* ---------- Steps: eyebrow label above the numeral ---------- */

.step__eyebrow {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 2px;
}

/* ---------- FAQ: numbered questions ---------- */

.faq { counter-reset: faq; }

.faq-item summary { counter-increment: faq; }

.faq-item summary::before {
  content: counter(faq, decimal-leading-zero);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--rose-soft);
  flex: none;
  width: 30px;
  transition: color 0.25s ease;
}

.faq-item[open] summary::before,
.faq-item summary:hover::before { color: var(--rose); }

.faq-item__body { margin-left: 46px; }

@media (max-width: 640px) {
  .faq-item summary::before { display: none; }
  .faq-item__body { margin-left: 0; }
}

/* ---------- Footer: three-column layout ---------- */

.footer-top {
  grid-template-columns: 1.3fr 0.7fr 1fr;
}

.footer-nav h4 {
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li { margin-bottom: 9px; }

.footer-nav a {
  font-size: 0.93rem;
  position: relative;
  padding-left: 0;
  transition: padding-left 0.22s ease, color 0.2s ease;
}

.footer-nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1.5px;
  background: var(--rose);
  transition: width 0.22s ease;
}

.footer-nav a:hover { padding-left: 16px; color: #fff; }
.footer-nav a:hover::before { width: 10px; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* numbered questions read left-to-right; chevron stays pinned right */
.faq-item summary {
  justify-content: flex-start;
  text-align: left;
}

.faq-item summary .chev { margin-left: auto; }
