/* RP Con (Pty) Ltd — Pages: hero variants and page-level section layouts */

/* ===== HERO — BASE ===== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg .placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(13, 17, 23, 0.85) 0%, rgba(13, 17, 23, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-home .hero-content {
  padding-left: max(24px, 45vw - 600px);
}

@media (max-width: 1024px) {
  .hero-home .hero-content { padding-left: 40px; }
}

@media (max-width: 640px) {
  .hero-home .hero-content { padding-left: 24px; }
}

.hero-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(36px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: 0.02em;
  color: var(--white);
  max-width: 700px;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-light);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 380px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
}

.hero-bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
  z-index: 3;
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 20px;
  z-index: 3;
  animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ===== HERO — PAGE VARIANT (about, products) ===== */

.hero-page {
  min-height: 55vh;
  height: 55vh;
  min-height: 400px;
}

.hero-page .hero-content {
  text-align: center;
}

.hero-page .hero-title {
  font-size: clamp(32px, 6vw, 80px);
  margin: 0 auto 16px;
  max-width: 900px;
}

.hero-page .hero-label {
  text-align: center;
}

.hero-page .hero-desc {
  margin: 16px auto 0;
  text-align: center;
}

/* ===== HERO — CONTACT VARIANT ===== */

.hero-contact {
  min-height: 45vh;
  height: 45vh;
  min-height: 360px;
}

/* ===== HOME — WHY CHOOSE US ===== */

.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
}

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

.why-left {
  background: var(--bg-dark);
  color: var(--white);
  padding: 96px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 1024px) { .why-left { padding: 64px 40px; } }
@media (max-width: 640px) { .why-left { padding: 48px 24px; } }

.why-left .section-title {
  color: var(--white);
  max-width: 380px;
}

.why-left p {
  font-size: 17px;
  color: var(--text-mid-2);
  line-height: 1.7;
  max-width: 360px;
}

.why-right {
  background: var(--bg-light);
  padding: 96px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

@media (max-width: 1024px) { .why-right { padding: 64px 40px; } }
@media (max-width: 640px) { .why-right { padding: 48px 24px; } }

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange-tint);
  border: 1px solid var(--orange-border);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-item-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.why-item-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ===== HOME — STORY TEASER ===== */

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

.story-image {
  aspect-ratio: 1 / 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  border-radius: 4px;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
}

.story-text p {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ===== HOME — CONTACT STRIP ===== */

.contact-strip {
  background: var(--bg-dark);
  color: var(--white);
  padding: 60px 0;
}

.contact-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1440px) {
  .contact-strip-inner { max-width: 1400px; }
}

@media (min-width: 1920px) {
  .contact-strip-inner { max-width: 1600px; }
}

@media (max-width: 768px) {
  .contact-strip-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 28px;
  }
}

.contact-strip h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 48px;
  letter-spacing: 0.02em;
  line-height: 1.0;
  margin-bottom: 12px;
}

.contact-strip-sub {
  font-size: 15px;
  color: var(--text-mid-2);
}

.contact-strip-middle {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-strip-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--white);
  justify-content: center;
}

.contact-strip-row.dim {
  color: var(--text-mid-2);
  font-size: 14px;
  font-weight: 400;
}

.contact-strip-row svg {
  color: var(--orange);
  flex-shrink: 0;
}

.contact-strip-row a {
  color: inherit;
}

.contact-strip-row a:hover {
  color: var(--orange);
}

.contact-strip-right {
  text-align: right;
}

@media (max-width: 768px) {
  .contact-strip-right { text-align: center; }
}

/* ===== ABOUT — STORY SECTION ===== */

.about-story {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 64px;
  align-items: center;
}

@media (max-width: 768px) {
  .about-story {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-story .img-col { order: -1; }
}

.about-story p {
  font-size: 17px;
  color: var(--text-mid-3);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-story .section-title {
  font-size: 48px;
  line-height: 1.05;
}

.story-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
}

.story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  filter: saturate(0.95);
}

