/* ==========================================================
   eHouse Immigration — Landing Page Styles
   Stack: Vanilla CSS, self-hosted Montserrat + Open Sans
   Brand: #DA3035 → #A52B2D gradient, #000 body, #FFF bg
   ========================================================== */

/* --- Fonts --- */
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../assets/fonts/opensans-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../assets/fonts/opensans-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* --- Fallback fonts (size-adjusted to minimize CLS during font swap) --- */
@font-face {
  font-family: 'Montserrat Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  size-adjust: 112.4%;
  ascent-override: 85%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Open Sans Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  size-adjust: 105%;
  ascent-override: 101%;
  descent-override: 27%;
  line-gap-override: 0%;
}

/* --- Tokens --- */
:root {
  --red-a: #DA3035;
  --red-b: #A52B2D;
  --gradient: linear-gradient(135deg, #DA3035, #A52B2D);
  --gradient-btn-hover: linear-gradient(135deg, #C5292E, #8E2225);
  --black: #000000;
  --white: #FFFFFF;
  --gray-divider: #96989A;
  --gray-bg: #F7F7F7;
  --text-muted: #555555;
  --font-heading: 'Montserrat', 'Montserrat Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Open Sans', 'Open Sans Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ls-heading: -0.03em;
  --ls-body: -0.01em;
  --radius: 10px;
  --container: 1140px;
  --section-pad: 80px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* scroll-behavior is deliberately NOT smooth: js/app.js runs its own
   frame-by-frame scroll, and a smooth value here would make every one
   of those frames spawn a competing animation. */
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  letter-spacing: var(--ls-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 92px; /* clearance for the floating action bar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }

/* --- Utilities --- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: var(--ls-heading);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(32px, 5vw, 48px); }
h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 600; }
h3 { font-size: clamp(18px, 2.5vw, 22px); font-weight: 600; color: var(--black); }
h4 { font-size: 16px; font-weight: 600; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: var(--ls-heading);
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid rgba(165, 43, 45, 0.35); outline-offset: 2px; }
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(165, 43, 45, 0.22);
}
.btn-primary:hover { background: var(--gradient-btn-hover); }
.btn-ghost {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-ghost:hover { background: var(--black); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--red-b);
  font-weight: 700;
}
.btn-white:hover { background: #f0f0f0; }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* --- Section Spacing --- */
.section { padding: var(--section-pad) 0; }

/* Keeps anchor targets clear of the sticky nav */
#hero, #services, #process, #rcic, #form-section { scroll-margin-top: 104px; }

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ===================================================
   NAV
   =================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.nav-logo img,
.nav-logo svg { height: 62px; width: auto; max-width: none; }
.nav-links {
  display: flex;
  gap: 32px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: var(--ls-heading);
}
.nav-links a { color: var(--black); transition: color 0.15s; }
.nav-links a:hover { color: var(--red-a); }
.nav-cta .btn { padding: 10px 22px; font-size: 14px; }
.nav-call {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--gradient);
  border-radius: 50%;
  color: var(--white);
}
.nav-call svg { width: 20px; height: 20px; }

/* ===================================================
   HERO
   =================================================== */
.hero {
  padding: 60px 0 var(--section-pad);
  overflow: visible;
}
.hero-text {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-b);
  border: 1.5px solid var(--red-b);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 20px;
}
.hero h1 {
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 12px;
  line-height: 1.6;
}
.hero-trust {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--ls-heading);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.hero-trust svg { width: 16px; height: 16px; color: var(--red-a); flex-shrink: 0; }
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero social proof widget */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  justify-content: center;
}
.avatar-stack {
  display: flex;
}
.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2.5px solid var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background: #E5E0DB;
}
.avatar-circle + .avatar-circle {
  margin-left: -12px;
}
.avatar-circle svg { width: 22px; height: 22px; }
.avatar-circle img { width: 100%; height: 100%; object-fit: cover; }
.social-proof-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.social-proof-stars {
  color: #F59E0B;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 1px;
}
.social-proof-text strong {
  color: var(--black);
}

