:root {
  color-scheme: light;
  --blue: #0b3d91;
  --blue-deep: #062d72;
  --green: #68b51d;
  --green-deep: #4f970c;
  --ink: #10224a;
  --muted: #52617b;
  --line: #dce5f2;
  --surface: #ffffff;
  --soft: #f5f8fc;
  --shadow: 0 18px 45px rgba(8, 35, 82, 0.13);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 10px clamp(18px, 5vw, 80px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: block;
  width: clamp(178px, 19vw, 252px);
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: #101a36;
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--green);
  border-radius: 999px;
  transition: width 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

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

.quote-button,
.primary-button,
.secondary-button,
.whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.quote-button,
.whatsapp {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 12px 26px rgba(11, 61, 145, 0.24);
}

.secondary-button {
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--blue);
}

.quote-button:hover,
.primary-button:hover,
.secondary-button:hover,
.whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.section,
.section-band {
  padding-inline: clamp(18px, 5vw, 80px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.2fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  min-height: 620px;
  padding-top: 34px;
  padding-bottom: 118px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.93) 36%, rgba(255, 255, 255, 0.72) 52%, rgba(255, 255, 255, 0.1) 100%),
    radial-gradient(circle at 16% 10%, rgba(104, 181, 29, 0.1), transparent 25%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-deep);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: clamp(2.45rem, 4.8vw, 4.35rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h1 span,
.site-footer span {
  color: var(--green);
}

.hero-copy p:not(.eyebrow) {
  max-width: 570px;
  color: var(--muted);
  font-weight: 600;
}

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

.hero-media {
  position: relative;
  z-index: 2;
  min-height: 456px;
  align-self: stretch;
  overflow: hidden;
  border-radius: 0 0 0 70px;
}

.hero-media > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 456px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03);
}

.hero-ribbons {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 178px;
  pointer-events: none;
}

.hero-ribbons svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-ribbon-green {
  fill: var(--green);
}

.hero-ribbon-blue {
  fill: var(--blue);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 30%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 92%);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  right: clamp(40px, 6.1vw, 92px);
  bottom: 63px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  padding: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.arrow {
  display: inline-grid;
  place-items: center;
  width: 1.15em;
  height: 1.15em;
  line-height: 1;
  transition: transform 180ms ease;
}

a:hover .arrow,
button:hover .arrow {
  transform: translateX(3px);
}

