:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --ink: #17202a;
  --muted: #66727f;
  --line: rgba(23, 32, 42, 0.12);
  --primary: #1f6f78;
  --primary-dark: #154d55;
  --accent: #d7a84d;
  --edumeta: #3867d6;
  --sky: #2aa7a5;
  --ai: #9b5de5;
  --shadow: 0 24px 60px rgba(23, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(31, 111, 120, 0.12), transparent 34rem),
    linear-gradient(180deg, var(--bg), #ffffff 42%, var(--bg));
}

body.theme-orbit {
  --bg: #f4f7fb;
  --primary: #3257a8;
  --primary-dark: #20386e;
  --accent: #31a7a1;
  --edumeta: #315bd8;
  --sky: #00a7c8;
  --ai: #7d54d9;
}

body.theme-academy {
  --bg: #f8f4ea;
  --primary: #596b52;
  --primary-dark: #33412f;
  --accent: #b78242;
  --edumeta: #5977a5;
  --sky: #468f89;
  --ai: #8a6691;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 1rem 0;
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  height: 44px;
  width: 176px;
  overflow: hidden;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.brand img {
  width: 100%;
  height: auto;
  max-height: 28px;
  object-fit: contain;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.top-nav a {
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.top-nav a:hover {
  color: var(--ink);
  background: rgba(23, 32, 42, 0.06);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(1160px, calc(100% - 36px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6.5rem) clamp(1rem, 3vw, 2rem) 4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background-image: linear-gradient(90deg, rgba(247, 245, 239, 0.94), rgba(247, 245, 239, 0.8) 48%, rgba(247, 245, 239, 0.64)), url("assets/it1.jpg");
  background-position: center;
  background-size: cover;
  box-shadow: 0 24px 70px rgba(23, 32, 42, 0.08);
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.9rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.25rem, 5.25vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 760px;
  margin: 2rem 0 0;
}

.hero-proof div {
  min-height: 88px;
  padding: 0.82rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
}

.hero-proof dt {
  color: var(--ink);
  font-weight: 900;
}

.hero-proof dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--primary);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1px dashed rgba(23, 32, 42, 0.16);
  border-radius: 999px;
  pointer-events: none;
}

.orbit-card {
  position: relative;
  min-height: 176px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.orbit-card strong,
.orbit-card span:last-child {
  display: block;
}

.orbit-card strong {
  margin: 1rem 0 0.35rem;
  font-size: 1.08rem;
}

.orbit-card span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
}

.iteacher-mark {
  background: #111;
}

.logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

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

.logo-frame-wide {
  width: 126px;
}

.logo-frame-wide img {
  padding: 0.35rem;
}

.edumeta-card .logo-mark,
.edumeta-service .logo-mark {
  background: var(--edumeta);
}

.sky-card .logo-mark,
.sky-service .logo-mark {
  background: var(--sky);
}

.ai-card .logo-mark,
.ai-service .logo-mark {
  background: var(--ai);
}

.section-band,
.services,
.faq,
.contact,
.site-footer {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.section-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(3rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

.intro .section-heading h2 {
  font-size: clamp(3.5rem, 6.8vw, 6.2rem);
  line-height: 0.92;
}

.intro-media-copy,
.why .section-heading + .pillars {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.65;
}

.intro-media-copy {
  display: grid;
  gap: 1.2rem;
  align-self: start;
}

.intro-media-copy img {
  width: 100%;
  height: clamp(240px, 28vw, 330px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(23, 32, 42, 0.08);
}

.intro-media-copy p {
  margin-bottom: 0;
}

.section-heading.centered {
  max-width: 980px;
  margin: 0 auto 2rem;
  text-align: center;
}

.services .section-heading h2 {
  white-space: nowrap;
}

.section-heading.centered > p:last-child {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.55;
}

.services {
  padding: clamp(3rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

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

.audience-list p {
  min-height: 96px;
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

.service-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-grid::before {
  content: "";
  position: absolute;
  top: 74px;
  left: 10%;
  right: 10%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #111, var(--edumeta), var(--sky), var(--ai));
  opacity: 0.36;
}

.service-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-top: 5px solid var(--primary);
  border-radius: 12px;
  background: #fff;
}

.service-card p {
  color: var(--muted);
  line-height: 1.55;
}

.service-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.6rem;
  font-weight: 900;
}

.service-logo-link {
  width: fit-content;
  border-radius: 8px;
}

.service-logo-link:hover {
  opacity: 0.82;
}

.service-logo-link:focus-visible {
  outline: 3px solid rgba(31, 111, 120, 0.22);
  outline-offset: 4px;
}

.service-logo img {
  width: 100%;
  height: 68px;
  object-fit: contain;
  object-position: left center;
}

.iteacher-service .service-logo img {
  max-width: 178px;
}

.edumeta-service .service-logo img {
  height: 74px;
  object-position: left center;
}

.sky-service .service-logo img {
  width: 100%;
  height: 74px;
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
}

.ai-service .service-logo img {
  height: 74px;
}

.best-for {
  display: block;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--primary-dark);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.edumeta-service {
  border-top-color: var(--edumeta);
}

.sky-service {
  border-top-color: var(--sky);
}

.ai-service {
  border-top-color: var(--ai);
}

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

.pillars div {
  padding: 1.15rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.58);
}

.pillars span {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--accent);
  font-weight: 900;
}

.pillars p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.support-list {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.support-heading-image {
  width: 100%;
  margin-top: 1.4rem;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(23, 32, 42, 0.08);
}

.support-list ul {
  display: grid;
  gap: 0.65rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.support-list li {
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--primary);
  background: rgba(255, 255, 255, 0.66);
}

.faq {
  padding: clamp(3rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

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

.faq-grid article {
  min-height: 190px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.faq-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(3rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--line);
}

.contact-copy p:last-child {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.55;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(23, 32, 42, 0.08);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.9rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(31, 111, 120, 0.18);
  border-color: var(--primary);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 960px) {
  .hero,
  .section-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .services .section-heading h2 {
    white-space: normal;
  }
}

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

  .top-nav {
    width: 100%;
    justify-content: space-between;
  }

  .top-nav a {
    flex: 1;
    padding-inline: 0.45rem;
    text-align: center;
  }

  .hero-panel,
  .service-grid,
  .hero-proof,
  .audience-list,
  .faq-grid,
  .pillars {
    grid-template-columns: 1fr;
  }

  .service-grid::before {
    top: 2rem;
    bottom: 2rem;
    left: 2rem;
    right: auto;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, #111, var(--edumeta), var(--sky), var(--ai));
  }

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

  .site-footer {
    flex-direction: column;
  }
}