/* Hero visual — scroll animation */
.hero-visual {
  margin-top: 40px;
  position: relative;
}
.hero-visual-inner {
  display: flex;
  gap: 32px;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
}
.hero-img-primary {
  flex: 0 0 100%;
  min-height: 380px;
  background: var(--gray-bg);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  will-change: flex-basis;
}
.hero-img-primary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-about {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transform: translateX(40px);
  will-change: opacity, transform;
  min-width: 0;
  overflow: hidden;
}
.hero-about p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
}
.hero-about-heading {
  font-size: clamp(18px, 2.5vw, 22px);
  -webkit-text-fill-color: var(--black);
  background: none;
}
.hero-about-img {
  width: 100%;
  height: 200px;
  background: var(--gray-bg);
  border-radius: 10px;
  overflow: hidden;
}
.hero-about-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===================================================
   STAT STRIP
   =================================================== */
.stat-strip {
  background: var(--black);
  color: var(--white);
  padding: 36px 0;
}
.stat-strip .container {
  display: flex;
  justify-content: space-between;
  text-align: center;
}
.stat-item { flex: 1; }
.stat-item + .stat-item { border-left: 1px solid rgba(255,255,255,0.12); }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: var(--ls-heading);
  display: block;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
}

/* ===================================================
   SERVICES
   =================================================== */
.services { background: var(--gray-bg); text-align: center; }
.services-header {
  margin-bottom: 40px;
}
.services-header h2 { margin-bottom: 8px; }
.services-header p {
  max-width: 520px;
  color: var(--text-muted);
  margin: 0 auto;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 28px 22px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.service-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(218, 48, 53, 0.08), rgba(165, 43, 45, 0.08));
  border-radius: 10px;
}
.service-icon svg { width: 24px; height: 24px; color: var(--red-a); }
.service-card h3 { font-size: 16px; line-height: 1.3; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; flex: 1; }
.service-card .disclaimer {
  font-size: 11.5px;
  color: #6B6B6B;
  font-style: italic;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 8px;
  margin-top: 4px;
}
.secondary-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.secondary-chip {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: var(--ls-heading);
  padding: 8px 18px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  color: var(--black);
  transition: border-color 0.15s;
  white-space: nowrap;
}
.secondary-chip:hover { border-color: var(--red-a); color: var(--red-a); }

/* ===================================================
   TESTIMONIAL STRIPS (Clarify-style: photo left, quote right)
   =================================================== */
.testimonial-strip {
  padding: 56px 0;
  background: var(--white);
}
.ts-feature {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(135deg, #F8F6F3 0%, #F0EDE8 50%, #EDE8F0 100%);
  border-radius: 20px;
  padding: 32px;
  overflow: hidden;
}
.ts-feature--reverse {
  flex-direction: row-reverse;
  background: linear-gradient(135deg, #F0EDE8 0%, #F8F6F3 50%, #E8EDF0 100%);
}
.ts-feature-photo {
  flex: 0 0 260px;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(218, 48, 53, 0.04);
}
.ts-feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ts-feature-content {
  flex: 1;
  min-width: 0;
}
.ts-feature-quote {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: var(--ls-heading);
  color: var(--black);
  margin-bottom: 28px;
}
.ts-feature-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ts-feature-author strong {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: var(--ls-heading);
  color: var(--black);
}
.ts-feature-author span {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===================================================
   PROCESS
   =================================================== */
.process { background: var(--gray-bg); text-align: center; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  position: relative;
  background: var(--white);
  z-index: 2;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s;
}
.process-step.step-visible .step-num {
  transform: scale(1);
}
.process-step.step-visible .step-num {
  border-color: var(--red-a);
  color: var(--red-a);
}
.process-step::before {
  content: '';
  position: absolute;
  top: 21px;
  left: -50%;
  width: 0%;
  height: 2px;
  background: var(--gradient);
  z-index: 1;
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.process-step.step-visible::before {
  width: 100%;
}
.process-step:first-child::before { display: none; }
.process-step h3 {
  margin-bottom: 6px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.process-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}
.process-step.step-visible h3,
.process-step.step-visible p {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   WHY CHOOSE US
   =================================================== */
.why-choose { background: var(--gray-bg); text-align: center; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.why-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 24px;
  background: var(--white);
  transition: box-shadow 0.25s;
  text-align: left;
}
.why-item:hover { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); }
.why-item h3 {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.why-item h3 svg { width: 20px; height: 20px; color: var(--red-a); flex-shrink: 0; }
.why-item p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ===================================================
   RCIC / FOUNDER
   =================================================== */
.rcic { background: var(--gray-bg); }
.rcic-wrap {
  display: flex;
  gap: 40px;
  align-items: center;
}
.rcic-photo {
  width: 240px;
  min-height: 300px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--white);
}
.rcic-photo img { width: 100%; height: 100%; object-fit: cover; }
.rcic-photo .rcic-info { flex: 1; }
.rcic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--red-b);
  border-radius: 20px;
  padding: 6px 14px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--red-b);
  margin-bottom: 16px;
}
.rcic-badge svg { width: 14px; height: 14px; }
.rcic-info h2 { margin-bottom: 14px; }
.rcic-info > p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.65; }
.rcic-facts {
  margin-bottom: 24px;
}
.rcic-facts li {
  font-size: 14px;
  padding: 6px 0 6px 20px;
  position: relative;
}
.rcic-facts li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-a);
  position: absolute;
  left: 0;
  top: 13px;
}

