/* ============================================================
   RLVC — R L Verma and Co Tax Consultants
   Design System — Apple-Inspired
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Colors */
  --bg:           #FFFFFF;
  --bg-2:         #F5F5F7;
  --bg-dark:      #1D1D1F;
  --text:         #1D1D1F;
  --text-2:       #6E6E73;
  --text-3:       #86868B;
  --accent:       #0C3C78;   /* Deep Navy — trust/authority for tax firm */
  --accent-h:     #0A3168;   /* Hover state */
  --accent-l:     #1A56A4;   /* Light variant */
  --whatsapp:     #25D366;
  --whatsapp-d:   #128C7E;
  --border:       #D2D2D7;
  --border-l:     #E8E8ED;
  --success:      #34C759;
  --error:        #FF3B30;
  --white:        #FFFFFF;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Spacing scale */
  --s1: 0.25rem;  --s2: 0.5rem;  --s3: 0.75rem; --s4: 1rem;
  --s5: 1.25rem;  --s6: 1.5rem;  --s8: 2rem;    --s10: 2.5rem;
  --s12: 3rem;    --s16: 4rem;   --s20: 5rem;   --s24: 6rem;

  /* Border radius */
  --r-sm: 8px;  --r-md: 12px;  --r-lg: 16px;
  --r-xl: 20px; --r-2xl: 28px; --r-full: 9999px;

  /* Shadows */
  --sh-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --sh-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --sh-lg: 0 12px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.05);
  --sh-xl: 0 24px 60px rgba(0,0,0,.12), 0 8px 20px rgba(0,0,0,.06);

  /* Transitions */
  --t: 0.3s ease;
  --tf: 0.15s ease;

  /* Layout */
  --max-w: 1200px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s6);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-full);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}

.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-h); transform: translateY(-1px); box-shadow: var(--sh-md); }

.btn-secondary { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-secondary:hover { background: var(--accent); color: var(--white); transform: translateY(-1px); }

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-whatsapp {
  background: var(--whatsapp); color: var(--white);
  border-radius: var(--r-full); padding: 0.75rem 1.5rem;
  font-weight: 500; display: inline-flex; align-items: center; gap: var(--s2);
  transition: all var(--t);
}
.btn-whatsapp:hover { background: var(--whatsapp-d); transform: translateY(-1px); }

.btn-wa-outline {
  border: 1.5px solid var(--whatsapp); color: var(--whatsapp);
  background: transparent; border-radius: var(--r-full);
  padding: 0.75rem 1.5rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: var(--s2); transition: all var(--t);
}
.btn-wa-outline:hover { background: var(--whatsapp); color: var(--white); }

/* ── Section Utilities ─────────────────────────────────────── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto var(--s12); }

.eyebrow {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--s3); display: block;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.15; margin-bottom: var(--s4);
}

.section-sub {
  font-size: 1.125rem; color: var(--text-2); line-height: 1.6;
}

/* ── Fade-in Animation ─────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: top 0.2s ease, background var(--t), box-shadow var(--t);
  height: var(--nav-h);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background var(--t), box-shadow var(--t);
}
.navbar.scrolled { background: rgba(255,255,255,0.96); box-shadow: var(--sh-sm); }

.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--s6);
  height: 100%; display: flex; align-items: center; gap: var(--s8);
}

/* Logo */
.nav-logo { display: flex; flex-direction: row; align-items: center; flex-shrink: 0; }
.nav-logo .logo-img { height: 64px; width: auto; border-radius: 50%; }
.nav-logo .logo-text { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.04em; color: var(--accent); }
.nav-logo .logo-sub  { font-size: 0.6rem; font-weight: 500; color: var(--text-2); letter-spacing: 0.02em; }

/* Links */
.nav-links { display: flex; align-items: center; gap: var(--s6); flex: 1; }

.nav-link {
  font-size: 0.875rem; font-weight: 500; color: var(--text-2);
  transition: color var(--tf); padding: var(--s1) 0; position: relative;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 1px;
}

/* Actions */
.nav-actions { display: flex; align-items: center; gap: var(--s4); flex-shrink: 0; }
.nav-phone { font-size: 0.875rem; font-weight: 500; color: var(--text-2); transition: color var(--tf); }
.nav-phone:hover { color: var(--accent); }

/* Mobile-only CTA inside hamburger menu — hidden on desktop */
.nav-mobile-cta { display: none; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; align-items: center; gap: 4px;
  background: none; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  cursor: pointer; padding: 7px 10px;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 1px; transition: all var(--tf); }
.hamburger::after {
  content: 'Menu'; font-size: 0.55rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--text-2); text-transform: uppercase; line-height: 1;
}

