:root {
  --blue-950: #06213f;
  --blue-900: #0a2f5f;
  --blue-700: #145da0;
  --blue-600: #1976c9;
  --blue-100: #e8f2fb;
  --slate-900: #172033;
  --slate-700: #405169;
  --slate-500: #6b778b;
  --slate-100: #edf2f7;
  --white: #ffffff;
  --warning: #b42318;
  --success: #067647;
  --shadow: 0 20px 50px rgba(6, 33, 63, 0.14);
  --radius: 8px;
  --container: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

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

body {
  margin: 0;
  color: var(--slate-900);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

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

a,
button,
h1,
h2,
h3,
label,
p,
li,
span,
strong {
  overflow-wrap: break-word;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(20, 93, 160, 0.14);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(6, 33, 63, 0.08);
}

.nav {
  width: var(--container);
  max-width: 100%;
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  color: var(--blue-950);
  font-size: 1.02rem;
  font-weight: 800;
}

.brand-logo {
  width: 178px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--slate-700);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue-600);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.language-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 92px;
  height: 42px;
  padding: 4px;
  overflow: hidden;
  color: var(--blue-950);
  background: linear-gradient(145deg, #ffffff, #eaf4ff);
  border: 1px solid rgba(20, 93, 160, 0.24);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 12px 30px rgba(6, 33, 63, 0.12);
  cursor: pointer;
}

.language-toggle::before {
  position: absolute;
  inset: -45%;
  content: "";
  background: conic-gradient(from 90deg, transparent, rgba(25, 118, 201, 0.22), transparent 35%);
  opacity: 0;
  transition: opacity 220ms ease, transform 420ms ease;
}

.language-toggle:hover::before,
.language-toggle:focus-visible::before {
  opacity: 1;
  transform: rotate(22deg);
}

.toggle-option {
  position: relative;
  z-index: 2;
  display: grid;
  height: 34px;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

.toggle-thumb {
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 4px;
  width: 40px;
  height: 34px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(25, 118, 201, 0.3);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-lang="en"] [data-lang-option="en"],
body[data-lang="es"] [data-lang-option="es"] {
  color: var(--white);
}

body[data-lang="es"] .toggle-thumb {
  transform: translateX(44px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--white);
  border: 1px solid rgba(20, 93, 160, 0.25);
  border-radius: 8px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue-950);
  border-radius: 2px;
}

.header-contact {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 8px 20px;
  color: var(--white);
  background: var(--blue-950);
  font-size: 0.9rem;
  font-weight: 800;
}

.header-contact a {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.header-contact a:hover,
.header-contact a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  align-items: center;
  padding: 178px 0 84px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 33, 63, 0.9), rgba(6, 33, 63, 0.55) 52%, rgba(6, 33, 63, 0.22)),
    url("assets/kxk-hero-generated.jpg") center / cover;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 76px;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--container);
  max-width: min(760px, var(--container));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-600);
  font-size: 0.79rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9ed0ff;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--blue-950);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--blue-950);
  font-size: 1.24rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.17rem;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-highlights span {
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  white-space: normal;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.button-primary {
  color: var(--white);
  background: var(--blue-600);
  box-shadow: 0 16px 32px rgba(25, 118, 201, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-700);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.44);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading p:last-child,
.about-content p,
.quote-intro p,
.program-intro p,
.credential-card p {
  color: var(--slate-700);
  font-size: 1.05rem;
}

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

.service-card,
.testimonial-card,
.quote-form {
  min-width: 0;
  border: 1px solid rgba(20, 93, 160, 0.13);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 96px;
  height: 96px;
  content: "";
  background: radial-gradient(circle at top right, rgba(25, 118, 201, 0.16), rgba(25, 118, 201, 0));
}

.service-card:hover {
  border-color: rgba(25, 118, 201, 0.28);
  box-shadow: 0 24px 60px rgba(6, 33, 63, 0.18);
  transform: translateY(-4px);
}

.service-card p,
.testimonial-card span,
.site-footer p,
.contact-list {
  color: var(--slate-700);
}

.service-area {
  padding-top: 78px;
  padding-bottom: 78px;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

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

.area-grid span {
  padding: 16px 18px;
  color: var(--blue-950);
  background: var(--white);
  border: 1px solid rgba(20, 93, 160, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(6, 33, 63, 0.08);
  font-weight: 850;
}

.area-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.area-detail-grid article,
.training-cta,
.faq-grid details {
  border: 1px solid rgba(20, 93, 160, 0.13);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.area-detail-grid article {
  padding: 26px;
}

.area-detail-grid p {
  margin: 0;
  color: var(--slate-700);
}

.card-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--blue-700);
  background: linear-gradient(145deg, #f6fbff, var(--blue-100));
  border: 1px solid rgba(25, 118, 201, 0.16);
  border-radius: 8px;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blue-950);
  box-shadow: var(--shadow);
}

.about-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(6, 33, 63, 0), rgba(6, 33, 63, 0.64));
  pointer-events: none;
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
  object-position: center 28%;
}

