:root {
  --orange: #a84508;
  --orange-bright: #ffbd67;
  --orange-hot: #dc5f0c;
  --orange-dark: #642503;
  --orange-deep: #341304;
  --gold: #ffd797;
  --charcoal: #130a05;
  --charcoal-soft: #261006;
  --ink: #20130a;
  --muted: #6b5140;
  --line: rgba(255, 255, 255, 0.14);
  --cream: #fff7ec;
  --white: #ffffff;
  --shadow: 0 22px 62px rgba(25, 14, 4, 0.18);
  --shadow-luxe: 0 28px 70px rgba(100, 48, 5, 0.24);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Poppins", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 196, 112, 0.28), transparent 32%),
    radial-gradient(circle at 88% 18%, rgba(255, 137, 31, 0.2), transparent 30%),
    linear-gradient(180deg, #9a3c05 0%, #783004 42%, #4a1b03 100%);
  background-color: #8e3704;
  color: var(--white);
  font-size: 14px;
  line-height: 1.54;
  overflow-x: hidden;
}

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

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

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

.section > .container,
.hero-content,
.page-hero > .container,
.site-footer > .container {
  position: relative;
  z-index: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0 10px;
  background: linear-gradient(180deg, rgba(52, 19, 4, 0.74), rgba(52, 19, 4, 0));
  pointer-events: none;
}

.navbar {
  position: relative;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 12px 9px 16px;
  border: 1px solid rgba(255, 218, 165, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.045)),
    linear-gradient(120deg, rgba(19, 9, 4, 0.93), rgba(98, 38, 5, 0.9) 58%, rgba(45, 17, 3, 0.94));
  box-shadow:
    0 24px 58px rgba(22, 10, 3, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 174, 70, 0.13);
  backdrop-filter: blur(22px) saturate(1.18);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: "Playfair Display", "Montserrat", serif;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 180ms ease, filter 180ms ease;
}

.brand:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 8px 16px rgba(255, 184, 91, 0.18));
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
  padding: 5px;
  box-shadow:
    0 10px 28px rgba(255, 174, 70, 0.2),
    inset 0 0 0 1px rgba(255, 195, 112, 0.28);
}

.brand span {
  font-size: 0.92rem;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Inter", "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: 9px 12px;
  border-radius: 999px;
  transition: color 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(135deg, rgba(255, 174, 70, 0.22), rgba(116, 53, 5, 0.2));
  transition: opacity 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 208, 138, 0.16),
    0 10px 22px rgba(0, 0, 0, 0.12);
}

.nav-links a:hover::before,
.nav-links a.active::before {
  opacity: 1;
}

.nav-links .nav-cta {
  color: var(--white);
  margin-left: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 38%),
    linear-gradient(135deg, #ffe2ae 0%, var(--orange-bright) 24%, var(--orange-hot) 58%, var(--orange-dark) 100%);
  box-shadow:
    0 13px 28px rgba(198, 106, 22, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  text-shadow: 0 1px 1px rgba(50, 18, 3, 0.28);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta.active {
  box-shadow:
    0 17px 34px rgba(255, 154, 55, 0.38),
    0 0 24px rgba(255, 189, 103, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 208, 138, 0.22);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  color: var(--white);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  background: linear-gradient(145deg, rgba(255, 205, 137, 0.2), rgba(255, 255, 255, 0.055));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 99px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.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);
}

.hero {
  position: relative;
  min-height: calc(100vh - 92px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.05);
  filter: saturate(1.04) contrast(1.04);
  transition: opacity 1400ms ease, transform 6200ms ease;
  z-index: -3;
}

.hero-slide:first-child {
  background-position: center 42%;
}

.hero-slide:nth-child(2) {
  background-position: center 38%;
}

.hero-slide.active {
  opacity: 0.68;
  transform: scale(1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(108deg, rgba(48, 17, 3, 0.94) 0%, rgba(138, 52, 4, 0.8) 52%, rgba(231, 94, 12, 0.5) 100%),
    linear-gradient(0deg, rgba(136, 51, 4, 0.58), rgba(44, 16, 4, 0.18));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 40%;
  background: linear-gradient(0deg, rgba(123, 45, 4, 0.96), transparent);
}

.hero-content {
  max-width: 735px;
  color: var(--white);
  padding: 70px 0;
}

.hero-content.visible .eyebrow,
.hero-content.visible h1,
.hero-content.visible .lead,
.hero-content.visible .button-row {
  animation: floatIn 760ms ease both;
}

.hero-content.visible h1 {
  animation-delay: 90ms;
}

.hero-content.visible .lead {
  animation-delay: 180ms;
}

.hero-content.visible .button-row {
  animation-delay: 270ms;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: "Inter", "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: 1.25px;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-bright), var(--gold));
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: "Playfair Display", "Montserrat", serif;
  font-weight: 800;
}

h1 {
  margin-top: 14px;
  font-size: clamp(2.45rem, 6.2vw, 5.15rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.65rem);
}

h3 {
  font-family: "Playfair Display", "Montserrat", serif;
  font-size: 1rem;
  font-weight: 800;
}

p {
  margin-top: 14px;
}

.lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.96rem, 1.5vw, 1.08rem);
  max-width: 670px;
}

