/* ==========================================================================
   Max Cleaning Services Johor Bahru — shared design system
   Loaded by every page. When porting to WordPress, this file moves to
   wp-content/themes/<theme>/assets/site.css (blank-canvas workflow).
   ========================================================================== */

:root {
  --navy: #003078;
  --navy-deep: #001D52;
  --navy-soft: #E8EEF8;
  --lime: #5BB300;
  --lime-deep: #3E7A00;
  --lime-soft: #EEF7E0;
  --ink: #16223B;
  --body: #4A5468;
  --mute: #7A8499;
  --paper: #FBFAF7;
  --white: #FFFFFF;
  --line: #E9E5DD;
  --line-soft: #F1EEE7;
  --gold: #E6A817;
  --shadow-xs: 0 1px 2px rgba(22,34,59,.04);
  --shadow-sm: 0 2px 8px -2px rgba(22,34,59,.06), 0 1px 2px rgba(22,34,59,.04);
  --shadow-md: 0 12px 28px -10px rgba(22,34,59,.12), 0 2px 6px rgba(22,34,59,.04);
  --shadow-lg: 0 24px 56px -18px rgba(22,34,59,.16), 0 4px 10px rgba(22,34,59,.04);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
::selection { background: var(--lime-soft); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.1; letter-spacing: -0.025em; }
h2 { font-size: clamp(26px, 2.6vw, 38px); }
h3 { font-size: clamp(18px, 1.4vw, 21px); }
h4 { font-size: 16px; font-weight: 600; }
p { color: var(--body); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }
.container-narrow { max-width: 980px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 720px) { .container-narrow { padding: 0 20px; } }
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-header { max-width: 720px; margin-bottom: clamp(40px, 5vw, 56px); }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 17px; line-height: 1.65; color: var(--body); }

.label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--lime-deep);
  margin-bottom: 14px;
  letter-spacing: 0;
}
.label.dark { color: var(--lime); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary {
  background: var(--lime);
  color: var(--white);
  border-color: var(--lime);
  box-shadow: 0 6px 16px -6px rgba(91,179,0,.45);
}
.btn-primary:hover { background: var(--lime-deep); border-color: var(--lime-deep); transform: translateY(-1px); }
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn-dark {
  background: var(--navy-deep);
  color: var(--white);
  border-color: var(--navy-deep);
}
.btn-dark:hover { background: var(--ink); border-color: var(--ink); }
.btn-on-dark-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.32);
}
.btn-on-dark-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.btn-lg { padding: 17px 30px; font-size: 16px; }

/* ===== HEADER ===== */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.site-logo img { height: 48px; width: auto; }
.site-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.site-logo-text .brand {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.site-logo-text .sub {
  font-size: 12px;
  color: var(--mute);
  font-weight: 500;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--body);
  padding: 10px 14px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.site-nav a:hover { color: var(--ink); background: rgba(0,29,82,.04); }
.site-nav a.active { color: var(--navy); font-weight: 600; }
.site-nav-cta {
  margin-left: 10px;
  background: var(--lime);
  color: var(--white) !important;
  padding: 11px 18px !important;
  border-radius: 10px !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: background .18s;
  box-shadow: 0 4px 12px -4px rgba(91,179,0,.45);
}
.site-nav-cta:hover { background: var(--lime-deep) !important; color: var(--white) !important; }
.site-nav-cta svg { width: 15px; height: 15px; }
.site-nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.site-nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.site-nav-toggle span::before, .site-nav-toggle span::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); }
.site-nav-toggle span::before { top: -6px; }
.site-nav-toggle span::after { top: 6px; }
@media (max-width: 1000px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex; position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 14px 28px 20px;
    gap: 2px;
    box-shadow: var(--shadow-md);
  }
  .site-nav.open a { padding: 12px 14px; }
  .site-nav.open .site-nav-cta { margin: 10px 0 0; justify-content: center; }
  .site-nav-toggle { display: inline-flex; }
  .site-header { position: relative; }
}

