/* Royale Chauffeur home — dark + gold to match brand logo */
.rn-home {
  --rn-primary: #c9a227;
  --rn-primary-dark: #a8841f;
  --rn-primary-light: #f5ecd3;
  --rn-charcoal: #353a42;
  --rn-charcoal-mid: #2f343c;
  --rn-charcoal-dark: #282c33;
  --rn-gradient: linear-gradient(145deg, #3a4049 0%, #2f343c 50%, #34302a 100%);
  --rn-hero-glow: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201, 162, 39, 0.14), transparent 70%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800, #1f2937);
  background: var(--gray-50, #f9fafb);
  line-height: 1.6;
}

.rn-home a { text-decoration: none; }
.rn-home a:not(.rn-btn) { color: inherit; }
.rn-home .rn-header .rn-nav a {
  color: #e8eaed;
  font-weight: 500;
}
.rn-home .rn-header .rn-nav a:hover {
  color: var(--rn-primary);
}

.rn-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(44, 48, 56, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.rn-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand logo: public/images/brand/royale-chauffeur-logo.png */
.rn-header .rn-logo {
  flex: 0 0 112px;
  flex-shrink: 0;
  line-height: 0;
}
.rn-header .rn-logo img {
  width: 112px;
  max-width: 112px;
  height: 79px;
  min-height: 20px;
  display: block;
  object-fit: contain;
  object-position: left center;
}
.rn-logo__footer-img {
  width: 112px;
  max-width: 112px;
  height: 79px;
  min-height: 20px;
  margin-bottom: 1rem;
  object-fit: contain;
  object-position: left center;
}

.rn-nav { display: flex; align-items: center; gap: 1.5rem; }

.rn-header__actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

.rn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm, 8px);
  border: none;
  cursor: pointer;
  transition: var(--transition, all 0.2s ease);
}
.rn-btn--primary {
  background: linear-gradient(135deg, #d4af37 0%, #b8942a 100%);
  color: #1a1205 !important;
  box-shadow: 0 4px 18px rgba(201, 162, 39, 0.35);
}
.rn-btn--primary:hover,
.rn-btn--primary:focus,
.rn-btn--primary:active {
  filter: brightness(1.08);
  color: #1a1205 !important;
}
/* .rn-home a { color: inherit } must not override primary buttons */
.rn-home .rn-header__actions a.rn-btn--primary,
.rn-home .rn-hero__cta a.rn-btn--primary {
  color: #fff !important;
}
.rn-btn--outline {
  background: transparent;
  color: var(--rn-primary);
  border: 1.5px solid rgba(201, 162, 39, 0.65);
}
.rn-btn--outline:hover { background: rgba(201, 162, 39, 0.1); }
.rn-btn--ghost {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.rn-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 162, 39, 0.4);
  color: #fff;
}
.rn-btn--lg { padding: 0.75rem 1.5rem; font-size: 1rem; }

.rn-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: #e5e7eb;
  cursor: pointer;
  padding: 0.25rem;
}

.rn-hero {
  background: var(--rn-gradient);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.rn-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--rn-hero-glow);
  pointer-events: none;
}
.rn-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.rn-hero__badge {
  display: inline-block;
  background: rgba(201, 162, 39, 0.16);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: #f5ecd3;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.rn-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.rn-hero__lead {
  font-size: 1.05rem;
  opacity: 0.92;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}
.rn-hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.rn-hero__cta .rn-btn--outline {
  border-color: rgba(201, 162, 39, 0.55);
  color: #f5ecd3;
  background: rgba(201, 162, 39, 0.08);
}
.rn-hero__cta .rn-btn--outline:hover { background: rgba(201, 162, 39, 0.18); }
.rn-hero__phone {
  font-size: 0.95rem;
  opacity: 0.9;
}
.rn-hero__phone a { color: #fff; font-weight: 700; text-decoration: underline; }
.rn-hero__visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.rn-hero__visual img {
  max-width: 100%;
  height: auto;
  max-height: 320px;
  background: transparent;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.28));
}

.rn-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
.rn-section--alt { background: #fff; }
.rn-section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.rn-section__head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--gray-900, #111827);
  margin-bottom: 0.5rem;
}
.rn-section__head p { color: var(--gray-600); font-size: 1rem; }

.rn-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
  padding: 0 1.25rem 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.rn-stat-card {
  background: #fff;
  border-radius: var(--border-radius, 12px);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}
