:root {
  --text: #1f1a14;
  --secondary: #5b5146;
  --tertiary: #888288;
  --background: #fcf9fa;
  --surface: rgba(255, 255, 255, 0.68);
  --tint: #f8ecf8;
  --border: rgba(136, 130, 136, 0.3);
  --accent: #a321a3;
  --orange: #ffa347;
  --max-width: 1180px;
  --gutter: 2rem;
  --radius: 16px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  color: var(--text);
  background: linear-gradient(160deg, var(--background), #f8f1eb);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.15; }
.wrap { width: min(100%, var(--max-width)); margin-inline: auto; padding-inline: var(--gutter); }

.consulting-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 246, 248, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
}
.consulting-header__inner { min-height: 6rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.identity { display: block; text-decoration: none; }
.identity strong { display: block; font-size: clamp(1.45rem,2.5vw,2rem); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; white-space: nowrap; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
nav a { color: var(--secondary); font-size: .875rem; font-weight: 500; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--accent); }

.hero { padding-top: clamp(4.5rem, 9vw, 8rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.hero h1 { max-width: 54rem; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.02; text-wrap: balance; }
.hero__lede { max-width: 49rem; margin-top: 1.75rem; color: var(--secondary); font-size: clamp(1.15rem, 2vw, 1.5rem); }
.hero__actions { margin-top: 2rem; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.hero__actions span { color: var(--tertiary); font-size: .875rem; }
.button { display: inline-flex; padding: .85rem 1.2rem; border-radius: 999px; color: #fff; background: var(--text); font-weight: 700; text-decoration: none; box-shadow: 0 4px 14px rgba(31,26,20,.12); }
.button:hover { background: var(--accent); }

.reel-section[hidden] { display: none; }
.reel-section { padding-top: clamp(1.5rem,3vw,2.5rem); padding-bottom: 0; }
.reel-placeholder { width: 100%; aspect-ratio: 16 / 9; margin: 0; overflow: hidden; border: 1px solid rgba(136,130,136,.2); border-radius: var(--radius); background: #eee7e3; box-shadow: 0 4px 18px rgba(31,26,20,.06); }

.section { display: grid; grid-template-columns: minmax(210px,.72fr) minmax(0,1.55fr); gap: clamp(2rem,6vw,4.5rem); padding-top: clamp(4rem,8vw,7rem); }
.section__heading { position: sticky; top: 8rem; align-self: start; }
.section__heading h2 { max-width: 19rem; font-size: clamp(1.25rem,1.8vw,1.6rem); }
.section__content { min-width: 0; color: var(--secondary); font-size: 1.05rem; }
.section__content > * + * { margin-top: 1.5rem; }
.lead { color: var(--text); font-size: clamp(1.25rem,2vw,1.55rem); font-weight: 500; line-height: 1.35; }
.lead + .plain-list { margin-top: 2.75rem; }
.plain-list { margin: 0; padding-left: 1.25rem; }
.plain-list li + li { margin-top: .65rem; }

.card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.card-grid--four { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 1fr; }
.card-grid article { min-height: 10rem; padding: 1.4rem; border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 5px rgba(12,12,13,.06); }
.card-grid h3 { margin-top: .35rem; color: var(--text); font-size: clamp(1.25rem,2vw,1.55rem); font-weight: 500; line-height: 1.35; }
.card-grid--four h3 { margin-top: 0; font-size: clamp(1.25rem,2vw,1.55rem); font-weight: 500; line-height: 1.35; }
.card-grid p { margin-top: .65rem; font-size: .9rem; }
.card-grid article > span { color: var(--accent); font-size: .8rem; font-weight: 700; }

.starting-project { margin-top: clamp(3rem,6vw,5rem); padding-top: 2rem; }
.starting-project > * + * { margin-top: 1.25rem; }
.starting-project h3 { color: var(--text); font-size: clamp(1.25rem,2vw,1.55rem); font-weight: 500; line-height: 1.35; }
.starting-project__price { color: var(--accent); font-weight: 600; }
.scope-table { overflow: hidden; margin-top: 2rem; border: 1px solid rgba(136,130,136,.18); border-radius: var(--radius); }
.scope-table__header { color: var(--text); background: var(--tint); font-size: 1.05rem; font-weight: 700; }
.scope-table__header > div,
.scope-table__row > div { padding: 1.25rem; }
.scope-table__row > div { padding-block: 1.5rem; }
.scope-table__list { margin: 0; padding-left: 1.25rem; }
.scope-table__list li + li { margin-top: .5rem; }
.scope-table__row { color: var(--secondary); background: rgba(255,255,255,.52); }
.starting-project__testing { padding-left: 1rem; border-left: 2px solid rgba(163,33,163,.3); }
.ongoing-price { color: var(--accent); font-weight: 600; }

.faq { overflow: hidden; border: 1px solid rgba(136,130,136,.18); border-radius: var(--radius); background: rgba(255,255,255,.52); }
.faq details + details { margin-top: 0; border-top: 1px solid rgba(136,130,136,.18); }
.faq summary { display: flex; min-height: 5.5rem; padding: 1.25rem 1.5rem; align-items: center; justify-content: space-between; gap: 1.5rem; color: var(--text); font-weight: 700; cursor: pointer; list-style: none; }
.faq details:not([open]) summary { height: 5.5rem; }
.faq summary > span { display: flex; align-items: center; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { display: none; content: ""; }
.faq details p { max-width: 42rem; padding: 0 4.5rem 1.5rem 1.5rem; }
.faq__icon { width: 1.5rem; height: 1.5rem; flex: 0 0 auto; color: var(--secondary); }
.faq__icon--up { display: none; }
.faq details[open] .faq__icon--down { display: none; }
.faq details[open] .faq__icon--up { display: block; }

.final-cta { margin-top: clamp(5rem,10vw,9rem); padding-top: clamp(4rem,8vw,7rem); padding-bottom: clamp(4rem,8vw,7rem); border-top: 1px solid var(--border); text-align: center; }
.final-cta h2 { max-width: 50rem; margin: 0 auto; font-size: clamp(2rem,5vw,4rem); text-wrap: balance; }
.final-cta .final-cta__support { max-width: 42rem; margin: clamp(1.85rem,3.33vw,2.67rem) auto 0; color: var(--secondary); font-size: 1.15rem; }
.final-cta__actions { margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }
.final-cta__actions > a:not(.button) { color: var(--secondary); font-weight: 600; text-underline-offset: .25em; }
footer { padding-top: 2rem; padding-bottom: 3rem; color: var(--tertiary); text-align: center; font-size: .8rem; }

a:focus-visible, summary:focus-visible, .reel-placeholder:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
section { scroll-margin-top: 7rem; }

@media (max-width: 760px) {
  :root { --gutter: 1.25rem; }
  .consulting-header__inner { min-height: auto; padding-top: 1.1rem; padding-bottom: 1.1rem; align-items: flex-start; flex-wrap: wrap; }
  nav { width: 100%; align-items: center; justify-content: space-between; gap: .75rem; }
  nav a { font-size: .8rem; }
  section { scroll-margin-top: 10rem; }
  .section { grid-template-columns: 1fr; }
  .section__heading { position: static; }
  .section__heading h2 { max-width: 28rem; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid--four { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 500px) {
  .hero h1 { font-size: 2.55rem; }
  .hero__actions { align-items: flex-start; flex-direction: column; }
  .card-grid--four { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
