/* ========================================
   AJAY MOBILE CARE: Design tokens
   Navy = trust/screens · Brick = Ibadan brown roofs
   Gold = call-to-action · Cream = paper/receipt
   ======================================== */

:root {
  --navy: #16223F;
  --navy-soft: #223357;
  --brick: #B5451B;
  --brick-soft: #D2632F;
  --gold: #D9A441;
  --cream: #F1EADC;
  --cream-deep: #E7DCC7;
  --ink: #1E1A14;
  --ink-soft: #4A443B;
  --whatsapp: #25A559;

  --font-display: 'Fraunces', serif;
  --font-body: 'Public Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 34, 63, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.1;
  font-weight: 600;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brick);
  font-weight: 600;
  margin-bottom: 10px;
}
.eyebrow.center, .section-title.center { text-align: center; }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 44px;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 165, 89, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(37, 165, 89, 0.45); }

.btn-secondary {
  background: var(--navy);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}

/* ============ STICKY ACTION BAR (mobile) ============ */
.action-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: none;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.2);
}
.bar-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 0 12px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}
.bar-whatsapp { background: var(--whatsapp); }
.bar-direction { background: var(--brick); }

@media (max-width: 820px) {
  .action-bar { display: flex; }
  body { padding-bottom: 64px; }
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(241, 234, 220, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-deep);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  height: 46px;
  width: 46px;
  object-fit: contain;
  background: var(--navy);
  border-radius: 50%;
  padding: 4px;
  border: 1.5px solid var(--gold);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
}
.top-nav { display: flex; gap: 28px; }
.top-nav a { font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); }
.top-nav a:hover { color: var(--brick); }
.nav-cta {
  background: var(--whatsapp);
  color: #fff;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  .top-nav { display: none; }
}
@media (max-width: 600px) {
  .nav-cta { display: none; }
}

/* ============ HERO ============ */
.hero { padding: 72px 0 60px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--brick); display: block; }
.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions.center { justify-content: center; }
.hero-hours {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--navy-soft);
}

.hero-visual { display: flex; justify-content: center; }
.phone-photo-frame {
  position: relative;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
}
.phone-photo {
  width: 100%;
  filter: drop-shadow(0 22px 34px rgba(22, 34, 63, 0.35));
  transform: rotate(-3deg);
}
.wrench-badge-photo {
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 64px;
  height: 64px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--cream);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 12px; }
  .phone-art { max-width: 220px; }
}

/* ============ TRUST STRIP ============ */
.trust-strip { background: var(--navy); padding: 30px 0; }
.trust-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}
.trust-item { text-align: center; color: #fff; }
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 4px;
}
.trust-item span { font-size: 0.86rem; color: #C9CFDE; }
.trust-rating strong { color: var(--gold); }
.trust-rating span { color: #fff; font-weight: 600; }

/* ============ REVIEWS ============ */
.reviews { padding: 90px 0; background: var(--cream-deep); }
.reviews-summary {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 34px;
}
.reviews-stars { color: var(--gold); font-size: 1.4rem; letter-spacing: 2px; }
.reviews-score { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); font-weight: 600; }
.reviews-count { color: var(--ink-soft); font-size: 0.95rem; }
#google-reviews-widget:empty { display: none; }
.reviews-cta { text-align: center; margin-top: 10px; }

/* ============ LOYALTY ============ */
.loyalty { padding: 90px 0; background: var(--navy); color: #fff; }
.loyalty-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.loyalty .eyebrow { color: var(--gold); }
.loyalty h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 16px; }
.loyalty-copy p { color: #D7DCEA; max-width: 48ch; margin-bottom: 12px; }
.loyalty-note { font-size: 0.88rem; color: #9AA4C2 !important; margin-bottom: 22px !important; }
.loyalty-copy .btn { margin-top: 4px; background: var(--gold); color: var(--navy); }

.loyalty-card {
  display: flex;
  gap: 14px;
  justify-content: center;
}
.punch {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px dashed #4A588A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #6C7BA6;
  position: relative;
  flex-shrink: 0;
}
.punch-done {
  border-style: solid;
  border-color: var(--gold);
  color: var(--gold);
}
.punch-reward {
  border-style: solid;
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
  flex-direction: column;
  gap: 2px;
}
.punch-reward span {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.loyalty-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.loyalty-qr {
  background: #fff;
  padding: 14px 14px 12px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-align: center;
}
.loyalty-qr img { width: 140px; height: 140px; display: block; margin: 0 auto; }
.loyalty-qr span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--navy);
  font-weight: 600;
}

@media (max-width: 820px) {
  .loyalty-visual { margin-top: 10px; }
  .loyalty-inner { grid-template-columns: 1fr; text-align: center; }
  .loyalty-copy p { margin-left: auto; margin-right: auto; }
  .loyalty-card { margin-top: 10px; }
}
@media (max-width: 420px) {
  .punch { width: 52px; height: 52px; font-size: 0.85rem; }
}


@media (max-width: 720px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ============ SERVICES: repair ticket cards ============ */
.services { padding: 80px 0; }
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.ticket {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow);
  position: relative;
  border: 1px solid var(--cream-deep);
}
.ticket::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 52px;
  border-top: 2px dashed var(--cream-deep);
}
.ticket::before {
  content: "";
  position: absolute;
  left: -10px; top: 44px;
  width: 20px; height: 20px;
  background: var(--cream);
  border-radius: 50%;
}
.ticket-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brick);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
  padding-bottom: 12px;
}
.ticket h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.ticket p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

