/* Floating elements cleanup */
.floating-translate {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
}
.translate-trigger {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.translate-trigger:hover {
  background: var(--blue-pale);
}
.translate-trigger:disabled {
  cursor: wait;
  opacity: 0.8;
}
.floating-telegram {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 1000;
  background: #229ED9;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.floating-telegram i {
  color: #fff;
  font-size: 1.2em;
}
.footer-contact {
  margin-top: 1.5rem;
  text-align: center;
}
.footer-contact h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1em;
}
.footer-contact a {
  color: #229ED9;
  text-decoration: underline;
  font-size: 1em;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #1A3C6E;
  --blue-mid:    #2756A0;
  --blue-light:  #3B78D4;
  --blue-pale:   #EBF2FC;
  --blue-subtle: #F4F8FD;
  --accent:      #F0A500;
  --white:       #FFFFFF;
  --text:        #1A1F2E;
  --text-mid:    #4A5568;
  --text-muted:  #8A96A8;
  --border:      #D6E4F5;
  --shadow:      0 4px 24px rgba(26,60,110,0.10);
  --shadow-lg:   0 12px 48px rgba(26,60,110,0.16);
  --font-display: 'Playfair Display', serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── ACCESSIBILITY ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.sr-only:focus { position: static; width: auto; height: auto; padding: 0.5rem 1rem; margin: 0; overflow: visible; clip: auto; white-space: normal; background: var(--blue); color: var(--white); z-index: 9999; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid var(--blue-mid); outline-offset: 2px; }

html { scroll-behavior: smooth; }
body {
  background: var(--white); color: var(--text); font-family: var(--font-body); font-weight: 400;
  line-height: 1.6; overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--blue-pale); }
::-webkit-scrollbar-thumb { background: var(--blue-mid); border-radius: 2px; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 5%;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(26,60,110,0.06);
  transition: padding 0.3s;
}
.logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--blue); text-decoration: none; }
.logo span { color: var(--blue-light); font-weight: 400; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-mid); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--blue-mid); }
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }

#google_translate_element select {
  background: var(--blue-subtle); color: var(--blue);
  border: 1px solid var(--border); padding: 0.38rem 0.6rem;
  font-family: var(--font-body); font-size: 0.78rem; outline: none; cursor: pointer; border-radius: 6px;
}
.goog-te-banner-frame { display: none !important; }
.goog-logo-link { display: none !important; }
.goog-te-gadget { color: transparent !important; font-size: 0 !important; }
body { top: 0 !important; }

.btn-outline {
  padding: 0.55rem 1.25rem; border: 1.5px solid var(--blue-mid); border-radius: 6px;
  color: var(--blue-mid); font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  text-decoration: none; transition: all 0.2s; background: transparent; cursor: pointer;
}
.btn-outline:hover { background: var(--blue-mid); color: var(--white); }
.btn-primary {
  padding: 0.55rem 1.4rem; border-radius: 6px; background: var(--blue-mid); color: var(--white);
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--blue); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--blue); border-radius: 2px; display: block; }

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(140deg, var(--blue) 0%, var(--blue-mid) 55%, var(--blue-light) 100%);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding: 8rem 5% 5rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(255,255,255,0.05) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(240,165,0,0.07) 0%, transparent 50%);
  pointer-events: none;
}
.hero-ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.08); pointer-events: none;
}
.hero-ring:nth-child(1) { width: 420px; height: 420px; top: -100px; right: -60px; }
.hero-ring:nth-child(2) { width: 650px; height: 650px; bottom: -220px; right: -180px; background: rgba(255,255,255,0.02); }

.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px; padding: 0.35rem 1rem;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.9); margin-bottom: 1.5rem;
}
.hero-eyebrow::before { content: '●'; color: var(--accent); font-size: 0.55rem; }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 700; line-height: 1.1; color: var(--white);
  margin-bottom: 1.25rem; letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: #7BB8F5; }
