/* Study Experts LLC — Design System */
:root {
  --green: #1F5E3B;
  --green-dark: #174A2E;
  --green-soft: #E8F0EB;
  --gold: #C8A24B;
  --gold-hover: #B8913F;
  --amber: #E9B44C;
  --bg: #FAFAF7;
  --text: #1F2937;
  --text-muted: #4B5563;
  --gray: #F3F4F6;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(31, 41, 55, 0.06);
  --shadow-md: 0 8px 28px rgba(31, 41, 55, 0.08);
  --header-h: 80px;
  --header-h-compact: 60px;
  --max: 1140px;
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
  --transition: 0.25s ease;
  --header-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold);
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { color: var(--text-muted); }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section--alt {
  background: var(--white);
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section__header {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.section__header--center {
  text-align: center;
  margin-inline: auto;
}

.section__header h2 {
  margin-bottom: 0.85rem;
}

.section__header p {
  font-size: 1.05rem;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn--primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn--secondary:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--white);
}

.btn--sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  height: var(--header-h);
  transition:
    height 0.45s var(--header-ease),
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.45s var(--header-ease);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--amber), var(--gold), transparent);
  transform: translateX(-50%);
  opacity: 0;
  transition: width 0.55s var(--header-ease), opacity 0.4s ease;
}

.site-header.is-compact {
  height: var(--header-h-compact);
  background: rgba(0, 0, 0, 0.97);
  border-bottom-color: rgba(200, 162, 75, 0.22);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(200, 162, 75, 0.08) inset;
}

.site-header.is-compact::after {
  width: min(220px, 40%);
  opacity: 1;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
  transition: padding 0.45s var(--header-ease);
}

.logo {
  position: relative;
  display: block;
  flex-shrink: 0;
  height: 52px;
  width: 268px; /* matches logo-for-header.png aspect (~417x81) */
  transition: height 0.45s var(--header-ease), width 0.45s var(--header-ease);
}

.site-header.is-compact .logo {
  height: 36px;
  width: 233px; /* matches logo-shrink.png aspect (~375x58) */
}

.logo__full,
.logo__shrink {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transform-origin: left center;
  transition:
    opacity 0.4s var(--header-ease),
    transform 0.45s var(--header-ease),
    filter 0.4s ease;
  pointer-events: none;
}

.logo__full {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.logo__shrink {
  opacity: 0;
  transform: scale(0.94) translateY(4px);
  filter: blur(2px);
}

.site-header.is-compact .logo__full {
  opacity: 0;
  transform: scale(0.94) translateY(-4px);
  filter: blur(2px);
}

.site-header.is-compact .logo__shrink {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: blur(0);
}

.site-header.is-compact .nav__link {
  padding-block: 0.35rem;
}

.site-header.is-compact .nav__cta .btn {
  padding: 0.5rem 1.05rem;
  font-size: 0.82rem;
  transition: padding 0.4s var(--header-ease), font-size 0.4s var(--header-ease);
}

.site-header.is-compact .nav-toggle {
  width: 38px;
  height: 38px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--gold);
  background: rgba(200, 162, 75, 0.12);
}

.nav__cta {
  margin-left: 0.5rem;
}

.nav__cta .btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}

.nav__cta .btn--primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: #111;
}

.nav__cta .btn {
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform 0.2s ease,
    padding 0.4s var(--header-ease),
    font-size 0.4s var(--header-ease);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== Hero ========== */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__content h1 {
  margin-bottom: 1.15rem;
}

.hero__content > p {
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 520px;
}

.hero__image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--page {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: linear-gradient(160deg, var(--green-soft) 0%, var(--bg) 55%);
  border-bottom: 1px solid var(--border);
}

.hero--page .hero__content {
  max-width: 640px;
}

.hero--page h1 {
  margin-bottom: 0.85rem;
}

/* ========== Trust Bar ========== */
.trust-bar {
  background: var(--green);
  color: var(--white);
  padding: 1.35rem 0;
}

.trust-bar__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
}

.trust-bar__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--amber);
}

/* ========== Cards ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.cards--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), border-color var(--transition), transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: #d1d5db;
  transform: translateY(-2px);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 10px;
  margin-bottom: 1.15rem;
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: 0.65rem;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.card--feature {
  text-align: center;
  padding: 2rem 1.5rem;
}

.card--feature .card__icon {
  margin-inline: auto;
}

.card--feature p {
  margin-bottom: 0;
}

/* ========== Majors Grid ========== */
.majors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.85rem;
}

