/*
Theme Name: CBM Waterproofing
Theme URI: https://cbmwaterproofing.co.za
Author: CBM Waterproofing
Description: Professional WordPress theme for CBM Waterproofing — Cape Town's trusted waterproofing, roofing, dampproofing and painting specialists since 1993.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: cbm-waterproofing
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --cbm-blue:        #069cd1;
  --cbm-blue-dark:   #0581ae;
  --cbm-blue-light:  #1ab3e8;
  --cbm-blue-pale:   #e8f7fd;
  --cbm-navy:        #151728;
  --cbm-navy-mid:    #1e2135;
  --cbm-navy-light:  #2a2e4a;
  --cbm-white:       #ffffff;
  --cbm-off-white:   #f8fafc;
  --cbm-grey-light:  #f1f5f9;
  --cbm-grey:        #94a3b8;
  --cbm-grey-dark:   #64748b;
  --cbm-text:        #1e293b;
  --cbm-text-light:  #475569;
  --cbm-border:      #e2e8f0;

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-heading: 'Barlow', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --container:   1280px;
  --container-w: 1440px;
  --container-n: 860px;

  --r:    8px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
  --shadow-blue: 0 8px 32px rgba(6,156,209,.28);
  --shadow-blue-lg: 0 16px 48px rgba(6,156,209,.38);

  --ease: cubic-bezier(.4,0,.2,1);
  --bounce: cubic-bezier(.34,1.56,.64,1);
}

/* ============================================================
   RESET
   ============================================================ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--cbm-text);
  background: var(--cbm-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul,ol { list-style: none; }
button,input,textarea,select { font-family: inherit; font-size: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cbm-navy);
}
h1 { font-size: clamp(2.4rem,5vw,4.5rem); }
h2 { font-size: clamp(1.8rem,3.5vw,3rem); }
h3 { font-size: clamp(1.3rem,2.5vw,1.75rem); }
h4 { font-size: 1.25rem; }
p  { line-height: 1.75; color: var(--cbm-text-light); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container        { width:100%; max-width:var(--container);   margin:0 auto; padding:0 1.5rem; }
.container-wide   { width:100%; max-width:var(--container-w); margin:0 auto; padding:0 2rem; }
.container-narrow { width:100%; max-width:var(--container-n); margin:0 auto; padding:0 1.5rem; }
.section-pad      { padding:6rem 0; }
.section-pad-sm   { padding:4rem 0; }

/* ============================================================
   SECTION LABELS
   ============================================================ */
.label {
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:var(--font-heading); font-size:.75rem; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase;
  color:var(--cbm-blue); margin-bottom:.875rem;
}
.label::before {
  content:''; display:block; width:20px; height:2px;
  background:var(--cbm-blue); border-radius:2px;
}
.section-title {
  font-size:clamp(2rem,3.5vw,2.875rem); font-weight:800;
  color:var(--cbm-navy); line-height:1.12; margin-bottom:.875rem;
}
.section-title span { color:var(--cbm-blue); }
.section-sub {
  font-size:1.05rem; color:var(--cbm-text-light);
  max-width:600px; line-height:1.75;
}
.section-header { margin-bottom:3.5rem; }
.section-header.center { text-align:center; }
.section-header.center .label { justify-content:center; }
.section-header.center .section-sub { margin:0 auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.875rem 1.875rem; border-radius:var(--r);
  font-family:var(--font-heading); font-weight:700; font-size:.9rem;
  letter-spacing:.02em; cursor:pointer; border:2px solid transparent;
  transition:all .3s var(--bounce); white-space:nowrap;
  position:relative; overflow:hidden;
}
.btn svg { width:18px; height:18px; transition:transform .25s var(--ease); }
.btn:hover svg { transform:translateX(3px); }

.btn-primary {
  background:var(--cbm-blue); color:var(--cbm-white);
  box-shadow:var(--shadow-blue);
}
.btn-primary:hover {
  background:var(--cbm-blue-dark);
  transform:translateY(-2px);
  box-shadow:var(--shadow-blue-lg);
}
.btn-outline-white {
  background:transparent; color:var(--cbm-white);
  border-color:rgba(255,255,255,.45);
}
.btn-outline-white:hover {
  background:rgba(255,255,255,.1); border-color:var(--cbm-white);
  transform:translateY(-2px);
}
.btn-outline-blue {
  background:transparent; color:var(--cbm-blue);
  border-color:var(--cbm-blue);
}
.btn-outline-blue:hover {
  background:var(--cbm-blue); color:var(--cbm-white);
  transform:translateY(-2px);
}
.btn-dark {
  background:var(--cbm-navy); color:var(--cbm-white);
}
.btn-dark:hover {
  background:var(--cbm-navy-mid); transform:translateY(-2px);
  box-shadow:var(--shadow-lg);
}
.btn-lg { padding:1.1rem 2.5rem; font-size:1rem; }
.btn-group { display:flex; align-items:center; gap:1rem; flex-wrap:wrap; }

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position:fixed; top:0; left:0; right:0; z-index:900;
  transition:all .35s var(--ease);
}
#site-header.header-transparent { background:transparent; }
#site-header.header-scrolled {
  background:var(--cbm-navy);
  box-shadow:0 2px 24px rgba(0,0,0,.35);
}

