/* Tacassure — colours and layout. Typography: css/fonts.css (Fontatica + SF Pro Display per brand guide). */

:root {
  --indigo: #4554a6;
  --peach: #f7abae;
  --charcoal: #232b2b;
  --black: #000000;
  --soft-white: #f9fafb;
  --white: #ffffff;
  --nav-height: 4.5rem;
  --max-content: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 24px rgba(35, 43, 43, 0.06);
  --shadow-md: 0 12px 40px rgba(35, 43, 43, 0.1);
  --shadow-lift: 0 20px 48px rgba(69, 84, 166, 0.12);
  --ease-hero: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-accordion: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--soft-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--indigo);
}

:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--indigo);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* —— Typography —— */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1.display {
  font-size: clamp(2.25rem, 1.2rem + 4.5vw, 3.75rem);
}

h2.display {
  font-size: clamp(1.75rem, 1.1rem + 2.5vw, 2.5rem);
}

h3.display {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.35rem);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 38rem;
  color: rgba(35, 43, 43, 0.78);
  margin-bottom: 2.5rem;
}

/* —— Layout shell —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 300ms ease, box-shadow 300ms ease, backdrop-filter 300ms ease;
}

.site-header.is-scrolled {
  background: rgba(249, 250, 251, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(35, 43, 43, 0.06), 0 8px 32px rgba(35, 43, 43, 0.06);
}

.site-header:not(.is-scrolled) {
  background: transparent;
}

.nav-inner {
  width: 100%;
  max-width: min(100% - 2rem, var(--max-content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
}

.site-logo__img {
  height: 2rem;
  width: auto;
  object-fit: contain;
}

.site-logo__fallback {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.site-logo__fallback.is-visible {
  display: flex;
}

.site-logo__mark {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
}

.site-logo__word {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.site-logo__word .tac {
  color: var(--indigo);
}

.site-logo__word .assure {
  color: var(--peach);
}

.nav-links {
  display: none;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1025px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0;
  transition: color 150ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--indigo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

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

.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-cta-wrap {
  display: none;
  justify-content: flex-end;
}

@media (min-width: 1025px) {
  .nav-cta-wrap {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.35rem;
  min-height: 44px;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease, color 150ms ease;
}

.btn--primary {
  background: var(--indigo);
  color: var(--white);
}

.btn--primary:hover {
  transform: scale(1.03);
  background: #3a4890;
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--indigo);
  border: 2px solid rgba(69, 84, 166, 0.35);
}

.btn--ghost:hover {
  transform: scale(1.03);
  border-color: var(--indigo);
  background: rgba(69, 84, 166, 0.06);
}

.btn--peach {
  background: var(--peach);
  color: var(--charcoal);
}

.btn--peach:hover {
  transform: scale(1.03);
  filter: brightness(0.96);
}

.btn--block {
  width: 100%;
}

.btn__icon {
  transition: transform 150ms ease;
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  margin-left: auto;
  grid-column: 3;
}

@media (min-width: 1025px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--charcoal);
  border-radius: 1px;
  transition: transform 250ms ease, opacity 250ms ease;
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--soft-white);
  padding: calc(var(--nav-height) + 2rem) 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(35, 43, 43, 0.08);
  opacity: 0;
  transform: translateY(12px);
  transition: color 150ms ease, background 150ms ease;
}

.mobile-nav.is-open a {
  animation: mobileLinkIn 400ms ease-out forwards;
}

.mobile-nav.is-open a:nth-child(1) {
  animation-delay: 0.05s;
}
.mobile-nav.is-open a:nth-child(2) {
  animation-delay: 0.1s;
}
.mobile-nav.is-open a:nth-child(3) {
  animation-delay: 0.15s;
}
.mobile-nav.is-open a:nth-child(4) {
  animation-delay: 0.2s;
}
.mobile-nav.is-open a:nth-child(5) {
  animation-delay: 0.25s;
}
.mobile-nav.is-open a:nth-child(6) {
  animation-delay: 0.3s;
}
.mobile-nav.is-open a:nth-child(7) {
  animation-delay: 0.35s;
}
.mobile-nav.is-open a:nth-child(8) {
  animation-delay: 0.4s;
}
.mobile-nav.is-open a:nth-child(9) {
  animation-delay: 0.45s;
}

@keyframes mobileLinkIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav a:active,
.mobile-nav a.is-active {
  color: var(--indigo);
}

.mobile-nav .btn {
  margin-top: 1.5rem;
  justify-content: center;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-height) + 3rem) 1.5rem 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--soft-white);
}

.hero__bg-pattern {
  position: absolute;
  inset: -20%;
  opacity: 0.45;
  background-image: linear-gradient(
      90deg,
      rgba(69, 84, 166, 0.07) 1px,
      transparent 1px
    ),
    linear-gradient(rgba(69, 84, 166, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: patternDrift 48s linear infinite;
  will-change: transform;
}

@keyframes patternDrift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(-24px, -24px) rotate(0.5deg);
  }
}

.hero__bg-glow {
  position: absolute;
  width: 80vmin;
  height: 80vmin;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(247, 171, 174, 0.35) 0%, transparent 65%);
  animation: glowPulse 14s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes glowPulse {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0.85;
    transform: translate(-48%, -52%) scale(1.08);
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: min(100% - 2rem, 1320px);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero__content {
  max-width: 36rem;
}

.hero__visual {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(69, 84, 166, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 84, 166, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  border-radius: var(--radius-lg);
  pointer-events: none;
  transform: scale(0);
  transform-origin: center;
}

.hero__visual.is-visible::before {
  animation: heroBpGridGrow 0.75s var(--ease-hero) forwards;
}

@keyframes heroBpGridGrow {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

/* Hero eyebrow pill */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(69, 84, 166, 0.06);
  color: var(--indigo);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(69, 84, 166, 0.15);
}

