/* Dealer Revenue Group — styles.css */

:root {
  --navy:        #1E4D7B;
  --navy-mid:    #2E6DA4;
  --navy-light:  #4A8EC2;
  --gold:        #C9A84C;
  --gold-light:  #E8C97E;
  --white:       #ffffff;
  --off-white:   #f4f8fc;
  --text:        #1E3A5F;
  --text-muted:  #5A7A9A;
  --border:      #d0e3f0;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 4px 24px rgba(30,77,123,0.10);
  --shadow-lg:   0 8px 48px rgba(30,77,123,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* ── NAV ─────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #ffffff;
  padding: 0 2.5rem;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid rgba(30,77,123,0.15);
  box-shadow: 0 4px 20px rgba(30,77,123,0.12);
}

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

.nav-logo-img {
  height: 124px;
  width: auto;
}

.nav-cta {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: .85rem;
  padding: .5rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--gold-light); }

/* ── HERO ────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(201,168,76,0.08) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  max-width: 780px;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .4rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background .2s, transform .1s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color .2s, background .2s;
  display: inline-block;
}

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

/* ── TRUST BAR ───────────────────────────── */
.trust-bar {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem;
  text-align: center;
}

.trust-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item .icon { font-size: 1rem; color: var(--gold); }
.contact-detail i { color: var(--navy-mid); font-size: 1rem; width: 1.2rem; text-align: center; }

/* ── SECTIONS ────────────────────────────── */
section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

/* ── SERVICES ────────────────────────────── */
#services { background: var(--white); }

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

.service-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--navy-mid);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.service-icon i {
  color: var(--gold) !important;
  font-size: 1.75rem;
}

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

.service-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.service-features li {
  font-size: .85rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

.service-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05rem;
}

/* ── WHY DRG ─────────────────────────────── */
#why {
  background: var(--navy);
  color: var(--white);
}

#why .section-title { color: var(--white); }
#why .section-sub { color: rgba(255,255,255,0.65); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: background .2s, border-color .2s;
}

.why-card:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.3);
}

.why-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .5rem;
}

.why-card h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .4rem;
}

.why-card p {
  font-size: .85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ── CONTACT ─────────────────────────────── */
#contact { background: var(--off-white); }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: var(--text);
  margin-bottom: .75rem;
  font-weight: 500;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: .9rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}

.form-submit:hover { background: var(--navy-light); }

/* ── FOOTER ──────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem;
  font-size: .8rem;
  border-top: 1px solid rgba(201,168,76,0.15);
}

footer a { color: var(--gold); text-decoration: none; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding: 7rem 1.5rem 4rem; }
  section { padding: 3.5rem 1.5rem; }
  nav { padding: 0 1.5rem; height: 110px; }
  .nav-logo-img { height: 96px; }
}