.hero .lead {
  margin: 20px 0 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font-family: "Inter", "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transition: transform 460ms ease;
}

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

.btn:hover::after {
  transform: translateX(120%);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-bright), var(--orange-hot) 48%, var(--orange-dark));
  box-shadow: 0 15px 34px rgba(198, 106, 22, 0.32);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.section {
  position: relative;
  padding: 78px 0;
  overflow: hidden;
}

.section-dark {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 190, 104, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(120, 48, 4, 0.94), rgba(78, 29, 3, 0.94)),
    var(--charcoal);
  color: var(--white);
}

.section-light {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 199, 126, 0.17), transparent 30%),
    linear-gradient(180deg, rgba(169, 68, 8, 0.93), rgba(119, 45, 3, 0.94));
  color: var(--white);
}

.section-white {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 196, 112, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(142, 55, 4, 0.92), rgba(100, 37, 3, 0.94));
  color: var(--white);
}

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

.section-head p {
  margin: 0;
  color: rgba(255, 246, 231, 0.78);
}

.section-dark .section-head p,
.section-dark .muted,
.section-light .muted,
.section-white .muted {
  color: rgba(255, 255, 255, 0.68);
}

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

.white-card .muted,
.offer-card .muted,
.contact-card .muted,
.form-card .muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

.glass-card,
.white-card,
.offer-card,
.contact-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.glass-card {
  padding: 24px;
  color: var(--white);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.white-card,
.contact-card {
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.97), rgba(255, 232, 205, 0.92));
  box-shadow: 0 16px 44px rgba(23, 18, 12, 0.16);
  border: 1px solid rgba(255, 199, 126, 0.24);
  color: var(--ink);
}

.glass-card:hover,
.white-card:hover,
.offer-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-luxe);
}

.icon-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-bright), var(--orange-dark));
  box-shadow: 0 12px 26px rgba(198, 106, 22, 0.3);
  font-weight: 900;
  margin-bottom: 16px;
}

.intro-layout,
.about-split,
.enroll-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 40px;
  align-items: center;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 11px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--orange-bright);
  box-shadow: 0 0 0 5px rgba(255, 178, 87, 0.16);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat {
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(198, 106, 22, 0.2), rgba(255, 255, 255, 0.075));
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.stat strong {
  display: block;
  font-size: 1.85rem;
  line-height: 1;
  color: #ffd3a1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.offer-card {
  background:
    linear-gradient(145deg, rgba(255, 248, 237, 0.97), rgba(255, 221, 181, 0.93));
  color: var(--ink);
  border: 1px solid rgba(255, 208, 138, 0.28);
  box-shadow: 0 20px 52px rgba(31, 13, 4, 0.28);
}

.offer-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
  transition: transform 420ms ease, filter 220ms ease;
}

.offer-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.12) contrast(1.06);
}

.offer-body {
  padding: 22px;
}

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

.mini-benefits {
  list-style: none;
  padding: 0;
  margin: 17px 0 20px;
  display: grid;
  gap: 8px;
  color: #4e4944;
  font-size: 0.88rem;
}

.mini-benefits li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.page-hero {
  padding: 94px 0 76px;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(57, 20, 3, 0.9), rgba(156, 59, 5, 0.78)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=78") center 42% / cover;
}

.page-hero p {
  max-width: 720px;
}

.about-panel {
  padding: 30px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(198, 106, 22, 0.2), rgba(255, 255, 255, 0.07)),
    var(--charcoal-soft);
  border: 1px solid rgba(255, 208, 138, 0.16);
  color: var(--white);
  box-shadow: var(--shadow);
}

.approach-row {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(25, 25, 25, 0.1);
}

.approach-row:last-child {
  border-bottom: 0;
}

.form-card {
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 246, 235, 0.92));
  border-radius: 24px;
  box-shadow: var(--shadow-luxe);
  border: 1px solid rgba(198, 106, 22, 0.14);
  color: var(--ink);
}

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

.field {
  display: grid;
  gap: 7px;
}

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

label {
  font-family: "Inter", "Montserrat", sans-serif;
  font-weight: 750;
  color: #2c2824;
  font-size: 0.84rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(25, 25, 25, 0.13);
  border-radius: 13px;
  padding: 12px 13px;
  font: inherit;
  font-size: 0.92rem;
  outline: none;
  background: #fffaf4;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(198, 106, 22, 0.14);
  background: var(--white);
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 8px;
}

