/* Mrrjestic Tyres — On-Site Service landing page
   Mobile-first, no external fonts/frameworks: kept lean for speed. */

:root {
  --black: #0b0b0b;
  --black-soft: #141414;
  --panel: #191919;
  --yellow: #ffcc00;
  --yellow-dim: #e0b400;
  --white: #f5f5f5;
  --grey: #b3b3b3;
  --radius: 10px;
  --max: 720px;
  --topbar-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--grey); }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--yellow);
  color: var(--black);
  padding: 0.75em 1em;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--topbar-h);
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #262626;
}
.topbar-inner {
  max-width: 1000px;
  margin: 0 auto;
  height: 100%;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
}
.logo-wordmark {
  display: block;
  height: 26px;
  width: auto;
  max-width: 42vw;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .logo-wordmark { height: 32px; max-width: none; }
}

.call-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: var(--black);
  text-decoration: none;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  flex-shrink: 0;
}
.call-btn .icon { width: 16px; height: 16px; fill: var(--black); flex-shrink: 0; }
.call-btn-text { display: flex; flex-direction: column; line-height: 1.1; }
.call-btn-text small { font-size: 9px; letter-spacing: 0.08em; font-weight: 700; }
.call-btn-text strong { font-size: 13px; }

@media (max-width: 380px) {
  .call-btn-text small { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 44px 16px 36px;
  background:
    radial-gradient(120% 100% at 50% 0%, #1c1c1c 0%, var(--black) 60%);
  border-bottom: 1px solid #232323;
  text-align: center;
}
.hero-inner { max-width: var(--max); margin: 0 auto; }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 204, 0, 0.35);
  border-radius: 999px;
  background: rgba(255, 204, 0, 0.06);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ee06a;
  box-shadow: 0 0 0 0 rgba(62, 224, 106, 0.6);
  animation: live-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(62, 224, 106, 0.55); }
  50% { box-shadow: 0 0 0 5px rgba(62, 224, 106, 0); }
}

.hero h1 {
  font-size: clamp(28px, 7vw, 44px);
  color: var(--white);
}

.hero-sub {
  color: var(--grey);
  font-size: clamp(15px, 3.6vw, 18px);
  max-width: 46ch;
  margin: 0 auto 22px;
}

.trust-strip {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
  font-size: 13px;
  color: var(--grey);
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.trust-strip li svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--yellow);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--black);
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: var(--radius);
  min-height: 48px;
  box-shadow: 0 6px 0 var(--yellow-dim);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn-primary .icon { width: 18px; height: 18px; fill: var(--black); flex-shrink: 0; }
.btn-primary:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--yellow-dim);
}
.btn-big {
  width: 100%;
  max-width: 420px;
  font-size: 17px;
  padding: 16px 20px;
}
.btn-pulse { animation: pulse-glow 2.6s ease-in-out infinite; }

.hero-tap-hint {
  font-size: 12px;
  color: #7d7d7d;
  margin: 10px 0 0;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 6px 0 var(--yellow-dim), 0 0 0 0 rgba(255, 204, 0, 0.35); }
  50% { box-shadow: 0 6px 0 var(--yellow-dim), 0 0 0 10px rgba(255, 204, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-pulse, .live-dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Sections ---------- */
.section { padding: 40px 16px; border-bottom: 1px solid #1e1e1e; }
.section-inner { max-width: var(--max); margin: 0 auto; text-align: center; }
.section-alt { background: var(--black-soft); }

.section h2 {
  font-size: clamp(22px, 5.5vw, 30px);
  color: var(--white);
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(255, 204, 0, 0.08);
  border: 1.5px solid rgba(255, 204, 0, 0.35);
  color: var(--yellow);
}
.section-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tag {
  display: inline-block;
  color: var(--black);
  background: var(--yellow);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.section p { max-width: 62ch; margin-left: auto; margin-right: auto; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: inline-block;
  text-align: left;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--white);
  font-weight: 600;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--black);
  background: var(--yellow);
  width: 18px;
  height: 18px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Service grid ---------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  text-align: left;
  margin-top: 20px;
}
@media (min-width: 560px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}
.service-card {
  background: var(--panel);
  border: 1px solid #262626;
  border-left: 3px solid var(--yellow);
  border-radius: var(--radius);
  padding: 18px 18px 6px;
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: rgba(255, 204, 0, 0.1);
  color: var(--yellow);
}
.service-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  font-size: 16px;
  color: var(--yellow);
  margin-bottom: 8px;
}
.service-card p { font-size: 14px; margin-bottom: 14px; }

/* ---------- Footer ---------- */
.footer {
  padding: 32px 16px calc(96px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 13px;
  color: var(--grey);
}
.footer-brand {
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 8px;
}
.footer a { color: var(--yellow); text-decoration: none; font-weight: 700; }
.footer-copy { color: #666; margin-top: 12px; }

@media (min-width: 900px) {
  .footer { padding-bottom: 40px; }
}

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed;
  right: 16px;
  bottom: calc(88px + env(safe-area-inset-bottom));
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  z-index: 90;
}
.whatsapp-fab svg { width: 28px; height: 28px; }

@media (min-width: 900px) {
  .whatsapp-fab { right: 24px; bottom: 24px; width: 56px; height: 56px; }
  .whatsapp-fab svg { width: 30px; height: 30px; }
}

/* ---------- Mobile sticky call bar ---------- */
.mobile-callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(11, 11, 11, 0) 0%, var(--black) 35%);
}
.mobile-callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--black);
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 15px;
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
  animation: pulse-glow 2.6s ease-in-out infinite;
}
.mobile-callbar .icon { width: 18px; height: 18px; fill: var(--black); flex-shrink: 0; }

@media (min-width: 900px) {
  .mobile-callbar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-callbar a { animation: none; }
}