.hero__eyebrow::before {
  content: "\25CF";
  font-size: 6px;
}

/* Hero trust strip */
.hero__trust {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding-top: 2rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(35, 43, 43, 0.1);
}

.hero__roles-carousel {
  position: relative;
  width: auto;
  max-width: 100%;
  flex-shrink: 0;
}

.hero__roles-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  user-select: none;
}

.hero__roles-stack-outer {
  position: relative;
  width: 182px;
  height: 56px;
}

.hero__trust-avatars {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__trust-av {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #e8e6f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  line-height: 1;
  font-weight: 600;
  color: #534ab7;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.hero__trust-av.is-active {
  width: 48px;
  height: 48px;
  font-size: 0.82rem;
  color: #fff;
  border: 2.5px solid #fff;
  background: #534ab7;
  box-shadow:
    0 0 0 3px rgba(83, 74, 183, 0.18),
    0 10px 22px rgba(69, 84, 166, 0.22);
  z-index: 10 !important;
}

.hero__role-pill {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #534ab7;
  background: #eeedfe;
  border: 1px solid #cecbf6;
  border-radius: 999px;
  padding: 0.2rem 0.82rem;
  white-space: nowrap;
  text-align: center;
  min-width: 88px;
  transition: opacity 0.3s ease;
}

.hero__trust-text {
  font-size: 0.84rem;
  color: rgba(35, 43, 43, 0.62);
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin: 0;
}

.hero__trust-text strong {
  color: var(--charcoal);
  font-weight: 700;
}

@media (max-width: 640px) {
  .hero__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .hero__roles-stack-outer {
    width: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__trust-av,
  .hero__trust-av.is-active {
    transition: none;
  }
}

/* Hero metric cards */
.hero-card {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(24px);
}

.hero__visual.is-visible .hero-card {
  animation: heroCardUp 0.6s var(--ease-hero) forwards;
}

.hero__visual.is-visible .hero-metric--accent { animation-delay: 0.4s; }
.hero__visual.is-visible .hero-metric-row .hero-card:nth-child(1) { animation-delay: 0.6s; }
.hero__visual.is-visible .hero-metric-row .hero-card:nth-child(2) { animation-delay: 0.72s; }
.hero__visual.is-visible .hero-pills { animation-delay: 0.85s; }

@keyframes heroCardUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-metric {
  background: var(--white);
  border: 1px solid rgba(35, 43, 43, 0.08);
  border-radius: 14px;
  padding: 22px 26px;
  transition: box-shadow 0.2s ease;
}

.hero-metric:hover {
  box-shadow: 0 8px 32px rgba(69, 84, 166, 0.1);
}

.hero-metric--accent {
  background: var(--indigo);
  border-color: var(--indigo);
}

.hero-metric__label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(35, 43, 43, 0.5);
  margin-bottom: 6px;
}

.hero-metric--accent .hero-metric__label {
  color: rgba(255, 255, 255, 0.6);
}

.hero-metric__value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--indigo);
  margin-bottom: 4px;
}

