/* ==========================================================================
   AutoVault Motors - Main Stylesheet (Prestige Luxury Car Dealership)
   Typography: Rajdhani (Headings) + Inter (Body)
   Colors: Deep Black #0a0a0a, Gold #c9a84c, Dark Navy #1a1a2e, White #ffffff
   ========================================================================== */

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111116;
  --bg-tertiary: #161622;
  --bg-card: #13131b;
  --accent-gold: #c9a84c;
  --accent-gold-light: #e0c36e;
  --accent-gold-dark: #967528;
  --navy-dark: #1a1a2e;
  --text-main: #f0f0f5;
  --text-muted: #9e9eb0;
  --border-color: rgba(201, 168, 76, 0.2);
  --border-hover: rgba(201, 168, 76, 0.5);
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container-width: 1240px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--accent-gold-light);
}

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

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

/* Section Common Styling */
.section-padding {
  padding: 100px 0;
  position: relative;
}

.section-padding-sm {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 42px;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 1.5px;
}

.section-title span {
  color: var(--accent-gold);
  position: relative;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Gold Accent Line */
.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  margin: 18px auto 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #aa8b38 100%);
  color: #0a0a0a !important;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
  border: 1px solid var(--accent-gold-light);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, #be9c40 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.55);
  color: #050505 !important;
}

.btn-outline {
  background: transparent;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-gold);
  color: var(--accent-gold) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/hero.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.88) 60%, #0a0a0a 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 80px 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 64px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.hero-title span {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Animated Gold Line Accent */
.animated-gold-line {
  width: 140px;
  height: 3px;
  margin: 0 auto 28px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  position: relative;
  overflow: hidden;
}

.animated-gold-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  animation: lineShimmer 2.5s infinite;
}

@keyframes lineShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.hero-desc {
  font-size: 18px;
  color: #cfcfe0;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-highlights {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-gold);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   2. BRAND LOGOS BAR (8 luxury brands)
   ========================================================================== */
.brand-logos-bar {
  background: #08080c;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  padding: 24px 0;
}

.brand-logos-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8c8c9e;
  transition: var(--transition);
  cursor: pointer;
}

.brand-badge:hover {
  color: var(--accent-gold);
  transform: scale(1.05);
}

.brand-separator {
  color: rgba(201, 168, 76, 0.4);
  font-size: 8px;
}

/* ==========================================================================
   3. FEATURED INVENTORY (royalportfolio)
   ========================================================================== */
.featured-inventory {
  background: var(--bg-primary);
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.car-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.car-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(201, 168, 76, 0.15);
}

.car-image-box {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #000;
}

.car-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.car-card:hover .car-image-box img {
  transform: scale(1.08);
}

.car-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.car-badge.electric {
  border-color: #22c55e;
  color: #22c55e;
}

.car-year {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(10, 10, 10, 0.85);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.car-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.car-title {
  font-size: 22px;
  margin-bottom: 6px;
  color: #ffffff;
}

.car-price {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.car-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.spec-item i {
  color: var(--accent-gold);
  font-size: 13px;
}

.car-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.btn-sm {
  padding: 10px 14px;
  font-size: 13px;
  letter-spacing: 0.8px;
  border-radius: 4px;
}

/* ==========================================================================
   4. FINANCING CALCULATOR (INTERACTIVE JS)
   ========================================================================== */
.financing-calculator-section {
  background: var(--navy-dark);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  background: #0f101a;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 16px;
  padding: 44px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.calc-form-group {
  margin-bottom: 26px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calc-label {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #e5e5f0;
}

.calc-val-display {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-gold);
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #232338;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-gold);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.6);
  border: 2px solid #ffffff;
  transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #7b7b90;
  margin-top: 6px;
}

.term-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.term-btn {
  background: #191928;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d0d0e0;
  padding: 12px 0;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}

.term-btn:hover,
.term-btn.active {
  background: var(--accent-gold);
  color: #0a0a0a;
  border-color: var(--accent-gold);
  font-weight: 700;
}

/* Calculator Result Card */
.calc-result-box {
  background: linear-gradient(145deg, #161726, #11121d);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 12px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.calc-result-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.calc-result-header h4 {
  font-size: 16px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.calc-monthly-amount {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 6px;
  line-height: 1;
}

.calc-monthly-sub {
  font-size: 13px;
  color: #8c8ca5;
  margin-bottom: 24px;
}

.calc-breakdown-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
}

.calc-breakdown-list li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
}

.calc-breakdown-list li span:last-child {
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   5. OUR SERVICES (royalservices)
   ========================================================================== */
.services-section {
  background: var(--bg-primary);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 24px;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent-gold);
  color: #0a0a0a;
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.service-link:hover {
  gap: 12px;
}

/* ==========================================================================
   6. OUR PROCESS (royaltimeline)
   ========================================================================== */
.process-section {
  background: var(--bg-secondary);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.timeline-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, rgba(201,168,76,0.2), var(--accent-gold), rgba(201,168,76,0.2));
  z-index: 1;
}

.timeline-step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #0f1018;
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-gold);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.25);
  transition: var(--transition);
}