.header-inner {
  display:flex; align-items:center; justify-content:space-between;
  padding:1.25rem 2rem; max-width:var(--container-w); margin:0 auto;
  gap:2rem;
}
.header-logo img { height:42px; width:auto; }

.primary-nav {
  display:flex; align-items:center; gap:.125rem;
}
.primary-nav a {
  display:block; padding:.5rem .875rem;
  font-family:var(--font-heading); font-weight:600; font-size:.88rem;
  color:rgba(255,255,255,.82); border-radius:6px;
  transition:all .2s var(--ease); letter-spacing:.01em;
  position:relative;
}
.primary-nav a::after {
  content:''; position:absolute; bottom:4px; left:.875rem; right:.875rem;
  height:2px; background:var(--cbm-blue); border-radius:2px;
  transform:scaleX(0); transition:transform .25s var(--ease);
}
.primary-nav a:hover { color:var(--cbm-white); background:rgba(255,255,255,.07); }
.primary-nav a:hover::after,
.primary-nav a.active::after { transform:scaleX(1); }
.primary-nav a.active { color:var(--cbm-white); }

.header-actions {
  display:flex; align-items:center; gap:.875rem;
}
.header-phone {
  display:flex; align-items:center; gap:.4rem;
  color:rgba(255,255,255,.82); font-weight:600; font-size:.88rem;
  transition:color .2s; white-space:nowrap;
}
.header-phone svg { width:15px; height:15px; }
.header-phone:hover { color:var(--cbm-blue); }

/* Hamburger */
.nav-toggle {
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer;
  padding:.5rem; border-radius:6px;
}
.nav-toggle span {
  display:block; width:24px; height:2px;
  background:var(--cbm-white); border-radius:2px;
  transition:all .3s var(--ease); transform-origin:center;
}
.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 menu */
.mobile-menu {
  position:fixed; inset:0; background:var(--cbm-navy); z-index:800;
  padding:6rem 2rem 2rem; display:flex; flex-direction:column; gap:.375rem;
  transform:translateX(100%); transition:transform .45s var(--ease);
  overflow-y:auto;
}
.mobile-menu.open { transform:translateX(0); }
.mobile-menu a {
  display:block; padding:.875rem 1.25rem;
  font-family:var(--font-heading); font-weight:700; font-size:1.15rem;
  color:rgba(255,255,255,.8); border-radius:var(--r);
  border-bottom:1px solid rgba(255,255,255,.06);
  transition:all .2s var(--ease);
}
.mobile-menu a:hover {
  color:var(--cbm-blue); background:rgba(255,255,255,.04);
  padding-left:1.75rem;
}
.mobile-menu-footer {
  margin-top:1.5rem; padding-top:1.5rem;
  border-top:1px solid rgba(255,255,255,.1);
  display:flex; flex-direction:column; gap:.75rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position:relative; min-height:100svh;
  display:flex; align-items:center;
  background:var(--cbm-navy); overflow:hidden;
}
.hero-bg-img {
  position:absolute; inset:0;
  background-size:cover; background-position:center 30%;
  /* Placeholder gradient — client replaces with real image */
  background-image:linear-gradient(160deg,#0d1323 0%,#151f3a 40%,#0c2a3d 100%);
  transform:scale(1.06);
  animation:heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom { from{transform:scale(1.06)} to{transform:scale(1.14)} }

.hero-overlay {
  position:absolute; inset:0;
  background:linear-gradient(110deg, rgba(21,23,40,.96) 0%, rgba(21,23,40,.78) 55%, rgba(6,156,209,.08) 100%);
}
.hero-grid-pattern {
  position:absolute; inset:0; opacity:.03;
  background-image:
    linear-gradient(rgba(6,156,209,1) 1px,transparent 1px),
    linear-gradient(90deg,rgba(6,156,209,1) 1px,transparent 1px);
  background-size:60px 60px;
  animation:gridDrift 60s linear infinite;
}
@keyframes gridDrift { to{ background-position:60px 60px; } }

.hero-orb {
  position:absolute; border-radius:50%; filter:blur(90px);
  pointer-events:none;
}
.hero-orb-1 {
  width:700px; height:700px; background:var(--cbm-blue); opacity:.07;
  top:-250px; right:-150px; animation:orbPulse 14s ease-in-out infinite;
}
.hero-orb-2 {
  width:450px; height:450px; background:var(--cbm-blue-light); opacity:.05;
  bottom:-150px; left:5%; animation:orbPulse 10s ease-in-out infinite reverse;
}
@keyframes orbPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.12)} }

.hero-content {
  position:relative; z-index:2; width:100%;
}
.hero-inner {
  display:grid; grid-template-columns:1fr 400px; gap:4rem;
  align-items:center; max-width:var(--container-w); margin:0 auto;
  padding:9rem 2rem 5rem;
}
.hero-badge {
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.35rem .875rem;
  background:rgba(6,156,209,.12); border:1px solid rgba(6,156,209,.25);
  border-radius:50px; font-size:.75rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase;
  color:var(--cbm-blue-light); margin-bottom:1.25rem;
  animation:fadeUp .7s ease both;
}
.hero-badge-dot {
  width:6px; height:6px; background:var(--cbm-blue);
  border-radius:50%; animation:dotPulse 2s ease infinite;
}
@keyframes dotPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }

.hero-title {
  font-family:var(--font-display); font-weight:800;
  font-size:clamp(3rem,7vw,6.5rem); line-height:.95;
  color:var(--cbm-white); letter-spacing:-.015em;
  text-transform:uppercase; margin-bottom:1.25rem;
  animation:fadeUp .7s .1s ease both;
}
.hero-title .accent {
  color:var(--cbm-blue); display:block;
  position:relative; padding-bottom:.2rem;
}
.hero-title .accent::after {
  content:''; position:absolute; bottom:0; left:0;
  height:3px; background:var(--cbm-blue); border-radius:2px;
  width:0; animation:lineGrow 1s .9s ease forwards;
}
@keyframes lineGrow { to{ width:100%; } }

.hero-tagline {
  font-size:clamp(1rem,1.6vw,1.2rem);
  color:rgba(255,255,255,.65);
  max-width:500px; line-height:1.7; margin-bottom:2rem;
  animation:fadeUp .7s .2s ease both;
}
.hero-stats {
  display:flex; gap:2rem; margin-bottom:2.25rem;
  animation:fadeUp .7s .3s ease both;
}
.hero-stat-num {
  font-family:var(--font-display); font-size:2.25rem; font-weight:800;
  color:var(--cbm-blue); line-height:1; display:block;
}
.hero-stat-lbl {
  font-size:.75rem; color:rgba(255,255,255,.45);
  text-transform:uppercase; letter-spacing:.06em; font-weight:600;
  display:block; margin-top:.2rem;
}
.hero-actions { animation:fadeUp .7s .4s ease both; }

/* Quick-contact card */
.hero-card {
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.11);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-radius:var(--r-xl); padding:2.25rem;
  animation:fadeUp .7s .55s ease both;
}
.hero-card h3 { color:var(--cbm-white); font-size:1.2rem; margin-bottom:.375rem; }
.hero-card p  { color:rgba(255,255,255,.55); font-size:.875rem; margin-bottom:1.375rem; }
.hero-form { display:flex; flex-direction:column; gap:.75rem; }
.hero-form input,
.hero-form select,
.hero-form textarea {
  width:100%; padding:.8rem 1rem;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14);
  border-radius:var(--r); color:var(--cbm-white); font-size:.88rem;
  transition:border-color .2s, background .2s;
}
.hero-form input::placeholder { color:rgba(255,255,255,.38); }
.hero-form select option { background:var(--cbm-navy); }
.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
  outline:none; border-color:var(--cbm-blue);
  background:rgba(6,156,209,.09);
}
.hero-form textarea { resize:vertical; min-height:80px; }

