/* ============================================
   Autonation — shared styles for every page
   Colors: red, black, white (+ warm off-white for light sections)
   Headings: light weight with <strong> words in bold
   ============================================ */

:root {
  --red: #e10600;
  --red-dark: #b80500;
  --black: #0a0a0a;
  --black-soft: #141414;
  --card-dark: #1a1a1a;
  --line-dark: #262626;
  --offwhite: #f2f1ec;
  --white: #ffffff;
  --text: #111111;
  --text-muted: #6b6b6b;
  --text-muted-dark: #9a9a9a;
  --line: #dcdad3;
  --radius: 14px;
  --radius-lg: 20px;
  --max-width: 1180px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3 {
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 strong, h2 strong, h3 strong { font-weight: 600; }
.accent { color: var(--red); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--offwhite { background: var(--offwhite); }
.section--dark { background: var(--black); color: var(--white); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); }
.section--dark .section-head p { color: var(--text-muted-dark); }

.section-head--left { text-align: left; margin-left: 0; }

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font: 500 0.95rem var(--font);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { background: var(--red); border-color: var(--red); }
.btn--light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--light:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  color: var(--white);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 50px; height: 50px; }
.logo span { font-weight: 300; font-size: 1.15rem; letter-spacing: 0.04em; }
.logo span strong { font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-call {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
}
.header-call:hover { border-color: var(--red); background: var(--red); }
@media (min-width: 640px) { .header-call { display: inline-flex; } }

.menu-toggle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--white);
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Slide-out menu ---------- */
.site-menu {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--black);
  color: var(--white);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 40;
  overflow-y: auto;
}
.menu-open .site-menu { transform: translateX(0); }
.menu-open { overflow: hidden; }
.site-menu ul {
  list-style: none;
  padding: 24px 20px 48px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.site-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line-dark);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 300;
  transition: color 0.2s, padding-left 0.2s;
}
.site-menu a::after { content: "↗"; font-size: 1.1rem; color: var(--text-muted-dark); }
.site-menu a:hover,
.site-menu a.active { color: var(--red); padding-left: 10px; }
.site-menu a.active { font-weight: 500; }

/* ---------- Page banner ---------- */
.page-banner {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  padding: 80px 0;
  color: var(--white);
  background: radial-gradient(ellipse at 80% 30%, #3a0b0a 0%, #0a0a0a 60%) center / cover no-repeat;
  isolation: isolate;
}
/* Dark overlay so text stays readable over photos */
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.6) 55%, rgba(10,10,10,0.3) 100%);
}
.breadcrumb { font-size: 0.85rem; color: var(--text-muted-dark); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--white); }
.page-banner h1 { font-size: clamp(2.4rem, 6vw, 4rem); max-width: 760px; }
.page-banner p { margin-top: 16px; max-width: 520px; color: #cfcfcf; }

/* ---------- About intro ---------- */
.about-intro {
  display: grid;
  gap: 32px;
}
.about-intro h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.about-intro p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.05rem; }
@media (min-width: 900px) {
  .about-intro { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
}

/* ---------- Department cards ---------- */
.departments {
  display: grid;
  gap: 16px;
  margin-top: 56px;
}
.dept-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.dept-card:hover { background: var(--black); color: var(--white); transform: translateY(-4px); }
.dept-card .num {
  margin-top: auto;
  font-size: 3.4rem;
  font-weight: 200;
  line-height: 1;
  color: var(--line);
  transition: color 0.25s;
}
.dept-card:hover .num { color: var(--red); }
.dept-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.dept-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }
.dept-card:hover p { color: var(--text-muted-dark); }
.arrow-circle {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--offwhite);
  color: var(--black);
  font-size: 1rem;
  transition: background 0.25s, color 0.25s;
}
.dept-card:hover .arrow-circle { background: var(--red); color: var(--white); }
@media (max-width: 799px) { .dept-card { min-height: 200px; } }
@media (min-width: 800px) { .departments { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Project cards (Our Builds) ---------- */
.projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.project-card {
  position: relative;
  flex: 0 0 calc(50% - 8px);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black) center / cover;
  color: var(--white);
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.85) 100%);
}
.project-card .arrow-circle {
  z-index: 1;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: var(--white);
}
.project-card:hover .arrow-circle { background: var(--red); color: var(--white); }
.project-card h3 {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  font-size: 1rem;
  font-weight: 500;
}
.project-card .placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #3a3a3a;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
@media (min-width: 800px) {
  .project-card { flex-basis: calc(25% - 12px); }
}

