/* ============================================================
   Allen Inspections, LLC — Styles
   Typography: Merriweather (headings) + Inter (body)
   Palette: Professional blues & grays conveying trust & expertise
   ============================================================ */

/* -------------------- CSS Variables -------------------- */
:root {
  /* Primary Blues */
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #1a56db;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;

  /* Neutrals */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic */
  --primary: var(--blue-600);
  --primary-light: var(--blue-100);
  --primary-dark: var(--blue-800);
  --text: var(--gray-800);
  --text-muted: var(--gray-500);
  --bg: #ffffff;
  --bg-alt: var(--gray-50);
  --border: var(--gray-200);
  --success: #16a34a;
  --warning: #f59e0b;

  /* Typography */
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container-max: 1200px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.3s var(--ease);

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 40px -10px rgba(0,0,0,0.1), 0 8px 16px -8px rgba(0,0,0,0.06);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--gray-900);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

/* -------------------- Buttons -------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid var(--blue-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: var(--primary);
  background: var(--blue-50);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--blue-50);
  color: var(--primary-dark);
  border-color: var(--blue-50);
}

.btn-ghost-white {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* -------------------- Section Helpers -------------------- */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

/* -------------------- Navigation -------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
}

.site-nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  height: 72px;
  transition: height 0.3s var(--ease);
}

.site-nav.scrolled .nav-inner {
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--gray-900);
  flex-shrink: 0;
}

.nav-brand-text {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
}

.brand-llc {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: var(--blue-50);
  padding: 0.1em 0.4em;
  border-radius: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--blue-50);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1.25rem !important;
  font-size: 0.85rem !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.hamburger:hover { background: var(--gray-100); }
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.35s var(--ease);
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-nav a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gray-700);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
}
.mobile-nav a:hover {
  color: var(--primary);
  background: var(--blue-50);
}
.mobile-nav .btn-primary {
  margin-top: 1rem;
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  padding: calc(72px + 4rem) 0 var(--section-pad);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--blue-50) 50%, var(--gray-50) 100%);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(26, 86, 219, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26, 86, 219, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(26, 86, 219, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: rgba(26, 86, 219, 0.08);
  border: 1px solid rgba(26, 86, 219, 0.15);
  padding: 0.4em 1em;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--gray-900);
}

.hero h1 em {
  font-style: italic;
  color: var(--primary);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-illustration {
  width: 100%;
  max-width: 420px;
  animation: float 6s ease-in-out infinite;
}

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

.hero-scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 3rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* -------------------- Stats Bar -------------------- */
.stats-bar {
  padding: 3rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* -------------------- About -------------------- */
.about {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-image-placeholder {
  background: var(--blue-50);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 8 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue-100);
}

.about-image-placeholder svg {
  width: 80%;
  height: auto;
}

.about-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-700);
  line-height: 1.75;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-credentials {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.credential {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.credential:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-sm);
}

.credential svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.credential strong {
  display: block;
  font-size: 0.95rem;
  color: var(--gray-800);
  margin-bottom: 0.15rem;
}

.credential span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* -------------------- Services -------------------- */
.services {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
}

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

.service-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}

.service-card-highlight {
  border-color: var(--blue-300);
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--bg) 100%);
}

.service-card-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3em 0.8em;
  border-radius: 50px;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--blue-100);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  flex-grow: 1;
}

.service-features {
  margin: 1rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-600);
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
  padding-top: 0.5rem;
  transition: all var(--transition);
}

.service-link:hover {
  gap: 0.6rem;
  color: var(--primary-dark);
}

/* -------------------- Process -------------------- */
.process {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.process-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 39px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-200), var(--blue-100));
}

.process-step {
  display: flex;
  gap: 2rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.process-step:last-child {
  padding-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 80px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--primary);
  background: var(--blue-50);
  border: 2px solid var(--blue-200);
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
}

.step-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* -------------------- Why Choose Us -------------------- */
.why-us {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.why-us-content h2 {
  margin-bottom: 1rem;
}

.why-us-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.why-us-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  border-radius: var(--radius);
  border: 1px solid var(--blue-100);
}

.feature h4 {
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--gray-800);
}

.feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* -------------------- Testimonials -------------------- */
.testimonials {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.4s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-50);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  border: 2px solid var(--blue-100);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-800);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* -------------------- CTA Banner -------------------- */
.cta-banner {
  padding: var(--section-pad) 0;
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-900) 50%, var(--gray-900) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* -------------------- Contact -------------------- */
.contact {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail strong {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-800);
  margin-bottom: 0.1rem;
}

.contact-detail span,
.contact-detail a {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-detail a:hover {
  color: var(--primary);
}

.service-area h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 0.75rem;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.area-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.3em 0.8em;
  border-radius: 50px;
  transition: all var(--transition);
}

.area-tag:hover {
  border-color: var(--blue-200);
  color: var(--primary);
  background: var(--blue-50);
}

/* Contact Form */
.contact-form-wrapper {
  position: relative;
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 0.25rem;
  font-size: 1.3rem;
}

.contact-form > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.required {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  outline: none;
  transition: all var(--transition);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 0.9rem;
  font-size: 1rem;
}

.btn-submit svg {
  transition: transform 0.3s var(--ease);
}

.btn-submit:hover svg {
  transform: translate(3px, -3px);
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
}

.form-success svg {
  margin-bottom: 1rem;
}

.form-success h3 {
  color: var(--success);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-muted);
}

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-300);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-logo:hover {
  color: #fff;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 280px;
}

.footer-links-col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-300);
  margin-bottom: 1rem;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links-col li,
.footer-links-col a {
  font-size: 0.85rem;
  color: var(--gray-500);
  transition: color var(--transition);
}

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

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.footer-florida {
  font-size: 0.75rem !important;
  color: var(--gray-600) !important;
  font-style: italic;
}

/* -------------------- Back to Top -------------------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* -------------------- Scroll Animations -------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------- Responsive -------------------- */

/* Tablet */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-illustration {
    max-width: 300px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-placeholder {
    max-width: 400px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

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

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: calc(72px + 2.5rem);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-item {
    padding: 0.75rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-timeline::before {
    left: 19px;
  }

  .process-step {
    gap: 1.25rem;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.7rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-ghost {
    text-align: center;
    justify-content: center;
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card {
    padding: 1.5rem;
  }

  .about-credentials .credential {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .nav-brand-text .brand-name {
    font-size: 1rem;
  }
}

/* -------------------- Print Styles -------------------- */
@media print {
  .site-nav, .mobile-nav, .hamburger, .back-to-top,
  .hero-scroll-hint, .cta-banner { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .hero { padding-top: 2rem; }
  a { color: #000; text-decoration: underline; }
}
