:root {
  --ink: #202226;
  --muted: #686d75;
  --blue: #1269b0;
  --blue-dark: #0a4779;
  --blue-light: #e8f4fc;
  --red: #d72f32;
  --gold: #f1bd32;
  --white: #ffffff;
  --off-white: #f7f9fb;
  --line: #dce1e6;
  --heading: "Montserrat", Arial, sans-serif;
  --sans: "Nunito Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #202020 0 33.33%, var(--red) 33.33% 66.66%, var(--gold) 66.66%);
  content: "";
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(19, 38, 54, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--heading);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.flag-mark {
  display: flex;
  overflow: hidden;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex-direction: column;
}

.flag-mark i {
  flex: 1;
}

.flag-mark i:nth-child(1) {
  background: #202020;
}

.flag-mark i:nth-child(2) {
  background: var(--red);
}

.flag-mark i:nth-child(3) {
  background: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}

.main-nav > a:not(.nav-cta) {
  padding: 10px 18px;
  color: var(--blue-dark);
  border: 1px solid rgba(18, 105, 176, 0.24);
  border-radius: 999px;
  background: var(--blue-light);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}

.main-nav > a:not(.nav-cta):hover {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 11px 19px;
  color: var(--white);
  border-radius: 999px;
  background: var(--red);
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  color: var(--ink);
  background: var(--gold);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}

.hero {
  min-height: calc(100vh - 78px);
  min-height: calc(100svh - 78px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(125deg, transparent 0 68%, rgba(241, 189, 50, 0.12) 68% 69%, transparent 69%),
    var(--white);
}

.hero-grid {
  display: grid;
  min-height: calc(100vh - 78px);
  min-height: calc(100svh - 78px);
  align-items: center;
  gap: 60px;
  padding-block: 48px;
  grid-template-columns: 1fr 0.9fr;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  font-size: 14px;
}

h1,
h2 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(54px, 6.6vw, 88px);
}

h1 em {
  color: var(--red);
  font-style: normal;
  font-weight: 800;
}

.hero-lead {
  max-width: 550px;
  margin: 25px 0 28px;
  color: var(--muted);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s, transform 0.2s, background 0.2s, border-color 0.2s;
}

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

.button-primary {
  color: var(--white);
  background: var(--red);
}

.button-primary:hover {
  color: var(--ink);
  background: var(--gold);
}

.button-secondary {
  border-color: var(--line);
  background: var(--white);
}

.button-secondary:hover {
  border-color: var(--blue);
}

.quick-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 16px;
}

.quick-contact a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.hero-visual {
  position: relative;
  min-height: 490px;
}

.hero-visual > img {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -44%;
  width: 178%;
  height: auto;
  filter: drop-shadow(0 24px 35px rgba(32, 34, 38, 0.13));
  transform: translateY(-50%);
}

