:root {
  --blue: #075bb5;
  --blue-dark: #064785;
  --navy: #062c59;
  --pale: #eaf4ff;
  --ink: #10233c;
  --muted: #526277;
  --line: #d8e4ef;
  --green: #12804f;
  --green-dark: #08633c;
  --radius: 18px;
  --action-blue: #075cbd;
  --action-blue-hover: #064b9b;
  --action-blue-border: #06478f;
  --action-green: #087f4b;
  --action-green-hover: #066339;
  --action-green-border: #066b3e;
  --action-radius: 10px;
  --shadow: 0 14px 32px rgba(8, 55, 107, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font: 400 16px/1.65 Manrope, Arial, sans-serif;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 760px; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); max-width: 760px; }
h3 { font-size: 1.2rem; margin: 1.25rem 1.4rem 0.6rem; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: auto; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; left: -9999px; z-index: 20; padding: 0.7rem; background: #fff; }
.skip-link:focus { left: 1rem; top: 1rem; outline: 3px solid var(--blue); }
a:focus-visible { outline: 3px solid #8a5800; outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-main {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; text-decoration: none; line-height: 0; }
.brand img { display: block; width: 252px; height: auto; max-height: 58px; }
.header-actions { display: flex; gap: 8px; }

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: block;
  fill: currentColor;
  stroke: none;
}
/* Shared by every contact action, including footer and floating links. */
[data-phone-link],
[data-whatsapp-link] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 12px 18px;
  color: #fff;
  text-decoration: none;
  font-family: Manrope, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  border: 2px solid var(--action-border);
  border-radius: var(--action-radius);
  background-color: var(--action-background);
  transition: background-color 140ms ease, border-color 140ms ease;
}
[data-phone-link] {
  --action-background: var(--action-blue);
  --action-hover: var(--action-blue-hover);
  --action-border: var(--action-blue-border);
}
[data-whatsapp-link] {
  --action-background: var(--action-green);
  --action-hover: var(--action-green-hover);
  --action-border: var(--action-green-border);
}
[data-phone-link]:not([aria-disabled="true"]):hover,
[data-whatsapp-link]:not([aria-disabled="true"]):hover {
  background-color: var(--action-hover);
  border-color: var(--action-hover);
}
[data-phone-link]:focus-visible,
[data-whatsapp-link]:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff;
}
.header-contact {
  padding: 10px 14px;
  font-size: 14px;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.6rem, 2vw, 1.8rem);
  min-height: 43px;
  border-top: 1px solid #edf2f7;
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.15rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}
.primary-nav a:hover { color: var(--blue); }