.center { text-align: center; margin-top: 40px; }

/* ---------- Enquiry ---------- */
.enquiry .section-head { margin-bottom: 36px; }
.enquiry-form {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.enquiry-form .row { display: grid; gap: 14px; }
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s;
}
.enquiry-form select { color: var(--text-muted); }
.enquiry-form select:valid { color: var(--text); }
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus { outline: none; border-color: var(--black); }
.enquiry-form textarea { min-height: 110px; resize: vertical; }
.enquiry-form .btn { width: 100%; padding: 16px; margin-top: 6px; }
.form-note { text-align: center; font-size: 0.85rem; color: var(--text-muted); }
.form-note a { color: var(--text); font-weight: 500; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
@media (min-width: 700px) {
  .enquiry-form .row { grid-template-columns: 1fr 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--text-muted-dark);
  padding: 72px 0 28px;
  font-size: 0.92rem;
}
.footer__grid {
  display: grid;
  gap: 40px;
}
.footer__brand .logo { color: var(--white); margin-bottom: 16px; }
.footer__brand p { max-width: 320px; }
.site-footer h4 {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.footer__links { list-style: none; display: grid; gap: 8px; }
.footer__links a:hover, .footer__info a:hover { color: var(--white); }
.footer__info { display: grid; gap: 10px; }
.footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
}
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
}

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 30;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Partner badge (e.g. Ceramic Pro) ---------- */
.partner-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 32px;
  text-align: center;
}
.partner-logo {
  display: grid;
  place-items: center;
  min-width: 220px;
  height: 84px;
  padding: 0 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.85rem;
}
.partner-logo img { max-height: 56px; width: auto; }
.partner-strip p { max-width: 460px; color: var(--text-muted); text-align: left; }
.partner-strip p strong { color: var(--text); font-weight: 600; }

/* ---------- Feature rows (image + text, alternating) ---------- */
.feature {
  display: grid;
  gap: 32px;
  align-items: center;
}
.feature + .feature { margin-top: 88px; }
.feature__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--black) center / cover;
  position: relative;
  overflow: hidden;
}
.feature__media .placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #3a3a3a;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.feature__tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
}
.feature h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 16px; }
.feature p { color: var(--text-muted); margin-bottom: 20px; font-size: 1.05rem; }
.checklist { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--red);
}
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; }
  .feature--reverse .feature__media { order: 2; }
}

