/* ============================================================
   ROSHEM CONSTRUCTION & INTERIORS — Main Stylesheet
   Version: 1.0
   Fonts: Poppins (headings) + Open Sans (body)
   Icons: Lucide Icons
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   ---------------------------------------------------------- */
:root {
  /* Colors */
  --color-primary: #14499E;
  --color-primary-dark: #0C3166;
  --color-primary-light: #4962AC;
  --color-secondary: #D42026;
  --color-secondary-dark: #BB2025;
  --color-secondary-light: #E51C2B;
  --color-accent: #64748b;
  --color-accent-light: #94a3b8;
  --color-bg: #f8fafc;
  --color-bg-alt: #f1f5f9;
  --color-text: #1e293b;
  --color-text-light: #475569;
  --color-text-muted: #94a3b8;
  --color-success: #059669;
  --color-white: #ffffff;
  --color-dark: #0f172a;
  --color-border: #e2e8f0;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 2rem;      /* 32px */
  --font-size-4xl: 2.5rem;    /* 40px */
  --font-size-5xl: 3rem;      /* 48px */
  --line-height-tight: 1.2;
  --line-height-base: 1.6;

  /* Spacing */
  --space-xs: 0.25rem;    /* 4px */
  --space-sm: 0.5rem;     /* 8px */
  --space-md: 1rem;       /* 16px */
  --space-lg: 1.5rem;     /* 24px */
  --space-xl: 2rem;       /* 32px */
  --space-2xl: 3rem;      /* 48px */
  --space-3xl: 4rem;      /* 64px */
  --space-4xl: 6rem;      /* 96px */

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
}

/* ----------------------------------------------------------
   2. CSS RESET
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-secondary);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--line-height-tight);
  color: var(--color-primary);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
}

/* Skip to main content */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  z-index: 10000;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-sm);
}

/* Selection */
::selection {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ----------------------------------------------------------
   3. UTILITY CLASSES
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p {
  color: var(--color-white);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section__header h2 {
  margin-bottom: var(--space-md);
}

.section__header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: var(--font-size-lg);
}

.section__overline {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

/* Bootstrap-compatible utility classes (additive — no conflict with custom CSS) */
.row { display: flex; flex-wrap: wrap; }
.row > * { box-sizing: border-box; flex-shrink: 0; width: 100%; max-width: 100%; }
.col-6 { flex: 0 0 auto; width: calc(50% - 12px); }
@media (min-width: 768px) {
.col-md-4 { flex: 0 0 auto; width: calc(33.33333333% - 16px); }
}
.col-md-6 { flex: 0 0 auto; width: 50%; }
.col-md-8 { flex: 0 0 auto; width: 66.66666667%; }
.col-lg-3 { flex: 0 0 auto; width: 25%; }
.col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
.col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
.g-2 { gap: 0.5rem; }
.g-3 { gap: 1rem; }
.g-4 { gap: 1.5rem; }
.d-flex { display: flex; }
.d-block { display: block; }
.flex-wrap { flex-wrap: wrap; }
.flex-grow-1 { flex-grow: 1; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.border { border: 1px solid var(--color-border); }
.border-0 { border: none; }
.rounded { border-radius: var(--radius-md); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.img-fluid { max-width: 100%; height: auto; }
.mt-1 { margin-top: 0.25rem; } .mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 1rem; } .mt-4 { margin-top: 1.5rem; } .mt-5 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 0.25rem; } .mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.5rem; } .mb-5 { margin-bottom: 3rem; }
.me-2 { margin-right: 0.5rem; }
.ms-2 { margin-left: 0.5rem; }
.p-0 { padding: 0; } .p-2 { padding: 0.5rem; } .p-3 { padding: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

/* ----------------------------------------------------------
   4. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--font-size-base);
  padding: 0.75rem 1.75rem;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

/* Primary CTA (Orange) */
.btn-primary {
  background: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}

.btn-primary:hover {
  background: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Secondary CTA (Navy outline) */
.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Navy button */
.btn-navy {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-navy:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Outline Navy */
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* White button (for dark backgrounds) */
.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.btn-white:hover {
  background: transparent;
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: var(--font-size-lg);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--font-size-sm);
}

/* ----------------------------------------------------------
   5. PRELOADER
   ---------------------------------------------------------- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.preloader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.preloader__text {
  position: absolute;
  margin-top: 80px;
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 2px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ----------------------------------------------------------
   6. HEADER / NAVIGATION
   ---------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: box-shadow var(--transition-base), background var(--transition-base);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.header__logo-img {
  height: auto;
  width: 200px;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  letter-spacing: 1px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-xl);
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--font-size-sm);
  color: var(--color-text);
  padding: var(--space-xs) 0;
  position: relative;
  transition: color var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-primary);
}

/* Header CTA */
.header__cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__phone {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--color-secondary);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger__line + .hamburger__line {
  margin-top: 6px;
}

.hamburger--active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger--active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger--active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ----------------------------------------------------------
   7. HERO SECTIONS
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero--page {
  min-height: 50vh;
  padding-top: var(--header-height);
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 58, 95, 0.92) 0%,
    rgba(30, 58, 95, 0.7) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  color: var(--color-white);
  padding: var(--space-3xl) 0;
}

.hero__content h1 {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  line-height: 1.15;
}

.hero__content p {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
  max-width: 600px;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

/* Trust Badges */
.hero__badges {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.hero__badge svg {
  width: 20px;
  height: 20px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

/* Page Hero (inner pages) */
.hero--page .hero__content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero--page .hero__content p {
  margin-left: auto;
  margin-right: auto;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--color-white);
}

.breadcrumb span {
  color: var(--color-secondary);
}

.breadcrumb__sep {
  color: rgba(255, 255, 255, 0.4);
}

/* ----------------------------------------------------------
   8. TRUST STRIP
   ---------------------------------------------------------- */
.trust-strip {
  background: var(--color-white);
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.trust-strip__labels {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.trust-strip__label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

.trust-strip__label svg {
  color: var(--color-secondary);
}

.trust-strip__stats {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.trust-strip__stat {
  text-align: center;
}

.trust-strip__stat-number {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.trust-strip__stat-label {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: var(--space-xs);
}

/* ----------------------------------------------------------
   9. BENEFITS / FEATURES
   ---------------------------------------------------------- */
.benefits {
  padding: var(--space-4xl) 0;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.benefit-card {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border-top: 4px solid var(--color-secondary);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.benefit-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 119, 6, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  color: var(--color-secondary);
}

.benefit-card__icon svg {
  width: 28px;
  height: 28px;
}

.benefit-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.benefit-card p {
  font-size: var(--font-size-sm);
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   10. SERVICES CARDS
   ---------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.service-card {
  position: relative;
  display: block;
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  z-index: 1;
  transition: opacity var(--transition-base);
}

.service-card:hover::before {
  opacity: 0.85;
}

.service-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  z-index: 2;
}

.service-card__icon {
  width: 32px;
  height: 32px;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.service-card__icon svg {
  width: 32px;
  height: 32px;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
  line-height: var(--line-height-tight);
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-white);
  transition: gap var(--transition-fast);
}

.service-card:hover .service-card__cta {
  gap: var(--space-sm);
}

/* Detail service cards (Services page) */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--space-xl);
}

.service-detail:last-child {
  margin-bottom: 0;
}

.service-detail__image {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .service-detail__image {
    height: 500px;
    min-height: 0;
    align-self: center;
  }
}

.service-detail__content {
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-detail__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 58, 95, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.service-detail__icon svg {
  width: 24px;
  height: 24px;
}

.service-detail__content h2,
.service-detail__content h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-md);
}

.service-detail__content p {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-lg);
}

.service-detail__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.service-detail__list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

.service-detail__list li svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
  flex-shrink: 0;
}

/* Service Detail Alternate Layout */
.service-detail:nth-child(even) .service-detail__image {
  order: 1;
}

.service-detail:nth-child(even) .service-detail__content {
  order: 0;
}

/* ----------------------------------------------------------
   11. PORTFOLIO / PROJECT GRID
   ---------------------------------------------------------- */
/* Filter Bar */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--font-size-sm);
  padding: 0.5rem 1.25rem;
  background: var(--color-white);
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn--active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ============================================================
   PORTFOLIO TOOLBAR — Search + Sort
   ============================================================ */
.portfolio-toolbar {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.portfolio-search {
  position: relative;
  flex: 1 1 260px;
  max-width: 360px;
}

.portfolio-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
  pointer-events: none;
}

.portfolio-search__input {
  width: 100%;
  padding: 0.55rem 0.75rem 0.55rem 38px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.portfolio-search__input::placeholder {
  color: var(--color-text-light);
}

.portfolio-search__input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(20, 73, 158, 0.12);
}
.portfolio-search__input:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
}

.portfolio-sort {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  color: var(--color-text);
  background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition-fast);
}

.portfolio-sort:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(20, 73, 158, 0.12);
}
.portfolio-sort:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
}