.hero-metric--accent .hero-metric__value {
  color: var(--white);
}

.hero-metric__value--indigo {
  color: var(--indigo);
  font-size: 2rem;
}

.hero-metric__value--dark {
  color: var(--charcoal);
  font-size: 1.625rem;
  margin-top: 4px;
}

.hero-metric__desc {
  display: block;
  font-size: 0.8125rem;
  color: rgba(35, 43, 43, 0.55);
}

.hero-metric--accent .hero-metric__desc {
  color: rgba(255, 255, 255, 0.7);
}

.hero-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-metric--mini {
  padding: 18px 18px;
}

.hero-metric--mini .hero-metric__value {
  font-size: 2rem;
}

/* Hero pills card */
.hero-pills {
  background: rgba(247, 171, 174, 0.12);
  border: 1px solid rgba(247, 171, 174, 0.35);
  border-radius: 14px;
  padding: 18px 22px;
}

.hero-pills__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e8878b;
  margin-bottom: 10px;
}

.hero-pills__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-pill {
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(247, 171, 174, 0.45);
  opacity: 0;
  transform: scale(0.85);
}

.hero__visual.is-visible .hero-pill {
  animation: heroPillPop 0.35s var(--ease-hero) forwards;
}

.hero__visual.is-visible .hero-pill:nth-child(1) { animation-delay: 1.0s; }
.hero__visual.is-visible .hero-pill:nth-child(2) { animation-delay: 1.06s; }
.hero__visual.is-visible .hero-pill:nth-child(3) { animation-delay: 1.12s; }
.hero__visual.is-visible .hero-pill:nth-child(4) { animation-delay: 1.18s; }
.hero__visual.is-visible .hero-pill:nth-child(5) { animation-delay: 1.24s; }
.hero__visual.is-visible .hero-pill:nth-child(6) { animation-delay: 1.30s; }
.hero__visual.is-visible .hero-pill:nth-child(7) { animation-delay: 1.36s; }
.hero__visual.is-visible .hero-pill:nth-child(8) { animation-delay: 1.42s; }

@keyframes heroPillPop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 899px) {
  .hero__visual {
    display: none;
  }
}

/* Reduced motion: show final states immediately */
@media (prefers-reduced-motion: reduce) {
  .hero__visual::before {
    transform: scale(1);
  }

  .hero-card {
    opacity: 1;
    transform: translateY(0);
  }

  .hero-pill {
    opacity: 1;
    transform: scale(1);
  }

  .proof-chip {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero__headline {
  margin: 0 0 1rem;
  color: var(--charcoal);
}

.hero__sub {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.2rem);
  color: rgba(35, 43, 43, 0.78);
  margin: 0 0 2rem;
  max-width: 32rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(35, 43, 43, 0.45);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__scroll-hint svg {
  animation: chevronPulse 2s ease-in-out infinite;
}

@keyframes chevronPulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

/* Reveal animations (IO adds .is-visible) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-hero .reveal-child {
  opacity: 0;
  transform: translateY(20px);
}

.reveal-hero.is-visible .reveal-child {
  animation: heroFadeUp 600ms var(--ease-hero) forwards;
}

.reveal-hero.is-visible .reveal-child:nth-child(1) {
  animation-delay: 0.05s;
}
.reveal-hero.is-visible .reveal-child:nth-child(2) {
  animation-delay: 0.15s;
}
.reveal-hero.is-visible .reveal-child:nth-child(3) {
  animation-delay: 0.25s;
}
.reveal-hero.is-visible .reveal-child:nth-child(4) {
  animation-delay: 0.35s;
}
.reveal-hero.is-visible .reveal-child:nth-child(5) {
  animation-delay: 0.45s;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes whyCardIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.stagger-children.is-visible > .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
}

.stagger-children.is-visible > .stagger-item:nth-child(1) {
  transition-delay: 0ms;
}
.stagger-children.is-visible > .stagger-item:nth-child(2) {
  transition-delay: 100ms;
}
.stagger-children.is-visible > .stagger-item:nth-child(3) {
  transition-delay: 200ms;
}
.stagger-children.is-visible > .stagger-item:nth-child(4) {
  transition-delay: 300ms;
}
.stagger-children.is-visible > .stagger-item:nth-child(5) {
  transition-delay: 400ms;
}
.stagger-children.is-visible > .stagger-item:nth-child(6) {
  transition-delay: 500ms;
}

/* Why Tacassure: keyframed stagger (does not affect Benefits grid) */
#why-tacassure .stagger-item {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: none;
}

#why-tacassure .stagger-children.is-visible > .stagger-item {
  animation: whyCardIn 0.58s var(--ease-hero) forwards;
  opacity: 0;
  transform: translateY(26px) scale(0.985);
}

