/* ═══════════════════════════════════════════
   KA ENGINEERING — SHARED DESIGN SYSTEM
   White Corporate · Industrial Modern · SG
═══════════════════════════════════════════ */

/* @import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap'); */

:root {
  --black:    #0d0d0d;
  --dark:     #1a1a1a;
  --charcoal: #2e2e2e;
  --steel:    #4a5568;
  --mid:      #718096;
  --light:    #e2e8f0;
  --pale:     #f7f8fa;
  --white:    #ffffff;
  --orange:   #a51416;
  --orange-h: #881618;
  --orange-l: #fff3ed;
  --gold:     #24211e;
  --border:   #e8eaed;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.04);
  --shadow-xl:  0 24px 64px rgba(0,0,0,0.14);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ── TYPOGRAPHY UTILITIES ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--orange);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--black);
  letter-spacing: -0.5px;
}
.section-title span { color: var(--orange); }

.section-sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--steel);
  line-height: 1.7;
  max-width: 560px;
  margin-top: 16px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 32px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-orange {
  background: var(--orange);
  color: #fff;
}
.btn-orange:hover { background: var(--orange-h); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(232,93,4,0.3); }

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover { background: var(--orange); color: #fff; }

.btn-dark {
  background: var(--black);
  color: #fff;
}
.btn-dark:hover { background: var(--charcoal); transform: translateY(-1px); }

.btn-white {
  background: #fff;
  color: var(--orange);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { background: var(--pale); transform: translateY(-1px); }

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.header-top {
  background: var(--black);
  padding: 7px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.header-top a { color: rgba(255,255,255,0.75); transition: color 0.15s; }
.header-top a:hover { color: var(--orange); }
.header-top-left, .header-top-right { display: flex; align-items: center; gap: 20px; }
.header-divider { width: 1px; height: 12px; background: rgba(255,255,255,0.2); }

.nav-main {
  padding: 0;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
/* ── LOGO ── */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--steel);
  padding: 8px 16px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  display: block;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); background: var(--orange-l); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-phone {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  position: relative;
  height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
.page-hero-img {
  position: absolute; inset: 0;
  opacity: 0.35;
}
.page-hero-overlay {
  position: absolute; inset: 0;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 56px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 14px;
}
.page-hero-title span { color: var(--orange); }
.page-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb-sep { color: rgba(255,255,255,0.25); }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--pale);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 44px; height: 44px;
  background: var(--orange-l);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.trust-label {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--black);
}
.trust-sub { font-size: 11.5px; color: var(--mid); margin-top: 1px; }

/* ── SECTION SPACING ── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }
.section-alt { background: var(--pale); }
.section-dark { background: var(--black); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .section-sub { color: rgba(255,255,255,0.6); }

/* ── CARDS ── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* ── IMAGE BLOCKS ── */
.img-frame {
  overflow: hidden;
  background: var(--light);
}
.img-frame img { transition: transform 0.5s ease; }
.img-frame:hover img { transform: scale(1.04); }

/* ── DIVIDER ── */
.hr { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--orange);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: 'KA ENGINEERING';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-display);
  font-size: 200px;
  font-weight: 800;
  white-space: nowrap;
  color: rgba(255,255,255,0.05);
  pointer-events: none;
  letter-spacing: -4px;
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.cta-band-sub { font-size: 16px; color: rgba(255,255,255,0.82); margin-top: 10px; max-width: 480px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ── FOOTER ── */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand {}
.footer-desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.5); margin-bottom: 24px; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
}
.footer-contact-item a { color: rgba(255,255,255,0.65); transition: color 0.15s; }
.footer-contact-item a:hover { color: var(--orange); }
.footer-col-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  padding: 20px 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}
.footer-copy strong {
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-bottom-links a:hover { color: var(--orange); }
.footer-bottom-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }

/* ── STAT BOXES ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.stat-box {
  background: #fff;
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  letter-spacing: 0.5px;
  margin-top: 8px;
  text-transform: uppercase;
}

/* ── SERVICE CARD (grid) ── */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--light);
  position: relative;
}
.service-card-img img { transition: transform 0.5s; }
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.service-card-icon {
  width: 44px; height: 44px;
  background: var(--orange-l);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.service-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.25;
}
.service-card-desc { font-size: 14.5px; color: var(--steel); line-height: 1.65; margin-bottom: 20px; flex: 1; }
.service-card-link {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.service-card:hover .service-card-link { gap: 10px; }

/* ── FEATURE LIST ── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--steel);
  line-height: 1.55;
}
.feature-list li::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--orange);
  flex-shrink: 0;
  margin-top: 3px;
  clip-path: polygon(0 50%, 33% 100%, 100% 0%, 33% 63%);
}

/* ── PROCESS STEPS ── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 56px; }
.process-step { background: var(--pale); padding: 40px 28px; position: relative; border: 1px solid var(--border); }
.process-step-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--orange);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 16px;
}
.process-step-icon { font-size: 28px; margin-bottom: 16px; }
.process-step-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.process-step-desc { font-size: 14px; color: var(--steel); line-height: 1.6; }

/* ── REVIEW CARD ── */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: #fff; border: 1px solid var(--border); padding: 32px; }
.review-stars { color: #f59e0b; font-size: 16px; margin-bottom: 16px; }
.review-text { font-size: 15px; color: var(--steel); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.review-author { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--black); }
.review-company { font-size: 12.5px; color: var(--mid); margin-top: 2px; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--charcoal); margin-bottom: 8px; }
.form-control {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 18px;
  outline: none;
  border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,93,4,0.1); }