/* ===== HERO (homepage) ===== */
.hero {
  padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px);
  background: var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.review-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
  font-size: 13.5px;
  color: var(--body);
}
.review-pill .stars { color: var(--gold); letter-spacing: 1px; font-size: 13px; }
.review-pill .score { color: var(--ink); font-weight: 600; }
.review-pill .src { color: var(--mute); }
.review-pill .sep { width: 1px; height: 14px; background: var(--line); }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--navy); }
.hero-lede {
  font-size: clamp(16.5px, 1.25vw, 18.5px);
  line-height: 1.65;
  color: var(--body);
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-lede strong { color: var(--ink); font-weight: 600; }
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 540px;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--body);
  font-weight: 500;
}
.hero-trust-item svg {
  width: 16px; height: 16px;
  color: var(--lime-deep);
  flex: none;
}
.hero-photo {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--navy-soft);
  box-shadow: var(--shadow-lg);
}
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 40px);
}
.hero-photo-badge-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--lime-soft);
  color: var(--lime-deep);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.hero-photo-badge-text strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
}
.hero-photo-badge-text span {
  font-size: 12.5px;
  color: var(--mute);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { aspect-ratio: 4/3; max-width: 560px; margin: 0 auto; }
}

/* ===== PAGE HERO (inner pages — slimmer) ===== */
.page-hero {
  background: var(--paper);
  padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line-soft);
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: var(--mute);
  margin-bottom: 24px;
}
.breadcrumb a {
  color: var(--mute);
  transition: color .15s;
}
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb-sep { color: var(--line); }
.breadcrumb .current { color: var(--ink); font-weight: 500; }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.page-hero-text h1 {
  margin-bottom: 18px;
}
.page-hero-text .lede {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.65;
  color: var(--body);
  margin-bottom: 26px;
  max-width: 540px;
}
.page-hero-text .lede strong { color: var(--ink); font-weight: 600; }
.page-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero-photo {
  aspect-ratio: 4/3;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--navy-soft);
  box-shadow: var(--shadow-lg);
}
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.compact { padding-bottom: clamp(36px, 5vw, 56px); }
.page-hero.center { text-align: center; }
.page-hero.center .page-hero-text { max-width: 760px; margin: 0 auto; }
.page-hero.center .breadcrumb { justify-content: center; }
.page-hero.center .lede { margin-left: auto; margin-right: auto; }
.page-hero.center .page-hero-cta { justify-content: center; }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-photo { max-width: 560px; margin: 0 auto; }
}

/* ===== TRUST BAND ===== */
.trust-band {
  background: var(--white);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 24px 0;
}
.trust-band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 32px;
  align-items: center;
}
.trust-tile { display: flex; align-items: center; gap: 12px; }
.trust-tile-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--navy-soft);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.trust-tile strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.25;
}
.trust-tile span {
  display: block;
  font-size: 12.5px;
  color: var(--mute);
  line-height: 1.35;
}
@media (max-width: 900px) { .trust-band-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .trust-band-grid { grid-template-columns: 1fr; } }