.flag-orbit {
  position: absolute;
  z-index: 1;
  top: 1%;
  right: -7%;
  width: 82%;
  height: 94%;
  border-radius: 50%;
  background: conic-gradient(from 120deg, #202020 0 33%, var(--red) 33% 66%, var(--gold) 66% 100%);
  opacity: 0.13;
}

.level-badge {
  position: absolute;
  z-index: 3;
  right: -1%;
  bottom: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 126px;
  height: 126px;
  color: var(--white);
  border: 7px solid var(--gold);
  border-radius: 50%;
  background: #202020;
  flex-direction: column;
  transform: rotate(7deg);
}

.level-badge strong {
  font-family: var(--heading);
  font-size: 21px;
  line-height: 1;
}

.level-badge span {
  margin-top: 6px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.offer {
  padding: 95px 0;
  background:
    linear-gradient(90deg, #202020 0 6px, var(--red) 6px 12px, var(--gold) 12px 18px, transparent 18px),
    var(--off-white);
}

.offer-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.offer .eyebrow {
  font-size: 13px;
}

.offer-heading h2,
.contact h2 {
  font-size: clamp(39px, 4.2vw, 58px);
}

.offer-heading > p {
  max-width: 360px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 16px;
}

.offer-grid {
  display: grid;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.offer-card {
  position: relative;
  padding: 32px 28px;
  border-top: 4px solid #202020;
}

.offer-card + .offer-card {
  border-left: 1px solid var(--line);
}

.offer-card:nth-child(2) {
  border-top-color: var(--red);
}

.offer-card:nth-child(3) {
  border-top-color: var(--gold);
}

.offer-card > span {
  color: var(--red);
  font-family: var(--heading);
  font-size: 14px;
}

.offer-card h3 {
  margin: 12px 0 7px;
  font-family: var(--heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.offer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 21px;
}

.study-note {
  display: grid;
  align-items: center;
  gap: 25px;
  margin-top: 32px;
  padding: 20px 30px;
  border: 1px solid var(--line);
  background: var(--white);
  grid-template-columns: 70px 1fr auto;
}

.study-note img {
  width: 62px;
  height: 62px;
  animation: gentle-float 3.2s ease-in-out infinite;
}

.study-note p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.study-note strong {
  color: var(--ink);
}

.study-note a {
  padding-bottom: 3px;
  color: var(--red);
  border-bottom: 2px solid var(--gold);
  font-size: 14px;
  font-weight: 800;
}

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

.contact {
  padding: 72px 0;
  background: var(--white);
}

.contact-box {
  display: grid;
  align-items: center;
  gap: 60px;
  padding: 58px 62px;
  color: var(--white);
  border-radius: 3px;
  background:
    linear-gradient(115deg, #202020 0 62%, #2a2a2a 62%),
    #202020;
  box-shadow: inset 8px 0 0 var(--red), inset 15px 0 0 var(--gold);
  grid-template-columns: 1.1fr 0.9fr;
}

.contact .eyebrow {
  color: var(--gold);
  font-size: 14px;
}

.contact-links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.contact-links a {
  padding: 9px 0;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 16px;
}

.contact-links .phone-link {
  color: var(--white);
  font-family: var(--heading);
  font-weight: 700;
  font-size: 27px;
}

.contact-map {
  width: 100%;
  height: 260px;
  border: 0;
  grid-column: 1 / -1;
  filter: saturate(0.8) contrast(1.04);
}

.site-footer {
  padding: 26px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner p {
  margin: 0;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

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

.footer-social svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-social .icon-dot {
  fill: currentColor;
  stroke: none;
}

.mobile-call {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 36px, 650px);
  }

  .site-header {
    backdrop-filter: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: block;
    cursor: pointer;
  }

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

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

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

  .main-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    align-items: flex-start;
    justify-content: center;
    padding: 90px 12vw;
    background: var(--white);
    font-family: var(--heading);
    font-weight: 700;
    font-size: 32px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s, transform 0.2s;
    flex-direction: column;
  }

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

  .nav-cta {
    margin-top: 10px;
    font-family: var(--sans);
    font-size: 14px;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding-block: 70px 80px;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 460px;
    margin-top: 10px;
  }

  .hero-visual > img {
    right: 0;
    width: 94%;
  }

  .flag-orbit {
    right: 3%;
    width: 72%;
  }

  .offer-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

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

  .offer-card + .offer-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .study-note {
    grid-template-columns: 70px 1fr;
  }

  .study-note a {
    grid-column: 2;
  }

  .contact-box {
    gap: 38px;
    padding: 48px 42px;
    grid-template-columns: 1fr;
  }

  .contact-map {
    height: 240px;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 58px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .nav-wrap {
    min-height: 68px;
  }

  .flag-mark {
    width: 36px;
    height: 36px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .hero-grid {
    gap: 35px;
    padding: 55px 0 68px;
  }

  h1 {
    font-size: 55px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .quick-contact {
    align-items: center;
    flex-direction: column;
    gap: 7px;
    text-align: center;
  }

  .hero-visual {
    min-height: 350px;
  }

  .hero-visual > img {
    right: -4%;
    width: 112%;
  }

  .flag-orbit {
    right: 0;
    width: 82%;
  }

  .level-badge {
    right: 7%;
    bottom: 12%;
    width: 108px;
    height: 108px;
    transform: none;
  }

  .level-badge strong {
    font-size: 18px;
  }

  .level-badge span {
    font-size: 8px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }

  .offer {
    padding: 70px 0;
    background: var(--off-white);
  }

  .offer .container {
    width: calc(100% - 48px);
  }

  .offer-heading h2,
  .contact h2 {
    font-size: 39px;
  }

  .offer-grid {
    margin-top: 35px;
  }

  .offer-card {
    padding-inline: 8px;
  }

  .study-note {
    gap: 14px;
    padding: 20px;
    grid-template-columns: 50px 1fr;
  }

  .study-note img {
    width: 46px;
    height: 46px;
  }

  .study-note p {
    font-size: 15px;
  }

  .contact {
    padding: 42px 0;
  }

  .contact-box {
    padding: 39px 27px;
  }

  .contact-map {
    height: 220px;
  }

  .contact-links a {
    overflow-wrap: anywhere;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .footer-social {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-footer {
    padding-bottom: 90px;
  }

  .mobile-call {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 9px 14px;
    background: #202020;
  }

  .mobile-call a {
    display: grid;
    min-height: 40px;
    color: var(--white);
    border-radius: 999px;
    background: var(--red);
    font-size: 13px;
    font-weight: 700;
    place-items: center;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

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