.hero { padding: 86px 0 76px; background: linear-gradient(132deg, #f6fbff, #e5f2ff); }
/* Keep linked headings below the two-row sticky header. */
main, section[id] { scroll-margin-top: 144px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}
.eyebrow {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.intro { max-width: 650px; color: var(--muted); font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 1rem; }
.button {
  min-height: 48px;
  padding: 12px 18px;
  font-size: 15px;
}
.note { font-size: 0.84rem; color: var(--muted); }

.hero-photo { margin: 0; min-width: 0; }
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 60% center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hero-photo figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.75rem;
}

.section { padding: 88px 0; }
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.35rem;
}
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.card:hover { box-shadow: var(--shadow); }
.service-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  background: #e8eef4;
}
.service-image.tire-air { object-position: center 62%; }
.service-image.roadside { object-position: center 72%; }
.service-image.battery-carry { object-position: center 42%; }
.card p {
  margin-left: 1.4rem;
  margin-right: 1.4rem;
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.91rem;
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 1.4rem 1.35rem;
}
.card-actions .button {
  flex: 1 1 132px;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 14px;
}
.photo-note { margin-top: 1.25rem; font-size: 0.8rem; color: var(--muted); }
.tint { background: #f5faff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.steps p { display: flex; align-items: center; gap: 0.7rem; font-weight: 700; }
.steps b {
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
}
.coverage {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(120deg, #fff, #eff8ff);
}
.coverage p { max-width: 650px; margin-bottom: 0; color: var(--muted); }
.contact { padding-top: 0; }
.contact-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 3rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}
.contact-box .eyebrow { color: #8ac6ff; }
.contact-box p:not(.eyebrow) { margin-bottom: 0; color: #d9e9f8; }
.contact-buttons { display: flex; flex-direction: column; gap: 12px; min-width: 250px; }
.contact-buttons .button { width: 100%; }

footer {
  padding: 3rem 0 max(5rem, calc(2rem + env(safe-area-inset-bottom)));
  border-top: 1px solid var(--line);
  background: #f8fbfe;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid p { margin: 0.85rem 0 0; color: var(--muted); font-size: 0.84rem; }
.footer-grid nav,
.footer-contacts { display: flex; flex-direction: column; gap: 8px; }
.footer-grid nav a { color: var(--muted); font-size: 0.86rem; }
.footer-contacts a {
  padding: 10px 14px;
  font-size: 14px;
  width: fit-content;
}
.footer-grid nav a:hover { color: var(--blue); }
.copyright { grid-column: 1 / -1; padding-top: 1.25rem; border-top: 1px solid var(--line); }

.floating-whatsapp {
  position: fixed;
  right: max(18px, calc(12px + env(safe-area-inset-right)));
  bottom: max(18px, calc(12px + env(safe-area-inset-bottom)));
  z-index: 8;
  min-width: 48px;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 14px;
}

@media (max-width: 980px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
/* Icon-only mobile contact action; desktop keeps its existing labeled button. */
@media (max-width: 768px) {
  .floating-whatsapp {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    max-width: 64px;
    max-height: 64px;
    aspect-ratio: 1;
    padding: 0;
    gap: 0;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(6, 44, 89, 0.2);
  }
  .floating-whatsapp .icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }
  .floating-whatsapp span { display: none; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 32px, 1120px); }
  .header-main { min-height: 68px; }
  .brand img { width: 212px; max-height: 49px; }
  .primary-nav {
    justify-content: flex-start;
    gap: 0;
    overflow: hidden;
    flex-wrap: wrap;
    padding: 0.25rem 0 0.45rem;
  }
  .primary-nav a { min-height: 44px; padding: 0.4rem 0.55rem; font-size: 0.75rem; }
  main, section[id] { scroll-margin-top: 176px; }
  .hero { padding: 55px 0; }
  .hero-grid,
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-photo img { aspect-ratio: 3 / 2; }
  .section { padding: 64px 0; }
  .services { grid-template-columns: 1fr; margin-top: 2rem; }
  .coverage,
  .contact-box { align-items: flex-start; flex-direction: column; padding: 1.7rem; }
  .contact { padding-top: 0; }
  .contact-buttons { width: 100%; min-width: 0; }
  .contact-buttons .button { line-height: 1.4; overflow-wrap: anywhere; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .copyright { grid-column: auto; }
}
@media (max-width: 520px) {
  .header-contact { padding: 0 10px; }
  .header-contact span { display: none; }
}
@media (max-width: 430px) {
  .brand img { width: 168px; max-height: 44px; }
  .header-actions { gap: 8px; }
  .primary-nav a { padding: 0.35rem 0.42rem; font-size: 0.69rem; }
  .actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
[data-phone-link][aria-disabled="true"],
[data-whatsapp-link][aria-disabled="true"] {
  color: #526277;
  background-color: #e8eef4;
  border-color: #b7c6d7;
  cursor: not-allowed;
}

/* Dedicated pages share the approved header, footer and contact action styles. */
.primary-nav a[aria-current="page"],
.footer-grid nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.page-intro { padding: 64px 0 48px; background: #eaf4ff; }
.page-intro h1 { font-size: clamp(2.35rem, 5vw, 3.8rem); }
.page-intro .intro { margin-bottom: 0; }
.inner-page .page-section { padding-top: 48px; }
.content-columns { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.prose { max-width: 780px; overflow-wrap: anywhere; }
.prose h2, .info-panel h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.025em; margin-bottom: 18px; }
.prose h2:not(:first-child) { margin-top: 36px; }
.prose p, .prose li, .info-panel p, .info-panel li { color: var(--muted); }
.prose a:not([data-phone-link]):not([data-whatsapp-link]),
.info-panel a:not([data-phone-link]):not([data-whatsapp-link]) { color: var(--blue-dark); }
.prose li, .info-panel li { margin-bottom: 12px; }
.info-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #f8fbfe; min-width: 0; overflow-wrap: anywhere; }
.info-panel .actions { margin: 24px 0; }
.info-panel .actions a { flex: 1 1 190px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.service-index { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 32px; }
.service-index a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue-dark); font-weight: 700; }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-detail { scroll-margin-top: 144px; }
.service-detail h2 { font-size: 1.5rem; margin: 24px 22px 14px; letter-spacing: -0.025em; }
.service-detail .card-actions { margin-top: auto; padding-top: 8px; }
.legal-copy { margin-left: auto; margin-right: auto; }
.review-notice { border: 1px solid #d5b964; background: #fff8e5; color: #564210; padding: 20px; border-radius: 10px; margin-bottom: 32px; }
.review-notice strong { display: block; margin-bottom: 6px; }
@media (max-width: 760px) {
  .content-columns, .service-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .page-intro { padding: 44px 0 32px; }
  .info-panel { padding: 22px; }
  .service-detail { scroll-margin-top: 176px; }
}