#why-tacassure .stagger-children.is-visible > .stagger-item:nth-child(1) {
  animation-delay: 0.05s;
}
#why-tacassure .stagger-children.is-visible > .stagger-item:nth-child(2) {
  animation-delay: 0.13s;
}
#why-tacassure .stagger-children.is-visible > .stagger-item:nth-child(3) {
  animation-delay: 0.21s;
}
#why-tacassure .stagger-children.is-visible > .stagger-item:nth-child(4) {
  animation-delay: 0.29s;
}
#why-tacassure .stagger-children.is-visible > .stagger-item:nth-child(5) {
  animation-delay: 0.37s;
}
#why-tacassure .stagger-children.is-visible > .stagger-item:nth-child(6) {
  animation-delay: 0.45s;
}
#why-tacassure .stagger-children.is-visible > .stagger-item:nth-child(7) {
  animation-delay: 0.53s;
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 6vw, 6rem) 1.5rem;
}

.section__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.section-head {
  margin-bottom: 2.5rem;
}

/* Benefits: heading can wrap; keep each bullet item on one line for wider screens. */
@media (min-width: 1024px) {
  #benefits .section-intro li {
    white-space: nowrap;
  }
}

.micro-cta {
  margin-top: 2rem;
  font-size: 0.9375rem;
}

.micro-cta a {
  font-weight: 600;
}

/* Benefits — asymmetric rows */
.benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.benefit-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

@media (min-width: 768px) {
  .benefit-row {
    grid-template-columns: minmax(140px, 0.35fr) 1fr;
  }
  .benefit-row--flip {
    direction: rtl;
  }
  .benefit-row--flip > * {
    direction: ltr;
  }
}

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

.benefit-row__accent {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 1;
  color: var(--indigo);
  transition: color 200ms ease;
}

.benefit-row:hover .benefit-row__accent {
  color: var(--peach);
}

.benefit-row__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.benefit-row__body p {
  margin: 0;
  color: rgba(35, 43, 43, 0.76);
}

/* Services tabs */
.services-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .services-layout {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (min-width: 900px) {
  .service-tabs {
    flex-direction: column;
  }
}

.service-tab {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(35, 43, 43, 0.12);
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  text-align: left;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 150ms ease;
  min-height: 44px;
}

.service-tab:hover {
  border-color: var(--indigo);
  color: var(--indigo);
}

.service-tab.is-active {
  background: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
}

.service-panels {
  position: relative;
  min-height: 12rem;
}

.service-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
  z-index: 0;
  transition: opacity 280ms ease-out, transform 280ms ease-out;
}

.service-panel.is-active {
  position: relative;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 500;
  background: rgba(69, 84, 166, 0.08);
  color: var(--indigo);
  border-radius: 999px;
  border: 1px solid rgba(69, 84, 166, 0.15);
}

.role-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .role-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.role-card {
  background: var(--white);
  border: 1px solid rgba(35, 43, 43, 0.08);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.2rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.role-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
}

.role-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(35, 43, 43, 0.78);
}

.services-more {
  margin: 1rem 0 0;
  font-weight: 600;
  color: var(--indigo);
  letter-spacing: 0.01em;
}

/* Process timeline */
.process {
  --step-active: var(--indigo);
}

.process-desktop {
  display: none;
}

@media (min-width: 1025px) {
  .process-desktop {
    display: block;
  }
  .process-mobile {
    display: none;
  }
}

.process-track {
  position: relative;
  padding: 2rem 0 1rem;
}

.process-line-svg {
  width: 100%;
  height: 48px;
  overflow: visible;
}