/* ===================================================
   TESTIMONIAL SLIDER (split layout: heading left, quote right)
   =================================================== */
.testimonial-slider {
  background: var(--white);
  overflow: hidden;
}
.slider-split {
  display: flex;
  gap: 60px;
  align-items: center;
}
.slider-left {
  flex: 0 0 320px;
}
.slider-left h2 {
  margin-bottom: 12px;
}
.slider-left-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}
.slider-nav-arrows {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.slider-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  color: var(--black);
}
.slider-arrow:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.slider-arrow svg { width: 18px; height: 18px; }
.slider-right {
  flex: 1;
  min-width: 0;
}
.slider-wrapper {
  position: relative;
  overflow: hidden;
}
.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 8px;
}
.slide-card {
  background: transparent;
  padding: 44px 0 0;
  position: relative;
}
/* Oversized faded glyph behind the quote. Kept fully within the card box:
   .slider-wrapper clips overflow to make the carousel work, so anything
   poking out above the card would get cut off. */
.slide-quote-mark {
  position: absolute;
  top: 0;
  left: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 120px;
  line-height: 1;
  color: var(--red-a);
  opacity: 0.10;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.slide-quote,
.slide-attrib {
  position: relative;
  z-index: 1;
}
.slide-quote {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--black);
  margin-bottom: 28px;
}
.slide-attrib {
  display: flex;
  align-items: center;
  gap: 14px;
}
.slide-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--red-b);
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.slide-photo img { width: 100%; height: 100%; object-fit: cover; }
.slide-attrib strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: var(--ls-heading);
  color: var(--black);
}
.slide-attrib span {
  font-size: 13px;
  color: var(--text-muted);
}
.slider-dots {
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.slider-dot.active {
  background: var(--red-a);
  transform: scale(1.3);
}

/* ===================================================
   FORM SECTION
   =================================================== */
.form-section {
  background: var(--gray-bg);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.form-section .container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.form-intro {
  flex: 0 0 360px;
  position: sticky;
  top: 100px;
}
.form-intro h2 { margin-bottom: 12px; }
.form-intro p { color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.form-trust-items { margin-top: 24px; }
.form-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
}
.form-trust-item svg { width: 20px; height: 20px; color: var(--red-a); flex-shrink: 0; margin-top: 2px; }
.form-trust-item span { font-size: 14px; color: var(--text-muted); }
.form-card {
  flex: 1;
  max-width: 580px;
}

/* ===================================================
   CTA BANNER
   =================================================== */
.cta-banner {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}
.cta-banner h2 {
  -webkit-text-fill-color: var(--white);
  background: none;
  margin-bottom: 12px;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.cta-banner-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  padding: 48px 0 0;
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }
.footer h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-divider);
  margin-bottom: 14px;
}
.footer li { font-size: 14px; line-height: 2.2; }
.footer li a:hover { color: var(--red-a); }
.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--gray-divider);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { text-decoration: underline; }
.footer-bottom a:hover { color: var(--red-a); }

/* ===================================================
   FORM EMBED (adapted from strategy form)
   =================================================== */
