:root {
  color-scheme: light;
  --blue-950: #001431;
  --blue-900: #00265b;
  --blue-800: #003c86;
  --blue-100: #eaf4ff;
  --gold-500: #f2a900;
  --gold-600: #d88f00;
  --ink: #0b1830;
  --muted: #56657f;
  --line: #d9e3f2;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 20, 49, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7fbff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(0, 20, 49, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

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

.brand img {
  width: clamp(180px, 18vw, 260px);
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 72px) clamp(18px, 4vw, 56px);
  color: var(--white);
  background:
    radial-gradient(circle at 78% 24%, rgba(242, 169, 0, 0.18), transparent 30%),
    linear-gradient(135deg, var(--blue-950), var(--blue-900) 56%, #041d40);
}

.hero-media {
  width: min(100%, 560px);
  justify-self: center;
  overflow: hidden;
  border-radius: 8px;
}

.hero-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-content {
  max-width: 670px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-500);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.button.primary {
  color: var(--blue-950);
  background: var(--gold-500);
}

.button.primary:hover {
  background: #ffc13a;
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.86);
}

.hero-points li {
  position: relative;
  padding-left: 24px;
}

.hero-points li::before {
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-500);
  content: "";
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 32px;
}

.section-heading h2,
.cta-copy h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.cta-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.benefits {
  background: var(--white);
}

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

.benefit-grid article {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f4f9ff);
}

.benefit-number {
  color: var(--gold-600);
  font-size: 14px;
  font-weight: 900;
}

.benefit-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-top: 28px;
  border-radius: 8px;
  color: var(--gold-500);
  background: var(--blue-950);
}

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

.benefit-grid h3 {
  margin: 22px 0 10px;
  color: var(--blue-900);
  font-size: 23px;
  line-height: 1.15;
}

.benefit-grid p {
  margin: 0;
  color: var(--muted);
}

.courses {
  background: var(--blue-100);
}

.course-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 55px rgba(0, 38, 91, 0.09);
}

.table-row {
  display: grid;
  grid-template-columns: minmax(210px, 1.4fr) minmax(110px, 0.55fr) minmax(110px, 0.55fr);
  border-top: 1px solid var(--line);
}

.table-row:first-child {
  border-top: 0;
}

.table-row > div {
  padding: 15px 18px;
}

.table-row > div:not(:first-child) {
  border-left: 1px solid var(--line);
  font-weight: 800;
  white-space: nowrap;
}

.table-head {
  color: var(--white);
  background: var(--blue-900);
  font-weight: 900;
}

.fine-print {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.cta {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(0, 20, 49, 0.96), rgba(0, 60, 134, 0.93)),
    var(--blue-900);
}

.cta-copy h2,
.cta-copy p:not(.eyebrow) {
  color: var(--white);
}

.cta-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-950);
  font-size: 14px;
  font-weight: 900;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #c9d6e8;
  border-radius: 6px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 3px solid rgba(242, 169, 0, 0.28);
  border-color: var(--gold-600);
}

.lead-form .button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  display: grid;
  grid-template-columns: auto minmax(0, max-content);
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  color: rgba(255, 255, 255, 0.74);
  background: var(--blue-950);
  font-size: 12px;
  text-align: left;
}

.footer img {
  width: min(260px, 42vw);
  height: auto;
}

.footer p {
  margin: 0;
}

.cookie-banner {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(620px, calc(100vw - 28px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--white);
  background: rgba(0, 20, 49, 0.96);
  box-shadow: 0 18px 48px rgba(0, 20, 49, 0.28);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 3px;
  color: var(--gold-500);
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.cookie-banner .button {
  min-height: 42px;
  padding: 10px 16px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .brand img {
    width: min(240px, 72vw);
  }

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

  .hero {
    min-height: 0;
  }

  .hero-content {
    order: -1;
  }

  .hero-media {
    width: min(100%, 460px);
  }

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

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

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

  .course-table {
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .table-row {
    grid-template-columns: 1fr;
    margin-bottom: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
  }

  .table-head {
    display: none;
  }

  .table-row > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
  }

  .table-row > div:not(:first-child) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .table-row > div:nth-child(2)::before {
    color: var(--muted);
    font-weight: 700;
    content: "Matutino";
  }

  .table-row > div:nth-child(3)::before {
    color: var(--muted);
    font-weight: 700;
    content: "Noturno";
  }

  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer img {
    justify-self: center;
    width: min(260px, 76vw);
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-banner .button {
    width: 100%;
  }
}