.portfolio-count {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

.portfolio-count:empty {
  display: none;
}

.portfolio-pagination {
  margin-top: var(--space-2xl);
}

.portfolio-pagination:empty,
.portfolio-pagination:not(:empty) {
  display: none;
}

.portfolio-pagination--visible {
  display: block;
}

.portfolio-no-results {
  display: none;
  padding: var(--space-3xl) 0;
  text-align: center;
}

.portfolio-no-results--visible {
  display: block;
}

.portfolio-no-results svg {
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.portfolio-no-results p {
  color: var(--color-text-muted);
}

.project-card__image--related {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.project-card__title--related {
  font-size: var(--font-size-base);
}

@media (max-width: 767px) {
  .portfolio-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .portfolio-search {
    max-width: 100%;
  }
}

/* Project Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.project-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  border-top: 3px solid var(--color-primary);
  display: flex;
  flex-direction: column;
}

.project-card[data-category="institutional"] { border-top-color: var(--color-primary); }
.project-card[data-category="commercial"] { border-top-color: #059669; }
.project-card[data-category="residential"] { border-top-color: #d97706; }
.project-card[data-category="aluminum-glass"] { border-top-color: #7c3aed; }
.project-card[data-category="interior-finishing"] { border-top-color: #0ea5e9; }

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.project-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.project-card__image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(0,0,0,0.4));
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-card__image {
  transform: scale(1.08);
}

.project-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 73, 158, 0.9), rgba(30, 58, 95, 0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__overlay-content {
  text-align: center;
  padding: var(--space-md);
  color: var(--color-white);
}

.project-card__overlay-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.project-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.project-card__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card__body h2,
.project-card__body h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card__location {
  font-size: var(--font-size-sm);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.project-card__location svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.project-card__desc {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-sm);
  color: var(--color-text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.project-card__services {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: auto;
}

.project-card__service-tag {
  font-size: var(--font-size-xs);
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.project-card__service-tag:hover {
  opacity: 1;
}

.project-card__related-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-primary);
  margin-top: var(--space-sm);
  transition: gap var(--transition-fast);
}

.project-card__related-link:hover {
  gap: var(--space-sm);
  color: var(--color-secondary);
}

/* Staggered entrance animation */
.stagger-children > :nth-child(1) { transition-delay: 0ms; }
.stagger-children > :nth-child(2) { transition-delay: 80ms; }
.stagger-children > :nth-child(3) { transition-delay: 160ms; }
.stagger-children > :nth-child(4) { transition-delay: 240ms; }
.stagger-children > :nth-child(5) { transition-delay: 320ms; }
.stagger-children > :nth-child(6) { transition-delay: 400ms; }
.stagger-children > :nth-child(7) { transition-delay: 480ms; }
.stagger-children > :nth-child(8) { transition-delay: 560ms; }
.stagger-children > :nth-child(9) { transition-delay: 640ms; }
.stagger-children > :nth-child(10) { transition-delay: 720ms; }
.stagger-children > :nth-child(11) { transition-delay: 800ms; }
.stagger-children > :nth-child(12) { transition-delay: 880ms; }

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

.stagger-children > * {
  animation: fadeInUp 0.6s ease both;
}

/* Blog Card (blog listing) */
.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card__image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.blog-card:hover .blog-card__image {
  transform: scale(1.05);
}
.blog-card__title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: var(--space-xl);
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: var(--color-white);
  font-size: var(--font-size-base);
  line-height: 1.3;
  z-index: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__date {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--color-white);
  color: var(--color-text);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.blog-card__excerpt {
  padding: var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Blog Listing Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
@media (max-width: 1023px) and (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Blog Single Layout */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-3xl);
  align-items: start;
}
@media (max-width: 1023px) {
  .blog-layout { grid-template-columns: 1fr; }
}
.blog-layout__main {
  min-width: 0;
}
.blog-layout__sidebar {
  min-width: 0;
}

/* Post Navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}
.post-nav__link {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
  text-decoration: none;
  transition: background var(--transition-fast);
}
.post-nav__link:hover {
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}
.post-nav__link--prev {
  align-items: flex-start;
  text-align: left;
}
.post-nav__link--next {
  align-items: flex-end;
  text-align: right;
  grid-column: 2;
}
.post-nav__label {
  font-size: var(--font-size-xs);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.post-nav__title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}
@media (max-width: 767px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__link--next { grid-column: 1; }
}

/* Blog Sidebar */
.blog-sidebar {
  position: sticky;
  top: calc(var(--header-height, 80px) + var(--space-lg));
}
.blog-sidebar__section {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
}
.blog-sidebar__section h4 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-primary);
}
.blog-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-sidebar__item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border, #e2e8f0);
}
.blog-sidebar__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.blog-sidebar__item:first-child {
  padding-top: 0;
}
.blog-sidebar__thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.blog-sidebar__item div {
  flex: 1;
  min-width: 0;
}
.blog-sidebar__item a {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  display: block;
  line-height: 1.3;
  margin-bottom: 2px;
}
.blog-sidebar__item a:hover {
  color: var(--color-primary);
}
.blog-sidebar__item small {
  font-size: var(--font-size-xs);
}
.blog-sidebar__cta p {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

/* Comments Section (blog single) */
.comments-section {
  margin-top: var(--space-2xl);
}
.comments-section__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--color-primary);
}
.comments-section__header h3 {
  margin: 0;
  font-size: var(--font-size-xl);
}
.comment-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.comment-item__avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-base);
  flex-shrink: 0;
  text-transform: uppercase;
}
.comment-item__body {
  flex: 1;
  min-width: 0;
}
.comment-item__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}
.comment-item__author {
  font-weight: 700;
  font-size: var(--font-size-sm);
  color: var(--color-text);
}
.comment-item__date {
  font-size: var(--font-size-xs);
  color: var(--color-accent);
}
.comment-item__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}
.comments-empty {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  color: var(--color-accent);
}
.comments-empty svg {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  opacity: 0.4;
}
.comments-empty h4 {
  font-size: var(--font-size-base);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}
