/* ─── EngCourses Design System ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #ffffff;
  --bg: #f7f8fa;
  --border: #e8eaed;
  --text-primary: #0f1117;
  --text-secondary: #5a6070;
  --text-muted: #9399a6;
  --accent: #2563eb;
  --accent-light: #eff4ff;
  --accent-hover: #1d4ed8;
  --green: #16a34a;
  --green-light: #f0fdf4;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.05);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── TYPOGRAPHY & UTILS ─── */
h1, h2, h3, h4 { color: var(--text-primary); line-height: 1.25; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
p { color: var(--text-secondary); }
ul { list-style: none; }
.text-green { color: var(--green) !important; }
.text-accent { color: var(--accent) !important; }
.text-gold { color: #f59e0b !important; }
.text-white { color: #ffffff !important; }
.text-center { text-align: center; }
.container-sm { max-width: 800px; margin: 0 auto; }

/* ─── SITE TOPBAR (Light & Harmonious Design System) ─── */
.site-topbar {
  background: #f8fafc;
  color: var(--text-secondary);
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 201;
}
.site-topbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-phone {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}
.topbar-phone i {
  color: var(--accent);
  font-size: 15px;
}
.topbar-phone:hover {
  color: var(--accent);
}
.topbar-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-social-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.15s ease;
}
.topbar-social-icon:hover {
  background: var(--accent-light);
  color: var(--accent);
  border-color: #bfdbfe;
  transform: translateY(-1px);
}
.topbar-cabinet-btn {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  transition: all 0.15s ease;
}
.topbar-cabinet-btn i {
  color: var(--accent);
}
.topbar-cabinet-btn:hover {
  background: var(--accent-light);
  color: var(--accent);
  border-color: #bfdbfe;
}
.topbar-cta-btn {
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 20px;
  background: var(--accent);
  border: none;
  box-shadow: 0 2px 6px rgba(37,99,235,0.2);
  transition: all 0.15s ease;
  cursor: pointer;
}
.topbar-cta-btn:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .site-topbar { display: none; }
}

/* ─── HEADER ─── */
.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo {
  font-size: 20px; font-weight: 700; color: var(--text-primary);
  text-decoration: none; letter-spacing: -0.3px; flex-shrink: 0;
}
.logo b { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; padding: 8px 14px; border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-link:hover { color: var(--text-primary); background: var(--bg); }
.nav-link.active { color: var(--accent); font-weight: 600; }

.has-dropdown { position: relative; }
.nav-arrow { font-size: 14px; transition: transform 0.2s; }
.has-dropdown:hover .nav-arrow { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 4px); left: 0;
  background: white; border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); min-width: 280px; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s; z-index: 300;
}
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border-radius: var(--radius-sm); text-decoration: none; color: var(--text-secondary);
  font-size: 14px; font-weight: 500; transition: background 0.12s, color 0.12s;
}
.dropdown-item:hover { background: var(--bg); color: var(--text-primary); }
.dropdown-item.active { background: var(--accent-light); color: var(--accent); }
.dropdown-icon {
  width: 32px; height: 32px; border-radius: 8px; background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--accent); flex-shrink: 0;
}
.dropdown-item.active .dropdown-icon { background: var(--accent); color: white; }
.dropdown-info { display: flex; flex-direction: column; flex: 1; }
.dropdown-title { font-weight: 600; color: var(--text-primary); }
.dropdown-age { font-size: 11px; color: var(--text-muted); }

