﻿:root {
  --ink: #143044;
  --muted: #627585;
  --paper: #fbfdff;
  --surface: #ffffff;
  --surface-soft: #edf7fb;
  --baby-blue: #edf7fb;
  --baby-blue-strong: #b9d3df;
  --sky: #a9d7ef;
  --navy: #223f96;
  --blue: #285bb7;
  --teal: #2f8f5d;
  --green: #2f8f5d;
  --mint: #dff7ef;
  --cream: #fffaf0;
  --gold: var(--teal);
  --gold-soft: #fff3c8;
  --coral: #d46f5a;
  --orange: #f07b13;
  --line: #d3e4ed;
  --line-strong: #b9d3df;
  --shadow-soft: 0 18px 46px rgba(34, 63, 150, 0.14);
  --shadow-card: 0 14px 34px rgba(20, 48, 68, 0.09);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7fcff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

button {
  font: inherit;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid rgba(205, 231, 244, 0.92);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.18s ease, background 0.18s ease;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  height: 3px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--teal), var(--teal), var(--navy));
  box-shadow: 0 0 18px rgba(244, 201, 93, 0.45);
}

.site-header.is-scrolled {
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(18, 82, 126, 0.1);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  
  box-shadow: 0 10px 24px rgba(6, 59, 131, 0.16);
  flex: 0 0 auto;
}

.brand-title {
  display: block;
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.1;
}

.brand-subtitle {
  display: block;
  margin: 3px 0 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
}

.brand-slogan {
  display: block;
  margin: 2px 0 0;
  color: var(--navy);
  font-family: 'Brush Script MT', 'Lucida Handwriting', 'Comic Sans MS', cursive;
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #486979;
  font-size: 15px;
  font-weight: 750;
}

.nav-links a {
  border-bottom: 2px solid transparent;
  padding: 8px 0;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.nav-links a:hover {
  color: var(--navy);
  border-color: var(--sky);
}

.nav-links a.is-active {
  color: var(--navy);
  border-color: var(--sky);
}

.nav-links .button.is-active {
  color: #ffffff;
  border-color: transparent;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(18, 82, 126, 0.08);
}

.menu-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

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

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 850;
  line-height: 1.1;
  box-shadow: 0 14px 28px rgba(6, 59, 131, 0.2);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  background: var(--blue);
  box-shadow: 0 18px 34px rgba(6, 59, 131, 0.24);
  transform: translateY(-1px);
}

.button.secondary {
  background: #ffffff;
  color: var(--navy);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--surface-soft);
  box-shadow: 0 12px 24px rgba(91, 184, 240, 0.14);
}

.hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(34, 63, 150, 0.08), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 46%, #edf7fb 100%);
  border-bottom: 1px solid rgba(47, 143, 93, 0.18);
  box-shadow: inset 0 -150px 0 #edf7fb;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(34, 63, 150, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(47, 143, 93, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 76%);
  pointer-events: none;
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0 86px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.72fr);
  gap: 30px;
  align-items: center;
}

.hero-main {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border-left: 5px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: var(--surface);
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
  box-shadow: var(--shadow-card);
}

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

h1 {
  max-width: 710px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 56px;
  line-height: 1.03;
}

h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.12;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: #36586b;
  font-size: 20px;
  line-height: 1.55;
}

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

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  max-width: 780px;
  gap: 12px;
}

.fact {
  min-height: 104px;
  padding: 18px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid rgba(205, 231, 244, 0.92);
  box-shadow: var(--shadow-card);
}

.fact strong {
  display: block;
  color: var(--teal);
  font-size: 27px;
  line-height: 1;
}

.fact span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.25;
}

.hero-panel {
  padding: 26px;
  border: 1px solid rgba(47, 143, 93, 0.52);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 22px 54px rgba(34, 63, 150, 0.15);
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
  will-change: transform;
}

.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.panel-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
}

.hero-panel h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.12;
}

.hero-panel p {
  color: var(--muted);
  font-size: 17px;
}

.hero-service-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.hero-service-list div {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.hero-service-list strong {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
  font-size: 14px;
}

.hero-service-list span {
  color: var(--ink);
  font-weight: 850;
}

.hero-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero-panel-footer span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.hero-panel-footer a {
  color: var(--navy);
  font-size: 19px;
  font-weight: 900;
}

main section {
  padding: 78px 0;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 34px;
}

.section-head p,
.section-note {
  color: var(--muted);
  font-size: 18px;
}

.slideshow-wrapper {
  position: relative;
}

.slideshow-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.slide-btn {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--navy);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-card);
}

.slide-btn:hover {
  background: var(--baby-blue);
  border-color: var(--sky);
}

.offer-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 16px;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.offer-grid::-webkit-scrollbar {
  display: none;
}