/* ===== ABOUT INTRO ===== */
.about-intro { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.about-photo-stack {
  position: relative;
  aspect-ratio: 4/4.4;
}
.about-photo-stack .big {
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-photo-stack .big img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-stack .small {
  position: absolute;
  width: 42%;
  aspect-ratio: 1/1;
  bottom: -28px; right: -20px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--paper);
}
.about-photo-stack .small img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 18px; }
.about-text p {
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.about-text p strong { color: var(--ink); font-weight: 600; }
.about-text .btn { margin-top: 14px; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-photo-stack { max-width: 460px; margin: 0 auto; }
  .about-photo-stack .small { right: -10px; bottom: -20px; }
}

/* ===== SERVICES GRID ===== */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover {
  border-color: var(--navy-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-img {
  aspect-ratio: 4/3;
  background: var(--navy-soft);
  overflow: hidden;
  position: relative;
}
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
}
.service-tag.popular { background: var(--lime); color: var(--white); }
.service-body {
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-body h3 {
  margin-bottom: 8px;
  font-size: 19px;
  letter-spacing: -0.015em;
}
.service-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: 18px;
  flex: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  align-self: flex-start;
  transition: color .15s;
}
.service-link:hover { color: var(--lime-deep); }
.service-link svg { width: 14px; height: 14px; transition: transform .15s; }
.service-link:hover svg { transform: translateX(3px); }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ===== PROCESS ===== */
.process { background: var(--paper); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: border-color .2s, box-shadow .2s;
}
.process-step:hover { border-color: var(--navy-soft); box-shadow: var(--shadow-md); }
.process-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy-soft);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.process-icon svg { width: 22px; height: 22px; }
.process-step .step-num {
  display: inline-block;
  font-size: 12.5px;
  color: var(--mute);
  font-weight: 500;
  margin-bottom: 6px;
}
.process-step h3 { font-size: 18px; margin-bottom: 8px; }
.process-step p { font-size: 14.5px; line-height: 1.6; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }

/* ===== WHY ===== */
.why { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-card {
  display: flex;
  gap: 20px;
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .2s, box-shadow .2s;
}
.why-card:hover { border-color: var(--navy-soft); box-shadow: var(--shadow-md); }
.why-card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.why-card-icon svg { width: 24px; height: 24px; }
.why-card-text h3 { font-size: 19px; margin-bottom: 6px; }
.why-card-text p { font-size: 15px; line-height: 1.6; }
@media (max-width: 720px) { .why-grid { grid-template-columns: 1fr; } }

/* ===== STATS ===== */
.stats {
  background: var(--navy-deep);
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats-item .num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.stats-item .num .plus { color: var(--lime); }
.stats-item .label {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  line-height: 1.45;
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

/* ===== FOUNDER ===== */
.founder { background: var(--paper); }
.founder-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.founder-photo {
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--navy-soft);
  box-shadow: var(--shadow-lg);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.founder-text h2 { margin-bottom: 18px; }
.founder-text > p { font-size: 16.5px; line-height: 1.7; margin-bottom: 14px; }
.founder-quote {
  margin: 24px 0 !important;
  padding-left: 18px;
  border-left: 3px solid var(--lime);
  font-size: 17px !important;
  color: var(--ink) !important;
  font-style: italic;
  line-height: 1.55;
}
.founder-meta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.founder-meta-item .v {
  display: block;
  font-size: 22px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.founder-meta-item .l {
  font-size: 12.5px;
  color: var(--mute);
}
@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-photo { max-width: 320px; margin: 0 auto; }
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--white); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.testimonial-stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 15px;
}
.testimonial-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--mute);
  font-weight: 500;
}
.testimonial-source .tick {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700;
}
.testimonial p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.testimonial-initials {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px;
  flex: none;
}
.testimonial-author-info strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}
.testimonial-author-info span {
  font-size: 12.5px;
  color: var(--mute);
}
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ===== AREAS ===== */
.areas { background: var(--paper); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.area-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  transition: border-color .15s, background .15s, color .15s;
}
.area-chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  flex: none;
}
.area-chip:hover {
  border-color: var(--lime);
  background: var(--lime-soft);
  color: var(--navy-deep);
}
@media (max-width: 900px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .areas-grid { grid-template-columns: 1fr; } }

/* ===== ABOUT JOHOR BAHRU ===== */
.about-jb { background: var(--white); }
.about-jb-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.about-jb-text h2 { margin-bottom: 18px; }
.about-jb-text p {
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.about-jb-text p strong { color: var(--ink); font-weight: 600; }
.about-jb-photo {
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--navy-soft);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-jb-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-jb-photo-tag {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.about-jb-photo-tag strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}
.about-jb-photo-tag span {
  font-size: 12.5px;
  color: var(--mute);
}
@media (max-width: 900px) {
  .about-jb-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-jb-photo { max-width: 460px; margin: 0 auto; }
}

/* ===== FAQ ===== */
.faq { background: var(--paper); }
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
.faq-intro h2 { margin-bottom: 16px; }
.faq-intro p { font-size: 16px; line-height: 1.65; margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .18s, box-shadow .18s;
}
.faq-item[open] {
  border-color: var(--navy-soft);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--lime-soft);
  flex: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233E7A00' stroke-width='3' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-body {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
}
.faq-body strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ===== FINAL CTA ===== */
.final-cta { background: var(--paper); padding-bottom: clamp(80px, 9vw, 120px); }
.final-cta-card {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(48px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.final-cta-card::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,179,0,.22), transparent 65%);
  top: -120px; right: -100px;
  pointer-events: none;
}
.final-cta-card .label { color: var(--lime); margin-bottom: 16px; }
.final-cta-card h2 {
  color: var(--white);
  margin-bottom: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.final-cta-card > p {
  color: rgba(255,255,255,.82);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
}
.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}
.final-cta-meta {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
}
.final-cta-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}
.final-cta-meta-item svg {
  width: 16px; height: 16px;
  color: var(--lime);
  flex: none;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.72);
  padding: clamp(56px, 7vw, 80px) 0 28px;
}
.site-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .footer-logo {
  background: var(--white);
  padding: 6px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 16px;
}
.footer-brand .footer-logo img { height: 44px; width: auto; display: block; }
.footer-brand p {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255,255,255,.7);
  max-width: 300px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,.72);
  font-size: 14.5px;
  transition: color .15s;
}
.footer-links a:hover { color: var(--lime); }
.footer-contact {
  display: flex; flex-direction: column;
  gap: 14px;
  font-size: 14px;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
}
.footer-contact-item {
  display: flex; gap: 12px;
  align-items: flex-start;
}
.footer-contact-item svg {
  width: 18px; height: 18px;
  color: var(--lime);
  flex: none;
  margin-top: 2px;
}
.footer-contact-item strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}
.site-footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.52);
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.footer-socials a:hover { background: var(--lime); }
.footer-socials svg { width: 16px; height: 16px; color: var(--white); }
@media (max-width: 900px) { .site-footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .site-footer-top { grid-template-columns: 1fr; } }