.founder-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 3px;
  max-width: min(280px, calc(100% - 44px));
  padding: 15px 17px;
  color: #ffffff;
  background: rgba(6, 33, 63, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 36px rgba(6, 33, 63, 0.22);
}

.founder-card span {
  font-size: 1rem;
  font-weight: 850;
}

.founder-card small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
}

.founder-note {
  position: relative;
  padding: 22px 24px 22px 28px;
  margin: 28px 0 0;
  background: linear-gradient(145deg, #f7fbff, #ffffff);
  border: 1px solid rgba(20, 93, 160, 0.14);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(6, 33, 63, 0.08);
}

.founder-note p {
  margin: 0;
  color: var(--blue-950);
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.55;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.stats div {
  padding: 20px;
  background: var(--slate-100);
  border-radius: var(--radius);
}

.stats strong {
  display: block;
  color: var(--blue-700);
  font-size: 2rem;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--slate-700);
  font-weight: 700;
}

.dispatch-program {
  width: 100%;
  padding-right: max(20px, calc((100% - 1120px) / 2));
  padding-left: max(20px, calc((100% - 1120px) / 2));
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.dispatch-program .section-heading {
  width: min(760px, 100%);
}

.program-intro {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.program-intro > div,
.module-card,
.credential-card {
  min-width: 0;
  border: 1px solid rgba(20, 93, 160, 0.13);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.program-intro > div {
  padding: 30px;
}

.credential-card {
  display: grid;
  align-content: center;
  gap: 10px;
  background: var(--blue-950);
  color: var(--white);
}

.credential-card span,
.module-card span {
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credential-card strong {
  font-size: 1.6rem;
  line-height: 1.1;
}

.credential-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

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

.module-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.module-card:hover {
  border-color: rgba(25, 118, 201, 0.28);
  box-shadow: 0 24px 60px rgba(6, 33, 63, 0.16);
  transform: translateY(-3px);
}

.module-card h3 {
  margin-top: 10px;
}

.module-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.module-kicker svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.module-card ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 18px 0 0;
  color: var(--slate-700);
  list-style: none;
}

.module-card li {
  position: relative;
  padding-left: 18px;
}

.module-card li::before {
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--blue-600);
  border-radius: 50%;
  transform: translateY(-50%);
}

.training-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 30px;
}

.training-cta h3 {
  margin-bottom: 8px;
}

.training-cta p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--slate-700);
}

.quote-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 50px;
  align-items: start;
}

.quote-points {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.quote-points li {
  position: relative;
  padding-left: 30px;
  color: var(--slate-700);
  font-weight: 750;
}

.quote-points li::before {
  position: absolute;
  left: 0;
  top: 3px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--white);
  content: "✓";
  background: var(--blue-600);
  border-radius: 50%;
  font-size: 0.74rem;
}

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

.hidden-field {
  display: none;
}

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

.form-row-full,
.form-submit,
.form-status {
  grid-column: 1 / -1;
}

label {
  color: var(--blue-950);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--slate-900);
  background: #fbfdff;
  border: 1px solid #cfd9e6;
  border-radius: 8px;
  outline: none;
  transition: border 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  background: var(--white);
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(25, 118, 201, 0.13);
}

.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea {
  border-color: var(--warning);
}

.error-message {
  min-height: 18px;
  color: var(--warning);
  font-size: 0.82rem;
  font-weight: 700;
}

.form-submit {
  width: fit-content;
  margin-top: 4px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--success);
  font-weight: 800;
}

.form-status.is-error {
  color: var(--warning);
}

.faq-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.faq-grid {
  display: grid;
  gap: 14px;
}

.faq-grid details {
  padding: 22px 24px;
}

.faq-grid summary {
  color: var(--blue-950);
  cursor: pointer;
  font-weight: 900;
  list-style-position: outside;
}

.faq-grid p {
  margin: 14px 0 0;
  color: var(--slate-700);
}

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

.testimonial-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  margin: 0;
}

