:root {
  --blue: #0d63f3;
  --red:#E0001B;
  --green: #2fbf71;
  --amber: #f59e0b;
  --text: #1f2937;
  --muted: #6b7280;
  --card: #ffffff;
  --bg: #f7f9fc;
  --border: #e5e7eb;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(16, 24, 40, .08);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(1140px, 92%);
  margin-inline: auto
}

/* Buttons */
.btn {
  --btn-bg: #111827;
  --btn-color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.05rem;
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-color);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: .2s ease;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(.98);
  transform: translateY(-1px)
}

.btn:active {
  transform: translateY(0)
}

.btn--primary {
  --btn-bg: #fff;
  --btn-color: var(--blue);
  border-color: #e6ebff
}

.btn--danger {
  --btn-bg: var(--red)
}

.btn--light {
  --btn-bg: #ffffff;
  --btn-color: #0b3a86;
  border: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
}

.w-full {
  width: 100%
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border)
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: .8rem 0
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit
}

.brand__logo {
  width: clamp(140px, 6vw, 64px);
  height: clamp(44px, 6vw, 64px);
  object-fit: contain
}

.nav__links {
  display: flex;
  gap: 1.25rem;
  justify-self: center
}

.nav__links a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  padding: .4rem .25rem;
  border-radius: 8px
}

.nav__links a:hover {
  color: var(--blue);
  background: #f0f4ff
}

.nav__links a.active {
  color: var(--blue)
}

.nav__cta {
  justify-self: end
}

/* Mobile menu */
.nav__menu {
  display: none;
  justify-self: end
}

.nav__menu summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center
}

.nav__menu summary::-webkit-details-marker {
  display: none
}

.burger,
.burger::before,
.burger::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  position: relative
}

.burger::before {
  position: absolute;
  top: -6px
}

.burger::after {
  position: absolute;
  top: 6px
}

.nav__sheet {
  position: absolute;
  right: 4%;
  left: 4%;
  margin-top: .6rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  padding: .75rem;
  gap: .25rem
}

.nav__sheet a {
  padding: .75rem .6rem;
  border-radius: 8px;
  text-decoration: none;
  color: #374151
}

.nav__sheet a:hover {
  background: #f6f7fb
}

@media (max-width:900px) {
  .nav {
    grid-template-columns: auto 1fr auto
  }

  .nav__links,
  .nav__cta {
    display: none
  }

  .nav__menu {
    display: flex
  }
}

/* Hero */
.hero {
  background: var(--blue);
  color: #fff;
  padding: clamp(44px, 8vw, 96px) 0
}

.hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: 1.2fr .8fr
}

.hero__copy h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
  margin: 0 0 .5rem 0;
  font-weight: 800
}

.hero__copy .lead {
  font-size: clamp(16px, 1.6vw, 18px);
  margin: 0 0 .75rem 0;
  opacity: .95
}

.hero__copy .sub {
  margin: 0;
  opacity: .9
}

.hero__image {
  justify-self: end
}

.hero__image img {
  border-radius: 12px;
  border: 3px solid rgba(255, 255, 255, .25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .18);
  width: min(480px, 100%);
  height: auto;
  object-fit: cover
}

/* Make header section mobile responsive */
@media (max-width: 700px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .hero__copy {
    text-align: center;
  }

  .hero__image {
    justify-self: center;
  }
}

/* Form + Steps */
.lead-section {
  padding: 24px 0 72px;
  background: #fff
}

.lead__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: start;
  margin-top: -110px
}

@media (max-width:1000px) {
  .lead__grid {
    grid-template-columns: 1fr;
    margin-top: 12px
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow)
}

.form {
  padding: clamp(18px, 2.2vw, 28px)
}

.form__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px
}

.form__brand {
  display: flex;
  align-items: center;
  gap: 10px
}

.form__brand img {
  width: 100px;
  height: 56px;
  object-fit: contain
}

.form__subtitle {
  font-size: .95rem;
  color: var(--muted);
  margin: 0;
  font-style: italic;
  letter-spacing: .1px
}

.muted {
  color: var(--muted)
}

.small {
  font-size: .88rem
}

.field-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 14px
}

.field-grid.one {
  grid-template-columns: 1fr
}

.field-grid.two {
  grid-template-columns: repeat(2, 1fr)
}

.field-grid.three {
  grid-template-columns: repeat(3, 1fr)
}

