/* =====================================================
   VROOMLY AUTOMOTIVE GROUP — SITEWIDE STYLESHEET
   Primary: #0b335f | Font: Cormorant Garamond + DM Sans
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ── CSS Variables ── */
:root {
  --navy:        #0b335f;
  --navy-deep:   #071f3b;
  --navy-mid:    #124d8a;
  --navy-light:  #1a6db5;
  --navy-pale:   #ccdaea;
  --navy-mist:   #e8f0f8;
  --gold:        #b89a5e;
  --gold-light:  #d4b98a;
  --white:       #ffffff;
  --off-white:   #f7f9fc;
  --text-dark:   #0d1a26;
  --text-mid:    #3a5068;
  --text-muted:  #7a96b0;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  32px;

  --shadow-sm:  0 2px 12px rgba(11, 51, 95, 0.08);
  --shadow-md:  0 8px 32px rgba(11, 51, 95, 0.14);
  --shadow-lg:  0 20px 60px rgba(11, 51, 95, 0.18);

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:  1180px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; font-weight: 400; }

p  { font-size: 1rem; line-height: 1.75; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

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

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}
.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.site-nav.scrolled {
  background: rgba(7, 31, 59, 0.96);
  backdrop-filter: blur(12px);
  padding: 0.9rem 0;
  box-shadow: 0 2px 24px rgba(11, 51, 95, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-logo-placeholder {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1.5px dashed rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  text-align: center;
  line-height: 1.3;
  flex-shrink: 0;
}

.nav-wordmark {
  display: flex;
  flex-direction: column;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1;
}

.nav-sub {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  line-height: 1;
  margin-top: 2px;
}

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

.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

.nav-cta { margin-left: 1rem; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 40%, rgba(26, 109, 181, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(184, 154, 94, 0.1) 0%, transparent 55%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 154, 94, 0.5), transparent);
}

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

.hero-content { max-width: 560px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-style: italic;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero-slogan {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  font-style: italic;
}

.hero-desc {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 440px;
}

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

/* Hero Visual Panel */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 380px;
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  font-weight: 400;
}

.step-list { display: flex; flex-direction: column; gap: 1.25rem; }

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

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(184, 154, 94, 0.2);
  border: 1px solid rgba(184, 154, 94, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-light);
  flex-shrink: 0;
}

.step-text strong {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.step-text span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--navy-pale);
  padding: 1.25rem 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-stat {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-mid);
}

.trust-stat strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
}

.trust-divider {
  width: 1px;
  height: 28px;
  background: var(--navy-pale);
}

/* ── HOW IT WORKS ── */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  color: var(--navy-deep);
  margin: 0.5rem 0 1rem;
}

.section-header p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--text-mid);
}

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

.how-card {
  background: var(--white);
  border: 1px solid var(--navy-pale);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: var(--transition);
}

.how-card:hover {
  border-color: var(--navy-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.how-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.how-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--navy-pale);
  line-height: 1;
  margin-bottom: 1rem;
}

.how-card h3 {
  color: var(--navy-deep);
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.how-card p {
  color: var(--text-mid);
  font-size: 0.95rem;
}

/* ── VALUE PROPS ── */
.value-section {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.value-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,109,181,0.2) 0%, transparent 70%);
}

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

.value-content h2 {
  color: var(--white);
  margin: 0.5rem 0 1.5rem;
}

.value-content p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 2rem;
  max-width: 440px;
}

.value-list { display: flex; flex-direction: column; gap: 1rem; }

.value-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.value-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(184, 154, 94, 0.25);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  color: var(--gold-light);
}

.value-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-number sup {
  font-size: 1.4rem;
  vertical-align: super;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.service-card {
  background: var(--navy-mist);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  background: var(--white);
  border-color: var(--navy-pale);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  color: var(--navy-deep);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  font-weight: 400;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  background: var(--off-white);
  padding: 6rem 0;
}

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

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--navy-pale);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--navy-pale);
  position: absolute;
  top: 1.5rem;
  left: 1.75rem;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  position: relative;
  z-index: 1;
}

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

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white);
  flex-shrink: 0;
}

.author-name {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.author-detail {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testimonial-savings {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--navy-mist);
  padding: 2px 10px;
  border-radius: var(--radius-xl);
}

/* ── CTA BANNER ── */
.cta-section {
  padding: 6rem 0;
  text-align: center;
  background: var(--white);
}

.cta-box {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-mid) 100%);
  border-radius: var(--radius-xl);
  padding: 5rem 3rem;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(26,109,181,0.15);
}

.cta-box .eyebrow { color: var(--gold-light); margin-bottom: 1rem; }

.cta-box h2 {
  color: var(--white);
  margin-bottom: 1rem;
  font-style: italic;
}

.cta-box p {
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-brand { margin-bottom: 0.5rem; display: block; color: var(--white); }
.footer-brand .nav-sub { display: block; margin-bottom: 1rem; color: var(--gold-light); }

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

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

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.46s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner      { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual     { display: none; }
  .how-grid        { grid-template-columns: 1fr; gap: 1.5rem; }
  .value-inner     { grid-template-columns: 1fr; }
  .services-grid   { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container         { padding: 0 1.25rem; }
  .section           { padding: 4rem 0; }
  .nav-links         { display: none; }
  .services-grid     { grid-template-columns: 1fr; }
  .value-stats       { grid-template-columns: 1fr; }
  .trust-inner       { gap: 1.5rem; }
  .trust-divider     { display: none; }
  .footer-grid       { grid-template-columns: 1fr; }
  .cta-box           { padding: 3rem 1.75rem; }
}
