@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Premium Dark Theme Variables */
  --brand-primary: #b9100b;       /* Crimson Red */
  --brand-secondary: #0d1f3d;     /* Deep Navy */
  --brand-accent: #f59e0b;        /* Warm Amber */
  --brand-glow: rgba(185, 16, 11, 0.25);
  
  /* Redesign Brand Colors */
  --brand-navy: #0f172a;          /* Premium Deep Navy */
  --brand-amber: #f59e0b;         /* Premium Warm Amber */
  --brand-slate: #e2e8f0;         /* Slate Neutral */
  
  --bg: #070708;                  /* Pure Dark Background */
  --bg-2: #0f1013;                /* Dark Secondary Card Background */
  --bg-3: #18191f;                /* Glass/Panel Dark Tint */
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(185, 16, 11, 0.4);
  
  --ink: #ffffff;                 /* Pure White Text */
  --ink-muted: #94a3b8;           /* Slate Muted Text */
  --ink-dark: #0f172a;            /* Inverse/Dark Text for light items */
  
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  
  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px var(--brand-glow);
  --shadow-lift: 0 20px 40px rgba(0, 0, 0, 0.6);
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets & layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--ink-muted);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--brand-accent);
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
}
a:hover {
  color: var(--ink);
  text-decoration: none;
}
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
}
h3 {
  font-size: clamp(1.33rem, 2vw, 1.83rem);
  font-weight: 700;
}
h4 {
  font-size: clamp(1.1rem, 1.5vw, 1.33rem);
  font-weight: 700;
}
p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-muted);
  font-weight: 400;
}

/* Top contact bar */
.topbar {
  background: #000;
  color: var(--ink);
  padding: 0.75rem 0;
  font-size: 0.85rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.topbar a {
  color: var(--brand-accent);
  font-weight: 800;
  margin-left: 0.5rem;
  text-decoration: underline;
}
.topbar a:hover {
  color: var(--ink);
}

/* Commented out to prevent conflict with Tailwind Header
header {
  background: rgba(7, 7, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}
.logo span {
  color: var(--brand-primary);
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}
nav a {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.5rem 0;
}
nav a:hover {
  color: var(--brand-primary);
}

.has-dropdown {
  position: relative;
}
.has-dropdown::after {
  content: '';
  position: absolute;
  height: 25px;
  width: 100%;
  bottom: -25px;
  left: 0;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 260px;
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow-lift);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}
.dropdown li {
  width: 100%;
}
.dropdown a {
  display: block;
  padding: 0.6rem 1.25rem;
  text-transform: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
}
.dropdown a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.cta-phone {
  background: var(--brand-primary);
  color: var(--ink) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(185, 16, 11, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.cta-phone hover, .cta-phone:hover {
  background: #d81c15;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(185, 16, 11, 0.5);
  text-decoration: none;
}
.cta-phone svg {
  stroke-width: 3px;
}
*/

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--brand-primary);
  color: var(--ink) !important;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(185, 16, 11, 0.3);
}
.btn:hover {
  background: #d81c15;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(185, 16, 11, 0.5), var(--shadow-glow);
}
.btn:active {
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--ink) !important;
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--bg) !important;
  border-color: var(--ink);
}

/* Section styling */
section {
  padding: clamp(3.5rem, 6vw, 6.5rem) 0;
  position: relative;
}
section.alt {
  background: var(--bg-2);
}
.section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.section-head h2 {
  margin-bottom: 0.5rem;
}
.section-head p {
  color: var(--ink-muted);
  font-size: 1.1rem;
}

/* Chips / Badges */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(185, 16, 11, 0.15);
  color: var(--brand-accent);
  border: 1px solid rgba(185, 16, 11, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
  padding: 4rem 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(7, 7, 8, 0.7) 0%, rgba(7, 7, 8, 0.9) 100%), url('/assets/hero-bg.png');
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 64em) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.hero-content h1 {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}
.hero-content h1 strong {
  display: block;
  color: var(--brand-accent);
  font-weight: 900;
}
.hero-content p {
  color: var(--ink-muted);
  font-size: 1.15rem;
  max-width: 600px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.5rem;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-trust svg {
  color: var(--brand-accent);
  flex-shrink: 0;
}

/* Floating Lead Form Card */
.hero-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lift), var(--shadow-glow);
  position: relative;
  z-index: 5;
}
.hero-form h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  font-weight: 800;
}
.hero-form p.sub {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}
.form-row {
  margin-bottom: 1rem;
}
.form-row label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-3);
  color: var(--ink);
  transition: var(--transition);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 0;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(185, 16, 11, 0.15);
}
.hero-form .btn {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1.1rem;
}
.hero-form .fineprint {
  font-size: 0.7rem;
  color: var(--ink-muted);
  margin-top: 0.75rem;
  text-align: center;
}