/* ── Sticky Contact Bar (mobile) ────────────────────────────── */
.sticky-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--white); border-top: 1px solid var(--border-l);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding: var(--s3) var(--s4); gap: var(--s3);
}
.sticky-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 4px; font-size: 0.65rem; font-weight: 600; color: var(--text-2);
  padding: var(--s2); border-radius: var(--r-sm);
}
.sticky-item svg { width: 20px; height: 20px; }
.sticky-item.wa { color: var(--whatsapp); }
.sticky-item.cta {
  background: var(--accent); color: var(--white);
  border-radius: var(--r-md); font-size: 0.6rem;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + var(--s16)) var(--s6) var(--s16);
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: var(--s16);
}

.hero-badge {
  display: inline-block;
  background: var(--bg-2); color: var(--text-2);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; padding: var(--s2) var(--s4);
  border-radius: var(--r-full); margin-bottom: var(--s6);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.05;
  margin-bottom: var(--s6);
}
.hero h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: 1.125rem; color: var(--text-2); line-height: 1.6;
  max-width: 480px; margin-bottom: var(--s8);
}

.hero-actions { display: flex; gap: var(--s4); margin-bottom: var(--s10); flex-wrap: wrap; }

.hero-trust { display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; }
.trust-item span  { font-size: 0.7rem; color: var(--text-2); font-weight: 500; }
.trust-div { width: 1px; height: 32px; background: var(--border); }

/* Hero visual */
.hero-visual {
  position: relative; height: 460px;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual::before {
  content: ''; position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(12,60,120,0.07), rgba(12,60,120,0.14));
  border-radius: 50%; z-index: 0;
}

.float-card {
  position: absolute; background: var(--white); border-radius: var(--r-xl);
  box-shadow: var(--sh-lg); padding: var(--s4) var(--s5);
  display: flex; align-items: center; gap: var(--s3); z-index: 1;
  min-width: 190px;
}
.float-card.c1 { top: 60px; right: 0; animation: fcEntrance 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both, floatA 6s ease-in-out 1.1s infinite; }
.float-card.c2 { top: 50%; left: -10px; animation: fcEntranceC2 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s both, floatB 6s ease-in-out 1.6s infinite; }
.float-card.c3 { bottom: 60px; right: 20px; animation: fcEntrance 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s both, floatA 6s ease-in-out 2.1s infinite; }

.float-icon { color: var(--accent); display: flex; align-items: center; }
.float-icon svg { width: 1.35rem; height: 1.35rem; }
.float-text strong { display: block; font-size: 0.875rem; font-weight: 600; }
.float-text span   { font-size: 0.75rem; color: var(--text-2); }

@keyframes floatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatB { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 10px)); } }
@keyframes fcEntrance {
  from { opacity: 0; transform: translateY(20px) scale(0.88); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fcEntranceC2 {
  from { opacity: 0; transform: translateY(calc(-50% + 20px)) scale(0.88); }
  to   { opacity: 1; transform: translateY(-50%) scale(1); }
}

/* ── Services ──────────────────────────────────────────────── */
.services { padding: var(--s24) 0; background: var(--bg-2); }

.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s6); }

.svc-card {
  background: var(--white); border-radius: var(--r-xl);
  padding: var(--s8); box-shadow: var(--sh-sm);
  border: 1.5px solid var(--border-l);
  transition: all var(--t); position: relative; overflow: hidden;
}
.svc-card:hover { box-shadow: var(--sh-xl); transform: translateY(-4px); border-color: transparent; }

.svc-card.featured { border-color: var(--accent); border-width: 2px; }
.svc-card.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent);
}

.svc-badge {
  display: inline-block; background: var(--accent); color: var(--white);
  font-size: 0.7rem; font-weight: 600;
  padding: 3px 12px; border-radius: var(--r-full); margin-bottom: var(--s4);
}