.trust-strip {
  position: absolute;
  left: clamp(18px, 5vw, 80px);
  right: clamp(18px, 5vw, 80px);
  bottom: 24px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 840px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.trust-strip div {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 10px;
  padding: 16px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-icon {
  grid-row: span 2;
  align-self: center;
  width: 38px;
  height: 38px;
  object-fit: contain;
  object-position: center;
}

.trust-strip strong,
.trust-strip small {
  line-height: 1.2;
}

.section {
  padding-top: 54px;
  padding-bottom: 54px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-copy h2 {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
  line-height: 1.12;
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  font-weight: 600;
}

.about-points {
  display: grid;
  gap: 14px;
}

.about-point {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(5, 27, 67, 0.05);
}

.about-point strong {
  color: var(--blue);
  font-size: 1.05rem;
}

.about-point span {
  color: var(--muted);
}

.compact-section {
  padding-top: 14px;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.section-heading p {
  color: var(--muted);
  font-weight: 600;
}

.acronym-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin: -8px auto 30px;
}

.acronym-guide article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(11, 61, 145, 0.14);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(245, 248, 252, 0.95), #fff);
  box-shadow: 0 8px 22px rgba(5, 27, 67, 0.05);
}

.acronym-guide strong {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 0.88rem;
  letter-spacing: 0;
}

.acronym-guide span {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.3;
}

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

.service-card,
.program-card,
blockquote {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(5, 27, 67, 0.05);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 28px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.program-card:hover,
blockquote:hover {
  transform: translateY(-5px);
  border-color: rgba(104, 181, 29, 0.55);
  box-shadow: var(--shadow);
}

.service-icon,
.program-icon,
.why-icon {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 50%;
  object-fit: contain;
}

.service-icon {
  margin: 0 auto 18px;
}

.service-card h3,
.why-item h3,
.approach-step h3 {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 1.18rem;
  line-height: 1.25;
}

.service-card ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
}

.service-card p {
  color: var(--muted);
}

.service-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.program-card {
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: 116px;
  padding: 16px 12px;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.program-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
}

.program-card strong {
  max-width: 170px;
  color: var(--blue);
  font-size: 0.92rem;
  line-height: 1.25;
}

.centered {
  margin: 18px auto 0;
}

.why {
  padding-top: 44px;
  padding-bottom: 44px;
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.why-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  padding: 8px 14px;
  border-right: 1px solid var(--line);
}

.why-item:last-child {
  border-right: 0;
}

.why-icon {
  grid-row: 1 / span 2;
  width: 52px;
  height: 52px;
  margin: 0;
}

.why-item h3 {
  margin-top: 2px;
}

.why-item p,
.approach-step p {
  color: var(--muted);
  font-size: 0.94rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  color: #fff;
  background:
    linear-gradient(120deg, rgba(3, 37, 99, 0.98), rgba(11, 61, 145, 0.95)),
    var(--blue);
}

.stats div {
  display: grid;
  place-items: center;
  min-height: 140px;
  padding: 22px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.stats div:last-child {
  border-right: 0;
}

.stats span {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.stats span::after {
  content: "+";
}

.stats div:last-child span::after {
  content: "%";
}

.stats small {
  margin-top: 10px;
  max-width: 190px;
  font-size: 0.98rem;
  font-weight: 800;
}

.approach {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.approach::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #b6c7dd 0 10px, transparent 10px 18px);
}

.approach-step {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
}

.approach-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(5, 27, 67, 0.06);
  overflow: hidden;
}

.image-frame img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  object-position: center;
}

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

.testimonial-card {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 0 10px;
  margin: 0;
  min-height: 168px;
  padding: 24px 22px 18px;
  color: var(--muted);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.quote-mark {
  align-self: start;
  height: 34px;
  margin-bottom: 2px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 0.68;
}

.testimonial-card p {
  position: relative;
  margin: 4px 0 18px;
  font-weight: 600;
}

.testimonial-card footer {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

cite {
  color: var(--ink);
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
}

.testimonial-card img {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  padding: 2px;
  border: 4px solid #eef5ff;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 8px 18px rgba(8, 35, 82, 0.14);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  min-height: 520px;
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.contact-copy h2 {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.12;
}

.contact-copy p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-weight: 600;
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-panel a {
  color: var(--blue);
  font-size: 1.15rem;
  font-weight: 900;
}

.contact-panel .primary-button {
  margin-top: 4px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 28px clamp(18px, 5vw, 80px);
  color: #fff;
  background: var(--blue-deep);
}

.site-footer h2 {
  margin-bottom: 4px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
}

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

address {
  display: grid;
  gap: 4px;
  font-style: normal;
  font-weight: 800;
}

.quote-modal {
  display: none;
  position: fixed;
  inset: 50% auto auto 50%;
  width: min(calc(100vw - 32px), 680px);
  max-height: min(86dvh, 720px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%);
  overflow: auto;
  z-index: 100;
}

.quote-modal::backdrop {
  background: rgba(5, 16, 40, 0.58);
  backdrop-filter: blur(5px);
}

.quote-modal[open] {
  display: block;
  animation: modalIn 220ms ease;
}

.quote-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 36px;
}

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

.quote-field-wide,
.quote-form-body .primary-button {
  grid-column: 1 / -1;
}

.quote-form-heading {
  padding-right: 48px;
}

.quote-form .eyebrow {
  margin-bottom: 8px;
}

.quote-form h2 {
  max-width: 500px;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: clamp(1.5rem, 4vw, 1.95rem);
  line-height: 1.15;
}

.quote-field {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: var(--soft);
  outline: 0;
}

.quote-form textarea {
  resize: vertical;
  min-height: 112px;
}

.quote-success {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(104, 181, 29, 0.3);
  border-radius: var(--radius);
  color: #285f08;
  background: rgba(104, 181, 29, 0.1);
  font-weight: 800;
  line-height: 1.45;
}

.quote-form.is-submitted {
  min-height: 360px;
  align-content: center;
}

.quote-form.is-submitted .quote-form-heading,
.quote-form.is-submitted .quote-form-body {
  display: none;
}

.quote-form.is-submitted .quote-success {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 30px 24px;
  text-align: center;
  font-size: 1.08rem;
  box-shadow: 0 14px 34px rgba(104, 181, 29, 0.11);
}

.quote-success.is-error {
  border-color: rgba(196, 54, 54, 0.32);
  color: #8a1f1f;
  background: rgba(196, 54, 54, 0.08);
}

.quote-success[hidden] {
  display: none;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(11, 61, 145, 0.1);
}

.close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
}

.close-modal::before {
  content: "×";
  display: block;
  color: var(--blue);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-1px);
}

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

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

@keyframes wave {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes modalIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@media (max-width: 1180px) {
  .site-header {
    min-height: 76px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 2px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a,
  .main-nav button {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 44px;
    padding-bottom: 150px;
  }

  .hero-media {
    min-height: 360px;
    border-radius: var(--radius);
    overflow: hidden;
  }

  .hero-media > img {
    min-height: 360px;
    object-position: center;
  }

  .hero-ribbons {
    height: 146px;
  }

  .hero-badge {
    right: clamp(26px, 8vw, 72px);
    bottom: 50px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    bottom: 20px;
  }

  .trust-strip div:nth-child(2) {
    border-right: 0;
  }

  .trust-strip div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .service-grid,
  .about-section,
  .acronym-guide,
  .why-grid,
  .stats,
  .approach,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .why-item,
  .stats div {
    border-right: 0;
  }

  .approach::before {
    display: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding-inline: 14px;
  }

  .brand {
    width: 166px;
  }

  .hero {
    padding-top: 22px;
    padding-bottom: 28px;
    gap: 20px;
  }

  .hero-media {
    grid-column: 1;
    grid-row: 2;
    min-height: 260px;
  }

  .hero-media > img {
    min-height: 260px;
    object-position: center;
  }

  .hero-ribbons {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    left: auto;
    right: auto;
    bottom: auto;
    height: 94px;
    width: 100%;
  }

  .hero-badge {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    align-self: end;
    width: 82px;
    height: 82px;
    right: auto;
    bottom: auto;
    margin: 0 22px 20px 0;
    padding: 10px;
  }

  .hero-actions,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .trust-strip,
  .about-section,
  .acronym-guide,
  .service-grid,
  .program-grid,
  .why-grid,
  .stats,
  .approach,
  .contact-section,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 0;
    max-width: none;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: auto;
    padding: 22px;
  }

  .testimonial-card {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0 8px;
    padding: 22px 18px 18px;
  }

  .quote-mark {
    height: 30px;
    font-size: 4rem;
  }

  .testimonial-card footer {
    gap: 12px;
  }

  .testimonial-card img {
    width: 68px;
    height: 68px;
    padding: 2px;
  }

  .stats div {
    min-height: 118px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .quote-form {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 18px 18px;
  }

  .quote-form-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quote-form-heading {
    padding-right: 42px;
  }

  .quote-form.is-submitted {
    min-height: 300px;
  }

  .quote-form.is-submitted .quote-success {
    min-height: 170px;
    padding: 24px 18px;
  }

  .quote-modal {
    inset: 50% auto auto 50%;
    width: calc(100vw - 28px);
    max-height: calc(100dvh - 28px);
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 640px) and (max-height: 720px) {
  .quote-form {
    gap: 8px;
    padding: 18px 16px 14px;
  }

  .quote-form-body {
    gap: 8px;
  }

  .quote-form .eyebrow {
    margin-bottom: 0;
    font-size: 0.72rem;
  }

  .quote-form h2 {
    font-size: 1.35rem;
  }

  .quote-form label {
    gap: 4px;
    font-size: 0.9rem;
  }

  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    padding: 9px 11px;
  }

  .quote-form textarea {
    min-height: 82px;
    max-height: 92px;
  }

  .quote-form.is-submitted {
    min-height: 260px;
  }

  .close-modal {
    top: 10px;
    right: 10px;
  }
}