.major-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.major-badge:hover {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green);
}

/* ========== About Split ========== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split__visual {
  background: var(--green);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: var(--white);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.split__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 162, 75, 0.35), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(233, 180, 76, 0.2), transparent 45%);
}

.split__visual > * {
  position: relative;
  z-index: 1;
}

.split__visual h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.split__visual p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ========== Timeline ========== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.timeline__step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 0.25rem;
}

.timeline__num {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  border-radius: 50%;
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 2px var(--green);
}

.timeline__step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.timeline__step p {
  font-size: 0.92rem;
}

/* ========== Mission / Vision ========== */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.mv-card--mission {
  border-top: 3px solid var(--green);
}

.mv-card--vision {
  border-top: 3px solid var(--gold);
}

.mv-card h3 {
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mv-card p {
  margin: 0;
}

/* ========== Testimonials ========== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.testimonial__stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.testimonial blockquote {
  font-size: 1rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.testimonial__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.testimonial__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.testimonial__author {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.testimonial__role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.15rem 1.35rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: background var(--transition);
}

.faq-item__question:hover {
  background: var(--gray);
}

.faq-item__question:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: -3px;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--green);
  transition: transform var(--transition);
}

.faq-item[open] .faq-item__icon,
.faq-item.is-open .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 1.35rem 1.25rem;
  display: none;
}

.faq-item.is-open .faq-item__answer {
  display: block;
}

.faq-item__answer p {
  margin: 0;
}

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.contact-card__label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.contact-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.contact-card p,
.contact-card a {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.contact-card a:hover {
  color: var(--green);
}

.contact-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* ========== CTA Banner ========== */
.cta-banner {
  background: var(--green);
  color: var(--white);
  padding: clamp(3rem, 6vw, 4rem) 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0 auto 1.75rem;
}

.cta-banner .btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.cta-banner .btn--primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

.cta-banner .btn--secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-banner .btn--secondary:hover {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}

.cta-banner .btn-group {
  justify-content: center;
}

/* ========== Page content extras ========== */
.content-block {
  max-width: 720px;
}

.content-block p + p {
  margin-top: 1rem;
}

/* ========== Refund / legal policy ========== */
.policy-stack {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  max-width: 800px;
  margin-inline: auto;
}

.policy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.85rem;
  box-shadow: var(--shadow);
}

.policy-card h2 {
  font-size: 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.policy-card__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.05rem;
}

.policy-card ul {
  list-style: disc;
  padding-left: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.policy-card li {
  color: var(--text-muted);
}

.policy-card li strong {
  color: var(--text);
  font-weight: 600;
}

.policy-note {
  max-width: 720px;
  margin: 1.75rem auto 0;
  text-align: center;
  font-size: 0.95rem;
}

.policy-note a {
  font-weight: 600;
}

.list-check {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
}

.list-check svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--green);
  margin-top: 2px;
}

.language-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.level-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.level-card__level {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.level-card h3 {
  margin-bottom: 0.65rem;
}

.level-card p {
  font-size: 0.95rem;
  margin: 0;
}

/* ========== Footer ========== */
.site-footer {
  background: #000;
  color: rgba(255, 255, 255, 0.72);
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid rgba(200, 162, 75, 0.2);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__brand img {
  height: 190px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  max-width: 280px;
}

.footer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.footer__tag {
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(200, 162, 75, 0.28);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.04);
}

.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.footer__col a:hover {
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal a:hover {
  color: var(--gold);
}

/* ========== Page Loader ========== */
body.is-loading {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  transition: opacity 0.55s var(--header-ease), visibility 0.55s ease;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding: 1.5rem;
}

.page-loader__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  transform: translate(-50%, -55%);
  background:
    radial-gradient(circle, rgba(31, 94, 59, 0.28) 0%, transparent 68%),
    radial-gradient(circle, rgba(200, 162, 75, 0.32) 0%, transparent 55%);
  border-radius: 50%;
  animation: loader-glow 1.6s ease-in-out infinite alternate;
  pointer-events: none;
}

.page-loader__logo {
  position: relative;
  z-index: 1;
  width: min(280px, 72vw);
  height: auto;
  opacity: 0;
  transform: scale(0.92) translateY(10px);
  animation: loader-logo 0.9s var(--header-ease) 0.1s forwards;
}

.page-loader__bar {
  position: relative;
  z-index: 1;
  width: min(160px, 42vw);
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  opacity: 0;
  animation: loader-fade 0.4s ease 0.35s forwards;
}

.page-loader__bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--amber));
  background-size: 200% 100%;
  animation:
    loader-bar 1.35s var(--header-ease) 0.4s forwards,
    loader-shimmer 1.2s linear 0.4s infinite;
}