.svc-icon {
  width: 54px; height: 54px; background: var(--bg-2); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s5); color: var(--accent);
}
.svc-icon svg { width: 26px; height: 26px; }

.svc-card h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: var(--s3); }
.svc-card p  { color: var(--text-2); font-size: 0.875rem; line-height: 1.7; margin-bottom: var(--s5); }

.svc-list { margin-bottom: var(--s6); }
.svc-list li {
  font-size: 0.875rem; color: var(--text-2);
  padding: var(--s2) 0; border-bottom: 1px solid var(--border-l);
  display: flex; align-items: center; gap: var(--s2);
}
.svc-list li::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

.svc-link {
  font-size: 0.875rem; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 4px; transition: gap var(--tf);
}
.svc-link:hover { gap: 8px; }

/* ── Why RLVC ──────────────────────────────────────────────── */
.why { padding: var(--s24) 0; }

.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s6); margin-bottom: var(--s16); }

.stat-block {
  text-align: center; padding: var(--s8); border-radius: var(--r-xl);
  background: var(--bg-2); transition: all var(--t); cursor: default;
}
.stat-block:hover { background: var(--accent); }
.stat-block:hover .stat-num, .stat-block:hover .stat-lbl, .stat-block:hover .stat-desc { color: var(--white); }

.stat-num { font-size: clamp(2rem,4vw,3rem); font-weight: 800; letter-spacing: -0.04em; color: var(--accent); margin-bottom: var(--s1); transition: color var(--t); }
.stat-lbl  { font-size: 0.875rem; font-weight: 700; margin-bottom: var(--s1); transition: color var(--t); }
.stat-desc { font-size: 0.75rem; color: var(--text-2); transition: color var(--t); }

.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s6); }

.feat-item {
  padding: var(--s6); border-radius: var(--r-lg);
  border: 1px solid var(--border-l); transition: all var(--t);
}
.feat-item:hover { box-shadow: var(--sh-md); border-color: transparent; }
.feat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  background: rgba(12,60,120,0.08); border-radius: var(--r-md);
  color: var(--accent); margin-bottom: var(--s4);
}
.feat-icon svg { width: 1.4rem; height: 1.4rem; flex-shrink: 0; }
.feat-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: var(--s2); letter-spacing: -0.01em; }
.feat-item p  { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials { padding: var(--s24) 0; background: var(--bg-2); }

.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s5); margin-bottom: var(--s8); }

.review-card {
  background: var(--white); border-radius: var(--r-xl);
  padding: var(--s6); box-shadow: var(--sh-sm);
  border: 1px solid var(--border-l); transition: all var(--t);
}
.review-card:hover { box-shadow: var(--sh-lg); transform: translateY(-2px); }

.review-head { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.reviewer-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.reviewer-info { flex: 1; display: flex; flex-direction: column; }
.reviewer-info strong { font-size: 0.875rem; font-weight: 600; }
.reviewer-info .stars { font-size: 0.875rem; color: #F4A22D; letter-spacing: 1px; }
.g-logo { margin-left: auto; opacity: 0.6; }

.review-text {
  font-size: 0.875rem; color: var(--text-2); line-height: 1.7;
  margin-bottom: var(--s3); font-style: italic;
}
.review-date { font-size: 0.7rem; color: var(--text-3); }

.reviews-cta { text-align: center; }

/* ── Lead Capture Form ─────────────────────────────────────── */
.lead-form { padding: var(--s24) 0; }

.form-wrap {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: var(--s12); align-items: start;
}

.form-info { padding: var(--s8) 0; position: sticky; top: calc(var(--nav-h) + var(--s8)); }
.form-info .eyebrow { text-align: left; }
.form-info h2 { font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: var(--s4); }
.form-info > p { color: var(--text-2); line-height: 1.6; margin-bottom: var(--s6); }

.form-checks { margin-bottom: var(--s8); }
.form-check  { display: flex; align-items: center; gap: var(--s2); font-size: 0.875rem; font-weight: 500; color: var(--text-2); padding: var(--s2) 0; }

.form-alts p { font-size: 0.875rem; color: var(--text-2); margin-bottom: var(--s2); }
.form-alts a { display: block; font-size: 1rem; font-weight: 700; color: var(--accent); margin-top: var(--s1); transition: color var(--tf); }
.form-alts a:hover { color: var(--accent-h); }

/* Form box */
.form-box {
  background: var(--white); border: 1px solid var(--border-l);
  border-radius: var(--r-2xl); padding: var(--s8); box-shadow: var(--sh-lg);
}

.f-group { margin-bottom: var(--s5); }
.f-group label {
  display: block; font-size: 0.875rem; font-weight: 600;
  color: var(--text); margin-bottom: var(--s2);
}
.req { color: var(--error); }

.f-group input, .f-group textarea, .f-group select {
  width: 100%; padding: 0.75rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-size: 0.875rem; color: var(--text); background: var(--white);
  transition: border-color var(--tf), box-shadow var(--tf);
  appearance: none; -webkit-appearance: none;
}
.f-group input:focus, .f-group textarea:focus, .f-group select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(12,60,120,0.08);
}
.f-group input.err, .f-group textarea.err, .f-group select.err { border-color: var(--error); }

.f-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236E6E73' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }

.radio-grp { display: flex; gap: var(--s3); flex-wrap: wrap; }
.radio-lbl {
  position: relative; cursor: pointer;
}
.radio-lbl input[type=radio] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.radio-lbl span {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid var(--border-l);
  border-radius: var(--r-full);
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-2);
  background: var(--white);
  transition: all 0.18s ease;
  user-select: none;
}
.radio-lbl input[type=radio]:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}
.radio-lbl:hover span {
  border-color: var(--accent);
  color: var(--accent);
}

