/* ========================================
   EXITBIZ — Main Stylesheet
   ======================================== */

:root {
  --green: #1E40AF;
  --green-dark: #1E3A8A;
  --green-light: #DBEAFE;
  --green-mid: #93C5FD;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.15);
  --bg: #F8FAFF;
  --bg-white: #ffffff;
  --bg-surface: #EFF6FF;
  --surface-dark: #0F172A;
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: 'Sora', sans-serif;
  --font-body: 'Sora', sans-serif;
  --nav-height: 80px;
  --max-width: 1100px;
  --nav-bg: rgba(248,250,255,0.85);
}

html[data-theme="dark"] {
  --green: #3B82F6;
  --green-dark: #60A5FA;
  --green-light: rgba(59,130,246,0.15);
  --green-mid: #93C5FD;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: rgba(255,255,255,0.1);
  --border-hover: rgba(255,255,255,0.2);
  --bg: #0F172A;
  --bg-white: #1E293B;
  --bg-surface: #1E293B;
  --surface-dark: #020817;
  --nav-bg: rgba(15,23,42,0.85);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 300; line-height: 1.15; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #fff;
  padding: 10px 22px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.1px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }
.btn-large { padding: 14px 28px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-sm); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: 99px;
  border: 1px solid var(--border-hover);
  font-size: 14px;
  font-weight: 400;
  transition: border-color 0.2s, color 0.2s;
  background: transparent;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}
.logo span { color: var(--green); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 400;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text-primary); }
/* ---- LANGUAGE SELECTOR ---- */
.lang-selector { display: flex; gap: 0; background: var(--bg-surface); border-radius: var(--radius-sm); padding: 2px; }
.lang-btn {
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: calc(var(--radius-sm) - 2px);
  transition: color 0.15s, background 0.15s;
  font-family: var(--font-body);
}
.lang-btn:hover { color: var(--text-secondary); }
.lang-btn.active { background: var(--bg-white); color: var(--green); box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
/* ---- NAV DROPDOWN ---- */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 0;
  transition: color 0.2s;
}
.nav-dropdown-trigger:hover { color: var(--text-primary); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  min-width: 220px;
  padding: 6px;
  padding-top: 18px; /* bridge the visual gap — prevents hover loss */
  margin-top: -6px;  /* overlap trigger slightly */
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
  padding: 9px 12px;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--bg-surface); color: var(--green); }

/* mobile section titles */
.mobile-section-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  padding: 8px 0 4px;
  margin-top: 4px;
}

.lang-btn:hover { border-color: var(--green); color: var(--green); }
.theme-btn {
  font-size: 15px;
  padding: 5px 10px;
  border: 1px solid var(--border-hover);
  border-radius: 99px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  line-height: 1;
}
.theme-btn:hover { border-color: var(--green); transform: rotate(15deg); }

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text-primary); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-white);
  padding: calc(var(--nav-height) + 1.5rem) 2rem 2rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 98;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; transform: translateY(0); }
.mobile-link { font-size: 16px; color: var(--text-secondary); padding: 8px 0; border-bottom: 1px solid var(--border); }
.mobile-cta { margin-top: 0.5rem; text-align: center; }
.mobile-lang-selector { margin: 0.5rem 0; }
.mobile-lang-selector .lang-btn { padding: 8px 20px; font-size: 13px; }

