/* ========================================
   SMARTSITES AI — RAZORBACK CARDINAL THEME
   ======================================== */

:root {
  --bg-white: #ffffff;
  --bg-light: #faf8f8;
  --bg-muted: #f3f0f0;
  --bg-accent-light: #fdf2f3;
  --border: #e5dede;
  --border-hover: #d4c9c9;
  --text-dark: #1a0a0e;
  --text-body: #3d2228;
  --text-muted: #6b4a52;
  --text-light: #9a7e84;
  --accent: #9D2235;
  --accent-dark: #7A1B2A;
  --accent-gradient: linear-gradient(135deg, #9D2235 0%, #b82e42 50%, #9D2235 100%);
  --accent-text: linear-gradient(135deg, #9D2235 0%, #c4354c 100%);
  --accent-subtle: rgba(157, 34, 53, 0.06);
  --accent-border: rgba(157, 34, 53, 0.18);
  --success: #10b981;
  --warning: #f59e0b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(26,10,14,0.04), 0 1px 2px rgba(26,10,14,0.06);
  --shadow-md: 0 4px 16px rgba(26,10,14,0.06), 0 2px 6px rgba(26,10,14,0.04);
  --shadow-lg: 0 12px 40px rgba(26,10,14,0.08), 0 4px 12px rgba(26,10,14,0.04);
  --shadow-xl: 0 20px 60px rgba(26,10,14,0.1), 0 8px 20px rgba(26,10,14,0.06);
  --shadow-glow: 0 8px 40px rgba(157, 34, 53, 0.18);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --nav-height: 72px;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; border: none; cursor: pointer; background: none; }
input, textarea { font-family: inherit; }

/* ===== Utility ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
}
.section-padding { padding: 7rem 0; }
.text-left { text-align: left !important; }
.gradient-text {
  background: var(--accent-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Section Headers ===== */
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.section-tag--light {
  color: #fff;
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  white-space: nowrap;
  line-height: 1;
}
.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.875rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-xl { padding: 1.1rem 2.5rem; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  border: 2px solid transparent;
  box-shadow: 0 4px 16px rgba(157, 34, 53, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(157, 34, 53, 0.4);
}
.btn-ghost {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.btn-outline {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 2px solid var(--border-hover);
  font-weight: 700;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent-gradient);
  box-shadow: 0 8px 28px rgba(157, 34, 53, 0.3);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--accent);
  font-weight: 700;
  border: 2px solid transparent;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(26,10,14,0.06);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}
.logo span { color: var(--accent); }
.nav-desktop .nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text-dark); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.mobile-menu a:hover { color: var(--text-dark); background: var(--bg-light); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: var(--bg-white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(157,34,53,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(157,34,53,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(122,27,42,0.03) 0%, transparent 60%);
}

/* ===== 3D Floating Shapes ===== */
.hero-3d {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.cube-scene {
  position: absolute;
  perspective: 400px;
}
.cube-scene--1 { top: 15%; right: 10%; }
.cube-scene--2 { bottom: 20%; left: 8%; }
.cube {
  width: 80px;
  height: 80px;
  transform-style: preserve-3d;
  animation: spinCube 20s linear infinite;
}
.cube--sm { width: 50px; height: 50px; }
.cube--sm .cube-face { width: 50px; height: 50px; }
.cube-face {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(157, 34, 53, 0.15);
  background: rgba(157, 34, 53, 0.02);
  border-radius: 4px;
}
.cube-front  { transform: translateZ(40px); }
.cube-back   { transform: rotateY(180deg) translateZ(40px); }
.cube-right  { transform: rotateY(90deg) translateZ(40px); }
.cube-left   { transform: rotateY(-90deg) translateZ(40px); }
.cube-top    { transform: rotateX(90deg) translateZ(40px); }
.cube-bottom { transform: rotateX(-90deg) translateZ(40px); }
.cube--sm .cube-front  { transform: translateZ(25px); }
.cube--sm .cube-back   { transform: rotateY(180deg) translateZ(25px); }
.cube--sm .cube-right  { transform: rotateY(90deg) translateZ(25px); }
.cube--sm .cube-left   { transform: rotateY(-90deg) translateZ(25px); }
.cube--sm .cube-top    { transform: rotateX(90deg) translateZ(25px); }
.cube--sm .cube-bottom { transform: rotateX(-90deg) translateZ(25px); }
@keyframes spinCube {
  0%   { transform: rotateX(0deg) rotateY(0deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

.float-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(157, 34, 53, 0.12);
  animation: floatRing 8s ease-in-out infinite;
}
.float-ring--1 { width: 120px; height: 120px; top: 30%; left: 5%; animation-delay: -2s; }
.float-ring--2 { width: 80px; height: 80px; bottom: 25%; right: 15%; animation-delay: -5s; }
@keyframes floatRing {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
  50% { transform: translateY(-25px) rotate(180deg); opacity: 1; }
}

.float-sphere {
  position: absolute;
  border-radius: 50%;
  animation: floatSphere 7s ease-in-out infinite;
}
.float-sphere--1 {
  width: 16px; height: 16px;
  background: var(--accent-gradient);
  opacity: 0.3;
  top: 25%; left: 20%;
}
.float-sphere--2 {
  width: 10px; height: 10px;
  background: rgba(157, 34, 53, 0.35);
  top: 60%; right: 20%;
  animation-delay: -3s;
}
.float-sphere--3 {
  width: 14px; height: 14px;
  background: rgba(157, 34, 53, 0.25);
  bottom: 30%; left: 35%;
  animation-delay: -5s;
}
.float-sphere--cta1 {
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  top: -100px; right: -80px;
  animation-delay: -2s;
}
.float-sphere--cta2 {
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.04);
  bottom: -60px; left: -40px;
  animation-delay: -5s;
}
@keyframes floatSphere {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-15px) translateX(8px); }
  75% { transform: translateY(10px) translateX(-8px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}
.typewriter-wrapper { display: inline-block; min-width: 180px; text-align: left; }
.typewriter-cursor {
  animation: blink 0.7s step-end infinite;
  font-weight: 300;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hero-proof strong { color: var(--text-dark); }
.hero-avatars { display: flex; }
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--bg-white);
  margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }

/* ===== Stats Bar ===== */
.stats-bar {
  padding: 3.5rem 0;
  background: var(--bg-accent-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  background: var(--accent-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  background: var(--accent-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ===== Process ===== */
.process { background: var(--bg-white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.process-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  box-shadow: 0 0 0 rgba(26,10,14,0);
  transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  transform-style: preserve-3d;
}
.process-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-lg);
}
.process-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: var(--accent-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.1;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
}
.process-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.process-card h3 {
  position: relative; z-index: 1;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}
.process-card p {
  position: relative; z-index: 1;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ===== Packages ===== */
.packages { background: var(--bg-light); }
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.package-card {
  position: relative;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 0 rgba(26,10,14,0);
  transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  transform-style: preserve-3d;
}
.package-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-xl);
}
.package-card--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}
.package-card--featured:hover {
  box-shadow: 0 12px 50px rgba(157, 34, 53, 0.22);
}
.package-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.4rem 1.4rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.package-header { margin-bottom: 1.5rem; }
.package-tier {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.price-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.price-tier {
  display: inline-flex;
  align-items: baseline;
  gap: 0.05em;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
}
.price-tier__sign {
  font-size: 3rem;
  transition: transform 0.25s ease, color 0.25s ease;
}
.price-tier__sign--on {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}
.price-tier__sign--off {
  color: var(--border);
  -webkit-text-fill-color: var(--border);
  opacity: 0.7;
}
.package-card--featured .price-tier__sign--on {
  filter: drop-shadow(0 4px 14px rgba(157, 34, 53, 0.22));
}
.package-for {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 0.75rem;
}
.package-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}
.package-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-body);
}
.package-features svg { flex-shrink: 0; }

.package-card > .btn {
  margin-top: auto;
  padding: 1.15rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  border-radius: var(--radius-md);
  min-height: 56px;
  position: relative;
  overflow: hidden;
}
.package-card > .btn-outline {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 2px solid var(--border-hover);
}
.package-card > .btn-outline:hover {
  background: var(--text-dark);
  color: #fff;
  border-color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26, 10, 14, 0.2);
}
.package-card--featured > .btn-primary {
  box-shadow: 0 6px 20px rgba(157, 34, 53, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.package-card--featured > .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(157, 34, 53, 0.5), inset 0 1px 0 rgba(255,255,255,0.25);
}
.package-card > .btn::after {
  content: "→";
  font-weight: 400;
  margin-left: 0.5rem;
  transition: transform 0.25s ease;
  display: inline-block;
}
.package-card > .btn:hover::after { transform: translateX(4px); }

/* ===== Results ===== */
.results { background: var(--bg-white); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.result-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: 0 0 0 rgba(26,10,14,0);
  transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  transform-style: preserve-3d;
}
.result-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-lg);
}
.result-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.result-metric { margin-bottom: 1.25rem; }
.result-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--accent-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.result-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}
.result-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}
.result-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.result-stats {
  display: flex;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.result-stats strong { color: var(--text-dark); }
.results-cta { text-align: center; }

/* ===== Testimonials ===== */
.testimonials { background: var(--bg-light); }
.testimonial-carousel { position: relative; overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  margin: 0 0.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: 0 0 0 rgba(26,10,14,0);
  transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-lg);
}
.testimonial-stars {
  color: var(--warning);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
}
.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--text-dark); }
.testimonial-author span { font-size: 0.8rem; color: var(--text-light); }
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.carousel-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.2s;
}
.carousel-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-subtle); }
.carousel-dots { display: flex; gap: 0.5rem; }
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-hover);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.carousel-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ===== Chat Section ===== */
.chat-section { background: var(--bg-white); }
.chat-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.chat-info .section-title { text-align: left; color: var(--text-dark); }
.chat-info p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.5rem; }
.chat-benefits { display: flex; flex-direction: column; gap: 0.75rem; }
.chat-benefits li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-body);
}
.chat-embed-window {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 520px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}
.chat-embed-window .chatbot-messages { flex: 1; overflow-y: auto; padding: 1.25rem; }

