/* ===================================================================
   SMB Design & Build — Stylesheet
   Dubai interior design & fitout company
=================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Design tokens ---------- */
:root {
  --blue: #1CA4E0;
  --blue-dark: #147bab;
  --green: #86C540;
  --coral: #EE3F2E;
  --coral-dark: #cf2f20;
  --ink: #1c1e22;
  --ink-soft: #4a4f57;
  --grey-50: #f7f8fa;
  --grey-100: #eef0f3;
  --grey-200: #e2e5ea;
  --grey-500: #8a8f98;
  --white: #ffffff;

  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --container: 1240px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(28,30,34,0.06);
  --shadow-md: 0 12px 34px rgba(28,30,34,0.10);
  --shadow-lg: 0 24px 60px rgba(28,30,34,0.16);
  --ease: cubic-bezier(.22,.85,.32,1);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { color: var(--ink-soft); }

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

section { position: relative; }
.section-pad { padding: clamp(64px, 9vw, 128px) 0; }
.bg-grey { background: var(--grey-50); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink p { color: rgba(255,255,255,0.72); }
.bg-ink h2, .bg-ink h3 { color: var(--white); }
.bg-ink .stat-card .num { color: var(--white); }
.bg-ink .stat-card .label { color: rgba(255,255,255,0.65); }
.bg-ink .feature-row { border-bottom-color: rgba(255,255,255,0.12); }
.bg-ink .feature-row h3 { color: var(--white); }
.bg-ink .feature-row p { color: rgba(255,255,255,0.65); }
.bg-ink .feature-num { color: rgba(255,255,255,0.18); }
.bg-ink .value-item span:last-child { color: rgba(255,255,255,0.8); }
.bg-ink .tag-pill { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); }

/* ---------- Eyebrow / kicker ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--coral);
  display: inline-block;
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn-primary { background: var(--coral); color: var(--white); box-shadow: 0 10px 24px rgba(238,63,46,0.28); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(238,63,46,0.36); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { transform: translateY(-3px); background: #000; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--grey-200); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-3px); }
.btn-outline-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-light:hover { border-color: var(--white); transform: translateY(-3px); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 11px 22px; font-size: 0.86rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.solid {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 13px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
  border-color: var(--grey-100);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 42px; width: auto; transition: filter .4s, transform .35s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.05); }
.site-header:not(.solid) .brand-logo.light-swap { filter: brightness(0) invert(1); }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.88rem;
  white-space: nowrap;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.site-header:not(.solid) .main-nav a { color: var(--white); }
.main-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--coral);
  transition: width .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--coral) !important; }
.main-nav a:hover { color: var(--coral) !important; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 12px 24px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  z-index: 1100;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); transition: all .3s; }
.site-header:not(.solid) .nav-toggle span { background: var(--white); }
.nav-toggle.open span { background: var(--ink) !important; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile nav ---------- */
@media (max-width: 1180px) {
  .header-cta .btn-outline { display: none; }
}
@media (max-width: 1040px) {
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 110px 24px 50px;
    overflow-y: auto;
    max-height: 100vh;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    z-index: 1050;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a {
    color: var(--ink) !important;
    font-size: 1.35rem;
    text-align: center;
    white-space: normal;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), color .25s;
  }
  .main-nav.open a { opacity: 1; transform: translateY(0); }
  .main-nav.open a:nth-child(1) { transition-delay: .07s; }
  .main-nav.open a:nth-child(2) { transition-delay: .12s; }
  .main-nav.open a:nth-child(3) { transition-delay: .17s; }
  .main-nav.open a:nth-child(4) { transition-delay: .22s; }
  .main-nav.open a:nth-child(5) { transition-delay: .27s; }
  .main-nav.open a:nth-child(6) { transition-delay: .32s; }
  .header-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 360px) {
  .main-nav { gap: 20px; padding: 96px 18px 40px; }
  .main-nav a { font-size: 1.18rem; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.hero-bg-layer {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg-layer img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
  will-change: transform;
}
.hero-bg-layer::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,17,20,0.55) 0%, rgba(15,17,20,0.72) 55%, rgba(15,17,20,0.94) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding-top: 90px;
  color: var(--white);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 9px 18px; border-radius: 100px;
  backdrop-filter: blur(6px);
  margin-bottom: 26px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.hero h1 { color: var(--white); max-width: 900px; }
.hero h1 .accent { color: var(--blue); }
.hero-sub {
  margin-top: 22px; max-width: 560px;
  font-size: 1.15rem; color: rgba(255,255,255,0.82);
}
.hero-actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }

.hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 20px;
  margin-top: 90px;
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: 34px;
}
.hero-stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem,3vw,2.6rem); color: var(--white); display:flex; align-items:baseline; gap:3px;}
.hero-stat .num span.suffix { font-size: 0.5em; color: var(--blue); }
.hero-stat .label { font-size: 0.86rem; color: rgba(255,255,255,0.65); margin-top: 4px; }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.7); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(180deg, rgba(255,255,255,0.8), transparent); animation: scrollcue 2s infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; opacity:1;} 50% {transform: scaleY(1); transform-origin: top;} 51% {transform-origin: bottom;} 100% { transform: scaleY(0); transform-origin: bottom; opacity: 1;} }

@media (max-width: 760px) {
  .hero-stats { grid-template-columns: repeat(2,1fr); row-gap: 28px; }
}

/* ---------- Fit-out scrollytelling hero ---------- */
.fitout-track {
  position: relative;
  height: 400vh;
  background: var(--ink);
}
.fitout-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
}
.fitout-video-wrap {
  position: absolute; inset: 0;
  z-index: 0;
  background: #0c0f13;
}
.fitout-video {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.fitout-video-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,12,15,0.42) 0%, rgba(10,12,15,0.5) 45%, rgba(8,9,11,0.9) 100%);
}
.fitout-content {
  position: relative; z-index: 3;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 70px;
  padding-bottom: 180px;
  color: var(--white);
}
@media (max-width: 760px) {
  .fitout-content { padding-bottom: 150px; }
}
.fitout-content h1 { color: var(--white); max-width: 880px; min-height: 2.3em; }
.fitout-content h1 .accent { color: var(--blue); }
.stage-text { display: grid; }
.stage-text span {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
}
.stage-text span.active { opacity: 1; visibility: visible; }

.fitout-progress {
  position: absolute; left: 0; right: 0; bottom: 100px; z-index: 3;
  padding: 0 24px;
  max-width: var(--container); margin: 0 auto; width: 100%;
}
.fitout-progress-track {
  height: 3px; width: 100%; background: rgba(255,255,255,0.16); border-radius: 3px; overflow: hidden;
}
.fitout-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--coral));
  border-radius: 3px;
}
.fitout-progress-labels {
  display: flex; justify-content: space-between; margin-top: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.76rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.4);
}
.fitout-progress-labels span { transition: color .4s; }
.fitout-progress-labels span.active { color: var(--white); }

@media (max-width: 760px) {
  .fitout-track { height: 300vh; }
  .fitout-progress { bottom: 78px; }
  .fitout-progress-labels span:not(.active) { display: none; }
}
.no-motion .fitout-track { height: 100vh !important; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d,0s); }
.reveal-left.in { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d,0s); }
.reveal-right.in { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d,0s); }
.reveal-scale.in { opacity: 1; transform: scale(1); }

/* ---------- Marquee (clients / trust strip) ---------- */
.marquee-wrap { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; align-items: center; }
.marquee-track span { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--grey-500); opacity: 0.65; white-space: nowrap; }
.marquee-track img { height: 34px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: 0.55; transition: opacity .3s, filter .3s; }
.marquee-track img:hover { filter: grayscale(0); opacity: 1; }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ---------- Stat counters (in-page) ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.stat-card { text-align: center; transition: transform .35s var(--ease); }
.stat-card:hover { transform: translateY(-6px); }
.stat-card:hover .num { color: var(--coral); transition: color .3s; }
.stat-card .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem,4vw,3.2rem); color: var(--ink); }
.stat-card .num .suffix { color: var(--coral); }
.stat-card .label { margin-top: 8px; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 760px) { .stat-grid { grid-template-columns: repeat(2,1fr); row-gap: 34px; } }