@media (max-width: 900px) {
  .ticket-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ticket-grid { grid-template-columns: 1fr; }
}

/* ============ PROCESS ============ */
.process { padding: 20px 0 90px; }
.process-list {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.process-list li {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-mono);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-list h3 { font-size: 1.1rem; margin-bottom: 4px; }
.process-list p { color: var(--ink-soft); }

/* ============ TECHNICIAN ============ */
.technician { background: var(--navy); padding: 90px 0; color: #fff; }
.technician-inner {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
  align-items: center;
}
.technician-photo img {
  border-radius: var(--radius);
  box-shadow: 0 20px 44px rgba(0,0,0,0.35);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}
.technician .eyebrow { color: var(--gold); }
.technician h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 18px; }
.technician-copy p { color: #D7DCEA; margin-bottom: 14px; max-width: 52ch; }
.proof-stat {
  margin-top: 24px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-left: 3px solid var(--gold);
  padding-left: 18px;
}
.proof-stat strong {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--gold);
  line-height: 1;
}
.proof-stat span { font-size: 0.92rem; color: #C9CFDE; max-width: 34ch; }

@media (max-width: 480px) {
  .proof-stat { flex-direction: column; gap: 4px; }
}

/* ============ WORKSHOP REALITY ============ */
.workshop { padding: 90px 0; }
.workshop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.workshop-grid figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-deep);
  background: #fff;
}
.workshop-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.workshop-grid figcaption {
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
}

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

/* ============ LANDMARK NOTE ============ */
.landmark-note {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--cream-deep);
  box-shadow: var(--shadow);
}
.landmark-note img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.landmark-note p { font-size: 0.86rem; color: var(--ink-soft); margin: 0; }

@media (max-width: 820px) {
  .technician-inner { grid-template-columns: 1fr; }
  .technician-photo { max-width: 260px; margin: 0 auto; }
}

/* ============ LOCATION ============ */
.location { padding: 90px 0; }
.location-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.location address {
  font-style: normal;
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 16px 0 20px;
  line-height: 1.7;
}
.location-details { list-style: none; margin-bottom: 26px; }
.location-details li { margin-bottom: 8px; font-size: 0.98rem; }
.location-details a { color: var(--brick); font-weight: 700; }
.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-deep);
}
.location-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

@media (max-width: 820px) {
  .location-inner { grid-template-columns: 1fr; }
}

/* ============ FINAL CTA ============ */
.final-cta {
  background: linear-gradient(135deg, var(--brick) 0%, var(--brick-soft) 100%);
  padding: 70px 0;
  text-align: center;
  color: #fff;
}
.final-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.final-cta p { color: #FBE9DD; margin-bottom: 28px; font-size: 1.05rem; }
.final-cta .btn-ghost { border-color: #fff; color: #fff; }

/* ============ FOOTER ============ */
.site-footer { background: var(--navy); color: #B9C0D6; padding: 50px 0 40px; }
.site-footer .brand-name { color: #fff; }
.footer-inner p { font-size: 0.9rem; margin-top: 8px; max-width: 60ch; }
.footer-note { margin-top: 20px; opacity: 0.7; font-size: 0.8rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