/* ---- HERO ---- */
.hero {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 4rem;
  padding-left: 2rem;
  padding-right: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 3rem;
  align-items: start;
  min-height: auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-title {
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
  color: var(--text-primary);
}
.hero-title .line-1 { display: block; }
.hero-title em {
  display: block;
  font-style: normal;
  color: var(--green);
  font-weight: 600;
}
.hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 440px;
}
.hero-checks {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  color: var(--text-secondary);
}
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* hero visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
  align-self: start;
}
.doc-card {
  position: absolute;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  min-width: 200px;
  animation: float 6s ease-in-out infinite;
}
.doc-card.doc-1 { top: 40px; left: 20px; animation-delay: 0s; }
.doc-card.doc-2 { top: 150px; right: 0; animation-delay: 1.5s; }
.doc-card.doc-3 { bottom: 60px; left: 40px; animation-delay: 3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.doc-icon { font-size: 22px; }
.doc-name { font-size: 13px; font-weight: 500; color: var(--text-primary); margin-bottom: 4px; }
.doc-status { font-size: 11px; font-weight: 500; border-radius: 99px; padding: 2px 8px; display: inline-block; }
.status-done { background: var(--green-light); color: var(--green-dark); }
.status-progress { background: #FFF3CD; color: #856404; }

.hero-stat-card {
  position: absolute;
  bottom: 30px;
  right: 10px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  animation: float 6s ease-in-out infinite;
  animation-delay: 2s;
}
.hero-stat-num { font-family: var(--font-display); font-size: 36px; font-weight: 600; line-height: 1; }
.hero-stat-label { font-size: 11px; opacity: 0.85; margin-top: 4px; }

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--surface-dark);
  color: #fff;
  padding: 2rem;
}
.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -0.5px; }
.stat-label { font-size: 14px; opacity: 0.6; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* ---- SECTIONS ---- */
.section { padding: 5rem 2rem; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.section-header p { font-size: 17px; color: var(--text-secondary); }

/* ---- HOW IT WORKS ---- */
.how-it-works { background: var(--bg-surface); }
.steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.step-card {
  flex: 1;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.step-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-4px); }
.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -2px;
}
.step-card:hover .step-number { color: var(--green-mid); }
.step-content h3 { font-size: 21px; font-weight: 400; margin-bottom: 0.5rem; }
.step-content p { font-size: 16px; color: var(--text-secondary); line-height: 1.65; }
.step-arrow {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: var(--green-mid);
  font-size: 24px;
  flex-shrink: 0;
  padding-top: 2rem;
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-4px); }
.service-card.featured { border-color: var(--green); }
.service-icon { font-size: 28px; margin-bottom: 1rem; display: block; }
.service-card h3 { font-size: 20px; font-weight: 400; margin-bottom: 0.5rem; }
.service-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.25rem; }
.btn-service {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  border: 1.5px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 7px 16px;
  transition: background 0.18s, color 0.18s;
}
.btn-service:hover { background: var(--green); color: #fff; }
.service-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 3px 10px;
  border-radius: 99px;
  margin-top: 1rem;
}

/* ---- CTA / FORM ---- */
.cta-section { background: var(--bg-surface); }
.cta-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.cta-text h2 { font-size: clamp(30px, 3.5vw, 44px); font-weight: 300; margin-bottom: 0.75rem; letter-spacing: -0.5px; }
.cta-text p { font-size: 16px; color: var(--text-secondary); line-height: 1.65; }