.hero p { color: rgba(255,255,255,0.72); font-size: 1rem; max-width: 460px; margin-bottom: 2.5rem; line-height: 1.8; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-white {
  padding: 0.85rem 2rem; border-radius: 8px; background: var(--white); color: var(--blue);
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 700;
  text-decoration: none; transition: all 0.2s; border: none; cursor: pointer;
}
.btn-white:hover { background: var(--blue-pale); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.btn-ghost-white {
  padding: 0.85rem 2rem; border-radius: 8px; background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3); color: var(--white);
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.22); }

.hero-visual { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.hero-cards { display: flex; flex-direction: column; gap: 1rem; width: 320px; }
.h-card {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18); border-radius: 16px; padding: 1.4rem 1.6rem;
  animation: hfloat 5s ease-in-out infinite;
}
.h-card:nth-child(2) { animation-delay: -1.8s; margin-left: 1.5rem; }
.h-card:nth-child(3) { animation-delay: -3.5s; }
@keyframes hfloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
.h-card-lbl { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); margin-bottom: 0.35rem; }
.h-card-val { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1; }
.h-card-sub { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 0.2rem; }
.green { color: #5DDC8A; font-weight: 600; }

/* TICKER */
.ticker-bar { background: var(--blue); padding: 0.65rem 0; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-flex; gap: 4rem; animation: ticker 22s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.ticker-item strong { color: var(--white); }
.up { color: #5DDC8A; }
.dn { color: #FF7B7B; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* SECTION */
section { padding: 6rem 5%; }
.section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--blue-pale); color: var(--blue-mid); border-radius: 100px;
  padding: 0.3rem 1rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 1rem;
}
h2.stitle {
  font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; color: var(--blue); line-height: 1.2; margin-bottom: 1rem;
}
h2.stitle em { font-style: italic; color: var(--blue-light); }
.sdesc { color: var(--text-mid); font-size: 0.95rem; line-height: 1.8; max-width: 520px; }

/* STATS STRIP */
.stats-strip {
  background: var(--blue-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(4,1fr);
}
.stat-item { padding: 2.5rem 2rem; text-align: center; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-item .snum { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--blue); line-height: 1; }
.stat-item .slbl { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-top: 0.3rem; }

/* SERVICES */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 1.5rem; margin-top: 3rem; }
.svc-card {
  background: var(--white); border: 1.5px solid var(--border); border-radius: 16px;
  padding: 2.25rem 2rem; transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s; position: relative;
}
.svc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-light); }
.svc-card i.fas, .svc-card i.fab {
  width: 52px; height: 52px; border-radius: 12px; background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem;
  transition: background 0.3s;
}
.svc-card:hover i.fas, .svc-card:hover i.fab { background: var(--blue-pale); }
.svc-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--blue); margin-bottom: 0.6rem; }
.svc-card p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.75; }
.svc-arrow {
  position: absolute; bottom: 1.5rem; right: 1.5rem; width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue-pale); display: flex; align-items: center; justify-content: center;
  color: var(--blue-mid); font-size: 0.9rem; transition: background 0.3s, color 0.3s;
}
.svc-card:hover .svc-arrow { background: var(--blue-mid); color: var(--white); }

