/* ==========================================================
   Remote AssistCo — virtual assistant portfolio
   Brand: navy #13294B, teal #0F7C7A, white
   ========================================================== */

:root {
  --navy: #13294B;
  --navy-deep: #0B1A33;
  --teal: #0F7C7A;
  --teal-deep: #0A605E;
  --teal-bright: #3FC1B9;
  --mint: #E5F3F2;
  --mint-2: #CBE6E3;
  --paper: #F6F9F9;
  --white: #FFFFFF;
  --ink: #13294B;
  --ink-soft: #4A5870;
  --line: rgba(19, 41, 75, 0.12);
  --bad: #B4352B;
  --bad-soft: #FBE7E4;
  --warn: #8A5A00;
  --warn-soft: #FFF1D6;

  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-script: "Instrument Serif", Georgia, serif;

  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 28px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(19, 41, 75, .06), 0 12px 40px -12px rgba(19, 41, 75, .18);
  --shadow-lg: 0 2px 4px rgba(19, 41, 75, .06), 0 30px 70px -20px rgba(19, 41, 75, .35);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
svg { flex-shrink: 0; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  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: 1rem; top: -100px; z-index: 1000;
  background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: 10px;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.display em, .hero-role em {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--teal);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--teal-bright); }

.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-lede { margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.125rem; max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.5rem;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.2;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-arrow { transition: transform .3s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .92rem; }

.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -10px rgba(15, 124, 122, .7); }
.btn-teal:hover { background: var(--teal-deep); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--teal); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 249, 249, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(19, 41, 75, .3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--navy); }
.brand-name b { color: var(--teal); font-weight: 700; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-name b { color: var(--teal-bright); }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.8rem; }
.site-nav ul a {
  position: relative; text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--ink-soft);
  padding-block: .5rem; transition: color .2s;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.site-nav ul a:hover, .site-nav ul a.is-active { color: var(--navy); }
.site-nav ul a:hover::after, .site-nav ul a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 50%; width: 20px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-toggle-bar { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { transform: translateY(-6px); }
.nav-toggle-bar::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 1.2rem;
    padding: 1.5rem var(--gutter) 2rem; background: var(--paper);
    border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(19, 41, 75, .35);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease-out), opacity .25s, visibility .25s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: .2rem; }
  .site-nav ul a { display: block; font-size: 1.25rem; padding: .7rem 0; color: var(--navy); }
  .site-nav ul a::after { display: none; }
  .nav-cta { min-height: 52px; }
}