#strategy-form {
  --card-bg: #FCFBFA;
  --input-bg: #FFF;
  --input-border: #E5E0DB;
  --input-border-hover: #CFC7BF;
  --text: #000;
  --muted: #555;
  --focus: #A52B2D;
  --pill-border: #A52B2D;
  --pill-bg: #FFF;
  --pill-active: linear-gradient(120deg, #DA3035, #A52B2D);
  --btn-bg: linear-gradient(120deg, #DA3035, #A52B2D);
  --btn-hover: linear-gradient(120deg, #C5292E, #8E2225);
  --err: #B00020;
  --form-radius: 10px;
  font-family: var(--font-body);
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
}
#strategy-form *, #strategy-form *::before, #strategy-form *::after { box-sizing: border-box; }
#strategy-form .sf-card {
  background: transparent;
  border: 0;
  padding: 0;
  max-width: 100%;
  margin: 0;
}
#strategy-form .sf-field { margin-bottom: 18px; }
#strategy-form label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--text);
  letter-spacing: 0.01em;
}
#strategy-form .sf-input {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--form-radius);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  min-height: 46px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#strategy-form .sf-input::placeholder { color: #9a9a9a; font-weight: 400; }
#strategy-form .sf-input:hover { border-color: var(--input-border-hover); }
#strategy-form .sf-input:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(165, 43, 45, 0.12); }
#strategy-form select.sf-input {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
#strategy-form .sf-phone-row { display: flex; gap: 10px; align-items: stretch; }
#strategy-form .sf-phone-row .sf-cc { width: 110px; flex: 0 0 110px; padding-right: 32px; font-weight: 600; }
#strategy-form .sf-phone-row .sf-phone { flex: 1 1 auto; min-width: 0; letter-spacing: 0.02em; }
#strategy-form .sf-options { display: flex; flex-wrap: wrap; gap: 10px; }
#strategy-form .sf-chip {
  flex: 0 0 auto;
  white-space: nowrap;
  background: var(--pill-bg);
  color: var(--text);
  border: 1.5px solid var(--pill-border);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.05s ease;
}
#strategy-form .sf-chip:hover { background: #FCEFEF; }
#strategy-form .sf-chip:active { transform: scale(0.98); }
#strategy-form .sf-chip[aria-checked="true"] { background: var(--pill-active); color: #FFF; border-color: transparent; font-weight: 600; }
#strategy-form .sf-chip:focus-visible { outline: 3px solid rgba(165, 43, 45, 0.3); outline-offset: 2px; }
#strategy-form .sf-other-field { margin-top: 12px; margin-bottom: 0; }
#strategy-form .sf-legal {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 16px;
}
#strategy-form .sf-legal a {
  color: #A52B2D;
  text-decoration: underline;
  font-weight: 600;
}
#strategy-form .sf-legal a:hover { color: #8E2225; }
#strategy-form .sf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#strategy-form .cf-turnstile { margin: 6px 0 16px; max-width: 100%; overflow: hidden; }
#strategy-form .cf-turnstile iframe { max-width: 100% !important; }
#strategy-form .sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--btn-bg);
  color: #FFF;
  border: 0;
  border-radius: var(--form-radius);
  padding: 14px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
  box-shadow: 0 4px 14px rgba(165, 43, 45, 0.22);
}
#strategy-form .sf-btn:hover { background: var(--btn-hover); }
#strategy-form .sf-btn:active { transform: translateY(1px); }
#strategy-form .sf-btn:disabled { opacity: 0.65; cursor: not-allowed; }
#strategy-form .sf-btn:focus-visible { outline: 3px solid rgba(165, 43, 45, 0.35); outline-offset: 2px; }
#strategy-form .sf-err { display: none; color: var(--err); font-size: 12.5px; font-weight: 500; margin-top: 6px; }
#strategy-form .sf-err.show { display: block; }
#strategy-form .sf-input.invalid { border-color: var(--err); box-shadow: 0 0 0 3px rgba(176, 0, 32, 0.1); }
#strategy-form .sf-status { margin-top: 14px; padding: 14px 16px; border-radius: var(--form-radius); font-size: 14px; font-weight: 500; line-height: 1.5; }
#strategy-form .sf-status.ok { background: #E8F5EC; color: #14532d; }
#strategy-form .sf-status.bad { background: #FDECEC; color: #7a1c20; }
#strategy-form .sf-status.warn { background: #FFF6E5; color: #6b4f00; }
#strategy-form .sf-status a { color: inherit; text-decoration: underline; font-weight: 600; cursor: pointer; }
#strategy-form .sf-recent {
  margin-bottom: 18px; padding: 14px 16px; border-radius: var(--form-radius);
  background: #FFF6E5; color: #6b4f00; font-size: 14px; line-height: 1.5; font-weight: 500;
}
#strategy-form .sf-recent a { color: inherit; text-decoration: underline; font-weight: 600; cursor: pointer; }
#strategy-form input:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 30px var(--input-bg) inset;
  caret-color: var(--text);
}
#strategy-form .sf-success { text-align: center; padding: 40px 10px; }
#strategy-form .sf-success-check { width: 56px; height: 56px; margin: 0 auto 14px; display: block; }
#strategy-form .sf-success-heading { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: #000; margin: 0 0 8px; }
#strategy-form .sf-success-msg { color: var(--muted); font-size: 14.5px; line-height: 1.55; max-width: 420px; margin: 0 auto; }