blockquote {
  margin: 0 0 28px;
  color: var(--slate-900);
  font-size: 1.05rem;
}

figcaption strong,
figcaption span {
  display: block;
}

figcaption span {
  margin-top: 4px;
  font-size: 0.92rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 44px;
  padding: 54px max(20px, calc((100% - 1120px) / 2));
  color: var(--white);
  background: var(--blue-950);
}

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

.site-footer p {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.contact-list {
  display: grid;
  gap: 10px;
  align-content: center;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  font-weight: 650;
}

.contact-list a,
.contact-list span {
  overflow-wrap: anywhere;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-cta {
  display: none;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 116px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid rgba(20, 93, 160, 0.16);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-links a {
    padding: 13px 10px;
  }

  .nav-links a::after {
    display: none;
  }

  .service-grid,
  .area-grid,
  .area-detail-grid,
  .testimonial-grid,
  .about,
  .program-intro,
  .module-grid,
  .quote-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

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

  .training-cta {
    grid-template-columns: 1fr;
  }

  .about-media {
    min-height: 360px;
  }

  .about-media img {
    min-height: 360px;
    object-position: center 22%;
  }

  .site-footer {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 36px, 1120px);
  }

  .nav {
    min-height: 68px;
    gap: 10px;
  }

  .brand {
    max-width: 178px;
  }

  .brand-logo {
    width: 146px;
  }

  .nav-actions {
    gap: 8px;
  }

  .language-toggle {
    width: 78px;
    height: 38px;
    padding: 3px;
  }

  .toggle-option {
    height: 32px;
    font-size: 0.72rem;
  }

  .toggle-thumb {
    top: 3px;
    left: 3px;
    width: 35px;
    height: 32px;
  }

  body[data-lang="es"] .toggle-thumb {
    transform: translateX(37px);
  }

  .nav-links {
    top: 108px;
    right: 18px;
    left: 18px;
  }

  .hero {
    min-height: 76svh;
    padding-top: 140px;
    padding-bottom: 46px;
    background-position: 62% center;
  }

  .header-contact {
    gap: 12px;
    padding: 8px 18px;
    font-size: 0.78rem;
  }

  h1 {
    font-size: clamp(2rem, 9.4vw, 2.7rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.78rem, 8vw, 2.35rem);
  }

  .hero-copy {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-highlights {
    margin-top: 20px;
  }

  .hero-highlights span {
    font-size: 0.82rem;
    padding: 7px 10px;
  }

  .hero-actions,
  .button,
  .form-submit {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .dispatch-program {
    padding-right: 18px;
    padding-left: 18px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .service-card,
  .module-card,
  .testimonial-card,
  .program-intro > div,
  .area-detail-grid article,
  .training-cta,
  .faq-grid details {
    padding: 24px;
  }

  .service-grid,
  .area-grid,
  .area-detail-grid,
  .module-grid,
  .quote-form,
  .stats {
    grid-template-columns: 1fr;
  }

  .quote-form {
    padding: 24px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .testimonial-card {
    min-height: 240px;
  }

  body {
    padding-bottom: 68px;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(6, 33, 63, 0.94);
    box-shadow: 0 -16px 38px rgba(6, 33, 63, 0.22);
    backdrop-filter: blur(16px);
  }

  .mobile-cta a {
    display: grid;
    min-height: 44px;
    place-items: center;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 900;
  }

  .mobile-cta a:last-child {
    background: var(--blue-600);
  }
}

@media (max-width: 380px) {
  :root {
    --container: min(100% - 32px, 1120px);
  }

  .brand-logo {
    width: 132px;
  }

  .nav-actions {
    gap: 6px;
  }

  .language-toggle {
    width: 74px;
    height: 38px;
  }

  .toggle-thumb {
    width: 33px;
  }

  body[data-lang="es"] .toggle-thumb {
    transform: translateX(35px);
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .header-contact {
    gap: 8px;
    padding-right: 16px;
    padding-left: 16px;
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(1.92rem, 9vw, 2.25rem);
  }

  .section {
    padding: 54px 0;
  }

  .service-card,
  .module-card,
  .testimonial-card,
  .program-intro > div,
  .area-detail-grid article,
  .training-cta,
  .faq-grid details,
  .quote-form {
    padding: 22px;
  }

  .founder-note {
    padding: 20px;
  }

  .founder-card {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    padding: 13px 15px;
  }

  .site-footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .dispatch-program {
    padding-right: 16px;
    padding-left: 16px;
  }
}