.process-line-path {
  fill: none;
  stroke: rgba(69, 84, 166, 0.35);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s ease-out;
}

.process-steps-h {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -1.5rem;
}

.process-step-h {
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  border: 2px solid transparent;
}

.process-step-h.is-active {
  border-color: var(--peach);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.process-step-h .num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--indigo);
  margin-bottom: 0.5rem;
}

.process-mobile .process-step-v {
  position: relative;
  padding: 1.5rem 1rem 1.5rem 1.25rem;
  margin-bottom: 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  overflow: hidden;
}

.process-step-v .watermark {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: rgba(69, 84, 166, 0.08);
  pointer-events: none;
}

.process-step-v.is-active {
  border-color: var(--indigo);
}

@keyframes focusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(69, 84, 166, 0.25);
  }
  100% {
    box-shadow: 0 0 0 4px rgba(69, 84, 166, 0.08);
  }
}

/* Calculator gradient promo */
.calc-promo-section {
  background: var(--soft-white);
}

.calc-promo {
  background: linear-gradient(135deg, var(--indigo) 0%, #6471c4 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .calc-promo {
    grid-template-columns: 1fr auto;
    gap: 3rem;
  }
}

.calc-promo::before {
  content: "";
  position: absolute;
  top: -80px;
  right: 200px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(247, 171, 174, 0.15);
  pointer-events: none;
}

.calc-promo::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.calc-promo__eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--peach);
  margin-bottom: 1rem;
}

.calc-promo__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 480px;
  margin: 0;
}

.calc-promo__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.btn--calc-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--indigo);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  border: none;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}

.btn--calc-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn--calc-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition: background 0.2s ease;
  min-height: 44px;
}

.btn--calc-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 899px) {
  .calc-promo {
    grid-template-columns: 1fr;
  }
}

/* Testimonials — VA carousel */
.testimonials-section {
  background: var(--indigo);
}

.testimonials-section .section-label {
  color: rgba(255, 255, 255, 0.55);
}

.testimonials-section .section-head .display {
  color: var(--white);
}

