/* ===================================================
   SANDVIA — Premium Fintech Design System
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ===== VARIABLES ===== */
:root {
  --bg:           #ffffff;
  --bg-subtle:    #f9fafb;
  --bg-card:      #ffffff;
  --text:         #111827;
  --text-body:    #111827;
  --text-muted:   #4b5563;
  --border:       #e5e7eb;
  --accent:       #16a34a;
  --accent-btn:   #2d6a2d;
  --accent-dark:  #1e5c1e;
  --accent-light: #f0fdf4;
  --navy:         #1e2d3d;
  --navy-hover:   #2d3f52;
  --danger:       #dc2626;
  --font:         system-ui, -apple-system, sans-serif;
  --font-serif:   Georgia, 'Times New Roman', serif;
  --ease:         0.15s ease;
}


/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}


a { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: pointer; }
img { max-width: 100%; display: block; }

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: normal;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--text);
}
h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: normal;
  letter-spacing: -0.3px;
  line-height: 1.25;
  color: var(--text);
}
h3 { font-size: 1.4rem; font-weight: 600; color: var(--text); }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
nav {
  height: 64px;
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  height: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #ffffff;
  flex-shrink: 0;
  margin-left: 0;
  padding-left: 0;
}

.nav-links {
  display: flex;
  gap: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  padding: 6px 14px;
  border-radius: 4px;
  transition: color var(--ease), background var(--ease);
}
.nav-links a:hover, .nav-links a.active {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 400;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font);
}
.lang-btn.active {
  color: #ffffff;
  font-weight: 700;
}
.lang-btn:hover {
  color: #ffffff;
}


.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-mobile-menu {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 12px 20px 16px;
  flex-direction: column;
  gap: 2px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  padding: 10px 12px;
  border-radius: 4px;
  transition: all var(--ease);
}
.nav-mobile-menu a:hover { color: white; background: rgba(255,255,255,0.08); }

/* ===== HERO ===== */
.hero {
  background: #ffffff;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 80px 24px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.hero-content h1 {
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(3.6rem, 6.75vw, 5.1rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-family: 'Inter', sans-serif;
    font-size: 2.1rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 12px;
  }
}

.hero-subtitle, .hero p {
  font-size: 1.2rem;
  color: #374151;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 500px;
}

.hero-trust {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  color: #4b5563;
}
.trust-item .trust-check { color: #16a34a; font-weight: 600; }

.hero-mobile-preview {
  display: none;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-btn);
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 4px;
  transition: all 0.2s ease;
  border: none;
}
.hero-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45,106,45,0.3);
}

/* Hero preview card — light on white */
.hero-preview {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
  animation: float 5s ease-in-out infinite;
}

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

/* Hero preview metric overrides (punch through inline styles) */
.hero-preview > div:nth-child(2) > div > div:first-child {
  font-size: 12px !important;
}
.hero-preview > div:nth-child(2) > div:first-child > div:last-child {
  font-size: 2.4rem !important;
  font-weight: 800 !important;
  color: #16a34a !important;
  letter-spacing: -0.5px !important;
  line-height: 1 !important;
}
.hero-preview > div:nth-child(2) > div:last-child > div:last-child {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: #111827 !important;
  letter-spacing: -0.5px !important;
  line-height: 1 !important;
}


/* ===== SOCIAL PROOF BAR ===== */
.social-bar {
  background: #0f1f0f;
  padding: 18px 24px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.social-bar-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.counter-number {
  font-size: 20px;
  font-weight: 700;
  color: #16a34a;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}
.counter-label {
  font-size: 14px;
  color: #4b5563;
}

/* ===== SECTION HEADERS ===== */
.section-wrap { padding: 100px 24px; }
.section-wrap.gray { background: var(--bg-subtle); }

.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #16a34a;
  margin-bottom: 12px;
}

.tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: #e5e7eb;
  color: #6b7280;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 6px;
  position: relative;
}
.tooltip-icon:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 400;
  width: 220px;
  text-align: left;
  line-height: 1.5;
  z-index: 100;
  white-space: normal;
}
.tooltip-icon:hover::before {
  content: '';
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #111827;
  z-index: 100;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-head p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 440px;
  margin: 12px auto 0;
  line-height: 1.6;
}

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  cursor: pointer;
}
.service-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 20px 60px rgba(0,0,0,0.09);
  transform: translateY(-4px);
}

