:root {
  --bg: #f4f7f9;
  --surface: #ffffff;
  --surface-soft: #e9f1f6;
  --surface-strong: #0d4f73;
  --surface-deep: #0a3852;
  --text: #123347;
  --text-muted: #507084;
  --white: #ffffff;
  --accent: #ffc940;
  --accent-strong: #f2b400;
  --line: rgba(13, 79, 115, 0.12);
  --shadow: 0 18px 45px rgba(10, 56, 82, 0.12);
  --shadow-soft: 0 12px 30px rgba(10, 56, 82, 0.08);
  --radius: 26px;
  --radius-sm: 18px;
  --container: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(69, 177, 224, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 201, 64, 0.16), transparent 22%),
    var(--bg);
  color: var(--text);
}

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

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 6.5rem 0;
}

.section-dark {
  background:
    linear-gradient(135deg, rgba(3, 40, 59, 0.96), rgba(13, 79, 115, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  color: var(--white);
}

.section-light {
  background: transparent;
}

.section-contrast {
  background: linear-gradient(180deg, rgba(13, 79, 115, 0.06), rgba(233, 241, 246, 0.6));
}

.section-contact {
  background: linear-gradient(180deg, rgba(255, 201, 64, 0.08), rgba(255, 255, 255, 0.92));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 2px;
  background: currentColor;
}

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

.section-heading h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(5, 45, 66, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled {
  background: rgba(5, 45, 66, 0.92);
  box-shadow: 0 14px 32px rgba(3, 24, 35, 0.18);
}

.navbar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  flex-shrink: 0;
}

.brand__logo {
  width: clamp(210px, 22vw, 300px);
  max-height: 88px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
}

.nav-links a {
  font-weight: 600;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 54px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #143142;
  box-shadow: 0 16px 30px rgba(255, 201, 64, 0.28);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.button--nav {
  min-height: 48px;
  padding-inline: 1.1rem;
  background: rgba(255, 201, 64, 0.96);
  color: #113145;
}

.button--full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: clip;
  padding-top: 3rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.6;
}

.hero::before {
  top: 8%;
  right: -6rem;
  width: 18rem;
  height: 18rem;
  background: rgba(69, 177, 224, 0.16);
}

.hero::after {
  left: -4rem;
  bottom: 5%;
  width: 14rem;
  height: 14rem;
  background: rgba(255, 201, 64, 0.18);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero__content h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero__lead {
  margin: 1.4rem 0 0;
  max-width: 640px;
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.hero__highlights li {
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
}

.hero__support-note {
  margin: 1.25rem 0 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.hero__support-note a {
  color: var(--accent);
  font-weight: 800;
}

.hero__visual {
  position: relative;
  display: grid;
  gap: 1rem;
}

.hero-card,
.hero-stats article,
.contact-panel__surface,
.employment-panel__card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  overflow: hidden;
}

.hero-card--brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 214px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card--brand img {
  width: 100%;
  max-height: 194px;
  object-fit: cover;
  border-radius: 22px;
}

.hero-card--road {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.2rem;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(69, 177, 224, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card__visual-image {
  width: 100%;
  height: 220px;
  border-radius: 24px;
  object-fit: cover;
}

.hero-card__copy {
  display: grid;
  gap: 0.6rem;
}

.hero-card__label,
.panel-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 201, 64, 0.14);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-card__copy strong,
.employment-panel__card strong {
  font-size: 1.15rem;
  line-height: 1.5;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-stats article {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats strong {
  display: block;
  margin-bottom: 0.45rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.8);
}

.benefits-grid,
.services-grid,
.steps-grid,
.testimonials-grid,
.programs-grid,
.content-grid,
.gallery-grid {
  display: grid;
  gap: 1.2rem;
}

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

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

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

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

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

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

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

.info-card,
.service-card,
.step-card,
.testimonial-card,
.program-card,
.content-card,
.legal-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.info-card h3,
.service-card h3,
.step-card h3,
.testimonial-card strong,
.program-card h3,
.content-card h3 {
  margin-top: 0;
}

.info-card p,
.service-card p,
.step-card p,
.testimonial-card span,
.program-card p,
.certificate-points span {
  color: var(--text-muted);
}

.icon-badge,
.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(69, 177, 224, 0.16), rgba(255, 201, 64, 0.18));
}

.icon-badge svg,
.service-card__icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: var(--surface-strong);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card a {
  margin-top: auto;
  font-weight: 800;
  color: var(--surface-strong);
}

.institutional-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(233, 241, 246, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.institutional-panel__copy,
.institutional-panel__legal {
  display: grid;
  gap: 1rem;
}

.institutional-panel__copy h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.15;
}

.institutional-panel__copy p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-card strong {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--surface-strong);
}

.legal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.legal-tags span {
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--surface-strong);
  font-weight: 700;
}

.legal-list,
.program-card__list,
.content-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding-left: 1.2rem;
}

.legal-list li,
.program-card__list li,
.content-list li {
  color: var(--text-muted);
}

.program-card,
.content-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.program-card__eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(13, 79, 115, 0.08);
  color: var(--surface-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.program-card a {
  margin-top: auto;
  font-weight: 800;
  color: var(--surface-strong);
}

.content-list {
  margin-top: 0.4rem;
}

.section-process .section-heading p:last-child,
.section-process .section-heading h2 {
  color: var(--white);
}

.section-process .step-card {
  background: rgba(255, 255, 255, 0.98);
}

.certificate-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  align-items: center;
}

.certificate-copy h2 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.certificate-copy p {
  color: var(--text-muted);
  line-height: 1.8;
}

.certificate-points {
  display: grid;
  gap: 1rem;
  margin: 1.8rem 0 2rem;
}

.certificate-points div {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.certificate-points strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--surface-strong);
}