.comments-empty p {
  font-size: var(--font-size-sm);
  margin: 0;
}
.comment-form-wrap {
  background: var(--color-bg-alt, #f8fafc);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
}
.comment-form-wrap h4 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-primary);
}

/* Blog Content (single post) */
.blog-content {
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: var(--color-text-light);
}
.blog-content h3 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}
.blog-content h4 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}
.blog-content p {
  margin-bottom: var(--space-lg);
}
.blog-content ul {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-lg);
}
.blog-content ul li {
  margin-bottom: var(--space-sm);
  color: var(--color-text-light);
}

.blog-featured-image {
  margin: 0 0 var(--space-2xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.blog-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Gallery Item (portfolio-single) */
.gallery-item {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

/* Video play button overlay on gallery items */
.gallery-item[data-type="video"] {
  position: relative;
}
.gallery-item__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  pointer-events: none;
}
.gallery-item:hover .gallery-item__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}
.gallery-item__play svg {
  width: 24px;
  height: 24px;
  color: #fff;
  fill: #fff;
  margin-left: 3px;
}

/* ----------------------------------------------------------
   14.1 PROJECT SINGLE — Hero, Details, Gallery, Nav
   ---------------------------------------------------------- */

.project-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.85);
}

.project-meta__item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.project-cats .badge {
  font-size: var(--font-size-xs);
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  font-weight: 500;
}

/* Project Details Strip */
.project-details {
  padding: var(--space-lg) 0;
}

.project-details__label {
  display: block;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.project-details__value {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-text);
}

.badge--primary {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 500;
}

/* Full-bleed Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 0;
  margin: 0;
}

.gallery-grid .gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid .gallery-item {
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.gallery-grid .gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.gallery-grid .gallery-item:first-child img {
  min-height: 400px;
}

.gallery-grid .gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-grid .gallery-item:hover {
  transform: none;
  box-shadow: none;
}

/* Section Variants */
.section--sm {
  padding: var(--space-xl) 0;
}

.section--gray {
  background: var(--color-bg);
}

.section--flush {
  padding: 0;
}

/* Project Navigation */
.project-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-lg);
}

.project-nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.project-nav__link:hover {
  color: var(--color-primary);
}

.project-nav__link small {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-accent);
  font-weight: 400;
  margin-bottom: 0.1rem;
}

.project-nav__link--prev {
  justify-self: start;
  text-align: left;
}

.project-nav__link--next {
  justify-self: end;
  text-align: right;
}

.project-nav__all {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-accent);
  text-decoration: none;
  font-size: var(--font-size-xs);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.project-nav__all:hover {
  color: var(--color-primary);
}

