:root {
  --navy: #051f41;
  --navy-2: #082b55;
  --gold: #f9ad0b;
  --text: #0a2345;
  --muted: #31445e;
  --line: #d9e0e8;
  --soft: #f8fafc;
}

html {
  scroll-behavior: smooth;
}

html.menu-open {
  overflow: hidden;
}

:focus-visible {
  outline: 3px solid rgba(249, 173, 11, 0.45);
  outline-offset: 3px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Nunito", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

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

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

.container {
  width: min(100% - 64px, 796px);
  margin: 0 auto;
}

.site-header {
  height: 112px;
  background: #fff;
  box-shadow: 0 1px 10px rgba(8, 31, 61, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-big-logo {
  position: absolute;
  left: 28px;
  top: 8px;
  z-index: 12;
  width: 96px;
  height: 96px;
  display: block;
}

.header-big-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-header .container {
  width: min(100% - 24px, 838px);
}

.brand-spacer {
  flex: 0 0 118px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-left: 12px;
  flex: 1;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links a {
  padding: 46px 0 41px;
  border-bottom: 2px solid transparent;
}

.nav-links a.active {
  color: var(--gold);
  border-color: var(--gold);
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  background: var(--gold);
  color: #071f3d;
  font-weight: 900;
  padding: 12px 15px;
  font-size: 12px;
}

.hero {
  min-height: 380px;
  background:
    radial-gradient(circle at 24% 46%, rgba(213, 224, 236, 0.55), transparent 30%),
    linear-gradient(90deg, #fff 0%, #fff 53%, #f7f9fb 53%, #f7f9fb 100%);
  overflow: hidden;
}

.hero-grid {
  width: min(100% - 64px, 828px);
  min-height: 380px;
  display: grid;
  grid-template-columns: 390px 428px;
  align-items: center;
  gap: 10px;
}

.hero-copy {
  padding-top: 9px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 44px;
  line-height: 1.11;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 span,
h2 span {
  color: var(--gold);
}

.hero p {
  max-width: 378px;
  margin: 0 0 26px;
  color: #122947;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  border-radius: 6px;
  padding: 0 21px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.btn.primary {
  color: #08213f;
  background: var(--gold);
  box-shadow: 0 6px 13px rgba(230, 151, 0, 0.24);
}

.btn.secondary {
  background: #fff;
  border: 1px solid #65758a;
  color: #092344;
  padding-inline: 24px;
}

.btn.dark {
  background: var(--navy);
  color: #fff;
  width: 146px;
  margin: 17px auto 19px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 383px;
  border-top: 1px solid rgba(7, 31, 61, 0.06);
}

.feature-row div {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding-top: 11px;
  min-width: 0;
  border-right: 1px solid rgba(7, 31, 61, 0.08);
}

.feature-row div:last-child {
  border-right: 0;
}

.feature-row strong {
  height: 18px;
  color: var(--navy);
  font-size: 15px;
}

.feature-row span {
  font-size: 10px;
  font-weight: 900;
}

.hero-media {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-media img {
  width: 428px;
  height: 379px;
  object-fit: cover;
}

.welcome {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.welcome-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  align-items: center;
  gap: 20px;
}

.welcome-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.welcome-brand img {
  width: 100px;
}

.welcome h2,
.courses h2,
.why h2,
.testimonials h2 {
  margin: 0;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.16;
  font-weight: 900;
}

.welcome-copy {
  border-left: 1px solid #ced6df;
  padding-left: 26px;
}

.welcome-copy p {
  margin: 0 0 13px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #1b2e47;
  font-weight: 600;
}

.welcome-copy a,
.course-card a {
  color: var(--gold);
  font-weight: 900;
  font-size: 12px;
}

.courses {
  padding: 18px 0 25px;
  background: linear-gradient(#fff, #fbfdff);
  text-align: center;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.eyebrow.left {
  text-align: left;
}

.course-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.course-card {
  min-height: 226px;
  padding: 14px 12px 13px;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(13, 39, 66, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.course-card img {
  width: 68px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 9px;
}

.course-card h3 {
  min-height: 35px;
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.12;
  font-weight: 900;
}

.course-card p {
  margin: 0 auto;
  color: #33475f;
  font-size: 9px;
  line-height: 1.45;
  font-weight: 600;
  max-width: 106px;
  flex: 1;
}

.stats {
  background: var(--navy);
  border-radius: 8px;
  min-height: 96px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  text-align: left;
  color: #fff;
  box-shadow: 0 12px 30px rgba(3, 27, 57, 0.18);
}

.stats div {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.stats div:last-child {
  border-right: 0;
}

.stats span {
  grid-row: span 2;
  width: 50px;
  height: 50px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 26px;
}

.stats strong {
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.stats p {
  margin: 3px 0 0;
  font-size: 12px;
  font-weight: 800;
}

.why {
  padding: 26px 0 18px;
  background: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: 285px 1fr;
  gap: 42px;
  align-items: center;
}

.why h2 {
  font-size: 26px;
  margin: 4px 0 17px;
}

.why ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
}

.why li {
  position: relative;
  padding-left: 22px;
}

.why li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
}

.video-card img {
  width: 473px;
  height: 249px;
  object-fit: cover;
  border-radius: 11px;
}

.testimonials {
  padding: 18px 0 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 19px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.testimonial-grid article {
  min-height: 139px;
  padding: 15px 18px;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  background: #fff;
}

.testimonial-grid b {
  display: block;
  height: 16px;
  color: var(--navy);
  font-size: 32px;
  line-height: 0.8;
}

.stars {
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 900;
}

.testimonial-grid p {
  min-height: 56px;
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.35;
  color: #253850;
  font-weight: 600;
}

.testimonial-grid div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-grid img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.testimonial-grid strong,
.testimonial-grid small {
  display: block;
  font-size: 11px;
}

.testimonial-grid small {
  color: #627086;
  font-weight: 600;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 17px;
}

.dots span,
.dots i {
  display: block;
  width: 8px;
  height: 6px;
  border-radius: 10px;
  background: #d9dee6;
}

.dots span {
  width: 15px;
  background: var(--gold);
}

.footer {
  background: var(--navy);
  color: #fff;
  padding-top: 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 1.1fr 1fr;
  gap: 45px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-logo {
  width: 165px;
  height: 165px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
}

.footer p,
.footer a {
  font-size: 13px;
  line-height: 1.55;
}

.footer p {
  margin: 12px 0;
  color: rgba(255, 255, 255, 0.9);
}

.footer h3 {
  margin: 2px 0 12px;
  font-size: 17px;
}

.footer-grid > div:nth-child(2) a {
  display: block;
  margin-bottom: 7px;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  font-size: 12px;
}

.socials a:nth-child(1) {
  background: #d8408d;
}

.socials a:nth-child(2) {
  background: #2467d2;
}

.socials a:nth-child(3) {
  background: #21b65d;
}

.socials a:nth-child(4) {
  background: #f02121;
}

.contact {
  padding-left: 3px;
}

.demo {
  min-height: 35px;
  width: 160px;
  padding: 0 12px;
}

.map {
  width: 203px;
  height: 126px;
  border-radius: 5px;
  object-fit: cover;
}

.copyright {
  text-align: center;
  padding: 12px 0 13px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
}

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

  .site-header,
  .nav {
    height: auto;
  }

  .nav {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    gap: 18px;
    margin-left: 0;
    padding-bottom: 2px;
  }

  .nav-links a {
    padding: 8px 0;
  }

  .hero {
    background: #fff;
  }

  .hero-grid,
  .welcome-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 34px;
    gap: 24px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-media {
    justify-content: center;
  }

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

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

  .stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 18px 28px;
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .welcome-copy {
    border-left: 0;
    padding-left: 0;
  }

  .video-card img,
  .map {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .feature-row {
    grid-template-columns: 1fr 1fr;
    flex-wrap: wrap;
  }

  .feature-row {
    display: grid;
  }

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

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.logo-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px rgba(4, 31, 65, 0.14);
}

.logo-mark::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 0, var(--gold) 0 2px, transparent 3px),
    radial-gradient(circle at 100% 50%, #14635e 0 2px, transparent 3px),
    radial-gradient(circle at 50% 100%, var(--gold) 0 2px, transparent 3px),
    radial-gradient(circle at 0 50%, #14635e 0 2px, transparent 3px);
  animation: orbit 8s linear infinite;
}

.logo-mark span {
  position: absolute;
  left: 13px;
  top: 10px;
  width: 12px;
  height: 16px;
  border: 3px solid var(--gold);
  border-radius: 10px 10px 8px 8px;
}

.logo-mark span::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -7px;
  height: 5px;
  border-radius: 2px;
  background: var(--gold);
}

.logo-text {
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.logo-text span {
  color: var(--gold);
}

.footer .logo-text {
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 0;
  border-radius: 6px;
  background: var(--navy);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links a,
.btn,
.phone,
.course-card,
.video-card,
.testimonial-grid article {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

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

.phone:hover,
.btn:hover {
  transform: translateY(-2px);
}

.ripple {
  position: relative;
  overflow: hidden;
}

.ripple .ink {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%) scale(1);
  animation: ripple 0.65s ease-out forwards;
  pointer-events: none;
}

.hero-copy {
  animation: slideUp 0.8s ease both;
}

.hero-media {
  position: relative;
  transform-style: preserve-3d;
  animation: fadeIn 0.9s ease 0.1s both;
}

.hero-media::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 102px;
  height: calc(100% - 8px);
  border-radius: 100% 0 0 100% / 50% 0 0 50%;
  background: var(--navy);
  z-index: 0;
}

.hero-media::after,
.video-card::after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: 24px;
  width: 88px;
  height: 88px;
  opacity: 0.9;
  background-image: radial-gradient(var(--gold) 1.7px, transparent 2px);
  background-size: 12px 12px;
  pointer-events: none;
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 428px;
  height: 379px;
  object-fit: cover;
  object-position: 58% center;
  border-radius: 0;
  clip-path: ellipse(74% 58% at 70% 52%);
  filter: saturate(1.04) contrast(1.02);
}

.concept-badge {
  position: absolute;
  left: -32px;
  bottom: 80px;
  z-index: 2;
  width: 116px;
  height: 116px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 20px 12px 12px;
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: 10px;
  line-height: 1.24;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(1, 21, 47, 0.35);
  animation: float 4s ease-in-out infinite;
}

.concept-badge span {
  position: absolute;
  top: 15px;
  width: 28px;
  height: 20px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.bulb-icon {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 24px, transparent 25px),
    radial-gradient(circle at center, rgba(249, 173, 11, 0.16), transparent 54px);
}

.bulb-icon::before {
  content: "";
  position: absolute;
  inset: 23px 31px 27px;
  border: 6px solid var(--navy);
  border-bottom-width: 12px;
  border-radius: 50% 50% 38% 38%;
  background: var(--gold);
}

.bulb-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 4%, var(--gold) 0 3px, transparent 4px),
    radial-gradient(circle at 95% 50%, #14635e 0 3px, transparent 4px),
    radial-gradient(circle at 50% 96%, var(--gold) 0 3px, transparent 4px),
    radial-gradient(circle at 5% 50%, #14635e 0 3px, transparent 4px);
  animation: orbit 9s linear infinite reverse;
}

.bulb-icon span {
  position: absolute;
  left: 46px;
  top: 41px;
  z-index: 2;
  width: 10px;
  height: 18px;
  border-radius: 8px;
  border: 2px solid #fff;
}

.course-card:hover {
  transform: translateY(-8px);
  border-color: rgba(249, 173, 11, 0.8);
  box-shadow: 0 16px 36px rgba(13, 39, 66, 0.12);
}

.course-card:hover .course-icon {
  transform: translateY(-3px) scale(1.06);
}

.course-icon {
  position: relative;
  width: 68px;
  height: 56px;
  margin-bottom: 9px;
  transition: transform 0.25s ease;
}

.course-icon.foundation {
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd78a, #fff);
}

.course-icon.foundation::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 11px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 20px 0 -7px var(--gold);
}

.course-icon.python::before,
.course-icon.python::after {
  content: "";
  position: absolute;
  width: 35px;
  height: 28px;
  border-radius: 9px;
}

.course-icon.python::before {
  left: 9px;
  top: 4px;
  background: #2c7ebc;
}

.course-icon.python::after {
  right: 9px;
  bottom: 3px;
  background: #ffd33d;
}

.course-icon.java::before {
  content: "{ }";
  position: absolute;
  inset: 3px;
  display: grid;
  place-items: center;
  color: #e3342f;
  font-size: 33px;
  font-weight: 900;
}

.course-icon.design::before,
.course-icon.web::before {
  content: "";
  position: absolute;
  inset: 6px 3px 14px;
  border-radius: 4px;
  background: var(--navy);
  box-shadow: inset 0 0 0 3px #173f75;
}

.course-icon.design::after,
.course-icon.web::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 8px;
  height: 6px;
  border-radius: 6px;
  background: var(--gold);
}

.course-icon.mobile::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 1px;
  width: 30px;
  height: 54px;
  border-radius: 7px;
  background: var(--navy);
  box-shadow: inset 0 -7px 0 #0d3c6b;
}

.course-icon.mobile::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 17px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 11px 0 0 #12a6c8, 5px 13px 0 #2ea55f;
}

.stats strong {
  min-width: 72px;
}

.video-card {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
  cursor: pointer;
  text-align: inherit;
  overflow: visible;
}

.video-card:hover {
  transform: translateY(-5px);
}

.video-card img {
  width: 473px;
  height: 249px;
  object-fit: cover;
  border-radius: 11px;
  box-shadow: 0 14px 30px rgba(10, 35, 69, 0.14);
  filter: saturate(1.04) contrast(1.02);
}

.play-button {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 2;
  width: 62px;
  height: 62px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 10px 24px rgba(6, 31, 65, 0.25);
}

.play-button::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 17px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 17px solid var(--navy);
}

.play-button::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(249, 173, 11, 0.5);
  animation: pulse 1.8s ease-out infinite;
}

.watch-label {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 2;
  transform: translateX(-50%);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.testimonial-grid article {
  opacity: 0.72;
}

.testimonial-grid article.active,
.testimonial-grid article:hover {
  opacity: 1;
  transform: translateY(-5px);
  border-color: rgba(249, 173, 11, 0.55);
  box-shadow: 0 16px 30px rgba(10, 35, 69, 0.08);
}

.dots button {
  display: block;
  width: 8px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #d9dee6;
  cursor: pointer;
}

.dots button.active {
  width: 15px;
  background: var(--gold);
}

.dots span,
.dots i {
  display: none;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1, 18, 39, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  position: relative;
  width: min(760px, 100%);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.modal.open .modal-panel {
  transform: scale(1);
}

.modal-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.modal-panel div {
  padding: 22px;
}

.modal-panel h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 24px;
}

.modal-panel p {
  margin: 0 0 15px;
  color: var(--muted);
  line-height: 1.55;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.footer-brand {
  margin-bottom: 8px;
}

.footer-brand .logo-mark {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.footer-brand .logo-text {
  font-size: 29px;
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}

@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 1;
  }
  to {
    opacity: 1;
  }
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(28);
  }
}

@keyframes pulse {
  to {
    opacity: 0;
    transform: scale(1.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 820px) {
  .nav {
    position: relative;
    padding-top: 12px;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 0;
    top: 12px;
    order: 2;
  }

  .phone {
    order: 3;
    width: 100%;
    margin-top: 10px;
  }

  .nav-links {
    display: none;
    order: 4;
    padding: 14px 0 4px;
  }

  .menu-open .nav-links {
    display: grid;
  }

  .hero-media::before,
  .concept-badge {
    display: none;
  }

  .hero-media img {
    clip-path: none;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 24px;
  }

  .phone {
    width: 100%;
  }

  .hero h1 {
    font-size: 37px;
  }

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

@media (max-width: 820px) {
  .nav {
    padding-right: 54px;
  }

  .menu-toggle {
    display: block !important;
    position: absolute;
    right: 0;
    top: 12px;
    z-index: 20;
  }
}

@media (min-width: 821px) {
  .menu-toggle {
    display: none !important;
  }
}