/* ABOUT */
.about { background: var(--blue-subtle); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); display: block; }
.about-badge {
  position: absolute; bottom: 2rem; left: -2rem;
  background: var(--blue); color: var(--white); border-radius: 16px; padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg); text-align: center;
}
.about-badge .bnum { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; line-height: 1; color: #7BB8F5; }
.about-badge .btxt { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.7); margin-top: 0.25rem; }
.about-accent {
  position: absolute; top: 2rem; right: -1.5rem;
  background: var(--white); border-radius: 14px; padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.75rem;
}
.aac-dot { width: 10px; height: 10px; border-radius: 50%; background: #5DDC8A; flex-shrink: 0; }
.aac-txt { font-size: 0.8rem; font-weight: 600; color: var(--blue); }
.aac-sub { font-size: 0.7rem; color: var(--text-muted); }
.about-features { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin: 2rem 0; }
.about-features li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--text-mid); }
.chk {
  width: 20px; height: 20px; border-radius: 50%; background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-mid); font-size: 0.65rem; flex-shrink: 0; font-weight: 700;
}
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.mini-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; }
.mini-card .mn { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--blue); }
.mini-card .ml { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* PLANS */
.plans { background: var(--white); }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 1.5rem; margin-top: 3rem; }
.plan-card {
  border: 1.5px solid var(--border); border-radius: 20px; padding: 2rem 1.75rem;
  background: var(--white); transition: all 0.3s; position: relative;
}
.plan-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-light); transform: translateY(-4px); }
.plan-card.featured { background: var(--blue); border-color: var(--blue); color: var(--white); box-shadow: var(--shadow-lg); }
.plan-popular {
  display: inline-block; background: var(--accent); color: var(--blue);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.2rem 0.75rem; border-radius: 100px; margin-bottom: 1.25rem;
}
.plan-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--blue); }
.plan-card.featured .plan-name { color: var(--white); }
.plan-price { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--blue); line-height: 1; margin-bottom: 0.2rem; }
.plan-price sup { font-size: 1.2rem; vertical-align: top; margin-top: 0.5rem; }
.plan-card.featured .plan-price { color: #7BB8F5; }
.plan-sub { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 1.5rem; }
.plan-card.featured .plan-sub { color: rgba(255,255,255,0.5); }
.plan-divider { height: 1px; background: var(--border); margin-bottom: 1.5rem; }
.plan-card.featured .plan-divider { background: rgba(255,255,255,0.15); }
.plan-feats { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.plan-feats li { display: flex; justify-content: space-between; font-size: 0.83rem; }
.plan-feats li span:first-child { color: var(--text-muted); }
.plan-feats li span:last-child { font-weight: 600; color: var(--text); }
.plan-card.featured .plan-feats li span:first-child { color: rgba(255,255,255,0.55); }
.plan-card.featured .plan-feats li span:last-child { color: var(--white); }
.btn-plan {
  display: block; text-align: center; padding: 0.85rem; border-radius: 10px;
  border: 1.5px solid var(--blue-mid); color: var(--blue-mid); font-size: 0.82rem;
  font-weight: 700; text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase; transition: all 0.2s;
}
.btn-plan:hover { background: var(--blue-mid); color: var(--white); }
.plan-card.featured .btn-plan { background: var(--white); color: var(--blue); border-color: var(--white); }
.plan-card.featured .btn-plan:hover { background: var(--blue-pale); }

/* WHY */
.why { background: var(--blue-subtle); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.why-image { margin: 2rem 0; text-align: center; }
.why-image img { 
  max-width: 100%; height: auto; border-radius: 16px; 
  box-shadow: var(--shadow); transition: transform 0.3s ease;
}
.why-image img:hover { transform: translateY(-5px); }
.why-items { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.why-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.6rem 1.75rem; display: flex; gap: 1.25rem; align-items: flex-start;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.why-card:hover { box-shadow: var(--shadow); border-color: var(--blue-light); }
.why-num {
  width: 42px; height: 42px; border-radius: 10px; background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--blue-mid); flex-shrink: 0;
}
.why-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--blue); margin-bottom: 0.35rem; }
.why-card p { font-size: 0.84rem; color: var(--text-mid); line-height: 1.75; }

.ref-block {
  background: linear-gradient(140deg, var(--blue), var(--blue-mid));
  border-radius: 20px; padding: 2.5rem; color: var(--white); position: sticky; top: 100px;
}
.ref-block h3 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.25; }
.ref-block > p { font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 2rem; }
.ref-tiers { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2rem; }
.ref-tier {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px; padding: 1.1rem 1.4rem;
  display: flex; justify-content: space-between; align-items: center;
}
.rt-title { font-weight: 600; font-size: 0.88rem; }
.rt-sub { font-size: 0.72rem; color: rgba(255,255,255,0.55); margin-top: 0.1rem; }
.rt-val { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: #7BB8F5; }

/* TESTIMONIALS */
.testimonials { background: var(--white); }
.test-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.5rem; margin-top: 3rem; }
.test-card {
  background: var(--white); border: 1.5px solid var(--border); border-radius: 20px;
  padding: 2rem; transition: all 0.3s;
}
.test-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue-light); }
.test-stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 0.08em; }
.test-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.8; font-style: italic; margin-bottom: 1.5rem; }
.test-author { display: flex; align-items: center; gap: 0.75rem; }
.test-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--blue-light);
  flex-shrink: 0;
}
.test-name { font-size: 0.875rem; font-weight: 600; color: var(--blue); }
.test-role { font-size: 0.72rem; color: var(--text-muted); }