/* ---------- Floating CTA ---------- */
.float-cta {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.25rem; border-radius: 999px;
  background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(150%); opacity: 0;
  transition: transform .45s var(--ease-out), opacity .3s, background-color .2s;
}
.float-cta.is-visible { transform: none; opacity: 1; }
.float-cta:hover { background: var(--teal); }
.float-cta-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 0 rgba(63, 193, 185, .6); animation: ping 2s infinite; }

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(63, 193, 185, .6); }
  80%, 100% { box-shadow: 0 0 0 10px rgba(63, 193, 185, 0); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(15, 124, 122, .10), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 64px;
  -webkit-mask-image: linear-gradient(#000 40%, transparent);
          mask-image: linear-gradient(#000 40%, transparent);
  opacity: .9;
}

.hero-grid {
  display: grid;
  grid-template-columns: .95fr minmax(300px, 1fr) 1.15fr;
  grid-template-areas:
    "hello photo status"
    "title photo role"
    "proof photo intro";
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.hero-hello {
  grid-area: hello; align-self: end;
  font-family: var(--font-script); font-style: italic; font-size: clamp(2.4rem, 4.4vw, 4rem);
  line-height: 1; color: var(--teal); padding-top: 2rem;
}
.hero-hello span { display: inline-block; }

.hero-title { grid-area: title; margin-top: .6rem; font-family: var(--font-display); line-height: .9; }
.hero-iam { display: block; font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 2rem); color: var(--ink-soft); letter-spacing: -0.02em; margin-bottom: .5rem; }
.hero-name {
  display: block; font-weight: 800; font-size: clamp(4.2rem, 9.5vw, 8.6rem); letter-spacing: -0.06em; color: var(--navy);
}

.hero-proof { grid-area: proof; align-self: end; display: flex; align-items: center; gap: .9rem; margin-top: 2rem; }
.proof-avatars { display: flex; }
.proof-avatars i {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; margin-left: -10px;
  border: 3px solid var(--paper); background: var(--mint); color: var(--teal-deep);
  font-style: normal; font-size: .72rem; font-weight: 800;
}
.proof-avatars i:first-child { margin-left: 0; }
.proof-avatars i:nth-child(2) { background: var(--navy); color: #fff; }
.proof-avatars i:nth-child(3) { background: var(--teal); color: #fff; }
.proof-avatars i:last-child { background: #fff; color: var(--navy); border-color: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.hero-proof .stars svg { display: block; width: 92px; height: 15px; fill: #F4B740; }
.hero-proof small { display: block; font-size: .86rem; font-weight: 600; color: var(--ink-soft); margin-top: .2rem; }
.js .hero-proof { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease-out) .5s forwards; }

.hero-photo-wrap { grid-area: photo; position: relative; padding-top: 1rem; }
.hero-blob {
  position: absolute; inset: 7% -6% -4% -6%; z-index: 0;
  border-radius: 999px 999px 40px 40px;
  background: linear-gradient(160deg, var(--teal) 0%, var(--navy) 85%);
}
.hero-blob::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.22) 1px, transparent 1.5px) 0 0 / 16px 16px;
}
.hero-photo {
  position: relative; z-index: 1; overflow: hidden;
  border-radius: 999px 999px 32px 32px; aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg); border: 6px solid #fff;
  background: #ececec;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

.chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: .7rem;
  background: #fff; border-radius: 18px; padding: .7rem 1rem .7rem .7rem;
  box-shadow: var(--shadow-lg); white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip b { display: block; font-family: var(--font-display); font-size: .98rem; line-height: 1.2; color: var(--navy); }
.chip small { display: block; font-size: .78rem; color: var(--ink-soft); line-height: 1.3; }
.chip-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; }
.chip-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chip-icon-teal { background: var(--teal); }
.chip-icon-navy { background: var(--navy); }
.chip-a { top: 18%; left: -16%; }
.chip-b { top: 46%; right: -14%; animation-delay: -2s; }
.chip-c { bottom: 8%; left: -10%; animation-delay: -4s; }

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

.hero-status {
  grid-area: status; justify-self: end; align-self: end;
  display: inline-flex; align-items: center; gap: .6rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .55rem 1rem; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow);
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #1FA971; animation: ping 2s infinite; box-shadow: 0 0 0 0 rgba(31,169,113,.6); }

.hero-role {
  grid-area: role; margin-top: 2.5rem;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.02; letter-spacing: -0.035em; color: var(--navy); text-align: right;
}
.hero-role em { font-size: 1.12em; }

.hero-intro { grid-area: intro; margin-top: 1.5rem; }
.hero-intro p { color: var(--ink-soft); font-size: 1.08rem; text-align: right; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .75rem; margin-top: 1.5rem; }