.project-nav__all svg {
  width: 20px;
  height: 20px;
}

.project-nav-wrap {
  background: var(--color-bg);
  padding: var(--space-xl) 0;
}

/* Responsive: Gallery Grid */
@media (max-width: 1023px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-grid .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-grid .gallery-item:first-child img {
    min-height: 240px;
  }
  .gallery-grid .gallery-item img {
    min-height: 240px;
  }
}

@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-grid .gallery-item:first-child img {
    min-height: 200px;
  }
  .gallery-grid .gallery-item img {
    min-height: 200px;
  }
  .project-nav {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center;
  }
  .project-nav__link {
    justify-content: center;
  }
}

@media (max-width: 399px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid .gallery-item img {
    height: 260px;
  }
}

/* ----------------------------------------------------------
   14.2 NEW PROJECT SINGLE — Split Hero, Spacious Gallery,
        Video Section, Nav Thumbs, Lightbox Caption
   ---------------------------------------------------------- */

/* Split Hero */
.hero-split {
  display: flex;
  min-height: 75vh;
  padding-top: var(--header-height);
}

.hero-split__content {
  flex: 0 0 50%;
  max-width: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-4xl) var(--space-3xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-split__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-bottom: var(--space-lg);
  transition: color var(--transition-fast);
}
.hero-split__back:hover {
  color: var(--color-white);
}

.hero-split__cats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero-split__cat {
  font-size: var(--font-size-xs);
  padding: 0.3rem 0.85rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-weight: 500;
  text-transform: capitalize;
}

.hero-split__title {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.12;
  margin-bottom: var(--space-xl);
}

.hero-split__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.hero-split__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--font-size-sm);
  color: rgba(255,255,255,0.85);
}

.hero-split__meta-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.hero-split__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-split__tag {
  font-size: var(--font-size-xs);
  padding: 0.35rem 1rem;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-weight: 500;
}

.hero-split__image-wrap {
  flex: 0 0 50%;
  max-width: 50%;
  overflow: hidden;
  position: relative;
  background: var(--color-bg);
}

.hero-split__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Project Description */
.project-description {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text);
}

/* Legal Content (Privacy, Terms, Cookie Policy) */
.legal-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.legal-content .lead {
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.legal-content h2 {
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: var(--space-md);
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.legal-content ul li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--color-secondary);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-sm);
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--color-border);
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--color-bg-alt);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text);
}

.legal-table td {
  color: var(--color-text-light);
}

/* Gallery Section Header */
.gallery-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.gallery-section__header h2 {
  margin-bottom: 0;
}

.gallery-section__count {
  font-size: var(--font-size-sm);
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.gallery-section__header--light h2,
.gallery-section__header--light .gallery-section__count {
  color: var(--color-white);
}

/* Spacious Gallery Grid */
.gallery-grid--spacious {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 var(--space-xl);
  margin: 0 auto;
  max-width: 1400px;
}

.gallery-grid--spacious .gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
}

.gallery-grid--spacious .gallery-item:first-child {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-grid--spacious .gallery-item:first-child img {
  min-height: 0;
}

.gallery-grid--spacious .gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.gallery-grid--spacious .gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-grid--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  color: var(--color-white);
}
.gallery-grid--spacious .gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

/* Placeholder gallery items */
.gallery-item--placeholder {
  cursor: default;
  opacity: 0.75;
  filter: saturate(0.6);
  transition: opacity var(--transition-base), filter var(--transition-base);
}
.gallery-item--placeholder:hover {
  opacity: 1;
  filter: saturate(1);
}
.gallery-item--placeholder .gallery-item__overlay {
  background: rgba(0,0,0,0.25);
}
.gallery-item--placeholder:hover .gallery-item__overlay {
  background: rgba(0,0,0,0.4);
}

/* Video Section */
.video-section {
  padding: var(--space-4xl) 0;
  background: #0f172a;
  color: var(--color-white);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-xl);
}

.video-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-item iframe,
.video-item video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Nav with Thumbnails */
.project-nav--thumbs .project-nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
}

.project-nav__thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.project-nav--thumbs .project-nav__link--prev {
  flex-direction: row;
  text-align: left;
}

.project-nav--thumbs .project-nav__link--next {
  flex-direction: row-reverse;
  text-align: right;
}

/* Lightbox Caption */
.lightbox__caption {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 80%;
  color: rgba(255,255,255,0.8);
  font-size: var(--font-size-sm);
  text-align: center;
  z-index: 20;
  background: rgba(0,0,0,0.5);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive: Hero Split */
@media (max-width: 1023px) {
  .hero-split {
    flex-direction: column-reverse;
    min-height: 0;
  }
  .hero-split__content,
  .hero-split__image-wrap {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .hero-split__image-wrap {
    height: 40vh;
    min-height: 280px;
  }
  .hero-split__content {
    padding: var(--space-2xl) var(--space-lg);
  }
  .hero-split__title {
    font-size: var(--font-size-4xl);
  }
  .gallery-grid--spacious {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 var(--space-lg);
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hero-split__image-wrap {
    height: 35vh;
    min-height: 220px;
  }
  .hero-split__content {
    padding: var(--space-xl) var(--space-md) var(--space-2xl);
  }
  .hero-split__title {
    font-size: var(--font-size-3xl);
  }
  .hero-split__meta {
    gap: var(--space-md);
  }
  .gallery-grid--spacious {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 var(--space-md);
  }
  .project-nav--thumbs {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center;
  }
  .project-nav__thumb {
    width: 40px;
    height: 40px;
  }
  .project-nav__link {
    justify-content: center;
  }
  .project-nav__all {
    padding: var(--space-sm) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }
  .lightbox__caption {
    bottom: 60px;
    font-size: var(--font-size-xs);
    max-width: 90%;
    white-space: normal;
  }
}

@media (max-width: 399px) {
  .gallery-grid--spacious {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .gallery-grid--spacious .gallery-item {
    aspect-ratio: 16 / 10;
  }
  .gallery-grid--spacious .gallery-item img {
    height: auto;
    min-height: 0;
  }
}

/* Outline Light button (for dark backgrounds) */
.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

/* Modal extras */
.modal__services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  list-style: none;
  padding: 0;
  margin-top: var(--space-md);
}
.modal__services-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}
.modal__services-list li svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
  flex-shrink: 0;
}
.modal__title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-sm);
}