@media (max-width:700px) {

  .field-grid.two,
  .field-grid.three {
    grid-template-columns: 1fr
  }
}

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

.field>span {
  font-weight: 500;
  font-size: .95rem
}

.field input,
.field select {
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  outline: none;
  font-size: 1rem;
  transition: .15s ease;
}

.field input::placeholder {
  color: #9aa3af
}

.field input:focus,
.field select:focus {
  border-color: #b7c9ff;
  box-shadow: 0 0 0 4px rgba(13, 99, 243, .12)
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.25 7.75L10 12.5L14.75 7.75' stroke='%23838B99' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  padding-right: 44px
}

/* Add gap between input field and button */
.field+.btn {
  margin-top: 16px;
}

/* Right column of lead */
.lead-aside {
  display: grid;
  gap: 18px;
  align-content: start
}

.side-photo {
  justify-self: end
}

/* intentionally empty */
.steps {
  padding: 18px clamp(16px, 2vw, 24px)
}

.steps ol {
  list-style: none;
  counter-reset: step-counter;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0
}

.steps li {
  counter-increment: step-counter;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  position: relative;
}

.steps li:last-child {
  margin-bottom: 0;
}

.steps li::before {
  content: counter(step-counter);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.35rem;
  margin-right: 8px;
  box-shadow: 0 2px 8px rgba(13, 99, 243, .08);
}

/* Add marker for step 1
   Mobile/desktop: vertical arrow pointing up from the badge
   Uses the updated asset `Arrow 1 (1).png`. */
/* Default (desktop / tablet) marker for step 1: horizontal arrow */
.steps li:first-child::after {
  content: "";
  width: 40px;
  height: 20px;
  background: url('Arrow 1.png') no-repeat center center;
  background-size: contain;
  border: none;
  border-radius: 0;
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.steps h4 {
  margin: 0;
  font-size: 1.13rem;
  font-weight: 600;
  color: #222;
}

@media (min-width:1000px) {
  .lead__grid {
    align-items: stretch;
    gap: 48px;
  }

  .lead__grid .steps.card {
    align-self: center;
    margin-top: 200px;
  }

  .form.card {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(16, 24, 40, .10);
    padding: 28px 24px 28px 24px;
    background: #fff;
    border-radius: 18px;
  }

  .side-photo {
    display: none !important;
  }

  .steps.card {
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0;
  }
}

/* Mobile tuning for form spacing */
@media (max-width:700px) {
  .form {
    padding: 18px;
  }

  .field-grid {
    gap: 12px;
    margin-bottom: 12px;
  }

  .field input,
  .field select {
    height: 50px;
  }

  /* Mobile: replace horizontal arrow with vertical up arrow */
  .steps li:first-child::after {
    left: 30px;
    top: -50px;
    width: 15px;
    height: 70px;
    background: url('Arrow 1 (1).png') no-repeat center center;
    background-size: contain;
    transform: translateX(-50%);
  }
}

/* Make form__header section mobile responsive */
@media (max-width: 700px) {
  .form__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .form__brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .form__subtitle {
    text-align: left;
  }
}

/* About */
.about {
  background: #eef8ef;
  padding: clamp(48px, 8vw, 96px) 0
}

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 48px
}

.about__text h2 {
  margin: 0 0 12px 0;
  color: var(--blue);
  font-size: clamp(24px, 3.2vw, 34px)
}

.about__text p {
  font-size: clamp(16px, 1.8vw, 18px);
  color: #374151;
  max-width: 55ch
}

.about__media {
  justify-self: end
}

.about__frame {
  position: relative;
  width: min(520px, 100%)
}

.about__frame img {
  width: 100%;
  border-radius: 12px;
  display: block;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .12)
}

.corner {
  position: absolute;
  width: 72px;
  height: 72px;
  pointer-events: none
}

.corner.tl {
  top: -20px;
  left: -20px;
  border-top: 4px solid var(--red);
  border-left: 4px solid var(--red);
  border-top-left-radius: 14px;
  transform: rotate(-6deg)
}

.corner.tr {
  top: -20px;
  right: -20px;
  border-top: 4px solid var(--red);
  border-right: 4px solid var(--red);
  border-top-right-radius: 14px;
  transform: rotate(6deg)
}