.check-lbl {
  display: flex; align-items: flex-start; gap: var(--s3);
  font-size: 0.75rem; color: var(--text-2); line-height: 1.5; cursor: pointer;
}
.check-lbl input[type=checkbox] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; min-width: 20px;
  border: 2px solid var(--border-l);
  border-radius: 5px;
  background: var(--white);
  cursor: pointer;
  margin-top: 1px;
  transition: all 0.18s ease;
  position: relative;
}
.check-lbl input[type=checkbox]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.check-lbl input[type=checkbox]:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 1px;
  width: 6px; height: 10px;
  border: 2px solid white;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}

.err-msg { display: block; font-size: 0.7rem; color: var(--error); margin-top: var(--s1); font-weight: 500; }

/* Submit loader */
.loader {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.4); border-top-color: var(--white);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Form success */
.form-success { text-align: center; padding: var(--s8); }
.success-icon {
  width: 60px; height: 60px; background: var(--success); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto var(--s4);
}
.form-success h4 { font-size: 1.125rem; font-weight: 700; margin-bottom: var(--s2); }
.form-success p  { color: var(--text-2); margin-bottom: var(--s5); }
.success-acts { display: flex; gap: var(--s3); justify-content: center; flex-wrap: wrap; }

.form-err-gen {
  text-align: center; padding: var(--s4); background: #FFF5F5;
  border-radius: var(--r-md); color: var(--error);
  font-size: 0.875rem; margin-top: var(--s4);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.65); padding: var(--s16) 0 var(--s8); }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: var(--s8); margin-bottom: var(--s12);
}

.f-brand .logo-text { color: var(--white); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em; display: block; margin-bottom: var(--s3); }
.f-brand p { font-size: 0.875rem; line-height: 1.6; margin-bottom: var(--s3); }
.f-brand .tagline { color: rgba(255,255,255,0.4); font-size: 0.7rem; }
.f-phones { margin-top: var(--s4); }
.f-phones a { display: block; color: rgba(255,255,255,0.9); font-weight: 600; font-size: 0.875rem; margin-bottom: var(--s2); transition: color var(--tf); }
.f-phones a:hover { color: var(--white); }

.f-col h5 { color: var(--white); font-size: 0.875rem; font-weight: 700; margin-bottom: var(--s4); letter-spacing: -0.01em; }
.f-col a  { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.55); margin-bottom: var(--s3); transition: color var(--tf); }
.f-col a:hover { color: var(--white); }
.f-col .btn { display: block; text-align: center; margin-bottom: var(--s3); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--s6);
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s4); font-size: 0.75rem; color: rgba(255,255,255,0.35); flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color var(--tf); }
.footer-bottom a:hover { color: rgba(255,255,255,0.9); }