/* ===== STICKY WHATSAPP ===== */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 100;
  background: var(--lime);
  color: var(--white);
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(91,179,0,.55), 0 2px 6px rgba(0,0,0,.08);
  transition: background .18s, transform .18s;
}
.wa-float:hover { background: var(--lime-deep); transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 540px) { .wa-float { width: 52px; height: 52px; bottom: 18px; right: 18px; } }

/* ==========================================================================
   INNER-PAGE COMPONENTS
   ========================================================================== */

/* ===== SERVICE-DETAIL HERO (split text + photo) ===== */
.svc-detail-intro {
  background: var(--white);
  padding: clamp(64px, 8vw, 96px) 0;
}
.svc-detail-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.svc-detail-intro-photo {
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--navy-soft);
  box-shadow: var(--shadow-lg);
}
.svc-detail-intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail-intro-text h2 { margin-bottom: 18px; }
.svc-detail-intro-text p {
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.svc-detail-intro-text p strong { color: var(--ink); font-weight: 600; }
.svc-detail-intro-checklist {
  list-style: none;
  padding: 0; margin: 22px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}
.svc-detail-intro-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.5;
}
.svc-detail-intro-checklist li svg {
  width: 18px; height: 18px;
  color: var(--lime-deep);
  flex: none;
  margin-top: 2px;
}
@media (max-width: 900px) {
  .svc-detail-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-detail-intro-photo { max-width: 460px; margin: 0 auto; aspect-ratio: 4/3; }
  .svc-detail-intro-checklist { grid-template-columns: 1fr; }
}

/* ===== INCLUDED ITEMS (icon + list) ===== */
.included { background: var(--paper); }
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.included-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: border-color .2s, box-shadow .2s;
}
.included-card:hover { border-color: var(--navy-soft); box-shadow: var(--shadow-md); }
.included-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--lime-soft);
  color: var(--lime-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.included-card-icon svg { width: 22px; height: 22px; }
.included-card h3 {
  font-size: 17px;
  margin-bottom: 12px;
  color: var(--ink);
}
.included-card ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 8px;
}
.included-card li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
}
.included-card li::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--lime-soft);
  flex: none;
  margin-top: 1px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%233E7A00' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}
@media (max-width: 1000px) { .included-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .included-grid { grid-template-columns: 1fr; } }

/* ===== PRICING FACTORS (no specific prices) ===== */
.factors { background: var(--white); }
.factors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.factor-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.factor-card:hover { border-color: var(--navy-soft); box-shadow: var(--shadow-md); }
.factor-card-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--navy-soft);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.factor-card-icon svg { width: 20px; height: 20px; }
.factor-card h3 { font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.factor-card p { font-size: 14px; line-height: 1.6; color: var(--body); }
@media (max-width: 900px) { .factors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .factors-grid { grid-template-columns: 1fr; } }

.quote-banner {
  margin-top: 40px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.quote-banner h3 { color: var(--white); font-size: 22px; margin-bottom: 8px; }
.quote-banner p { color: rgba(255,255,255,.78); font-size: 15.5px; max-width: 540px; }
@media (max-width: 720px) {
  .quote-banner { grid-template-columns: 1fr; gap: 20px; }
}

/* ===== SCENARIOS (case study cards) ===== */
.scenarios { background: var(--paper); }
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.scenario-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lime);
  border-radius: var(--r-md);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .2s, transform .2s;
}
.scenario-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.scenario-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--lime-soft);
  color: var(--lime-deep);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.scenario-card h3 { font-size: 18px; color: var(--ink); }