.form-control::placeholder { color: #aaa; }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeInUp 0.65s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.46s; }

/* ════════════════════════════════════════════════
   RESPONSIVE — TABLET & MOBILE
   Breakpoints:
     1024px — tablet landscape
      768px — tablet portrait
      480px — mobile
════════════════════════════════════════════════ */

/* ── HAMBURGER BUTTON (hidden on desktop) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.mobile-drawer {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.25s ease;
}
.mobile-drawer.open {
  max-height: 100vh;
  padding: 16px 0 20px;
}
.mobile-drawer a {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  padding: 13px 24px;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s, background 0.15s;
}
.mobile-drawer a:last-child { border-bottom: none; }
.mobile-drawer a:hover,
.mobile-drawer a.active { color: var(--orange); background: var(--orange-l); }
.mobile-drawer-cta {
  margin: 16px 24px 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-drawer-cta a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: none !important;
  border-radius: 4px;
  padding: 14px 20px !important;
  font-size: 13px !important;
}

/* ════════════════════════════════════════════════
   TABLET LANDSCAPE — max-width: 1024px
════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  .container { padding: 0 28px; }

  /* Header top bar — stack vertically */
  .header-top .container { flex-direction: column; align-items: flex-start; gap: 4px; }
  .header-top-left, .header-top-right { gap: 14px; font-size: 12px; }

  /* Nav — hide phone number, compress */
  .nav-phone { display: none; }
  .nav-inner { height: 64px; }
  .nav-links { gap: 0; }
  .nav-links a { font-size: 12.5px; padding: 7px 12px; }

  /* Trust bar — 2x2 grid */
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3) { border-top: 1px solid var(--border); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }

  /* Service grid — 2 cols */
  .service-grid { grid-template-columns: repeat(2, 1fr); }

  /* Stats — 2x2 */
  .stat-grid { grid-template-columns: repeat(2, 1fr); }

  /* Why grid */
  .why-grid-inner { grid-template-columns: repeat(2, 1fr); }

  /* Process steps — 2x2 */
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .p-step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .p-step:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
  .p-step:last-child, .p-step:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  /* Review grid — 2 cols then wrap */
  .review-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer grid — 2x2 */
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 2; }

  /* Section spacing */
  .section { padding: 72px 0; }
  .section-sm { padding: 48px 0; }
  .section-lg { padding: 88px 0; }
}

