/* =============================================================================
   GM CAR AC SERVICE — Typography & Alignment System v1.0
   ─ ALL text: Inter (sans-serif) — no exceptions
   ─ Perfect grid alignment for every component
   ─ Consistent spacing scale (4px base unit)
   ============================================================================= */

/* ── 0. LOAD INTER FROM GOOGLE FONTS ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;0,14..32,900;1,14..32,400&display=swap');

/* ── 1. UNIVERSAL FONT RESET — Every element, no exceptions ──────────────── */
*,
*::before,
*::after {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

/* ── 2. HTML / BODY BASE ─────────────────────────────────────────────────── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: #c8d6e5;
  letter-spacing: -0.01em;
}

/* ── 3. HEADING SCALE (all sans, tight tracking) ─────────────────────────── */
h1 { font-size: clamp(2rem,    5vw,  3.2rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem,  4vw,  2.4rem); font-weight: 700; line-height: 1.2;  letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 3vw,  1.75rem);font-weight: 700; line-height: 1.3;  letter-spacing: -0.02em;  }
h4 { font-size: clamp(1.1rem,  2.5vw,1.35rem);font-weight: 600; line-height: 1.4;  letter-spacing: -0.015em; }
h5 { font-size: 1.1rem;  font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; }
h6 { font-size: 0.95rem; font-weight: 600; line-height: 1.5;  letter-spacing: 0; }

h1, h2, h3, h4, h5, h6 {
  color: #f0f6ff;
  margin-bottom: 0.5em;
}

/* ── 4. BODY TEXT ────────────────────────────────────────────────────────── */
p  { font-size: 0.97rem;  font-weight: 400; line-height: 1.75; color: #94a3b8; margin-bottom: 0; }
li { font-size: 0.95rem;  font-weight: 400; line-height: 1.7; }
a  { font-size: inherit;  font-weight: inherit; }

small, .small { font-size: 0.825rem; }
strong, b { font-weight: 700; }
em, i:not([class]) { font-style: italic; }

/* Labels */
label { font-size: 0.88rem; font-weight: 600; color: #94a3b8; }

/* ── 5. NAVBAR ALIGNMENT ──────────────────────────────────────────────────── */
.navbar {
  padding: 0 24px !important;
  min-height: 68px;
  display: flex;
  align-items: center;
}

.navbar-brand {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.navbar-brand img {
  max-height: 56px !important;
  width: auto;
  object-fit: contain;
}

.navbar-nav {
  align-items: center;
  gap: 2px;
}

.nav-link {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.005em;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: background 0.18s ease, color 0.18s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link span { font-size: 0.875rem !important; font-weight: 500 !important; }

.nav-link:hover {
  background: rgba(255,255,255,0.06);
}

/* ── 6. SECTION TITLE ALIGNMENT ──────────────────────────────────────────── */
.section-title {
  text-align: center;
  padding: 0 16px 32px !important;
  margin: 0 !important;
}

.section-title h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem) !important;
  font-weight: 700 !important;
  color: #f0f6ff !important;
  text-align: center !important;
  margin-bottom: 10px !important;
  letter-spacing: -0.025em;
}

.section-title p {
  font-size: 1rem !important;
  font-weight: 400 !important;
  color: #94a3b8 !important;
  text-align: center !important;
  max-width: 580px;
  margin: 0 auto !important;
  line-height: 1.72;
}

.section-header-2026 {
  text-align: center;
  margin-bottom: 40px;
}

.section-header-2026 h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem) !important;
  font-weight: 700 !important;
  color: #f0f6ff !important;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.section-header-2026 p {
  font-size: 1rem !important;
  color: #94a3b8 !important;
  max-width: 540px;
  margin: 0 auto;
}

/* ── 7. STATS SECTION ALIGNMENT ──────────────────────────────────────────── */
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 20px;
}

.stat-number,
.big-rating,
[data-target] {
  font-size: clamp(2rem, 5vw, 2.8rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
  color: #f0f6ff;
}

.stat-label,
.stat-item p,
.stat-item span:not(.stat-number):not([data-target]) {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
}

/* ── 8. SERVICE CARD ALIGNMENT ───────────────────────────────────────────── */
.visual-service-card {
  display: flex !important;
  flex-direction: column !important;
  padding: 28px 24px !important;
  height: 100%;
  text-align: left;
}

.visual-service-card h5,
.visual-service-card h4 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #f0f6ff !important;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.visual-service-card p {
  font-size: 0.9rem !important;
  line-height: 1.68;
  color: #94a3b8 !important;
  flex: 1;
}

