:root {
  --bg: #F7F8FA;
  --white: #FFFFFF;
  --text: #111827;
  --muted: #4B5563;
  --navy: #0F2A44;
  --blue: #1F4E79;
  --line: #E5E7EB;
  --accent: #BFA46A;
  --surface: #FFFFFF;
  --surface-soft: #F1F4F7;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 18px 44px rgba(15, 42, 68, .08);
  --shadow-hover: 0 22px 54px rgba(15, 42, 68, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.section:nth-of-type(even) {
  background: var(--white);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.brand {
  font-family: "Manrope", sans-serif;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(2.65rem, 6vw, 5.35rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .98;
}

h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -.026em;
  line-height: 1.06;
}

h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
}

p {
  margin-bottom: 0;
  color: var(--muted);
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(15, 42, 68, .18);
}

.btn-primary:hover {
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(15, 42, 68, .22);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: rgba(15, 42, 68, .16);
}

.btn-secondary:hover {
  border-color: rgba(31, 78, 121, .38);
  box-shadow: 0 12px 26px rgba(15, 42, 68, .08);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0;
  background: rgba(15, 42, 68, .88);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.site-logo {
  display: block;
  width: auto;
  height: 38px;
  max-width: 180px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, .82);
  font-size: .93rem;
  font-weight: 700;
}

.nav-links a {
  transition: color .22s ease;
}

.nav-links a:hover {
  color: #C9A24D;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 90px;
  background-image: url("../../img/image-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      90deg,
      rgba(15, 42, 68, .90) 0%,
      rgba(15, 42, 68, .74) 42%,
      rgba(15, 42, 68, .38) 100%
    ),
    rgba(0, 0, 0, .22);
}

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

.hero-grid {
  display: block;
}

.hero-copy {
  max-width: 760px;
}

.hero h1 {
  color: var(--white);
}

.hero p {
  color: rgba(255, 255, 255, .84);
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
}

.hero .pill {
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero .btn-primary,
.site-header .btn-primary {
  border-color: #C9A24D;
  background: #C9A24D;
  color: var(--navy);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.hero .btn-primary:hover,
.site-header .btn-primary:hover {
  border-color: #BFA46A;
  background: #BFA46A;
}

.hero .btn-secondary {
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, .16);
}

.wide-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.wide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-grid,
.portfolio-grid,
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.step,
.plan,
.portfolio-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(15, 42, 68, .045);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card:hover,
.step:hover,
.plan:hover,
.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 78, 121, .34);
  box-shadow: var(--shadow-hover);
}

.card {
  min-height: 228px;
  padding: 28px;
}

.card-icon,
.step-num {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(31, 78, 121, .18);
  border-radius: var(--radius);
  background: #EEF3F8;
  color: var(--blue);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.visual-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
}

.check-list li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.step {
  min-height: 210px;
  padding: 26px 20px;
}

.step-num {
  border-radius: 50%;
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-card .wide-media {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.portfolio-copy {
  padding: 22px;
}

.portfolio-copy small {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.capabilities-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}

.capabilities-section::before {
  content: "";
  position: absolute;
  top: 80px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(31, 78, 121, .06);
  pointer-events: none;
}

.capabilities-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.capabilities-copy {
  position: sticky;
  top: 120px;
}

.capabilities-copy h2 {
  max-width: 520px;
  margin-bottom: 18px;
}

.capabilities-copy > p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
}

.capabilities-note {
  margin-top: 32px;
  padding: 24px;
  border-radius: calc(var(--radius) + 14px);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 18px 45px rgba(15, 42, 68, .16);
}

.capabilities-note span {
  display: inline-block;
  margin-bottom: 10px;
  color: #C9A24D;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.capabilities-note strong {
  display: block;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.35;
  letter-spacing: -.02em;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.capability-card {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 16px);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(17, 24, 39, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.capability-card:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 78, 121, .28);
  box-shadow: 0 22px 52px rgba(17, 24, 39, .10);
}

.capability-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(31, 78, 121, .08);
  color: var(--blue);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.capability-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 1.18rem;
  letter-spacing: -.03em;
}

.capability-card p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.55;
}

