/* ============================================================
   AI MindSoft — Design System
   Pastel, warm, editorial. Inspired by BCG (clarity), SquareShift
   (card-driven practice areas), Emobomo (process & delivery focus).
   ============================================================ */

:root {
  color-scheme: light;

  /* Base */
  --bg: #FBF8F4;
  --surface: #FFFFFF;
  --surface-alt: #F6F2FC;
  --surface-dark: #23262B;
  --ink: #23262B;
  --ink-soft: #5B5F66;
  --ink-faint: #6B6E76; /* meets 4.5:1 on --bg for small caption text */
  --line: #EAE4F6;
  --line-soft: #F0EDE6;

  /* Pastel palette + deepened "on-pastel" text/icon tones for contrast */
  --lavender: #EFE7FF;   --lavender-deep: #6952D6;
  --mint:     #DEF6E8;   --mint-deep:     #2C8F5E;
  --peach:    #FFE6D6;   --peach-deep:    #C8632F;
  --sky:      #E0EEFF;   --sky-deep:      #2B62B8;
  --butter:   #FFF3C6;   --butter-deep:   #A47A12;
  --blush:    #FFE1EC;   --blush-deep:    #B5426F;

  /* Brand accent (deeper violet, used for CTAs/links so text stays accessible) */
  --accent: #6952D6;
  --accent-dark: #4F3DB8;
  --accent-contrast: #FFFFFF;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(35,38,43,0.06);
  --shadow-md: 0 12px 32px -12px rgba(35,38,43,0.16);
  --shadow-lg: 0 24px 60px -20px rgba(35,38,43,0.22);

  --wrap: 1180px;
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
button { font-family: inherit; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: var(--radius-pill); z-index: 200; transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- Eyebrow / tags ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); display: inline-block;
}

.tag {
  display: inline-flex; align-items: center; font-family: var(--font-head);
  font-weight: 600; font-size: 0.82rem; padding: 8px 16px; border-radius: var(--radius-pill);
}
.tag-lavender { background: var(--lavender); color: var(--lavender-deep); }
.tag-mint     { background: var(--mint);     color: var(--mint-deep); }
.tag-peach    { background: var(--peach);    color: var(--peach-deep); }
.tag-sky      { background: var(--sky);      color: var(--sky-deep); }
.tag-butter   { background: var(--butter);   color: var(--butter-deep); }
.tag-blush    { background: var(--blush);    color: var(--blush-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  padding: 15px 28px; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .18s ease; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 244, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 28px; max-width: var(--wrap); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--ink); }
.logo-img { height: 32px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: 0.96rem; color: var(--ink-soft); padding: 6px 2px; position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--accent);
  transition: width .2s ease; border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-cta { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; background: var(--ink); color: #fff; padding: 11px 22px; border-radius: var(--radius-pill); transition: background .18s ease, transform .18s ease; }
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-2px); }
.nav-toggle { display: none; background: none; border: none; color: var(--ink); cursor: pointer; padding: 6px; }

@media (max-width: 920px) {
  /* Without JS, nav links simply wrap inline below the logo — always visible,
     no interaction required. The .js-scoped rules below layer on the
     collapsible menu only once main.js confirms it can drive the toggle. */
  .nav { flex-wrap: wrap; }
  .nav-links { display: flex; flex-wrap: wrap; gap: 4px 18px; width: 100%; order: 3; }
  .nav-cta { display: none; }

  .js .nav-links { position: fixed; inset: 72px 16px auto 16px; width: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); flex-direction: column; align-items: stretch; gap: 0; padding: 10px; box-shadow: var(--shadow-lg); transform: translateY(-14px); opacity: 0; pointer-events: none; transition: all .22s ease; }
  .js .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .js .nav-links li { border-bottom: 1px solid var(--line-soft); }
  .js .nav-links li:last-child { border-bottom: none; }
  .js .nav-links a { display: block; padding: 14px 10px; }
  .js .nav-links a::after { display: none; }
  .js .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 76px 0 90px; overflow: hidden; }