/* ---------- How We Work (dark numbered steps) ---------- */
.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--card-dark);
  overflow: hidden;
}
.step__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  margin-bottom: 22px;
  color: var(--red);
}
.step__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { color: var(--text-muted-dark); font-size: 0.92rem; max-width: 240px; }
.step::after {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  right: 18px;
  bottom: -12px;
  font-size: 4.5rem;
  font-weight: 200;
  line-height: 1;
  color: #2c2c2c;
}
.steps-cta { text-align: center; margin-top: 40px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.partner-band { padding: 56px 0; }
.partner-band .partner-logo { border: none; background: none; padding: 0; min-width: 0; height: auto; }
.partner-band .partner-logo img { max-height: none; width: min(340px, 80vw); }
.partner-band .partner-strip p { color: var(--text-muted-dark); }
.partner-band .partner-strip p strong { color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Popups (product details) ---------- */
.popup {
  width: min(960px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text);
  overflow: hidden;
}
.popup::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); }
.popup[open] { animation: popup-in 0.25s ease; }
@keyframes popup-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.popup__inner { position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; }
.popup__close {
  position: sticky;
  top: 16px;
  float: right;
  margin: 16px 16px 0 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--black);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  z-index: 2;
}
.popup__close:hover { background: var(--red); }
.popup__head { padding: 36px 28px 24px; background: var(--black); color: var(--white); }
.popup__head h3 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.popup__head p { color: var(--text-muted-dark); max-width: 560px; }
.popup__body { padding: 28px; }
.popup__label { font-size: 1.4rem; font-weight: 300; margin-bottom: 18px; }
.popup__label strong { font-weight: 600; }
.products { display: grid; gap: 16px; }
.product {
  display: grid;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.product__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: var(--black) center / cover;
}
.product__media .placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #3a3a3a; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.product h4 { font-size: 1.2rem; font-weight: 600; margin-bottom: 6px; }
.product p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 12px; }
.product__specs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.product__specs li {
  display: flex; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: var(--offwhite); font-size: 0.82rem;
}
.product__specs span { color: var(--text-muted); }
.popup__foot {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end;
  padding: 20px 28px 28px; border-top: 1px solid var(--line);
}
.popup__foot .btn--ghost { color: var(--text); }
@media (min-width: 640px) {
  .product { grid-template-columns: 220px 1fr; align-items: center; }
}
body.popup-open { overflow: hidden; }

/* ---------- Popup tabs ---------- */
.tabs {
  display: inline-flex;
  gap: 6px;
  margin-top: 22px;
  padding: 5px;
  border-radius: 999px;
  background: var(--card-dark);
}
.tab {
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted-dark);
  font: 500 0.95rem var(--font);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tab:hover { color: var(--white); }
.tab[aria-selected="true"] { background: var(--red); color: var(--white); }

/* ---------- Product hero inside a popup ---------- */
.product-hero { display: grid; gap: 24px; margin-bottom: 36px; }
.product-hero__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--black) center / cover no-repeat;
}
.product-hero h4 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 300; margin-bottom: 12px; }
.product-hero h4 strong { font-weight: 600; }
.product-hero p { color: var(--text-muted); margin-bottom: 18px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--offwhite);
  font-size: 0.82rem;
}
@media (min-width: 760px) {
  .product-hero { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 36px; }
}