.svc-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}
.svc-icon.dark {
  background: #0f1f0f;
  color: #16a34a;
}
.svc-icon.light {
  background: var(--accent-light);
  border: 1px solid #bbf7d0;
  color: #0f1f0f;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 28px;
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--ease);
}
.svc-link:hover { gap: 14px; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
}
.feat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  margin: 0 auto 20px;
  color: #0f1f0f;
}
.feature-card h3 { font-size: 15px; margin-bottom: 8px; }
.feature-card p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; }

/* ===== PAGE BACKGROUND ===== */
.page-bg {
  background: var(--bg-subtle);
  padding: 56px 24px 80px;
  min-height: calc(100vh - 64px);
}

/* ===== PAGE HEADER (above form card) ===== */
.page-header {
  text-align: center;
  margin-bottom: 36px;
}
.page-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.page-header p { font-size: 15px; color: var(--text-muted); }

/* ===== FORM CARD ===== */
.form-card {
  background: var(--bg-card);
  max-width: 520px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 44px 48px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06), 0 0 0 1px var(--border);
  border: none;
}

/* ===== PROGRESS BAR ===== */
.progress-wrap { margin-bottom: 36px; }

.progress-bar-bg {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.step-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ===== STEP CONTENT ===== */
.calc-step h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  line-height: 1.3;
}
.help-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.55;
}

/* ===== OPTION CARDS ===== */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}
.option-card {
  border: 2px solid var(--border);
  background: var(--bg-card);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--ease);
  user-select: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.option-card:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.option-card.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}

/* ===== INPUTS ===== */
.input-wrapper { margin-bottom: 20px; }

.input-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  margin-bottom: 6px;
  letter-spacing: 0;
  text-transform: none;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #d1d5db;
  border-radius: 0;
  font-size: 16px;
  font-family: var(--font);
  color: var(--text);
  background: transparent;
  transition: border-color var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

input:focus, select:focus {
  outline: none;
  border-bottom-color: var(--accent);
  box-shadow: none;
}

/* Section label inside forms */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ===== BUTTONS ===== */
.form-nav {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}

.btn-next {
  flex: 1;
  background: var(--navy);
  color: white;
  padding: 13px 24px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
  font-family: var(--font);
}
.btn-next:hover {
  background: var(--navy-hover);
  transform: translateY(-1px);
}

.btn-back {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--ease);
  min-height: 44px;
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.btn-back:hover {
  background: var(--bg-subtle);
  color: var(--text);
}

.btn-full {
  width: 100%;
  background: var(--navy);
  color: white;
  padding: 14px 24px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
  font-family: var(--font);
  margin-top: 16px;
}
.btn-full:hover {
  background: var(--navy-hover);
  transform: translateY(-1px);
}

/* ===== CHECKBOX ===== */
.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-top: 20px;
}
.checkbox-container input { display: none; }

.custom-checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 5px;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  transition: all var(--ease);
}
.checkbox-container input:checked + .custom-checkmark {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox-container input:checked + .custom-checkmark::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== IN-FORM RESULT (step 6) ===== */
.status-banner {
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 20px;
}
.status-banner h2, .status-banner * {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
.status-banner.success {
  background: var(--accent-light);
  border: 1px solid #bbf7d0;
  color: #15803d;
}
.status-banner.fail {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--danger);
}

.metric-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 10px 0;
}
.metric-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 4px;
}
.metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.5px;
}