/* ===== About ===== */
.about { background: var(--bg-light); }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.about-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: 0 0 0 rgba(26,10,14,0);
  transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  transform-style: preserve-3d;
  position: relative;
}
.about-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-lg);
}
.about-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}
.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}
.about-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }
.about-card em { font-style: normal; font-weight: 600; color: var(--accent); }
.about-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--text-light);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.about-card--featured {
  background: linear-gradient(160deg, #fff 0%, var(--bg-accent-light) 100%);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
}
.about-card--featured .about-tag {
  color: var(--accent);
  background: var(--accent-subtle);
  border-color: var(--accent-border);
}
.about-card--featured .about-icon {
  background: var(--accent);
  border-color: var(--accent);
}
.about-card--featured .about-icon svg { stroke: #fff; }

/* ===== Fayetteville Stamp (original, no U of A trademarks) ===== */
.fay-stamp {
  display: inline-block;
  color: var(--accent);
  animation: fay-spin 28s linear infinite;
  will-change: transform;
}
.fay-stamp--hero {
  position: absolute;
  top: 8%;
  right: 6%;
  width: 150px;
  height: 150px;
  opacity: 0.75;
  z-index: 1;
  pointer-events: none;
}
.fay-stamp--corner {
  position: absolute;
  top: -36px;
  right: -36px;
  width: 130px;
  height: 130px;
  color: var(--accent);
  background: var(--bg-white);
  border-radius: 50%;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.fay-stamp--footer {
  display: block;
  width: 110px;
  height: 110px;
  margin: 0 auto 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0.85;
}
@keyframes fay-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .fay-stamp { animation: none; }
}

/* ===== Ozark Hills Decoration ===== */
.ozark-decor {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 180px;
  color: var(--accent);
  pointer-events: none;
}
.ozark-decor--top {
  top: 0;
  opacity: 0.55;
  transform: rotate(180deg);
}
.cta-final .ozark-decor {
  bottom: 0;
  color: #fff;
  opacity: 0.55;
  height: 200px;
}
.service-area { position: relative; padding-top: 9rem; }

/* ===== Meta Pills ===== */
.about-tiktok-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--bg-white);
  border: 1px solid var(--accent-border);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
}
.meta-pill svg { color: var(--accent); }

