/* ============================================
   ELITE RECOVERY — Navy (#1B2A4A) + Gold (#C4993B)
   ============================================ */

:root {
  --navy: #1B2A4A;
  --navy-dark: #111D33;
  --gold: #C4993B;
  --gold-light: #D4A94B;
  --gold-pale: #F5ECD7;
  --white: #FFFFFF;
  --light-gray: #F7F7F7;
  --mid-gray: #E8E8E8;
  --text: #333333;
  --text-light: #666666;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(196,153,59,0.2); }
  50% { box-shadow: 0 0 40px rgba(196,153,59,0.4); }
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.4s; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
  pointer-events: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(196,153,59,0.3);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--navy) 0%, #243B6A 100%);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 32px rgba(27,42,74,0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196,153,59,0.3);
  z-index: 1000;
  height: 72px;
  transition: all 0.3s ease;
}
.nav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border-bottom-color: var(--gold);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(196,153,59,0.2));
  transition: transform 0.3s ease;
}
.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: var(--white) !important;
  padding: 10px 28px !important;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(196,153,59,0.3);
  animation: pulse-glow 3s infinite;
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--navy), #243B6A) !important;
  box-shadow: 0 4px 20px rgba(27,42,74,0.4);
  animation: none;
}

.nav-dropdown { position: relative; }
.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 4px;
  min-width: 200px;
  padding: 8px 0;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-content { display: block; }
.nav-dropdown-content a {
  display: block;
  padding: 8px 20px;
  font-size: 0.8rem;
}
.nav-dropdown-content a:hover { background: var(--light-gray); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.3s; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-dropdown-content { position: static; box-shadow: none; padding-left: 16px; display: block; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--navy);
  margin-top: 72px;
  padding: 48px 24px 56px;
  overflow: hidden;
}

@media (min-width: 769px) {
  .hero { min-height: 85vh; padding: 60px 24px; }
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(196,153,59,0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196,153,59,0.05) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(17,29,51,0.98) 0%, rgba(27,42,74,0.85) 50%, rgba(36,59,106,0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeUp 1s cubic-bezier(0.16,1,0.3,1);
}

/* Hero logo */
.hero-logo {
  width: 260px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 12px 48px rgba(196,153,59,0.45));
  animation: fadeIn 1.2s ease, float 6s ease-in-out 1.5s infinite;
}

@media (min-width: 769px) {
  .hero-logo { width: 380px; margin-bottom: 32px; }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  background: linear-gradient(135deg, #FFFFFF 0%, #E8D5A8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

@media (min-width: 769px) {
  .hero p { font-size: 1.2rem; margin-bottom: 48px; }
}

.hero .btn { font-size: 0.95rem; padding: 18px 48px; }

/* ===== STATS ===== */
.stats {
  background: var(--gold);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-item .material-symbols-outlined {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--white);
}

.stat-item h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.stat-item p {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--navy);
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 32px; }

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 80px 0;
  background: var(--white);
}

.testimonials h2 { text-align: center; margin-bottom: 48px; }

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

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--text);
}

.testimonial-author {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ===== WHY US ===== */
.why-us {
  padding: 80px 0;
  background: var(--light-gray);
}

.why-us h2 { text-align: center; margin-bottom: 48px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.why-card {
  background: var(--white);
  border-radius: 16px;
  padding: 44px 36px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.why-card:hover::before {
  transform: scaleX(1);
}

.why-card .material-symbols-outlined {
  font-size: 44px;
  color: var(--gold);
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}
.why-card:hover .material-symbols-outlined {
  transform: scale(1.15);
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ===== PROCESS ===== */
.process {
  padding: 80px 0;
  background: var(--white);
}

.process h2 { text-align: center; margin-bottom: 48px; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 24px 16px;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(196,153,59,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(196,153,59,0.4);
}

.process-step .material-symbols-outlined {
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== COMPANY INFO ===== */
.company-info {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, #1E3356 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.company-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.company-info h2 {
  color: var(--gold);
  text-align: center;
  margin-bottom: 32px;
}

.company-info p {
  color: rgba(255,255,255,0.85);
  max-width: 800px;
  margin: 0 auto 24px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
}

/* ===== DEALERS ===== */
.dealers {
  padding: 80px 0;
  background: var(--white);
  text-align: center;
}

.section-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.dealer-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 16px;
  border-radius: 4px;
  filter: drop-shadow(0 4px 12px rgba(196,153,59,0.2));
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 48px;
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== PAGE HEADERS (inner pages) ===== */
.page-hero {
  background: var(--navy);
  padding: 120px 0 60px;
  text-align: center;
  margin-top: 72px;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }

/* ===== CONTENT SECTIONS ===== */
.content-section {
  padding: 80px 0;
}
.content-section.alt { background: var(--light-gray); }
.content-section h2 { margin-bottom: 24px; }
.content-section p { font-size: 1rem; line-height: 1.8; margin-bottom: 16px; color: var(--text); max-width: 800px; }
.content-section.center { text-align: center; }
.content-section.center p { margin-left: auto; margin-right: auto; }

/* ===== SERVICE CARDS ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-top: 4px solid var(--gold);
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.9rem; color: var(--text-light); }

.service-card.full-width { grid-column: 1 / -1; text-align: center; }

@media (max-width: 768px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  margin-top: 40px;
}

.contact-info-card {
  background: var(--navy);
  border-radius: 8px;
  padding: 40px;
  color: var(--white);
}

.contact-info-card h3 {
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  margin-top: 24px;
}
.contact-info-card h3:first-child { margin-top: 0; }

.contact-info-card p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.contact-info-card a { color: var(--gold); text-decoration: none; }
.contact-info-card a:hover { text-decoration: underline; }

.contact-promise {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.contact-promise h4 { color: var(--gold); margin-bottom: 8px; font-size: 0.95rem; }
.contact-promise p { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--mid-gray);
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,153,59,0.15); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .btn { align-self: flex-start; border: none; cursor: pointer; font-size: 0.9rem; }

.form-group { display: flex; flex-direction: column; gap: 4px; }

.form-success {
  display: none;
  background: var(--gold-pale);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}
.form-success h3 { color: var(--navy); margin-bottom: 8px; }
.form-success p { color: var(--text); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== STATS ROW (about page) ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat-box {
  text-align: center;
  padding: 32px 16px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.stat-box .stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 8px;
}

.stat-box p { font-size: 0.85rem; color: var(--text-light); }

@media (max-width: 768px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
}

/* ===== DEALER PAGE ===== */
.dealer-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  border: 1px solid var(--mid-gray);
  max-width: 600px;
  margin: 40px auto;
}

.dealer-card .verified-badge {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.dealer-card h3 { margin-bottom: 16px; }
.dealer-services { list-style: none; padding: 0; margin-bottom: 24px; }
.dealer-services li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--light-gray);
}
.dealer-services li::before {
  content: "\2713";
  color: var(--gold);
  font-weight: 700;
  margin-right: 8px;
}

.dealer-contact p { font-size: 0.9rem; margin-bottom: 4px; }
.dealer-contact a { color: var(--gold); text-decoration: none; }
