
/* ==========================================================================
   RIDGEVIEW TAX & ACCOUNTING — LUXURY WHITE EXECUTIVE DESIGN SYSTEM 2025
   Theme: Luminous White & Light Executive Aesthetic
   Responsive Engine: 100% Locked Viewport, Zero Horizontal Scroll, Fluid Typography
   ========================================================================== */

:root {
  /* Brand Colors from Official Style Guide */
  --brand-orange:        #F7722A;
  --brand-orange-dark:   #EB5401;
  --brand-orange-light:  #FFF2EB;
  --brand-orange-subtle: rgba(247, 114, 42, 0.08);
  --brand-slate:         #5B6C84;
  --brand-charcoal:      #1E293B;
  --brand-sand:          #FBF8F5;
  --brand-teal:          #5C8F87;
  --brand-gold:          #C5A028;

  /* UI Light Surface Colors */
  --bg-body:             #FFFFFF;
  --bg-surface:          #F8FAFC;
  --bg-surface-alt:      #F1F5F9;
  --bg-card:             #FFFFFF;
  --bg-card-hover:       #FAFAFA;
  --bg-warm:             #FFFBF7;

  /* Text Hierarchy */
  --text-primary:        #0F172A;
  --text-secondary:      #334155;
  --text-muted:          #64748B;
  --text-light:          #94A3B8;
  --text-white:          #FFFFFF;

  /* Borders */
  --border-light:        #E2E8F0;
  --border-subtle:       #F1F5F9;
  --border-orange:       rgba(247, 114, 42, 0.35);

  /* Shadows */
  --shadow-xs:           0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm:           0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:           0 8px 24px -4px rgba(0,0,0,0.08), 0 2px 6px -1px rgba(0,0,0,0.04);
  --shadow-lg:           0 20px 40px -8px rgba(0,0,0,0.1), 0 4px 12px -2px rgba(0,0,0,0.05);
  --shadow-orange:       0 8px 25px rgba(247,114,42,0.28);
  --shadow-card:         0 4px 20px rgba(0,0,0,0.05), 0 0 0 1px rgba(226,232,240,0.8);

  /* Radius */
  --radius-xs:           4px;
  --radius-sm:           8px;
  --radius-md:           14px;
  --radius-lg:           20px;
  --radius-xl:           28px;
  --radius-full:         9999px;

  /* Fonts */
  --font-serif:          'Playfair Display', 'Didot', Georgia, serif;
  --font-sans:           'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --ease:                all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce:         all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================
   RESET & STRICT HORIZONTAL OVERFLOW LOCK
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-secondary);
  line-height: 1.65;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Text Word Wrap Protection (Prevents text clipping) */
h1, h2, h3, h4, h5, h6, p, span, a, div, li, button, label, input, select, textarea {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--ease);
}

ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* =============================================
   CONTAINERS & SECTIONS
   ============================================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}

/* Badge Tag */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 1rem;
  background: var(--brand-orange-light);
  border: 1px solid rgba(247, 114, 42, 0.3);
  border-radius: var(--radius-full);
  color: var(--brand-orange-dark);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.badge-gold {
  background: #FEF9C3;
  border-color: #FDE047;
  color: #854D0E;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.section-divider {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--brand-orange);
  border-radius: var(--radius-full);
  margin: 1rem auto;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--ease);
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
  min-height: 44px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-orange);
  border-color: transparent;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(247,114,42,0.4);
  background: linear-gradient(135deg, var(--brand-orange-dark) 0%, #CC4800 100%);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-primary);
  border-color: var(--border-light);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--text-primary);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  background: #FFFFFF;
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--brand-orange-light);
  color: var(--brand-orange-dark);
  border-color: rgba(247,114,42,0.3);
}
.btn-ghost:hover {
  background: var(--brand-orange);
  color: #FFFFFF;
  border-color: var(--brand-orange);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.82rem; min-height: 38px; }
.btn-lg { padding: 1rem 2.25rem; font-size: 0.98rem; min-height: 52px; }

/* =============================================
   TOP ANNOUNCEMENT BAR
   ============================================= */
.top-bar {
  background: #0F172A;
  color: #94A3B8;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.55rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  max-width: 100vw;
  overflow: hidden;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #CBD5E1;
  white-space: nowrap;
}
.top-bar-left i { color: var(--brand-orange); font-size: 0.85rem; }

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  white-space: nowrap;
}