/* ---------- Cards: services ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

.service-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  padding: 38px 30px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--blue), #57c2ec);
}
.service-icon.green { background: linear-gradient(135deg, var(--green), #b6e07a); }
.service-icon.coral { background: linear-gradient(135deg, var(--coral), #ff7a6b); }
.service-icon svg { width: 28px; height: 28px; stroke: var(--white); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.96rem; }
.service-card .tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.service-card .tags span { font-size: 0.76rem; font-weight: 600; color: var(--ink-soft); background: var(--grey-50); padding: 5px 12px; border-radius: 100px; }

/* ---------- Authority cards (clickable) ---------- */
a.service-card { display: block; }
.authority-logo-wrap { height: 46px; display: flex; align-items: center; margin-bottom: 20px; }
.authority-logo-wrap img { max-height: 100%; max-width: 170px; width: auto; object-fit: contain; background: transparent !important; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.85rem; font-weight: 700; color: var(--blue); }
.card-link svg { transition: transform .3s var(--ease); }
a.service-card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Industries ---------- */
.industry-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/5; isolation: isolate;
}
.industry-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.industry-card:hover img { transform: scale(1.08); }
.industry-card::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 30%, rgba(10,12,14,0.9) 100%); }
.industry-card .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 2; color: var(--white); }
.industry-card .info h3 { color: var(--white); margin-bottom: 6px; }
.industry-card .info p { color: rgba(255,255,255,0.78); font-size: 0.88rem; }

/* ---------- Why choose us ---------- */
.feature-row { display: flex; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--grey-100); }
.feature-row:last-child { border-bottom: none; }
.feature-num { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--grey-200); min-width: 54px; }
.feature-row h3 { margin-bottom: 6px; }
.feature-row p { font-size: 0.96rem; }

/* ---------- Process timeline ---------- */
.process-track { display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; position: relative; }
.process-track::before {
  content: ''; position: absolute; top: 108px; left: 8%; right: 8%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--grey-200) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; }
.process-step .thumb {
  width: 100%; aspect-ratio: 1/1; border-radius: 50%; overflow: hidden;
  border: 5px solid var(--white); box-shadow: var(--shadow-md);
  margin-bottom: 22px; max-width: 150px; margin-inline: auto;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.process-step .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.process-step:hover .thumb { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.16); }
.process-step:hover .thumb img { transform: scale(1.1); }
.process-step .step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--coral); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; }
@media (max-width: 940px) {
  .process-track { grid-template-columns: repeat(2,1fr); }
  .process-track::before { display: none; }
}

/* ---------- Projects ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 42px; }
.filter-btn {
  padding: 11px 22px; border-radius: 100px; border: 1.5px solid var(--grey-200);
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--ink-soft);
  transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.project-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.project-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3.1; isolation: isolate;
  transition: transform 0.3s;
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card:hover img { transform: scale(1.07); }
.project-card::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(8,9,11,0.88) 100%); }
.project-card .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; z-index: 2; color: var(--white); }
.project-card .cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--blue); }
.project-card h3 { color: var(--white); font-size: 1.15rem; margin: 6px 0 4px; }
.project-card .meta { font-size: 0.82rem; color: rgba(255,255,255,0.72); }
.project-card[hidden] { display: none; }

@media (max-width: 940px) {
  .grid-3, .stat-grid, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .project-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .grid-3, .grid-2, .grid-4, .project-grid, .stat-grid { grid-template-columns: 1fr; }
}

/* ---------- Team ---------- */
.team-card { text-align: left; }
.team-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; margin-bottom: 16px; background: var(--grey-100); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.08); }
.team-card h3 { font-size: 1.05rem; transition: color .3s; }
.team-card:hover h3 { color: var(--coral); }
.team-card .role { color: var(--blue); font-size: 0.85rem; font-weight: 600; margin-top: 2px; }
.team-lead .team-photo { aspect-ratio: 3/4; }
.team-card .bio { margin-top: 8px; color: var(--ink-soft); font-size: 0.88rem; line-height: 1.55; }
.team-grid-6 { display: grid; grid-template-columns: repeat(6,1fr); gap: 20px; }
@media (max-width: 940px) { .team-grid-6 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 560px) { .team-grid-6 { grid-template-columns: repeat(2,1fr); } }

