/* ============================================
   RTC CLAIMS & HIRE LTD — shared stylesheet
   ============================================ */

:root {
  --orange: #F5A623;
  --orange-dark: #E0941A;
  --black: #16181D;
  --dark-text: #1A1A1A;
  --grey-text: #5B5F66;
  --light-bg: #F7F7F8;
  --cream-bg: #FCEFD6;
  --border: #ECECEC;
  --white: #FFFFFF;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  font-size: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
}

p { line-height: 1.6; color: var(--grey-text); margin: 0; }

a { text-decoration: none; color: inherit; }

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: var(--black);
}
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 8px 20px rgba(245,166,35,0.35); }

.btn-secondary {
  background: var(--white);
  color: var(--black);
  border-color: #E3E3E3;
}
.btn-secondary:hover { border-color: var(--black); }

.btn-arrow { font-size: 1rem; transition: transform 0.15s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
header.site-header {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--orange);
  position: relative;
  line-height: 1;
}
.logo-text { line-height: 1.1; }
.logo-text .rtc-big { display:block; font-family:'Poppins',sans-serif; font-weight:800; font-size:1.9rem; color: var(--orange); letter-spacing: 0.5px;}
.logo-text .rtc-sub { display:block; font-size: 0.6rem; letter-spacing: 0.12em; color: var(--dark-text); font-weight: 700; margin-top: 2px;}

.logo-img { height: 56px; width: auto; display: block; }
.logo-img-footer { height: 62px; width: auto; display: block; margin-bottom: 4px; }

nav.main-nav {
  display: flex;
  gap: 34px;
  align-items: center;
}
nav.main-nav a {
  font-weight: 500;
  color: var(--dark-text);
  font-size: 0.95rem;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
nav.main-nav a:hover { color: var(--orange); }
nav.main-nav a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.header-cta {
  background: var(--orange);
  border-radius: 8px;
  padding: 10px 20px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-cta .phone-icon { font-size: 1.1rem; }
.header-cta .cta-text .num {
  font-weight: 700;
  font-size: 1rem;
  color: var(--black);
  display: block;
}
.header-cta .cta-text .sub {
  font-size: 0.72rem;
  color: #3c3c3c;
  display: block;
}

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 40px;
}
.hero-copy h1 {
  font-size: 3.1rem;
  margin: 14px 0 20px;
  color: var(--black);
}
.hero-copy p {
  max-width: 440px;
  margin-bottom: 30px;
  font-size: 1.02rem;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 420px;
  background: linear-gradient(135deg, #FFDFA3 0%, #FFB35C 35%, #6E7B94 75%, #38414F 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-visual svg { width: 88%; max-width: 620px; margin-bottom: 6px; filter: drop-shadow(0 20px 24px rgba(0,0,0,0.35)); }
.hero-visual .hero-photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255,255,255,0.35), transparent 45%);
}