.top-bar-right .alert-text {
  color: #FCD34D;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-right a {
  color: #E2E8F0;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  transition: var(--ease);
}
.top-bar-right a:hover {
  color: #FFFFFF;
  border-color: var(--brand-orange);
  background: rgba(247,114,42,0.2);
}

/* =============================================
   HEADER & NAVBAR
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 15px rgba(0,0,0,0.04);
  transition: var(--ease);
  width: 100%;
  max-width: 100vw;
}

.site-header.scrolled {
  background: #FFFFFF;
  box-shadow: 0 4px 25px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 1rem;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo-img {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: none !important;
  transition: var(--ease);
}

/* Desktop Nav Menu */
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-item { position: relative; }

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: var(--ease);
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-orange-dark);
  background: var(--brand-orange-light);
}

.nav-link.nav-calc-link {
  color: var(--brand-orange-dark);
  background: var(--brand-orange-light);
  border: 1px solid rgba(247,114,42,0.25);
  font-weight: 700;
  padding: 0.45rem 0.85rem;
}
.nav-link.nav-calc-link:hover {
  background: var(--brand-orange);
  color: #FFFFFF !important;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.6rem;
  list-style: none;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--ease);
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--ease);
}
.dropdown-item a:hover {
  background: var(--brand-orange-light);
  color: var(--brand-orange-dark);
  font-weight: 600;
  padding-left: 1.15rem;
}
.dropdown-item a i {
  color: var(--brand-orange);
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
}

/* Right Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--ease);
}
.lang-btn.active {
  background: var(--brand-orange);
  color: #FFFFFF;
}

.nav-login-btn {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-slate);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
}
.nav-login-btn:hover {
  color: var(--brand-orange);
  background: var(--brand-orange-light);
}

.nav-cta-btn {
  flex-shrink: 0;
  padding: 0.6rem 1.25rem !important;
  font-size: 0.84rem !important;
  box-shadow: var(--shadow-orange);
}

.mobile-toggle {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 1.15rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--ease);
}
.mobile-toggle:hover {
  background: var(--brand-orange-light);
  color: var(--brand-orange);
}

/* Mobile Drawer */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 1.25rem 1.5rem 2rem;
  gap: 0.35rem;
  box-shadow: var(--shadow-lg);
  max-height: 85vh;
  overflow-y: auto;
  width: 100%;
}
.mobile-menu.open { display: flex; }

.mobile-menu .nav-link {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-menu .mobile-sub-services {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0.4rem 0;
}
.mobile-menu .mobile-sub-services a {
  padding: 0.5rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.mobile-menu .btn {
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.95rem;
  font-size: 0.95rem;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  position: relative;
  min-height: 84vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF9F5 45%, #F8FAFC 100%);
  width: 100%;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: brightness(1.05) contrast(0.95);
}
.hero-slide.active { opacity: 0.15; }

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.85) 60%, rgba(255,255,255,0.4) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-left { max-width: 640px; }

.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  color: var(--text-primary);
  line-height: 1.14;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.hero-title span { color: var(--brand-orange); }

.hero-subtitle {
  font-size: clamp(0.98rem, 2vw, 1.1rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 560px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
}

.hero-stat { display: flex; flex-direction: column; }

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--brand-orange);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.35rem;
  max-width: 130px;
  line-height: 1.3;
}

/* Trust Cards */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trust-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.45rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
}
.trust-card:hover {
  border-color: var(--brand-orange);
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.trust-card-icon {
  width: 46px;
  height: 46px;
  background: var(--brand-orange-light);
  border: 1px solid rgba(247,114,42,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--brand-orange-dark);
  flex-shrink: 0;
}

.trust-card-text strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}
.trust-card-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.slider-controls {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}
.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: #CBD5E1;
  border: none;
  cursor: pointer;
  transition: var(--ease);
}
.slide-dot.active {
  background: var(--brand-orange);
  width: 26px;
}

/* =============================================
   TRUST BAR (ACCREDITATIONS)
   ============================================= */
.trust-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
  width: 100%;
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}
.trust-badge-item i {
  color: var(--brand-orange);
  font-size: 1.05rem;
}