/* ---------- CTA banner ---------- */
.cta-banner {
  border-radius: 26px;
  background: linear-gradient(120deg, #14171b, #1c2126 60%, #1a2a33);
  padding: clamp(48px, 7vw, 88px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(28,164,224,0.25), transparent 70%);
  top: -220px; right: -160px;
}
.cta-banner h2 { color: var(--white); max-width: 700px; margin: 0 auto; }
.cta-banner p { color: rgba(255,255,255,0.72); margin-top: 16px; max-width: 560px; margin-inline: auto; }
.cta-banner .hero-actions { justify-content: center; margin-top: 34px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 80px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.9fr 0.9fr 1fr 1.1fr; gap: 32px; padding-bottom: 54px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand img { height: 40px; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; transition: all .3s var(--ease); }
.footer-social a:hover { background: var(--coral); border-color: var(--coral); transform: translateY(-4px) rotate(-8deg); }
.footer-social svg { width: 16px; height: 16px; }
.site-footer h4 { color: var(--white); font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer ul li a { font-size: 0.93rem; color: rgba(255,255,255,0.65); transition: color .3s; }
.site-footer ul li a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 0.83rem; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; row-gap: 40px; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,0.4);
  animation: pulse-wa 2.6s infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--white); }
@keyframes pulse-wa { 0% { box-shadow: 0 10px 26px rgba(37,211,102,0.4); } 50% { box-shadow: 0 10px 26px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.12);} 100% { box-shadow: 0 10px 26px rgba(37,211,102,0.4);} }

/* ---------- Breadcrumb / inner page hero ---------- */
.page-hero {
  padding: 168px 0 80px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.page-hero .bgimg { position: absolute; inset: 0; z-index: 0; }
.page-hero .bgimg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.page-hero .bgimg::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(15,17,20,0.5), var(--ink) 92%); }
.page-hero .inner { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); max-width: 760px; }
.page-hero p.lead { margin-top: 18px; max-width: 560px; color: rgba(255,255,255,0.75); font-size: 1.08rem; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- About / two-col ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse { grid-template-columns: 1fr 1fr; }
.split.reverse .split-media { order: 2; }
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
}
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); width: 100%; }
.media-badge {
  position: absolute; bottom: -26px; left: -26px;
  background: var(--white); border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
}
@media (max-width: 560px) { .media-badge { left: 10px; bottom: -20px; padding: 16px 18px; } }
.media-badge .num { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--coral); }
.media-badge .label { font-size: 0.78rem; color: var(--ink-soft); max-width: 110px; line-height: 1.3; }

.value-list { display: grid; gap: 18px; margin-top: 28px; }
.value-item { display: flex; gap: 14px; align-items: flex-start; }
.value-item .chk { width: 26px; height: 26px; border-radius: 50%; background: rgba(28,164,224,0.12); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.value-item .chk svg { width: 14px; height: 14px; }

/* ---------- Values / VMV cards ---------- */
.vmv-card { background: var(--white); border-radius: var(--radius); padding: 40px 32px; border: 1px solid var(--grey-100); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.vmv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.vmv-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); }
.vmv-card .service-icon { margin-bottom: 24px; transition: transform .35s var(--ease); }
.vmv-card h3 { margin-bottom: 12px; }

/* ---------- Certifications strip ---------- */
.cert-strip { display: flex; align-items: center; justify-content: center; gap: 60px; flex-wrap: wrap; }
.cert-strip img { max-height: 64px; width: auto; filter: grayscale(1); opacity: 0.6; transition: all .3s; }
.cert-strip img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1/-1; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  padding: 15px 18px; border: 1.5px solid var(--grey-200); border-radius: var(--radius-sm);
  font-size: 0.96rem; background: var(--white); transition: border-color .3s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--blue); }
.form-field textarea { resize: vertical; min-height: 130px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

.contact-info-card { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 44px 36px; }
.contact-info-card h3 { color: var(--white); }
.contact-info-row { display: flex; gap: 16px; margin-top: 26px; }
.contact-info-row .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-row .ic svg { width: 20px; height: 20px; color: var(--blue); }
.contact-info-row .t { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 3px; }
.contact-info-row .v { font-weight: 600; }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 30px; border: 0; width: 100%; height: 260px; filter: grayscale(0.3); }