.corner.bl {
  bottom: -20px;
  left: -20px;
  border-bottom: 4px solid var(--red);
  border-left: 4px solid var(--red);
  border-bottom-left-radius: 14px;
  transform: rotate(6deg)
}

.corner.br {
  bottom: -20px;
  right: -20px;
  border-bottom: 4px solid var(--red);
  border-right: 4px solid var(--red);
  border-bottom-right-radius: 14px;
  transform: rotate(-6deg)
}

@media (max-width:980px) {
  .about__grid {
    grid-template-columns: 1fr
  }

  .about__media {
    justify-self: start
  }
}

/* Support timeline (desktop) */
.support {
  background: #00875329;
  padding: clamp(48px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}

/* Top wave decoration */
.support__wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  z-index: 1;
}

.support__wave-top svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Bottom wave decoration */
.support__wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1;
}

.support__wave-bottom svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Ensure content is above wave decorations */
.support .container {
  position: relative;
  z-index: 2;
}

.support__head {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 36px
}

.support__head h2 {
  margin: 0 0 8px 0;
  font-size: clamp(24px, 3vw, 32px)
}

.support__head p {
  margin: 0;
  color: #4b5563
}

.timeline {
  position: relative;
  display: grid;
  gap: clamp(64px, 10vw, 110px);
  margin-top: 24px
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e5e7eb;
  transform: translateX(-50%)
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 72px)
}

.step__content h3 {
  margin: 0 0 1px 0;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .3px;
  font-size: clamp(15px, 1.4vw, 15.5px);
}

.step__content p {
  margin: 0 0 10px 0;
  color: #374151;
  max-width: 50ch
}

.small-cta {
  margin-top: 8px;
  padding: .6rem 1rem;
  border-radius: 8px
}

.step__media img {
  border-radius: 12px;
  border: 3px solid rgba(13, 99, 243, .15);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .12);
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: cover
}

.step--odd .step__media {
  grid-column: 1;
  margin-top: -200px
}

.step--odd .step__content {
  grid-column: 2;
  display: flex;
  margin-top: 150px;
  flex-direction: column;
  justify-content: center; /* vertically center text next to image */
}

.step--even .step__content {
  grid-column: 1
}

.step--even .step__media {
  grid-column: 2
}

.step--odd .step__content {
  padding-left: clamp(20px, 3.5vw, 0px)
}

.step--even .step__media {
  padding-left: clamp(16px, 3.5vw, 40px)
}

.step__bullet {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 4px solid #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16)
}

/* Desktop/tablet: horizontal arrow between image and first bullet */
.timeline .step:first-child .step__bullet::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 24px;
  background: url('Arrow 2.png') no-repeat center center;
  background-size: contain;
  pointer-events: none;
}

.step__bullet img {
  width: 24px;
  height: 24px;
  object-fit: contain
}

.b1 {
  background: #00875333;
  outline: 3px solid #00875333;
}

.b2 {
  background: #eaf2ff;
  outline: 3px solid var(--blue)
}

.b3 {
  background: #eaf8f1;
  outline: 3px solid var(--green)
}

.b4 {
  background: #fff5e6;
  outline: 3px solid var(--amber)
}

/* MOBILE: stacked cards with visible photos (matches mockup) */
@media (max-width:900px) {
  .support__head {
    text-align: left;
  }

  .timeline::before {
    display: none;
  }

  .timeline {
    gap: 32px;
  }

  .step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    margin: 0;
  }

  .step__bullet {
    position: static;
    transform: none;
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
  }

  /* Mobile: swap to vertical arrow under the first bullet */
  .timeline .step:first-child .step__bullet::before {
    right: auto;
    left: 6%;
    top: 33%;
    transform: translate(-50%, 0);
    width: 10px;
    height: 60px;
    background: url('Arrow 2 (1).png') no-repeat center center;
    background-size: contain;
  }

  .step__media {
    display: block;
    order: 2;
    margin: 0 0 8px 0;
  }

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

  .step--odd .step__media,
  .step--even .step__media {
    margin-top: 0;
    padding-left: 0;
  }

  .step--odd .step__content,
  .step--even .step__content,
  .step__content {
    padding: 0 4px;
    margin: 0;
    text-align: left;
  }

  .step__content h3 {
    margin: 0 0 6px 0;
  }

  .step__content p {
    margin: 0;
  }

  .small-cta {
    margin-top: 12px;
    display: none; /* hide CTA button on mobile */
  }
}

