/* ============================================================
   about.css — Smartlake Motors About Page
   Design tokens mirror contact.css / booking.css exactly
   ============================================================ */

/* ── Design tokens ── */
:root {
  --sl-blue:           #005EAB;
  --sl-blue-dark:      #004a8a;
  --sl-blue-light:     #4a90c4;
  --sl-gold:           #C9A84C;
  --sl-gold-pale:      rgba(201,168,76,0.10);
  --sl-gold-dark:      #a8882e;
  --sl-black:          #0D0D0D;
  --sl-dark:           #1B2A3B;
  --sl-gray:           #555;
  --sl-gray-light:     #888;
  --white:             #ffffff;
  --gray-50:           #F7F9FC;
  --gray-100:          #f0f2f5;
  --gray-200:          #e2e6ea;
  --gray-300:          #cbd0d8;
  --font-body:         'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display:      'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --section-padding:   88px;
  --container-padding: clamp(20px, 5vw, 60px);
  --transition-base:   0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm:         0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:         0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:         0 8px 32px rgba(0,0,0,0.14);
}

/* ── Reset ── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--sl-black);
  background: var(--white);
  line-height: 1.6;
  min-width: 320px;
}

::selection { background: rgba(201,168,76,0.25); color: inherit; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ── Shared label + divider ── */
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sl-blue);
  margin-bottom: 10px;
}

.heading-divider {
  width: 48px; height: 3px;
  background: var(--sl-gold);
  border-radius: 2px;
  margin: 14px 0 0;
}

.heading-divider.centered { margin: 14px auto 0; }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.page-hero {
  position: relative;
  min-height: 480px;
  height: 52vh;
  max-height: 600px;
  margin-top: 6em;
  background-size: cover;
  background-image: url('../assets/Images/garage-overview.webp');
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,13,13,0.88) 0%,
    rgba(13,13,13,0.60) 55%,
    rgba(13,13,13,0.22) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 6vw, 72px);
  padding-bottom: clamp(40px, 7vw, 80px);
  max-width: 680px;
  animation: heroEntrance 0.75s ease 0.1s both;
}

@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74,144,196,0.18);
  border: 1px solid rgba(74,144,196,0.4);
  color: #9DC8E8;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-accent {
  color: var(--sl-gold);
  font-style: italic;
}

.page-hero p {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-cta-btn {
  display: inline-block;
  background: var(--sl-blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 13px 32px;
  border-radius: 8px;
  transition: var(--transition-base);
  border: 2px solid var(--sl-blue);
}

.hero-cta-btn:hover {
  background: var(--sl-blue-dark);
  border-color: var(--sl-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,94,171,0.35);
}

.hero-cta-btn.outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.hero-cta-btn.outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  box-shadow: none;
}

/* ════════════════════════════════════════
   STATS STRIP
════════════════════════════════════════ */
.stats-strip {
  background: var(--sl-dark);
  padding: 0;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--sl-gold);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ════════════════════════════════════════
   STORY SECTION — two-column
════════════════════════════════════════ */
.story-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.story-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--sl-black);
  line-height: 1.15;
  margin-bottom: 6px;
}

.story-text .lead {
  font-size: 1.0625rem;
  color: var(--sl-gray);
  line-height: 1.85;
  margin-top: 20px;
  margin-bottom: 18px;
}

.story-text p {
  font-size: 0.9375rem;
  color: var(--sl-gray);
  line-height: 1.85;
  margin-bottom: 16px;
}

.story-text p:last-of-type { margin-bottom: 0; }

/* Image mosaic */
.story-visual {
  position: relative;
  height: 460px;
}

.mosaic-main {
  position: absolute;
  top: 0; left: 0;
  width: 72%;
  height: 78%;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.mosaic-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 52%;
  height: 46%;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.mosaic-badge {
  position: absolute;
  bottom: 52%;
  right: 48%;
  transform: translate(50%, 50%);
  background: var(--sl-gold);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

/* Fallback: no image placeholder */
.img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder svg {
  color: var(--gray-300);
}

/* ════════════════════════════════════════
   VALUES SECTION
════════════════════════════════════════ */
.values-section {
  padding: var(--section-padding) 0;
  background: var(--gray-50);
}

.values-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.values-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--sl-black);
  line-height: 1.2;
  margin-bottom: 6px;
}

.values-header p {
  font-size: 0.9375rem;
  color: var(--sl-gray);
  line-height: 1.8;
  margin-top: 18px;
}

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

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px 28px;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--sl-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.value-card:hover::before { transform: scaleX(1); }

.value-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(0,94,171,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sl-blue);
  margin-bottom: 20px;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--sl-black);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--sl-gray);
  line-height: 1.8;
}