/* ---------- Insights / article ---------- */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body h2 { margin-top: 46px; margin-bottom: 16px; font-size: clamp(1.4rem,2.4vw,1.8rem); }
.article-body h3 { margin-top: 32px; margin-bottom: 12px; font-size: 1.15rem; }
.article-body p { margin-bottom: 18px; font-size: 1.02rem; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; color: var(--ink-soft); }
.article-body li { margin-bottom: 8px; font-size: 1.02rem; }
.article-body a:not(.btn) { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.article-meta { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.65); font-size: 0.85rem; margin-top: 18px; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.article-callout { background: var(--grey-50); border-left: 3px solid var(--blue); border-radius: var(--radius-sm); padding: 20px 24px; margin: 28px 0; }
.article-callout p { margin-bottom: 0; }
.insights-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
@media (max-width: 860px) { .insights-grid { grid-template-columns: 1fr; } }
.insight-card { display: block; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.insight-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.insight-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.insight-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.insight-card:hover .thumb img { transform: scale(1.06); }
.insight-card .body { padding: 22px 24px 26px; }
.insight-card .cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--blue); }
.insight-card h3 { margin-top: 8px; font-size: 1.12rem; line-height: 1.35; }
.insight-card p { margin-top: 10px; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Comparison table ---------- */
.compare-table-wrap { overflow-x: auto; max-width: 980px; margin: 0 auto; border-radius: var(--radius-sm); box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); }
.compare-table th { background: var(--ink); color: var(--white); text-align: left; padding: 14px 18px; font-family: var(--font-head); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.compare-table td { padding: 14px 18px; border-bottom: 1px solid var(--grey-200); font-size: .92rem; color: var(--ink-soft); vertical-align: top; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--grey-50); }
.compare-table td:first-child, .compare-table th:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--grey-200); border-radius: var(--radius-sm); background: var(--white); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 22px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-q { margin: 0; font: inherit; color: inherit; }
.faq-item summary::after {
  content: '+'; flex-shrink: 0; font-size: 1.4rem; font-weight: 400; color: var(--blue); transition: transform .3s var(--ease); line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--ink-soft); font-size: 0.96rem; line-height: 1.65; }

/* ---------- Misc utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.tag-pill { display: inline-block; padding: 6px 16px; border-radius: 100px; background: var(--grey-100); font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); }
.divider { height: 1px; background: var(--grey-100); margin: 60px 0; }

/* animated count-up target reset */
[data-count] { font-variant-numeric: tabular-nums; }

/* Skip link */
.skip-link { position: absolute; top: -60px; left: 10px; background: var(--white); color: var(--ink); padding: 12px 18px; border-radius: 8px; z-index: 2000; transition: top .3s; }
.skip-link:focus { top: 10px; }

/* Lazy image fade */
img[loading="lazy"] { background: var(--grey-100); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(10,11,13,0.94); }
.lb-body { position: relative; z-index: 2; max-width: 90vw; max-height: 86vh; text-align: center; }
.lb-img { max-width: 90vw; max-height: 76vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lb-caption { color: var(--white); margin-top: 18px; font-family: var(--font-head); font-weight: 600; }
.lb-counter { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-top: 4px; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; z-index: 3; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: var(--white); display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.22); }
.lb-close { top: -60px; right: 0; }
.lb-prev { left: -70px; top: 50%; transform: translateY(-50%); }
.lb-next { right: -70px; top: 50%; transform: translateY(-50%); }
.lb-close svg, .lb-prev svg, .lb-next svg { width: 22px; height: 22px; }
@media (max-width: 760px) {
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-close { top: 6px; right: 6px; background: rgba(0,0,0,0.5); }
}

/* Back to top */
.back-to-top {
  position: fixed; bottom: 26px; left: 26px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%; background: var(--white);
  box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all .3s var(--ease);
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 16px 30px rgba(0,0,0,0.2); }
.back-to-top svg { width: 18px; height: 18px; }