.offer-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-height: 230px;
  padding: 24px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 5px solid var(--baby-blue-strong);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.offer-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}


.offer-card h3 {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.18;
}

.offer-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.band {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method {
  max-width: 900px;
  margin: 0 auto;
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(18, 82, 126, 0.06);
}

.step:first-child {
  border-top: 1px solid var(--line);
}

.step-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  font-weight: 900;
}

.step h3 {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 21px;
}

.step p {
  margin-bottom: 0;
  color: var(--muted);
}

.focus-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.focus-panel {
  min-height: 360px;
  padding: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.focus-panel .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border-left: 5px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: var(--surface);
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
  box-shadow: var(--shadow-card);
}

.contact-intro .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border-left: 5px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: var(--surface);
  color: var(--green);
  font-size: 14px;
  font-weight: 850;
  box-shadow: var(--shadow-card);
}

.focus-panel h2 {
  max-width: 560px;
  color: #ffffff;
}

.focus-panel p {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
}

.focus-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.focus-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 0;
  color: #ffffff;
  font-weight: 850;
}

.check {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #1c2b32;
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 900;
}

.side-list {
  display: grid;
  gap: 16px;
}

.mini-card {
  min-height: 109px;
  padding: 22px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(18, 82, 126, 0.08);
}

.mini-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 18px;
}

.mini-card span {
  color: var(--muted);
}

.contact-location {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: 22px;
  align-items: stretch;
}