/* ════════════════════════════════════════
   TEAM SECTION
════════════════════════════════════════ */
.team-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.team-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 56px;
}

.team-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--sl-black);
  line-height: 1.2;
  margin-bottom: 6px;
}

.team-header p {
  font-size: 0.9375rem;
  color: var(--sl-gray);
  line-height: 1.8;
  margin-top: 18px;
}

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

.team-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-base);
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--gray-300);
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--gray-100);
}

.team-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
}

.team-info {
  padding: 22px 24px;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--sl-black);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--sl-blue);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--sl-gray);
  line-height: 1.75;
}

/* ════════════════════════════════════════
   MILESTONE / TIMELINE SECTION
════════════════════════════════════════ */
.milestones-section {
  padding: var(--section-padding) 0;
  background: var(--sl-dark);
  position: relative;
  overflow: hidden;
}

.milestones-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,94,171,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.milestones-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 56px;
}

.milestones-header .section-label { color: var(--sl-gold); }

.milestones-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 6px;
}

.milestones-header p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-top: 16px;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.10);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 0;
  margin-bottom: 40px;
  align-items: start;
}

.timeline-item:last-child { margin-bottom: 0; }

/* Left items: content right, dot center */
.timeline-item .tl-content {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 22px 24px;
  transition: var(--transition-base);
}

.timeline-item .tl-content:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(201,168,76,0.30);
}

.timeline-item .tl-dot-col {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

.tl-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--sl-gold);
  border: 3px solid var(--sl-dark);
  box-shadow: 0 0 0 2px var(--sl-gold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* Even items: content on right side only */
.timeline-item.right .tl-content { grid-column: 3; grid-row: 1; }
.timeline-item.right .tl-dot-col { grid-column: 2; grid-row: 1; }
.timeline-item.right .tl-spacer  { grid-column: 1; grid-row: 1; }

/* Odd items: content on left side */
.timeline-item.left .tl-content { grid-column: 1; grid-row: 1; text-align: right; }
.timeline-item.left .tl-dot-col { grid-column: 2; grid-row: 1; }
.timeline-item.left .tl-spacer  { grid-column: 3; grid-row: 1; }

.tl-year {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--sl-gold);
  margin-bottom: 6px;
}

.tl-content h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}

.tl-content p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}

/* ════════════════════════════════════════
   WHY CHOOSE US — CTA BAND
════════════════════════════════════════ */
.cta-section {
  padding: var(--section-padding) 0;
  background: var(--gray-50);
}

.cta-inner {
  background: var(--sl-blue);
  border-radius: 20px;
  padding: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-inner::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-text .section-label { color: rgba(255,255,255,0.65); }

.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}

.cta-text p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 480px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 13px 28px;
  border-radius: 8px;
  transition: var(--transition-base);
  white-space: nowrap;
}

.cta-btn.primary {
  background: var(--sl-gold);
  color: var(--sl-black);
  border: 2px solid var(--sl-gold);
}

.cta-btn.primary:hover {
  background: var(--sl-gold-dark);
  border-color: var(--sl-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.cta-btn.secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.cta-btn.secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

/* ════════════════════════════════════════
   BACK TO TOP
════════════════════════════════════════ */
.upbtn {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 18px var(--container-padding);
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.back-to-top {
  width: 44px; height: 44px;
  background: var(--sl-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), background var(--transition-base);
}

.back-to-top:hover  { transform: scale(1.1);  background: var(--sl-blue-dark); }
.back-to-top:active { transform: scale(0.92); }
.back-to-top img    { width: 22px; transform: rotate(90deg); }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .page-hero { margin-top: 5em; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.08); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .story-visual { height: 300px; }
  .mosaic-main { width: 65%; height: 80%; }
  .mosaic-accent { width: 48%; height: 48%; }

  /* Flatten timeline on mobile */
  .timeline::before { left: 20px; transform: none; }
  .timeline-item {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto;
  }
  .timeline-item.left .tl-content,
  .timeline-item.right .tl-content {
    grid-column: 2; grid-row: 1;
    text-align: left;
  }
  .timeline-item.left .tl-dot-col,
  .timeline-item.right .tl-dot-col {
    grid-column: 1; grid-row: 1;
    justify-content: center;
    padding-top: 22px;
  }
  .timeline-item .tl-spacer { display: none; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-text p { max-width: 100%; }
  .cta-actions { justify-content: center; }
}

@media (max-width: 768px) {
  :root { --section-padding: 56px; }
  .page-hero { height: auto; min-height: 320px; }
  .hero-content { padding: 24px 20px 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .page-hero h1 { font-size: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 24px 16px; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-btn { text-align: center; }
}

@media (max-width: 360px) {
  :root { --container-padding: 16px; }
}