/* form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text-primary); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29,158,117,0.1);
}
.form-group input.error,
.form-group select.error { border-color: #e24b4a; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a5a5a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

/* toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: var(--surface-dark);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 400;
  z-index: 999;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  max-width: 320px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--green-dark); }
.toast.error { background: #a32d2d; }

/* ---- FOOTER ---- */
.footer { background: var(--surface-dark); color: rgba(255,255,255,0.75); padding: 4rem 2rem 0; }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-brand .logo { color: #fff; font-size: 22px; margin-bottom: 0.75rem; display: block; }
.footer-brand .logo span { color: var(--green-mid); }
.footer-brand p { font-size: 13px; line-height: 1.65; max-width: 240px; }
.footer-links { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 12px; font-weight: 500; color: #fff; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 0;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ---- MOBILE CUI SECTION ---- */
.mobile-cui-section { display: none; padding: 0 1.5rem 2rem; }
.mobile-cui-section .cui-lookup-card { width: 100%; }

/* ---- LANG POPUP ---- */
.lang-popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 9999;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.lang-popup-overlay.hidden { display: none; }
.lang-popup {
  background: var(--bg-white); border-radius: var(--radius); padding: 2.5rem 2rem;
  max-width: 360px; width: 100%; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.lang-popup h3 { font-size: 20px; font-weight: 400; color: var(--text-primary); margin-bottom: 0.5rem; }
.lang-popup p { font-size: 14px; color: var(--text-secondary); margin-bottom: 1.75rem; line-height: 1.6; }
.lang-popup-btns { display: flex; gap: 12px; justify-content: center; }
.lang-popup-btn {
  flex: 1; padding: 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--border-hover);
  font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.15s;
  background: transparent; color: var(--text-primary);
}
.lang-popup-btn:hover { border-color: var(--green); color: var(--green); background: var(--green-light); }

/* ---- CC HERO CARD (multi-step) ---- */
.cc-hero-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: 0 4px 20px rgba(0,0,0,0.06); max-height: 580px; overflow-y: auto; }
.ccs-main-title { font-size: 17px; font-weight: 700; color: var(--text-primary); text-align: center; margin-bottom: 4px; }
.ccs-main-sub { font-size: 13px; color: var(--text-secondary); text-align: center; margin-bottom: 1rem; line-height: 1.5; }
.cc-hero-card-title { font-size: 16px; font-weight: 700; color: var(--text-primary); text-align: center; margin-bottom: 1rem; }
/* CCS Stepper */
.ccs-stepper { display: flex; flex-direction: column; }
.ccs-step-row { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.ccs-col { display: flex; flex-direction: column; align-items: center; }
.ccs-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--border); background: var(--bg); color: var(--text-muted); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s; }
.ccs-line { width: 2px; flex: 1; min-height: 12px; background: var(--border); margin: 3px 0; }
.ccs-step-row.done .ccs-dot { background: var(--green); border-color: var(--green); color: #fff; font-size: 0; }
.ccs-step-row.done .ccs-dot::after { content: '✓'; font-size: 11px; }
.ccs-step-row.done .ccs-line { background: var(--green); }
.ccs-step-row.active .ccs-dot { border-color: var(--green); color: var(--green); background: var(--green-light); }
.ccs-content { padding-bottom: 8px; }
.ccs-label { font-size: 13px; font-weight: 600; color: var(--text-secondary); padding: 3px 0 2px; }
.ccs-step-row.active .ccs-label { color: var(--text-primary); }
.ccs-step-row.done .ccs-label { color: var(--green); font-size: 12px; }
.ccs-sublabel { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.ccs-firm-box { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 10px; font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; line-height: 1.5; }
.ccs-doc-box { background: var(--bg-surface); border: 1.5px solid var(--green); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 13px; font-weight: 500; color: var(--text-primary); display: flex; justify-content: space-between; margin-top: 6px; }
.ccs-doc-box span { color: var(--green); font-weight: 700; }
.ccs-lbl { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; color: var(--text-secondary); }
.ccs-hint { font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.ccs-error { font-size: 11px; color: #e53e3e; margin-top: 3px; }
.ccs-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.ccs-total-bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid var(--border); margin: 10px 0 6px; font-size: 13px; color: var(--text-secondary); }
.ccs-total-amount { font-size: 16px; font-weight: 700; color: var(--text-primary); }

/* ---- CERTIFICAT CONSTATATOR WIDGET ---- */
.ccw-section { background: var(--bg-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 4rem 2rem; }
.ccw-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 440px; gap: 4rem; align-items: start; }
.ccw-title { font-size: clamp(24px, 3.5vw, 38px); font-weight: 300; color: var(--text-primary); margin: 0.75rem 0 1.5rem; line-height: 1.2; }
.ccw-title span { color: var(--green); font-weight: 600; }
.ccw-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 2rem; }
.ccw-list li { font-size: 15px; color: var(--text-secondary); padding-left: 1.5rem; position: relative; }
.ccw-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.ccw-trust { display: flex; gap: 1rem; flex-wrap: wrap; }
.ccw-trust-badge { display: flex; align-items: center; gap: 8px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 14px; font-size: 12px; color: var(--text-secondary); }
.ccw-ssl { font-size: 14px; }

/* Card */
.ccw-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; box-shadow: 0 8px 32px rgba(0,0,0,0.07); }
.ccw-card-title { font-size: 17px; font-weight: 600; color: var(--text-primary); margin-bottom: 1.5rem; text-align: center; }

/* Stepper */
.ccw-step-row { display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.ccw-step-col { display: flex; flex-direction: column; align-items: center; }
.ccw-step-circle { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); background: var(--bg); color: var(--text-muted); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s; }
.ccw-step-line { width: 2px; flex: 1; min-height: 16px; background: var(--border); margin: 4px 0; }
.ccw-step-row.done .ccw-step-circle { background: var(--green); border-color: var(--green); color: #fff; }
.ccw-step-row.done .ccw-step-circle::after { content: '✓'; }
.ccw-step-row.done .ccw-step-circle { font-size: 0; }
.ccw-step-row.done .ccw-step-line { background: var(--green); }
.ccw-step-row.active .ccw-step-circle { border-color: var(--green); color: var(--green); background: var(--green-light); }
.ccw-step-content { padding-bottom: 1rem; }
.ccw-step-label { font-size: 13px; font-weight: 600; color: var(--text-secondary); padding: 4px 0 8px; }
.ccw-step-row.active .ccw-step-label { color: var(--text-primary); }
.ccw-step-row.done .ccw-step-label { color: var(--green); }

/* Form elements */
.ccw-input-wrap { display: flex; gap: 8px; margin-bottom: 10px; }
.ccw-input { flex: 1; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; font-family: var(--font-body); background: var(--bg); color: var(--text-primary); transition: border-color 0.15s; width: 100%; }
.ccw-input:focus { outline: none; border-color: var(--green); }
.ccw-select { width: 100%; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; font-family: var(--font-body); background: var(--bg); color: var(--text-primary); }
.ccw-btn-sm { padding: 9px 14px; font-size: 13px; white-space: nowrap; flex-shrink: 0; }
.ccw-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; color: var(--text-secondary); display: block; margin-bottom: 5px; }
.ccw-hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.ccw-input-group { margin-bottom: 10px; }
.ccw-error { font-size: 12px; color: #e53e3e; margin-bottom: 8px; }

/* Firm result */
.ccw-firm-box { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 10px; }
.ccw-firm-name { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.ccw-firm-meta { font-size: 11px; color: var(--text-secondary); line-height: 1.5; }

/* Radio options */
.ccw-radio-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.ccw-radio { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: all 0.15s; }
.ccw-radio:hover { border-color: var(--green); }
.ccw-radio.selected { border-color: var(--green); background: var(--green-light); }
.ccw-radio-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; margin-top: 2px; transition: all 0.15s; }
.ccw-radio.selected .ccw-radio-dot { border-color: var(--green); background: var(--green); }
.ccw-radio-name { font-size: 13px; font-weight: 500; color: var(--text-primary); }
.ccw-radio-price { font-size: 12px; color: var(--green); font-weight: 600; }
.ccw-radio-sub { font-size: 11px; color: var(--text-secondary); }

/* Navigation */
.ccw-step-nav { display: flex; gap: 8px; margin-top: 12px; justify-content: flex-end; }
.ccw-btn-back { padding: 8px 14px; font-size: 13px; background: transparent; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-secondary); cursor: pointer; font-family: var(--font-body); }
.ccw-btn-back:hover { border-color: var(--text-secondary); }
.ccw-btn-next { padding: 8px 18px; font-size: 13px; }

/* Doc selected display */
.ccw-doc-selected { background: var(--bg-surface); border: 1.5px solid var(--green); border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.ccw-doc-name { font-size: 13px; font-weight: 500; color: var(--text-primary); }

/* Required star */
.ccw-required { color: #e53e3e; }

/* Field error */
.ccw-field-error { font-size: 11px; color: #e53e3e; margin-top: 4px; display: none; }
.ccw-input-error { border-color: #e53e3e !important; }

/* Urgent box */
.ccw-urgent-box { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 12px; }
.ccw-toggle-row { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.ccw-toggle-wrap { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.ccw-toggle-wrap input { opacity: 0; width: 0; height: 0; position: absolute; }
.ccw-toggle-slider { position: absolute; inset: 0; background: var(--border-hover); border-radius: 99px; transition: background 0.2s; }
.ccw-toggle-slider::before { content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: transform 0.2s; }
.ccw-toggle-wrap input:checked + .ccw-toggle-slider { background: var(--green); }
.ccw-toggle-wrap input:checked + .ccw-toggle-slider::before { transform: translateX(18px); }
.ccw-toggle-label { font-size: 13px; color: var(--text-primary); }
.ccw-urgent-desc { font-size: 12px; color: var(--text-secondary); margin-top: 8px; line-height: 1.5; }

/* Checkboxuri */
.ccw-checks { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.ccw-check-row { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; color: var(--text-secondary); cursor: pointer; line-height: 1.5; }
.ccw-check-row input[type=checkbox] { margin-top: 2px; flex-shrink: 0; accent-color: var(--green); width: 14px; height: 14px; }
.ccw-link { color: var(--green); text-decoration: underline; }

/* Total bar */
.ccw-total-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--border); margin-bottom: 12px; font-size: 14px; color: var(--text-secondary); }
.ccw-total-amount { font-size: 18px; font-weight: 700; color: var(--text-primary); }

@media (max-width: 900px) {
  .ccw-inner { grid-template-columns: 1fr; gap: 2rem; }
  .ccw-card { max-width: 480px; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: calc(var(--nav-height) + 3rem); gap: 2rem; }
  .hero-visual { display: flex; justify-content: center; width: 100%; padding: 0; }
  .cc-hero-card { max-height: none; width: 100%; max-width: 480px; }
  .mobile-cui-section { display: block; }
  .steps { flex-direction: column; }
  .step-arrow { padding: 0.5rem 0; transform: rotate(90deg); align-self: center; }
  .cta-box { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .stat-divider { display: none; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-ghost, .btn-primary { width: 100%; justify-content: center; }
  .footer-inner { flex-direction: column; gap: 2rem; }
  .footer-links { gap: 2rem; }
  .hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-badge { align-self: center; }
  .hero-checks { align-items: flex-start; width: auto; display: inline-flex; }
  .hero-checks li { text-align: left; }
  .hero-sub { max-width: 100%; }
  .hero-title { text-align: center; }
}

/* ---- WHATSAPP BUTTON ---- */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 13px 20px 13px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}
@media (max-width: 560px) {
  .whatsapp-btn { bottom: 20px; right: 16px; padding: 12px; border-radius: 50%; }
  .whatsapp-btn span { display: none; }
}

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
  z-index: 9999;
  padding: 1.25rem 2rem;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner.hidden { display: none; }
.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 220px; }
.cookie-text strong { font-size: 15px; font-weight: 600; color: var(--text-primary); display: block; margin-bottom: 4px; }
.cookie-text p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.cookie-policy-link { font-size: 12px; color: var(--green); text-decoration: underline; margin-top: 4px; display: inline-block; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn-decline { padding: 9px 18px; font-size: 13px; }
.cookie-btn-accept { padding: 9px 18px; font-size: 13px; }

/* ---- LEGAL PAGE ---- */
.legal-hero {
  padding: calc(var(--nav-height) + 3rem) 2rem 3rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.legal-hero-inner { max-width: 760px; margin: 0 auto; }
.legal-hero .section-tag { margin-bottom: 0.75rem; }
.legal-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 300; letter-spacing: -0.5px; margin-bottom: 0.5rem; }
.legal-hero p { font-size: 14px; color: var(--text-secondary); }
.legal-content { padding: 3rem 2rem 5rem; }
.legal-content-inner { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 20px; font-weight: 500; margin: 2.5rem 0 0.75rem; color: var(--text-primary); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { font-size: 15px; color: var(--text-secondary); line-height: 1.8; }
.legal-content a { color: var(--green); text-decoration: underline; }

/* ---- CUI LOOKUP WIDGET ---- */
.cui-lookup-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.07);
  max-width: 420px;
}
.cui-lookup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.cui-lookup-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.cui-lookup-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.cui-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}
.cui-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border-hover);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  transition: border-color 0.15s;
}
.cui-input:focus { outline: none; border-color: var(--green); }
.cui-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cui-tag {
  font-size: 11px;
  padding: 3px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--text-secondary);
}

/* CUI Modal */
.cui-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.cui-modal-overlay.open { display: flex; }
.cui-modal {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  position: relative;
}
.cui-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 16px;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.cui-modal-icon { font-size: 40px; margin-bottom: 1rem; }
.cui-modal h3 { font-size: 20px; font-weight: 400; margin-bottom: 0.75rem; color: var(--text-primary); }
.cui-modal p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }

/* ---- CTA TALLY SIDE ---- */
.cta-tally-side { display: flex; flex-direction: column; gap: 1.5rem; justify-content: center; }
.cta-benefits { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.cta-benefits li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-secondary); }