.trust-divider {
  width: 1px;
  height: 20px;
  background: var(--border-light);
}

/* =============================================
   PROCESS SECTION
   ============================================= */
.process-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background: #FFFFFF;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4.5rem;
}

.process-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
}
.process-card:hover {
  border-color: var(--brand-orange);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-num-badge {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-orange);
}

.process-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}
.process-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =============================================
   SERVICES TABS
   ============================================= */
.service-tabs-container {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  max-width: 100%;
}

.service-tabs-nav {
  display: flex;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 100%;
}
.service-tabs-nav::-webkit-scrollbar { display: none; }

.service-tab-btn {
  flex: 1;
  min-width: 160px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 1.1rem 1rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: var(--ease);
  white-space: nowrap;
}
.service-tab-btn:hover { color: var(--text-primary); background: rgba(0,0,0,0.02); }
.service-tab-btn.active {
  color: var(--brand-orange-dark);
  border-bottom-color: var(--brand-orange);
  background: #FFFFFF;
  font-weight: 700;
}

.service-tab-content {
  display: none;
  padding: clamp(1.75rem, 4vw, 3rem);
}
.service-tab-content.active { display: block; }

.service-content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.service-info-box h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.5rem);
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}
.service-info-box > p {
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.service-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.service-features-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--brand-orange-light);
  border: 1px solid rgba(247,114,42,0.4);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23EB5401'%3E%3Cpath fill-rule='evenodd' d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z' clip-rule='evenodd' /%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

.service-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.service-form-card h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

/* =============================================
   FORMS & INPUTS (iOS ZOOM-SAFE 16PX)
   ============================================= */
.form-group { margin-bottom: 1.15rem; }

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px; /* Prevents auto-zoom on iOS */
  padding: 0.8rem 1rem;
  transition: var(--ease);
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(247,114,42,0.15);
}
.form-input::placeholder { color: #94A3B8; }
.form-select { cursor: pointer; }
.form-textarea { resize: vertical; min-height: 100px; }


/* =============================================
   TEAM GRID & CARDS
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
  width: 100%;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
  display: flex;
  flex-direction: column;
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-md);
}

.team-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.team-card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-card-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.team-card-role {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-orange);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.team-card-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   ABOUT US SECTION
   ============================================= */
.about-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background: var(--bg-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.about-image-stack { position: relative; }

.about-img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.about-stat-pill {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-stat-pill .stat-number { font-size: 2.1rem; }
.about-stat-pill .stat-label { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); }

.about-text h2 { margin-bottom: 1.15rem; }
.about-text > p { margin-bottom: 1.5rem; font-size: 1rem; }

.about-points {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2rem;
}
.about-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.about-point-icon {
  width: 42px;
  height: 42px;
  background: var(--brand-orange-light);
  border: 1px solid rgba(247,114,42,0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--brand-orange-dark);
  flex-shrink: 0;
}
.about-point-text strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.about-point-text span { font-size: 0.86rem; color: var(--text-muted); line-height: 1.55; }

/* =============================================
   INTERACTIVE TAX CALCULATOR
   ============================================= */
.calculator-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background: #FFFFFF;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.calculator-panel {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-card);
}

.calculator-panel h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.calculator-panel > p { margin-bottom: 1.75rem; font-size: 0.92rem; color: var(--text-muted); }

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.calc-label-row label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}
.calc-val-display {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-orange-dark);
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: var(--bg-surface-alt);
  border-radius: var(--radius-full);
  outline: none;
  margin-bottom: 1.75rem;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-orange);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(247,114,42,0.45);
  border: 3px solid #FFFFFF;
}

.calc-select-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.calc-results {
  background: linear-gradient(135deg, var(--bg-warm) 0%, #FFFFFF 100%);
  border: 1px solid rgba(247,114,42,0.3);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, 1.85rem);
  box-shadow: var(--shadow-sm);
}

.calc-total-savings {
  text-align: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.calc-total-savings .savings-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: var(--brand-orange-light);
  border: 1px solid rgba(247,114,42,0.35);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-orange-dark);
  margin-bottom: 0.75rem;
}

.savings-total {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.1rem);
  font-weight: 800;
  color: var(--brand-orange);
  line-height: 1;
}