.certificate-card {
  padding: 1rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(13, 79, 115, 0.08), rgba(69, 177, 224, 0.1));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.certificate-card img {
  width: 100%;
  border-radius: 20px;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: var(--surface);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-card:hover img {
  transform: scale(1.03);
}

.service-card:hover,
.info-card:hover,
.step-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 20px 42px rgba(10, 56, 82, 0.12);
}

.step-card span:first-child {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--surface-strong);
}

.employment-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.employment-grid,
.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.employment-copy h2,
.contact-copy h2 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
}

.employment-copy p,
.employment-copy li {
  color: rgba(255, 255, 255, 0.82);
}

.employment-list {
  display: grid;
  gap: 0.9rem;
  padding-left: 1.2rem;
  margin: 1.5rem 0 2rem;
}

.employment-panel {
  position: relative;
}

.employment-panel__card {
  position: relative;
  z-index: 1;
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.employment-panel__card p {
  color: rgba(255, 255, 255, 0.82);
}

.employment-panel__routes {
  margin-top: -2rem;
  margin-left: auto;
  width: 82%;
  min-height: 260px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.employment-panel__routes img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-list a,
.contact-list div {
  display: grid;
  gap: 0.3rem;
  padding: 1.2rem 1.3rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(13, 79, 115, 0.12);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

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

.contact-list span {
  color: var(--text-muted);
}

.social-links {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(13, 79, 115, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.social-links strong {
  color: var(--surface-strong);
}

.social-links span {
  color: var(--text-muted);
}

.contact-panel__surface {
  padding: 2rem;
  background:
    linear-gradient(145deg, rgba(13, 79, 115, 0.96), rgba(10, 56, 82, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
  color: var(--white);
}

.contact-panel__surface p {
  color: rgba(255, 255, 255, 0.82);
}

.map-card {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(13, 79, 115, 0.12);
  box-shadow: var(--shadow-soft);
}

.map-card__copy strong {
  color: var(--surface-strong);
}

.map-card__copy p {
  margin: 0.5rem 0 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.map-card iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 20px;
}

.map-card__link {
  display: inline-flex;
  margin-top: 0.9rem;
  font-weight: 800;
  color: var(--surface-strong);
}

.site-footer {
  padding: 2rem 0 3rem;
  background: #082f45;
  color: rgba(255, 255, 255, 0.76);
}

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

.site-footer h2 {
  margin: 0;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-cta {
  font-weight: 800;
  color: var(--accent);
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  background: #25d366;
  color: #073d28;
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.28);
  font-weight: 900;
}

.whatsapp-float__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.whatsapp-float__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-delay {
  transition-delay: 120ms;
}

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

@media (max-width: 1024px) {
  .hero__grid,
  .institutional-panel,
  .employment-grid,
  .contact-grid,
  .certificate-grid,
  .footer-grid,
  .benefits-grid,
  .services-grid,
  .steps-grid,
  .testimonials-grid,
  .programs-grid,
  .content-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero__visual {
    max-width: 680px;
  }

  .footer-grid {
    justify-items: start;
  }
}

@media (max-width: 840px) {
  :root {
    --header-height: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(8, 47, 69, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 22px 45px rgba(3, 24, 35, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

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

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

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

  .whatsapp-float__text {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 5rem 0;
  }

  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .hero__content h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .hero__lead,
  .section-heading p:last-child,
  .employment-copy p,
  .contact-copy p {
    font-size: 1rem;
  }

  .hero__actions,
  .button,
  .button--primary,
  .button--ghost {
    width: 100%;
  }

  .program-card a {
    margin-top: 1rem;
  }

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

  .hero-card__visual-image,
  .employment-panel__routes img,
  .map-card iframe {
    height: auto;
  }

  .brand__logo {
    width: 190px;
    max-height: 72px;
  }

  .whatsapp-float {
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.9rem;
  }
}
