/* ==========================================================================
   Kaigg's Recovery — Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,800;1,900&family=Caveat:wght@600;700&display=swap');

:root {
  --navy-darkest: #050c1c;
  --navy-dark: #0a1830;
  --navy: #0e2049;
  --blue: #1f6feb;
  --blue-bright: #2f7dfb;
  --blue-light: #5aa3ff;
  --white: #ffffff;
  --gray-bg: #f4f6fa;
  --gray-line: #e2e6ee;
  --text-dark: #12172a;
  --text-muted: #5a6472;
  --shadow: 0 10px 30px rgba(10, 24, 48, 0.15);
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

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

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

ul { list-style: none; }

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

.italic-heading {
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.5px;
}

.script {
  font-family: 'Caveat', cursive;
  font-weight: 700;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.eyebrow .icon-badge {
  width: 34px;
  height: 34px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eyebrow .icon-badge svg { width: 18px; height: 18px; stroke: var(--white); }

.section-rule {
  height: 3px;
  width: 100%;
  background: var(--blue);
  margin: 8px 0 18px;
  max-width: 320px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-darkest);
  border-bottom: 3px solid var(--blue);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo .name {
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logo .tag {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  margin-top: 2px;
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue-light);
  border-color: var(--blue-light);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
}

.header-phone svg { width: 20px; height: 20px; stroke: var(--blue-light); }

.header-social {
  display: flex;
  align-items: center;
  color: var(--blue-light);
}

.header-social svg { width: 20px; height: 20px; }

.header-social:hover { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  overflow: hidden;
  padding: 70px 0 0;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 3.4rem;
  color: var(--white);
}

.hero h1 .accent { color: var(--blue-light); display: block; }

.hero p.lead {
  color: #c9d4e6;
  font-size: 1.1rem;
  margin: 20px 0 28px;
  max-width: 480px;
}

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

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #163063 0%, #0a1830 100%);
  overflow: hidden;
  border: 1px solid rgba(90,163,255,0.3);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---------- Feature icons row ---------- */

.features {
  background: var(--navy-dark);
  padding: 50px 0 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.feature-card { text-align: center; color: var(--white); }

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 8px 20px rgba(31,111,235,0.4);
}

.feature-icon svg { width: 32px; height: 32px; stroke: var(--white); }

.feature-card h3 {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 6px;
}

.feature-card p { color: #b7c3d9; font-size: 0.9rem; }

/* ---------- About split section ---------- */

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-split .panel-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 70px 50px;
  display: flex;
  align-items: center;
}

.about-split .panel-light {
  background: var(--white);
  padding: 70px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-split h2 {
  font-size: 2.6rem;
}

.about-split h2 .accent { color: var(--blue-light); }

.about-split .panel-light p {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.about-split .panel-light strong { color: var(--text-dark); }

.highlight { color: var(--blue); font-weight: 700; }

/* ---------- Services teaser / cards ---------- */

.services-section { padding: 70px 0; background: var(--gray-bg); }

.section-heading { text-align: center; margin-bottom: 40px; }
.section-heading .eyebrow { justify-content: center; }
.section-heading .section-rule { margin-left: auto; margin-right: auto; }

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
}

.service-card .icon-badge {
  width: 54px;
  height: 54px;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-card .icon-badge svg { width: 28px; height: 28px; stroke: var(--blue-light); }

.service-card h3 {
  text-transform: uppercase;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.service-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Call CTA bar ---------- */

.call-bar {
  background: var(--navy-darkest);
  padding: 34px 0;
  border-top: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
}

.call-bar .container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.call-bar-left { display: flex; align-items: center; gap: 20px; }

.call-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.call-icon svg { width: 28px; height: 28px; stroke: var(--white); }

.call-bar-text .label {
  color: var(--blue-light);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.call-bar-text .number {
  color: var(--white);
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 1px;
}

.call-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.call-bar-right .script { font-size: 1.4rem; }
.call-bar-right .badge247 {
  font-weight: 900;
  font-style: italic;
  color: var(--blue-light);
  font-size: 1.6rem;
}

/* ---------- Vehicle types bar ---------- */

.vehicle-bar {
  background: var(--blue);
  padding: 18px 0;
}

.vehicle-bar ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.vehicle-bar li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.vehicle-bar svg { width: 24px; height: 24px; stroke: var(--white); }

/* ---------- Trust badges bar ---------- */

.trust-bar {
  background: var(--navy-darkest);
  padding: 16px 0;
}

.trust-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.trust-group { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.trust-item svg { width: 18px; height: 18px; stroke: var(--blue-light); }

.trust-dot { color: var(--blue-light); }

/* ---------- Page hero banner (inner pages) ---------- */

.page-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 60px 0;
  text-align: center;
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.6rem;
}

.page-banner h1 .accent { color: var(--blue-light); }

.page-banner p {
  color: #c9d4e6;
  margin-top: 10px;
}

/* ---------- Generic content section ---------- */

.content-section { padding: 70px 0; }
.content-section.alt { background: var(--gray-bg); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.checklist svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Vehicle grid (services page) ---------- */

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.vehicle-tile {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 20px 10px;
  text-align: center;
}

.vehicle-tile svg { width: 32px; height: 32px; stroke: var(--blue); margin: 0 auto 8px; }
.vehicle-tile span { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; }

/* ---------- Fleet gallery (about page) ---------- */

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.fleet-photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.fleet-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.fleet-photo figcaption {
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ---------- Testimonials ---------- */

.testimonial-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: -20px auto 40px;
  max-width: 520px;
  font-style: italic;
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.stars { color: var(--blue); margin-bottom: 12px; font-size: 1.1rem; letter-spacing: 2px; }

.testimonial-card p.quote {
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}

.testimonial-card .author span {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.contact-info-item .icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item .icon-badge svg { width: 22px; height: 22px; stroke: var(--white); }

.contact-info-item h4 { text-transform: uppercase; font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-item p { color: var(--text-muted); font-size: 0.92rem; }

.map-embed {
  margin-top: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-line);
}

.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
}

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

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-line);
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
}

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

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.form-success {
  display: none;
  background: #e8f5ee;
  border: 1px solid #34a869;
  color: #1e6b45;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-darkest);
  color: #c9d4e6;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-grid h4 {
  color: var(--white);
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-grid ul li { margin-bottom: 8px; }
.footer-grid a:hover { color: var(--blue-light); }

.footer-social { margin-top: 16px; display: flex; gap: 12px; }
.footer-social a { display: inline-flex; color: #c9d4e6; }
.footer-social svg { width: 22px; height: 22px; }
.footer-social a:hover { color: var(--blue-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 18px;
  text-align: center;
  font-size: 0.82rem;
  color: #7e8ba3;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.5rem; }
  .about-split { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .vehicle-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy-darkest);
    border-top: 1px solid rgba(255,255,255,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.open { max-height: 320px; }

  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 24px; }
  .main-nav li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav a { display: block; padding: 14px 0; }

  .header-phone span { display: none; }
  .nav-toggle { display: flex; }
  .vehicle-bar ul { gap: 20px; }
  .trust-bar .container { gap: 20px; }
}

@media (max-width: 600px) {
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  .fleet-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .call-bar-text .number { font-size: 1.5rem; }
}