.savings-period { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.35rem; }

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.calc-breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}
.calc-breakdown-item span:first-child { color: var(--text-secondary); }
.calc-breakdown-item .breakdown-val {
  font-weight: 700;
  color: var(--text-primary);
}

.calc-desc-col h3 { font-size: clamp(1.7rem, 3vw, 2.1rem); margin-bottom: 1.1rem; }
.calc-desc-col p { margin-bottom: 1.5rem; font-size: 1rem; }
.calc-features { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2rem; }
.calc-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.calc-feature-item i { color: var(--brand-orange); font-size: 1.1rem; flex-shrink: 0; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background: var(--bg-surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
}
.testimonial-card:hover {
  border-color: var(--brand-orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #EAB308;
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
}

.testimonial-quote {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-slate));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
}
.testimonial-author-name { font-weight: 700; font-size: 0.92rem; color: var(--text-primary); }
.testimonial-author-role { font-size: 0.78rem; color: var(--text-muted); }

/* =============================================
   SCHEDULE SECTION
   ============================================= */
.schedule-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background: #FFFFFF;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.schedule-info h2 { margin-bottom: 1rem; }
.schedule-info > p { margin-bottom: 1.75rem; font-size: 1rem; }

.schedule-contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.schedule-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.schedule-contact-item i {
  width: 42px;
  height: 42px;
  background: var(--brand-orange-light);
  border: 1px solid rgba(247,114,42,0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--brand-orange-dark);
  flex-shrink: 0;
}
.schedule-contact-item strong { display: block; font-size: 0.92rem; color: var(--text-primary); }
.schedule-contact-item span { font-size: 0.85rem; color: var(--text-muted); }

.schedule-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-card);
}
.schedule-form-card h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.schedule-form-card p { font-size: 0.88rem; margin-bottom: 1.75rem; color: var(--text-muted); }

/* =============================================
   SUPPORT / FAQ
   ============================================= */
.support-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background: var(--bg-surface);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-top: 2.5rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--ease);
}
.faq-item:hover { border-color: var(--brand-orange); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
  gap: 1rem;
}
.faq-question i {
  color: var(--brand-orange);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: var(--ease);
}
.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* =============================================
   CONTACT & MAP SECTION
   ============================================= */
.contact-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background: #FFFFFF;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 0.9rem; }
.contact-info > p { margin-bottom: 1.75rem; font-size: 1rem; }

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-method-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-orange-light);
  border: 1px solid rgba(247,114,42,0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--brand-orange-dark);
  flex-shrink: 0;
}
.contact-method-text strong { display: block; color: var(--text-primary); font-size: 0.92rem; margin-bottom: 0.2rem; }
.contact-method-text span { font-size: 0.85rem; color: var(--text-muted); }

.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-card);
}
.contact-form-card h3 { margin-bottom: 0.4rem; }
.contact-form-card p { font-size: 0.88rem; margin-bottom: 1.75rem; color: var(--text-muted); }

.google-map-embed {
  margin-top: 1.75rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.google-map-embed iframe {
  width: 100%;
  height: 230px;
  border: none;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #0F172A;
  color: #94A3B8;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 4.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E2E8F0;
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  filter: none !important;
  display: block;
}

.footer-desc {
  font-size: 0.86rem;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 1.35rem;
}

.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #CBD5E1;
  transition: var(--ease);
}
.footer-social a:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-links li a {
  font-size: 0.86rem;
  color: #94A3B8;
  transition: var(--ease);
}
.footer-links li a:hover {
  color: var(--brand-orange);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.78rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: #64748B; }
.footer-bottom a:hover { color: var(--brand-orange); }
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* =============================================
   CLIENT PORTAL & PROMO MODALS
   ============================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--ease);
}
.modal-backdrop.open { opacity: 1; visibility: visible; }

.modal-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  width: 100%;
  max-width: 480px;
  position: relative;
  transform: translateY(20px);
  transition: var(--ease);
  box-shadow: var(--shadow-lg);
}
.modal-backdrop.open .modal-card { transform: translateY(0); }