.timeline-step:hover .step-number {
  background: var(--accent-gold);
  color: #0a0a0a;
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.5);
}

.timeline-step h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.timeline-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   7. SALES TEAM (royalteam)
   ========================================================================== */
.team-section {
  background: var(--bg-primary);
}

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

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
}

.team-img-box {
  height: 320px;
  overflow: hidden;
  position: relative;
}

.team-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img-box img {
  transform: scale(1.06);
}

.team-info {
  padding: 24px;
  text-align: center;
}

.team-name {
  font-size: 24px;
  margin-bottom: 4px;
}

.team-title {
  font-size: 14px;
  color: var(--accent-gold);
  font-family: var(--font-heading);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.team-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 13px;
}

.team-socials a:hover {
  background: var(--accent-gold);
  color: #0a0a0a;
  border-color: var(--accent-gold);
}

/* ==========================================================================
   8. REVIEWS (royalreview)
   ========================================================================== */
.reviews-section {
  background: var(--navy-dark);
}

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

.review-card {
  background: #111220;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 12px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
}

.review-stars {
  color: var(--accent-gold);
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.review-text {
  font-style: italic;
  font-size: 15px;
  color: #d8d8ea;
  line-height: 1.7;
  margin-bottom: 24px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
}

.author-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.author-role {
  font-size: 12px;
  color: var(--accent-gold);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   9. CONTACT & INQUIRY FORM (royalform)
   ========================================================================== */
.contact-section {
  background: var(--bg-primary);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}

.contact-info-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
}

.contact-info-panel h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 18px;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 17px;
  margin-bottom: 4px;
}

.info-text p {
  font-size: 14px;
  margin: 0;
}

.royalform {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #cfcfe0;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: #0d0d12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 13px 16px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.3);
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background: #111116;
  color: #fff;
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-feedback {
  display: none;
  padding: 14px;
  border-radius: 6px;
  margin-top: 16px;
  font-size: 14px;
}

.form-feedback.success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  color: #86efac;
}

/* ==========================================================================
   10. FOOTER (Dark 4-col)
   ========================================================================== */
.footer {
  background: #050508;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: #ffffff;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-col p {
  font-size: 14px;
  color: #8f8fa0;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: #9e9eb0;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

.footer-newsletter-form {
  display: flex;
  margin-top: 14px;
}

.footer-newsletter-form input {
  flex-grow: 1;
  background: #111116;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px 0 0 6px;
  padding: 12px 14px;
  color: #fff;
  outline: none;
  font-size: 13px;
}

.footer-newsletter-form button {
  background: var(--accent-gold);
  border: none;
  color: #0a0a0a;
  padding: 0 18px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  font-weight: 700;
  transition: var(--transition);
}

.footer-newsletter-form button:hover {
  background: var(--accent-gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #7a7a8c;
}

.footer-bottom a {
  color: var(--accent-gold);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .inventory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .timeline-grid::before {
    display: none;
  }
  .calc-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 42px;
  }
  .section-title {
    font-size: 32px;
  }
  .brand-logos-wrapper {
    justify-content: center;
    gap: 18px;
  }
  .brand-separator {
    display: none;
  }
  .inventory-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .calc-wrapper {
    padding: 24px;
  }
  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