/* CTA */
.cta-banner {
  background: linear-gradient(140deg, var(--blue), var(--blue-light));
  padding: 5rem 5%; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05), transparent 60%);
}
.cta-banner h2 {
  font-family: var(--font-display); font-size: clamp(2rem,4vw,3.5rem);
  font-weight: 700; color: var(--white); margin-bottom: 1rem; position: relative;
}
.cta-banner p { color: rgba(255,255,255,0.72); margin-bottom: 2.5rem; font-size: 1rem; position: relative; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* FOOTER */
footer { background: var(--blue); color: rgba(255,255,255,0.75); padding: 4rem 5% 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--white); display: block; margin-bottom: 1rem; text-decoration: none; }
.footer-logo span { color: #7BB8F5; font-weight: 400; }
.footer-brand p { font-size: 0.875rem; line-height: 1.75; color: rgba(255,255,255,0.55); max-width: 280px; }
.footer-col h4 { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul a { font-size: 0.875rem; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-sub { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-sub input {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); padding: 0.75rem 1rem; font-family: var(--font-body); font-size: 0.875rem;
  outline: none; border-radius: 8px; transition: border-color 0.2s;
}
.footer-sub input::placeholder { color: rgba(255,255,255,0.35); }
.footer-sub input:focus { border-color: rgba(255,255,255,0.45); }
.footer-sub button {
  padding: 0.75rem; background: var(--blue-light); color: var(--white); border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; border-radius: 8px; transition: background 0.2s;
}
.footer-sub button:hover { background: #5D9BE8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* REVEAL */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal][data-d="1"] { transition-delay: 0.1s; }
[data-reveal][data-d="2"] { transition-delay: 0.2s; }
[data-reveal][data-d="3"] { transition-delay: 0.3s; }
[data-reveal][data-d="4"] { transition-delay: 0.4s; }

/* RESPONSIVE */
@media (max-width: 700px) {
  nav {
    align-items: center;
    gap: 0.35rem;
    padding: 0.95rem 5%;
  }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid, .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-image { margin: 1.5rem 0; }
  .why-image img { border-radius: 12px; }
  .test-grid { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
  .test-card { padding: 1.5rem; }
  .test-avatar { width: 40px; height: 40px; }
  .stats-strip { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0.85rem;
    list-style: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    padding: 1.25rem 5%;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(26,60,110,0.1);
    z-index: 99;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links a { font-size: 0.86rem; }
  .nav-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
  }
  .nav-cta .btn-outline,
  .nav-cta .btn-primary {
    padding: 0.45rem 0.8rem;
    font-size: 0.74rem;
  }
  .hamburger {
    display: flex;
    margin-left: 0.15rem;
  }
  .hamburger span {
    transition: transform 0.24s ease, opacity 0.18s ease;
    transform-origin: center;
  }
  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .nav-links.mobile-open {
    animation: navMenuDrop 0.28s ease;
  }
}
@media (max-width: 600px) {
  nav {
    padding: 0.85rem 5%;
  }
  .logo {
    font-size: 1.22rem;
  }
  .nav-cta {
    gap: 0.35rem;
  }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .why-image { margin: 1rem 0; }
  .why-image img { 
    width: 100%; max-width: 300px; 
    border-radius: 8px;
    display: block;
    margin: 0 auto;
  }
  section { padding: 4rem 5%; }
}
@media (max-width: 480px) {
  .nav-cta .btn-outline,
  .nav-cta .btn-primary {
    padding: 0.38rem 0.58rem;
    font-size: 0.66rem;
  }
  .why-image img { max-width: 250px; }
}

@keyframes navMenuDrop {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Google Translate Widget */
#google_translate_element { font-size: 14px; }
#google_translate_element .goog-te-gadget-simple {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  padding: 6px;
  font-size: 0;
  width: 30px;
  height: 30px;
  color: var(--blue);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.94-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"/></svg>');
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
#google_translate_element .goog-te-gadget-simple:hover {
  background-color: var(--blue-pale);
  border-color: var(--blue);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


/* ═══════════════════════════════════════════════════
   QA CHAT WIDGET STYLES
   ═══════════════════════════════════════════════════ */

/* ── FAB Button ── */
#chat-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 1200;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(140deg, var(--blue), var(--blue-mid));
  border: none; cursor: pointer;
  box-shadow: 0 6px 28px rgba(26,60,110,0.38);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--white);
}
#chat-fab:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 36px rgba(26,60,110,0.48);
}
#chat-fab .fab-icon-open  { display: flex; }
#chat-fab .fab-icon-close { display: none; }
#chat-fab.open .fab-icon-open  { display: none; }
#chat-fab.open .fab-icon-close { display: flex; }

/* Pulse ring */
#chat-fab::before {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid rgba(43,86,160,0.4);
  animation: cw-pulse-ring 2.6s ease-out infinite;
}
@keyframes cw-pulse-ring {
  0%   { transform: scale(1);    opacity: 1; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* Unread badge */
#chat-badge {
  position: absolute; top: -3px; right: -3px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--accent); color: var(--text);
  font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
}
#chat-badge.hidden { display: none; }

/* ── Chat Window ── */
#chat-window {
  position: fixed; bottom: 96px; right: 24px; z-index: 1100;
  width: 380px; max-width: calc(100vw - 32px);
  border-radius: 22px; overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  transform: scale(0.88) translateY(20px);
  transform-origin: bottom right;
  opacity: 0; pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), opacity 0.22s ease;
  font-family: var(--font-body);
}
#chat-window.open {
  transform: scale(1) translateY(0);
  opacity: 1; pointer-events: all;
}