/* Scroll hint */
.scroll-hint {
  position:absolute; bottom:2rem; left:50%;
  transform:translateX(-50%); z-index:2;
  display:flex; flex-direction:column; align-items:center; gap:.4rem;
  animation:fadeUp .7s 1.2s ease both;
}
.scroll-hint span {
  font-size:.7rem; text-transform:uppercase; letter-spacing:.12em;
  color:rgba(255,255,255,.35); font-weight:600;
}
.scroll-chevron {
  width:34px; height:34px; border:1px solid rgba(255,255,255,.15);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.4);
  animation:scrollBounce 2s ease infinite;
}
.scroll-chevron svg { width:14px; height:14px; }
@keyframes scrollBounce { 0%,100%{transform:translateY(0)} 55%{transform:translateY(7px)} }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { background:var(--cbm-blue); padding:1rem 0; overflow:hidden; }
.trust-bar-inner {
  display:flex; align-items:center; justify-content:center;
  flex-wrap:wrap;
}
.trust-item {
  display:flex; align-items:center; gap:.5rem;
  padding:.5rem 2rem; color:var(--cbm-white);
  font-weight:700; font-size:.82rem; letter-spacing:.03em;
  border-right:1px solid rgba(255,255,255,.22); white-space:nowrap;
}
.trust-item:last-child { border-right:none; }
.trust-item svg { width:16px; height:16px; flex-shrink:0; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background:var(--cbm-off-white); }
.services-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem;
}
.svc-card {
  background:var(--cbm-white); border-radius:var(--r-lg);
  border:1px solid var(--cbm-border); overflow:hidden;
  transition:all .35s var(--ease); position:relative;
}
.svc-card::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,var(--cbm-blue),var(--cbm-navy));
  opacity:0; transition:opacity .35s var(--ease); z-index:0;
}
.svc-card:hover { transform:translateY(-8px); box-shadow:var(--shadow-lg); border-color:var(--cbm-blue); }
.svc-card:hover::before { opacity:1; }
.svc-img-wrap { overflow:hidden; }
.svc-img-placeholder {
  height:180px; background:linear-gradient(135deg,#0d1526,#1a2a3f);
  display:flex; align-items:center; justify-content:center; font-size:2.5rem;
  transition:transform .5s var(--ease);
}
.svc-card:hover .svc-img-placeholder { transform:scale(1.06); }
.svc-body { padding:1.75rem; position:relative; z-index:1; }
.svc-icon {
  width:48px; height:48px; background:var(--cbm-blue-pale);
  border-radius:12px; display:flex; align-items:center; justify-content:center;
  margin-bottom:1rem; transition:all .3s var(--ease);
}
.svc-icon svg { width:24px; height:24px; color:var(--cbm-blue); transition:color .3s; }
.svc-card:hover .svc-icon { background:rgba(255,255,255,.15); }
.svc-card:hover .svc-icon svg { color:var(--cbm-white); }
.svc-card h3 { font-size:1.1rem; margin-bottom:.5rem; transition:color .3s; }
.svc-card:hover h3 { color:var(--cbm-white); }
.svc-card p { font-size:.875rem; line-height:1.65; margin-bottom:1.1rem; transition:color .3s; }
.svc-card:hover p { color:rgba(255,255,255,.7); }
.svc-link {
  display:inline-flex; align-items:center; gap:.35rem;
  font-weight:700; font-size:.82rem; color:var(--cbm-blue);
  transition:all .25s var(--ease);
}
.svc-link svg { width:14px; height:14px; transition:transform .25s var(--ease); }
.svc-card:hover .svc-link { color:var(--cbm-white); }
.svc-card:hover .svc-link svg { transform:translateX(4px); }

/* ============================================================
   ABOUT TEASER (homepage)
   ============================================================ */
.about-teaser { background:var(--cbm-white); }
.about-teaser-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center;
}
.about-img-wrap { position:relative; }
.about-img-main {
  width:100%; aspect-ratio:4/5; object-fit:cover;
  border-radius:var(--r-xl); box-shadow:var(--shadow-lg);
  background:linear-gradient(135deg,#0d1526,#1a2a3f);
  min-height:400px; display:flex; align-items:flex-end;
  overflow:hidden;
}
.about-img-placeholder {
  width:100%; aspect-ratio:4/5; min-height:400px;
  background:linear-gradient(160deg,#0d1526 0%,#0a2236 60%,#0e1e34 100%);
  border-radius:var(--r-xl); box-shadow:var(--shadow-lg);
  display:flex; align-items:center; justify-content:center; font-size:4rem;
  position:relative; overflow:hidden;
}
.about-img-placeholder::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(to top,rgba(6,156,209,.15),transparent);
}
.about-years-badge {
  position:absolute; bottom:-1.5rem; right:-1.5rem;
  background:var(--cbm-blue); color:var(--cbm-white);
  border-radius:var(--r-lg); padding:1.375rem 1.5rem;
  box-shadow:var(--shadow-blue); text-align:center; min-width:110px;
}
.years-num {
  font-family:var(--font-display); font-size:2.75rem; font-weight:800;
  line-height:1; display:block;
}
.years-lbl {
  font-size:.7rem; text-transform:uppercase;
  letter-spacing:.08em; font-weight:700; opacity:.85;
  display:block; margin-top:.25rem;
}
.about-text-wrap .section-sub { margin-bottom:1.75rem; }
.about-pillars {
  display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-bottom:2rem;
}
.pillar {
  display:flex; gap:.75rem; align-items:flex-start;
  padding:1rem; background:var(--cbm-off-white);
  border-radius:var(--r); border:1px solid var(--cbm-border);
  transition:border-color .25s, box-shadow .25s;
}
.pillar:hover { border-color:var(--cbm-blue); box-shadow:0 4px 16px rgba(6,156,209,.1); }
.pillar-icon {
  width:36px; height:36px; background:var(--cbm-blue-pale);
  border-radius:8px; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.pillar-icon svg { width:18px; height:18px; color:var(--cbm-blue); }
.pillar h4 { font-size:.875rem; color:var(--cbm-navy); margin-bottom:.2rem; }
.pillar p  { font-size:.8rem; line-height:1.55; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background:var(--cbm-navy); position:relative; overflow:hidden; }
.process::after {
  content:''; position:absolute; top:0; right:0; bottom:0; width:45%;
  background:linear-gradient(135deg,transparent,rgba(6,156,209,.04));
  pointer-events:none;
}
.process-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:2rem;
  position:relative;
}
.process-grid::before {
  content:''; position:absolute; top:3.25rem;
  left:12.5%; right:12.5%; height:1px;
  background:linear-gradient(90deg,transparent,rgba(6,156,209,.3),transparent);
}
.process-step { text-align:center; }
.process-num {
  width:66px; height:66px;
  background:linear-gradient(135deg,var(--cbm-blue),var(--cbm-blue-dark));
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  margin:0 auto 1.375rem;
  font-family:var(--font-display); font-size:1.5rem; font-weight:800;
  color:var(--cbm-white); box-shadow:0 6px 20px rgba(6,156,209,.35);
  position:relative; z-index:1;
  transition:transform .35s var(--bounce);
}
.process-step:hover .process-num { transform:scale(1.1); }
.process-step h3 { color:var(--cbm-white); font-size:1.05rem; margin-bottom:.5rem; }
.process-step p  { font-size:.875rem; color:rgba(255,255,255,.5); line-height:1.65; }

/* ============================================================
   SHOWCASE PREVIEW
   ============================================================ */
.showcase-preview { background:var(--cbm-off-white); }
.showcase-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:1.75rem;
}
.project-card {
  background:var(--cbm-white); border-radius:var(--r-lg);
  overflow:hidden; border:1px solid var(--cbm-border);
  transition:all .35s var(--ease); cursor:pointer;
}
.project-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:var(--cbm-blue); }
.project-img {
  height:220px; overflow:hidden;
  background:linear-gradient(135deg,#0d1526,#1a2a3f);
  display:flex; align-items:center; justify-content:center; font-size:3rem;
  position:relative;
}
.project-img img { width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.project-card:hover .project-img img { transform:scale(1.06); }
.project-tag {
  position:absolute; top:.875rem; left:.875rem;
  background:var(--cbm-blue); color:var(--cbm-white);
  font-size:.7rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  padding:.3rem .7rem; border-radius:50px;
}
.project-body { padding:1.5rem; }
.project-body h3 { font-size:1.05rem; color:var(--cbm-navy); margin-bottom:.375rem; }
.project-body p  { font-size:.875rem; line-height:1.6; }
.project-meta {
  display:flex; gap:.5rem; margin-top:1rem; flex-wrap:wrap;
}
.project-chip {
  font-size:.72rem; font-weight:600; letter-spacing:.04em;
  background:var(--cbm-blue-pale); color:var(--cbm-blue);
  padding:.25rem .625rem; border-radius:50px;
}

/* ============================================================
   WHY US STATS
   ============================================================ */
.stats-section { background:var(--cbm-navy); }
.stats-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:2rem;
}
.stat-block { text-align:center; }
.stat-block-num {
  font-family:var(--font-display); font-size:clamp(3rem,5vw,4.5rem);
  font-weight:800; color:var(--cbm-blue); line-height:1; display:block;
  margin-bottom:.375rem;
}
.stat-block-lbl {
  font-size:.875rem; color:rgba(255,255,255,.5);
  text-transform:uppercase; letter-spacing:.07em; font-weight:600;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background:var(--cbm-white); }
.testimonials-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:1.75rem;
}
.testi-card {
  background:var(--cbm-off-white); border-radius:var(--r-lg);
  padding:2rem; border:1px solid var(--cbm-border);
  transition:all .3s var(--ease); position:relative;
}
.testi-card:hover { box-shadow:var(--shadow-md); border-color:var(--cbm-blue); transform:translateY(-4px); }
.testi-quote {
  font-size:2.5rem; color:var(--cbm-blue); line-height:.8;
  font-family:Georgia,serif; margin-bottom:.875rem;
}
.testi-stars { color:var(--cbm-blue); font-size:1rem; margin-bottom:1rem; letter-spacing:.1em; }
.testi-text {
  font-size:.9rem; line-height:1.7; color:var(--cbm-text-light);
  margin-bottom:1.25rem; font-style:italic;
}
.testi-author { display:flex; align-items:center; gap:.75rem; }
.testi-avatar {
  width:42px; height:42px; border-radius:50%;
  background:var(--cbm-blue); display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:.875rem; color:var(--cbm-white); flex-shrink:0;
}
.testi-name  { font-weight:700; font-size:.9rem; color:var(--cbm-navy); }
.testi-loc   { font-size:.78rem; color:var(--cbm-grey-dark); }