.breakdown-toggle {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-family: var(--font);
}
.breakdown-content {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 16px;
  font-size: 13px;
  font-family: monospace;
  line-height: 2;
  white-space: pre;
  color: var(--text);
  overflow-x: auto;
}
.info-box {
  font-size: 13px;
  color: var(--text-muted);
  padding: 12px 16px;
  background: var(--bg-subtle);
  border-radius: 8px;
  line-height: 1.6;
  margin: 16px 0;
}

/* ===== RESULT PAGE ===== */
.result-wrap {
  max-width: 560px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.07), 0 0 0 1px var(--border);
}

.result-top {
  padding: 44px 40px 36px;
  text-align: center;
}
.result-top.success {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-bottom: 1px solid #bbf7d0;
}
.result-top.fail {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-bottom: 1px solid #fecaca;
}

.result-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 20px;
  animation: popIn 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.result-icon-circle.success { background: #16a34a; color: white; }
.result-icon-circle.fail    { background: var(--danger); color: white; }

.result-top h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.result-top.success h2 { color: #14532d; }
.result-top.fail h2    { color: #7f1d1d; }
.result-top p { font-size: 14px; color: var(--text-muted); }

.result-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.result-metric {
  padding: 28px 32px;
  border-right: 1px solid var(--border);
}
.result-metric:last-child { border-right: none; }
.res-metric-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 8px;
}
.res-metric-value {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #111827;
  line-height: 1;
}
.result-metric:first-child .res-metric-value { color: #16a34a; }
.res-metric-unit {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0;
}

.result-next {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding: 32px 40px;
}

.result-next h3 {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.result-next p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.expert-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.expert-avatar {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.expert-name { font-size: 15px; font-weight: 600; color: var(--text); }
.expert-role { font-size: 12px; color: var(--text-muted); }
.expert-cta {
  margin-left: auto;
  background: var(--accent);
  color: white;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--ease);
  flex-shrink: 0;
}
.expert-cta:hover { background: var(--accent-dark); }

.result-body {
  padding: 20px 40px 28px;
  background: var(--bg-card);
}
.result-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
  padding: 14px 16px;
  background: var(--bg-subtle);
  border-radius: 8px;
  margin-bottom: 16px;
}
.result-back-link {
  display: block;
  text-align: center;
  padding: 13px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--ease);
}
.result-back-link:hover {
  background: var(--bg-subtle);
  color: var(--text);
}

/* ===== SELL RESULT ===== */
.confirm-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: var(--bg-subtle);
}
.confirm-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px 48px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}
.confirm-icon {
  width: 72px;
  height: 72px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
  border: 2px solid #bbf7d0;
  animation: popIn 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
.confirm-card h1 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.confirm-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.btn-home {
  display: inline-block;
  background: var(--navy);
  color: white;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-home:hover {
  background: var(--navy-hover);
  transform: translateY(-1px);
}

/* ===== ABOUT PAGE ===== */
.about-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 64px 24px 40px;
}
.about-page > .about-intro {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 64px;
}

.about-block { margin-bottom: 64px; }
.about-block-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.about-block h2 { margin-bottom: 32px; }

.about-steps { display: flex; flex-direction: column; }

.about-step {
  display: flex;
  gap: 20px;
  position: relative;
}
.about-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 42px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.step-num {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg-subtle);
}
.step-body {
  padding-top: 8px;
  padding-bottom: 36px;
}
.step-body h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.step-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.legal-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
}
.legal-box h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.legal-box p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  padding: 48px 32px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.footer-tagline {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  line-height: 1.6;
  max-width: 260px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  background: #16a34a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  width: fit-content;
  margin-top: 4px;
}

.footer-links-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-col-title {
  color: rgba(255,255,255,0.35);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  text-decoration: none;
}