.modal-close-btn {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--ease);
}
.modal-close-btn:hover { color: var(--text-primary); background: #E2E8F0; }

.promo-popup {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 1500;
  width: min(460px, 92vw);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}
.promo-popup.visible { transform: translateX(-50%) translateY(0); }
.promo-popup .promo-close { position: absolute; top: 0.85rem; right: 0.85rem; }
.promo-popup h3 { font-size: 1.35rem; margin: 0.85rem 0 0.65rem; }
.promo-popup p { font-size: 0.88rem; margin-bottom: 1.5rem; }

/* =============================================
   FLOATING ACTIONS (MOBILE OPTIMIZED)
   ============================================= */
.floating-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.floating-wa {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: var(--ease-bounce);
}
.floating-wa:hover { transform: scale(1.06); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.floating-wa i { font-size: 1.2rem; }

/* =============================================
   ADA ACCESSIBILITY WIDGET
   ============================================= */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--brand-orange);
  color: #FFFFFF;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-size: 0.9rem;
  transition: top 0.2s;
}
.skip-to-content:focus { top: 1rem; }

.ada-trigger-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1400;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  transition: var(--ease-bounce);
}
.ada-trigger-btn:hover { transform: scale(1.12); }

.ada-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(5px);
  z-index: 1600;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--ease);
}
.ada-modal-overlay.open { opacity: 1; visibility: visible; }

.ada-modal-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: min(320px, 90vw);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(20px);
  transition: var(--ease);
}
.ada-modal-overlay.open .ada-modal-card { transform: translateY(0); }

.ada-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.25rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}
.ada-header h3 { font-size: 0.9rem; color: var(--text-primary); }
.ada-close-btn {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 1.15rem; line-height: 1;
}

.ada-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.ada-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.ada-btn-group { display: flex; gap: 0.45rem; }
.ada-btn {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  transition: var(--ease);
  text-align: center;
}
.ada-btn:hover, .ada-btn.active {
  background: var(--brand-orange-light);
  border-color: var(--brand-orange);
  color: var(--brand-orange-dark);
}

.ada-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ada-toggle-row span { font-size: 0.82rem; font-weight: 500; color: var(--text-secondary); }

.ada-toggle {
  width: 38px;
  height: 20px;
  background: #CBD5E1;
  border-radius: var(--radius-full);
  position: relative;
  cursor: pointer;
  transition: var(--ease);
}
.ada-toggle.on { background: var(--brand-orange); }
.ada-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  transition: var(--ease);
}
.ada-toggle.on::after { left: 20px; }

.ada-reset-btn {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.6rem;
  cursor: pointer;
  transition: var(--ease);
  margin-top: 0.25rem;
}
.ada-reset-btn:hover { border-color: var(--brand-orange); color: var(--brand-orange-dark); background: var(--brand-orange-light); }