/* ===== About / TikTok Showcase ===== */
.about-tiktok {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(325px, 420px);
  gap: 3rem;
  align-items: center;
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(160deg, var(--bg-light) 0%, var(--bg-accent-light) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: visible;
}
.about-tiktok-copy .section-tag { margin-bottom: 1rem; }
.about-tiktok-copy h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.about-tiktok-copy p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.about-tiktok-embed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}
.about-tiktok-embed .tiktok-embed {
  margin: 0 !important;
  box-shadow: var(--shadow-lg);
  background: var(--bg-muted);
  border-radius: var(--radius-lg);
}
.about-tiktok-embed .tiktok-embed iframe { border-radius: var(--radius-lg) !important; }
.tiktok-fallback {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  padding: 0.55rem 1rem;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
}
.tiktok-fallback:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}
.tiktok-fallback svg { flex-shrink: 0; }

/* ===== Final CTA ===== */
.cta-final {
  position: relative;
  background: var(--accent-gradient);
  overflow: hidden;
  text-align: center;
  padding: 8rem 0;
}
.cta-bg { position: absolute; inset: 0; overflow: hidden; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
}
.cta-content p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 580px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.cta-subtext { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ===== Footer ===== */
.footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.logo-footer {
  font-size: 1.3rem;
  display: inline-block;
  margin-bottom: 1rem;
  color: #fff;
}
.logo-footer span { color: #e8475c; }
.footer-brand p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: #fff;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.9rem; color: var(--text-light); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.85rem; }
.footer-proof { display: flex; align-items: center; gap: 0.75rem; font-size: 0.8rem; }
.footer-dot { width: 4px; height: 4px; background: var(--text-light); border-radius: 50%; opacity: 0.5; }

/* ===== Chatbot Widget ===== */
.chatbot-widget { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; }
.chatbot-toggle {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(157, 34, 53, 0.35);
  transition: all 0.3s;
}
.chatbot-toggle:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(157, 34, 53, 0.45); }
.chatbot-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: chatPulse 2s ease-in-out infinite;
}
.chatbot-pulse.hidden { display: none; }
@keyframes chatPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0; }
}
.chatbot-window {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 380px;
  max-height: 520px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chatbot-window.open { display: flex; }
.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-light);
}
.chatbot-header-info { display: flex; align-items: center; gap: 0.75rem; }
.chatbot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.chatbot-header strong { font-size: 0.9rem; display: block; color: var(--text-dark); }
.chatbot-status { display: flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; color: var(--success); }
.status-dot { width: 6px; height: 6px; background: var(--success); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
.chatbot-close { color: var(--text-light); font-size: 1.5rem; padding: 0.25rem; transition: color 0.2s; }
.chatbot-close:hover { color: var(--text-dark); }
.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 300px;
}
.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.chat-msg {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
  animation: msgSlide 0.3s ease;
}
@keyframes msgSlide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg--bot {
  background: var(--bg-light);
  border: 1px solid var(--border);
  align-self: flex-start;
  color: var(--text-body);
}
.chat-msg--user {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
}
.chat-options { display: flex; flex-wrap: wrap; gap: 0.5rem; animation: msgSlide 0.3s ease; }
.chat-option {
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}
.chat-option:hover {
  background: rgba(157, 34, 53, 0.1);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.chat-option--submit {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  font-size: 0.88rem;
}
.chat-option--submit:hover {
  opacity: 0.9;
  color: #fff;
  background: var(--accent-gradient);
  border-color: transparent;
}
.chat-option--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
  font-weight: 500;
}
.chat-option--ghost:hover {
  background: var(--bg-muted);
  color: var(--text-dark);
  border-color: var(--border-hover);
}
.chat-options--skip { justify-content: flex-end; }
.chat-typing {
  display: flex;
  gap: 4px;
  padding: 0.75rem 1rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  align-self: flex-start;
  animation: msgSlide 0.3s ease;
}
.chat-typing span {
  width: 6px; height: 6px;
  background: var(--text-light);
  border-radius: 50%;
  animation: typingBounce 1.4s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}