/* ============================================================
   INSTAGRAM FEED
   ============================================================ */
.instagram { background:var(--cbm-off-white); }
.insta-header {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:2rem; flex-wrap:wrap; gap:1rem;
}
.insta-handle {
  display:flex; align-items:center; gap:.5rem;
  color:var(--cbm-grey-dark); font-weight:600; font-size:.9rem;
}
.insta-handle svg { width:18px; height:18px; }
.insta-grid {
  display:grid; grid-template-columns:repeat(6,1fr); gap:.75rem;
}
.insta-cell {
  aspect-ratio:1; border-radius:var(--r);
  background:linear-gradient(135deg,#0d1526,#1a2a3f);
  overflow:hidden; cursor:pointer; position:relative;
}
.insta-cell img { width:100%; height:100%; object-fit:cover; transition:transform .45s var(--ease); }
.insta-cell:hover img { transform:scale(1.08); }
.insta-cell-overlay {
  position:absolute; inset:0;
  background:rgba(6,156,209,.75); opacity:0;
  display:flex; align-items:center; justify-content:center;
  transition:opacity .3s; color:#fff; font-size:1.4rem;
}
.insta-cell:hover .insta-cell-overlay { opacity:1; }
.insta-placeholder {
  width:100%; height:100%; display:flex; align-items:center;
  justify-content:center; font-size:1.5rem; opacity:.4;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background:linear-gradient(135deg,var(--cbm-blue-dark),var(--cbm-blue));
  padding:5rem 0; position:relative; overflow:hidden;
}
.cta-band::before {
  content:''; position:absolute; inset:0; opacity:.06;
  background-image:
    repeating-linear-gradient(-45deg,#fff 0,#fff 1px,transparent 1px,transparent 50px);
}
.cta-band-inner {
  position:relative; z-index:1; text-align:center;
}
.cta-band h2 {
  color:var(--cbm-white); font-size:clamp(2rem,4vw,3rem);
  font-weight:800; margin-bottom:.875rem;
}
.cta-band p { color:rgba(255,255,255,.7); font-size:1.05rem; margin-bottom:2rem; max-width:540px; margin-left:auto; margin-right:auto; }
.cta-band .btn-group { justify-content:center; }
.cta-band .btn-outline-white { border-color:rgba(255,255,255,.5); }

/* ============================================================
   FAQ (homepage snippet + full page)
   ============================================================ */
.faq { background:var(--cbm-white); }
.faq-item {
  border-bottom:1px solid var(--cbm-border); overflow:hidden;
}
.faq-question {
  width:100%; text-align:left; background:none; border:none;
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1.375rem 0; cursor:pointer;
  font-family:var(--font-heading); font-weight:700; font-size:1rem;
  color:var(--cbm-navy); transition:color .2s;
}
.faq-question:hover { color:var(--cbm-blue); }
.faq-icon {
  width:28px; height:28px; border-radius:50%;
  border:2px solid var(--cbm-border); display:flex; align-items:center;
  justify-content:center; flex-shrink:0; transition:all .3s var(--ease);
  color:var(--cbm-grey-dark);
}
.faq-icon svg { width:14px; height:14px; transition:transform .3s var(--ease); }
.faq-item.open .faq-icon { background:var(--cbm-blue); border-color:var(--cbm-blue); color:#fff; }
.faq-item.open .faq-icon svg { transform:rotate(45deg); }
.faq-answer {
  max-height:0; overflow:hidden; transition:max-height .4s var(--ease);
}
.faq-answer-inner {
  padding:0 0 1.375rem;
  font-size:.9rem; color:var(--cbm-text-light); line-height:1.75;
}
.faq-item.open .faq-answer { max-height:400px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background:var(--cbm-off-white); }
.contact-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:start;
}
.contact-info h2 { margin-bottom:1rem; }
.contact-info .section-sub { margin-bottom:2rem; }
.contact-details { display:flex; flex-direction:column; gap:1.25rem; margin-bottom:2rem; }
.contact-detail {
  display:flex; gap:1rem; align-items:flex-start;
}
.contact-detail-icon {
  width:44px; height:44px; background:var(--cbm-blue);
  border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-detail-icon svg { width:20px; height:20px; color:#fff; }
.contact-detail h4 { font-size:.85rem; color:var(--cbm-grey-dark); text-transform:uppercase; letter-spacing:.06em; margin-bottom:.2rem; }
.contact-detail a,
.contact-detail p  { font-size:1rem; font-weight:600; color:var(--cbm-navy); }
.contact-detail a:hover { color:var(--cbm-blue); }

.contact-form-wrap {
  background:var(--cbm-white); border-radius:var(--r-xl);
  padding:2.5rem; box-shadow:var(--shadow-md); border:1px solid var(--cbm-border);
}
.contact-form-wrap h3 { margin-bottom:.375rem; }
.contact-form-wrap > p { font-size:.875rem; margin-bottom:1.75rem; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.form-group { display:flex; flex-direction:column; gap:.4rem; margin-bottom:1rem; }
.form-group label { font-size:.82rem; font-weight:700; color:var(--cbm-navy); letter-spacing:.02em; }
.form-group input,
.form-group select,
.form-group textarea {
  padding:.8rem 1rem; border:1.5px solid var(--cbm-border);
  border-radius:var(--r); font-size:.9rem; color:var(--cbm-text);
  background:var(--cbm-white); transition:border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline:none; border-color:var(--cbm-blue);
  box-shadow:0 0 0 3px rgba(6,156,209,.1);
}
.form-group textarea { resize:vertical; min-height:120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color:var(--cbm-grey); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background:var(--cbm-navy); }
.footer-main {
  padding:5rem 0 3.5rem;
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:3rem;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.footer-brand img { height:38px; margin-bottom:1.25rem; }
.footer-brand p {
  font-size:.875rem; color:rgba(255,255,255,.45); line-height:1.7;
  max-width:280px; margin-bottom:1.5rem;
}
.footer-socials {
  display:flex; gap:.625rem;
}
.footer-social {
  width:36px; height:36px; border-radius:8px;
  border:1px solid rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.5); transition:all .25s var(--ease);
}
.footer-social:hover { background:var(--cbm-blue); border-color:var(--cbm-blue); color:#fff; }
.footer-social svg { width:16px; height:16px; }
.footer-col h4 {
  font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em;
  color:rgba(255,255,255,.35); margin-bottom:1.125rem;
}
.footer-col a {
  display:block; font-size:.875rem; color:rgba(255,255,255,.55);
  padding:.3rem 0; transition:color .2s;
}
.footer-col a:hover { color:var(--cbm-blue); }
.footer-bottom {
  padding:1.5rem 0;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:.75rem;
}
.footer-bottom p { font-size:.8rem; color:rgba(255,255,255,.3); }
.footer-bottom a { color:rgba(255,255,255,.3); transition:color .2s; }
.footer-bottom a:hover { color:var(--cbm-blue); }
.footer-reg {
  font-size:.75rem; color:rgba(255,255,255,.22);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background:var(--cbm-navy); padding:9rem 0 5rem;
  position:relative; overflow:hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0; opacity:.03;
  background-image:
    linear-gradient(rgba(6,156,209,1) 1px,transparent 1px),
    linear-gradient(90deg,rgba(6,156,209,1) 1px,transparent 1px);
  background-size:60px 60px;
}
.page-hero-inner { position:relative; z-index:1; }
.page-hero .label { color:var(--cbm-blue-light); }
.page-hero h1 { color:var(--cbm-white); margin-bottom:.875rem; }
.page-hero p  { color:rgba(255,255,255,.6); max-width:580px; font-size:1.05rem; }

/* Breadcrumb */
.breadcrumb {
  display:flex; align-items:center; gap:.5rem; flex-wrap:wrap;
  margin-bottom:1.5rem;
}
.breadcrumb a { font-size:.8rem; color:rgba(255,255,255,.4); font-weight:600; }
.breadcrumb a:hover { color:var(--cbm-blue); }
.breadcrumb span { font-size:.8rem; color:rgba(255,255,255,.2); }
.breadcrumb .current { font-size:.8rem; color:rgba(255,255,255,.6); font-weight:600; }

/* ============================================================
   ABOUT FULL PAGE
   ============================================================ */
.about-story { background:var(--cbm-white); }
.about-story-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center;
}
.about-team { background:var(--cbm-off-white); }
.team-grid {
  display:grid; grid-template-columns:repeat(2,1fr); gap:2rem;
  max-width:700px; margin:0 auto;
}
.team-card {
  background:var(--cbm-white); border-radius:var(--r-xl);
  overflow:hidden; border:1px solid var(--cbm-border); text-align:center;
  transition:all .3s var(--ease);
}
.team-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.team-photo {
  height:200px;
  background:linear-gradient(160deg,var(--cbm-navy),var(--cbm-navy-mid));
  display:flex; align-items:center; justify-content:center; font-size:3.5rem;
}
.team-body { padding:1.5rem; }
.team-body h3 { font-size:1.1rem; margin-bottom:.25rem; }
.team-role {
  font-size:.78rem; font-weight:700; text-transform:uppercase;
  letter-spacing:.08em; color:var(--cbm-blue); margin-bottom:.75rem;
}
.team-body p { font-size:.875rem; line-height:1.65; }

.about-values { background:var(--cbm-navy); }
.values-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:2rem;
}
.value-card {
  padding:2rem; border-radius:var(--r-lg);
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  transition:all .3s var(--ease);
}
.value-card:hover {
  background:rgba(6,156,209,.08); border-color:rgba(6,156,209,.25);
  transform:translateY(-4px);
}
.value-icon {
  width:52px; height:52px; background:rgba(6,156,209,.15);
  border-radius:12px; display:flex; align-items:center; justify-content:center;
  margin-bottom:1.25rem;
}
.value-icon svg { width:24px; height:24px; color:var(--cbm-blue); }
.value-card h3 { color:var(--cbm-white); font-size:1.05rem; margin-bottom:.5rem; }
.value-card p  { font-size:.875rem; color:rgba(255,255,255,.45); line-height:1.7; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-detail { background:var(--cbm-white); }
.service-detail-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:start;
}
.service-detail-img {
  height:450px; background:linear-gradient(135deg,#0d1526,#1a2a3f);
  border-radius:var(--r-xl); display:flex; align-items:center;
  justify-content:center; font-size:4rem;
  position:sticky; top:7rem;
}
.service-feature-list { display:flex; flex-direction:column; gap:.75rem; margin:1.5rem 0; }
.service-feature {
  display:flex; gap:.75rem; align-items:flex-start;
  padding:.875rem; background:var(--cbm-off-white); border-radius:var(--r);
  border:1px solid var(--cbm-border);
}
.service-feature-check {
  width:24px; height:24px; background:var(--cbm-blue);
  border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.service-feature-check svg { width:12px; height:12px; color:#fff; }
.service-feature p { font-size:.875rem; line-height:1.6; }

/* ============================================================
   SHOWCASE / GALLERY PAGE
   ============================================================ */
.showcase-filter { background:var(--cbm-white); padding:2.5rem 0 0; }
.filter-tabs {
  display:flex; gap:.625rem; flex-wrap:wrap;
  border-bottom:2px solid var(--cbm-border); padding-bottom:.875rem;
}
.filter-btn {
  padding:.5rem 1.25rem; border-radius:50px;
  font-weight:700; font-size:.82rem; letter-spacing:.04em;
  border:1.5px solid var(--cbm-border); background:transparent;
  color:var(--cbm-grey-dark); cursor:pointer; transition:all .25s var(--ease);
}
.filter-btn:hover { border-color:var(--cbm-blue); color:var(--cbm-blue); }
.filter-btn.active { background:var(--cbm-blue); border-color:var(--cbm-blue); color:#fff; }
.showcase-masonry {
  display:grid; grid-template-columns:repeat(3,1fr); gap:1.75rem;
}
.gallery-full {
  display:grid; grid-template-columns:repeat(4,1fr); gap:1rem;
}
.gallery-item {
  aspect-ratio:1; border-radius:var(--r); overflow:hidden; cursor:pointer;
  background:linear-gradient(135deg,#0d1526,#1a2a3f);
  position:relative;
}
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform .45s var(--ease); }
.gallery-item:hover img { transform:scale(1.08); }
.gallery-item-overlay {
  position:absolute; inset:0; background:rgba(21,23,40,.6); opacity:0;
  display:flex; align-items:center; justify-content:center;
  transition:opacity .3s; color:#fff;
}
.gallery-item:hover .gallery-item-overlay { opacity:1; }
.gallery-item-overlay svg { width:28px; height:28px; }
.gallery-placeholder {
  width:100%; height:100%; display:flex; align-items:center;
  justify-content:center; font-size:2rem; opacity:.35;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position:fixed; inset:0; background:rgba(0,0,0,.92); z-index:9999;
  display:none; align-items:center; justify-content:center;
  padding:2rem;
}
.lightbox.open { display:flex; }
.lightbox-img {
  max-width:90vw; max-height:85vh; border-radius:var(--r-lg);
  box-shadow:var(--shadow-lg);
}
.lightbox-close {
  position:absolute; top:1.5rem; right:1.5rem;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2);
  border-radius:50%; width:44px; height:44px;
  display:flex; align-items:center; justify-content:center;
  color:#fff; cursor:pointer; transition:background .2s;
}
.lightbox-close:hover { background:var(--cbm-blue); }
.lightbox-close svg { width:20px; height:20px; }

/* ============================================================
   SCROLL ANIMATIONS (JS-driven)
   ============================================================ */
.reveal {
  opacity:0; transform:translateY(32px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity:1; transform:none; }
.reveal-delay-1 { transition-delay:.1s; }
.reveal-delay-2 { transition-delay:.2s; }
.reveal-delay-3 { transition-delay:.3s; }
.reveal-delay-4 { transition-delay:.4s; }

@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.mt-auto { margin-top:auto; }
.text-center { text-align:center; }
.relative { position:relative; }
.overflow-hidden { overflow:hidden; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1200px) {
  .services-grid { grid-template-columns:repeat(2,1fr); }
  .hero-inner { grid-template-columns:1fr 360px; gap:3rem; }
  .footer-main { grid-template-columns:1.5fr 1fr 1fr; }
  .footer-main .footer-col:last-child { grid-column:2; grid-row:2; }
}

@media (max-width:1024px) {
  .hero-inner { grid-template-columns:1fr; }
  .hero-card { display:none; }
  .process-grid { grid-template-columns:repeat(2,1fr); }
  .process-grid::before { display:none; }
  .about-teaser-grid { grid-template-columns:1fr; gap:3rem; }
  .about-img-wrap { max-width:480px; }
  .contact-grid { grid-template-columns:1fr; }
  .stats-grid { grid-template-columns:repeat(2,1fr); gap:2.5rem; }
  .about-story-grid { grid-template-columns:1fr; gap:3rem; }
  .service-detail-grid { grid-template-columns:1fr; }
  .service-detail-img { position:static; height:300px; }
}

@media (max-width:768px) {
  .primary-nav,.header-phone,.header-actions .btn { display:none; }
  .nav-toggle { display:flex; }
  .mobile-menu { display:flex; }
  .section-pad { padding:4.5rem 0; }
  .services-grid { grid-template-columns:1fr; }
  .showcase-grid { grid-template-columns:1fr; }
  .testimonials-grid { grid-template-columns:1fr; }
  .values-grid { grid-template-columns:1fr; }
  .team-grid { grid-template-columns:1fr; max-width:340px; }
  .insta-grid { grid-template-columns:repeat(3,1fr); }
  .gallery-full { grid-template-columns:repeat(2,1fr); }
  .footer-main { grid-template-columns:1fr; gap:2.5rem; padding:3.5rem 0 2.5rem; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .form-row { grid-template-columns:1fr; }
  .hero-inner { padding:8rem 1.5rem 4rem; }
  .about-pillars { grid-template-columns:1fr; }
  .filter-tabs { gap:.5rem; }
  .showcase-masonry { grid-template-columns:1fr; }
}

@media (max-width:480px) {
  .trust-bar-inner { flex-direction:column; gap:0; }
  .trust-item { border-right:none; border-bottom:1px solid rgba(255,255,255,.15); width:100%; justify-content:center; }
  .trust-item:last-child { border-bottom:none; }
  .hero-stats { gap:1.5rem; }
  .insta-grid { grid-template-columns:repeat(2,1fr); }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position:fixed; bottom:1.75rem; right:1.75rem; z-index:800;
  width:56px; height:56px; background:#25d366; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 24px rgba(37,211,102,.45);
  transition:all .3s var(--bounce); color:#fff;
}
.wa-float:hover { transform:scale(1.1) translateY(-3px); box-shadow:0 8px 32px rgba(37,211,102,.55); }
.wa-float svg { width:28px; height:28px; }
.wa-tooltip {
  position:absolute; right:calc(100% + .75rem); white-space:nowrap;
  background:var(--cbm-navy); color:#fff;
  font-size:.78rem; font-weight:600; padding:.35rem .8rem; border-radius:50px;
  opacity:0; pointer-events:none; transition:opacity .25s;
}
.wa-float:hover .wa-tooltip { opacity:1; }