.story-img-caption {
  background: var(--surface-dark);
  color: var(--text-mid-2);
  font-size: 13px;
  padding: 14px 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

/* ===== ABOUT — MISSION & VISION ===== */

.mv {
  background: var(--bg-dark);
  color: var(--white);
}

.mv .section-title {
  color: var(--white);
  text-align: center;
  margin-bottom: 64px;
}

.mv .label {
  text-align: center;
  display: block;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.mv-card {
  position: relative;
  background: var(--surface-dark);
  border-radius: 8px;
  padding: 40px;
  overflow: hidden;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
}

.mv-deco {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 120px;
  color: var(--orange);
  opacity: 0.25;
  line-height: 0.7;
  pointer-events: none;
}

.mv-label {
  margin-bottom: 16px;
  display: block;
}

.mv-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--text-light);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.mv-divider {
  border-top: 1px solid var(--border-dark);
  margin: 28px 0 16px;
}

.mv-note {
  font-size: 13px;
  color: var(--text-mid);
}

/* ===== ABOUT — COMMUNITY QUOTE ===== */

.community {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.community-deco {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 240px;
  color: var(--orange);
  opacity: 0.12;
  line-height: 0.8;
  z-index: 0;
  pointer-events: none;
}

.community-quote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  letter-spacing: 0.02em;
  color: var(--text-dark);
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .community-quote { font-size: 32px; }
}

.community-quote .hl {
  color: var(--orange);
}

.community-attr {
  font-size: 14px;
  color: var(--text-mid-2);
  font-style: italic;
  margin-top: 24px;
}

.community-body {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 600px;
  margin: 24px auto 0;
  line-height: 1.7;
}

/* ===== ABOUT — FOUNDERS ===== */

.founders {
  background: var(--surface-dark);
}

.founders .section-title {
  color: var(--white);
  text-align: center;
  margin-bottom: 64px;
}

.founders .label {
  text-align: center;
  display: block;
}

.founders-grid {
  display: grid;
  grid-template-columns: 400px 400px;
  gap: 40px;
  justify-content: center;
}

@media (max-width: 900px) {
  .founders-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ===== PRODUCTS — MAINTENANCE PROMISE ===== */

.maintenance {
  background: var(--orange);
  color: var(--white);
}

.maintenance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

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

.maintenance h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.0;
  letter-spacing: 0.02em;
  max-width: 420px;
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .maintenance h2 { font-size: 44px; }
}

.maintenance-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.maintenance p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

/* ===== PRODUCTS — FLEET CTA STRIP ===== */

.fleet-cta {
  background: var(--bg-dark);
  color: var(--white);
  padding: 64px 0;
}

.fleet-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

@media (min-width: 1440px) {
  .fleet-cta-inner { max-width: 1400px; }
}

@media (min-width: 1920px) {
  .fleet-cta-inner { max-width: 1600px; }
}

.fleet-cta h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 44px;
  letter-spacing: 0.02em;
  line-height: 1.05;
  max-width: 640px;
}

@media (max-width: 768px) {
  .fleet-cta-inner { justify-content: center; text-align: center; }
}

@media (max-width: 640px) {
  .fleet-cta h2 { font-size: 32px; }
}

/* ===== CONTACT — PAGE LAYOUT ===== */

.contact-page-grid {
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-page-grid { grid-template-columns: 1fr; gap: 48px; }
}

.contact-details h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 40px;
  letter-spacing: 0.02em;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.contact-details .lead {
  font-size: 16px;
  color: var(--text-mid);
  margin-bottom: 40px;
}

.location-block {
  background: var(--surface-dark);
  color: var(--white);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.location-block svg {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-block .small {
  font-size: 11px;
  color: var(--text-mid-2);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.location-block .big {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--white);
  margin: 4px 0;
}

.location-block .meta {
  font-size: 13px;
  color: var(--text-mid);
}

/* ===== CONTACT — CLOSING STRIP ===== */

.closing-strip {
  background: var(--bg-dark);
  color: var(--white);
  padding: 60px 24px;
  text-align: center;
}

.closing-strip h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 52px;
  letter-spacing: 0.02em;
  line-height: 1.1;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .closing-strip h2 { font-size: 32px; }
}

.closing-strip h2 .hl {
  color: var(--orange);
}

.closing-strip .meta {
  font-size: 16px;
  color: var(--text-mid-2);
  margin-top: 16px;
}