/* ADA Functional Classes */
body.ada-text-lg { font-size: 110%; }
body.ada-text-xl { font-size: 120%; }
body.ada-text-sm { font-size: 90%; }
body.ada-contrast-dark { filter: contrast(1.5) invert(1); background: #000; }
body.ada-contrast-light { filter: contrast(1.3) brightness(1.05); }
body.ada-monochrome { filter: grayscale(100%); }
body.ada-dyslexia { font-family: 'Arial', sans-serif !important; letter-spacing: 0.08em; word-spacing: 0.18em; }
body.ada-highlight-links a { background: rgba(247,114,42,0.15) !important; text-decoration: underline !important; outline: 2px dashed var(--brand-orange) !important; }
body.ada-pause-anim *, body.ada-pause-anim *::before, body.ada-pause-anim *::after { animation: none !important; transition: none !important; }
body.ada-big-cursor, body.ada-big-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M8 2L8 26L14 20L18 28L21 27L17 19L25 19Z' fill='%23F7722A' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E") 8 2, pointer !important; }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (BRUTAL MOBILE PERFECTION)
   ========================================================================== */

@media (max-width: 1180px) {
  .nav-menu { gap: 0; }
  .nav-link { font-size: 0.8rem; padding: 0.45rem 0.55rem; }
  .nav-actions { gap: 0.45rem; }
  .nav-cta-btn { padding: 0.55rem 1rem !important; font-size: 0.8rem !important; }
}

/* Tablet and Large Mobile Viewports */
@media (max-width: 991px) {
  nav { display: none; }
  .nav-actions .nav-login-btn { display: none; }
  .nav-actions .nav-cta-btn { display: none; }
  .mobile-toggle { display: flex; }
  .nav-inner { height: 68px; }
  .header-logo-img { height: 38px; max-width: 180px; }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-top: 2rem;
  }
  .hero-section { min-height: auto; }
  
  .about-grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .calculator-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .schedule-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .service-content-grid { grid-template-columns: 1fr; gap: 2rem; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {

  /* Team Grid 1-column on mobile */
  .team-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    max-width: 440px !important;
    margin: 2rem auto 0 auto !important;
  }
  .team-card-img {
    height: 280px !important;
  }
  .team-card-info {
    padding: 1.35rem 1.25rem !important;
  }
  .team-card-info h4 {
    font-size: 1.1rem !important;
  }
  .team-card-role {
    font-size: 0.8rem !important;
  }

  /* Floating button compact sizes on mobile */
  .floating-container {
    bottom: 1rem !important;
    right: 1rem !important;
  }
  .floating-wa {
    width: 48px !important;
    height: 48px !important;
  }
  .floating-wa i {
    font-size: 1.3rem !important;
  }
  .ada-trigger-btn {
    bottom: 1rem !important;
    left: 1rem !important;
    width: 42px !important;
    height: 42px !important;
    font-size: 1rem !important;
  }

  .container { padding: 0 1.25rem; }
  .top-bar { display: none; }
  
  .hero-title {
    font-size: clamp(1.95rem, 6.8vw, 2.55rem);
    line-height: 1.16;
    margin-bottom: 0.9rem;
  }
  .hero-subtitle {
    font-size: 0.96rem;
    line-height: 1.6;
    margin-bottom: 1.65rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    font-size: 0.95rem;
  }
  
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
  }
  .stat-number { font-size: clamp(1.35rem, 4vw, 1.8rem); }
  .stat-label { font-size: 0.7rem; line-height: 1.25; max-width: 100%; }
  
  .trust-card {
    padding: 1.1rem 1.25rem;
    gap: 0.85rem;
  }
  .trust-card-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  
  .trust-inner {
    gap: 0.85rem 1.25rem;
  }
  .trust-divider { display: none; }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    margin-bottom: 3.5rem;
  }
  
  .service-tab-btn {
    min-width: 150px;
    padding: 1rem 0.75rem;
    font-size: 0.82rem;
  }
  .service-tab-content { padding: 1.75rem 1.15rem; }
  
  .about-stat-pill {
    position: static;
    margin: 1.25rem auto 0;
    width: 100%;
    max-width: 280px;
  }
  
  .calculator-panel { padding: 1.65rem 1.15rem; }
  .calc-select-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .calc-results { padding: 1.35rem 1.1rem; }
  .savings-total { font-size: clamp(2.2rem, 7vw, 2.75rem); }
  
  .faq-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
  }
  
  /* Floating Buttons on Mobile */
  .floating-wa span { display: none; }
  .floating-wa {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .floating-wa i { font-size: 1.4rem; }
  .ada-trigger-btn {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }
}

/* Compact Mobile Devices (<= 480px) */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section-padding { padding: 3.25rem 0; }
  
  .header-logo-img { height: 34px; max-width: 160px; }
  .nav-inner { height: 62px; }
  
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.25rem); }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    text-align: center;
  }
  .stat-number { font-size: 1.75rem; }
  .stat-label { font-size: 0.78rem; }
  
  .calc-label-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .calc-breakdown-item {
    font-size: 0.82rem;
    gap: 0.35rem;
  }
  
  .format-pills {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }
  
  .modal-card { padding: 1.5rem 1.15rem; }
  .promo-popup { padding: 1.5rem 1.15rem; }
}


/* Dedicated Component Classes (No Inline Styles) */
.calc-desc-title {
  font-size: clamp(1.45rem, 3.2vw, 2.2rem);
  line-height: 1.25;
  margin: 0.85rem 0 1.15rem;
  color: var(--text-primary);
  word-break: normal;
  overflow-wrap: break-word;
}
.highlight-orange {
  color: var(--brand-orange);
}

