/* ==========================================================================
   Hail Repair Midland - Sample 2 Master Stylesheet (Obsidian & Royal Blue)
   Website: hailrepairmidland.com/sample2.php
   ========================================================================== */

:root {
  --v2-bg-dark: #09090b;
  --v2-bg-card: #18181b;
  --v2-bg-card-hover: #27272a;
  --v2-bg-input: #09090b;
  
  --v2-primary: #2563eb;
  --v2-primary-glow: rgba(37, 99, 235, 0.4);
  --v2-gold: #fbbf24;
  --v2-cyan: #38bdf8;
  
  --v2-text-white: #ffffff;
  --v2-text-heading: #f8fafc;
  --v2-text-body: #d4d4d8;
  --v2-text-muted: #a1a1aa;
  
  --v2-border: rgba(255, 255, 255, 0.12);
  --v2-border-blue: rgba(37, 99, 235, 0.4);
  
  --v2-radius: 12px;
  --v2-radius-lg: 20px;
  --v2-font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  font-family: var(--v2-font);
  background-color: var(--v2-bg-dark);
  color: var(--v2-text-body);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  max-width: 100% !important;
  height: auto;
  display: block;
}

.v2-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Announcement Top Bar */
.announcement-bar {
  background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 50%, #1d4ed8 100%);
  color: #ffffff;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Header */
.v2-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--v2-border);
}

.v2-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.v2-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.v2-brand img {
  height: 42px;
}

.v2-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.v2-nav-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--v2-text-body);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.v2-nav-link:hover {
  color: var(--v2-cyan);
}

.v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--v2-radius);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.v2-btn-primary {
  background: var(--v2-primary);
  color: #ffffff;
  box-shadow: 0 0 20px var(--v2-primary-glow);
}

.v2-btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.v2-btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000000;
  font-weight: 800;
}

.v2-btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
  transform: translateY(-2px);
}

/* Sample 2 Hero Section */
.v2-hero {
  padding: 4rem 0;
  background: radial-gradient(circle at 70% 30%, rgba(37, 99, 235, 0.15) 0%, rgba(9, 9, 11, 1) 70%);
}

.v2-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.v2-hero-title {
  font-size: clamp(2.2rem, 5vw + 0.5rem, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.v2-hero-sub {
  font-size: 1.15rem;
  color: var(--v2-text-muted);
  margin-bottom: 2rem;
}

/* Step Calculator Widget */
.calc-card {
  background: var(--v2-bg-card);
  border: 1px solid var(--v2-border-blue);
  border-radius: var(--v2-radius-lg);
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.calc-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.calc-header h3 {
  font-size: 1.4rem;
  color: #ffffff;
  text-transform: uppercase;
}

.calc-header p {
  font-size: 0.85rem;
  color: var(--v2-text-muted);
}

.calc-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--v2-border);
  padding-bottom: 1rem;
}

.calc-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--v2-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.calc-step-num.active {
  background: var(--v2-primary);
  color: #ffffff;
  box-shadow: 0 0 10px var(--v2-primary-glow);
}

/* Service Switcher Tabs */
.v2-section {
  padding: 4.5rem 0;
}

.v2-section-dark {
  background-color: #121215;
}

.v2-title {
  font-size: clamp(1.6rem, 4vw + 0.5rem, 2.5rem);
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.v2-subtitle {
  color: var(--v2-text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.service-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.85rem 1.75rem;
  background: var(--v2-bg-card);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  color: var(--v2-text-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--v2-primary);
  color: #ffffff;
  border-color: var(--v2-primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Deductible Calculator Box */
.deductible-box-v2 {
  background: linear-gradient(135deg, #18181b 0%, #09090b 100%);
  border: 2px solid var(--v2-gold);
  border-radius: var(--v2-radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 0 35px rgba(251, 191, 36, 0.2);
}

.gold-amount {
  font-size: clamp(3rem, 7vw + 1rem, 5rem);
  font-weight: 900;
  color: var(--v2-gold);
  text-shadow: 0 0 25px rgba(251, 191, 36, 0.4);
  line-height: 1;
}

/* FAQ 1-Column */
.faq-v2-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .v2-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .v2-container {
    padding: 0 1rem;
  }
  .v2-nav {
    display: none;
  }
  .v2-hero {
    padding: 2.5rem 0;
  }
  .calc-card {
    padding: 1.25rem 1rem;
  }
}