.scroll-cue {
  position: relative; z-index: 1; display: flex; width: 38px; height: 38px; margin: 46px auto 0;
  align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-soft); box-shadow: var(--shadow-sm);
  animation: scrollCueBob 2.4s ease-in-out infinite;
}
.scroll-cue svg { width: 16px; height: 16px; }
.scroll-cue:hover { color: var(--accent); border-color: var(--accent); }
@keyframes scrollCueBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }
@media (max-width: 640px) { .scroll-cue { display: none; } }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; opacity: 0.8; animation: heroBlobDrift ease-in-out infinite; }
.hero-blob.b1 { width: 420px; height: 420px; background: var(--lavender); top: -140px; right: -100px; animation-duration: 16s; }
.hero-blob.b2 { width: 340px; height: 340px; background: var(--peach); bottom: -130px; left: -100px; opacity: 0.65; animation-duration: 20s; animation-direction: reverse; }
.hero-blob.b3 { width: 260px; height: 260px; background: var(--sky); top: 220px; right: 260px; opacity: 0.5; animation-duration: 13s; animation-delay: -4s; }

@keyframes heroBlobDrift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-4%, 5%) scale(1.08); }
  66%  { transform: translate(4%, -3%) scale(0.96); }
  100% { transform: translate(0, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-blob { animation: none; }
}

.hero-worldmap { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; z-index: 0; pointer-events: none; opacity: 0.16; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.hero h1 em { font-style: normal; color: var(--accent); }
.h1-word { display: inline-block; animation: h1WordIn 0.7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes h1WordIn {
  from { opacity: 0; transform: translateY(0.3em); filter: blur(3px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero .lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 34px; }
.hero-trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-trust span { font-size: 0.86rem; color: var(--ink-faint); font-weight: 600; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 8px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 480px; }
.hero-stats div { padding: 0 26px; border-left: 1px solid var(--line); }
.hero-stats div:first-child { padding-left: 0; border-left: none; }
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); line-height: 1.1; }
.hero-stats div span { font-size: 0.8rem; color: var(--ink-faint); }
@media (max-width: 480px) {
  .hero-stats { max-width: none; display: grid; grid-template-columns: repeat(3, auto); gap: 10px 22px; }
  .hero-stats div { padding: 0; border-left: none; }
}

.hero-visual { position: relative; }
.hero-float { position: absolute; z-index: 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 14px 18px; font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.hero-float.f1 { top: -22px; left: -26px; }
.hero-float.f2 { bottom: -20px; right: -18px; }
.hero-float .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint-deep); box-shadow: 0 0 0 4px var(--mint); }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-float { display: none; }
}

/* ---------- Photography: a consistent brand-tinted treatment so stock/real
   photos read as designed rather than dropped in raw. ---------- */
.photo-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-alt); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(145deg, rgba(105,82,214,0.30) 0%, rgba(105,82,214,0) 40%, rgba(255,214,196,0) 60%, rgba(232,140,86,0.22) 100%);
  mix-blend-mode: multiply;
}
.photo-frame.tint-mint::after { background: linear-gradient(145deg, rgba(44,143,94,0.28) 0%, rgba(44,143,94,0) 45%, rgba(105,82,214,0) 55%, rgba(105,82,214,0.22) 100%); }
.photo-frame.tint-sky::after { background: linear-gradient(145deg, rgba(43,98,184,0.26) 0%, rgba(43,98,184,0) 45%, rgba(181,66,111,0) 55%, rgba(181,66,111,0.18) 100%); }
.photo-frame.tint-peach::after { background: linear-gradient(145deg, rgba(200,99,47,0.24) 0%, rgba(200,99,47,0) 45%, rgba(105,82,214,0) 55%, rgba(105,82,214,0.20) 100%); }

.hero-photo { aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-lg); }
@media (max-width: 920px) { .hero-photo { aspect-ratio: 4 / 3.2; } }