.sched-date-time-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.deadline-alert-box {
  background: rgba(197,160,40,0.08);
  border: 1px solid rgba(197,160,40,0.25);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.75rem;
  margin-bottom: 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-hq-title {
  font-size: clamp(1.4rem, 2.8vw, 1.95rem);
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .sched-date-time-row {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .deadline-alert-box {
    padding: 1.15rem 1rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .deadline-alert-box .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .calc-desc-col {
    width: 100% !important;
    max-width: 100% !important;
  }
  .calc-desc-title {
    font-size: clamp(1.4rem, 6vw, 1.85rem) !important;
    line-height: 1.25 !important;
  }
  .calc-features {
    width: 100% !important;
    max-width: 100% !important;
    gap: 0.85rem !important;
  }
  .calc-feature-item {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.65rem !important;
  }
  .calc-feature-item span {
    flex: 1 !important;
    min-width: 0 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  
  /* Floating buttons refined position */
  .floating-container {
    bottom: 0.85rem !important;
    right: 0.85rem !important;
  }
  .floating-wa {
    width: 46px !important;
    height: 46px !important;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4) !important;
  }
  .floating-wa i {
    font-size: 1.25rem !important;
  }
  .ada-trigger-btn {
    bottom: 0.85rem !important;
    left: 0.85rem !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 0.95rem !important;
  }
}


/* ==========================================================================
   ROOT CAUSE RESPONSIVE ENGINE — ZERO CLIPPING, PERFECT TABS & TEXT WRAP
   ========================================================================== */

/* 1. Global Viewport & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box !important;
}

html, body {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: clip !important;
  position: relative !important;
}

.container {
  width: 100% !important;
  max-width: 1280px !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* 2. Service Tabs — Zero Overlap, Smooth Horizontal Scroll */
.service-tabs-container {
  width: 100% !important;
  max-width: 100% !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-sizing: border-box !important;
}

.service-tabs-nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  background: var(--bg-surface) !important;
  border-bottom: 1px solid var(--border-light) !important;
  width: 100% !important;
  max-width: 100% !important;
}
.service-tabs-nav::-webkit-scrollbar {
  display: none !important;
}

.service-tab-btn {
  flex: 0 0 auto !important; /* Critical: Never shrink to 0 width */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  min-width: max-content !important;
  padding: 1rem 1.35rem !important;
  font-family: var(--font-sans) !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  border: none !important;
  background: transparent !important;
  border-bottom: 3px solid transparent !important;
  color: var(--text-muted) !important;
  cursor: pointer !important;
  transition: var(--ease) !important;
}
.service-tab-btn:hover {
  color: var(--text-primary) !important;
  background: rgba(0,0,0,0.02) !important;
}
.service-tab-btn.active {
  color: var(--brand-orange-dark) !important;
  border-bottom-color: var(--brand-orange) !important;
  background: #FFFFFF !important;
  font-weight: 700 !important;
}

/* 3. Mobile Grid & Flex Shrink Enforcement (Prevents Right-Side Cropping) */
@media (max-width: 991px) {
  .hero-content,
  .process-grid,
  .service-content-grid,
  .calculator-grid,
  .about-grid,
  .testimonials-grid,
  .schedule-grid,
  .contact-grid,
  .footer-grid,
  .team-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 2rem !important;
  }

  .hero-left,
  .hero-right,
  .process-card,
  .service-info-box,
  .service-form-card,
  .calculator-panel,
  .calc-desc-col,
  .about-image-stack,
  .about-text,
  .testimonial-card,
  .schedule-info,
  .schedule-form-card,
  .contact-info,
  .contact-form-card,
  .footer-col,
  .team-card {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .container {
    padding-left: 1.1rem !important;
    padding-right: 1.1rem !important;
  }
  
  .service-tab-content {
    padding: 1.35rem 1.1rem !important;
  }
  
  .service-info-box h3 {
    font-size: clamp(1.25rem, 5vw, 1.45rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 0.75rem !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
  
  .service-info-box p {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
  
  .service-features-list,
  .calc-features,
  .about-points {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .service-features-list li,
  .calc-feature-item {
    display: flex !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    gap: 0.65rem !important;
  }
  
  .service-features-list li,
  .calc-feature-item span {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
  
  .calc-desc-title {
    font-size: clamp(1.35rem, 5.5vw, 1.8rem) !important;
    line-height: 1.25 !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
  
  .calc-desc-col p {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .calc-results,
  .calculator-panel,
  .service-form-card,
  .schedule-form-card,
  .contact-form-card {
    padding: 1.35rem 1.1rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* ==========================================================================
   MASTER FLOATING / STICKY NAVBAR
   ========================================================================== */
html, body {
  overflow-x: clip !important;
  width: 100% !important;
  position: relative !important;
}

.site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--border-light) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08) !important;
  border-bottom-color: rgba(226, 232, 240, 0.9) !important;
}

.site-header.scrolled .nav-inner {
  height: 68px !important;
}

@media (max-width: 991px) {
  .site-header.scrolled .nav-inner {
    height: 62px !important;
  }
}

/* ==========================================================================
   PERFECT BULLETPROOF FIXED / FLOATING NAVBAR (FOLLOWS USER ON SCROLL)
   ========================================================================== */
.top-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 10001 !important;
  height: 38px !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
}

.site-header {
  position: fixed !important;
  top: 38px !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 10000 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--border-light) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
  transition: top 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease !important;
}

body {
  padding-top: 118px !important;
}

/* When scrolling down: top-bar hides, header glides to top:0 and stays fixed with user */
body.has-scrolled .top-bar {
  transform: translateY(-100%) !important;
  opacity: 0 !important;
}

body.has-scrolled .site-header {
  top: 0 !important;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.1) !important;
  background: #FFFFFF !important;
}

body.has-scrolled .site-header .nav-inner {
  height: 68px !important;
}

@media (max-width: 991px) {
  body {
    padding-top: 106px !important;
  }
  body.has-scrolled .site-header .nav-inner {
    height: 62px !important;
  }
}
/* ==========================================================================
   DROPDOWN MENU HOVER BRIDGE & POINTER EVENTS FIX
   ========================================================================== */
.nav-item {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}

.dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(4px) !important;
  min-width: 270px !important;
  background: #FFFFFF !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-md) !important;
  padding: 0.6rem !important;
  list-style: none !important;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
  z-index: 10005 !important;
}

/* Invisible hover bridge between button and dropdown */
.dropdown-menu::before {
  content: '' !important;
  position: absolute !important;
  top: -16px !important;
  left: 0 !important;
  right: 0 !important;
  height: 16px !important;
  background: transparent !important;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu,
.nav-item.dropdown-open .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}

.dropdown-item {
  width: 100% !important;
  margin-bottom: 2px !important;
}

.dropdown-item:last-child {
  margin-bottom: 0 !important;
}

.dropdown-item a {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.7rem 1rem !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text-secondary) !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.dropdown-item a:hover {
  background: var(--brand-orange-light) !important;
  color: var(--brand-orange-dark) !important;
  font-weight: 600 !important;
  padding-left: 1.25rem !important;
}

.dropdown-item a i {
  color: var(--brand-orange) !important;
  font-size: 0.9rem !important;
  width: 18px !important;
  text-align: center !important;
  flex-shrink: 0 !important;
}
/* ==========================================================================
   CRYSTAL CLEAR SUBPAGE HERO & HIGH-CONTRAST TYPOGRAPHY FIX
   ========================================================================== */
.hero-section .container {
  position: relative !important;
  z-index: 5 !important;
}

.page-hero {
  position: relative !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%) !important;
  border-bottom: 1px solid var(--border-light) !important;
  padding: 4.5rem 0 3.5rem 0 !important;
  text-align: center !important;
  width: 100% !important;
}

.page-hero::after {
  display: none !important;
}

.page-hero .container {
  position: relative !important;
  z-index: 5 !important;
  max-width: 920px !important;
  margin: 0 auto !important;
}

.page-hero h1 {
  font-family: var(--font-serif) !important;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem) !important;
  font-weight: 700 !important;
  color: #0F172A !important;
  line-height: 1.18 !important;
  margin-bottom: 1rem !important;
  letter-spacing: -0.02em !important;
  text-shadow: none !important;
  opacity: 1 !important;
  filter: none !important;
}

.page-hero p {
  font-family: var(--font-sans) !important;
  font-size: 1.08rem !important;
  color: #334155 !important;
  max-width: 740px !important;
  margin: 0 auto 1.5rem auto !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}