.chatbot-input-area {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
}
.chatbot-input-area input {
  flex: 1;
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--text-dark);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}
.chatbot-input-area input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(157,34,53,0.1); }
.chatbot-input-area input::placeholder { color: var(--text-light); }
.chatbot-input-area button {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: transform 0.2s;
}
.chatbot-input-area button:hover { transform: scale(1.05); }

/* ===== 3D Tilt Glare ===== */
.tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.3) 0%, transparent 60%);
}
[data-tilt]:hover .tilt-glare { opacity: 1; }

/* ===== Scroll Animations ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-up[data-delay="1"] { transition-delay: 0.12s; }
.reveal-up[data-delay="2"] { transition-delay: 0.24s; }
.reveal-up[data-delay="3"] { transition-delay: 0.36s; }
.reveal-up[data-delay="4"] { transition-delay: 0.48s; }

/* ===== Package Card Selected ===== */
.package-card { cursor: pointer; }
.package-card--selected {
  border-color: var(--accent) !important;
  box-shadow: var(--shadow-glow) !important;
  transform: scale(1.02);
  transition: all 0.3s ease;
}

/* ===== Chat Page ===== */
.chat-page {
  min-height: 100vh;
  padding: calc(var(--nav-height) + 3rem) 0 3rem;
  display: flex;
  align-items: center;
  background: var(--bg-white);
}
.chat-page-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.chat-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 2rem;
  transition: opacity 0.2s;
}
.chat-back:hover { opacity: 0.7; }
.chat-page-info h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.chat-page-info > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.chat-page-window {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 580px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}
.chat-page-window .chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
}