/* ════════════════════════════════════════════════
   TABLET PORTRAIT — max-width: 768px
════════════════════════════════════════════════ */
@media (max-width: 768px) {

  .container { padding: 0 20px; }

  /* Header top — hide on mobile */
  .header-top { display: none; }

  /* Hamburger ON, desktop nav OFF */
  .nav-toggle { display: flex; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-drawer { display: flex; }
  .nav-inner { height: 60px; }

  /* Page hero */
  .page-hero { height: 280px; }
  .page-hero-content { padding-bottom: 32px; }
  .page-hero-sub { font-size: 15px; }

  /* Trust bar — single column */
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding: 16px 18px; }
  .trust-icon { width: 36px; height: 36px; font-size: 16px; }

  /* Section spacing */
  .section { padding: 56px 0; }
  .section-sm { padding: 36px 0; }
  .section-lg { padding: 64px 0; }

  /* Service grid — 1 col */
  .service-grid { grid-template-columns: 1fr; }

  /* Stat grid — 2x2 */
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 40px; }

  /* Why grid — 1 col */
  .why-grid-inner { grid-template-columns: 1fr; }

  /* Process grid — 1 col */
  .process-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .p-step { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .p-step:last-child { border-bottom: none; }

  /* Review grid — 1 col */
  .review-grid { grid-template-columns: 1fr; }

  /* Footer grid — 1 col */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 48px 0 0; }

  /* Footer bottom — stack */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-bottom-links { gap: 14px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 160px 160px 160px; }
  .gallery-item.tall { grid-row: span 1; }
  .gallery-item.wide { grid-column: span 2; }

  /* CTA band */
  .cta-band { padding: 56px 0; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1; justify-content: center; }

  /* Form row — stack */
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Intro split — stack */
  .intro-grid { grid-template-columns: 1fr; }
  .intro-img { height: 300px; }
  .intro-content { padding: 40px 24px; }

  /* Split img text — stack */
  .split-img-text { grid-template-columns: 1fr !important; direction: ltr !important; }
  .split-img { height: 260px; }
  .split-content { padding: 40px 24px !important; }

  /* About hero grid — stack */
  .about-hero-grid { grid-template-columns: 1fr; }
  .about-hero-img { height: 280px; order: -1; }
  .about-hero-content { padding: 40px 24px; }

  /* Services intro */
  .services-intro { grid-template-columns: 1fr; }

  /* Contact grid */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-main-grid { grid-template-columns: 1fr; padding: 48px 0; gap: 40px; }

  /* Map grid */
  .map-grid { grid-template-columns: 1fr; }
  .map-frame { height: 280px; }

  /* Values grid */
  .values-grid { grid-template-columns: 1fr; }

  /* Cert grid */
  .cert-grid { grid-template-columns: repeat(2, 1fr); }

  /* Team grid */
  .team-grid { grid-template-columns: 1fr; }

  /* Service detail grid */
  .service-detail-grid { grid-template-columns: 1fr; }
  .img-2col { grid-template-columns: 1fr; }
  .img-2col-main { height: 260px; }
  .img-side { flex-direction: row; }
  .img-side-item { height: 180px; }

  /* Service sidebar grid */
  .services-big-grid { grid-template-columns: 1fr; }
  .big-service-card { grid-template-columns: 1fr; }
  .big-service-card-img { height: 200px; }

  /* Why cards inside service pages */
  .why-cards { grid-template-columns: 1fr; }

  /* Timeline */
  .tl-item { grid-template-columns: 72px 1fr; gap: 16px; }
  .tl-year { font-size: 22px; }

  /* Services strip header */
  .services-strip-header { flex-direction: column; align-items: flex-start; }

  /* Hero stats */
  .hero-stats { gap: 28px; }

  /* Hero badge hidden on mobile */
  .hero-badge { display: none; }

  /* Sidebar — stack below main content on service pages */
  [style*="grid-template-columns: 1fr 340px"] {
    grid-template-columns: 1fr !important;
  }

  /* Footer form card */
  .form-card { padding: 28px 20px; }

  /* WA float smaller */
  .wa-float { width: 48px; height: 48px; font-size: 22px; bottom: 20px; right: 20px; }
}

/* ════════════════════════════════════════════════
   MOBILE — max-width: 480px
════════════════════════════════════════════════ */
@media (max-width: 480px) {

  .container { padding: 0 16px; }

  /* Stat grid — 2 col compact */
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-box { padding: 28px 16px; }
  .stat-num { font-size: 36px; }

  /* Trust bar — 1 col */
  .trust-bar-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: none; }
  .trust-item:nth-child(3) { border-top: none; }
  .trust-item:nth-child(4) { border-top: none; }

  /* Page hero */
  .page-hero { height: 240px; }
  .page-hero-title { font-size: 28px; }
  .page-hero-sub { font-size: 14px; }
  .page-hero-content { padding-bottom: 24px; }

  /* Cert grid — 1 col */
  .cert-grid { grid-template-columns: 1fr; }

  /* Service card img */
  .service-card-img { height: 180px; }

  /* Hero buttons — stack */
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  /* CTA actions — stack */
  .cta-band-actions { flex-direction: column; }
  .cta-band-actions .btn { width: 100%; justify-content: center; }

  /* Gallery — 1 col */
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item { height: 200px; }

  /* Footer bottom links — wrap tight */
  .footer-bottom-links { gap: 10px; }
  .footer-bottom-sep { display: none; }
  .footer-bottom-links a { font-size: 12px; }

  /* Section spacing */
  .section { padding: 44px 0; }
  .section-sm { padding: 28px 0; }
  .section-lg { padding: 52px 0; }

  /* Review grid — 1 col */
  .review-grid { grid-template-columns: 1fr; }

  /* Why grid — 1 col */
  .why-grid-inner { grid-template-columns: 1fr; }

  /* Process steps */
  .p-step { padding: 28px 20px; }
  .p-step-num { font-size: 40px; }

  /* Intro content */
  .intro-content { padding: 32px 16px; }

  /* About content padding */
  .about-hero-content { padding: 32px 16px; }

  /* Image side — stack vertical */
  .img-side { flex-direction: column; }
  .img-side-item { height: 140px; }

  /* Contact info */
  .contact-main-grid { padding: 32px 0; gap: 28px; }

  /* Map */
  .map-section { padding: 40px 0; }
  .map-frame { height: 240px; }

  /* Map grid */
  .map-grid { gap: 28px; }

  /* Sidebar service links — stack */
  [style*="grid-template-columns: 1fr 340px"] {
    grid-template-columns: 1fr !important;
  }
}