/* Badge (Bootstrap-compatible) */
.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: var(--font-size-xs);
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.bg-secondary {
  background: var(--color-accent);
  color: var(--color-white);
}

/* Pagination (blog) */
.pagination {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
}
.page-link {
  display: block;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.page-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.page-item.active .page-link {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* Text muted */
.text-muted {
  color: var(--color-text-muted);
}

/* Project Detail Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal--open {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--space-2xl);
  transform: translateY(20px);
  transition: transform var(--transition-base);
}

.modal--open .modal__content {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-fast);
  color: var(--color-text);
}

.modal__close:hover {
  background: var(--color-border);
}

.modal__image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.modal__badge {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal h2 {
  margin-bottom: var(--space-sm);
}

.modal__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-sm);
  color: var(--color-accent);
}

.modal__body {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   12. TESTIMONIALS
   ---------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: var(--space-md);
  right: var(--space-xl);
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--color-primary);
  opacity: 0.1;
  line-height: 1;
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: #f59e0b;
}

.testimonial-card__stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-card__text {
  font-size: var(--font-size-sm);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  color: var(--color-text-light);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.testimonial-card__info h4 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.testimonial-card__info span {
  font-size: var(--font-size-xs);
  color: var(--color-accent);
  display: block;
}

/* ----------------------------------------------------------
   13. ABOUT PREVIEW (Home Page)
   ---------------------------------------------------------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-preview__image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.about-preview__content h2 {
  margin-bottom: var(--space-lg);
}

.about-preview__content p {
  margin-bottom: var(--space-lg);
}

.about-preview__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.about-preview__highlight {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-light);
}

.about-preview__highlight svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   14. FINAL CTA SECTION
   ---------------------------------------------------------- */
.cta-section {
  position: relative;
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/uploads/media/default-placeholder.png');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}

.cta-section--has-bg::before {
  background: rgba(0, 0, 0, 0.6);
  background-image: none;
  opacity: 1;
}

.cta-section__content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: var(--font-size-4xl);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
}

.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cta-section__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--font-size-xl);
  color: var(--color-white);
  text-decoration: none;
  padding: var(--space-sm) var(--space-lg);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}

.cta-section__phone:hover {
  border-color: var(--color-white);
  color: var(--color-white);
}

/* ----------------------------------------------------------
   15. ABOUT PAGE SPECIFIC
   ---------------------------------------------------------- */
/* Story Timeline */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.story__content h2 {
  margin-bottom: var(--space-lg);
}

.story__content p {
  margin-bottom: var(--space-md);
}

.story__timeline {
  padding-left: var(--space-xl);
  border-left: 3px solid var(--color-secondary);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-xl) - 7px);
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--color-secondary);
  border-radius: 50%;
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

.timeline__item h4 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-xs);
}

.timeline__item p {
  font-size: var(--font-size-sm);
  margin-bottom: 0;
}

/* Mission & Vision */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.mission-vision__card {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-secondary);
}

.mission-vision__card h3 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.mission-vision__card h3 svg {
  width: 24px;
  height: 24px;
  color: var(--color-secondary);
}

.mission-vision__card p {
  font-size: var(--font-size-base);
  margin-bottom: 0;
  line-height: 1.7;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
}

.value-card {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-base);
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 58, 95, 0.08);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-lg);
  color: var(--color-primary);
}

.value-card__icon svg {
  width: 28px;
  height: 28px;
}

.value-card h4 {
  font-size: var(--font-size-base);
}

.value-card p {
  font-size: var(--font-size-xs);
  margin-bottom: 0;
  margin-top: var(--space-sm);
}

/* Differentiators */
.differentiators {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.differentiator-item {
  display: flex;
  gap: var(--space-md);
  background: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.differentiator-item__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 150, 105, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-success);
}

.differentiator-item__icon svg {
  width: 20px;
  height: 20px;
}

.differentiator-item h4 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-xs);
}

.differentiator-item p {
  font-size: var(--font-size-sm);
  margin-bottom: 0;
}

/* Certifications */
.certifications {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.cert-card {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.cert-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-card__icon img {
  width: 100%;
  height: auto;
}

.cert-card h4 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-sm);
}

.cert-card p {
  font-size: var(--font-size-xs);
  margin-bottom: 0;
  color: var(--color-text-muted);
}

/* ----------------------------------------------------------
   16. KENWA ADVANTAGE SECTION
   ---------------------------------------------------------- */
.kenwa-advantage {
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-white) 100%);
  padding: var(--space-4xl) 0;
}

.kenwa-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.kenwa-benefits__item {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.kenwa-benefits__item svg {
  width: 40px;
  height: 40px;
  color: var(--color-secondary);
  margin-bottom: var(--space-md);
}

.kenwa-benefits__item h4 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-sm);
}

.kenwa-benefits__item p {
  font-size: var(--font-size-sm);
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   17. HOW IT WORKS
   ---------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  width: calc(75% - 40px);
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-lg);
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-md);
}

.step h4 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-sm);
}

.step p {
  font-size: var(--font-size-sm);
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   18. FAQ ACCORDION
   ---------------------------------------------------------- */
.faq {
  max-width: 700px;
  margin: 0 auto;
}

.faq__item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.faq__item:hover {
  box-shadow: var(--shadow-sm);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--font-size-base);
  color: var(--color-text);
  text-align: left;
  transition: color var(--transition-fast);
}

.faq__question:hover {
  color: var(--color-primary);
}

.faq__question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--color-accent);
}