/* Action chip at bottom */
.visual-service-card .action-chip,
.visual-service-card a.action-chip {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #60a5fa;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ── 9. BENTO / FEATURE CARD ALIGNMENT ──────────────────────────────────── */
.bento-card {
  display: flex !important;
  flex-direction: column !important;
  padding: 28px 24px !important;
  height: 100%;
}

.bento-card h3,
.bento-card h4 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #f0f6ff !important;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.bento-card p {
  font-size: 0.92rem !important;
  color: #94a3b8 !important;
  line-height: 1.7;
  flex: 1;
}

.bento-card ul {
  padding-left: 0;
  list-style: none;
}

.bento-card ul li {
  font-size: 0.9rem !important;
  color: #94a3b8 !important;
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* ── 10. CONTACT INFO CARD ALIGNMENT ─────────────────────────────────────── */
.contact-info-card {
  padding: 28px 24px !important;
  text-align: left;
}

.contact-info-card h5,
.contact-info-card .fw-bold {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #f0f6ff !important;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.contact-info-card p,
.contact-info-card .small {
  font-size: 0.9rem !important;
  color: #94a3b8 !important;
  line-height: 1.65;
}

.contact-info-card a {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
}

/* ── 11. REVIEW / TESTIMONIAL CARD ALIGNMENT ─────────────────────────────── */
.review-card {
  display: flex !important;
  flex-direction: column !important;
  padding: 24px !important;
  height: 100%;
}

.review-card .review-text,
.review-card p {
  font-size: 0.9rem !important;
  line-height: 1.72;
  color: #94a3b8 !important;
  flex: 1;
}

.review-name,
.review-name-sm,
.reviewer-name {
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #f0f6ff !important;
  letter-spacing: -0.01em;
}

.reviewer-sub,
.review-source,
.review-card .text-muted {
  font-size: 0.75rem !important;
  color: #64748b !important;
}

/* Star ratings */
.review-card .stars,
.review-stars {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* ── 12. GLASS CARD 2026 ALIGNMENT ─────────────────────────────────────── */
.glass-card-2026 {
  padding: 32px 28px !important;
}

.glass-card-2026 h3,
.glass-card-2026 h4 {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #f0f6ff !important;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.glass-card-2026 p {
  font-size: 0.95rem !important;
  color: #94a3b8 !important;
  line-height: 1.72;
}

/* ── 13. VEHICLE CARD ALIGNMENT ──────────────────────────────────────────── */
.vehicle-card {
  text-align: center;
  padding: 20px 16px !important;
}

.vehicle-name {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #e2e8f0 !important;
  margin-top: 10px;
  letter-spacing: -0.005em;
}

.vehicle-tag {
  font-size: 0.75rem !important;
  font-weight: 400 !important;
  color: #64748b !important;
  margin-top: 2px;
}

/* ── 14. FAQ / ACCORDION ALIGNMENT ─────────────────────────────────────── */
.accordion-button {
  font-size: 0.97rem !important;
  font-weight: 600 !important;
  color: #e2e8f0 !important;
  padding: 18px 20px !important;
  letter-spacing: -0.01em;
}

.accordion-body {
  font-size: 0.93rem !important;
  color: #94a3b8 !important;
  line-height: 1.72;
  padding: 16px 20px 20px !important;
}

.accordion-body p,
.accordion-body li {
  font-size: 0.93rem !important;
  color: #94a3b8 !important;
}

/* ── 15. FORM FIELD TYPOGRAPHY ──────────────────────────────────────────── */
.gm-fld-input,
.form-control,
.form-select,
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
textarea,
select {
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  letter-spacing: 0;
  line-height: 1.5;
}

.gm-fld-lbl,
.gm-toggle-label-text,
.form-label {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
}

.gm-submit-btn,
.btn-submit,
button[type="submit"] {
  font-size: 0.97rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
}

/* ── 16. BUTTON SYSTEM ──────────────────────────────────────────────────── */
.btn,
button,
a.btn,
[role="button"] {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.btn-lg { font-size: 1rem !important; font-weight: 700 !important; }
.btn-sm { font-size: 0.82rem !important; font-weight: 600 !important; }

.slider-cta-btn,
.cta-btn { font-size: 0.97rem !important; font-weight: 700 !important; letter-spacing: 0.015em; }

.gm-sb-call,
.gm-sb-wa { font-size: 0.82rem !important; font-weight: 700 !important; }

/* ── 17. ANNOUNCEMENT BAR ────────────────────────────────────────────────── */
.gm-announce-bar,
.gm-announce-bar * {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
}

/* ── 18. TRUST STRIP ─────────────────────────────────────────────────────── */
.gm-trust-item {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
}

/* ── 19. CTA SECTION ─────────────────────────────────────────────────────── */
.cta-section h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  text-align: center;
}

.cta-section p {
  font-size: 1.02rem !important;
  font-weight: 400 !important;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

/* ── 20. PAGE NAV (BREADCRUMB HERO) ALIGNMENT ────────────────────────────── */
.page-nav {
  padding: 56px 24px !important;
  text-align: center;
}

.page-nav h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem) !important;
  font-weight: 700 !important;
  color: #f0f6ff !important;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.page-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.page-nav ul li {
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: #94a3b8;
  float: none !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
}

.page-nav ul li a {
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: #60a5fa;
}

/* ── 21. FOOTER ALIGNMENT ────────────────────────────────────────────────── */
.footer-2026 h5,
.footer-2026 .footer-heading {
  font-size: 0.97rem !important;
  font-weight: 700 !important;
  color: #f0f6ff !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-2026 p,
.footer-brand p {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  color: #64748b !important;
  line-height: 1.7;
}

.footer-links li a {
  font-size: 0.88rem !important;
  font-weight: 400 !important;
  color: #64748b !important;
  transition: color 0.2s;
}

.footer-links li a:hover { color: #e2e8f0 !important; }

.footer-bottom,
.footer-2026 .footer-bottom * {
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  color: #475569 !important;
}

/* ── 22. CHATBOT TYPOGRAPHY ──────────────────────────────────────────────── */
#gm-chatbot-window,
#gm-chatbot-window * {
  font-size: 0.9rem !important;
  line-height: 1.6;
}

.gm-chat-title { font-size: 0.97rem !important; font-weight: 700 !important; }
.gm-chat-message { font-size: 0.88rem !important; }
.gm-chip { font-size: 0.8rem !important; font-weight: 600 !important; }

/* ── 23. BADGE / PILL TAGS ───────────────────────────────────────────────── */
.badge {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
}

.overline,
.pill-tag,
.gm-cta-urgency {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── 24. TABLE ALIGNMENT ─────────────────────────────────────────────────── */
table, th, td {
  font-size: 0.9rem !important;
  font-weight: 400;
}

th { font-weight: 700 !important; }

/* ── 25. CAROUSEL CAPTION ────────────────────────────────────────────────── */
.carousel-caption h1,
.carousel-caption h2,
.carousel-caption .fs-11 {
  font-size: clamp(1.6rem, 5vw, 3rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.carousel-caption p {
  font-size: clamp(0.88rem, 2vw, 1.05rem) !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.82) !important;
}

/* ── 26. TIMELINE / ABOUT PAGE ───────────────────────────────────────────── */
.timeline-title,
.timeline-content h4 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #f0f6ff !important;
}

.timeline-text,
.timeline-content p {
  font-size: 0.9rem !important;
  color: #94a3b8 !important;
  line-height: 1.7;
}

/* ── 27. GALLERY CARD ────────────────────────────────────────────────────── */
.gallery-card-new figcaption,
.gallery-card-new .caption {
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
}

/* ── 28. QUICK ACTION BAR (MOBILE) ──────────────────────────────────────── */
.quick-action-bar a {
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

/* ── 29. STICKY BAR ──────────────────────────────────────────────────────── */
.gm-sticky-bar-text { font-size: 0.83rem !important; font-weight: 500 !important; }
.gm-sticky-bar-text strong { font-weight: 700 !important; }

/* ── 30. SCHEMA / SEO TEXT AREAS ─────────────────────────────────────────── */
.quick-answer p,
.quick-answer li {
  font-size: 0.95rem !important;
  line-height: 1.78;
}

.service-hero-desc,
.service-page-content p,
.service-intro p {
  font-size: 1.02rem !important;
  line-height: 1.75;
}

.faq-answer,
.faq-answer p {
  font-size: 0.93rem !important;
  line-height: 1.75;
}

/* ── 31. GRID & SPACING ALIGNMENT ─────────────────────────────────────────── */

/* Uniform vertical spacing between sections */
section { padding: 72px 0; }

@media (max-width: 991px) { section { padding: 56px 0; } }
@media (max-width: 767px) { section { padding: 44px 0; } }
@media (max-width: 575px) { section { padding: 36px 0; } }

/* Uniform row gutters */
.row.g-4 { --bs-gutter-x: 24px; --bs-gutter-y: 24px; }
.row.g-3 { --bs-gutter-x: 16px; --bs-gutter-y: 16px; }
.row.g-2 { --bs-gutter-x: 12px; --bs-gutter-y: 12px; }

/* Card row — equal height */
.row.card-row { align-items: stretch; }
.row.card-row > [class*='col'] { display: flex; }
.row.card-row > [class*='col'] > * { flex: 1; }

/* ── 32. ICON ALIGNMENT (Bootstrap Icons) ────────────────────────────────── */
/* bi icons inline with text must not be bold by default */
.bi {
  font-style: normal !important;
  vertical-align: -0.1em;
  line-height: 1;
}

/* ── 33. OVERLINE ABOVE SECTION TITLES ───────────────────────────────────── */
.overline {
  display: inline-block;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ── 34. LEAD TEXT (hero sub-headings) ───────────────────────────────────── */
.lead {
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  line-height: 1.72;
  color: #93c5fd;
}

/* ── 35. HERO CAPTURE FORM (inline) ──────────────────────────────────────── */
.gm-hcf-label { font-size: 0.93rem !important; font-weight: 700 !important; }
.gm-hcf-input { font-size: 0.9rem  !important; font-weight: 400 !important; }
.gm-hcf-btn   { font-size: 0.88rem !important; font-weight: 700 !important; }

/* ── 36. GOOGLE REVIEWS INLINE SECTION ───────────────────────────────────── */
/* (index.html inline style cards) */
[style*="color:#fbbc04"] { color: #fbbc04 !important; }
[style*="color:#cbd5e1"] { font-size: 0.88rem !important; line-height: 1.7 !important; }
[style*="color:#f1f5f9"] { font-size: 0.88rem !important; font-weight: 600 !important; }
[style*="color:#64748b"] { font-size: 0.75rem !important; }

/* ── 37. MOBILE TYPOGRAPHY SCALE ─────────────────────────────────────────── */
@media (max-width: 575px) {
  body { font-size: 0.95rem; }
  h5   { font-size: 1rem !important; }
  h6   { font-size: 0.9rem !important; }
  p    { font-size: 0.93rem !important; }
  .lead { font-size: 1rem !important; }
  .contact-info-card { padding: 20px 16px !important; }
  .visual-service-card { padding: 20px 16px !important; }
  .bento-card { padding: 20px 16px !important; }
  .glass-card-2026 { padding: 24px 18px !important; }
  .section-title { padding: 0 12px 24px !important; }
  .gm-submit-btn { font-size: 0.93rem !important; }
}

/* ── 38. ABOUT PAGE STATS ────────────────────────────────────────────────── */
.about-stat,
.about-stat-number {
  font-size: clamp(1.8rem, 4vw, 2.4rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em;
}

.about-stat-label {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8 !important;
}

/* ── 39. TRAINING PAGE ───────────────────────────────────────────────────── */
.training-hero h1,
.hero-2026 h1,
.hero-about h1 {
  font-size: clamp(1.8rem, 5vw, 3rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em;
}

/* ── 40. FINAL OVERRIDE — prevent any older rule restoring non-sans fonts ─── */
/* Space Mono used only for counters/stats — everything else pure Inter */
.stat-number,
.big-rating,
[data-target] {
  /* Keep monospace ONLY for numeric counters */
  font-family: 'Inter', monospace !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Remove all remaining Lexend, Syne, Source Sans 3, Space Mono, Open Sans overrides */
/* by redeclaring Inter with !important on every element that could have been targeted */
.navbar-brand, .nav-link, .gm-trust-item, .gm-hcf-label, .gm-hcf-btn,
.gm-sb-call, .gm-sb-wa, .gm-sticky-bar-text, .gm-announce-bar,
.section-title h2, .section-header-2026 h2, .cta-section h2,
.hero-2026 h1, .hero-about h1, .contact-card h2, .footer-2026 h5,
.accordion-button, .review-name, .reviewer-name, .vehicle-name,
.overline, .pill-tag, .gm-cta-urgency, .form-label, .gm-fld-lbl,
.gm-toggle-label-text, .card-learn-more, .gm-link-btn, .gm-chat-title,
.gm-missed-call-number, .gm-missed-call-tag, .contact-card-title,
.working-hours-title, .why-title, .timeline-title, .about-stat,
.about-stat-label, .review-source-note, .page-nav h2, .page-nav ul li,
.page-nav ul li a, .footer-2026 .footer-links li a, .footer-2026 .footer-bottom,
.gm-reviews-badge-text, .gm-sp-badge, .gm-area-service-list li strong,
.gm-area-hero h1, .gm-area-hero p, .gm-area-breadcrumb {
  font-family: 'Inter', sans-serif !important;
}