/* ---------- Package cards ---------- */
.packages {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.package {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.package--featured { background: var(--black); color: var(--white); border-color: var(--black); }
.package__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
}
.package h5 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.package__warranty { font-size: 0.95rem; color: var(--text-muted); }
.package__warranty strong { font-size: 2.2rem; font-weight: 300; color: var(--red); margin-right: 4px; }
.package--featured .package__warranty { color: var(--text-muted-dark); }
.package__meta {
  margin: 8px 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 500;
}
.package--featured .package__meta { border-color: var(--line-dark); }
.package ul { list-style: none; display: grid; gap: 8px; margin-bottom: 22px; font-size: 0.9rem; }
.package li { display: flex; gap: 10px; }
.package li::before { content: "✓"; color: var(--red); font-weight: 600; }
.package .btn { margin-top: auto; width: 100%; }
.package--featured .btn { background: var(--white); color: var(--black); border-color: var(--white); }
.package--featured .btn:hover { background: var(--red); color: var(--white); border-color: var(--red); }

.addons {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--offwhite);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.addons strong { color: var(--text); font-weight: 600; }
.popup__label--spaced { margin-top: 44px; }
.packages + .addons { margin-top: 16px; }

/* ---------- Spec table + coverage image (PPF popup) ---------- */
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.specs div { padding: 16px 18px; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.specs dt { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.specs dd { font-size: 1.15rem; font-weight: 500; }
.product-hero .btn { margin-top: 22px; }
.coverage-hero {
  aspect-ratio: 21 / 9;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--black) center / cover no-repeat;
}
.tabs { flex-wrap: wrap; }
.packages--4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* ---------- SHIFT colour PPF ---------- */
.specs--stats dd { font-size: 1.05rem; }
.specs--stats div:nth-child(-n+2) dd { font-size: 2rem; font-weight: 300; color: var(--red); }
.finish-strip {
  aspect-ratio: 530 / 128;
  border-radius: var(--radius);
  background: var(--black) center / cover no-repeat;
}
.layers { list-style: none; display: grid; gap: 10px; counter-reset: layer; }
.layers li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 2px 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.layers li::before {
  counter-increment: layer;
  content: counter(layer);
  grid-row: span 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--white);
  font-size: 0.9rem;
}
.layers strong { font-weight: 600; }
.layers span { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Full-body coverage block ---------- */
.full-cover {
  display: grid;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}
.full-cover__media { min-height: 220px; background: var(--black) center / cover no-repeat; }
.full-cover__body { position: relative; padding: 32px 28px 28px; }
.full-cover__body .package__badge { position: static; display: inline-block; margin-bottom: 14px; }
.full-cover h5 { font-size: 1.6rem; font-weight: 300; margin-bottom: 10px; }
.full-cover p { color: var(--text-muted-dark); margin-bottom: 16px; }
.full-cover ul { list-style: none; display: grid; gap: 8px; margin-bottom: 22px; }
.full-cover li { display: flex; gap: 10px; }
.full-cover li::before { content: "✓"; color: var(--red); font-weight: 600; }
@media (min-width: 760px) {
  .full-cover { grid-template-columns: 1.2fr 1fr; }
}

/* ---------- Benefit cards (ION CPF) ---------- */
.benefits {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.benefit {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--offwhite);
  border-left: 3px solid var(--red);
}
.benefit h5 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.benefit p { font-size: 0.9rem; color: var(--text-muted); }
.benefit--white { background: var(--white); }
.checklist li span strong { font-weight: 600; }
.dept-card h3 { padding-right: 48px; }

/* ---------- Custom Builds ---------- */
@media (min-width: 1000px) { .departments--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 999px) { .departments--4 { grid-template-columns: repeat(2, 1fr); } }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.filter {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font: 500 0.92rem var(--font);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter:hover { border-color: var(--black); }
.filter.is-active { background: var(--black); color: var(--white); border-color: var(--black); }
.project-card[hidden] { display: none; }
.project-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--red);
  font-size: 0.75rem;
  font-weight: 500;
}

.on-dark { color: var(--text-muted-dark) !important; }
.checklist.on-dark li { color: #d6d6d6; }
.checklist.on-dark strong { color: var(--white); }

.steps--light .step { background: var(--white); }
.steps--light .step p { color: var(--text-muted); }
.steps--light .step__icon { border-color: var(--line); }
.steps--light .step::after { color: var(--offwhite); }

/* ---------- Warranty Check ---------- */
.page-banner--short { min-height: 340px; }
.warranty-box { max-width: 760px; margin: 0 auto; }
.warranty-form .field-label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; }
.warranty-form input { text-transform: uppercase; }
.warranty-form input::placeholder { text-transform: none; }
.warranty-result { margin-top: 28px; display: grid; gap: 16px; }
.warranty-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border-top: 4px solid #1f9d55;
}
.warranty-card.is-expired { border-top-color: var(--red); }
.warranty-card__status { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.warranty-card__status strong { display: block; font-size: 1.4rem; font-weight: 600; }
.warranty-card__status span { color: var(--text-muted); font-size: 0.9rem; }
.warranty-card__icon {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1f9d55;
  color: var(--white) !important;
  font-size: 1.4rem !important;
  font-weight: 600;
}
.warranty-card.is-expired .warranty-card__icon { background: var(--red); }
.warranty-message {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  text-align: center;
}
.warranty-message h4 { font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; }
.warranty-message p { color: var(--text-muted); margin-bottom: 18px; }
.warranty-message .btn-row { justify-content: center; }
.warranty-note { margin-top: 28px; }

/* ---------- Contact Us ---------- */
.contact-tiles {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.contact-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
a.contact-tile:hover { background: var(--black); color: var(--white); transform: translateY(-3px); }
.contact-tile__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--offwhite);
  color: var(--red);
}
.contact-tile__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-tile__label { font-size: 0.85rem; color: var(--text-muted); }
a.contact-tile:hover .contact-tile__label { color: var(--text-muted-dark); }
.contact-tile strong { font-weight: 500; overflow-wrap: anywhere; }