/* Hero entrance */
.js .hero-hello span, .js .hero-iam, .js .hero-name, .js .hero-role, .js .hero-intro, .js .hero-status {
  opacity: 0; transform: translateY(24px);
  animation: rise .9s var(--ease-out) forwards;
}
.js .hero-hello span:nth-child(2) { animation-delay: .08s; }
.js .hero-iam { animation-delay: .15s; }
.js .hero-name { animation-delay: .22s; }
.js .hero-status { animation-delay: .3s; }
.js .hero-role { animation-delay: .36s; }
.js .hero-intro { animation-delay: .46s; }
.js .hero-photo { animation: photoIn 1.1s var(--ease-out) both; }
.js .hero-blob { animation: blobIn 1.2s var(--ease-out) both; }
.js .chip { animation: chipIn .8s var(--ease-out) both, float 6s ease-in-out 1.4s infinite; }
.js .chip-a { animation-delay: .7s, 1.4s; }
.js .chip-b { animation-delay: .85s, -.6s; }
.js .chip-c { animation-delay: 1s, -2.6s; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes photoIn { from { opacity: 0; transform: translateY(40px) scale(.96); } }
@keyframes blobIn { from { opacity: 0; transform: scale(.85); } }
@keyframes chipIn { from { opacity: 0; transform: translateY(16px) scale(.9); } }

@media (max-width: 999px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "hello" "title" "proof" "photo" "status" "role" "intro";
    grid-template-rows: none;
  }
  .hero-hello { padding-top: 1rem; }
  .hero-photo-wrap { max-width: 400px; width: 82%; justify-self: center; margin-top: 2rem; }
  .hero-status { justify-self: start; margin-top: 2.5rem; }
  .hero-role { text-align: left; margin-top: 1.25rem; }
  .hero-intro p { text-align: left; }
  .hero-ctas { justify-content: flex-start; }
  .chip-a { left: -14%; }
  .chip-b { right: -14%; }
  .chip-c { left: -8%; }
}
@media (max-width: 520px) {
  .chip { padding: .5rem .75rem .5rem .5rem; gap: .5rem; border-radius: 14px; }
  .chip-icon { width: 30px; height: 30px; border-radius: 9px; }
  .chip-icon svg { width: 16px; height: 16px; }
  .chip b { font-size: .82rem; }
  .chip small { font-size: .68rem; }
  .chip-a { left: -10%; }
  .chip-b { right: -10%; }
  .chip-c { left: -6%; }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--navy); color: #fff; overflow: hidden; padding-block: 1.25rem;
  transform: rotate(-1.2deg) scale(1.02); margin-block: 1rem;
}
.marquee-track { display: flex; align-items: center; gap: 2.2rem; width: max-content; animation: marquee 36s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -0.01em; white-space: nowrap; }
.marquee-track i { width: 12px; height: 12px; border-radius: 4px; background: var(--teal-bright); transform: rotate(45deg); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about-copy p + p { margin-top: 1rem; }
.about-copy p { color: var(--ink-soft); }
.about-lead { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.5; color: var(--navy) !important; font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.5rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.3rem 1.4rem; display: flex; flex-direction: column-reverse; gap: .2rem; }
.stat dd { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -0.04em; color: var(--teal); line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat dt { color: var(--ink-soft); font-size: .92rem; font-weight: 600; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services { background: #fff; border-radius: 48px 48px 0 0; }
.service-list { border-top: 1px solid var(--line); counter-reset: s; }
.service {
  position: relative; display: grid; grid-template-columns: 70px minmax(220px, 1fr) 1.3fr 56px; align-items: center; gap: 1.5rem;
  padding: 1.7rem .5rem; border-bottom: 1px solid var(--line); text-decoration: none; overflow: hidden; isolation: isolate;
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mint);
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease-out);
}
.service:hover::before, .service:focus-visible::before { transform: scaleY(1); }
.service-num { font-family: var(--font-display); font-weight: 700; color: var(--teal); font-size: .95rem; }
.service-name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -0.03em; line-height: 1.1; transition: transform .4s var(--ease-out); }
.service:hover .service-name { transform: translateX(8px); }
.service-desc { color: var(--ink-soft); }
.service-arrow { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .3s, border-color .3s, transform .4s var(--ease-out); }
.service-arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.service:hover .service-arrow { background: var(--teal); border-color: var(--teal); transform: rotate(45deg); }
.service:hover .service-arrow svg { stroke: #fff; }
@media (max-width: 760px) {
  .service { grid-template-columns: 40px 1fr 44px; grid-template-areas: "num name arrow" "num desc arrow"; row-gap: .4rem; gap: .5rem 1rem; padding: 1.4rem .25rem; }
  .service-num { grid-area: num; align-self: start; padding-top: .3rem; }
  .service-name { grid-area: name; }
  .service-desc { grid-area: desc; font-size: .96rem; }
  .service-arrow { grid-area: arrow; width: 44px; height: 44px; }
}

/* ---------- Case studies (stacked cards) ---------- */
.work { background: #fff; padding-top: 2rem; }
.cases { display: grid; gap: 2rem; }

.case {
  --tone-bg: #fff; --tone-ink: var(--ink); --tone-soft: var(--ink-soft); --tone-line: var(--line); --tone-accent: var(--teal);
  position: relative;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: center;
  padding: clamp(1.5rem, 3.5vw, 3rem);
  background: var(--tone-bg); color: var(--tone-ink);
  border: 1px solid var(--tone-line); border-radius: 36px;
  box-shadow: var(--shadow-lg);
  transform-origin: 50% 0;
}
.case:nth-child(3n+1) { --tone-bg: var(--paper); }
.case:nth-child(3n+2) { --tone-bg: var(--navy); --tone-ink: #fff; --tone-soft: rgba(255,255,255,.74); --tone-line: rgba(255,255,255,.12); --tone-accent: var(--teal-bright); }
.case:nth-child(3n+3) { --tone-bg: var(--mint); --tone-line: var(--mint-2); }

@media (min-width: 1000px) and (min-height: 600px) {
  .cases { gap: 6vh; padding-bottom: 4vh; }
  .case { position: sticky; top: calc(var(--header-h) + 20px + var(--i) * 16px); min-height: min(640px, calc(100vh - var(--header-h) - 120px)); }
}

.case-kicker { display: flex; align-items: center; gap: .7rem; font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tone-accent); }
.case-kicker span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid currentColor; font-family: var(--font-display); letter-spacing: 0; }
.case h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.05; margin-top: 1rem; }
.case-client { color: var(--tone-soft); font-size: .92rem; font-weight: 600; margin-top: .4rem; }
.case-info > p:not([class]) { color: var(--tone-soft); margin-top: 1.1rem; }
.case-results { display: grid; gap: .5rem; margin-top: 1.4rem; }
.case-results li { display: flex; align-items: baseline; gap: .7rem; font-size: .98rem; color: var(--tone-soft); }
.case-results b { font-family: var(--font-display); font-weight: 800; color: var(--tone-accent); font-size: 1.2rem; min-width: 5.2rem; letter-spacing: -0.02em; }

.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.4rem; }
.tags li { padding: .32rem .8rem; border-radius: 999px; border: 1px solid var(--tone-line, var(--line)); font-size: .82rem; font-weight: 600; color: var(--tone-soft, var(--ink-soft)); }