.scenario-card p { font-size: 14.5px; line-height: 1.6; color: var(--body); }
.scenario-result {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  color: var(--ink);
}
.scenario-result strong { color: var(--lime-deep); font-weight: 600; }
@media (max-width: 900px) { .scenarios-grid { grid-template-columns: 1fr; } }

/* ===== RELATED SERVICES ===== */
.related-services { background: var(--white); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.related-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 20px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.related-card:hover { border-color: var(--navy-soft); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.related-card h3 { font-size: 16px; color: var(--ink); }
.related-card p { font-size: 13.5px; line-height: 1.55; color: var(--mute); flex: 1; }
.related-card .service-link { font-size: 13px; }
@media (max-width: 1000px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .related-grid { grid-template-columns: 1fr; } }

/* ===== CONTACT CHANNELS ===== */
.contact-channels { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.contact-card:hover { border-color: var(--navy-soft); box-shadow: var(--shadow-md); }
.contact-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--lime-soft);
  color: var(--lime-deep);
  display: flex; align-items: center; justify-content: center;
}
.contact-card-icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 18px; color: var(--ink); }
.contact-card p { font-size: 14.5px; line-height: 1.6; color: var(--body); }
.contact-card .channel-value {
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 600;
}
.contact-card .channel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
}
.contact-card .channel-link svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-map {
  background: var(--paper);
}
.contact-map-frame {
  aspect-ratio: 16/8;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-soft);
  position: relative;
}
.contact-map-frame iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

/* ===== TIMELINE (about page) ===== */
.timeline { background: var(--paper); }
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.timeline-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.timeline-year {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  flex: none;
  width: 70px;
  line-height: 1.1;
}
.timeline-item h3 { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.timeline-item p { font-size: 14.5px; line-height: 1.6; color: var(--body); }
@media (max-width: 720px) { .timeline-grid { grid-template-columns: 1fr; } }

/* ===== SERVICE AREAS DETAIL ===== */
.areas-detail { background: var(--white); }
.areas-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.area-detail-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.area-detail-card:hover { border-color: var(--navy-soft); box-shadow: var(--shadow-md); }
.area-detail-card .area-pin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--lime-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.area-detail-card .area-pin svg { width: 14px; height: 14px; }
.area-detail-card h3 { font-size: 18px; color: var(--ink); }
.area-detail-card p { font-size: 14.5px; line-height: 1.55; color: var(--body); }
@media (max-width: 900px) { .areas-detail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .areas-detail-grid { grid-template-columns: 1fr; } }

/* ===== PROPERTY TYPES (icon-based grid) ===== */
.property-types { background: var(--white); }
.property-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.property-type {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.property-type:hover { border-color: var(--navy-soft); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.property-type-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy-soft);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.property-type-icon svg { width: 22px; height: 22px; }
.property-type h3 { font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.property-type p { font-size: 14px; line-height: 1.55; color: var(--body); flex: 1; }
.property-type .typical {
  font-size: 12.5px;
  color: var(--mute);
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  margin-top: 6px;
}
.property-type .typical b { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .property-types-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .property-types-grid { grid-template-columns: 1fr; } }

/* ===== DURATION TABLE ===== */
.duration { background: var(--paper); }
.duration-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow-x: auto;
  box-shadow: var(--shadow-xs);
}
.duration-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 640px;
}
.duration-table th, .duration-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.duration-table thead th {
  background: var(--paper);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.duration-table tbody tr:last-child td { border-bottom: none; }
.duration-table tbody tr:hover { background: var(--paper); }
.duration-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}
.duration-table .pill {
  display: inline-block;
  background: var(--lime-soft);
  color: var(--lime-deep);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}
.duration-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--mute);
}