.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone {
  font-size: 14px; font-weight: 600; color: var(--text-primary); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.header-socials { display: flex; align-items: center; gap: 6px; }
.social-icon {
  width: 32px; height: 32px; border-radius: var(--radius-sm); background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); text-decoration: none; font-size: 16px;
  transition: background 0.15s, color 0.15s;
}
.social-icon:hover { background: var(--accent-light); color: var(--accent); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 600;
  padding: 9px 20px; border-radius: var(--radius-sm); text-decoration: none;
  border: none; cursor: pointer; transition: background 0.15s; white-space: nowrap;
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-primary-lg {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff; font-size: 15px; font-weight: 600;
  padding: 14px 26px; border-radius: var(--radius-md); text-decoration: none;
  border: none; cursor: pointer; transition: background 0.15s;
}
.btn-primary-lg:hover { background: var(--accent-hover); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--text-primary); font-size: 15px; font-weight: 500;
  padding: 14px 22px; border-radius: var(--radius-md); text-decoration: none;
  border: 1.5px solid var(--border); cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.btn-ghost:hover { border-color: #c0c5d0; background: var(--white); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: transparent; color: var(--accent); font-size: 14px; font-weight: 600;
  padding: 11px 22px; border-radius: var(--radius-md); text-decoration: none;
  border: 1.5px solid var(--border); cursor: pointer; transition: border-color 0.15s, background 0.15s;
  width: 100%;
}
.btn-outline:hover { border-color: var(--accent); background: var(--accent-light); }

.btn-full { width: 100%; }

/* ─── BREADCRUMB ─── */
.breadcrumb { background: var(--white); border-bottom: 1px solid var(--border); padding: 12px 24px; }
.breadcrumb-inner {
  max-width: 1160px; margin: 0 auto; display: flex; align-items: center;
  gap: 6px; font-size: 13px; color: var(--text-muted);
}
.breadcrumb-inner a { color: var(--text-muted); text-decoration: none; }
.breadcrumb-inner a:hover { color: var(--accent); }
.breadcrumb-inner i { font-size: 12px; }
.breadcrumb-inner span { color: var(--text-secondary); font-weight: 500; }

/* ─── HERO SECTION ─── */
.hero-section { padding: 64px 24px; background: var(--white); border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; }

.hero-badge-green {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; background: var(--green-light);
  border: 1px solid #bbf7d0; color: var(--green); padding: 6px 14px; border-radius: 20px; margin-bottom: 20px;
}

.hero-title { font-size: clamp(32px, 3.8vw, 46px); font-weight: 800; letter-spacing: -1.2px; margin-bottom: 16px; line-height: 1.15; }
.hero-sub { font-size: 16px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 28px; max-width: 580px; }
.hero-actions { display: flex; gap: 14px; align-items: center; margin-bottom: 36px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 36px; align-items: flex-start; }
.stat-item { display: flex; flex-direction: column; }
.stat-val { font-size: 20px; font-weight: 800; color: var(--text-primary); letter-spacing: -0.5px; }
.stat-lbl { font-size: 12px; color: var(--text-muted); font-weight: 500; line-height: 1.3; }

/* Hero Visual Card */
.visual-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg);
}

.visual-zoom-head {
  background: #f0f7ff; border: 1px solid #d0e3ff; border-radius: var(--radius-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.zoom-icon-box {
  width: 42px; height: 42px; border-radius: 12px; background: var(--accent);
  color: white; display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.zoom-head-title { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.zoom-head-sub { font-size: 12px; color: var(--text-muted); }

.visual-list { margin-bottom: 20px; }
.visual-list li {
  font-size: 14px; color: var(--text-secondary); padding: 10px 0;
  border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px;
}
.visual-list li:last-child { border-bottom: none; }

.visual-result-green {
  background: var(--green-light); border: 1px solid #bbf7d0; color: var(--green);
  font-size: 14px; font-weight: 600; padding: 12px 16px; border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 8px; justify-content: center;
}

/* ─── SECTIONS & HEADERS ─── */
.section { padding: 64px 24px; }
.section-white { background: var(--white); border-bottom: 1px solid var(--border); }
.section-bg { background: var(--bg); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

.section-head { margin-bottom: 40px; }
.section-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--accent); margin-bottom: 8px;
}
.section-title { font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; letter-spacing: -0.6px; margin-bottom: 8px; }
.section-sub { font-size: 15px; color: var(--text-secondary); line-height: 1.6; max-width: 560px; }

/* ─── GRID COMPONENTS ─── */
.forwhom-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.forwhom-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.forwhom-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.forwhom-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--accent-light);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.forwhom-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.forwhom-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.program-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.program-col {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
}
.program-col-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.program-col-title i { color: var(--accent); }
.program-list li {
  font-size: 15px; color: var(--text-secondary); padding: 12px 0;
  border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px;
}
.program-list li:last-child { border-bottom: none; }