@media (max-width: 999px) {
  .case { grid-template-columns: 1fr; border-radius: 28px; }
}

/* ---------- Demo window ---------- */
.demo {
  background: #fff; color: var(--ink); border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(11, 26, 51, .45);
  min-width: 0;
}
.demo-top {
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
  padding: .75rem 1rem; border-bottom: 1px solid var(--line); background: #FAFCFC;
  font-size: .9rem;
}
.demo-top > b { font-weight: 700; margin-right: auto; }
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 10px; height: 10px; border-radius: 50%; background: #E3E8EE; }
.demo-dots i:first-child { background: #F2B8B0; }
.demo-dots i:nth-child(2) { background: #F5D99A; }
.demo-dots i:nth-child(3) { background: #A8DCC2; }
.demo-body { padding: 1.1rem; }
.demo-hint { font-size: .85rem; color: var(--ink-soft); margin-bottom: .75rem; }
.muted { color: var(--ink-soft); font-size: .88rem; }

.pill { padding: .25rem .7rem; border-radius: 999px; background: var(--mint); color: var(--teal-deep); font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pill-live { background: #DFF5EA; color: #13734A; }
.pill-live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #1FA971; margin-right: .4rem; vertical-align: middle; animation: ping 2s infinite; }

.seg { display: inline-flex; background: var(--mint); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button {
  border: 0; background: transparent; padding: .45rem .85rem; border-radius: 999px; min-height: 36px;
  font-size: .82rem; font-weight: 700; color: var(--teal-deep); transition: background-color .25s, color .25s, box-shadow .25s;
}
.seg button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(19, 41, 75, .14); }

.demo .btn-sm { min-height: 42px; }

/* CRM demo */
.crm-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.crm-kpis div { background: var(--paper); border-radius: 12px; padding: .7rem .85rem; }
.crm-kpis small { display: block; font-size: .76rem; color: var(--ink-soft); font-weight: 600; }
.crm-kpis strong { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; transition: color .4s; }
.crm-kpis .is-bad { color: var(--bad); }
.crm-kpis .is-good { color: var(--teal); }

.crm-table, .contacts-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.crm-table th, .contacts-table th { text-align: left; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; padding: .5rem .6rem; border-bottom: 1px solid var(--line); }
.crm-table td, .contacts-table td { padding: .6rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.crm-table tr { transition: background-color .4s, opacity .4s, transform .4s var(--ease-out); }
.crm-table .is-empty { color: var(--bad); }
.crm-table tr.is-fixing { background: var(--mint); }
.crm-table tr.is-gone { opacity: 0; transform: translateX(30px); }
.flag { display: inline-block; font-style: normal; font-size: .74rem; font-weight: 700; padding: .18rem .55rem; border-radius: 999px; background: var(--bad-soft); color: var(--bad); }
.flag-soft { background: var(--warn-soft); color: var(--warn); }
.flag-ok { background: var(--mint); color: var(--teal-deep); }
.demo-action { margin-top: 1rem; }

.kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .55rem; }
.kcol { background: var(--paper); border-radius: 12px; padding: .55rem; min-height: 230px; display: flex; flex-direction: column; gap: .45rem; }
.kcol-title { display: flex; justify-content: space-between; font-size: .74rem; font-weight: 700; color: var(--ink-soft); padding: .1rem .2rem .3rem; }
.kcol-title span { background: #fff; border-radius: 999px; padding: 0 .45rem; font-variant-numeric: tabular-nums; }
.kcol-won { background: var(--mint); }
.kcard {
  display: block; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: .5rem .55rem; font-size: .76rem; line-height: 1.3; box-shadow: 0 2px 6px rgba(19, 41, 75, .06);
  transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s;
  animation: cardIn .45s var(--ease-out);
}
.kcard:hover { transform: translateY(-2px); border-color: var(--teal); box-shadow: 0 8px 18px -8px rgba(15, 124, 122, .5); }
.kcard b { display: block; font-size: .8rem; }
.kcard small { display: block; color: var(--ink-soft); }
.kcard em { display: inline-block; margin-top: .3rem; font-style: normal; font-size: .68rem; font-weight: 700; color: var(--teal-deep); background: var(--mint); padding: .05rem .4rem; border-radius: 6px; }
.kcard:disabled { color: inherit; opacity: 1; }
.kcol-won .kcard { cursor: default; border-color: var(--mint-2); }
.kcol-won .kcard:hover { transform: none; box-shadow: 0 2px 6px rgba(19, 41, 75, .06); border-color: var(--mint-2); }
@keyframes cardIn { from { opacity: 0; transform: translateY(-8px) scale(.96); } }

.toast {
  display: flex; align-items: center; gap: .6rem; margin-top: .9rem;
  background: var(--navy); color: #fff; border-radius: 12px; padding: .65rem .9rem; font-size: .84rem; font-weight: 600;
}
.toast.is-pop { animation: pop .5s var(--ease-out); }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); flex-shrink: 0; }
@keyframes pop { 0% { transform: scale(.96); } 60% { transform: scale(1.02); } 100% { transform: none; } }

/* Contacts demo */
.contacts-tools { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: .8rem; }
.search { flex: 1 1 200px; display: flex; align-items: center; gap: .5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0 .9rem; min-height: 42px; }
.search:focus-within { border-color: var(--teal); }
.search svg { width: 17px; height: 17px; fill: none; stroke: var(--ink-soft); stroke-width: 2; stroke-linecap: round; }
.search input { border: 0; background: transparent; outline: none; width: 100%; font-size: 16px; min-height: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: .35rem; }
.filters button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .35rem .8rem; min-height: 36px; font-size: .8rem; font-weight: 700; color: var(--ink-soft); transition: all .2s; }
.filters button:hover { border-color: var(--teal); color: var(--teal-deep); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; max-height: 268px; overflow-y: auto; }
.contacts-table { table-layout: fixed; }
.contacts-table th:nth-child(1) { width: 31%; }
.contacts-table th:nth-child(2) { width: 25%; }
.contacts-table th:nth-child(3) { width: 19%; }
.contacts-table td { overflow: hidden; text-overflow: ellipsis; }
.contacts-table thead th { position: sticky; top: 0; background: #FAFCFC; }
.contacts-table tbody tr { animation: cardIn .35s var(--ease-out); }
.contacts-table tbody tr:hover { background: var(--paper); }
.contacts-table .who { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.ini { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: var(--teal-deep); font-size: .66rem; font-weight: 800; }
.ind { font-size: .72rem; font-weight: 700; padding: .12rem .5rem; border-radius: 999px; background: var(--paper); color: var(--ink-soft); }
.verified { display: inline-flex; align-items: center; gap: .3rem; color: var(--ink-soft); }
.verified svg { width: 14px; height: 14px; fill: none; stroke: #1FA971; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.empty { padding: 1.2rem; text-align: center; color: var(--ink-soft); font-size: .9rem; }
.contacts-foot { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; margin-top: .9rem; }
.share-avatars { display: flex; }
.av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; font-size: .68rem; font-weight: 800; color: #fff; animation: cardIn .4s var(--ease-out) both; }
.av:first-child { margin-left: 0; }
.av-z { background: var(--teal); }
.av-1 { background: var(--navy); }
.av-2 { background: #6C5CE7; }
.av-3 { background: #D9822B; }
.av-4 { background: #2E86DE; }
.share-status { margin-top: .6rem; font-size: .85rem; font-weight: 600; color: var(--teal-deep); min-height: 1.3em; }

/* Inbox demo */
.mail-list { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mail-list li {
  display: grid; grid-template-columns: 120px 1fr auto; gap: .8rem; align-items: center;
  padding: .55rem .8rem; background: #fff; font-size: .84rem; position: relative;
  transition: background-color .35s, opacity .45s, transform .45s var(--ease-out);
}
.mail-list li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--teal); transition: opacity .3s; }
.mail-list li + li { border-top: 1px solid var(--line); }
.mail-from { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-subj { color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-tag { font-style: normal; font-size: .7rem; font-weight: 700; padding: .12rem .5rem; border-radius: 999px; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .35s var(--ease-out); }
.mail-list li.is-sorted::before { opacity: 0; }
.mail-list li.is-sorted .mail-tag { opacity: 1; transform: none; }
.mail-list li.is-sorted .mail-from { font-weight: 500; }
.mail-list li.is-archived { opacity: .38; }
.mail-tag[data-l="Clients"] { background: var(--mint); color: var(--teal-deep); }
.mail-tag[data-l="Invoices"] { background: #E6ECF7; color: var(--navy); }
.mail-tag[data-l="Leads"] { background: #FFF1D6; color: var(--warn); }
.mail-tag[data-l="Archived"] { background: #EEF0F3; color: #5A6578; }

.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; margin-top: .9rem; }
.week-col { position: relative; height: 104px; background: var(--paper); border-radius: 10px; padding-top: 1.3rem; }
.week-col small { position: absolute; top: .3rem; left: .45rem; font-size: .68rem; font-weight: 700; color: var(--ink-soft); }
.ev { position: absolute; left: 5px; right: 5px; top: calc(1.3rem + var(--t) * .8); height: calc(var(--h) * .8); border-radius: 6px; }
.ev-teal { background: var(--teal); }
.ev-navy { background: var(--navy); }
.ev-focus { background: repeating-linear-gradient(135deg, var(--mint-2) 0 6px, var(--mint) 6px 12px); border: 1px solid var(--teal); }
.inbox-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-top: .9rem; }
.legend { display: flex; flex-wrap: wrap; gap: .8rem; font-size: .76rem; color: var(--ink-soft); font-weight: 600; }
.lg::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }
.lg-teal::before { background: var(--teal); }
.lg-navy::before { background: var(--navy); }
.lg-focus::before { background: var(--mint-2); border: 1px solid var(--teal); }

/* Social demo */
.social-body { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1rem; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; align-content: start; }
.cal-h { font-size: .66rem; font-weight: 700; color: var(--ink-soft); text-align: center; padding-bottom: 2px; }
.cal-d { position: relative; aspect-ratio: 1; border-radius: 8px; background: var(--paper); font-size: .66rem; color: var(--ink-soft); padding: 3px 4px; overflow: hidden; }
.cal-d.has-post { background: var(--mint); color: var(--teal-deep); font-weight: 700; }
.cal-d.has-post::after {
  content: ""; position: absolute; inset: auto 4px 4px 4px; height: 42%; border-radius: 5px;
  background: var(--post, var(--teal)); animation: cardIn .35s var(--ease-out) both; animation-delay: var(--delay, 0s);
}
.cal-d.is-empty { background: transparent; }
.growth { background: var(--paper); border-radius: 14px; padding: .9rem; display: flex; flex-direction: column; }
.growth-head small { display: block; font-size: .76rem; font-weight: 600; color: var(--ink-soft); }
.growth-head strong { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.up { display: block; font-size: .78rem; font-weight: 700; color: #13734A; }
.growth svg { width: 100%; height: 110px; margin-top: auto; overflow: visible; }
.growth-line { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: stroke .4s; }
.growth-area { fill: rgba(15, 124, 122, .14); }
.months { display: flex; justify-content: space-between; font-size: .66rem; color: var(--ink-soft); font-weight: 600; margin-top: .3rem; }

/* Flow demo */
.flow { display: grid; gap: .55rem; position: relative; }
.flow li {
  position: relative; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: .8rem;
  padding: .6rem .8rem .6rem .6rem; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  transition: border-color .35s, background-color .35s, box-shadow .35s, transform .35s var(--ease-out);
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; left: 30px; top: 100%; width: 2px; height: .55rem; background: var(--line);
}
.flow li b { display: block; font-size: .9rem; }
.flow li small { color: var(--ink-soft); font-size: .76rem; }
.flow-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--paper); transition: background-color .35s; }
.flow-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--ink-soft); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.flow-time { font-style: normal; font-size: .76rem; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; opacity: .5; }
.flow li.is-running { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15, 124, 122, .12); transform: translateX(4px); }
.flow li.is-done { border-color: var(--mint-2); background: #FAFDFD; }
.flow li.is-done .flow-icon, .flow li.is-running .flow-icon { background: var(--teal); }
.flow li.is-done .flow-icon svg, .flow li.is-running .flow-icon svg { stroke: #fff; }
.flow li.is-done .flow-time { opacity: 1; color: var(--teal-deep); }
.flow li.is-done:not(:last-child)::after { background: var(--teal); }
.flow-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.flow-status { font-size: .88rem; font-weight: 600; color: var(--ink-soft); }
.flow-status.is-done { color: var(--teal-deep); }

@media (max-width: 560px) {
  .demo-body { padding: .85rem; }
  .crm-kpis strong { font-size: 1.1rem; }
  .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kcol { min-height: 150px; }
  .mail-list li { grid-template-columns: 1fr auto; row-gap: 0; }
  .mail-from { grid-column: 1; }
  .mail-subj { grid-column: 1; grid-row: 2; }
  .mail-tag { grid-row: 1 / 3; grid-column: 2; }
  .social-body { grid-template-columns: 1fr; }
  .crm-table th:nth-child(2), .crm-table td:nth-child(2) { display: none; }
  .contacts-table th:nth-child(4), .contacts-table td:nth-child(4) { display: none; }
  .contacts-table th:nth-child(1) { width: 42%; }
  .contacts-table th:nth-child(2) { width: 34%; }
  .contacts-table th:nth-child(3) { width: 24%; }
}

/* ---------- Calculator ---------- */
.calc { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.calc::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 193, 185, .28), transparent 65%);
}
.calc .display em { color: var(--teal-bright); }
.calc-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.calc-lede { color: rgba(255,255,255,.75); margin-top: 1.2rem; font-size: 1.1rem; max-width: 44ch; }
.calc-card { background: #fff; color: var(--ink); border-radius: 30px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); }
.calc-tasks { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.calc-tasks label {
  display: grid; grid-template-columns: 22px 1fr; column-gap: .65rem; align-items: center;
  border: 1.5px solid var(--line); border-radius: 14px; padding: .7rem .8rem; cursor: pointer; min-height: 60px;
  transition: border-color .2s, background-color .2s;
}
.calc-tasks label:hover { border-color: var(--teal); }
.calc-tasks label:has(input:checked) { border-color: var(--teal); background: var(--mint); }
.calc-tasks input { grid-row: 1 / 3; width: 20px; height: 20px; accent-color: var(--teal); margin: 0; }
.calc-tasks span { font-weight: 700; font-size: .92rem; line-height: 1.25; }
.calc-tasks small { grid-column: 2; color: var(--ink-soft); font-size: .78rem; }
.calc-rate { margin-top: 1.4rem; }
.calc-rate label { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: .95rem; }
.calc-rate output { font-family: var(--font-display); font-weight: 800; color: var(--teal); font-variant-numeric: tabular-nums; }
.calc-rate input[type="range"] { width: 100%; margin-top: .7rem; accent-color: var(--teal); height: 28px; }
.calc-result { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.2rem; }
.calc-result div { background: var(--navy); color: #fff; border-radius: 18px; padding: 1rem 1.2rem; }
.calc-result div:last-child { background: var(--teal); }
.calc-result small { display: block; font-size: .8rem; opacity: .8; font-weight: 600; }
.calc-result strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.5rem); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.calc-cta { width: 100%; margin-top: 1rem; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .calc-tasks { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; position: relative; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1.6rem; position: relative; transition: transform .35s var(--ease-out), box-shadow .35s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--teal-deep); font-family: var(--font-display); font-weight: 800; }
.step:first-child .step-num { background: var(--teal); color: #fff; }
.step h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; margin-top: 1.2rem; }
.step p { color: var(--ink-soft); margin-top: .5rem; font-size: .98rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { background: #fff; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.price-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 28px; padding: 2rem; background: var(--paper); position: relative; transition: transform .35s var(--ease-out); }
.price-card:hover { transform: translateY(-6px); }
.price-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.price { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3rem); letter-spacing: -0.045em; margin-top: .8rem; line-height: 1; }
.price small { font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; font-weight: 600; color: var(--ink-soft); margin-left: .2rem; }
.price-note { color: var(--teal-deep); font-weight: 700; margin-top: .5rem; }
.price-list { display: grid; gap: .65rem; margin: 1.5rem 0 2rem; }
.price-list li { position: relative; padding-left: 1.8rem; color: var(--ink-soft); }
.price-list li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230F7C7A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.price-card .btn { margin-top: auto; }
.price-card-featured { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: var(--shadow-lg); }
.price-card-featured .price small, .price-card-featured .price-list li { color: rgba(255,255,255,.78); }
.price-card-featured .price-note { color: var(--teal-bright); }
.price-card-featured .price-list li::before { background-color: rgba(255,255,255,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%233FC1B9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.price-badge { position: absolute; top: -14px; right: 1.5rem; background: var(--teal); color: #fff; font-size: .78rem; font-weight: 700; padding: .35rem .85rem; border-radius: 999px; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; max-width: 480px; } }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.2rem; }
.quote { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 1.8rem; }
.quote blockquote { margin: 1rem 0 1.6rem; flex: 1; }
.quote blockquote p { font-size: 1.05rem; }
.quote-feature { background: var(--teal); color: #fff; border-color: var(--teal); }
.quote-feature blockquote p { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.35; letter-spacing: -0.02em; }
.quote-mark { width: 44px; fill: rgba(255,255,255,.35); }
.stars svg { width: 110px; height: 18px; fill: #F4B740; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; font-size: .88rem; color: var(--ink-soft); }
.quote figcaption b { display: block; color: var(--ink); font-size: .98rem; }
.quote-feature figcaption, .quote-feature figcaption b { color: #fff; }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--mint); color: var(--teal-deep); font-weight: 800; font-size: .85rem; flex-shrink: 0; }
.quote-feature .avatar { background: rgba(255,255,255,.18); color: #fff; }
@media (max-width: 960px) { .quote-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.35rem 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.25rem); letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--mint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%2313294B' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .35s var(--ease-out), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--mint-2); }
.faq summary:hover { color: var(--teal-deep); }
.faq details p { color: var(--ink-soft); padding: 0 3rem 1.4rem 0; animation: rise .4s var(--ease-out); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { background: var(--navy-deep); color: #fff; }
.contact .display em { color: var(--teal-bright); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-intro > p:not(.eyebrow) { color: rgba(255,255,255,.78); margin-top: 1.2rem; font-size: 1.1rem; max-width: 44ch; }
.contact-links { display: grid; gap: .6rem; margin-top: 2rem; }
.contact-links a { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 600; padding: .4rem 0; min-height: 44px; transition: color .2s; }
.contact-links a:hover { color: var(--teal-bright); }
.contact-links svg { width: 22px; height: 22px; fill: none; stroke: var(--teal-bright); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: #fff; color: var(--ink); border-radius: 30px; padding: clamp(1.25rem, 3vw, 2.2rem); }
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: .8rem 1rem; background: var(--paper);
  font-size: 16px; min-height: 52px; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(15, 124, 122, .15); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.field-error { color: var(--bad); font-size: .84rem; font-weight: 600; margin-top: .35rem; }
.form-status { margin-top: .8rem; font-weight: 600; color: var(--teal-deep); min-height: 1.4em; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-form { grid-template-columns: 1fr; } .contact-form .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.1); padding-block: 2rem; font-size: .9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.to-top { text-decoration: none; font-weight: 600; color: #fff; }
.to-top:hover { color: var(--teal-bright); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