.faq__item--open .faq__question svg {
  transform: rotate(180deg);
  color: var(--color-secondary);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq__item--open .faq__answer {
  max-height: 300px;
}

.faq__answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ----------------------------------------------------------
   19. CONTACT FORM
   ---------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--font-size-sm);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.form-group label .required {
  color: #dc2626;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}
.form-control:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1px;
}

.form-control--error {
  border-color: #dc2626;
}

.form-control--error:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-control--success {
  border-color: var(--color-success);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-error {
  font-size: var(--font-size-xs);
  color: #dc2626;
  margin-top: var(--space-xs);
  display: none;
}

.form-error--visible {
  display: block;
}

.form-group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.form-group--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.form-group--checkbox label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: var(--font-size-sm);
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-info__item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 58, 95, 0.08);
  border-radius: var(--radius-md);
  color: var(--color-primary);
}

.contact-info__icon svg {
  width: 22px;
  height: 22px;
}

.contact-info__text h4 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-xs);
}

.contact-info__text p,
.contact-info__text a {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-bottom: 0;
}

.contact-info__text a:hover {
  color: var(--color-secondary);
}

/* Map */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-xl);
}

.map-wrap iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

/* Social Links */
.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Quick Response */
.quick-response {
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.quick-response svg {
  width: 24px;
  height: 24px;
  color: var(--color-success);
  flex-shrink: 0;
}

.quick-response h4 {
  font-size: var(--font-size-base);
  color: var(--color-success);
  margin-bottom: 2px;
}

.quick-response p {
  font-size: var(--font-size-sm);
  margin-bottom: 0;
}

/* Project Hero (portfolio-single) */
.project-hero {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 4rem 0 2rem;
}
.project-hero h1 {
  color: var(--color-white);
  font-size: 2rem;
}

/* Video Embed */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ----------------------------------------------------------
    20. PAGE HERO / BANNER (Inner Pages)
    ---------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.92) 0%, rgba(30, 58, 95, 0.7) 100%);
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
}

.page-hero__content h1 {
  color: var(--color-white);
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-md);
}

.page-hero__content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto;
}

/* ----------------------------------------------------------
   21. STATS BAR
   ---------------------------------------------------------- */
.stats-bar {
  background: var(--color-primary);
  padding: var(--space-2xl) 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stats-bar__number {
  font-family: var(--font-heading);
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stats-bar__label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ----------------------------------------------------------
   22. FOOTER
   ---------------------------------------------------------- */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-4xl) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__col h4 {
  color: var(--color-white);
  font-size: var(--font-size-base);
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer__col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-secondary);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer__brand img {
  height: 54px;
  width: auto;
}

.footer__brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--font-size-lg);
  color: var(--color-white);
  letter-spacing: 1px;
}

.footer__tagline {
  font-size: var(--font-size-sm);
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-md);
}

.footer__desc {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer__badge {
  width: 100px;
  height: auto;
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: inline-block;
}

.footer__links a:hover {
  color: var(--color-secondary);
  padding-left: 4px;
}

.footer__contact-item {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-item a {
  color: rgba(255, 255, 255, 0.7);
}

.footer__contact-item a:hover {
  color: var(--color-secondary);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer__social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-white);
  transition: background var(--transition-fast);
}

.footer__social a:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

/* Footer Bottom */
.footer__bottom {
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer__bottom a:hover {
  color: var(--color-secondary);
}

.footer__sep {
  opacity: 0.4;
  padding: 0 0.25rem;
}

/* ----------------------------------------------------------
   23. WHATSAPP FLOATING BUTTON
   ---------------------------------------------------------- */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-base);
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: var(--color-white);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--color-white);
}

.whatsapp-btn__pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ----------------------------------------------------------
   24. BACK TO TOP BUTTON
   ---------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 998;
  box-shadow: var(--shadow-md);
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ----------------------------------------------------------
   25. COOKIE CONSENT BANNER
   ---------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-dark);
  color: var(--color-white);
  padding: var(--space-lg) var(--space-xl);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition-base);
  visibility: hidden;
}

.cookie-banner--visible {
  visibility: visible;
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.cookie-banner p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  flex: 1;
  min-width: 250px;
}

.cookie-banner a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   26. TOAST NOTIFICATIONS
   ---------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: calc(var(--header-height) + var(--space-md));
  right: var(--space-md);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--color-white);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--color-primary);
  min-width: 300px;
  max-width: 450px;
  transform: translateX(120%);
  transition: transform var(--transition-base);
  animation: slideIn 0.3s ease forwards;
}

.toast--success {
  border-left-color: var(--color-success);
}

.toast--error {
  border-left-color: #dc2626;
}

.toast__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.toast--success .toast__icon {
  color: var(--color-success);
}

.toast--error .toast__icon {
  color: #dc2626;
}

.toast__content {
  flex: 1;
}

.toast__content h4 {
  font-size: var(--font-size-sm);
  margin-bottom: 2px;
}