.visit { display: grid; gap: 32px; align-items: center; }
.visit__map {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--offwhite);
}
.visit__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.visit h2 { font-size: clamp(2rem, 4.4vw, 2.8rem); margin-bottom: 24px; }
.visit__list { display: grid; gap: 18px; margin-bottom: 28px; }
.visit__list dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 4px; }
.visit__list dd { font-size: 1.05rem; }
.visit__list a:hover { color: var(--red); }
@media (min-width: 900px) { .visit { grid-template-columns: 1.2fr 1fr; gap: 56px; } }

/* ---------- Mechanical service tiles ---------- */
.service-tiles {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.service-tile {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.service-tile:hover { background: var(--black); color: var(--white); border-color: var(--black); transform: translateY(-4px); }
.service-tile__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--offwhite);
  color: var(--red);
  transition: background 0.25s;
}
.service-tile:hover .service-tile__icon { background: var(--red); color: var(--white); }
.service-tile__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-tile h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 6px; }
.service-tile p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 14px; }
.service-tile:hover p { color: var(--text-muted-dark); }
.service-tile ul { list-style: none; display: grid; gap: 6px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.88rem; }
.service-tile:hover ul { border-color: var(--line-dark); }
.service-tile li { display: flex; gap: 8px; }
.service-tile li::before { content: "✓"; color: var(--red); font-weight: 600; }

.service-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--red);
  color: var(--white);
}
.service-cta h3 { font-size: 1.5rem; font-weight: 500; }
.service-cta p { opacity: 0.9; }
.service-cta .btn--light:hover { background: var(--black); border-color: var(--black); }
.service-cta .btn--ghost:hover { background: var(--white); color: var(--red); border-color: var(--white); }

/* ---------- Specialist services (Mechanical page) ---------- */
.specialist-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 56px 0 20px; }
.specialist { display: grid; gap: 16px; }
.specialist-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  transition: transform 0.25s;
}
.specialist-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.35), transparent 70%);
}
a.specialist-card:hover { transform: translateY(-4px); }
.specialist-card__badge {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--red);
  font-size: 0.78rem;
  font-weight: 500;
}
.specialist-card .service-tile__icon { background: var(--card-dark); }
.specialist-card h3 { font-size: 1.8rem; margin-bottom: 10px; }
.specialist-card p { color: var(--text-muted-dark); margin-bottom: 18px; max-width: 460px; }
.specialist-card ul { list-style: none; display: grid; gap: 8px; margin-bottom: 22px; }
.specialist-card li { display: flex; gap: 10px; }
.specialist-card li::before { content: "✓"; color: var(--red); font-weight: 600; }
.specialist-card .link { margin-top: auto; color: var(--white); font-weight: 500; }
.specialist-card .link:hover { color: var(--red); }
@media (min-width: 800px) { .specialist { grid-template-columns: 1fr 1fr; } }

/* ---------- Photo strip & gallery ---------- */
.photo-strip { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.photo-strip div { aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--black) center / cover no-repeat; }
@media (max-width: 640px) {
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip div:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}
.photo-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.photo-grid__item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--black) center / cover no-repeat;
}
.photo-grid__item--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.photo-grid__item span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.75);
  color: var(--white);
  font-size: 0.82rem;
}
@media (min-width: 900px) {
  .photo-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; }
  .photo-grid__item, .photo-grid__item--wide { aspect-ratio: auto; }
  .photo-grid__item--wide { grid-column: span 2; grid-row: span 2; }
}
.photo-strip div { position: relative; overflow: hidden; }
.photo-strip span, .wide-photo span {
  position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px;
  background: rgba(10, 10, 10, 0.75); color: var(--white); font-size: 0.8rem;
}
@media (max-width: 640px) {
  .photo-strip--6 div:first-child { grid-column: auto; aspect-ratio: 4 / 3; }
}
.feature__media--wide { aspect-ratio: 3 / 2; }
.feature__media + div p + p { margin-top: -6px; }
.wide-photo {
  position: relative;
  aspect-ratio: 21 / 9;
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  background: var(--black) center / cover no-repeat;
}