.testimonials-section .section-intro {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

.testimonials-section .section-intro a {
  color: var(--peach);
  font-weight: 600;
}

.testimonial-carousel {
  margin-top: 0.5rem;
  max-width: 100%;
}

.testimonial-carousel:focus-visible {
  outline: 2px solid var(--peach);
  outline-offset: 4px;
}

.testimonial-carousel__viewport {
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}

.testimonial-carousel__track {
  display: flex;
  will-change: transform;
}

.testimonial-carousel .t-card--carousel {
  flex-shrink: 0;
  min-height: 360px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 6px 18px rgba(35, 43, 43, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transition:
    background 0.25s var(--ease-hero),
    transform 0.25s var(--ease-hero),
    border-color 0.25s ease,
    box-shadow 0.25s var(--ease-hero);
}

.testimonial-carousel .t-card--carousel:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow:
    0 10px 26px rgba(35, 43, 43, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.testimonial-carousel .t-card--carousel.t-card--carousel-active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  box-shadow:
    0 10px 28px rgba(35, 43, 43, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.testimonial-carousel .t-card--carousel.t-card--carousel-active:hover {
  transform: translateY(-2px);
}

.testimonial-carousel .t-card--carousel.t-card--carousel-side {
  opacity: 0.74;
  transform: scale(0.965);
  box-shadow:
    0 5px 14px rgba(35, 43, 43, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.testimonial-carousel .t-card--carousel.t-card--carousel-side:hover {
  opacity: 0.86;
  transform: translateY(-1px) scale(0.972);
}

.testimonial-carousel .t-card--carousel .t-quote {
  max-height: 230px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.25rem;
  margin-right: -0.15rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.08);
}

.testimonial-carousel .t-card--carousel .t-quote::-webkit-scrollbar {
  width: 6px;
}

.testimonial-carousel .t-card--carousel .t-quote::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.testimonial-carousel .t-card--carousel .t-quote::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.34);
  border-radius: 999px;
}

.testimonial-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.testimonial-carousel__counter {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.75);
  min-width: 4.5rem;
  text-align: center;
}

.testimonial-carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s var(--ease-hero);
}

.testimonial-carousel__btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.testimonial-carousel__btn:focus-visible {
  outline: 2px solid var(--peach);
  outline-offset: 2px;
}

@media (min-width: 1025px) {
  .testimonial-carousel__controls {
    margin-top: 1.35rem;
  }
}

@media (min-width: 1100px) {
  .testimonial-carousel .t-card--carousel {
    min-height: 370px;
  }

  .testimonial-carousel .t-card--carousel .t-quote {
    max-height: 220px;
  }

  .testimonial-carousel__counter {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-carousel__track {
    transition: none !important;
  }

  .testimonial-carousel .t-card--carousel,
  .testimonial-carousel .t-card--carousel:hover,
  .testimonial-carousel .t-card--carousel.t-card--carousel-active,
  .testimonial-carousel .t-card--carousel.t-card--carousel-active:hover,
  .testimonial-carousel .t-card--carousel.t-card--carousel-side,
  .testimonial-carousel .t-card--carousel.t-card--carousel-side:hover {
    transition-duration: 0.01ms !important;
    transform: none;
  }
}

.t-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.65rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.t-card:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.t-type-badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.t-type-badge.client {
  background: rgba(247, 171, 174, 0.2);
  color: var(--peach);
}

.t-type-badge.va {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.t-quote {
  font-size: 0.99rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  flex: 1;
  margin: 0 0 1.25rem;
  font-style: italic;
  font-weight: 300;
}

.t-quote::before {
  content: "\201C";
  color: var(--peach);
  font-size: 28px;
  line-height: 0.5;
  display: block;
  margin-bottom: 8px;
  font-style: normal;
}

.t-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.t-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
}

.t-role {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

/* FAQ two-column layout */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .faq-layout {
    grid-template-columns: 260px 1fr;
    gap: 4rem;
  }
}

.faq-sidebar .display {
  margin-bottom: 1rem;
}

.faq-sidebar__desc {
  font-size: 0.875rem;
  color: rgba(35, 43, 43, 0.6);
  line-height: 1.7;
  margin: 0;
}

/* FAQ */
.faq-group-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(35, 43, 43, 0.5);
  margin: 2rem 0 0.75rem;
}

.faq-group-label:first-child {
  margin-top: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(35, 43, 43, 0.1);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--charcoal);
  min-height: 48px;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 350ms var(--ease-accordion);
  color: var(--indigo);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms var(--ease-accordion);
}

.faq-panel-inner {
  padding-bottom: 1.15rem;
  color: rgba(35, 43, 43, 0.76);
  max-width: 52rem;
}

.faq-panel-inner > p {
  margin: 0 0 0.75rem;
}

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

.faq-panel-inner ul {
  margin: 0;
  padding-left: 1.25rem;
}

.faq-panel-inner li {
  margin-bottom: 0.5rem;
}

.faq-panel-inner li:last-child {
  margin-bottom: 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  grid-template-areas:
    "aside"
    "form";
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "aside form";
    align-items: start;
  }
}

.contact-form-area {
  grid-area: form;
}

.contact-aside {
  grid-area: aside;
}

.contact-direct {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(35, 43, 43, 0.1);
  display: grid;
  gap: 0.35rem;
}

.contact-direct__title {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(35, 43, 43, 0.52);
}

.contact-direct__link {
  width: fit-content;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--indigo);
  text-decoration: none;
}

.contact-direct__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-direct__linkedin-btn {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(69, 84, 166, 0.26);
  background: linear-gradient(
    135deg,
    rgba(69, 84, 166, 0.1),
    rgba(69, 84, 166, 0.03)
  );
  color: var(--indigo);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 0.2s var(--ease-out), border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-direct__linkedin-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(69, 84, 166, 0.45);
  background: linear-gradient(
    135deg,
    rgba(69, 84, 166, 0.14),
    rgba(69, 84, 166, 0.06)
  );
  box-shadow: 0 6px 14px rgba(69, 84, 166, 0.18);
}

.contact-direct__linkedin-btn:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
}

.contact-direct__linkedin-icon {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0a66c2;
}

.contact-direct__linkedin-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.contact-direct__note {
  margin: 0.2rem 0 0;
  max-width: 20rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(35, 43, 43, 0.68);
}

.floating-field {
  position: relative;
  margin-bottom: 1.35rem;
}

