/* Premium Automotive Design System */
:root {
  /* Color Palette */
  --primary: #0f172a; /* Midnight Blue */
  --primary-light: #1e293b;
  --accent: #dc2626; /* Automotive Red */
  --accent-hover: #b91c1c;
  --bg-light: #f1f5f9;
  --bg-white: #ffffff;
  --text-main: #334155;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  
  /* Typography */
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  
  /* UI Principles */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;
  
  /* Layout */
  --container-width: 1200px;
  --section-padding: 5rem 1.5rem;
}

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

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
}

body {
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.7;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  font-size: 1rem;
  gap: 0.5rem;
}

.btn-accent {
  background-color: var(--accent);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(220, 38, 38, 0.39);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.23);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  position: relative;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.call-now {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
}

.call-now svg {
  color: var(--accent);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: radial-gradient(circle at top right, #f8fafc, #e2e8f0);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(220,38,38,0.05) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  color: var(--accent);
  display: block;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-picture {
  display: block;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Trust Badges */
.trust-badges {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.trust-badge svg {
  color: var(--accent);
}

/* Services Section */
.services {
  padding: var(--section-padding);
  background-color: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-inline: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.service-icon svg {
  width: 44px;
  height: 44px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
}

/* Process Section */
.process {
  padding: var(--section-padding);
  background-color: var(--bg-light);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 0 10px rgba(15, 23, 42, 0.1);
  position: relative;
  z-index: 2;
}

.process-step h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.process-step p {
  color: var(--text-muted);
}

/* Connecting Line */
.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: rgba(15, 23, 42, 0.1);
  z-index: 1;
}

/* Floating Contact/WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  font-size: 2rem;
  z-index: 999;
  transition: transform 0.3s;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr 1.1fr 1.3fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-about h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.footer-about h3 span {
  color: var(--accent);
}

.footer-about p {
  color: #94a3b8;
  max-width: 400px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-links h4, .footer-contact h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.8rem;
  position: relative;
  padding-bottom: 0.6rem;
  font-weight: 600;
}

.footer-links h4::after, .footer-contact h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.footer-links h4:hover::after, .footer-contact h4:hover::after {
  width: 50px;
}

.footer-links ul li {
  margin-bottom: 0.85rem;
}

.footer-links a {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a svg {
  color: #64748b;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.footer-links a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-links a:hover svg {
  color: var(--accent);
  transform: scale(1.1);
}

.footer-contact p {
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-contact p:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  color: white;
}

.footer-contact svg {
  color: var(--accent);
  background: rgba(239, 68, 68, 0.1);
  padding: 6px;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.footer-contact p:hover svg {
  background: var(--accent);
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #64748b;
  font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .trust-badges {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid::before {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .section-padding {
    padding: 3rem 1.5rem;
  }
  
  .hero {
    padding-top: 6rem;
  }
}

/* FAQ Section */
.faq {
  padding: var(--section-padding);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  transition: background 0.3s;
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-icon {
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Floating Contact Sidebar */
.floating-sidebar {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) translateX(150%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.floating-sidebar.visible {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
}

.sidebar-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  position: relative;
}

.sidebar-icon:hover {
  transform: scale(1.1);
}

.phone-icon {
  background-color: var(--primary);
}

.mail-icon {
  background-color: var(--accent);
}

.whatsapp-icon {
  background-color: #25D366;
}

/* Tooltip on hover */
.sidebar-icon::before {
  content: attr(title);
  position: absolute;
  right: 100%;
  margin-right: 15px;
  background: var(--primary);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.sidebar-icon:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Contact Section */
.contact-section {
  padding: var(--section-padding);
  background-color: var(--primary);
  color: white;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
}

.contact-info h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #e2e8f0;
}

.contact-form-wrapper {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.modern-form .form-group {
  margin-bottom: 1.5rem;
}

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

.modern-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 0.9rem;
}

.modern-form input,
.modern-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-main);
  transition: all 0.3s ease;
  background-color: #f8fafc;
}

.modern-form input:focus,
.modern-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
  background-color: white;
}

.btn-block {
  width: 100%;
  margin-top: 1rem;
}

.form-success {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: #dcfce7;
  color: #166534;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.form-success.hidden {
  display: none;
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .modern-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* --- TESTIMONIALS SECTION --- */
.testimonials {
  padding: var(--section-padding);
  background-color: var(--bg-white);
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: white;
}

.testimonial-stars {
  color: #fbbf24; /* Amber Gold for stars */
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.testimonial-content {
  color: var(--text-main);
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial-author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.testimonial-author-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}


/* --- SINGLE-STEP FORM DESIGN --- */
.single-step-form {
  background: white;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.single-step-form .form-title {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.single-step-form .form-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Quick Brand Selection */
.quick-brand-wrapper {
  margin-bottom: 1.75rem;
  background: #f8fafc;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed #cbd5e1;
}

.quick-brand-wrapper .quick-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quick-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.choice-badge {
  background-color: white;
  border: 1px solid #e2e8f0;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--primary);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  box-shadow: var(--shadow-sm);
}

.choice-badge:hover {
  background-color: var(--bg-light);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.choice-badge.selected {
  background-color: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.2);
}

/* Compact Condition Grid */
.condition-compact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media(min-width: 768px) {
  .condition-compact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.condition-badge-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0.85rem 0.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.condition-badge-card:hover {
  background-color: white;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.condition-badge-card.selected {
  background-color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.15);
}

.condition-badge-icon {
  width: 22px;
  height: 22px;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.condition-badge-card.selected .condition-badge-icon {
  color: var(--accent);
}

.condition-badge-card span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

/* Glowing Submit Button */
.btn-submit-glowing {
  position: relative;
  background-color: var(--accent);
  color: white;
  overflow: hidden;
  box-shadow: 0 4px 14px 0 rgba(220, 38, 38, 0.4);
  animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 4px 14px 0 rgba(220, 38, 38, 0.4);
  }
  100% {
    box-shadow: 0 4px 22px 4px rgba(220, 38, 38, 0.6);
  }
}

.btn-submit-glowing:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  animation: none;
  box-shadow: 0 6px 24px rgba(220, 38, 38, 0.5);
}

.submit-arrow {
  transition: transform 0.3s ease;
}

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

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s ease-in-out infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner.hidden {
  display: none;
}

/* --- TRUST & SECURITY ENHANCEMENTS --- */

/* Hero Rating Badge with Pulse Animation */
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: fit-content;
  align-self: flex-start;
}

.hero-rating .rating-stars {
  color: #fbbf24;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}

.hero-rating .rating-text strong {
  color: var(--primary);
  font-weight: 800;
}

.hero-rating .divider {
  color: rgba(15, 23, 42, 0.15);
  font-weight: 300;
}

.hero-rating .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: #10b981;
  font-size: 0.85rem;
}

.hero-rating .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Header Trust Micro Badge */
.header-rating-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
  margin-right: 0.75rem;
}

.header-rating-badge .stars {
  color: #fbbf24;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.header-rating-badge .text {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 1200px) {
  .header-rating-badge {
    display: none;
  }
}

/* Form Trust Footer Details */
.form-trust-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.form-trust-item svg {
  width: 16px;
  height: 16px;
  color: #10b981;
  flex-shrink: 0;
}

.form-trust-item .trust-icon-secure {
  color: #10b981;
}

/* Legal Page Spacing & Style Overrides */
.legal-content-container {
  padding: 120px 0 80px 0;
  background: var(--bg-light);
  min-height: 80vh;
}

/* Custom Safety/Compliance Card Styling */
.compliance-section {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.03);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.compliance-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s ease;
}

.compliance-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.compliance-icon-wrapper {
  width: 50px;
  height: 50px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compliance-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.compliance-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.compliance-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   MOBILE VIEW OPTIMIZATIONS (PREMIUM MOBILE VISION)
   ========================================== */

/* Body scroll lock when menu is open */
body.nav-open {
  overflow: hidden !important;
}

/* Nav Backdrop overlay */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999; /* Below header (1000) so hamburger toggle remains clickable */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  /* Thinner Header Layout */
  .nav-container {
    padding: 0.5rem 1.5rem;
    height: 4.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Premium Mobile Navigation Drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 6rem 2rem 2rem 2rem;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    visibility: hidden; /* Prevent fixed-position horizontal layout leakage */
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s step-end;
    z-index: 1001;
    overflow-y: auto;
    max-height: none;
    border-bottom: none;
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    max-height: none;
    padding: 6rem 2rem 2rem 2rem;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s step-start;
  }

  .nav-links a {
    color: #f8fafc;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s ease, padding-left 0.2s ease;
  }

  .nav-links a:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a:hover,
  .nav-links a:focus {
    color: var(--accent);
    padding-left: 0.5rem;
  }

  /* Hamburger Toggle & Morphing */
  .mobile-toggle {
    display: block;
    background: none;
    border: none;
    padding: 0.5rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1002;
    position: relative;
    transition: color 0.3s ease;
  }

  .mobile-toggle[aria-expanded="true"] {
    color: #f8fafc;
  }

  .mobile-toggle svg line {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    transform-origin: center;
  }

  .mobile-toggle[aria-expanded="true"] svg line[y1="6"] {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-toggle[aria-expanded="true"] svg line[y1="12"] {
    opacity: 0;
  }

  .mobile-toggle[aria-expanded="true"] svg line[y1="18"] {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Premium Call Action Badge in Header */
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    margin-right: 0.75rem;
  }

  .nav-actions .btn {
    display: none;
  }

  .call-now {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .call-now span {
    display: none;
  }

  .call-now svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    margin: 0;
  }

  .call-now:hover,
  .call-now:active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.05);
  }

  .call-now:hover svg,
  .call-now:active svg {
    color: #ffffff;
  }

  /* Hero Adjustments */
  .hero {
    padding-top: 7.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-content h1 {
    font-size: 2.4rem;
    line-height: 1.25;
  }

  .hero-content h1 span {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  /* Reset 3D Tilt for Mobile Layout */
  .hero-image {
    display: none;
  }

  .hero-image img {
    transform: none !important;
  }

  .hero-image:hover img {
    transform: none !important;
  }

  /* Form alignment on mobile */
  .contact-form-wrapper {
    padding: 1.75rem;
    text-align: left;
  }

  /* Hero trust card stack on mobile */
  .hero-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    margin: 0 auto 1.5rem auto;
    align-self: center;
    text-align: center;
  }

  .hero-rating .rating-stars {
    white-space: nowrap;
  }

  .hero-rating .divider {
    display: none;
  }

  .hero-rating .rating-text {
    font-size: 0.85rem;
    display: block;
    line-height: 1.4;
  }

  .hero-rating .status-badge {
    margin-top: 0.25rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding-top: 0.35rem;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  /* Logo and Header Actions */
  .logo {
    font-size: 1.2rem;
    gap: 0.35rem;
  }

  .logo svg {
    width: 26px;
    height: 26px;
  }

  /* Hero Content */
  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

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

@media (max-width: 480px) {
  /* Contact Form Progress Steps for small screens */
  .progress-bar-wrapper {
    margin-bottom: 1.5rem;
  }

  .progress-steps {
    margin-bottom: 0.75rem;
  }

  .progress-step-item {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
    border-width: 2px;
  }

  .progress-steps::before, .progress-line {
    top: 14px;
  }

  .progress-label {
    font-size: 0.7rem;
    width: 70px;
  }

  .contact-form-wrapper {
    padding: 1.25rem;
  }

  /* Brand Horizontal Swipe Carousel */
  .quick-choices {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 1.5rem !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 23, 42, 0.2) transparent;
    -webkit-overflow-scrolling: touch;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    grid-template-columns: none !important;
  }

  .quick-choices::-webkit-scrollbar {
    height: 4px;
  }

  .quick-choices::-webkit-scrollbar-track {
    background: transparent;
  }

  .quick-choices::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.15);
    border-radius: 4px;
  }

  .choice-badge {
    flex: 0 0 100px !important;
    scroll-snap-align: start !important;
    font-size: 0.85rem !important;
    padding: 0.6rem 0.5rem !important;
  }

  /* Condition Cards compact 2x2 Grid */
  .condition-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }

  .condition-card {
    padding: 0.75rem 0.5rem !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.4rem !important;
  }

  .condition-card-icon {
    width: 20px;
    height: 20px;
    margin: 0 auto !important;
  }

  .condition-card h4 {
    font-size: 0.85rem;
    margin: 0;
  }

  .condition-card p {
    font-size: 0.75rem;
    line-height: 1.3;
    display: none; /* Hide descriptions to keep form extremely compact and readable */
  }

  /* Mobile Input Optimization */
  .modern-form input,
  .modern-form textarea,
  .modern-form select {
    padding: 0.9rem 1.1rem !important;
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
  }
}

/* ==========================================================================
   Expert Boost Section (Trust & 3D Visuals)
   ========================================================================== */
.expert-boost {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-light);
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.expert-boost::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.expert-boost-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.expert-boost-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pulse-dot-green {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.expert-boost-content h2 {
  font-size: 2.8rem;
  color: white;
  line-height: 1.2;
}

.expert-boost-content h2 span {
  color: var(--accent);
}

.expert-boost-content p {
  color: #cbd5e1;
  font-size: 1.15rem;
  line-height: 1.7;
}

.expert-features-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.expert-feature-card {
  display: flex;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.expert-feature-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(5px);
}

.feature-icon-wrapper {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.feature-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.feature-info h4 {
  font-size: 1.2rem;
  color: white;
  margin: 0;
}

.feature-info p {
  font-size: 0.95rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

/* 3D Visual & Animations */
.expert-boost-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-3d-wrapper {
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
  width: 100%;
  max-width: 450px;
}

.visual-3d-wrapper img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.45));
  animation: float 6s ease-in-out infinite;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.visual-3d-wrapper:hover img {
  transform: scale(1.05) rotateY(-5deg) rotateX(5deg);
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float-slow {
  0% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-10px) translateX(5px); }
  100% { transform: translateY(0px) translateX(0px); }
}

.floating-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  z-index: 10;
}

.floating-badge.badge-1 {
  top: 15%;
  left: -5%;
  animation: float-slow 8s ease-in-out infinite;
}

.floating-badge.badge-2 {
  bottom: 15%;
  right: -5%;
  animation: float-slow 7s ease-in-out infinite alternate;
}

.badge-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: #22c55e;
  line-height: 1.2;
}

.badge-txt {
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .expert-boost-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .expert-boost-content {
    text-align: center;
  }
  
  .trust-pill {
    margin-inline: auto;
  }
  
  .expert-feature-card {
    text-align: left;
  }
  
  .expert-boost-visual {
    order: -1; /* Place graphic above text on mobile */
  }
}