/* ── WhatsApp Float ────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: var(--s8); right: var(--s6); z-index: 998;
  width: 60px; height: 60px; background: var(--whatsapp); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: all var(--t);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.wa-tip {
  position: absolute; right: 70px;
  background: var(--bg-dark); color: var(--white);
  font-size: 0.75rem; font-weight: 600;
  padding: var(--s2) var(--s3); border-radius: var(--r-sm);
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--tf);
}
.wa-tip::after {
  content: ''; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: var(--bg-dark);
}
.wa-float:hover .wa-tip { opacity: 1; }

/* ── Back to Top ───────────────────────────────────────────── */
.btt {
  position: fixed; bottom: var(--s8); right: calc(var(--s6) + 72px); z-index: 997;
  width: 44px; height: 44px; background: rgba(255,255,255,0.9);
  border: 1px solid var(--border); border-radius: 50%;
  color: var(--text); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-md); opacity: 0; transform: translateY(20px);
  transition: all var(--t); backdrop-filter: blur(10px);
}
.btt.show { opacity: 1; transform: translateY(0); }
.btt:hover { background: var(--accent); color: var(--white); border-color: transparent; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }

  /* Nav collapses to hamburger on tablets and medium laptops */
  .nav-links, .nav-phone { display: none; }
  .nav-actions { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--white); padding: var(--s6);
    box-shadow: var(--sh-lg); gap: var(--s4); z-index: 999;
    overflow-y: auto; max-height: calc(100vh - var(--nav-h) - 1rem);
  }
  .nav-links.open .nav-mobile-cta {
    display: flex; flex-direction: column; gap: var(--s3);
    padding-top: var(--s4); border-top: 1px solid var(--border-l);
  }
  .nav-links.open .nav-mobile-cta a {
    display: block; text-align: center; padding: 12px;
    border-radius: var(--r-full); font-weight: 700; font-size: 0.9rem;
  }
  .nav-links.open .btn-mobile-login {
    border: 1.5px solid var(--accent); color: var(--accent);
  }
  .nav-links.open .btn-mobile-consult {
    background: var(--accent); color: white;
  }
  .hamburger { display: flex; margin-left: auto; }
}

@media (max-width: 768px) {
  .logo-img { height: 44px; }
  .nav-inner { padding: 0 var(--s4); gap: var(--s4); }

  :root { --nav-h: 60px; }

  .hero { grid-template-columns: 1fr; text-align: center; gap: var(--s8); padding: calc(var(--nav-h) + var(--s8)) var(--s4) var(--s12); }
  .hero h1 { font-size: clamp(2.25rem, 8vw, 3.5rem); }
  .hero-sub { max-width: none; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { height: 260px; }
  .float-card.c2 { display: none; }

  .services-grid  { grid-template-columns: 1fr; }
  .features-grid  { grid-template-columns: 1fr; }
  .reviews-grid   { grid-template-columns: 1fr; }
  .form-wrap      { grid-template-columns: 1fr; }
  .form-info      { position: static; padding: 0; }
  .f-row          { grid-template-columns: 1fr; }
  .radio-grp      { flex-direction: column; gap: var(--s2); }
  .footer-grid    { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; text-align: center; }

  .sticky-bar  { display: flex; }
  .wa-float    { bottom: calc(var(--s8) + 72px); }
  .btt         { bottom: calc(var(--s8) + 72px); right: var(--s4); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .float-card.c3 { display: none; }
}

/* ── Page-level reusable classes ────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + var(--s16)) var(--s6) var(--s16);
  background: var(--bg-2); text-align: center;
}
.page-hero .eyebrow { text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; margin-bottom: var(--s4); }
.page-hero p { font-size: 1.125rem; color: var(--text-2); max-width: 600px; margin: 0 auto var(--s8); }

.section { padding: var(--s24) 0; }
.section.alt { background: var(--bg-2); }

/* Prose for about/privacy pages */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin: var(--s10) 0 var(--s4); }
.prose h3 { font-size: 1.125rem; font-weight: 700; margin: var(--s8) 0 var(--s3); }
.prose p  { color: var(--text-2); line-height: 1.75; margin-bottom: var(--s4); }
.prose ul { margin-bottom: var(--s4); }
.prose ul li { color: var(--text-2); font-size: 0.9375rem; line-height: 1.7; padding: var(--s1) 0; padding-left: var(--s5); position: relative; }
.prose ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ── DEADLINE BANNER ────────────────────────────────────────── */
:root { --banner-h: 42px; }
#deadline-banner {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1001;
  background: #92400e;
  color: #fff;
  padding: 10px 20px;
  min-height: var(--banner-h);
}
body.dlb-active .navbar { top: var(--banner-h); }
body.dlb-active .nav-links.open { top: calc(var(--nav-h) + var(--banner-h)); }
.dlb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.dlb-icon { font-size: 1rem; flex-shrink: 0; }
.dlb-tag {
  background: rgba(255,255,255,0.2);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.dlb-text { flex: 1; font-size: 0.85rem; line-height: 1.4; min-width: 180px; }
.dlb-text strong { font-weight: 700; }
.dlb-days {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}
.dlb-days.urgent { background: #ef4444; }
.dlb-cta {
  background: #fff;
  color: #92400e;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.dlb-cta:hover { opacity: 0.85; }
.dlb-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.15s;
}
.dlb-close:hover { color: #fff; }
@media (max-width: 600px) {
  .dlb-text { font-size: 0.78rem; }
  .dlb-cta  { padding: 4px 12px; }
}

/* ── What Do You Need Help With? ────────────────────────────── */
.need-help { padding: var(--s24) 0; }

.need-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s5);
}

.need-card {
  background: var(--white);
  border: 1.5px solid var(--border-l);
  border-radius: var(--r-xl);
  padding: var(--s6);
  box-shadow: var(--sh-sm);
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}
.need-card:hover { box-shadow: var(--sh-xl); transform: translateY(-3px); border-color: transparent; }

.need-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  background: rgba(12,60,120,0.08); border-radius: var(--r-md);
  color: var(--accent); margin-bottom: var(--s4);
}
.need-icon svg { width: 1.4rem; height: 1.4rem; flex-shrink: 0; }
.need-card h3 { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: var(--s2); }
.need-card > p { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; flex: 1; margin-bottom: var(--s5); }