.contact-intro,
.location-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.contact-intro {
  padding: 34px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.contact-card {
  min-height: 166px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 12px 28px rgba(18, 82, 126, 0.1);
  transform: translateY(-2px);
}

.contact-card.primary {
  background: var(--navy);
  color: #ffffff;
}

.contact-card strong {
  font-size: 22px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.contact-card span:last-child {
  color: var(--muted);
  font-weight: 750;
}

.contact-card.primary span:last-child,
.contact-card.primary .contact-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.contact-kicker {
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.location-panel {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--baby-blue);
}

.location-badge {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.location-panel h3 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.16;
}

.location-list {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.location-list div {
  padding-top: 16px;
  border-top: 1px solid rgba(6, 59, 131, 0.16);
}

.location-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.location-list strong,
.location-list a {
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.location-list a:hover {
  color: var(--blue);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.registration-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.required-mark,
.required-note span {
  color: var(--coral);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 13px;
  background: #ffffff;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(91, 184, 240, 0.25);
  border-color: var(--sky);
}

.required-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.full {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.form-message {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--navy);
  font-weight: 750;
}

.form-message.is-visible {
  display: block;
}

.site-footer {
  padding: 30px 0;
  background: #102f46;
  color: rgba(255, 255, 255, 0.84);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--baby-blue-strong);
}

@media (max-width: 980px) {
  .hero {
    min-height: 520px;
  }

  .hero-inner {
    padding: 48px 0 54px;
  }

  .hero-facts,
  .hero-layout,
  .section-head,
  .method,
  .focus-grid,
  .contact-location {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 720px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .js-enabled .menu-toggle {
    display: flex;
  }

  .nav-links {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    overflow: visible;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
  }

  .js-enabled .nav-links {
    display: none;
  }

  .js-enabled .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
    border-radius: 6px;
  }

  .nav-links a:hover {
    background: var(--surface-soft);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 38px 0 42px;
  }

  h1 {
    font-size: 30px;
    line-height: 1.08;
  }

  .hero-panel {
    padding: 24px;
  }

  .hero-panel h2 {
    font-size: 24px;
  }

  .hero-panel-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .wrap,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-title {
    font-size: 16px;
  }

  .brand-subtitle {
    font-size: 12px;
  }

  .nav-links {
    font-size: 14px;
  }

  .nav-links .button {
    min-width: 0;
  }

  .hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(34, 63, 150, 0.08), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 46%, #edf7fb 100%);
  border-bottom: 1px solid rgba(47, 143, 93, 0.18);
  box-shadow: inset 0 -150px 0 #edf7fb;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(34, 63, 150, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(47, 143, 93, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 76%);
  pointer-events: none;
}

  .hero-inner {
    padding: 44px 0 48px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .hero-panel {
    padding: 24px;
  }

  .hero-panel h2 {
    font-size: 25px;
  }

  .hero-panel-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-copy,
  .section-head p,
  .section-note,
  .focus-panel p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  main section {
    padding: 54px 0;
  }

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

  .offer-card {
    min-height: auto;
  }

  .focus-panel,
  .registration-form,
  .contact-intro,
  .location-panel {
    padding: 24px;
  }

  .step {
    grid-template-columns: 40px 1fr;
  }

  .step-number {
    width: 40px;
    height: 40px;
  }

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

.js-enabled .hero-main,
.js-enabled .hero-panel {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.72s var(--ease-out), translate 0.72s var(--ease-out);
}

.js-enabled.is-ready .hero-main,
.js-enabled.is-ready .hero-panel {
  opacity: 1;
  translate: 0 0;
}

.js-enabled.is-ready .hero-panel {
  transition-delay: 0.12s;
}

.hero-panel {
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out);
  will-change: transform;
}




/* Missing transitions */
.brand-logo { transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.brand-title { transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease; }
.nav-links a { transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease; }
.button { transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease; }
.button::after { transition: transform 0.55s var(--ease-out); }
.fact { transition: transform 0.28s var(--ease-out), border-color 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out); }
.fact::before { transition: opacity 0.28s ease; }

.hero-service-list div { transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease; }
.slide-btn { transition: all 0.2s ease; }
.offer-card { transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease, border-color 0.22s ease; }
.offer-card::after { transition: opacity 0.22s ease; }
.offer-mark { transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s ease; }
.semester-panel, .price-panel, .advice-panel, .location-panel, .contact-intro, .focus-panel, .registration-form { transition: transform 0.28s var(--ease-out), box-shadow 0.28s ease, border-color 0.28s ease; }
.contact-card { transition: transform 0.22s var(--ease-out), border-color 0.18s ease, box-shadow 0.18s ease; }

/* Missing hover effects */
.brand:hover .brand-logo { transform: rotate(-4deg) scale(1.04); box-shadow: 0 14px 30px rgba(34, 63, 150, 0.22); }
.nav-links a:hover, .nav-links a.is-active { color: var(--navy); border-color: var(--teal); background: transparent; }
.button:hover::after { transform: translateX(120%); }
.button:hover { background: var(--blue); box-shadow: 0 18px 34px rgba(29, 67, 149, 0.25); transform: translateY(-1px); }
.button.secondary:hover { background: var(--surface-soft); box-shadow: 0 12px 24px rgba(140, 196, 228, 0.18); }
.fact:hover { border-color: rgba(47, 143, 93, 0.65); box-shadow: 0 18px 38px rgba(34, 63, 150, 0.14); transform: translateY(-3px); }
.fact:hover::before { opacity: 1; }
.hero-panel:hover 
.hero-service-list div:hover { border-color: rgba(47, 143, 93, 0.45); background: #ffffff; transform: translateX(4px); }
.slide-btn:hover { background: #edf7fb; border-color: var(--navy); }
.offer-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-soft); transform: perspective(900px) translateY(-4px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); }
.offer-card:hover::after { opacity: 1; }
.table-wrap:hover { border-color: rgba(34, 63, 150, 0.26); box-shadow: 0 18px 42px rgba(34, 63, 150, 0.13); transform: translateY(-2px); }
.learning-table tbody tr:hover td, .fee-table tr:hover th, .fee-table tr:hover td { background: rgba(47, 143, 93, 0.12); }
.semester-panel:hover, .price-panel:hover, .advice-panel:hover, .location-panel:hover, .contact-intro:hover, .focus-panel:hover, .registration-form:hover { border-color: rgba(47, 143, 93, 0.34); box-shadow: 0 18px 42px rgba(34, 63, 150, 0.13); transform: translateY(-2px); }
.contact-card:hover { border-color: var(--line-strong); box-shadow: 0 12px 28px rgba(20, 48, 68, 0.1); transform: translateY(-2px); }
.footer-links a:hover { color: var(--teal); }
@media (max-width: 980px) { .nav-links a:hover, .nav-links a.is-active { background: var(--surface-soft); } }


/* Base element transitions and pseudo-elements from Radi_Arabisch */
.brand { transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.brand-logo { transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.brand-title { transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease; }
.nav-links a { transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease; }
.button { transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease; overflow: hidden; position: relative; }
.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.32) 45%, transparent 68%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease-out);
  pointer-events: none;
}
.fact { transition: transform 0.28s var(--ease-out), border-color 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out); overflow: hidden; position: relative; }
.fact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(47, 143, 93, 0.14), transparent 46%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}
.hero-service-list div { transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease; }
.slide-btn { transition: all 0.2s ease; }
.offer-card { transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease, border-color 0.22s ease; overflow: hidden; position: relative; }
.offer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(47, 143, 93, 0.22), transparent 34%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}
.table-wrap { transition: transform 0.28s var(--ease-out), box-shadow 0.28s ease, border-color 0.28s ease; }
.semester-panel, .price-panel, .advice-panel, .location-panel, .contact-intro, .focus-panel, .registration-form { transition: transform 0.28s var(--ease-out), box-shadow 0.28s ease, border-color 0.28s ease; }
.contact-card { transition: transform 0.22s var(--ease-out), border-color 0.18s ease, box-shadow 0.18s ease; }
.footer-links a { transition: color 0.18s ease; }