/* ===== ADD-ONS (compact icon grid) ===== */
.addons { background: var(--white); }
.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.addon-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color .2s, box-shadow .2s;
}
.addon-card:hover { border-color: var(--navy-soft); box-shadow: var(--shadow-sm); }
.addon-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--lime-soft);
  color: var(--lime-deep);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.addon-icon svg { width: 18px; height: 18px; }
.addon-text strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
}
.addon-text span {
  font-size: 13px;
  color: var(--mute);
  line-height: 1.5;
}
@media (max-width: 900px) { .addons-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .addons-grid { grid-template-columns: 1fr; } }

/* ===== RECENT WORK GALLERY ===== */
.work-gallery { background: var(--paper); }
.work-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.work-item {
  aspect-ratio: 1/1;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  background: var(--navy-soft);
  cursor: default;
}
.work-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.work-item:hover img { transform: scale(1.05); }
.work-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(22,34,59,.65) 100%);
  pointer-events: none;
}
.work-label {
  position: absolute;
  bottom: 14px; left: 14px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  z-index: 2;
  letter-spacing: 0.01em;
}
@media (max-width: 900px) { .work-gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .work-gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   POST PAGE COMPONENTS (project case studies + blog articles)
   ========================================================================== */

/* ===== POST HERO (long-form article hero) ===== */
.post-hero {
  background: var(--paper);
  padding: clamp(40px, 5vw, 64px) 0 clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--line-soft);
}
.post-hero-inner { max-width: 860px; margin: 0 auto; }
.post-hero .breadcrumb { margin-bottom: 20px; }
.post-hero .label { margin-bottom: 10px; }
.post-hero h1 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.15;
  margin-bottom: 18px;
}
.post-hero .post-deck {
  font-size: clamp(16.5px, 1.2vw, 19px);
  line-height: 1.6;
  color: var(--body);
  margin-bottom: 28px;
  max-width: 720px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--mute);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.post-meta-item { display: inline-flex; align-items: center; gap: 8px; }
.post-meta-item svg { width: 15px; height: 15px; color: var(--lime-deep); }
.post-meta-item b { color: var(--ink); font-weight: 600; }
.post-meta-sep { color: var(--line); }

/* ===== POST FEATURED IMAGE ===== */
.post-feature {
  background: var(--paper);
  padding: 0 0 clamp(40px, 5vw, 64px);
}
.post-feature-frame {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}
.post-feature-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  background: var(--navy-soft);
}
.post-feature-caption {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--mute);
  font-style: italic;
  text-align: center;
}

/* ===== POST BODY (long-form article prose) ===== */
.post-body {
  background: var(--paper);
  padding: clamp(40px, 5vw, 64px) 0 clamp(60px, 7vw, 88px);
}
.post-body-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
}
.post-body-inner h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-top: 48px;
  margin-bottom: 18px;
  scroll-margin-top: 90px;
}
.post-body-inner h2:first-child { margin-top: 0; }
.post-body-inner h3 {
  font-size: clamp(19px, 1.7vw, 23px);
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-top: 36px;
  margin-bottom: 12px;
}
.post-body-inner p { margin-bottom: 18px; }
.post-body-inner p:last-child { margin-bottom: 0; }
.post-body-inner strong { color: var(--ink); font-weight: 600; }
.post-body-inner a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(0,48,120,.25);
  text-underline-offset: 3px;
  transition: text-decoration-color .15s;
}
.post-body-inner a:hover { text-decoration-color: var(--navy); }
.post-body-inner ul, .post-body-inner ol {
  padding-left: 24px;
  margin: 0 0 22px;
}
.post-body-inner li { margin-bottom: 8px; }
.post-body-inner ul li::marker { color: var(--lime); }
.post-body-inner ol li::marker { color: var(--navy); font-weight: 600; }
.post-body-inner blockquote {
  margin: 28px 0;
  padding: 6px 0 6px 22px;
  border-left: 3px solid var(--lime);
  font-style: italic;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.55;
}
.post-body-inner code {
  background: var(--bone, var(--lime-soft));
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}
.post-body-inner hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 44px 0;
}

/* ===== TABLE OF CONTENTS (blog posts) ===== */
.post-toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 26px;
  margin: 0 0 36px;
}
.post-toc-title {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lime-deep);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  text-transform: none;
}
.post-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.post-toc li { margin: 0; }
.post-toc a {
  display: inline-block;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  padding: 4px 0;
  transition: color .15s;
}
.post-toc a:hover { color: var(--navy); }

