/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ===== Brand variables ===== */
:root {
  /* Colors — matched to assets/logo/balache-logo.svg */
  --color-navy: #0D2A4A;
  --color-navy-light: #14406F;
  --color-amber: #F5B301;
  --color-amber-dark: #D89A00;
  --color-bg: #F7F8FA;
  --color-surface: #FFFFFF;
  --color-text: #1C2B3A;
  --color-text-muted: #5B6B7A;
  --color-border: #E3E7EC;

  /* Typography */
  --font-heading: 'Manrope', 'Avenir Next', 'Montserrat', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 5rem;

  /* Layout */
  --container-width: 1200px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 8px 24px rgba(13, 42, 74, 0.08);
}

/* ===== Base typography ===== */
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-weight: 800;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.25rem, 4vw + 1rem, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem);
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  color: var(--color-text-muted);
}

/* ===== Shared layout helpers ===== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-primary {
  background-color: var(--color-amber);
  color: var(--color-navy);
}

.btn-primary:hover {
  background-color: var(--color-amber-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-surface);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-2);
}

.logo-img {
  height: 36px;
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--color-amber-dark);
}

.header-cta {
  margin-left: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-navy);
  border-radius: 2px;
}

/* ===== Responsive: header ===== */
@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-surface);
    box-shadow: var(--shadow-soft);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

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

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-2) var(--space-3);
  }

  .main-nav li {
    width: 100%;
  }

  .main-nav a {
    display: block;
    padding: var(--space-2) 0;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Eyebrow label ===== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-amber-dark);
  margin-bottom: var(--space-1);
}

.section-heading {
  max-width: 640px;
  margin-bottom: var(--space-5);
}

.section-heading p {
  margin-top: var(--space-1);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: #fff;
  padding-block: var(--space-6);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.hero-copy {
  flex: 1 1 420px;
}

.hero-copy h1 {
  color: #fff;
  margin-bottom: var(--space-3);
}

.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: var(--space-4);
}

.hero-actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.hero-visual {
  flex: 1 1 360px;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-blob {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(245, 179, 1, 0.25), transparent 70%);
  filter: blur(10px);
}

.hero-graphic {
  position: relative;
  width: 100%;
  max-width: 420px;
}

/* ===== About ===== */
.about {
  padding-block: var(--space-6);
}

.about-inner {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
  align-items: flex-start;
}

.about-copy {
  flex: 1 1 380px;
}

.about-copy p {
  margin-top: var(--space-2);
}

.about-stats {
  flex: 1 1 380px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-3);
}

.stat-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
}

.stat-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(245, 179, 1, 0.14);
  color: var(--color-navy);
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.stat-icon svg {
  width: 22px;
  height: 22px;
}

.stat-card h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.stat-card p {
  font-size: 0.9rem;
}

/* ===== Trust strip ===== */
.trust {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-4);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.icon-badge {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(245, 179, 1, 0.14);
  color: var(--color-navy);
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-1);
}

.icon-badge svg {
  width: 26px;
  height: 26px;
}

.trust-item h3 {
  font-size: 1.05rem;
}

.trust-item p {
  font-size: 0.9rem;
}

/* ===== Services ===== */
.services {
  padding-block: var(--space-6);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
}

.service-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card h3 {
  margin-bottom: 6px;
}

.service-card p {
  font-size: 0.92rem;
}

/* ===== Fleet ===== */
.fleet {
  background-color: var(--color-surface);
  padding-block: var(--space-6);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
}

.fleet-card {
  text-align: center;
  padding: var(--space-4) var(--space-2);
  border-radius: var(--radius-lg);
  background-color: var(--color-bg);
}

.fleet-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(13, 42, 74, 0.06);
  color: var(--color-navy);
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.fleet-icon svg {
  width: 30px;
  height: 30px;
}

.fleet-card h3 {
  margin-bottom: 4px;
}

.fleet-card p {
  font-size: 0.9rem;
}

/* ===== Testimonials ===== */
.testimonials {
  padding-block: var(--space-6);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
}

.testimonial-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--color-amber);
  margin-bottom: var(--space-2);
}

.stars svg {
  width: 18px;
  height: 18px;
}

.testimonial-card p {
  color: var(--color-text);
  font-style: italic;
  margin-bottom: var(--space-2);
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-navy);
}

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: #fff;
  padding-block: var(--space-6);
  text-align: center;
}

.cta-banner-inner {
  max-width: 640px;
  margin-inline: auto;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: var(--space-2);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-4);
}

.cta-banner .hero-actions {
  justify-content: center;
}

/* ===== Footer ===== */
.site-footer {
  background-color: var(--color-navy);
  color: rgba(255, 255, 255, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
  padding-block: var(--space-6);
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: var(--space-2);
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1rem;
  margin-bottom: var(--space-2);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--color-amber);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.social-icon:hover {
  background-color: var(--color-amber);
  color: var(--color-navy);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: var(--space-2);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* ===== Responsive: sections ===== */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .cta-banner .hero-actions .btn {
    width: 100%;
  }
}