.contact-card a {
  color: var(--orange-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-value {
  display: inline-block;
  margin: 0;
  color: var(--orange-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.cta-band {
  position: relative;
  padding: 48px;
  border-radius: 28px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(12, 10, 8, 0.92), rgba(128, 58, 9, 0.78)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=78") center/cover;
  box-shadow: var(--shadow-luxe);
}

.site-footer {
  padding: 52px 0 22px;
  color: rgba(255, 246, 231, 0.78);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 184, 91, 0.13), transparent 28%),
    linear-gradient(180deg, #5b2103, #321204);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.75fr 0.75fr;
  gap: 30px;
}

.footer-grid h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover,
.footer-contact-card:hover {
  color: #ffd2a0;
}

.footer-contact-grid {
  display: grid;
  gap: 8px;
}

.footer-contact-card {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255, 246, 231, 0.84);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 208, 138, 0.12);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.footer-contact-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.footer-contact-card strong {
  color: var(--white);
  font-size: 0.78rem;
}

.footer-contact-card span {
  overflow-wrap: anywhere;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
}

.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: flex;
  gap: 12px;
  align-items: center;
}

.float-btn {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  font-family: "Inter", "Montserrat", sans-serif;
  font-weight: 900;
  cursor: pointer;
  animation: gentleBounce 3s ease-in-out infinite;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.float-btn svg {
  width: 30px;
  height: 30px;
  display: block;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.18));
}

.float-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
}

.whatsapp-float {
  background: linear-gradient(135deg, #36df72, #128c3d);
  font-size: 1.25rem;
}

.chatbot-toggle {
  background: linear-gradient(135deg, #ffe0a8, var(--orange-hot) 46%, var(--orange-dark));
  font-size: 1.18rem;
}

.chatbot-panel {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: 1199;
  width: min(360px, calc(100vw - 34px));
  overflow: hidden;
  border-radius: 20px;
  background: rgba(18, 13, 9, 0.95);
  color: var(--white);
  border: 1px solid rgba(255, 208, 138, 0.18);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.chatbot-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chatbot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(255, 174, 70, 0.22), rgba(116, 53, 5, 0.28));
}

.chatbot-head strong {
  display: block;
  font-family: "Inter", "Montserrat", sans-serif;
  font-size: 0.94rem;
}

.chatbot-head span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.chatbot-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.chatbot-messages {
  height: 260px;
  display: grid;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
}

.chat-message {
  width: fit-content;
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.86rem;
}

.chat-message.bot {
  background: rgba(255, 255, 255, 0.1);
  border-top-left-radius: 4px;
}

.chat-message.user {
  justify-self: end;
  background: linear-gradient(135deg, var(--orange-bright), var(--orange-dark));
  border-top-right-radius: 4px;
}

.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-form input {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.chatbot-form input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.chatbot-form button {
  min-width: 74px;
}

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

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

.education-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.edu-float {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  color: rgba(255, 248, 236, 0.5);
  opacity: var(--opacity);
  filter: drop-shadow(0 16px 22px rgba(68, 24, 3, 0.18));
  animation:
    eduDrift var(--duration) ease-in-out infinite alternate,
    eduSpin calc(var(--duration) * 1.8) linear infinite;
  animation-delay: var(--delay);
}

.edu-float svg {
  width: 100%;
  height: 100%;
  display: block;
}

.edu-float:nth-child(2n) {
  color: rgba(255, 220, 160, 0.44);
  animation-direction: alternate-reverse, normal;
}

.edu-float:nth-child(3n) {
  color: rgba(50, 20, 4, 0.24);
  mix-blend-mode: multiply;
}

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

@keyframes gentleBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes eduDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(var(--dx), var(--dy), 0) scale(1.04);
  }
}

@keyframes eduSpin {
  from {
    rotate: var(--rot);
  }
  to {
    rotate: calc(var(--rot) + var(--turn));
  }
}

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

  .education-bg {
    display: none;
  }
}

@media (max-width: 920px) {
  .navbar {
    flex-wrap: wrap;
    border-radius: 30px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: static;
    width: 100%;
    display: none;
    margin: 0 3px 5px;
    padding: 10px;
    border-radius: 22px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
      rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 208, 138, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px 14px;
    text-align: center;
  }

  .nav-links .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .section-head,
  .intro-layout,
  .about-split,
  .enroll-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 13.5px;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .navbar {
    min-height: 62px;
    padding: 8px 9px 8px 12px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

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

  .hero {
    min-height: calc(100vh - 86px);
  }

  .hero-content {
    padding: 56px 0;
  }

  .section {
    padding: 58px 0;
  }

  .page-hero {
    padding: 76px 0 62px;
  }

  .grid-3,
  .grid-4,
  .stats,
  .contact-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .approach-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cta-band {
    padding: 32px 22px;
    border-radius: 22px;
  }

  .button-row .btn {
    width: 100%;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
  }

  .float-btn {
    width: 52px;
    height: 52px;
  }

  .chatbot-panel {
    right: 14px;
    bottom: 80px;
  }

  .edu-float {
    opacity: calc(var(--opacity) * 0.72);
  }
}
