/* =========================================================
   Blue Alpha — Small Business Solutions
   ========================================================= */

:root {
  --ink: #0B1B3F;          /* original navy */
  --ink-2: #16285A;
  --blue: #B87333;         /* copper: primary actions */
  --blue-dark: #8F5622;
  --sky: #A5C4D4;          /* steel blue */
  --cream: #FBF8F3;
  --tint: #E4EEF3;         /* steel blue tint */
  --coral: #A5C4D4; /* steel blue accent */
  --sun: #B87333;   /* copper accent */
  --green: #B87333;
  --green-dark: #8F5622;  /* copper for text on light backgrounds */
  --green-tint: #E4EEF3;
  --green-light: #D99A5B; /* copper for text on indigo */
  --text: #1A2240;
  --muted: #5B6480;
  --line: #DDE5EB;
  --white: #FFFFFF;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(11, 27, 63, .35);
  --shadow-sm: 0 6px 20px -10px rgba(11, 27, 63, .25);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Keep the footer at the bottom of the window on short pages */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; }
h1, h2 { text-wrap: balance; }
.page-title { font-size: clamp(2.25rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .85rem; margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: 1rem;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(184, 115, 51, .25);
}
.eyebrow-light { color: var(--green-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 24px -10px rgba(184, 115, 51, .8); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { border-color: var(--green-dark); color: var(--green-dark); }
.btn-ghost:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-small { padding: .65rem 1.1rem; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
/* Navy header so it stands apart from the cream page */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(11, 27, 63, .6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }

.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); letter-spacing: -0.02em; }
.brand-text small { font-size: .7rem; color: var(--muted); letter-spacing: .04em; }
.brand-light .brand-text strong, .site-header .brand-text strong { color: var(--white); }
.brand-light .brand-text small, .site-header .brand-text small { color: rgba(255, 255, 255, .65); }
/* Larger logo lockup in the header */
.site-header .brand { gap: .75rem; }
.site-header .brand-text strong { font-size: 1.5rem; }
.site-header .brand-text small { font-size: .8rem; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a:not(.btn) {
  text-decoration: none; font-weight: 500; color: rgba(255, 255, 255, .88); position: relative;
  transition: color .15s ease;
}
.site-nav a:not(.btn):hover { color: var(--white); }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: #A5C4D4; transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--white); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span:not(.sr-only) { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }

.highlight {
  position: relative; white-space: nowrap;
  background: linear-gradient(transparent 62%, rgba(165, 196, 212, .75) 62%);
}
@media (max-width: 520px) { .highlight { white-space: normal; } }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.5rem; }

.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.hero-points li { display: flex; align-items: center; gap: .45rem; font-weight: 500; font-size: .95rem; color: var(--ink-2); }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: #F3E6D8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238F5622' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Hero visual collage */
.hero-visual { position: relative; min-height: 460px; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.blob-1 { width: 380px; height: 380px; background: radial-gradient(circle at 30% 30%, #CFE0EA, #A5C4D4); right: 0; top: 20px; }
.blob-2 { width: 160px; height: 160px; background: var(--green); left: 20px; bottom: 30px; opacity: .9; }

.card {
  position: absolute; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.1rem 1.25rem;
  animation: float 7s ease-in-out infinite;
}
.card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); margin: .4rem 0 .2rem; }
.card-title.small { font-size: .95rem; margin: 0; }
.card-top { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; }

.card-request { width: 300px; left: 0; top: 40px; }
.card-chart   { width: 230px; right: 10px; top: 210px; animation-delay: -2s; }
.card-live    { display: flex; align-items: center; gap: .8rem; left: 60px; bottom: 20px; animation-delay: -4s; }

.chip { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-weight: 700; font-size: .72rem; }
.chip-coral { background: #E4EEF3; color: #3B5E72; }

.progress { height: 6px; background: var(--tint); border-radius: 99px; margin: .9rem 0; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #D99A5B); border-radius: inherit; }

.avatars { display: flex; }
.avatars span {
  width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff;
  font-size: .68rem; font-weight: 700; display: grid; place-items: center;
  border: 2px solid #fff; margin-left: -8px;
}
.avatars span:first-child { margin-left: 0; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: .6rem; }
.bars span { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: var(--sky); }
.bars span:last-child { background: var(--blue); }

.pulse { width: 12px; height: 12px; border-radius: 50%; background: #B87333; position: relative; }
.pulse::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid #B87333; animation: ping 1.8s ease-out infinite;
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ping  { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* Marquee */
.marquee { margin-top: 32px; background: var(--ink); color: var(--white); overflow: hidden; padding: 1.1rem 0; }
.marquee-track { display: flex; width: max-content; }
/* Trailing margin (not gap) so the repeated halves are exactly equal and the loop has no jump. */
.marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; white-space: nowrap; margin-right: 2rem; }
/* main.js adds .is-ready once the words are repeated, and sets the duration to match. */
.marquee-track.is-ready { animation: scroll 38s linear infinite; }
.marquee-track span:nth-child(even) { color: var(--sun); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-head { max-width: 720px; margin-bottom: 2.25rem; }
.section-dark { background: var(--ink); color: rgba(255, 255, 255, .78); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-tint { background: var(--green-tint); }
/* Ice blue section (How it works): a light break between the navy header and footer */
.section-ice { background: var(--sky); color: var(--ink-2); }
.section-ice h1, .section-ice h2, .section-ice h3 { color: var(--ink); }

/* Hero card extras */
.card-tags { display: flex; gap: .4rem; }
.card-tags span { font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; background: var(--tint); color: var(--blue); }
.trend { font-size: .72rem; font-weight: 700; color: #8F5622; background: #F3E6D8; padding: .15rem .5rem; border-radius: 999px; }

/* Pillars */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar {
  position: relative; padding: 2rem 1.6rem 1.75rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--blue), #D99A5B);
}
.pillar:nth-child(2)::before { background: linear-gradient(90deg, var(--coral), #CFE0EA); }
.pillar:nth-child(3)::before { background: linear-gradient(90deg, var(--sun), #D99A5B); }
.pillar:nth-child(4)::before { background: linear-gradient(90deg, var(--ink), var(--ink-2)); }
.pillar-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--ink); color: var(--white); margin-bottom: 1.25rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
}
.pillar p { color: var(--muted); font-size: .96rem; margin: 0; }
.pillar .pillar-tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .35rem;
}
.pillar h3 { font-size: 1.35rem; }

/* Questions */
.question-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.question {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.4rem 1.5rem;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.question p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--ink); line-height: 1.3; }
.q-mark {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--coral); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
}
.question:nth-child(3n+2) .q-mark { background: var(--blue); }
.question:nth-child(3n) .q-mark { background: var(--sun); color: var(--ink); }

/* Services */
/* Wide, equal-size cards: two columns, icon beside the text, every row the same height. */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 20px 28px; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; align-content: start;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service .icon { grid-row: 1 / span 3; margin-bottom: 0; }
.service h3 { margin: .15rem 0 .3rem; }
.service p { color: var(--muted); font-size: .96rem; margin: 0; }
.service .addon { margin-top: .55rem; color: var(--ink-2); font-size: .85rem; }
.addon span {
  display: inline-block; margin-right: .35rem; padding: .1rem .5rem; border-radius: 999px;
  background: var(--green); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.service a { font-weight: 700; color: var(--blue); text-decoration: none; font-size: .95rem; }
.service a:hover { text-decoration: underline; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--bg);
  display: grid; place-items: center; margin-bottom: 1.25rem;
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--fg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative; padding: 2rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid rgba(11, 27, 63, .08); box-shadow: var(--shadow-sm);
}
.step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 3.2rem; line-height: 1;
  background: linear-gradient(135deg, var(--blue-dark), var(--green-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 1rem;
}
.step p { margin: 0; color: var(--muted); }

/* Our work */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* The Our work section on the home page uses a wider column (up to 1320px) so the three cards read larger;
   the heading and the button share it, so everything stays flush on the left. */
#work .container { width: min(1320px, 100% - 32px); }
.work {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-shot { background: var(--ink); padding: 0 12px 0; }
.work-bar { display: flex; gap: 6px; padding: 10px 2px; }
.work-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.work-bar i:first-child { background: var(--coral); }
.work-bar i:nth-child(2) { background: var(--sun); }
.work-shot img {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center;
  border-radius: 8px 8px 0 0; display: block;
}
.work-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.work-tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-dark); margin: 0 0 .4rem; }
.work-body p:not(.work-tag) { color: var(--muted); font-size: .95rem; }
.work-chips { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
/* Home cards: the tag row sits at the bottom of every card, centred and a little larger */
.work .work-chips { justify-content: center; gap: .5rem; padding-top: 1.25rem; }
.work .work-chips li { font-size: .86rem; padding: .35rem .85rem; }
/* "Visit site" is pushed down to a fixed spot above the tags, so the links line up across cards */
.work .work-link { margin-top: auto; padding-top: .9rem; }
.work .work-link + .work-chips { margin-top: 0; }
.work-chips li { font-size: .78rem; font-weight: 500; padding: .25rem .7rem; border-radius: 999px; background: var(--tint); color: var(--blue-dark); }
.work-link { margin-top: 1rem; font-weight: 700; color: var(--green-dark); text-decoration: none; font-size: .95rem; }
.work-link:hover { text-decoration: underline; }

/* Our work page intro: a wider text column so the headline holds two lines, and a bold lead-in to the projects */
.section-ice#work { padding-bottom: 40px; }
.section-ice#work .section-head { max-width: 940px; margin-bottom: 0; }
.intro-kicker { margin: 2rem 0 0; color: var(--ink); }

/* Our work page: one case study per row, image beside the story */
.case-list { display: grid; }
.case {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  padding: 52px 0; border-top: 1px solid var(--line);
}
.case:first-child { padding-top: 0; border-top: 0; }
.case:last-child { padding-bottom: 0; }
.case:nth-child(even) .case-shot { order: 2; }
.case-wide-shot { grid-template-columns: 1.5fr 1fr; } /* larger image column */
.case-wide-shot:nth-child(even) { grid-template-columns: 1fr 1.5fr; } /* image sits on the right in even rows */
.case-shot { border-radius: 14px; box-shadow: var(--shadow); }
.case h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 1rem; }
.case-facts { display: grid; gap: 1.1rem; margin-bottom: 1.4rem; }
.case-facts h4 { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-dark); margin: 0 0 .25rem; }
.case-facts p { margin: 0; color: var(--muted); font-size: .97rem; }
.case .work-link { display: inline-block; }
.promise-list.fit-list { grid-template-columns: repeat(4, 1fr); }
.callout {
  margin-top: 2.5rem; padding: 1.75rem 2rem; border-radius: var(--radius); background: var(--sky);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.callout-title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); margin: 0 0 .25rem; }
.callout-text { margin: 0; color: var(--ink-2); max-width: 52ch; }
.section-cta { margin: 2.5rem 0 0; }

/* Pricing promises */
.pricing-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promise-list li {
  padding: 1.5rem; border-radius: var(--radius); background: var(--white);
  border-top: 4px solid var(--blue); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .35rem;
}
.promise-list li:nth-child(2) { border-top-color: var(--coral); }
.promise-list li:nth-child(3) { border-top-color: var(--sun); }
.promise-list li:nth-child(4) { border-top-color: var(--ink); }
.promise-list b { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.pricing-inner .promise-list b { text-align: center; } /* pricing page: centred card titles */
.promise-list span { color: var(--muted); font-size: .95rem; }

/* Contact card (beside the request form) */
.contact-card {
  margin-top: 2rem; max-width: 420px; padding: 1.6rem 1.75rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.contact-brand { display: flex; align-items: center; gap: .9rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.contact-brand img { width: 56px; height: 56px; }
.contact-brand .brand-text strong { font-size: 1.5rem; }
.contact-brand .brand-text small { font-size: .82rem; }
.contact-note { margin: 0; color: var(--ink-2); font-weight: 500; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; align-items: flex-start; gap: .8rem; color: var(--ink-2); font-weight: 500; }
.contact-list svg { flex: none; width: 20px; height: 20px; margin-top: .2rem; fill: none; stroke: var(--green-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-list address { font-style: normal; }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }

/* Industries ("We work with" bubbles): not on the page for now, kept for when we add it back */
.industries-label { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 2rem 0 .75rem; }
.industries { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.industries li {
  padding: .45rem .9rem; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); font-size: .9rem; font-weight: 500;
}

/* Plans */
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .lead { margin-inline: auto; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 2.25rem 2rem; border-radius: 24px; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.plan-name { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--ink); margin: 0; }
.plan-tagline { color: var(--muted); margin: .2rem 0 1.25rem; }
.plan-price {
  font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue);
  padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line);
}
.plan-features { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .75rem; flex: 1; }
.plan-features li { position: relative; padding-left: 1.7rem; font-size: .96rem; }
.plan-features li::before {
  content: ""; position: absolute; left: 0; top: .3rem; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1B3F' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.plan-features li:has(strong) { padding-left: 0; }
.plan-features li:has(strong)::before { display: none; }

.plan-featured {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  border-color: transparent; box-shadow: var(--shadow); margin: -12px 0 12px;
  color: rgba(255, 255, 255, .85);
}
.plan-featured .plan-name, .plan-featured strong { color: var(--white); }
.plan-featured .plan-tagline { color: rgba(255, 255, 255, .65); }
.plan-featured .plan-price { color: var(--green-light); border-color: rgba(255, 255, 255, .12); }
.plan-featured .plan-features li::before { background-color: rgba(255, 255, 255, .12); }
.plan-badge {
  position: absolute; top: -14px; left: 2rem; padding: .35rem .85rem; border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), #CFE0EA); color: #fff;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em;
}
.plan-note { text-align: center; color: var(--muted); margin: 2.5rem auto 0; max-width: 60ch; }

/* Why */
.why-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.why-copy { position: sticky; top: 110px; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-list li {
  padding: 1.75rem; border-radius: var(--radius); background: var(--white);
  border-top: 4px solid var(--blue); box-shadow: var(--shadow-sm);
}
.why-list li:nth-child(2) { border-top-color: var(--coral); }
.why-list li:nth-child(3) { border-top-color: var(--sun); }
.why-list li:nth-child(4) { border-top-color: var(--ink); }
.why-list p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Request form */
.request-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checklist li { padding-left: 1.9rem; position: relative; margin-bottom: .7rem; font-weight: 500; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 1.3rem; height: 1.3rem;
  border-radius: 50%; background: var(--blue); color: #fff; font-size: .75rem;
  display: grid; place-items: center; margin-top: .2rem;
}

.request-form {
  background: var(--white); border-radius: 24px; padding: 2.25rem; box-shadow: var(--shadow);
  display: grid; gap: 1.1rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field-row .field label { margin-top: auto; } /* when one label wraps, the other drops so both controls line up */
.field { display: flex; flex-direction: column; gap: .4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .9rem; color: var(--ink); padding: 0; }
.field legend { margin-bottom: .5rem; }
.field label .optional { font-weight: 400; color: var(--muted); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #FCFCFE; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(184, 115, 51, .15); background: #fff;
}
.field.invalid input, .field.invalid textarea { border-color: #D93A3A; }
.field.invalid .chips span { border-color: #D93A3A; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: .5rem .95rem; border-radius: 999px;
  border: 1.5px solid var(--line); font-size: .9rem; font-weight: 500; background: #fff;
  transition: all .15s ease; user-select: none;
}
.chips label:hover span { border-color: var(--blue); }
.chips input:checked + span { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 0; font-weight: 500; font-size: .95rem; min-height: 1.4em; }
.form-status.error { color: #C42B2B; }
.form-status.success { color: #2E7A58; }
.form-status.notice { color: #9A6B00; }

/* FAQ */
.faq-inner { max-width: 820px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 1.5rem;
  transition: box-shadow .2s;
}
.faq-list details[open] { box-shadow: var(--shadow-sm); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 1.25rem 0; font-weight: 700; font-size: 1.08rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--blue); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding-bottom: 1.25rem; margin: 0; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--blue-dark) 0%, var(--blue) 55%, #D99A5B 130%);
  padding: 56px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { color: var(--white); margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 56px 0 0; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { margin-top: 1rem; max-width: 34ch; }
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links h4 { color: var(--green-light); font-size: 1rem; margin-bottom: .4rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.5rem 0; }
.footer-bottom p { margin: 0; font-size: .85rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .service-grid, .pillar-grid, .question-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .hero-inner, .why-inner, .request-inner, .pricing-inner { grid-template-columns: 1fr; gap: 40px; }
  .case { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .case:nth-child(even) .case-shot { order: 0; }
  .promise-list.fit-list { grid-template-columns: 1fr 1fr; }
  .why-copy { position: static; }
  .plan-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 32px; }
  .plan-featured { margin: 0; }
  .hero-visual { min-height: 420px; max-width: 520px; width: 100%; margin-inline: auto; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: .5rem 16px 1.25rem; box-shadow: 0 20px 30px -20px rgba(11, 27, 63, .5);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 1rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-inner { height: 72px; }
  .site-header .brand img { width: 48px; height: 48px; }
  .site-header .brand-text strong { font-size: 1.3rem; }
  .site-header .brand-text small { font-size: .74rem; }
  .section { padding: 60px 0; }
  .hero { padding-top: 40px; }
  .service-grid, .why-list, .field-row, .pillar-grid, .steps, .question-grid, .promise-list, .promise-list.fit-list { grid-template-columns: 1fr; }
  .service-grid { grid-auto-rows: auto; } /* stacked on phones: each card fits its text */
  .request-form { padding: 1.5rem; }
  .hero-visual { min-height: 380px; }
  .blob-1 { width: 260px; height: 260px; }
  .card-request { width: min(250px, 88%); top: 10px; }
  .card-chart { width: min(190px, 70%); top: 190px; right: 0; }
  .card-live { left: 10px; bottom: 10px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

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