.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.how-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; position: relative;
}
.how-num {
  font-size: 28px; font-weight: 800; color: var(--accent);
  background: var(--accent-light); width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.how-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.how-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.result-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; text-align: center;
}
.result-period {
  font-size: 24px; font-weight: 800; color: var(--accent); margin-bottom: 12px;
}
.result-text { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pricing-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column;
  position: relative; box-shadow: var(--shadow-sm); transition: transform 0.2s;
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pricing-card.featured {
  border-color: var(--accent); box-shadow: var(--shadow-lg); background: #ffffff;
}
.pricing-badge {
  position: absolute; top: -12px; right: 24px; background: var(--accent);
  color: white; font-size: 11px; font-weight: 700; text-transform: uppercase;
  padding: 4px 12px; border-radius: 12px; letter-spacing: 0.5px;
}
.pricing-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.pricing-price { margin-bottom: 12px; display: flex; align-items: baseline; gap: 4px; }
.price-val { font-size: 26px; font-weight: 800; color: var(--text-primary); letter-spacing: -1px; }
.price-curr { font-size: 24px; font-weight: 700; color: var(--text-primary); }
.price-unit { font-size: 13px; color: var(--text-muted); margin-left: 6px; }
.pricing-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; flex: 1; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm);
}
.review-stars { display: flex; gap: 2px; margin-bottom: 12px; color: #f59e0b; font-size: 14px; }
.review-text { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 16px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: var(--accent); flex-shrink: 0;
}
.review-name { font-size: 14px; font-weight: 600; }
.review-meta { font-size: 12px; color: var(--text-muted); }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 15px; font-weight: 600; color: var(--text-primary);
  cursor: pointer; text-align: left; font-family: inherit;
}
.faq-q i { font-size: 18px; color: var(--text-muted); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a {
  display: none; padding: 0 20px 18px; font-size: 14px;
  color: var(--text-secondary); line-height: 1.7; border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { display: block; }

.other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px; text-decoration: none;
  display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--accent-light);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.service-card-title { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.service-card-age { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.service-card-link { font-size: 14px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; margin-top: auto; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-image { height: 180px; overflow: hidden; background: #e2e8f0; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-content { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; gap: 12px; font-size: 12px; margin-bottom: 10px; }
.blog-cat { font-weight: 600; color: var(--accent); }
.blog-date { color: var(--text-muted); }
.blog-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.blog-title a { color: var(--text-primary); text-decoration: none; }
.blog-summary { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 18px; flex: 1; }
.blog-link { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }

/* ─── ARTICLE & BLOG POST STYLES ─── */
.article-header { margin-bottom: 28px; }
.article-title { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; letter-spacing: -0.8px; margin-top: 12px; line-height: 1.2; }
.article-cover { margin-bottom: 32px; border-radius: var(--radius-lg); overflow: hidden; max-height: 420px; box-shadow: var(--shadow-md); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 16px; color: var(--text-primary); line-height: 1.8; margin-bottom: 40px; }
.article-body p { margin-bottom: 20px; font-size: 16px; color: var(--text-secondary); }
.article-body h2 { font-size: 24px; font-weight: 700; margin: 32px 0 16px; letter-spacing: -0.5px; }
.article-body h3 { font-size: 20px; font-weight: 700; margin: 24px 0 12px; }
.article-body ul, .article-body ol { margin-bottom: 20px; padding-left: 20px; }
.article-body ul li { list-style: disc; margin-bottom: 8px; color: var(--text-secondary); }
.article-body blockquote {
  background: var(--accent-light); border-left: 4px solid var(--accent);
  padding: 16px 20px; border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic; color: var(--text-primary); margin-bottom: 24px;
}
.article-footer { padding-top: 24px; border-top: 1px solid var(--border); margin-bottom: 48px; }

/* ─── CONTACT SECTION ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-benefits { display: flex; flex-direction: column; gap: 16px; margin: 28px 0; }
.benefit-item { display: flex; gap: 14px; align-items: flex-start; }
.benefit-icon {
  width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--accent-light);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.benefit-item strong { display: block; font-size: 15px; margin-bottom: 2px; }
.benefit-item p { font-size: 13px; color: var(--text-secondary); }

.direct-buttons { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.btn-social {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
  border-radius: var(--radius-md); font-size: 14px; font-weight: 600; text-decoration: none;
}
.btn-social.tg { background: #e6f4fd; color: #2aabee; }
.btn-social.wa { background: #e9f9ef; color: #25d366; }
.btn-social:hover { opacity: 0.9; }

.contact-form-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px; font-size: 14px; font-family: inherit;
  color: var(--text-primary); background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); outline: none; transition: border-color 0.15s, background 0.15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); background: #ffffff; }
.form-textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 11px; color: var(--text-muted); margin-top: 12px; text-align: center; }

.alert-success {
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a;
  padding: 32px; border-radius: var(--radius-md); text-align: center;
}
.alert-success i { font-size: 48px; margin-bottom: 12px; }
.alert-success h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: #16a34a; }

/* ─── FOOTER ─── */
.footer { background: var(--text-primary); color: rgba(255,255,255,0.7); padding: 64px 24px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.5); margin: 16px 0 24px; max-width: 320px; line-height: 1.6; }
.footer-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: white; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; transition: color 0.15s; }
.footer-links a:hover { color: white; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact-item i {
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-contact-item span {
  color: rgba(255, 255, 255, 0.85);
}

.footer-socials { display: flex; gap: 10px; }

.footer-socials a {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.1);
  color: white; display: flex; align-items: center; justify-content: center;
  font-size: 18px; text-decoration: none; transition: background 0.15s;
}
.footer-socials a:hover { background: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; font-size: 13px;
}
.admin-link { color: rgba(255,255,255,0.4); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.admin-link:hover { color: white; }

/* ─── RESPONSIVE BREAKPOINTS ─── */
@media (max-width: 1000px) {
  .forwhom-grid, .how-grid { grid-template-columns: repeat(2, 1fr); }
  .result-grid, .reviews-grid, .other-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .hero-content {
    display: contents;
  }
  .hero-visual {
    order: 1;
    margin: 0 0 20px 0;
    width: 100%;
  }
  .hero-badge-green {
    order: 2;
    align-self: flex-start;
  }
  .hero-title {
    order: 3;
    margin-bottom: 12px;
  }
  .hero-image-box {
    max-width: 360px !important;
    margin: 0 auto;
  }
  .hero-image-box img {
    height: 350px !important;
  }
  .hero-sub {
    order: 4;
    margin-bottom: 20px;
  }
  .hero-actions {
    order: 5;
    margin-bottom: 24px;
    width: 100%;
    flex-direction: column;
  }
  .hero-actions .btn-primary-lg,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    order: 6;
    gap: 16px;
    justify-content: space-between;
    width: 100%;
  }
  .contact-grid { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .header-phone { display: none; }
  .container { padding: 0 16px; }
  .forwhom-grid, .how-grid, .result-grid, .reviews-grid, .other-grid, .blog-grid, .service-cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .hero-section { padding: 40px 0; }
}

/* ─── OTHER SERVICES GRID & CARDS ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.service-card {
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md), 0 12px 24px -8px rgba(37, 99, 235, 0.15);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: #ffffff;
}

.service-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 20px 0;
  line-height: 1.5;
  flex: 1;
}

.service-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.service-card:hover .service-link {
  gap: 10px;
}

/* ─── HERO LIVE STATUS BADGE & GLASSMORPHISM FLOATING CARDS ─── */
.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.1);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #22c55e;
  border-radius: 50%;
  animation: pulse-ring 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

/* Glassmorphism Badges */
.glass-badge {
  position: absolute;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(37, 99, 235, 0.1);
  padding: 10px 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: badgeFloat 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.glass-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.glass-badge-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.glass-badge-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.glass-badge-pos-1 {
  top: -15px;
  left: -25px;
  animation-delay: 0s;
}

.glass-badge-pos-2 {
  top: 40px;
  right: -20px;
  animation-delay: 1s;
}

.glass-badge-pos-3 {
  bottom: 60px;
  left: -30px;
  animation-delay: 2s;
}

.glass-badge-pos-4 {
  bottom: -15px;
  right: -10px;
  animation-delay: 3s;
}

@keyframes badgeFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

@media (max-width: 900px) {
  .desktop-btn { display: none; }
}

/* ─── MOBILE HAMBURGER BUTTON & SLIDE-OUT DRAWER ─── */
.mobile-menu-toggle {
  display: none;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid #d0e3ff;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  font-size: 22px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: var(--accent);
  color: #ffffff;
}

@media (max-width: 900px) {
  .mobile-menu-toggle { display: flex; }
  .nav { display: none; }
}

/* Backdrop Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Slide-out Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.mobile-menu-drawer.active {
  transform: translateX(0);
}

.mobile-menu-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-close {
  background: var(--bg);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  background: #f8fafc;
  border: 1px solid var(--border);
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.mobile-nav-link.has-accordion .accordion-arrow {
  transition: transform 0.2s ease;
}

.mobile-nav-link.has-accordion.active .accordion-arrow {
  transform: rotate(180deg);
}

.mobile-accordion-body {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0 8px 12px;
}

.mobile-accordion-body.active {
  display: flex;
}

.mobile-sub-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  background: #ffffff;
  border: 1px solid var(--border);
}

.mobile-sub-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.mobile-sub-title {
  font-size: 14px;
  font-weight: 700;
}

.mobile-sub-age {
  font-size: 11px;
  color: var(--text-muted);
}

.mobile-drawer-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.mobile-phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 14px;
}

.mobile-socials-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

/* ─── GLOBAL POPUP MODAL FORM ─── */
.form-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.form-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.form-modal-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.95);
  width: 500px;
  max-width: 92vw;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 32px 28px;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-modal-dialog.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.form-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.form-modal-close:hover {
  background: var(--accent-light);
  color: var(--accent);
}

/* ─── MEDIA & ADMIN MODAL OVERLAYS (HIDDEN BY DEFAULT) ─── */
.media-modal-overlay {
  display: none !important;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px);
  z-index: 99998; opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
}
.media-modal-overlay.active { display: block !important; opacity: 1; visibility: visible; }

.media-modal-dialog {
  display: none !important;
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 820px; max-width: 94vw; max-height: 85vh;
  background: #ffffff; border-radius: 16px; border: 1.5px solid var(--border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 24px; z-index: 99999; opacity: 0; visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); flex-direction: column;
}
.media-modal-dialog.active {
  display: flex !important; opacity: 1; visibility: visible;
}


.form-modal-header {
  margin-bottom: 24px;
}

.form-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 6px 0;
}

.form-modal-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ─── FLOATING CONTACT WIDGET ─── */
.floating-contact-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99999;
}
.floating-main-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.floating-main-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 30px -5px rgba(37, 99, 235, 0.6);
}
.floating-pulse-ring {
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border-radius: 50%;
  border: 2px solid #2563eb;
  animation: floatPulse 2s infinite cubic-bezier(0.45, 0, 0.55, 1);
  pointer-events: none;
}
@keyframes floatPulse {
  0% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); }
  70% { transform: scale(1.2); opacity: 0; box-shadow: 0 0 0 16px rgba(37, 99, 235, 0); }
  100% { transform: scale(0.95); opacity: 0; box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.floating-main-btn .icon-close { display: none; }
.floating-contact-widget.active .floating-main-btn .icon-open { display: none; }
.floating-contact-widget.active .floating-main-btn .icon-close { display: block; }
.floating-contact-widget.active .floating-main-btn {
  background: #1e293b;
  transform: rotate(90deg);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.4);
}
.floating-contact-widget.active .floating-pulse-ring { display: none; }

/* FLOATING WIDGET MENU POPUP */
.floating-widget-menu {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 310px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.22);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.95);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100000;
}
.floating-contact-widget.active .floating-widget-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.floating-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.floating-menu-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 2px;
}
.floating-menu-close:hover { color: var(--text-primary); }

.floating-menu-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.floating-messenger-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.floating-messenger-link:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: var(--accent);
  transform: translateX(-2px);
}
.floating-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.floating-icon-box img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.floating-messenger-link.phone-link .floating-icon-box {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #16a34a;
}
.floating-link-title {
  flex: 1;
}
.floating-link-arrow {
  font-size: 14px;
  color: var(--text-muted);
  transition: transform 0.15s ease;
}
.floating-messenger-link:hover .floating-link-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.floating-cta-btn {
  width: 100%;
  margin-top: 4px;
  padding: 10px;
  border-radius: 10px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s ease;
}
.floating-cta-btn:hover {
  background: #1d4ed8;
}

@media (max-width: 768px) {
  .floating-contact-widget {
    bottom: 20px;
    right: 20px;
  }
  .floating-main-btn {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }
  .floating-widget-menu {
    width: 280px;
    bottom: 64px;
    right: 0;
  }
}