/* Testimonials (6th section) */
.testimonials {
  background: #E0001B47;
  color: #fff;
  padding: clamp(48px, 8vw, 96px) 0;
  margin-bottom: 48px
}

.t-title {
  text-align: center;
  margin: 0 0 72px 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600
}

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

.t-card {
  position: relative;
  background: #fff;
  color: #111827;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 36px 18px 20px;
  overflow: visible;
  text-align: center
}

.t-avatar {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 84px;
  border-radius: 999px;
  border: 6px solid #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  z-index: 3;
  background: #fff;
  display: block
}

.t-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block
}

.t-wave {
  margin: 2px 0 12px 0
}

.t-wave svg {
  width: 100%;
  height: 56px
}

.t-wave path {
  fill: none;
  stroke-width: 3.5;
  stroke-linecap: round
}

.wave-green path {
  stroke: var(--green)
}

.wave-red path {
  stroke: var(--red)
}

.wave-orange path {
  stroke: var(--amber)
}

.t-quote {
  margin: 0 10px 14px 10px;
  color: #374151;
  font-size: 15px
}

.t-name {
  margin: 0;
  color: #111827;
  font-weight: 600;
  font-size: 14.5px
}

@media (max-width:1000px) {
  .t-grid {
    grid-template-columns: 1fr
  }

  .t-card {
    padding: 40px 16px 20px;
    margin-bottom: 48px
  }

  .t-avatar {
    width: 72px;
    height: 72px;
    top: -28px
  }
}

/* FAQs (7th section) */
.faqs {
  background: #fff;
  padding: clamp(48px, 8vw, 96px) 0;
}

.faq-title {
  text-align: center;
  color: var(--blue);
  font-weight: 700;
  margin: 0 0 16px 0;
  font-size: clamp(22px, 3vw, 28px)
}

.faq-list {
  width: min(860px, 100%);
  margin: 0 auto;
}

.faq {
  border-bottom: 1px dashed #e5e7eb;
}

.faq:last-child {
  border-bottom: 0;
}

.faq>summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  font-weight: 500;
  color: #111827
}

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

.faq>summary::after {
  content: "+";
  color: var(--red);
  font-size: 22px;
  line-height: 1;
  font-weight: 700
}

.faq[open]>summary {
  color: var(--blue)
}

.faq[open]>summary::after {
  content: "−"
}

.faq__content {
  padding: 0 0 16px 0;
  color: #4b5563;
  max-width: 65ch
}

.faq__content p {
  margin: 0
}

.faq>summary:focus-visible {
  outline: 3px solid rgba(13, 99, 243, .3);
  border-radius: 8px
}

/* New Footer */
.site-footer {
  background: #494949;
  /* dark gray */
  color: #e9ecef;
  padding: clamp(40px, 8vw, 80px) 0 28px;
}

.site-footer a {
  color: #f1f5f9;
  text-decoration: none;
  opacity: .9
}

.site-footer a:hover {
  opacity: 1;
  text-decoration: underline
}

.ft-grid {
  display: grid;
  grid-template-columns: 2.2fr repeat(3, 1fr) 1.6fr;
  gap: 28px;
  align-items: start;
}

.ft-newsletter h3 {
  margin: 0 0 14px 0;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  color: #fff;
}

.ft-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
}

.ft-form input {
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .4);
  background: transparent;
  padding: 0 14px;
  color: #fff;
  outline: none;
}

.ft-form input::placeholder {
  color: rgba(255, 255, 255, .8);
}

.ft-col h4 {
  margin: 0 0 10px 0;
  font-weight: 700;
  color: #fff;
}

.ft-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ft-col address {
  font-style: normal;
  margin: 0 0 14px 0;
}

.ft-col h5 {
  margin: 6px 0 6px 0;
  color: #fff;
  font-weight: 700;
}

.ft-contacts {
  margin: 0;
}

.ft-divider {
  margin: 32px 0 16px 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .25);
}

.ft-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, .9);
  font-size: 14.5px;
}

.ft-links {
  display: flex;
  gap: 22px;
}

.ft-links a {
  color: #fff;
  opacity: .9
}

.ft-links a:hover {
  opacity: 1
}

@media (max-width: 1000px) {
  .ft-grid {
    grid-template-columns: 1fr;
  }

  .ft-form {
    max-width: 100%;
  }

  .ft-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Simple accessibility utility */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}