/* ---- FAQ ---- */
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; font-weight: 300; color: var(--green); flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { color: var(--green); }
.faq-item p { padding: 0 1.25rem 1.1rem; font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* ---- ANIMATIONS ---- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
</style>

/* ---- WHATSAPP QUALIFIER POPUP ---- */
#wa-qualify-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.55);
  align-items: center; justify-content: center;
  padding: 1rem;
}
#wa-qualify-overlay.open { display: flex; }
#wa-qualify-box {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  max-width: 480px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
#wa-qualify-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none; font-size: 18px;
  color: var(--text-muted); cursor: pointer; line-height: 1;
  padding: 4px 8px; border-radius: 6px;
}
#wa-qualify-close:hover { background: var(--bg-surface); color: var(--text-primary); }
#wa-qualify-wa-icon { text-align: center; margin-bottom: 0.5rem; }
#wa-qualify-title { text-align: center; font-size: 20px; font-weight: 600; margin-bottom: 4px; }
#wa-qualify-sub { text-align: center; font-size: 14px; color: var(--text-secondary); margin-bottom: 1.5rem; }
.wa-q-block { margin-bottom: 1.25rem; }
.wa-q-label { display: block; font-size: 14px; font-weight: 500; color: var(--text-primary); margin-bottom: 8px; }
.wa-q-opts { display: flex; flex-direction: column; gap: 6px; }
.wa-q-opt {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-secondary);
  padding: 8px 12px; border-radius: 8px;
  border: 1.5px solid var(--border);
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.wa-q-opt:hover { border-color: var(--green); background: var(--green-light); }
.wa-q-opt input[type="radio"] { accent-color: var(--green); flex-shrink: 0; }
.wa-q-opt:has(input:checked) { border-color: var(--green); background: var(--green-light); color: var(--text-primary); font-weight: 500; }
#wa-qualify-err { font-size: 13px; color: #e53e3e; margin-bottom: 0.75rem; min-height: 18px; }
#wa-qualify-submit {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25D366; color: #fff;
  border: none; border-radius: var(--radius-sm);
  padding: 13px 20px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
}
#wa-qualify-submit:hover { background: #1ebe5d; }