.floating-field input,
.floating-field textarea {
  width: 100%;
  padding: 1.1rem 1rem 0.65rem;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 2px solid rgba(35, 43, 43, 0.12);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.floating-field textarea {
  min-height: 140px;
  resize: vertical;
}

.floating-field label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: rgba(35, 43, 43, 0.5);
  pointer-events: none;
  transition: transform 0.2s var(--ease-accordion), font-size 0.2s var(--ease-accordion), top 0.2s var(--ease-accordion), color 0.2s ease;
}

.floating-field textarea + label {
  top: 1.35rem;
  transform: translateY(0);
}

.floating-field input:focus,
.floating-field textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(69, 84, 166, 0.12);
  animation: focusPulse 1s ease-out;
}

.floating-field input:focus + label,
.floating-field input:not(:placeholder-shown) + label,
.floating-field textarea:focus + label,
.floating-field textarea:not(:placeholder-shown) + label {
  top: 0.45rem;
  transform: translateY(0);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--indigo);
}

.floating-field textarea:focus + label,
.floating-field textarea:not(:placeholder-shown) + label {
  top: 0.45rem;
}

.site-footer {
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(35, 43, 43, 0.55);
  border-top: 1px solid rgba(35, 43, 43, 0.08);
}

.two-col-text {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .two-col-text {
    grid-template-columns: 1fr 1fr;
  }
}

.about-block {
  background: var(--white);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.about-section {
  background: #fff;
}

.about-layout {
  align-items: stretch;
}

.about-block--lead {
  border: 1px solid rgba(69, 84, 166, 0.16);
}

.about-block--meta {
  border: 1px solid rgba(35, 43, 43, 0.08);
}

.about-block p {
  margin: 0;
  color: rgba(35, 43, 43, 0.85);
}

.about-block p + p {
  margin-top: 1rem;
}

.about-points {
  margin: 1.25rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.5rem;
  color: rgba(35, 43, 43, 0.8);
  font-size: 0.95rem;
}

.about-stat {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(69, 84, 166, 0.08), rgba(247, 171, 174, 0.14));
  border: 1px solid rgba(69, 84, 166, 0.18);
  display: grid;
  gap: 0.35rem;
}

.about-stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  line-height: 1.1;
  color: var(--indigo);
}

.about-stat__label {
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(35, 43, 43, 0.72);
}

.why-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(35, 43, 43, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

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

.why-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.why-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(35, 43, 43, 0.75);
}

#why-tacassure .why-card {
  position: relative;
  transition:
    transform 220ms var(--ease-hero),
    box-shadow 220ms var(--ease-hero),
    border-color 220ms ease;
}

#why-tacassure .why-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: linear-gradient(
    180deg,
    var(--indigo) 0%,
    rgba(247, 171, 174, 0.88) 100%
  );
  opacity: 0;
  transform: scaleY(0);
  transform-origin: center top;
  transition:
    opacity 0.48s var(--ease-hero),
    transform 0.52s var(--ease-hero);
}

#why-tacassure .stagger-children.is-visible > .stagger-item::before {
  opacity: 1;
  transform: scaleY(1);
}

#why-tacassure .stagger-children.is-visible > .stagger-item:nth-child(1)::before {
  transition-delay: 0.1s;
}
#why-tacassure .stagger-children.is-visible > .stagger-item:nth-child(2)::before {
  transition-delay: 0.18s;
}
#why-tacassure .stagger-children.is-visible > .stagger-item:nth-child(3)::before {
  transition-delay: 0.26s;
}
#why-tacassure .stagger-children.is-visible > .stagger-item:nth-child(4)::before {
  transition-delay: 0.34s;
}
#why-tacassure .stagger-children.is-visible > .stagger-item:nth-child(5)::before {
  transition-delay: 0.42s;
}
#why-tacassure .stagger-children.is-visible > .stagger-item:nth-child(6)::before {
  transition-delay: 0.5s;
}
#why-tacassure .stagger-children.is-visible > .stagger-item:nth-child(7)::before {
  transition-delay: 0.58s;
}

#why-tacassure .why-card:hover {
  border-color: rgba(69, 84, 166, 0.32);
}

/* Services: apply the same side colour accent across all cards */
#services .why-card {
  position: relative;
}

#services .why-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: linear-gradient(
    180deg,
    var(--indigo) 0%,
    rgba(247, 171, 174, 0.88) 100%
  );
  opacity: 1;
}
