:root {
  --navy: #101b4b;
  --navy-soft: #545e85;
  --navy-dark: #081134;
  --white: #ffffff;
  --yellow: #f6d673;
  --yellow-strong: #f1c84e;
  --blue-light: #e7e7e7;
  --blue-soft: #a3a8b2;
  --lavender: #545e85;
  --light: #f6f6f4;
  --text: #1f1f28;
  --muted: #545e85;
  --border: #d7d8dc;
  --shadow: 0 18px 45px rgba(16, 27, 75, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--light);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

img,
svg {
  max-width: 100%;
}

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

.section {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 246, 244, 0.94);
  border-bottom: 1px solid rgba(163, 168, 178, 0.32);
  backdrop-filter: blur(12px);
}

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

.brand,
.nav-menu {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 118px;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.nav-menu {
  gap: 26px;
  color: var(--navy-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu a:not(.btn):hover,
.nav-menu a:not(.btn):focus-visible,
.contact-list a:hover,
.site-footer a:hover {
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  border-radius: 999px;
}

.hero {
  padding: 104px 0 90px;
  background:
    linear-gradient(135deg, rgba(246, 214, 115, 0.34), rgba(246, 246, 244, 0) 36%),
    linear-gradient(155deg, rgba(163, 168, 178, 0.26), rgba(246, 246, 244, 0) 46%),
    var(--light);
}

.hero-grid,
.contact-grid,
.cta-content,
.footer-grid {
  display: grid;
  gap: 48px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--navy-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--yellow);
}

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

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: 5rem;
}

h2 {
  margin-bottom: 18px;
  font-size: 3rem;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.14rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 13px 22px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.btn-accent {
  color: var(--navy);
  background: var(--yellow-strong);
  box-shadow: 0 10px 24px rgba(16, 27, 75, 0.16);
}

.btn-accent:hover,
.btn-accent:focus-visible {
  background: var(--yellow);
}

.btn-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--border);
}

.btn-primary {
  width: 100%;
  color: var(--white);
  background: var(--navy);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--navy-soft);
}

.btn-small {
  min-height: 42px;
  padding: 11px 16px;
}

.browser-mockup {
  overflow: hidden;
  border: 1px solid rgba(16, 27, 75, 0.12);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  background: var(--navy);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow-strong);
  opacity: 0.95;
}

.mockup-content {
  padding: 26px;
}

.mockup-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
  padding: 26px;
  border-radius: var(--radius);
  background: #f2f2ef;
}

.mockup-label,
.mockup-title,
.mockup-line,
.mockup-button,
.mockup-cards span,
.mockup-footer span {
  display: block;
  border-radius: 6px;
}

.mockup-label {
  width: 90px;
  height: 10px;
  margin-bottom: 16px;
  background: var(--yellow-strong);
}

.mockup-title {
  width: min(270px, 100%);
  height: 24px;
  margin-bottom: 12px;
  background: var(--navy);
}

.mockup-line {
  width: min(220px, 100%);
  height: 10px;
  background: var(--blue-light);
}

.mockup-button {
  width: 92px;
  height: 34px;
  background: var(--yellow-strong);
}

.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.mockup-cards span {
  min-height: 88px;
  background: var(--yellow);
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(16, 27, 75, 0.07);
}

.mockup-footer {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 16px;
  margin-top: 20px;
}

.mockup-footer span {
  height: 12px;
  background: var(--lavender);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.profile-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 27, 75, 0.08);
}

.profile-topline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.profile-topline .eyebrow {
  margin-bottom: 6px;
}

.profile-topline h3 {
  margin-bottom: 0;
}

.profile-photo {
  display: block;
  overflow: hidden;
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 4px var(--white), 0 8px 18px rgba(16, 27, 75, 0.16);
}

.profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  transform: scale(1);
}

.profile-card > p {
  margin-bottom: 26px;
  color: var(--muted);
}

.profile-credentials {
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.credential-label {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-credentials ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.profile-credentials li::marker {
  color: var(--yellow-strong);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 27, 75, 0.08);
}

.service-card {
  min-height: 236px;
  padding: 30px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 27, 75, 0.24);
  box-shadow: var(--shadow);
}

.service-card p,
.contact-details p,
.site-footer p,
.cta-section p {
  color: var(--muted);
}

.card-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--yellow-strong);
  font-size: 0.85rem;
  font-weight: 800;
}

.cta-section {
  padding: 76px 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
}

.cta-content {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.cta-section h2,
.cta-section p {
  color: var(--white);
}

.cta-section p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-list {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.contact-list p {
  margin: 0;
}

.contact-list strong,
.contact-list span,
.contact-list a {
  display: block;
}

.contact-list strong {
  color: var(--navy);
}

.contact-list a {
  width: fit-content;
  color: var(--navy-soft);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
}

.hidden-field {
  display: none;
}

.bottleneck-group {
  display: grid;
  gap: 16px;
  margin-bottom: 4px;
}

.form-kicker {
  margin: 0;
  color: var(--navy-soft);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bottleneck-group h3 {
  margin-bottom: 0;
  font-size: 1.45rem;
}

.bottleneck-options {
  display: grid;
  gap: 10px;
}

.bottleneck-option {
  cursor: pointer;
}

.bottleneck-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.bottleneck-option span {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 16px;
  background: var(--navy);
  color: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.bottleneck-option strong,
.bottleneck-option small {
  display: block;
}

.bottleneck-option strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.bottleneck-option small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.35;
}

.bottleneck-option:hover span,
.bottleneck-option:focus-within span {
  transform: translateY(-2px);
  border-color: var(--yellow);
  box-shadow: 0 12px 26px rgba(16, 27, 75, 0.16);
}

.bottleneck-option input:checked + span {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 12px 26px rgba(16, 27, 75, 0.16);
}

.bottleneck-option input:checked + span small {
  color: var(--navy-soft);
}

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

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(8, 17, 52, 0.58);
}

.lead-modal {
  position: relative;
  width: min(100%, 460px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(8, 17, 52, 0.28);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--light);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: var(--yellow);
}

.lead-details {
  display: grid;
  gap: 16px;
  padding: 34px 30px 30px;
}

.lead-details h3 {
  margin: 0;
  padding-right: 42px;
  font-size: 1.55rem;
}

.form-row {
  display: grid;
  gap: 8px;
}

label {
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
}

input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: var(--white);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus {
  outline: none;
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 4px rgba(246, 214, 115, 0.45);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.footer-grid {
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 24px;
}

.site-footer strong,
.site-footer a {
  color: var(--white);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
  .section {
    padding: 76px 0;
  }

  .hero {
    padding-top: 82px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero-grid,
  .contact-grid,
  .cta-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .browser-mockup {
    max-width: 620px;
  }

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

  .cta-content {
    justify-items: start;
  }

  .footer-grid {
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

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

  .nav-menu .btn {
    width: 100%;
    margin-top: 6px;
  }

  .hero-grid {
    gap: 38px;
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.2rem;
  }

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

  .button-row,
  .button-row .btn {
    width: 100%;
  }

  .mockup-content {
    padding: 18px;
  }

  .mockup-hero {
    grid-template-columns: 1fr;
  }

  .mockup-cards {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px;
  }
}

@media (max-width: 440px) {
  .brand-logo {
    width: 96px;
  }

  h1 {
    font-size: 2.42rem;
  }

  h2 {
    font-size: 1.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