.toast__content p {
  font-size: var(--font-size-xs);
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.toast__close {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.toast__close:hover {
  color: var(--color-text);
}

@keyframes slideIn {
  to { transform: translateX(0); }
}

@keyframes slideOut {
  to { transform: translateX(120%); opacity: 0; }
}

/* ----------------------------------------------------------
   27. SCROLL ANIMATIONS
   ---------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-on-scroll--visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll--left {
  transform: translateX(-30px);
}

.animate-on-scroll--left.animate-on-scroll--visible {
  transform: translateX(0);
}

.animate-on-scroll--right {
  transform: translateX(30px);
}

.animate-on-scroll--right.animate-on-scroll--visible {
  transform: translateX(0);
}

.animate-on-scroll--scale {
  transform: scale(0.95);
}

.animate-on-scroll--scale.animate-on-scroll--visible {
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.stagger-children--visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children--visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children--visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children--visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children--visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children--visible > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children--visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------
   28. RESPONSIVE — TABLETS (768px - 1023px)
   ---------------------------------------------------------- */
@media (max-width: 1023px) {
  :root {
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 2.5rem;
  }

  .grid-4,
  .values-grid,
  .kenwa-benefits,
  .steps,
  .certifications {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid--spacious {
    gap: 12px;
    padding: 0 var(--space-lg);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .differentiators {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-preview {
    gap: var(--space-xl);
  }

  .about-preview__image {
    height: 300px;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail__image {
    min-height: 250px;
    max-height: 300px;
  }

  .service-detail:nth-child(even) .service-detail__image {
    order: 0;
  }

  .steps::before {
    display: none;
  }

  .header__phone {
    display: none;
  }
}

/* ----------------------------------------------------------
   29. RESPONSIVE — MOBILE (< 768px)
   ---------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --font-size-4xl: 2rem;
    --font-size-5xl: 2rem;
    --font-size-3xl: 1.75rem;
    --space-4xl: 3rem;
    --space-3xl: 2.5rem;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  /* Mobile Navigation — left-slide drawer */
  .hamburger {
    display: flex;
  }

  .header__logo-img {
    max-width: 160px;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
  }
  .nav-overlay--visible {
    opacity: 1;
    visibility: visible;
  }

  .nav {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(300px, 80vw);
    background: var(--color-white);
    flex-direction: column;
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    z-index: 999;
    overflow-y: auto;
  }

  .nav--open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    width: 100%;
    gap: var(--space-md);
  }

  .nav__link {
    display: block;
    padding: var(--space-sm) 0;
    font-size: var(--font-size-base);
  }

  .header__cta {
    flex-direction: column;
    width: 100%;
    gap: var(--space-sm);
  }

  .header__cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Grids to single column */
  .grid-2,
  .grid-3,
  .grid-4,
  .benefits__grid,
  .services-grid,
  .project-grid,
  .testimonials-grid,
  .footer__grid,
  .values-grid,
  .differentiators,
  .steps,
  .kenwa-benefits,
  .certifications,
  .mission-vision,
  .stats-bar__grid,
  .contact-grid,
  .about-preview {
    grid-template-columns: 1fr;
  }

  .about-preview__highlights {
    grid-template-columns: 1fr;
  }

  /* Hero */
  .hero__content h1 {
    font-size: var(--font-size-3xl);
  }

  .hero__badges {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .page-hero__content h1 {
    font-size: var(--font-size-3xl);
  }

  /* Trust Strip */
  .trust-strip__inner {
    flex-direction: column;
    text-align: center;
  }

  .trust-strip__labels {
    justify-content: center;
  }

  .trust-strip__stats {
    justify-content: center;
  }

  /* Service Detail */
  .service-detail__list {
    grid-template-columns: 1fr;
  }

  .service-detail__content {
    padding: var(--space-lg);
  }

  /* About Preview */
  .about-preview__image {
    height: 250px;
  }

  .story {
    grid-template-columns: 1fr;
  }

  /* Checkbox group */
  .checkbox-group {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* What's differentiators */
  .differentiator-item {
    flex-direction: column;
    text-align: center;
  }

  .differentiator-item__icon {
    margin: 0 auto;
  }

  /* Steps */
  .step__number {
    width: 60px;
    height: 60px;
    font-size: var(--font-size-xl);
  }

  /* Certifications */
  .cert-card {
    padding: var(--space-lg);
  }

  /* Cookie */
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: center;
  }

  .toast {
    min-width: 250px;
  }

  .toast-container {
    right: var(--space-sm);
    left: var(--space-sm);
  }

  /* Additional mobile improvements */

  /* Service cards: shorter on mobile */
  .service-card {
    height: 280px;
  }

  /* Filter buttons: horizontal scroll on mobile */
  .filter-bar-wrap {
    position: relative;
  }

  .filter-bar-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 4px;
    width: 40px;
    background: linear-gradient(to right, transparent, var(--color-bg));
    pointer-events: none;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.375rem;
    padding-bottom: 4px;
    justify-content: flex-start;
  }
  .filter-bar::-webkit-scrollbar { display: none; }

  .filter-btn {
    font-size: var(--font-size-xs);
    padding: 0.5rem 1rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Modal adjustments */
  .modal__content {
    padding: var(--space-lg);
    width: 95%;
  }

  .modal__image {
    height: 200px;
  }

  .modal__services-list {
    grid-template-columns: 1fr !important;
  }

  /* Page hero smaller on mobile */
  .page-hero {
    padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-xl);
  }

  /* CTA section improvements */
  .cta-section__phone {
    font-size: var(--font-size-base);
    padding: var(--space-sm) var(--space-md);
    width: 100%;
    justify-content: center;
  }

  .cta-section__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer compact */
  .footer__badge {
    width: 80px;
    height: 80px;
  }

  /* Step spacing */
  .step {
    padding: 0 var(--space-md);
  }

  /* About story timeline mobile */
  .story__timeline {
    padding-left: var(--space-lg);
  }

  .timeline__item::before {
    left: calc(-1 * var(--space-lg) - 7px);
    width: 12px;
    height: 12px;
  }

  /* Mission Vision cards */
  .mission-vision__card {
    padding: var(--space-lg);
  }

  /* Value cards on mobile */
  .value-card {
    padding: var(--space-lg);
  }

  /* Differentiator item */
  .differentiator-item {
    padding: var(--space-md);
  }

  /* Kenwa benefits */
  .kenwa-benefits__item {
    padding: var(--space-lg);
  }

  /* Stats bar */
  .stats-bar__number {
    font-size: var(--font-size-3xl);
  }

  /* Hero badge size */
  .hero__badge {
    font-size: var(--font-size-xs);
  }

  /* About preview highlights */
  .about-preview__highlights {
    gap: var(--space-sm);
  }

  /* Testimonial card */
  .testimonial-card {
    padding: var(--space-lg);
  }

  /* Header logo text */
  .header__logo-text {
    font-size: var(--font-size-lg);
  }

  .header__logo-img {
  height: auto;
  width: 200px;
}

  /* Section spacing reduction */
  .section {
    padding: var(--space-3xl) 0;
  }

  .section__header {
    margin-bottom: var(--space-2xl);
  }
}

/* ----------------------------------------------------------
   30. EXTRA SMALL DEVICES (< 400px)
   ---------------------------------------------------------- */
@media (max-width: 399px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero__content h1 {
    font-size: 1.5rem;
  }

  .section__header h2 {
    font-size: var(--font-size-2xl);
  }

  .benefit-card {
    padding: var(--space-lg);
  }

  .project-card__body {
    padding: var(--space-md);
  }

  .filter-btn {
    font-size: 0.7rem;
    padding: 0.3rem 0.625rem;
  }

  .cta-section h2 {
    font-size: var(--font-size-2xl);
  }

  .footer__grid {
    gap: var(--space-xl);
  }

  .footer__col {
    padding: 0;
  }

  .contact-info__item {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .contact-info__icon {
    width: 40px;
    height: 40px;
  }

  .modal__content {
    padding: var(--space-md);
    width: 97%;
  }

  .modal__title {
    font-size: var(--font-size-lg);
  }
}

/* ----------------------------------------------------------
   31. CASE STUDY PAGES
   ---------------------------------------------------------- */
.case-study__hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.case-study__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study__hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-2xl);
  color: var(--color-white);
}

.case-study__breadcrumb {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-md);
  opacity: 0.8;
}

.case-study__breadcrumb a {
  color: var(--color-white);
  text-decoration: underline;
}

.case-study__breadcrumb a:hover {
  color: var(--color-secondary);
}

.case-study__hero-content h1 {
  font-size: var(--font-size-4xl);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.case-study__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.case-study__meta svg {
  vertical-align: middle;
  margin-right: 4px;
}

/* Stats */
.case-study__stats {
  background: var(--color-primary);
  padding: var(--space-2xl) 0;
  color: var(--color-white);
}

.case-study__stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.case-study__stat-number {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--color-secondary);
  font-family: var(--font-heading);
}

.case-study__stat-label {
  font-size: var(--font-size-sm);
  opacity: 0.8;
  margin-top: var(--space-xs);
}

/* Content layout */
.case-study__content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.case-study__text h2 {
  font-size: var(--font-size-2xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.case-study__text h2:first-child {
  margin-top: 0;
}

.case-study__text p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.case-study__results {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.case-study__results li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-weight: 500;
}

.case-study__results li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-success);
  margin-top: 2px;
}

/* Sidebar */
.case-study__sidebar {
  display: grid;
  gap: var(--space-lg);
  position: sticky;
  top: calc(var(--header-height) + var(--space-lg));
}

.case-study__sidebar-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.case-study__sidebar-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-secondary);
}

