@charset "UTF-8";

/* Global foundation only. Component ownership lives in docs/DESIGN-SYSTEM.md. */
@font-face {
  font-family: "Be Vietnam Pro";
  src: url("../fonts/BeVietnamPro-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("../fonts/BeVietnamPro-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("../fonts/BeVietnamPro-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Be Vietnam Pro";
  src: url("../fonts/BeVietnamPro-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --brand-navy: #0b3d91;
  --brand-teal: #00c2a8;
  --ink: #091b39;
  --navy-deep: #071b34;
  --muted: #53647a;
  --line: #dce5ef;
  --surface: #fff;
  --surface-soft: #f4f8fc;
  --surface-mint: #e8faf6;
  --gradient: linear-gradient(125deg, #0b3d91 0%, #0876c0 48%, #00c2a8 100%);
  --container: 1200px;
  --wide: 1440px;
  --gutter: clamp(20px, 4vw, 52px);
  --shadow: 0 18px 55px rgba(7, 27, 59, 0.1);
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-control: 8px;
  --font-section-title: clamp(2rem, 2.9vw, 2.375rem);
  --font-card-title: clamp(1.25rem, 1.8vw, 1.625rem);
  --font-card-feature-title: clamp(1.5rem, 2.1vw, 1.75rem);
  --font-cta-title: clamp(1.875rem, 2.7vw, 2.25rem);
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
}

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

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

body {
  min-width: 0;
  margin: 0;
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.13;
  letter-spacing: -0.035em;
}

p {
  margin-bottom: 0;
}

::selection {
  background: #b9f2e8;
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--brand-teal);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}

.skip-link:focus {
  top: 16px;
}

/* Shared layout and type primitives. */
.section-space {
  padding-block: clamp(80px, 9vw, 120px);
}

.section-index,
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-index {
  margin-bottom: 30px;
  color: var(--brand-navy);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  color: var(--brand-navy);
}

.eyebrow__line {
  width: 36px;
  height: 1px;
  background: currentColor;
}

.heading-xl {
  margin: 0;
  font-size: var(--font-section-title);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.heading-xl em,
.page-hero h1 em {
  color: var(--brand-navy);
  font-style: normal;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.55fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 56px;
}

.section-head > p {
  max-width: 330px;
  justify-self: end;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 27px;
  min-height: 52px;
  padding: 13px 32px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button span,
.text-link span {
  font-size: 1.2em;
  font-weight: 400;
}

.button--primary {
  background: #0b3d91;
  color: #fff;
}

.button--primary:hover {
  background: #062d70;
}

.button--white {
  background: #fff;
  color: var(--ink);
}

.button--white:hover {
  background: var(--surface-mint);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  color: var(--brand-navy);
  font-size: 0.94rem;
  font-weight: 700;
  transition: gap 0.2s ease, color 0.2s ease;
}

.text-link:hover {
  gap: 19px;
  color: #006f66;
}

.text-link--light {
  color: #fff;
}

.text-link--light:hover {
  color: #99f3e7;
}

/* Shared FAQ primitive. */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 88px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.45;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
  background: var(--surface-mint);
}

.faq-list details > p {
  padding: 0 45px 26px 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Generic pages and fallback service detail template. */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(95px, 10vw, 150px) clamp(90px, 10vw, 145px);
  background: radial-gradient(circle at 85% 12%, #e0f9f3, transparent 31%), var(--surface-soft);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.generic-page h1 {
  max-width: 980px;
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.page-hero h1 {
  margin-bottom: 28px;
}

.page-hero > div > p:last-of-type {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.page-hero .button-row {
  margin-top: 34px;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -250px;
  width: 560px;
  height: 560px;
  border: 1px solid #c3e5e5;
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(11, 61, 145, 0.025), 0 0 0 180px rgba(0, 194, 168, 0.025);
}

.page-hero--detail h1 {
  max-width: 960px;
}

.intro-section__grid {
  display: grid;
  grid-template-columns: 1fr 2.15fr;
  gap: 48px;
}

.intro-section__grid .section-index {
  padding-top: 14px;
}

.detail-intro .heading-xl {
  max-width: 950px;
}

.detail-intro .prose {
  margin-top: 28px;
}

.deliverables-section {
  background: var(--surface-soft);
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.deliverables-grid > div {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: start;
  gap: 18px;
  min-height: 150px;
  padding: 30px 25px 35px 0;
  border-bottom: 1px solid var(--line);
}

.deliverables-grid > div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.deliverables-grid > div:nth-child(even) {
  padding-left: 30px;
}

.deliverables-grid span {
  color: var(--brand-navy);
  font-size: 0.8rem;
  font-weight: 700;
}

.deliverables-grid h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 2rem);
}

.service-next__inner {
  display: grid;
  grid-template-columns: 0.55fr 1.5fr auto;
  align-items: center;
  gap: 45px;
}

.service-next .section-index,
.service-next h2 {
  margin: 0;
}

.service-next h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.7rem);
}

.generic-page,
.not-found {
  min-height: 55vh;
  padding-block: 110px;
}

.generic-page .prose {
  margin-top: 50px;
}

.prose {
  max-width: 760px;
  color: #344a66;
  font-size: 1.05rem;
  line-height: 1.8;
}

.prose h2,
.prose h3 {
  margin: 1.8em 0 0.65em;
  color: var(--ink);
}

.prose p,
.prose ul,
.prose ol {
  margin-bottom: 1.2em;
}

.prose a {
  color: var(--brand-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose img {
  border-radius: var(--radius-control);
}

.not-found > div > p:not(.eyebrow) {
  margin-bottom: 30px;
  color: var(--muted);
}

/* Shared form primitives. */
.contact-form-wrap {
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.contact-form {
  display: grid;
  gap: 23px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.form-field label {
  font-size: 0.86rem;
  font-weight: 700;
}

.form-field label span {
  color: #b53a4c;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #b9c9d9;
  border-radius: var(--radius-sm);
  outline: none;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input,
.form-field select {
  min-height: 52px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.2);
}

.form-field textarea {
  min-height: 145px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8c9caf;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.form-submit p {
  max-width: 230px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

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

.form-alert {
  margin-bottom: 25px;
  padding: 15px 18px;
  border: 1px solid #edbdc4;
  border-radius: var(--radius-sm);
  background: #fff3f2;
  color: #8b2635;
  font-size: 0.9rem;
}

.form-alert--success {
  border-color: #97ddcc;
  background: #e4f9f4;
  color: #075949;
}

@media (max-width: 1199px) {
  .service-next__inner {
    grid-template-columns: 1fr 2fr;
  }

  .service-next .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 959px) {
  .section-head {
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
  }

  .service-next__inner {
    grid-template-columns: 1fr;
  }

  .service-next .button {
    grid-column: auto;
  }
}

@media (max-width: 639px) {
  :root {
    --gutter: 20px;
    --font-section-title: clamp(1.875rem, 7.7vw, 2rem);
    --font-card-title: clamp(1.125rem, 5.6vw, 1.375rem);
    --font-card-feature-title: clamp(1.375rem, 6vw, 1.5rem);
    --font-cta-title: clamp(1.75rem, 7vw, 1.875rem);
  }

  .section-space {
    padding-block: 68px;
  }

  .section-index {
    margin-bottom: 24px;
  }

  .eyebrow {
    margin-bottom: 23px;
    font-size: 0.68rem;
    letter-spacing: 0.13em;
  }

  .section-head {
    display: block;
    margin-bottom: 35px;
  }

  .section-head > p {
    max-width: 500px;
    margin: 25px 0 0;
    font-size: 0.98rem;
  }

  .button-row {
    gap: 24px;
  }

  .button {
    padding-inline: 21px;
  }

  .page-hero {
    padding-block: 75px 90px;
  }

  .page-hero h1,
  .generic-page h1 {
    font-size: clamp(2.25rem, 8.8vw, 2.75rem);
  }

  .page-hero > div > p:last-of-type {
    font-size: 1rem;
  }

  .intro-section__grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .intro-section__grid .section-index {
    padding: 0;
  }

  .deliverables-grid {
    grid-template-columns: 1fr;
  }

  .deliverables-grid > div,
  .deliverables-grid > div:nth-child(even),
  .deliverables-grid > div:nth-child(odd) {
    min-height: 0;
    padding: 24px 0;
    border-right: 0;
  }

  .deliverables-grid h3 {
    font-size: 1.32rem;
  }

  .service-next__inner {
    gap: 22px;
  }

  .generic-page,
  .not-found {
    padding-block: 72px;
  }

  .contact-form-wrap {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .form-submit {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-submit p {
    max-width: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