/* Exact Hover Effects */
.brand:hover .brand-logo { transform: rotate(-4deg) scale(1.04); box-shadow: 0 14px 30px rgba(34, 63, 150, 0.22); }
.nav-links a:hover, .nav-links a.is-active { color: var(--navy); border-color: var(--teal); background: transparent; }
.button:hover::after { transform: translateX(120%); }
.button:hover { background: var(--blue); box-shadow: 0 18px 34px rgba(29, 67, 149, 0.25); transform: translateY(-1px); }
.button.secondary:hover { background: var(--surface-soft); box-shadow: 0 12px 24px rgba(140, 196, 228, 0.18); }
.fact:hover { border-color: rgba(47, 143, 93, 0.65); box-shadow: 0 18px 38px rgba(34, 63, 150, 0.14); transform: translateY(-3px); }
.fact:hover::before { opacity: 1; }
.hero-panel:hover 
.hero-service-list div:hover { border-color: rgba(47, 143, 93, 0.45); background: #ffffff; transform: translateX(4px); }
.slide-btn:hover { background: #edf7fb; border-color: var(--navy); }
.offer-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-soft); transform: perspective(900px) translateY(-4px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); }
.offer-card:hover::after { opacity: 1; }
.table-wrap:hover { border-color: rgba(34, 63, 150, 0.26); box-shadow: 0 18px 42px rgba(34, 63, 150, 0.13); transform: translateY(-2px); }
.learning-table tbody tr:hover td, .fee-table tr:hover th, .fee-table tr:hover td { background: rgba(47, 143, 93, 0.12); }
.semester-panel:hover, .price-panel:hover, .advice-panel:hover, .location-panel:hover, .contact-intro:hover, .focus-panel:hover, .registration-form:hover { border-color: rgba(47, 143, 93, 0.34); box-shadow: 0 18px 42px rgba(34, 63, 150, 0.13); transform: translateY(-2px); }
.contact-card:hover { border-color: var(--line-strong); box-shadow: 0 12px 28px rgba(20, 48, 68, 0.1); transform: translateY(-2px); }
.footer-links a:hover { color: var(--teal); }
@media (max-width: 980px) { .nav-links a:hover, .nav-links a.is-active { background: var(--surface-soft); } }


/* Scroll Reveal Effects */
.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1;
    transform: none;
  }
}

.menu-toggle { transition: transform 0.18s ease, opacity 0.18s ease; }
.site-header { transition: box-shadow 0.18s ease, background 0.18s ease; }





/* Global Tabs */
.global-tabs {
  display: flex;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1000;
}

.global-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  gap: 12px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
  border-right: 1px solid var(--line);
}

.global-tab:last-child {
  border-right: none;
}

.global-tab:hover {
  background: var(--surface-soft);
}

.global-tab.is-active {
  background: var(--surface-soft);
  border-color: var(--teal);
}

.global-tab img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.global-tab-content {
  display: flex;
  flex-direction: column;
}

.global-tab-content strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
}

.global-tab-content .sub {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 2px;
}

.global-tab-content .slogan {
  color: var(--blue);
  font-size: 11px;
  font-style: italic;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .global-tab-content { display: none; }
  .global-tabs { padding: 4px 0; }
}
.global-tab.almultaqa .sub { color: var(--teal); }
.global-tab.lnz .sub { color: var(--teal); }
.global-tab.lnz .slogan { color: var(--navy); }

/* Brand Group Styles */
.brand-group {
  display: flex;
  gap: 24px;
  align-items: center;
}
.brand-divider {
  width: 1px;
  height: 36px;
  background: var(--line);
}
@media (max-width: 980px) {
  .brand-group {
    gap: 12px;
  }
  .brand-group .brand-subtitle, 
  .brand-group .brand-slogan, 
  .brand-divider {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .brand-group .brand-title {
    display: none !important;
  }
}

/* Active Brand Indicator */
.brand-group .active-brand {
  position: relative;
}
.brand-group .active-brand::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--teal);
  border-radius: 2px;
}

.brand.is-active-brand {
  border-bottom: 3px solid var(--teal);
  padding-bottom: 2px;
}



.brand-logo {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Hero Logo positioning */
.hero-panel {
  position: relative;
}

@media (max-width: 600px) {
  
}



/* Hero Logo positioning Update */
.hero-panel {
  position: relative;
}
.hero-logo {
  position: static !important;
  float: right;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(34, 63, 150, 0.12);
  background: #ffffff;
  margin-left: 20px;
  margin-bottom: 12px;
}
@media (max-width: 600px) {
  .hero-logo {
    width: 56px;
    height: 56px;
    margin-left: 12px;
    margin-bottom: 8px;
  }
}