.capability-tag {
  align-self: flex-start;
  margin-top: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(201, 162, 77, .12);
  color: #7A5B16;
  font-size: .78rem;
  font-weight: 800;
}

.plan {
  padding: 28px;
}

.plan.featured {
  border-color: rgba(15, 42, 68, .34);
  box-shadow: 0 22px 54px rgba(15, 42, 68, .12);
}

.price {
  margin: 8px 0 18px;
  color: var(--navy);
  font-family: "Manrope", sans-serif;
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -.025em;
}

.faq-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.faq-q span {
  color: var(--blue);
}

.faq-a {
  display: none;
  padding-top: 10px;
  color: var(--muted);
  font-size: .96rem;
}

.faq-item.active .faq-a {
  display: block;
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 42px;
  border-radius: calc(var(--radius) + 8px);
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-band h2,
.contact-band p,
.contact-band .eyebrow,
.contact-band .lead {
  color: var(--white);
}

.contact-band .eyebrow {
  opacity: .74;
}

.contact-band p {
  opacity: .88;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.contact-info a {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  font-weight: 700;
}

footer {
  padding: 34px 0 54px;
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: 190px;
  object-fit: contain;
}

.footer-contact-form {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  color: rgba(255, 255, 255, .86);
  font-size: .92rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: calc(var(--radius) + 6px);
  outline: none;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  padding: 14px 16px;
  transition: border-color .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, .52);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #C9A24D;
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 3px rgba(201, 162, 77, .12);
}

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

.field-error {
  min-height: 16px;
  color: #FCA5A5;
  font-size: .82rem;
  line-height: 1.35;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .78);
}

.form-status.is-error {
  color: #FCA5A5;
}

.form-status.is-success {
  color: #DDEFCB;
}

.contact-submit {
  margin-top: 18px;
}

.contact-submit.is-loading {
  opacity: .7;
  pointer-events: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 42, 68, .72);
  backdrop-filter: blur(8px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(100%, 460px);
  padding: 34px;
  border-radius: calc(var(--radius) + 16px);
  background: var(--white);
  color: var(--text);
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .24);
}

.modal-logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: 190px;
  object-fit: contain;
  margin: 0 auto 22px;
  padding: 10px 18px;
  border-radius: calc(var(--radius) + 6px);
  background: var(--navy);
}

.modal-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

.modal-card p {
  margin: 0 0 24px;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #F3F4F6;
  color: var(--text);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  transition: background-color .22s ease, transform .22s ease;
}

.modal-close:hover {
  transform: translateY(-1px);
  background: #E5E7EB;
}

.modal-ok {
  min-width: 132px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group > .reveal:nth-child(2) {
  --delay: .06s;
}

.reveal-group > .reveal:nth-child(3) {
  --delay: .12s;
}

.reveal-group > .reveal:nth-child(4) {
  --delay: .18s;
}

.reveal-group > .reveal:nth-child(5) {
  --delay: .24s;
}

.reveal-group > .reveal:nth-child(6) {
  --delay: .30s;
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1060px) {
  .split,
  .faq-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .capabilities-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .capabilities-copy {
    position: static;
  }

  .capabilities-copy h2,
  .capabilities-copy > p {
    max-width: 760px;
  }

  .card-grid,
  .portfolio-grid,
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-band {
    align-items: start;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .site-header {
    padding: 8px 0;
  }

  .nav {
    min-height: 58px;
  }

  .site-logo {
    height: 32px;
    max-width: 150px;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    background: rgba(15, 42, 68, .98);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .24);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .mobile-toggle {
    display: grid;
  }

  .desktop-only {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 110px 0 72px;
    background-position: center;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    margin-bottom: 32px;
    text-align: left;
  }

  .card-grid,
  .portfolio-grid,
  .plans,
  .steps {
    grid-template-columns: 1fr;
  }

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

  .card,
  .plan,
  .step,
  .portfolio-copy {
    padding: 22px;
  }

  .capability-card {
    min-height: auto;
  }

  .capabilities-note {
    padding: 20px;
  }

  .contact-band {
    padding: 26px;
  }

  .contact-band .btn {
    width: 100%;
  }

  .footer-logo {
    height: 34px;
    max-width: 160px;
  }

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

  .modal-card {
    padding: 28px 22px;
  }
}