/* ---------- Arch photo cutouts (hero collage) ---------- */
.arch-stack { position: relative; padding-top: 56px; padding-right: 64px; }
.arch-main { width: 74%; aspect-ratio: 3 / 4; border-radius: 50% 50% 28px 28px; box-shadow: var(--shadow-lg); }
.arch-accent {
  position: absolute; top: -30px; right: -8px; width: 34%; aspect-ratio: 3 / 3.85;
  border-radius: 50% 50% 18px 18px; box-shadow: var(--shadow-md);
  border: 6px solid var(--bg);
}
@media (max-width: 480px) {
  .arch-stack { padding-top: 40px; padding-right: 40px; }
  .arch-accent { width: 38%; top: -22px; right: -6px; }
}

/* Small hand-drawn accent under the emphasised hero word */
.squiggle-wrap { position: relative; display: inline-block; }
.squiggle-wrap svg { position: absolute; left: 2%; right: 2%; bottom: -0.14em; width: 96%; height: 0.28em; color: var(--accent); }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--surface-dark); color: #fff; }
.section-dark .ink-soft, .section-dark p { color: #C7C9D6; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.section-head.left { margin: 0 0 48px; text-align: left; }

.section-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-top .section-head { margin: 0; text-align: left; max-width: 620px; }
.text-link { font-family: var(--font-head); font-weight: 600; color: var(--accent-dark); display: inline-flex; align-items: center; gap: 8px; }
.text-link svg { width: 15px; height: 15px; transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Featured practice banner ---------- */
.service-feature {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  min-height: 340px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  margin-bottom: 26px; color: #fff;
}
.service-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .5s ease; }
.service-feature:hover img { transform: scale(1.05); }
.service-feature::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(18,14,34,0.94) 0%, rgba(18,14,34,0.7) 38%, rgba(18,14,34,0.18) 72%);
}
.service-feature-content { position: relative; z-index: 2; padding: 42px; max-width: 560px; }
.service-feature-tag {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700;
  font-size: 0.74rem; letter-spacing: 0.07em; text-transform: uppercase; color: #C9BBFF; margin-bottom: 14px;
}
.service-feature-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #C9BBFF; }
.service-feature-content h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 12px; }
.service-feature-content p { color: rgba(255,255,255,0.82); font-size: 1rem; max-width: 48ch; margin-bottom: 20px; }
.service-feature-content .card-link { color: #fff; font-size: 0.96rem; }
.service-feature-content .card-link svg { color: #fff; }
@media (max-width: 640px) {
  .service-feature { min-height: 300px; }
  .service-feature-content { padding: 28px; }
}

/* ---------- Cards grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 920px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 32px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 14px; }
.card-link { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--accent-dark); display: inline-flex; align-items: center; gap: 6px; }
.card-link svg { width: 14px; height: 14px; transition: transform .18s ease; }
.card:hover .card-link svg, .service-feature:hover .card-link svg { transform: translateX(3px); }

.icon-lavender { background: var(--lavender); color: var(--lavender-deep); }
.icon-mint     { background: var(--mint);     color: var(--mint-deep); }
.icon-peach    { background: var(--peach);    color: var(--peach-deep); }
.icon-sky      { background: var(--sky);      color: var(--sky-deep); }
.icon-butter   { background: var(--butter);   color: var(--butter-deep); }
.icon-blush    { background: var(--blush);    color: var(--blush-deep); }

/* ---------- Industries strip ---------- */
/* ---------- Industry slider ---------- */
.industry-slider-viewport { position: relative; }
.industry-slider {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 4px 4px 16px; margin: 0 -4px; scrollbar-width: none; -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.industry-slider::-webkit-scrollbar { display: none; }
.industry-slide {
  position: relative; flex: 0 0 280px; aspect-ratio: 3 / 4; scroll-snap-align: start;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  display: block; color: #fff;
}
.industry-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.industry-slide:hover img { transform: scale(1.06); }
.industry-slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(20,16,36,0.86) 0%, rgba(20,16,36,0.35) 45%, rgba(20,16,36,0.05) 65%);
}
.industry-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: multiply;
  background: linear-gradient(145deg, rgba(105,82,214,0.35) 0%, rgba(105,82,214,0) 45%);
}
.industry-slide-label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px; }
.industry-slide-label span { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: #C9BBFF; margin-bottom: 8px; }
.industry-slide-label h3 { color: #fff; font-size: 1.15rem; margin-bottom: 6px; }
.industry-slide-label p { color: rgba(255,255,255,0.82); font-size: 0.86rem; margin: 0; }

.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3; color: var(--ink); transition: background .18s ease, transform .18s ease; }
.slider-nav svg { width: 18px; height: 18px; }
.slider-nav:hover { background: var(--accent); color: #fff; transform: translateY(-50%) scale(1.06); }
.slider-nav.prev { left: -23px; }
.slider-nav.next { right: -23px; }
.slider-nav:disabled { opacity: 0.35; pointer-events: none; }

@media (max-width: 1240px) {
  .slider-nav.prev { left: 4px; }
  .slider-nav.next { right: 4px; }
}
@media (max-width: 640px) {
  .industry-slide { flex-basis: 220px; }
  .slider-nav { display: none; }
}

/* ---------- Process rail ---------- */
.process-rail { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding-top: 28px; }
.process-track { position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: var(--line); z-index: 0; }
.process-track::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  animation: processTrackFill 1.8s 0.3s ease both;
}
@keyframes processTrackFill { from { width: 0; } to { width: 100%; } }
.process-step {
  position: relative; z-index: 1; padding: 30px 20px 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-md); transition: transform .2s ease, box-shadow .2s ease;
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.process-node {
  position: absolute; top: -28px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 0 0 6px var(--surface-alt), var(--shadow-sm);
}
.process-step h4 { font-size: 1.02rem; }
.process-step p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 980px) {
  .process-rail { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .process-track { display: none; }
}
@media (max-width: 560px) { .process-rail { grid-template-columns: 1fr; } }

/* ---------- Stats bar ---------- */
.stats-bar { background: var(--ink); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item strong { display: block; font-family: var(--font-head); font-size: 2.4rem; color: #fff; }
.stat-item span { font-size: 0.88rem; color: #B7B9C6; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Differentiators ---------- */
.diff-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.diff-list-single { grid-template-columns: 1fr; margin-top: 24px; gap: 22px; }
.diff-item { display: flex; gap: 18px; }
.diff-num { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--accent); flex-shrink: 0; width: 40px; }
.diff-item h4 { font-size: 1.05rem; margin-bottom: 6px; }
.diff-item p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }
@media (max-width: 760px) { .diff-list { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; }
.testi-quote { font-size: 1.02rem; margin-bottom: 20px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; color: #fff; }
.testi-person strong { display: block; font-size: 0.92rem; }
.testi-person span { font-size: 0.8rem; color: var(--ink-faint); }
@media (max-width: 920px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 6px 26px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { width: 24px; height: 24px; border-radius: 50%; background: var(--lavender); color: var(--lavender-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .2s ease; font-size: 1.1rem; line-height: 1; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item p { padding-bottom: 22px; color: var(--ink-soft); margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner { background: linear-gradient(120deg, var(--lavender), var(--sky)); border-radius: var(--radius-lg); padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-banner h3 { font-size: 1.7rem; margin-bottom: 8px; }
.cta-banner p { color: var(--ink-soft); margin: 0; max-width: 46ch; }
@media (max-width: 760px) { .cta-banner { padding: 36px; text-align: center; justify-content: center; } .cta-banner p { margin: 0 auto; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 60px 0 70px; position: relative; overflow: hidden; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.86rem; color: var(--ink-faint); margin-bottom: 20px; }
.breadcrumb a { color: var(--ink-faint); font-weight: 600; }
.breadcrumb a:hover { color: var(--accent-dark); }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3rem); max-width: 18ch; }
.page-hero .lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Service detail blocks ---------- */
.service-block { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: none; }
.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }
.service-block ul { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.service-block ul li { display: flex; gap: 10px; font-size: 0.96rem; color: var(--ink-soft); align-items: flex-start; }
.service-block ul li svg { width: 18px; height: 18px; color: var(--mint-deep); flex-shrink: 0; margin-top: 2px; }
.service-visual { background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.service-visual .card-icon { margin: 0 auto 22px; width: 64px; height: 64px; }
.service-visual .card-icon svg { width: 30px; height: 30px; }
.service-visual.is-photo { padding: 0; aspect-ratio: 5 / 4; overflow: hidden; }
.service-visual.is-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.visual-caption { margin-top: 18px; font-size: 0.92rem; color: var(--ink-soft); }
.visual-caption strong { color: var(--ink); }
@media (max-width: 860px) { .service-block, .service-block.reverse { grid-template-columns: 1fr; direction: ltr; } }

/* ---------- Editorial full-bleed break ---------- */
.editorial {
  position: relative; padding: 130px 0; color: #fff; overflow: hidden;
  background-image: url('../assets/editorial-network.svg');
  background-size: cover; background-position: center;
}
.editorial .wrap { position: relative; z-index: 1; }
.editorial-quote {
  font-family: "Sora", serif; font-style: italic; font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.35; max-width: 20ch; color: #fff;
  letter-spacing: -0.01em;
}
.editorial-quote span { color: #C9BBFF; }
.editorial-attr { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.editorial-attr .dotmark { width: 30px; height: auto; flex-shrink: 0; }
.editorial-attr strong { display: block; font-family: var(--font-head); font-size: 0.92rem; color: #fff; }
.editorial-attr span { font-size: 0.82rem; color: #B7A6FF; }

/* ---------- Image + text feature blocks (about page, etc.) ---------- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-split .photo-frame { aspect-ratio: 6 / 5; box-shadow: var(--shadow-md); }
@media (max-width: 860px) { .feature-split, .feature-split.reverse { grid-template-columns: 1fr; direction: ltr; } }

.photo-callout { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border-radius: var(--radius-md); padding: 20px 22px; box-shadow: var(--shadow-md); }
.photo-callout h4 { font-size: 0.98rem; margin-bottom: 4px; }
.photo-callout p { font-size: 0.86rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 480px) { .photo-callout { position: static; margin-top: 14px; backdrop-filter: none; } }

/* ---------- Values grid (about) ---------- */
.value-card { text-align: left; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: none; }
.timeline-year { font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: 1.1rem; }
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p { color: var(--ink-soft); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.contact-info-card .card-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-info-card h4 { margin-bottom: 4px; font-size: 1rem; }
.contact-info-card p, .contact-info-card a { color: var(--ink-soft); font-size: 0.94rem; }
.contact-info-card a:hover { color: var(--accent-dark); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--bg); font-family: var(--font-body); font-size: 0.96rem; color: var(--ink); transition: border-color .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--ink-faint); margin-top: 14px; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-top: 26px; }
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C7C9D6; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid #383B44; }
.footer-about .logo { color: #fff; }
.footer-about p { margin-top: 16px; font-size: 0.92rem; max-width: 34ch; color: #A6A9B6; }
.site-footer h5 { color: #fff; font-family: var(--font-head); font-size: 0.9rem; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer a { font-size: 0.92rem; color: #A6A9B6; transition: color .18s ease; }
.site-footer a:hover { color: #fff; }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: #313440; display: flex; align-items: center; justify-content: center; }
.social-row a svg { width: 17px; height: 17px; color: #fff; }
.social-row a:hover { background: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 0.84rem; color: #9CA0AC; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: #A6A9B6; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Cursor glow ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; pointer-events: none; z-index: 300;
  background: radial-gradient(circle, rgba(105,82,214,0.30) 0%, rgba(105,82,214,0.12) 45%, rgba(105,82,214,0) 72%);
  opacity: 0; transition: opacity .25s ease, width .25s ease, height .25s ease, margin .25s ease;
}
.cursor-glow.in { opacity: 1; }
.cursor-glow.hover { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: radial-gradient(circle, rgba(105,82,214,0.38) 0%, rgba(105,82,214,0.14) 50%, rgba(105,82,214,0) 74%); }

@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