/* Stats Row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}
@media (min-width: 48em) {
  .stat-row {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stat .num {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  color: var(--brand-accent);
}
.stat .label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* TL;DR Highlights Box (Bento AEO layout) */
.tldr-box {
  background: var(--bg-3);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-glow);
  margin-top: -2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
}
.tldr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 48em) {
  .tldr-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}
.tldr-answer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.tldr-answer h3 {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-accent);
}
.tldr-answer p {
  font-size: 1.05rem;
  line-height: 1.6;
}
.tldr-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.tldr-stat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  border-left: 3px solid var(--brand-primary);
}
.tldr-stat-card span.label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  display: block;
}
.tldr-stat-card span.val {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  display: block;
  margin-top: 0.15rem;
}

/* Trust Badge Strip */
.trust-badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1rem;
  opacity: 0.7;
}

/* Service Card Grids */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 48em) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.card {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-lift), var(--shadow-glow);
}
.card .icon-tile {
  width: 60px;
  height: 60px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}
.card .icon-tile svg {
  width: 32px;
  height: 32px;
  stroke: var(--brand-accent);
}
.card:hover .icon-tile {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-glow);
}
.card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.card-link {
  color: var(--brand-accent) !important;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.card:hover .card-link {
  color: var(--ink) !important;
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 48em) {
  .two-col {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}
.check-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.05rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-accent);
  font-weight: 900;
  font-size: 1.1rem;
}

/* Location/City Tile Grid */
.city-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.city-tile {
  display: block;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  font-weight: 700;
  color: var(--ink);
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.city-tile:hover {
  border-color: var(--border-focus);
  background: var(--bg-3);
  color: var(--brand-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  text-decoration: none;
}

/* Interactive Diagnoser Tool */
.diagnoser-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lift);
}
.diagnoser-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.diagnoser-btn {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.diagnoser-btn.active, .diagnoser-btn:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-glow);
}

/* Accordion FAQs */
.faq {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.faq-item:hover {
  border-color: var(--border-focus);
}
.faq-item h3 {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.faq-item p {
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* CTA Band */
.cta-band {
  background: var(--brand-primary);
  color: var(--ink);
  text-align: center;
  padding: 4.5rem 0;
  box-shadow: var(--shadow-glow);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-band h2 {
  margin-bottom: 0.5rem;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.cta-band .btn {
  background: var(--ink);
  color: var(--bg) !important;
  box-shadow: var(--shadow-lift);
}
.cta-band .btn:hover {
  background: var(--brand-accent);
  color: var(--bg) !important;
  box-shadow: var(--shadow-lift);
}
.cta-band .btn-outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink) !important;
}
.cta-band .btn-outline:hover {
  background: var(--ink);
  color: var(--bg) !important;
}

/* Commented out to prevent conflict with Tailwind Footer
footer {
  background: #040405;
  padding: 5rem 0 3rem;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 48em) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
footer h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-accent);
}
footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
footer a {
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
footer a:hover {
  color: var(--brand-accent);
}
.footer-cta {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  border-radius: 100px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
}
.footer-cta:hover {
  border-color: var(--border-focus);
  color: var(--brand-accent);
}
.copyright {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.copyright a {
  color: var(--brand-accent);
}
*/

/* Mobile Sticky Bar CTA */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 16, 19, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 99;
}
@media (min-width: 48em) {
  .mobile-sticky-bar {
    display: none;
  }
}
.mobile-sticky-bar a {
  flex: 1;
  text-align: center;
  padding: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-call {
  background: var(--brand-primary);
  color: var(--ink) !important;
}
.btn-text {
  background: var(--bg-2);
  color: var(--brand-accent) !important;
  border-left: 1px solid var(--border);
}

/* Form validation styling */
.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  text-align: center;
}