.footer-nav a:hover { color: #fff; }

.footer-contact-item {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copy {
  color: rgba(255,255,255,0.3);
  font-size: 11px;
}

.footer-policies {
  display: flex;
  gap: 16px;
}

.footer-policy-link {
  color: rgba(255,255,255,0.3);
  font-size: 11px;
  text-decoration: none;
}

.footer-policy-link:hover { color: rgba(255,255,255,0.6); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 32px 20px 40px; min-height: auto; }
  .hero-preview { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; gap: 4px; margin-top: 14px; margin-bottom: 0; }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 16px; }
  .trust-item { font-size: 0.85rem; }
  .hero-badge { margin-bottom: 12px; }
  .hero-mobile-preview { margin-top: 12px; }
  .hero-mobile-preview {
    display: block;
    margin-top: 32px;
    width: 100%;
  }
  .hero-mobile-preview-inner {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  }
  .preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 16px;
  }
  .preview-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
  }
  .preview-metric {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
  }
  .preview-metric.green { background: #f0fdf4; border-color: #bbf7d0; }
  .preview-metric.green .preview-value { color: #16a34a; }
  .preview-label {
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
  }
  .preview-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
  }
  .preview-qualify {
    font-size: 13px;
    color: #111827;
    font-weight: 600;
    margin-bottom: 4px;
  }
  .preview-check {
    background: #16a34a;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-right: 6px;
  }
  .preview-disclaimer {
    display: block !important;
    font-size: 11px;
    color: #6b7280;
    margin: 4px 0 8px 0;
    line-height: 1.4;
  }
  .preview-btn {
    display: block;
    background: #1f4d1f;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    padding: 14px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: 14px;
  }
  .preview-btn:hover { background: #15803d; }
  .hero-right, .hero-card, .result-preview-card, .hero-result-preview { display: none !important; }

  .section-wrap { padding: 64px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 14px; }

  .form-card { padding: 32px 24px; border-radius: 16px; }

  .result-metrics { grid-template-columns: 1fr; }
  .result-metric { border-right: none; border-bottom: 1px solid var(--border); }
  .result-metric:last-child { border-bottom: none; }
  .result-body { padding: 24px; }
  .result-next { padding: 24px; }
  .expert-row { flex-wrap: wrap; }

  footer { padding: 32px 16px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-links-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { margin-top: 24px; flex-direction: column; align-items: flex-start; gap: 12px; }

  .about-page { padding: 40px 20px 60px; }
  .confirm-card { padding: 40px 28px; }
}

@media (max-width: 480px) {
  .res-metric-value { font-size: 1.9rem; }
  .result-top { padding: 32px 24px 28px; }
}

.reviews-outer { overflow: hidden; }
.reviews-track { display: flex; gap: 14px; transition: transform 0.35s cubic-bezier(.4,0,.2,1); }
.review-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; }
.review-stars { color: #16a34a; font-size: 13px; letter-spacing: 1px; }
.review-text { font-size: 14px; color: #374151; line-height: 1.65; flex: 1; margin: 0; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 34px; height: 34px; border-radius: 50%; background: #e8f5e9; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: #2d6a2d; flex-shrink: 0; }
.review-name { font-size: 13px; font-weight: 600; color: #111827; }
.review-loc { font-size: 12px; color: #6b7280; }
.reviews-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.reviews-btn { background: none; border: 1px solid #e5e7eb; border-radius: 50%; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; transition: background 0.15s; }
.reviews-btn:hover { background: #f9fafb; }
.reviews-btn:disabled { opacity: 0.3; cursor: default; }
.reviews-dots { display: flex; gap: 6px; align-items: center; }
.reviews-dot { width: 7px; height: 7px; border-radius: 50%; background: #d1d5db; transition: background 0.2s, width 0.2s; cursor: pointer; }
.reviews-dot.active { background: #16a34a; width: 18px; border-radius: 4px; }

@media (max-width: 768px) { .hero-contacts { display: none; } }