.case-study__services-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-sm);
}

.case-study__services-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
}

.case-study__services-list li svg {
  width: 16px;
  height: 16px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.case-study__services-list strong {
  color: var(--color-text);
  min-width: 70px;
}

/* Gallery */
.case-study__gallery-section {
  background: var(--color-bg-alt);
}

.case-study__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.case-study__gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.case-study__gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.case-study__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox__content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__video {
  width: 90vw;
  max-width: 960px;
  aspect-ratio: 16 / 9;
}

.lightbox__video iframe,
.lightbox__video video {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-lg);
  background: #000;
}

.lightbox__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: var(--space-sm);
}

.lightbox__close svg {
  width: 32px;
  height: 32px;
}

/* Lightbox Navigation */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 20;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.35);
}

.lightbox__prev {
  left: 16px;
}

.lightbox__next {
  right: 16px;
}

.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  z-index: 20;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 12px;
  border-radius: 20px;
}

@media (max-width: 767px) {
  .lightbox__nav {
    width: 40px;
    height: 40px;
  }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
}

/* Case study responsive */
@media (max-width: 1023px) {
  .case-study__content {
    grid-template-columns: 1fr;
  }

  .case-study__sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .case-study__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-study__hero-content h1 {
    font-size: var(--font-size-3xl);
  }
}

@media (max-width: 767px) {
  .case-study__stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .case-study__sidebar {
    grid-template-columns: 1fr;
  }

  .case-study__gallery {
    grid-template-columns: 1fr;
  }

  .case-study__hero-content h1 {
    font-size: var(--font-size-2xl);
  }
}

/* ----------------------------------------------------------
   32. PLACEHOLDER IMAGE STYLING
   ---------------------------------------------------------- */
.project-card__image[src$=".svg"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card__image[src$=".svg"] + .project-card__badge {
  z-index: 2;
}

.project-card__image[src$=".svg"] + .project-card__badge + .project-card__overlay {
  z-index: 2;
}

/* ----------------------------------------------------------
   33. MID-RANGE PHONES (400px - 549px) — SMALL 2-COLUMN GRIDS
   ---------------------------------------------------------- */
@media (min-width: 400px) and (max-width: 549px) {
  .about-preview__highlights {
    grid-template-columns: 1fr 1fr;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid--spacious {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 var(--space-md);
  }

  .checkbox-group {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail__list {
    grid-template-columns: 1fr 1fr;
  }
}

/* ----------------------------------------------------------
   34. PRINT STYLES
   ---------------------------------------------------------- */
@media print {
  .header,
  .footer,
  .whatsapp-btn,
  .back-to-top,
  .cookie-banner,
  .preloader,
  .toast-container {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .hero__overlay,
  .page-hero__overlay {
    background: none !important;
  }

  .hero__content,
  .page-hero__content {
    color: var(--color-text) !important;
  }

  .hero__content h1,
  .page-hero__content h1 {
    color: var(--color-primary) !important;
  }

  .section {
    padding: 1rem 0;
    break-inside: avoid;
  }
}