/* ---------- Instagram reels ---------- */
.reels {
  /* All videos in one row; slightly wider than the page so each embed has room */
  display: grid;
  grid-template-columns: repeat(var(--n, 4), minmax(0, 330px));
  gap: 12px;
  justify-content: center;
  align-items: start;
  width: min(1400px, calc(100vw - 40px));
  margin-left: 50%;
  transform: translateX(-50%);
}
/* Phones and tablets: one swipeable row */
@media (max-width: 1100px) {
  .reels {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    justify-content: flex-start;
  }
  .reel { flex: 0 0 min(320px, 80vw); scroll-snap-align: start; }
}
.reel[hidden] { display: none; }
.reel__label { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.reel__label .project-card__tag { position: static; color: var(--white); }
.reel__label h3 { font-size: 1.05rem; font-weight: 500; }
.reel .instagram-media,
.reel iframe.instagram-media {
  margin: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: var(--radius) !important;
}
/* Shown until Instagram's embed loads (or if it's blocked) */
.reel blockquote.instagram-media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  background: var(--black);
  border: 0;
  border-radius: var(--radius);
}
.reel blockquote.instagram-media a {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-weight: 500;
  font-size: 0.9rem;
}

/* ---------- Reel cover cards ---------- */
.reel-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 15;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black) center / cover no-repeat;
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.reel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.88) 100%);
  transition: background 0.3s;
}
.reel-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.3); }
.reel-card:hover::before { background: linear-gradient(180deg, rgba(225,6,0,0.25) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.92) 100%); }
.reel-card .project-card__tag { top: 16px; left: 16px; }
.reel-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 10px rgba(225, 6, 0, 0.25);
  transition: transform 0.3s, box-shadow 0.3s;
}
.reel-card__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--white);
}
.reel-card:hover .reel-card__play { transform: scale(1.1); box-shadow: 0 0 0 16px rgba(225, 6, 0, 0.2); }
.reel-card__title {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
}
.reel-card__title small {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 400;
  color: #cfcfcf;
}

/* Video popup */
.popup--reel { width: min(440px, calc(100% - 24px)); background: var(--black); }
.popup--reel .popup__close { background: var(--white); color: var(--black); }
.reel-popup__body { padding: 64px 12px 12px; }
.reel-popup__body .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; }
.reel-popup__body blockquote.instagram-media {
  display: grid; place-items: center; aspect-ratio: 9 / 16; border: 0; background: var(--card-dark); border-radius: var(--radius);
}
.reel-popup__body blockquote.instagram-media a {
  padding: 12px 22px; border-radius: 999px; background: var(--white); color: var(--black); font-weight: 500;
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-menu, .whatsapp-float, .enquiry, .reels, .socials, .btn, .btn-row, .popup { display: none !important; }
  body, .section--dark, .site-footer { background: #fff !important; color: #000 !important; }
  .page-banner { min-height: 0; padding: 24px 0; background: none !important; color: #000; }
  .page-banner::after { display: none; }
  .section { padding: 24px 0; }
  a[href^="tel:"]::after { content: " (" attr(href) ")"; }
}

/* ---------- Contrast (WCAG AA) ---------- */
.kicker { color: #c20500; }
.section--dark .kicker, .page-banner .kicker, .popup__head .kicker, .partner-band .kicker, .journey .kicker { color: #ff4a3d; }
.dept-card .num { color: #8f8c84; }
.service-cta p { opacity: 1; }
.step::after { color: #3a3a3a; }
.steps--light .step::after { color: #d9d6cd; }
.feature__tag, .project-card__tag, .package__badge, .specialist-card__badge { background: #c20500; }
