
:root {
  --fm-red: #cf202f;
  --fm-blue: #123c7c;
  --fm-blue-dark: #092453;
  --fm-gold: #f6c84c;
  --ink: #172033;
  --muted: #667085;
  --soft: #f5f7fb;
  --white: #ffffff;
  --border: #e4e7ec;
  --shadow: 0 20px 45px rgba(16, 24, 40, 0.12);
  --radius: 22px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.top-strip {
  background: var(--fm-blue-dark);
  color: var(--white);
  font-size: 0.92rem;
}

.top-strip .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  display: flex;
  gap: 1.2rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-strip a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-weight: 900;
  color: var(--fm-blue-dark);
  letter-spacing: -0.02em;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand span {
  display: block;
  font-size: 1.2rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.94rem;
}

.nav-links a:hover {
  color: var(--fm-red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.82rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  background: var(--fm-red);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(207, 32, 47, 0.25);
}

.btn-secondary {
  background: var(--fm-blue);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(18, 60, 124, 0.22);
}

.btn-light {
  background: var(--white);
  color: var(--fm-blue-dark);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--fm-blue);
  border-color: var(--fm-blue);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(246, 200, 76, 0.2), transparent 24%),
    linear-gradient(135deg, var(--fm-blue-dark), var(--fm-blue) 58%, #1b5bb8);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%);
  background-size: 42px 42px;
  opacity: 0.45;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.2rem 1.25rem 4.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.36rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
  font-weight: 900;
  font-size: 0.9rem;
}

.hero h1 {
  margin: 1rem 0 1rem;
  max-width: 760px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 650px;
  font-size: 1.18rem;
  color: rgba(255,255,255,0.9);
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.hero-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin: 0 0 0.7rem;
  font-size: 1.35rem;
}

.hero-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-card li {
  padding: 0.7rem 0;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.hero-card li:first-child {
  border-top: 0;
}

.section {
  padding: 4.3rem 1.25rem;
}

.section-soft {
  background: var(--soft);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.kicker {
  color: var(--fm-red);
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

h1, h2, h3 {
  color: inherit;
}

.section h2 {
  margin: 0.4rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

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

.grid {
  display: grid;
  gap: 1.2rem;
}

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

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

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 12px 35px rgba(16, 24, 40, 0.06);
}

.card h3 {
  margin: 0 0 0.55rem;
  color: var(--fm-blue-dark);
  font-size: 1.25rem;
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--fm-blue), var(--fm-blue-dark));
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

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

.class-card .age {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--fm-red);
  font-weight: 900;
}

.class-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

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

.feature-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--muted);
}

.tick {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--fm-red);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 900;
}

.cta {
  background: linear-gradient(135deg, var(--fm-red), #a91420);
  color: var(--white);
  border-radius: 32px;
  padding: 2.2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta h2 {
  margin: 0 0 0.4rem;
}

.cta p {
  margin: 0;
  color: rgba(255,255,255,0.88);
}

.contact-card {
  background: var(--fm-blue-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.contact-card p,
.contact-card a {
  color: rgba(255,255,255,0.88);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.contact-list strong {
  display: block;
  color: var(--white);
}

.page-hero {
  background: linear-gradient(135deg, var(--fm-blue-dark), var(--fm-blue));
  color: var(--white);
  padding: 3.5rem 1.25rem;
}

.page-hero h1 {
  max-width: var(--max);
  margin: 0 auto 0.6rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: var(--max);
  margin: 0 auto;
  color: rgba(255,255,255,0.86);
  font-size: 1.12rem;
}

.footer {
  background: #061936;
  color: var(--white);
  padding: 3rem 1.25rem 1.5rem;
}

.footer .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.footer h3 {
  margin: 0 0 0.8rem;
}

.footer a,
.footer p {
  color: rgba(255,255,255,0.78);
}

.footer a {
  display: block;
  text-decoration: none;
  margin: 0.35rem 0;
}

.footer a:hover {
  color: var(--white);
}

.copyright {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.62);
  font-size: 0.92rem;
}

.notice {
  border-left: 5px solid var(--fm-gold);
  background: #fff8df;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  color: #6b4e00;
}

@media (max-width: 900px) {
  .hero .wrap,
  .split,
  .cta {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .nav-links {
    display: none;
  }

  .brand span {
    font-size: 1.05rem;
  }
}


/* Contact forms */
.form-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;box-shadow:0 12px 35px rgba(16,24,40,.06)}
.contact-form{display:grid;gap:1rem}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.form-field{display:grid;gap:.35rem}.form-field.full{grid-column:1/-1}
.form-field label{font-weight:900;color:var(--fm-blue-dark);font-size:.95rem}
.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid var(--border);border-radius:14px;padding:.9rem 1rem;font:inherit;color:var(--ink);background:var(--white)}
.form-field textarea{min-height:130px;resize:vertical}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{outline:3px solid rgba(18,60,124,.16);border-color:var(--fm-blue)}
.form-help{color:var(--muted);font-size:.92rem;margin:0}.form-success,.form-error{display:none;padding:1rem;border-radius:14px;font-weight:800}
.form-success{background:#eaf8ef;color:#155b2d}.form-error{background:#fff0f0;color:#9f1f2e}.small-print{color:var(--muted);font-size:.84rem;margin-top:.5rem}
@media(max-width:760px){.form-grid{grid-template-columns:1fr}}