.need-actions { display: flex; flex-direction: column; gap: var(--s2); margin-top: auto; }
.need-actions .btn { font-size: 0.825rem; padding: 0.65rem 1rem; justify-content: center; }

.btn-wa-sm {
  display: flex; align-items: center; justify-content: center; gap: var(--s2);
  border: 1.5px solid var(--whatsapp); color: var(--whatsapp);
  background: transparent; border-radius: var(--r-full);
  padding: 0.65rem 1rem; font-size: 0.825rem; font-weight: 600;
  transition: all var(--t); white-space: nowrap;
}
.btn-wa-sm:hover { background: var(--whatsapp); color: var(--white); }

/* ── How RLVC Works ─────────────────────────────────────────── */
.how-works { padding: var(--s24) 0; }

.steps-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s6);
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 28px; left: 0; right: 0;
  height: 2px;
  background: var(--border-l);
  z-index: 0;
}

.step-item {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  position: relative; z-index: 1;
}

.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  font-size: 1.25rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s4); flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(12,60,120,0.25);
}

.step-item h4 { font-size: 0.9375rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: var(--s2); }
.step-item p  { font-size: 0.8125rem; color: var(--text-2); line-height: 1.55; }

/* ── Why Clients Choose RLVC (micro) ────────────────────────── */
.why-clients { padding: var(--s20) 0; background: var(--bg-2); }

/* ── Responsive: new sections ───────────────────────────────── */
@media (max-width: 1024px) {
  .need-grid  { grid-template-columns: repeat(2, 1fr); }
  .steps-row  { grid-template-columns: repeat(3, 1fr); }
  .steps-row::before { display: none; }
}

@media (max-width: 480px) {
  .need-grid  { grid-template-columns: 1fr; }
  .steps-row  { grid-template-columns: 1fr; }
}

/* ── Service page — Phase 2B additions ──────────────────────── */
.docs-checklist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3) var(--s6); }
.docs-checklist li { padding-left: var(--s5); position: relative; font-size: 0.9375rem; line-height: 1.5; color: var(--text-1); }
.docs-checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.steps-row.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .steps-row.steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .docs-checklist { grid-template-columns: 1fr; } .steps-row.steps-4 { grid-template-columns: 1fr; } }