/* ---------- Feature strip (rentals page) ---------- */
.feature-strip {
  background: var(--cream-bg);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0 0;
}
.feature-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-item .icon-circle {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.feature-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.feature-item p { font-size: 0.85rem; }

/* ---------- Fleet section ---------- */
.fleet-section { padding: 80px 0; }
.fleet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.fleet-head h2 { font-size: 2.1rem; margin-bottom: 10px; color: var(--black); }
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.car-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.car-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.car-thumb {
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.car-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.car-card:hover .car-thumb img { transform: scale(1.05); }
.car-thumb svg { width: 100%; height: auto; }
.car-info { padding: 18px 22px 24px; }
.car-info h3 { font-size: 1.15rem; margin-bottom: 8px; }
.car-tags { font-size: 0.85rem; color: var(--grey-text); margin-bottom: 14px; }
.car-tags .dot { color: var(--orange); margin: 0 6px; }
.view-details { color: var(--orange-dark); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--black);
  border-radius: var(--radius);
  color: var(--white);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin: 0 24px 70px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.cta-item { display: flex; align-items: center; gap: 16px; }
.cta-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0; color: var(--black);
}
.cta-item h4 { font-size: 1rem; color: var(--white); margin-bottom: 2px; }
.cta-item p { font-size: 0.85rem; color: #B9BBC0; margin: 0; }
.cta-divider { width: 1px; height: 46px; background: rgba(255,255,255,0.15); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--black);
  color: #C9CBD0;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 0.8fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-about p { color: #9A9CA3; font-size: 0.9rem; margin-top: 14px; }
.footer-col h5 {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.footer-col a, .footer-col p, .footer-col span {
  display: block;
  font-size: 0.9rem;
  color: #B9BBC0;
  margin-bottom: 12px;
}
.footer-col a:hover { color: var(--orange); }
.footer-col a.active-link { color: var(--orange); }
.footer-contact-line { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact-line .fi { color: var(--orange); flex-shrink: 0; }
.social-row { display: flex; gap: 12px; }
.social-circle {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid #3A3C42;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
}
.footer-bottom {
  border-top: 1px solid #2A2C31;
  text-align: center;
  padding: 22px 0;
  font-size: 0.82rem;
  color: #85878E;
}

/* ---------- Generic page hero (non-home pages) ---------- */
.page-hero { padding: 56px 0 0; }
.page-hero .hero-inner { align-items: center; }

/* ---------- Why choose / process (claims page) ---------- */
.section { padding: 80px 0; }
.section-light { background: var(--light-bg); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: 2.1rem; color: var(--black); }

.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.icon-grid-item .icon-circle-lg {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--cream-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 18px;
}
.icon-grid-item h4 { font-size: 1.05rem; margin-bottom: 10px; }
.icon-grid-item p { font-size: 0.88rem; }

.process-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.process-row::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--orange) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.process-item { position: relative; z-index: 1; text-align: left; }
.process-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--cream-bg);
  border: 1px solid #F2DFB6;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px; position: relative;
}
.process-num .badge {
  position: absolute; bottom: -6px; right: -6px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange); color: var(--black);
  font-size: 0.72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.process-item h4 { font-size: 1rem; margin-bottom: 8px; }
.process-item p { font-size: 0.85rem; }

/* ---------- claims hero card ---------- */
.claim-highlight {
  background: var(--cream-bg);
  border-radius: var(--radius);
  padding: 44px 40px;
  text-align: center;
}
.claim-highlight .icon-circle-lg {
  width: 72px; height: 72px; margin: 0 auto 20px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.claim-highlight h3 { font-size: 1.3rem; margin-bottom: 12px; }
.claim-highlight p { font-size: 0.92rem; }

/* ---------- About page ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 50px; align-items: start; }
.trust-card {
  background: var(--cream-bg);
  border-radius: var(--radius);
  padding: 36px;
}
.trust-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid #F2DFB6; }
.trust-item:last-child { border-bottom: none; padding-bottom: 0; }
.trust-item:first-child { padding-top: 0; }
.trust-item .icon-circle {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.trust-item h4 { font-size: 1rem; margin-bottom: 6px; }
.trust-item p { font-size: 0.88rem; }

.journey-block { text-align: center; max-width: 680px; margin: 0 auto; }
.journey-block h2 { font-size: 1.9rem; margin-bottom: 14px; }
.journey-rule { width: 60px; height: 3px; background: var(--orange); margin: 0 auto 26px; border-radius: 2px;}
.journey-block p { font-size: 1rem; margin-bottom: 4px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.1fr; gap: 50px; }
.contact-info h1 { font-size: 2.5rem; margin: 14px 0 20px; }
.contact-info > p { margin-bottom: 34px; max-width: 460px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 30px; }
.contact-item .icon-circle { width: 46px; height: 46px; border-radius: 50%; background: var(--cream-bg); display:flex; align-items:center; justify-content:center; font-size:1.1rem; flex-shrink:0;}
.contact-item h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-item a.link-orange { color: var(--orange-dark); font-weight: 600; }
.contact-item p { font-size: 0.9rem; }

.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.3rem; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.92rem;
  margin-bottom: 16px;
  background: var(--white);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .form-row input { margin-bottom: 0; }
.contact-form button { width: 100%; justify-content: center; }

.trust-banner {
  background: var(--cream-bg);
  border-radius: var(--radius);
  padding: 34px 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.trust-banner .icon-circle-lg { background: var(--white); width: 60px; height: 60px; flex-shrink: 0; }
.trust-banner h3 { font-size: 1.2rem; margin-bottom: 8px; }
.trust-banner p { font-size: 0.9rem; }
.trust-banner-divider { width: 1px; align-self: stretch; background: #F2DFB6; }
.trust-banner .highlight { color: var(--orange-dark); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-strip, .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .process-row { grid-template-columns: repeat(2, 1fr); }
  .process-row::before { display: none; }
}

@media (max-width: 720px) {
  nav.main-nav { display: none; }
  .header-cta .cta-text .sub { display: none; }
  .hero-copy h1 { font-size: 2.2rem; }
  .fleet-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .cta-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .form-row input { margin-bottom: 16px; }
  .process-row { grid-template-columns: 1fr; }
}


/* ---------- Single-file page switching ---------- */
.page { display: none; }
.page.active { display: block; }

/* ============================================
   Contact form: status, honeypot, note
   ============================================ */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.8rem; color: var(--grey-text); margin: 0 0 14px; }
.form-note a, .footer-bottom a { color: inherit; text-decoration: underline; }
.form-status { display: none; border-radius: var(--radius); padding: 12px 14px; font-size: 0.92rem; margin-bottom: 14px; }
.form-status.ok { display: block; background: #E8F6EC; color: #17602E; border: 1px solid #BFE5CA; }
.form-status.bad { display: block; background: #FDECEC; color: #96231F; border: 1px solid #F5C6C4; }
.contact-form button:disabled { opacity: 0.6; cursor: default; transform: none; }

/* ============================================
   AI chat assistant
   ============================================ */
.chat-launch {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  display: flex; align-items: center; gap: 10px;
  background: var(--orange); color: var(--black);
  border: none; border-radius: 999px; padding: 14px 20px;
  font-family: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}
.chat-launch:hover { background: var(--orange-dark); }
.chat-launch[aria-expanded="true"] { display: none; }
.chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 901;
  width: 370px; max-width: calc(100vw - 24px); height: 540px; max-height: calc(100vh - 44px);
  display: flex; flex-direction: column;
  background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.28); border: 1px solid var(--border);
}
.chat-panel[hidden] { display: none; }
.chat-head { background: var(--black); color: var(--white); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.chat-head strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1rem; }
.chat-head span { font-size: 0.78rem; color: #C9CBD1; }
.chat-close { background: transparent; border: none; color: var(--white); font-size: 1.7rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; background: var(--light-bg); display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: 0.92rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg.bot { align-self: flex-start; background: var(--white); border: 1px solid var(--border); color: var(--dark-text); border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--orange); color: var(--black); border-bottom-right-radius: 4px; }
.chat-msg.typing { color: var(--grey-text); font-style: italic; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: var(--white); }
.chat-form input { flex: 1; border: 1px solid var(--border); border-radius: 999px; padding: 11px 15px; font-family: inherit; font-size: 0.92rem; outline: none; }
.chat-form input:focus { border-color: var(--orange); }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--black); color: var(--white); font-size: 1.1rem; cursor: pointer; flex-shrink: 0; }
.chat-form button:disabled { opacity: 0.5; cursor: default; }
.chat-foot { margin: 0; padding: 0 14px 10px; font-size: 0.72rem; color: var(--grey-text); background: var(--white); text-align: center; }
.chat-foot a { color: inherit; text-decoration: underline; }
@media (max-width: 480px) {
  .chat-launch span { display: none; }
  .chat-launch { padding: 15px; right: 14px; bottom: 14px; }
  .chat-panel { right: 12px; bottom: 12px; height: calc(100vh - 24px); }
}

/* ============================================
   Privacy page
   ============================================ */
.legal { max-width: 800px; margin: 0 auto; padding: 60px 24px 80px; }
.legal h1 { font-size: 2.1rem; margin-bottom: 6px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--grey-text); line-height: 1.7; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--orange-dark); }
.legal .updated { font-size: 0.9rem; }
.legal .todo { background: #FFF4D6; color: #6B4A00; padding: 1px 5px; border-radius: 4px; font-weight: 600; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 0.93rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); color: var(--grey-text); vertical-align: top; }
.legal th { background: var(--light-bg); color: var(--dark-text); }