.rn-stat-card__value {
  display: block;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--rn-primary-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.rn-stat-card span { font-size: 0.9rem; color: var(--gray-600); font-weight: 500; }

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

.rn-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: var(--transition);
  height: 100%;
}
.rn-card:hover {
  border-color: var(--rn-primary);
  box-shadow: var(--shadow);
}
.rn-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--rn-primary-light, #f5ecd3);
  color: var(--rn-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.rn-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}
.rn-card p { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 1rem; }
.rn-card .rn-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rn-primary);
}
.rn-card .rn-link:hover { text-decoration: underline; }

.rn-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.rn-step {
  text-align: center;
  padding: 1.25rem;
}
.rn-step__num {
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--rn-gradient);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.rn-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.rn-step p { font-size: 0.85rem; color: var(--gray-600); }

.rn-faq { max-width: 720px; margin: 0 auto; }
.rn-faq details {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-sm);
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.rn-faq summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rn-faq summary::-webkit-details-marker { display: none; }
.rn-faq summary::after { content: '+'; color: var(--rn-primary); font-size: 1.25rem; font-weight: 700; }
.rn-faq details[open] summary::after { content: '−'; }
.rn-faq details[open] summary { border-bottom: 1px solid var(--gray-100); }
.rn-faq__body {
  padding: 0 1.25rem 1rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}
.rn-faq__body a { color: var(--rn-primary); font-weight: 600; }

.rn-cta-band {
  background: linear-gradient(145deg, var(--rn-charcoal) 0%, var(--rn-charcoal-mid) 100%);
  color: #fff;
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: var(--border-radius-lg, 16px);
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 0 1.25rem 4rem;
  max-width: calc(1200px - 2.5rem);
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}
.rn-cta-band h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.rn-cta-band p { opacity: 0.9; margin-bottom: 1.25rem; }
/* White pill on blue band (do not use .rn-btn--primary — white text + no bg on live) */
.rn-home .rn-cta-band a.rn-btn.rn-btn--cta-light {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  padding: 0.8rem 2rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #d4af37 0%, #b8942a 100%) !important;
  background-image: linear-gradient(135deg, #d4af37 0%, #b8942a 100%) !important;
  color: #1a1205 !important;
  border: 2px solid #d4af37 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 18px rgba(201, 162, 39, 0.35) !important;
  filter: none !important;
}
.rn-home .rn-cta-band a.rn-btn.rn-btn--cta-light:hover,
.rn-home .rn-cta-band a.rn-btn.rn-btn--cta-light:focus {
  background-color: #e0bc4a !important;
  background-image: linear-gradient(135deg, #e0bc4a 0%, #c9a227 100%) !important;
  color: #1a1205 !important;
  border-color: #e0bc4a !important;
}

.rn-footer {
  background: var(--rn-charcoal-mid);
  color: #d1d5db;
  padding: 3rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}
.rn-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.rn-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1rem; }
.rn-footer ul { list-style: none; padding: 0; }
.rn-footer li { margin-bottom: 0.4rem; }
.rn-footer a:hover { color: #fff; }
.rn-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-700);
  font-size: 0.85rem;
  text-align: center;
  color: var(--gray-500);
}

@media (max-width: 992px) {
  .rn-hero__inner { grid-template-columns: 1fr; text-align: center; }
  .rn-hero__lead { margin-left: auto; margin-right: auto; }
  .rn-hero__cta { justify-content: center; }
  .rn-hero__visual { order: -1; }
  .rn-hero__visual img { max-height: 220px; }
  .rn-grid-3, .rn-steps { grid-template-columns: repeat(2, 1fr); }
  .rn-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .rn-header__inner { min-height: 0; padding: 0.65rem 1rem; }
  .rn-header .rn-logo img { height: 79px; width: 112px; max-width: 112px; }
  .rn-nav-toggle { display: block; }
  .rn-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--rn-charcoal-mid, #2f343c);
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.18);
    align-items: flex-start;
    gap: 0.75rem;
  }
  .rn-nav.is-open { display: flex; }
  .rn-header__inner { position: relative; flex-wrap: wrap; }
  .rn-stats { grid-template-columns: 1fr; margin-top: 0; padding-top: 2rem; }
  .rn-grid-3, .rn-grid-2, .rn-steps { grid-template-columns: 1fr; }
  .rn-footer__inner { grid-template-columns: 1fr; }
}