/* ===== INFOGRAPHIC BLOCK ===== */
.post-infographic {
  margin: 36px 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.post-infographic img {
  width: 100%;
  display: block;
  background: var(--navy-soft);
}
.post-infographic-caption {
  padding: 14px 22px;
  font-size: 13.5px;
  color: var(--mute);
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  font-style: italic;
}

/* ===== INTERNAL-LINK CALLOUT (mid-article CTA pointing to a service page) ===== */
.post-callout {
  margin: 36px 0;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 26px;
  background: var(--lime-soft);
  border: 1px solid rgba(91,179,0,.3);
  border-left: 3px solid var(--lime);
  border-radius: var(--r-md);
}
.post-callout-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--white);
  color: var(--lime-deep);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.post-callout-icon svg { width: 28px; height: 28px; }
.post-callout-text strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 4px;
  font-weight: 600;
}
.post-callout-text span {
  font-size: 14.5px;
  color: var(--mute-2);
  line-height: 1.55;
}
.post-callout .btn { white-space: nowrap; }
@media (max-width: 700px) {
  .post-callout { grid-template-columns: 1fr; text-align: left; }
  .post-callout-icon { display: none; }
  .post-callout .btn { width: 100%; justify-content: center; }
}

/* ===== PROJECT FACTS BOX (case study) ===== */
.project-facts {
  margin: 36px 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 36px;
}
.project-fact .label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--mute);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  text-transform: none;
}
.project-fact .value {
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}
@media (max-width: 540px) {
  .project-facts { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
}

/* ===== PROJECT OUTCOME HIGHLIGHT ===== */
.project-outcome {
  margin: 36px 0;
  padding: 32px 36px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.project-outcome .label {
  color: var(--lime);
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.project-outcome .outcome-line {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--white);
  letter-spacing: -0.015em;
}
.project-outcome .outcome-sub {
  margin-top: 10px;
  font-size: 14.5px;
  color: rgba(255,255,255,.78);
  line-height: 1.55;
}

/* ===== AUTHOR BIO ===== */
.post-author {
  margin: 56px 0 0;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  align-items: center;
}
.post-author-photo {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--navy-soft);
}
.post-author-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.post-author-info .label {
  font-size: 11.5px;
  color: var(--mute);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  display: block;
}
.post-author-info strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 4px;
  font-weight: 600;
}
.post-author-info p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 540px) {
  .post-author { grid-template-columns: 60px 1fr; gap: 16px; padding: 22px; }
  .post-author-photo { width: 60px; height: 60px; }
}

/* ===== POST CARDS (hub pages) ===== */
.post-cards { background: var(--white); }
.post-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.post-card:hover {
  border-color: var(--navy-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.post-card-img {
  aspect-ratio: 16/9;
  background: var(--navy-soft);
  overflow: hidden;
  position: relative;
}
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
}
.post-card-body { padding: 24px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card-body .post-card-meta {
  font-size: 12.5px;
  color: var(--mute);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
}
.post-card-body h3 {
  font-size: 19px;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--ink);
}
.post-card-body h3 a {
  color: inherit;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1.5px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .2s;
}
.post-card-body h3 a:hover { background-size: 100% 1.5px; }
.post-card-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: 16px;
  flex: 1;
}
.post-card-body .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  align-self: flex-start;
}
.post-card-body .read-more svg { width: 14px; height: 14px; transition: transform .15s; }
.post-card-body .read-more:hover svg { transform: translateX(3px); }
@media (max-width: 900px) { .post-cards-grid { grid-template-columns: 1fr; } }

/* ===== COMING SOON CARD ===== */
.coming-soon { background: var(--white); }
.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.coming-soon-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.coming-soon-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.coming-soon-img {
  aspect-ratio: 16/9;
  background: var(--navy-soft);
  position: relative;
  overflow: hidden;
}
.coming-soon-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) brightness(.92); }
.coming-soon-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}
.coming-soon-body { padding: 24px 24px 26px; }
.coming-soon-body h3 { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.coming-soon-body p { font-size: 14.5px; line-height: 1.6; color: var(--body); }
@media (max-width: 720px) { .coming-soon-grid { grid-template-columns: 1fr; } }