/* ===== Service Area / Cities Grid ===== */
.service-area { background: var(--bg-light); }
.cities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.city-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.city-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.city-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}
.city-card span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.service-area-note {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== FAQ ===== */
.faq-section { background: var(--bg-white); }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  width: 100%;
  cursor: pointer;
  color: var(--text-dark);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.faq-item:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.faq-q {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
}
.faq-toggle {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s;
}
.faq-item:hover .faq-toggle { transform: rotate(90deg); }

/* ===== FAQ Modal ===== */
.faq-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.faq-modal[hidden] { display: none; }
.faq-modal.open { opacity: 1; pointer-events: auto; }
.faq-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 10, 14, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.faq-modal-card {
  position: relative;
  z-index: 1;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.25rem 2.25rem;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(26, 10, 14, 0.35), 0 0 0 1px var(--accent-border);
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
}
.faq-modal.open .faq-modal-card { transform: scale(1) translateY(0); opacity: 1; }
.faq-modal-card .section-tag { margin-bottom: 1rem; }
.faq-modal-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 1rem;
}
.faq-modal-card p {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.7;
}
.faq-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.6rem;
  color: var(--text-muted);
  background: var(--bg-light);
  transition: all 0.2s;
  line-height: 1;
}
.faq-modal-close:hover { background: var(--accent); color: #fff; transform: rotate(90deg); }
body.faq-open { overflow: hidden; }

/* ===== Footer Geo Line ===== */
.footer-geo {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.75rem 0;
  margin-top: 1rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
}
.footer-geo p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.footer-geo strong { color: #fff; }

/* ===== Process Grid 3-col Variant ===== */
.process-grid--three { grid-template-columns: repeat(3, 1fr); }

/* ===== Long-word safety ===== */
h1, h2, h3, p { overflow-wrap: break-word; word-wrap: break-word; }

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

/* Tablets & below */
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid--three { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .results-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto 3rem; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .about-tiktok { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 2rem; text-align: center; }
  .about-tiktok-copy { display: flex; flex-direction: column; align-items: center; }
  .about-tiktok-meta { justify-content: center; }
  .fay-stamp--corner { width: 100px; height: 100px; top: -24px; right: -16px; }
  .fay-stamp--hero { width: 110px; height: 110px; top: 4%; right: 4%; opacity: 0.55; }
  .ozark-decor { height: 110px; }
  .service-area { padding-top: 6.5rem; }
  .chat-layout { grid-template-columns: 1fr; gap: 3rem; }
  .chat-info .section-title, .chat-info { text-align: center; }
  .chat-benefits { align-items: center; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { flex: 0 0 calc(50% - 1rem); }
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Phones */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .container {
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }
  .section-padding { padding: 4.5rem 0; }
  .section-header { margin-bottom: 2.75rem; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .section-sub { font-size: 1rem; }

  /* Navigation */
  .nav-desktop { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }

  /* Hero */
  .hero { min-height: auto; padding-top: calc(var(--nav-height) + 2rem); padding-bottom: 2.5rem; }
  .hero-3d { display: none; }
  .hero-content { padding: 1.5rem 0; }
  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
  }
  .typewriter-wrapper { min-width: 0; display: inline; }
  .hero-sub { font-size: 1rem; margin-bottom: 1.75rem; }
  .hero-ctas { gap: 0.75rem; margin-bottom: 2rem; }
  .hero-badge { font-size: 0.75rem; padding: 0.4rem 0.9rem; }
  .hero-proof { flex-wrap: wrap; font-size: 0.85rem; }

  /* Buttons */
  .btn-xl { padding: 0.95rem 1.75rem; font-size: 0.95rem; }
  .btn-lg { padding: 0.85rem 1.5rem; font-size: 0.95rem; }

  /* Stats */
  .stats-bar { padding: 2.5rem 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-label { font-size: 0.7rem; letter-spacing: 1px; }

  /* Grids collapse */
  .process-grid,
  .process-grid--three { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .results-grid { margin-bottom: 2rem; }
  .about-tiktok { padding: 2rem 1.25rem; margin-top: 2.5rem; }
  .fay-stamp--hero { display: none; }
  .fay-stamp--corner { width: 80px; height: 80px; top: -16px; right: -8px; }
  .fay-stamp--footer { width: 90px; height: 90px; }
  .ozark-decor { height: 80px; }
  .cta-final .ozark-decor { height: 100px; }
  .service-area { padding-top: 5.5rem; }

  /* Cards tighter padding */
  .process-card { padding: 1.75rem 1.4rem; }
  .about-card { padding: 1.75rem 1.4rem; }
  .package-card { padding: 2rem 1.5rem 1.5rem; }
  .result-card { padding: 2rem 1.5rem; }

  /* Packages */
  .price-tier__sign { font-size: 2.5rem; }

  /* Service area / FAQ */
  .cities-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .city-card { padding: 1rem 0.75rem; }
  .city-card strong { font-size: 0.88rem; }
  .city-card span { font-size: 0.7rem; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-item { padding: 1rem 1.25rem; }
  .faq-item summary { font-size: 0.95rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-proof { flex-wrap: wrap; justify-content: center; text-align: center; }
  .footer-geo p { font-size: 0.8rem; padding: 0 0.5rem; }

  /* Testimonials */
  .testimonial-card { flex: 0 0 calc(100% - 1rem); }

  /* Chatbot widget (fixed corner positioning) */
  .chatbot-widget { bottom: 1rem; right: 1rem; }
  .chatbot-toggle { width: 54px; height: 54px; }
  .chatbot-window {
    width: calc(100vw - 2rem);
    max-height: calc(100vh - 6rem);
    right: 0;
    bottom: 68px;
  }
  .chatbot-messages { min-height: 240px; }

  /* Chat page + embed */
  .chat-embed-window { height: 440px; }
  .cta-final { padding: 4.5rem 0; }
  .cta-content h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .cta-content p { font-size: 1rem; margin-bottom: 2rem; }
  .chat-page { padding: calc(var(--nav-height) + 1.5rem) 0 2.5rem; }
  .chat-page-layout { grid-template-columns: 1fr; gap: 2rem; }
  .chat-page-info { text-align: center; }
  .chat-page-info .chat-benefits { align-items: center; }
  .chat-page-window { height: 480px; }
}

/* Small phones */
@media (max-width: 480px) {
  .container {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }
  .section-padding { padding: 3.5rem 0; }
  .navbar-inner { padding: 0; }
  .logo { font-size: 1.2rem; }

  .hero h1 { font-size: clamp(1.75rem, 9vw, 2.3rem); letter-spacing: 0; line-height: 1.12; }
  .hero-sub { font-size: 0.95rem; line-height: 1.65; }
  .hero-ctas { flex-direction: column; width: 100%; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-badge { font-size: 0.72rem; padding: 0.35rem 0.8rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-number { font-size: clamp(1.6rem, 7vw, 2rem); }
  .stat-suffix { font-size: clamp(1rem, 4vw, 1.3rem); }

  .section-title { font-size: clamp(1.5rem, 7vw, 1.9rem); }

  .btn-xl { padding: 0.85rem 1.25rem; font-size: 0.9rem; }
  .btn-lg { padding: 0.8rem 1.25rem; font-size: 0.9rem; }

  .process-card { padding: 1.5rem 1.25rem; }
  .about-card { padding: 1.5rem 1.25rem; }
  .package-card { padding: 1.75rem 1.25rem 1.25rem; }
  .process-number { font-size: 2.2rem; top: 0.75rem; right: 0.9rem; }

  .cta-actions .btn-xl { width: 100%; max-width: 360px; }

  /* Ensure fixed chatbot doesn't crush CTA buttons */
  main { padding-bottom: 4rem; }
}

/* Extra small (≤360px) */
@media (max-width: 360px) {
  .hero h1 { font-size: 1.65rem; }
  .logo { font-size: 1.1rem; }
  .cities-grid { grid-template-columns: 1fr; }
  .hero-proof { font-size: 0.8rem; }
}

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