/* ── Header ── */
.cw-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  padding: 1rem 1.25rem; display: flex; align-items: center; gap: 0.85rem;
}
.cw-avatar-wrap { position: relative; }
.cw-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.cw-online-dot {
  position: absolute; bottom: 1px; right: 1px;
  width: 11px; height: 11px; border-radius: 50%;
  background: #5DDC8A; border: 2px solid var(--blue-mid);
}
.cw-info { flex: 1; }
.cw-name { font-size: 0.9rem; font-weight: 700; color: var(--white); }
.cw-subtitle { font-size: 0.68rem; color: rgba(255,255,255,0.6); margin-top: 0.1rem; }
.cw-close {
  background: rgba(255,255,255,0.1); border: none;
  color: rgba(255,255,255,0.65);
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.cw-close:hover { background: rgba(255,255,255,0.22); color: var(--white); }

/* ── Topic Pills ── */
.cw-topics {
  background: var(--blue-subtle); padding: 0.75rem 1rem 0.5rem;
  border-bottom: 1px solid var(--blue-pale);
  display: flex; gap: 0.45rem; flex-wrap: wrap;
}
.topic-pill {
  padding: 0.28rem 0.75rem; border-radius: 100px;
  font-size: 0.7rem; font-weight: 600;
  border: 1.5px solid var(--border); background: var(--white);
  color: var(--blue-mid); cursor: pointer; transition: all 0.18s;
  font-family: var(--font-body);
}
.topic-pill:hover,
.topic-pill.active { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ── Messages ── */
.cw-messages {
  flex: 1; overflow-y: auto; padding: 1.1rem 1rem;
  display: flex; flex-direction: column; gap: 0.8rem;
  min-height: 280px; max-height: 340px; background: var(--blue-subtle);
}
.cw-messages::-webkit-scrollbar { width: 3px; }
.cw-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.msg { display: flex; gap: 0.55rem; animation: cw-msg-in 0.28s ease; }
@keyframes cw-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.msg.user { flex-direction: row-reverse; }

.msg-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  flex-shrink: 0; margin-top: 3px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: var(--white);
}
.msg.user .msg-avatar { background: linear-gradient(135deg, var(--accent), #e8970a); }

.msg-bubble {
  max-width: 80%; padding: 0.65rem 0.95rem; border-radius: 16px;
  font-size: 0.84rem; line-height: 1.68; color: var(--text);
  background: var(--white); border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(26,60,110,0.05);
}
.msg.user .msg-bubble {
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  color: var(--white); border: none;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 16px;
  box-shadow: 0 3px 14px rgba(26,60,110,0.25);
}
.msg-bubble ul  { padding-left: 1.1rem; margin: 0.3rem 0; }
.msg-bubble li  { margin-bottom: 0.2rem; }
.msg-bubble strong { font-weight: 700; }
.msg-bubble.error {
  border-color: #FFB3B3; background: #FFF5F5; color: #C0392B;
}

/* ── Typing Indicator ── */
.typing-dots { display: flex; gap: 4px; padding: 0.35rem 0.1rem; align-items: center; }
.typing-dots span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted);
  animation: cw-dot-bounce 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes cw-dot-bounce {
  0%,60%,100% { transform: translateY(0); }
  30%          { transform: translateY(-6px); }
}

/* ── Suggested Questions ── */
.cw-suggestions {
  padding: 0.5rem 1rem 0.25rem;
  background: var(--blue-subtle);
  display: flex; flex-direction: column; gap: 0.4rem;
}
.suggest-btn {
  text-align: left; padding: 0.4rem 0.8rem; border-radius: 10px;
  border: 1.5px solid var(--border); background: var(--white); color: var(--blue-mid);
  font-size: 0.72rem; font-weight: 500; cursor: pointer;
  transition: all 0.18s; display: flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-body);
}
.suggest-btn::before { content: '→'; font-weight: 700; color: var(--blue-light); flex-shrink: 0; }
.suggest-btn:hover { background: var(--blue-pale); border-color: var(--blue-light); }

/* ── Input Area ── */
.cw-input-area {
  padding: 0.85rem 1rem; background: var(--white);
  border-top: 1px solid var(--blue-pale);
  display: flex; gap: 0.55rem; align-items: flex-end;
}
#chat-input {
  flex: 1; background: var(--blue-subtle); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 0.6rem 0.85rem;
  font-family: var(--font-body); font-size: 0.84rem; color: var(--text);
  resize: none; outline: none; line-height: 1.5;
  transition: border-color 0.2s;
  max-height: 90px; min-height: 38px;
}
#chat-input:focus { border-color: var(--blue-light); }
#chat-input::placeholder { color: var(--text-muted); }

#chat-send {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  color: var(--white); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 3px 12px rgba(26,60,110,0.28);
}
#chat-send:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(26,60,110,0.35); }
#chat-send:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ── Footer Bar ── */
.cw-footer-bar {
  padding: 0.4rem; text-align: center;
  font-size: 0.6rem; color: var(--text-muted);
  background: var(--white); letter-spacing: 0.03em;
}

/* ── Feedback Thumbs ── */
.msg-feedback { display: flex; gap: 0.4rem; margin-top: 0.4rem; }
.thumb-btn {
  background: none; border: 1px solid var(--border); border-radius: 6px;
  padding: 0.2rem 0.45rem; cursor: pointer; font-size: 0.8rem;
  transition: all 0.18s; color: var(--text-muted);
}
.thumb-btn:hover { border-color: var(--blue-light); background: var(--blue-pale); }
.thumb-btn.active { border-color: #5DDC8A; background: #eafaf2; }

/* ── Chat Mobile ── */
@media (max-width: 480px) {
  #chat-window { width: calc(100vw - 32px); bottom: 88px; right: 16px; }
  #chat-fab    { bottom: 16px; right: 16px; }
}