/* ===================================================
   RESPONSIVE
   =================================================== */

/* ---- Global overflow guard ----
   `clip` (not `hidden`) so the sticky nav keeps working. */
html, body { overflow-x: clip; max-width: 100%; }

@media (max-width: 1024px) {
  :root { --section-pad: 60px; }
  .nav .container { height: 76px; }
  .nav-logo img,
  .nav-logo svg { height: 54px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-call { display: flex; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-section .container { flex-direction: column; gap: 32px; }
  .form-intro { flex: 0 0 auto; position: static; }

  /* --- Process: horizontal step rows (number left, copy right) --- */
  .process-steps { grid-template-columns: 1fr; gap: 8px; margin-top: 32px; }
  .process-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
    align-items: start;
    text-align: left;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .process-step:last-child { border-bottom: none; }
  .process-step::before { display: none; }
  .step-num { margin: 0; grid-row: span 2; }
  .process-step h3 { margin-bottom: 4px; align-self: center; }
  .process-step p { grid-column: 2; }

  /* --- RCIC stacks --- */
  .rcic-wrap { flex-direction: column; text-align: center; }
  .rcic-photo { width: 100%; max-width: 260px; min-height: 260px; margin: 0 auto; }
  /* Every other stacked section stays centered on mobile, which leaves
     natural whitespace either side of shorter lines. This one is
     deliberately left-aligned, so full-width lines run right up to the
     container's edge — add a bit of extra breathing room to match. */
  .rcic-info { text-align: left; padding: 0 10px; }
  /* The hero and CTA-banner buttons already get width:100% on mobile;
     this one didn't, and its text is the longest on the page ("Book a
     Free Strategy Session with Manoj"). With .btn's default
     white-space:nowrap and no width limit, it overflowed the container
     and was being sliced off by the page's overflow-x:clip guard. */
  .rcic-info .btn { width: 100%; white-space: normal; }

  /* --- Slider: stacked, left-aligned copy --- */
  .slider-split { flex-direction: column; gap: 28px; }
  .slider-left { flex: 0 0 auto; width: 100%; }
  .slider-left h2 br { display: none; }
  .slider-left-sub { margin-bottom: 20px; }
  .slider-nav-arrows { margin-bottom: 0; }
  .slider-dots { align-items: center; }
  .slider-controls { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
  .slider-nav-arrows .slider-arrow { display: flex; }
  .slider-right { width: 100%; }
  .slide { padding: 0; }
  .slide-card {
    background: var(--gray-bg);
    border-radius: 16px;
    padding: 60px 24px 28px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  }
  .slide-quote-mark { font-size: 96px; top: 6px; left: 18px; opacity: 0.11; }
  .slide-quote { font-size: 17px; line-height: 1.55; margin-bottom: 22px; }

  /* --- Testimonial feature strips --- */
  .ts-feature, .ts-feature--reverse { flex-direction: column; gap: 20px; padding: 20px; }
  .ts-feature-content { text-align: center; }
  .ts-feature-author { align-items: center; }
  .ts-feature-photo {
    flex: 0 0 auto;
    width: 100%;
    height: 260px;
    border-radius: 14px;
  }
  /* object-position: center TOP guarantees zero px are ever cropped off
     the top of the source photo (where the head sits) — any cropping
     needed to fill the box comes from the bottom instead. */
  .ts-feature-photo img { object-position: center top; }

  /* --- Hero visual: static stack ---
     Height is set explicitly (not via flex-basis) because flex-basis
     controls WIDTH in row layout but HEIGHT once the container switches
     to column here — reusing it left the box height ambiguous, and the
     image (height:100%) collapsed to its intrinsic ratio, leaving a
     gray gap below it where the container's own height won. */
  .hero-visual-inner { flex-direction: column; }
  .hero-img-primary { flex: none; height: 260px; }
  .hero-about {
    opacity: 1 !important;
    transform: none !important;
    padding: 24px 0 0;
  }
  .hero-about .btn { align-self: stretch !important; }
}

@media (max-width: 640px) {
  :root { --section-pad: 48px; }
  .container { padding: 0 20px; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 30px; }
  .hero-eyebrow { font-size: 11px; padding: 5px 14px; }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .hero-social-proof { gap: 12px; }
  .hero-img-primary { height: 200px; }
  .hero-about-img { height: 170px; }

  .card-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 22px 20px; }
  .secondary-chip { white-space: normal; text-align: center; }

  /* Stat strip: 2x2 grid, no hairline seams */
  .stat-strip { padding: 28px 0; }
  .stat-strip .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 12px;
  }
  .stat-item { flex: none; }
  .stat-item + .stat-item { border-left: none; }
  .stat-number { font-size: 22px; }
  .stat-label { font-size: 10px; }

  /* Testimonial strips */
  .testimonial-strip { padding: 36px 0; }
  .ts-feature, .ts-feature--reverse { padding: 16px; gap: 18px; }
  .ts-feature-photo { height: 220px; border-radius: 12px; }
  .ts-feature-quote { font-size: 18px; line-height: 1.4; margin-bottom: 18px; }

  /* Slider */
  .slide-card { padding: 52px 20px 24px; }
  .slide-quote-mark { font-size: 84px; top: 4px; left: 14px; }
  .slide-quote { font-size: 16.5px; }
  .slide-photo { width: 46px; height: 46px; }
  .slider-arrow { width: 44px; height: 44px; }

  /* Why choose */
  .why-item { padding: 20px; }
  .why-item h3 { font-size: 17px; }

  /* RCIC */
  .rcic-photo { max-width: 100%; min-height: 240px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cta-banner { padding: 48px 0; }
  .cta-banner .btn { width: 100%; }

  #strategy-form .sf-card { padding: 0; }
  #strategy-form .sf-chip { padding: 9px 14px; font-size: 13.5px; }
  #strategy-form .sf-phone-row .sf-cc { width: 92px; flex-basis: 92px; padding-right: 26px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}


/* ===================================================
   FLOATING ACTION BAR
   =================================================== */
.floating-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.floating-bar[hidden] {
  display: flex;
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
}
.fb-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--gradient);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: var(--ls-heading);
  padding: 6px 6px 6px 24px;
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(165, 43, 45, 0.32);
  white-space: nowrap;
  min-height: 52px;
}
.fb-cta:hover { background: var(--gradient-btn-hover); }
.fb-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}
.fb-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.36);
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.fb-whatsapp:hover { background: #1EBE5A; }
.fb-cta:focus-visible,
.fb-whatsapp:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.35);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .floating-bar {
    left: 16px;
    right: 16px;
    bottom: 16px;
    transform: none;
    gap: 8px;
  }
  .floating-bar[hidden] { transform: translateY(16px); }
  .fb-cta {
    flex: 1;
    justify-content: space-between;
    font-size: 14px;
    padding: 5px 5px 5px 20px;
    min-height: 48px;
  }
  .fb-cta-icon { width: 38px; height: 38px; }
  .fb-whatsapp { width: 48px; height: 48px; }
}