/* ===== MSM Car Body Shop — stylesheet ===== */

:root {
  --blue-dark: #063a5c;
  --blue: #0f7fbf;
  --blue-mid: #1ea3e0;
  --blue-light: #8fd8f7;
  --black: #101113;
  --white: #ffffff;
  --off-white: #f4f8fb;
  --grey: #5b6670;
  --grey-light: #e4ebf0;
  --accent: #ff6a1a;
  --accent-dark: #e0540a;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(6, 20, 35, 0.12);
  --container: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.55;
}

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

p { margin: 0 0 1em; }

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(15, 127, 191, 0.09);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  color: var(--blue-dark);
}

.section-head p { color: var(--grey); font-size: 1.05rem; margin: 0; }

section { padding: 72px 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(255, 106, 26, 0.35);
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }

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

.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(15, 127, 191, 0.3);
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn-block { width: 100%; justify-content: center; }

/* ===== Top info bar ===== */
.topbar {
  background: var(--black);
  color: #cfd7dd;
  font-size: .85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--blue-light); }
.topbar svg { width: 14px; height: 14px; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }

/* ===== Header ===== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: auto; }
.brand-text { line-height: 1.1; }
.brand-text strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--black);
  letter-spacing: .01em;
}
.brand-text span {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .08em;
  text-transform: uppercase;
}

nav.main-nav { display: flex; align-items: center; gap: 34px; }
nav.main-nav a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--black);
  position: relative;
  padding: 4px 0;
}
nav.main-nav a:hover { color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--blue-dark);
}
.header-phone svg { width: 20px; height: 20px; color: var(--accent); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle svg { width: 28px; height: 28px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background-image:
    linear-gradient(100deg, rgba(4,14,24,0.92) 5%, rgba(6,26,45,0.82) 42%, rgba(6,40,63,0.55) 68%, rgba(6,40,63,0.35) 100%),
    url('hero.jpg');
  background-size: cover;
  background-position: center 30%;
}
.hero .container { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 40px; }
.hero-content { max-width: 660px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: var(--blue-light);
}
.hero-eyebrow svg { width: 15px; height: 15px; color: var(--accent); }

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue-light), var(--accent) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.15rem;
  color: #e6eef3;
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 38px; }

.hero-points {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.hero-points div { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.hero-points svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* ===== Trust strip ===== */
.trust-strip {
  background: var(--blue-dark);
  color: var(--white);
  padding: 34px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-grid .num {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--white);
}
.trust-grid .label {
  font-size: .82rem;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 28px; height: 28px; color: var(--white); }
.service-card h3 { font-size: 1.12rem; color: var(--black); }
.service-card p { color: var(--grey); font-size: .95rem; margin: 0; }

/* ===== About ===== */
.about {
  background: var(--off-white);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.about-media {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 50px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(15,127,191,0.10), transparent 60%);
}
.about-media img { width: 100%; max-width: 300px; position: relative; z-index: 1; }

.about-text .section-tag { margin-bottom: 16px; }
.about-text h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: var(--blue-dark);
}
.about-text p { color: var(--grey); font-size: 1.03rem; }
.about-list { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 14px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--black); font-size: .98rem; }
.about-list svg { width: 22px; height: 22px; color: var(--white); background: var(--accent); border-radius: 50%; padding: 4px; flex-shrink: 0; }

/* ===== Reviews ===== */
.reviews { background: var(--white); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.review-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid var(--grey-light);
}
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 18px; height: 18px; color: var(--accent); }
.review-card p { color: var(--black); font-size: .98rem; font-style: italic; }
.review-name { font-weight: 700; font-size: .9rem; color: var(--blue-dark); }
.review-source { font-size: .8rem; color: var(--grey); }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(120deg, var(--blue-dark), var(--blue));
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.cta-banner p { color: var(--blue-light); font-size: 1.08rem; max-width: 560px; margin: 0 auto 30px; }
.cta-banner .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--grey-light);
}
.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.contact-row:last-child { margin-bottom: 0; }
.contact-row .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-row .icon svg { width: 22px; height: 22px; color: var(--white); }
.contact-row h4 { margin: 0 0 4px; font-size: 1rem; color: var(--black); }
.contact-row p, .contact-row a { color: var(--grey); font-size: .96rem; margin: 0; }
.contact-row a:hover { color: var(--blue); }
.contact-buttons { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ===== Footer ===== */
footer.site-footer {
  background: var(--black);
  color: #b9c3ca;
  padding: 50px 0 20px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 44px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand strong { color: var(--white); font-family: 'Poppins', sans-serif; font-size: 1.05rem; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-links h5 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-links a { display: block; color: #b9c3ca; font-size: .92rem; margin-bottom: 10px; }
.footer-links a:hover { color: var(--blue-light); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--blue); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: 10px;
  color: #7f8990;
}

/* ===== Sticky mobile call bar ===== */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 300;
  background: var(--black);
  padding: 12px 16px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.25);
}
.mobile-call-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  padding: 14px;
  border-radius: 999px;
}
.mobile-call-bar svg { width: 20px; height: 20px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 340px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}

@media (max-width: 760px) {
  section { padding: 56px 0; }
  .topbar-left { display: none; }
  .topbar .container { justify-content: center; }
  nav.main-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 78%; max-width: 320px;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 30px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  }
  nav.main-nav.open { transform: translateX(0); }
  .menu-toggle { display: block; }
  .header-phone span { display: none; }
  .hero { min-height: 100vh; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: 74px; }
  .footer-grid { flex-direction: column; }
}

.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 199;
}
.nav-scrim.open { display: block; }