@keyframes loader-logo {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes loader-fade {
  to { opacity: 1; }
}

@keyframes loader-bar {
  to { width: 100%; }
}

@keyframes loader-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@keyframes loader-glow {
  from {
    transform: translate(-50%, -55%) scale(0.92);
    opacity: 0.75;
  }
  to {
    transform: translate(-50%, -55%) scale(1.08);
    opacity: 1;
  }
}

/* ========== WhatsApp Float ========== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--header-ease);
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  color: inherit;
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
  border-radius: 999px;
}

.whatsapp-float__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.65rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(31, 41, 55, 0.12);
  max-width: 170px;
  opacity: 0;
  transform: translateX(12px) scale(0.96);
  animation: wa-label-in 0.55s var(--header-ease) 1.9s forwards;
}

.whatsapp-float__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #128C7E;
}

.whatsapp-float__status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: wa-blink 1.4s ease-out infinite;
}

.whatsapp-float__status-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(34, 197, 94, 0.55);
  animation: wa-ring 1.4s ease-out infinite;
}

.whatsapp-float__text {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.whatsapp-float__btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.whatsapp-float:hover .whatsapp-float__btn {
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.55);
  transform: scale(1.04);
}

.whatsapp-float__btn svg {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1;
}

.whatsapp-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: wa-pulse 2s ease-out infinite;
  z-index: 0;
}

.whatsapp-float__online {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 2;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22c55e;
  border: 2.5px solid var(--white);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: wa-blink 1.4s ease-out infinite;
}

@keyframes wa-blink {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  50% {
    opacity: 0.65;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
}

@keyframes wa-ring {
  0% {
    transform: scale(0.85);
    opacity: 1;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70%, 100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

@keyframes wa-label-in {
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* ========== Utilities ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ========== Responsive ========== */
@media (min-width: 1101px) and (max-width: 1280px) {
  .nav__link {
    font-size: 0.78rem;
    padding: 0.4rem 0.4rem;
  }

  .nav__cta .btn {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }

  .cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .timeline::before {
    display: none;
  }
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(200, 162, 75, 0.22);
    padding: 1rem 1.25rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .nav__link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav__cta .btn {
    width: 100%;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero__image {
    max-width: 560px;
    margin-inline: auto;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .language-levels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.75rem, var(--max));
  }

  .logo {
    height: 42px;
    width: 216px;
  }

  .site-header.is-compact .logo {
    height: 30px;
    width: 194px;
  }

  .trust-bar__list {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1rem;
  }

  .trust-bar__item {
    justify-content: flex-start;
    font-size: 0.85rem;
  }

  .cards,
  .cards--4,
  .testimonials,
  .mv-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline__step {
    text-align: left;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0 1rem;
    align-items: start;
  }

  .timeline__num {
    width: 48px;
    height: 48px;
    font-size: 1rem;
    margin: 0;
    grid-row: span 2;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }

  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    gap: 0.55rem;
  }

  .whatsapp-float__btn {
    width: 52px;
    height: 52px;
  }

  .whatsapp-float__btn svg {
    width: 26px;
    height: 26px;
  }

  .whatsapp-float__label {
    padding: 0.55rem 0.8rem;
    max-width: 140px;
  }

  .whatsapp-float__text {
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .page-loader__logo,
  .page-loader__bar {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .page-loader__bar span {
    width: 100%;
  }

  .whatsapp-float__pulse,
  .whatsapp-float__online,
  .whatsapp-float__status-dot,
  .whatsapp-float__status-dot::after {
    animation: none !important;
  }

  .whatsapp-float__label {
    opacity: 1;
    transform: none;
  }
}
