/* ============================================================================
   01  DESIGN TOKENS
   ============================================================================ */

:root {
  /* Brand */
  --primary-green: #1c3b17;
  --secondary-green: #2a8a50;
  --accent-gold: #d4af37;
  --accent-light: #b3d449;
  --green-soft: #d7f8d1;
  --green-mint: #c8ef86;
  --green-mint-deep: #9ed85a;
  --green-forest: #168648;
  --green-emerald: #0a7d39;

  /* Neutrals */
  --text-dark: #1a1a2e;
  --text-light: #ffffff;
  --text-gray: #555555;
  --text-muted: #6b7280;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-light: #e9ecef;
  --black: #000000;
  --dark-panel: #111827;

  /* Elevation & shape */
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* Type */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Oswald', 'Arial Narrow', 'Inter', sans-serif;
  --font-alt: 'Outfit', 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Pacifico', 'Segoe Script', 'Bradley Hand', cursive;

  /* Layout */
  --shell-max: 1200px;
  --shell-pad: 20px;
}


/* ============================================================================
   02  RESET & DOCUMENT BASE
   ============================================================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  /* clip (not hidden) so sticky/fixed elements such as #gg-widget keep working
     while decorative overflow from the hex grid and blob backgrounds is cut */
  overflow-x: clip;
}

img,
svg,
video {
  max-width: 100%;
}

img {
  border-style: none;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid var(--secondary-green);
  outline-offset: 2px;
}

/* Shared shell used by several sections */
.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

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


/* ============================================================================
   03  TOP HEADER, LOGO, LIVE SEARCH
   ============================================================================ */

.top-header {
  background-color: var(--green-soft);
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 16px;
}

/* --- Logo --- */
.logo-area {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-area:hover .logo-icon img {
  transform: scale(1.05);
}

/* --- Search field --- */
.search-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: 0 10px;
}

.search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cce8c5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.search-box:focus-within {
  box-shadow: 0 0 0 2px var(--primary-green);
  border-color: var(--primary-green);
}

.search-box input {
  width: 100%;
  padding: 10px 16px;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: transparent;
  font-family: inherit;
}

.search-box input::placeholder {
  color: #999999;
}

.search-box button {
  background: transparent;
  border: none;
  padding: 10px 16px;
  color: var(--text-gray);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s var(--ease-out);
}

.search-box button:hover {
  color: var(--primary-green);
}

/* --- Live search dropdown --- */
.search-results {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  max-height: 280px;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
}

.search-results.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-results::-webkit-scrollbar {
  width: 6px;
}

.search-results::-webkit-scrollbar-thumb {
  background-color: #cce8c5;
  border-radius: 3px;
}

.search-item {
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.search-item:last-child {
  border-bottom: none;
}

.search-item:hover {
  background-color: var(--bg-light);
}

.search-item .category {
  font-size: 0.75rem;
  background: #e2f5df;
  color: var(--primary-green);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}

/* --- Mobile toggle --- */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--primary-green);
  cursor: pointer;
  padding: 4px;
  transition: transform 0.3s ease;
}

.mobile-toggle:hover {
  transform: scale(1.1);
}


/* ============================================================================
   04  PRIMARY NAVBAR & DROPDOWN MENUS
   ============================================================================ */

.main-navbar {
  background-color: var(--black);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 990;
}

.nav-container {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 var(--shell-pad);
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-item,
.nav-links li {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  border-radius: 4px;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.nav-link i,
.arrow {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #8be1a8;
}

/* --- Level 1 dropdown --- */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--black);
  list-style: none;
  padding: 6px 0;
  box-shadow: var(--shadow);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  border-top: 3px solid var(--secondary-green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
  z-index: 1000;
}

.dropdown-menu a,
.dropdown-menu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid #000000;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), padding-left 0.3s var(--ease-out);
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu a:hover,
.dropdown-menu li a:hover {
  background-color: var(--secondary-green);
  color: var(--text-light);
  padding-left: 22px;
}

/* --- Level 2 (nested) dropdown --- */
.sub-dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 220px;
  background-color: var(--black);
  list-style: none;
  padding: 6px 0;
  box-shadow: var(--shadow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) var(--radius-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
  z-index: 1001;
}

.side-arrow {
  font-size: 12px;
}

.menu-toggle,
.hamburger-btn {
  display: none;
}

/* Flip menus that would otherwise overflow the viewport edge */
.dropdown-menu.reverse-align {
  left: auto;
  right: 0;
}

.sub-dropdown-menu.reverse-align {
  left: auto;
  right: 100%;
  border-radius: var(--radius-sm) 0 var(--radius-sm) var(--radius-sm);
}

/* --- Desktop: hover reveal --- */
@media (min-width: 992px) {
  .nav-item.dropdown:hover > .dropdown-menu,
  .dropdown-item:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nested-dropdown:hover > .sub-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .nav-item.dropdown:hover .nav-link i,
  .dropdown-item:hover .arrow {
    transform: rotate(180deg);
  }
}

/* --- Mobile / tablet: accordion reveal --- */
@media (max-width: 991px) {
  .header-container {
    flex-wrap: wrap;
    gap: 12px;
  }

  .logo-area {
    max-width: 75%;
  }

  .mobile-toggle {
    display: block;
  }

  .search-wrapper {
    order: 3;
    max-width: 100%;
    margin: 6px 0 0 0;
  }

  .main-navbar {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
  }

  .main-navbar.open {
    max-height: 850px;
    overflow-y: auto;
  }

  .nav-container {
    padding: 0;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0;
    align-items: stretch;
  }

  .nav-link {
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
  }

  .dropdown-menu,
  .sub-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    min-width: 100%;
    padding: 0;
    overflow: hidden;
    box-shadow: none;
    border-top: none;
    background-color: #000000;
    transition: max-height 0.3s ease;
  }

  .dropdown-menu a,
  .dropdown-menu li a {
    padding-left: 32px;
  }

  .sub-dropdown-menu a {
    padding-left: 44px;
  }

  .nav-item.dropdown.active > .dropdown-menu,
  .dropdown-item.active > .dropdown-menu,
  .nested-dropdown.active > .sub-dropdown-menu {
    max-height: 600px;
  }

  .nav-item.dropdown.active > .nav-link i,
  .dropdown-item.active > .nav-link .arrow {
    transform: rotate(180deg);
  }
}

/* ============================================================================
   05  HERO SLIDER  (.egb-*)
   Scoped tokens live on .egb-wrap so they cannot leak into other modules.
   ============================================================================ */

.egb-wrap {
  --egb-mint: #c8ef86;
  --egb-mint-deep: #9ed85a;
  --egb-dark: #2b2c2f;
  --egb-ink: #14161a;
  --egb-card: #1c1e23;
  --egb-muted: rgba(255, 255, 255, 0.72);
  font-family: var(--font-alt);
  color: #ffffff;
  line-height: 1.5;
}

.egb-wrap *,
.egb-wrap *::before,
.egb-wrap *::after {
  box-sizing: border-box;
}

/* Slide <img> fallbacks are hidden; backgrounds are painted by ::before below */
.egb-imgs {
  display: none !important;
}

/* --- Layout --- */
.egb-hero {
  position: relative;
  overflow: hidden;
  background: #0d0f12;
}

.egb-slider {
  position: relative;
}

.egb-slider > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  clip: rect(0 0 0 0);
}

.egb-viewport {
  overflow: hidden;
  height: min(72vh, 640px);
  min-height: 420px;
}

.egb-track {
  display: flex;
  width: 700%;
  height: 100%;
  transition: transform 0.9s cubic-bezier(0.72, 0.01, 0.22, 1);
}

/* 7 slides: 100 / 7 = 14.285714% each */
.egb-slide {
  position: relative;
  flex: 0 0 14.285714%;
  width: 14.285714%;
  height: 100%;
  overflow: hidden;
  background-color: #111111;
  background-size: cover;
  background-position: center center;
}

/* --- CSS-only background fallback (still works if script.js fails) --- */
.egb-slide[data-bg="1"]::before,
.egb-slide:nth-child(1)::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: 0;
  background-image: url("images/ekrem-osmanoglu-Uor3RZNHZ9E-unsplash.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: egb-ken 18s ease-in-out infinite alternate;
}

.egb-slide[data-bg="2"]::before,
.egb-slide:nth-child(2)::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: 0;
  background-image: url("images/main2.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: egb-ken 18s ease-in-out infinite alternate;
}

.egb-slide[data-bg="3"]::before,
.egb-slide:nth-child(3)::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: 0;
  background-image: url("images/skyscrapers-from-low-angle-view.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: egb-ken 18s ease-in-out infinite alternate;
}

.egb-slide[data-bg="4"]::before,
.egb-slide:nth-child(4)::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: 0;
  background-image: url("images/main7.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: egb-ken 18s ease-in-out infinite alternate;
}

.egb-slide[data-bg="5"]::before,
.egb-slide:nth-child(5)::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: 0;
  background-image: url("images/main5.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: egb-ken 18s ease-in-out infinite alternate;
}

.egb-slide[data-bg="6"]::before,
.egb-slide:nth-child(6)::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: 0;
  background-image: url("images/foodmain.jpeg");
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: egb-ken 18s ease-in-out infinite alternate;
}

.egb-slide[data-bg="7"]::before,
.egb-slide:nth-child(7)::before {
  content: "";
  position: absolute;
  inset: -4%;
  z-index: 0;
  background-image: url("images/buildingimages.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: egb-ken 18s ease-in-out infinite alternate;
}

/* --- Overlays ---
   FIX: the original values were missing the whitespace between each rgba()
   colour and its percentage stop ("rgba(8,10,14,.82)0%") and between the two
   position values ("circle at 72%42%"). Both made the whole value invalid, so
   the browser dropped the declaration entirely: the hero rendered with no dark
   wash and no mesh glow, leaving white text on top of bright photography. */
.egb-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.82) 0%, rgba(8, 10, 14, 0.55) 38%, rgba(8, 10, 14, 0.18) 70%, rgba(20, 12, 4, 0.35) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.egb-mesh {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 72% 42%, rgba(200, 239, 134, 0.16), transparent 22%),
    radial-gradient(circle at 88% 78%, rgba(255, 176, 70, 0.12), transparent 18%);
}

.egb-mesh::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 18%;
  width: min(38vw, 420px);
  height: min(38vw, 420px);
  border: 1px solid rgba(200, 239, 134, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(200, 239, 134, 0.04);
  animation: egb-orbit 16s linear infinite;
}

/* --- Copy --- */
.egb-copy {
  position: relative;
  z-index: 3;
  max-width: 640px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 6vw, 80px) clamp(20px, 6vw, 90px) 88px;
}

.egb-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--egb-mint);
  font-weight: 600;
}

.egb-copy h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 68px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--egb-mint);
  text-wrap: balance;
}

.egb-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
}

.egb-lead {
  margin: 0;
  max-width: 34rem;
  color: var(--egb-muted);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 300;
}

/* --- Controls --- */
.egb-ui {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.egb-btn {
  pointer-events: auto;
  position: absolute;
  top: 46%;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.egb-btn:hover {
  background: rgba(200, 239, 134, 0.92);
  color: #1a1c14;
  transform: scale(1.06);
}

.egb-btn svg {
  width: 20px;
  height: 20px;
}

.egb-p { left: 18px; }
.egb-n { right: 18px; }

.egb-dots {
  pointer-events: auto;
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.egb-dot {
  display: block;
  cursor: pointer;
}

.egb-dot span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.35s ease, background 0.35s ease;
}

/* --- Active-state mapping (7 slides) --- */
.egb-slider > input#egb-s1:checked ~ .egb-viewport .egb-track { transform: translateX(0); }
.egb-slider > input#egb-s2:checked ~ .egb-viewport .egb-track { transform: translateX(-14.2857%); }
.egb-slider > input#egb-s3:checked ~ .egb-viewport .egb-track { transform: translateX(-28.5714%); }
.egb-slider > input#egb-s4:checked ~ .egb-viewport .egb-track { transform: translateX(-42.8571%); }
.egb-slider > input#egb-s5:checked ~ .egb-viewport .egb-track { transform: translateX(-57.1428%); }
.egb-slider > input#egb-s6:checked ~ .egb-viewport .egb-track { transform: translateX(-71.4285%); }
.egb-slider > input#egb-s7:checked ~ .egb-viewport .egb-track { transform: translateX(-85.7142%); }

.egb-slider > input#egb-s1:checked ~ .egb-ui .d1 span,
.egb-slider > input#egb-s2:checked ~ .egb-ui .d2 span,
.egb-slider > input#egb-s3:checked ~ .egb-ui .d3 span,
.egb-slider > input#egb-s4:checked ~ .egb-ui .d4 span,
.egb-slider > input#egb-s5:checked ~ .egb-ui .d5 span,
.egb-slider > input#egb-s6:checked ~ .egb-ui .d6 span,
.egb-slider > input#egb-s7:checked ~ .egb-ui .d7 span {
  width: 28px;
  background: var(--egb-mint);
}

.egb-slider > input#egb-s1:checked ~ .egb-ui .egb-p1,
.egb-slider > input#egb-s1:checked ~ .egb-ui .egb-n1,
.egb-slider > input#egb-s2:checked ~ .egb-ui .egb-p2,
.egb-slider > input#egb-s2:checked ~ .egb-ui .egb-n2,
.egb-slider > input#egb-s3:checked ~ .egb-ui .egb-p3,
.egb-slider > input#egb-s3:checked ~ .egb-ui .egb-n3,
.egb-slider > input#egb-s4:checked ~ .egb-ui .egb-p4,
.egb-slider > input#egb-s4:checked ~ .egb-ui .egb-n4,
.egb-slider > input#egb-s5:checked ~ .egb-ui .egb-p5,
.egb-slider > input#egb-s5:checked ~ .egb-ui .egb-n5,
.egb-slider > input#egb-s6:checked ~ .egb-ui .egb-p6,
.egb-slider > input#egb-s6:checked ~ .egb-ui .egb-n6,
.egb-slider > input#egb-s7:checked ~ .egb-ui .egb-p7,
.egb-slider > input#egb-s7:checked ~ .egb-ui .egb-n7 {
  display: flex;
}

/* Animate the copy of whichever slide is currently checked */
.egb-slider > input#egb-s1:checked ~ .egb-viewport .egb-slide:nth-child(1) .egb-copy,
.egb-slider > input#egb-s2:checked ~ .egb-viewport .egb-slide:nth-child(2) .egb-copy,
.egb-slider > input#egb-s3:checked ~ .egb-viewport .egb-slide:nth-child(3) .egb-copy,
.egb-slider > input#egb-s4:checked ~ .egb-viewport .egb-slide:nth-child(4) .egb-copy,
.egb-slider > input#egb-s5:checked ~ .egb-viewport .egb-slide:nth-child(5) .egb-copy,
.egb-slider > input#egb-s6:checked ~ .egb-viewport .egb-slide:nth-child(6) .egb-copy,
.egb-slider > input#egb-s7:checked ~ .egb-viewport .egb-slide:nth-child(7) .egb-copy {
  animation: egb-rise 0.75s ease both;
}

/* --- Stats bar --- */
.egb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--egb-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.egb-stat {
  text-align: center;
  padding: 28px 12px 24px;
  position: relative;
}

.egb-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 22%;
  height: 56%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.egb-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  color: var(--egb-mint);
  letter-spacing: 0.02em;
  line-height: 1;
}

.egb-stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

/* --- Divisions grid --- */
.egb-divs {
  background: radial-gradient(circle at 10% 0%, rgba(200, 239, 134, 0.08), transparent 28%), var(--egb-ink);
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 72px);
}

.egb-divs-head {
  max-width: 680px;
  margin-bottom: 36px;
}

.egb-divs-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: 0.04em;
  font-weight: 600;
}

.egb-divs-head p:last-child {
  margin: 0;
  color: var(--egb-muted);
}

.egb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.egb-card {
  background: linear-gradient(180deg, #22252b 0%, var(--egb-card) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 26px 24px 24px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.egb-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 239, 134, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(200, 239, 134, 0.08);
}

.egb-ico {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 16px;
  color: #14200a;
  background: linear-gradient(160deg, var(--egb-mint), var(--egb-mint-deep));
}

.egb-ico svg {
  width: 24px;
  height: 24px;
}

.egb-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 650;
}

.egb-card p {
  margin: 0;
  color: var(--egb-muted);
  font-size: 14px;
}

@keyframes egb-ken {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -1%, 0); }
}

@keyframes egb-orbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes egb-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Hero slider responsive --- */
@media (max-width: 1100px) {
  .egb-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
  .egb-grid { grid-template-columns: repeat(2, 1fr); }
  .egb-viewport { height: min(78vh, 620px); }
}

@media (max-width: 720px) {
  .egb-stats { grid-template-columns: repeat(2, 1fr); }
  .egb-stat:nth-child(even)::after { display: none; }
  .egb-stat { padding: 22px 10px; }
  .egb-btn { width: 38px; height: 38px; }
  .egb-p { left: 10px; }
  .egb-n { right: 10px; }
  .egb-copy { padding-bottom: 78px; }
}

@media (max-width: 520px) {
  .egb-grid { grid-template-columns: 1fr; }
  .egb-viewport { min-height: 480px; height: auto; }
  .egb-slide { min-height: 480px; }
  .egb-copy h2 { font-size: 20px; }
  .egb-mesh::after { opacity: 0.45; width: 220px; height: 220px; }
}


/* ============================================================================
   06  PAGE HERO BANNER  (.hero-banner)
   ============================================================================ */

.hero-banner {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: Arial, sans-serif;
  background-color: var(--dark-panel);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 40px 50px;
  color: var(--text-light);
}

.hero-tag {
  display: inline-block;
  color: var(--green-mint);
  font-size: clamp(2.25rem, 5vw, 3.875rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.hero-title {
  color: var(--text-light);
  font-size: clamp(1.75rem, 2.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 15px;
}

.hero-description {
  color: #e0e0e0;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  max-width: 480px;
}

@media (max-width: 768px) {
  .hero-content { padding: 30px 20px; }
  .hero-title { font-size: 1.9rem; }
}


/* ============================================================================
   07  FULL-WIDTH IMAGE BAND  (.image-section)
   ============================================================================ */

.image-section {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.image-section img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .image-section { padding: 20px 10px; }
  .image-section img { border-radius: 8px; }
}

@media (max-width: 480px) {
  .image-section { padding: 10px 5px; }
}


/* ============================================================================
   08  LOGO CAROUSEL  (.logo-carousel)
   ============================================================================ */

.logo-carousel {
  margin: 0 auto;
  width: 100%;
  background-color: #ffffff;
  display: flex;
  overflow: hidden;
  position: relative;
  padding: 24px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Feathered edges */
.logo-carousel::before,
.logo-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.5rem;
  animation: logo-marquee 60s infinite linear;
  flex-shrink: 0;
  min-width: 100%;
  padding: 14px;
}

.logo-carousel:hover .logo-group {
  animation-play-state: paused;
}

.logo-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  flex: 0 0 160px;
  height: 90px;
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.logo-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.logo-card:hover img {
  filter: grayscale(0%) opacity(1);
}

/* Renamed from the generic "spin": this is a horizontal marquee, not a
   rotation, and "spin" is one of the most collision-prone keyframe names. */
@keyframes logo-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

@media (max-width: 768px) {
  .logo-card {
    flex: 0 0 120px;
    height: 70px;
    padding: 0.75rem;
  }

  .logo-carousel::before,
  .logo-carousel::after {
    width: 50px;
  }
}

/* ============================================================================
   09  CONTACT / INQUIRY PANELS  (.contact-container)
   ----------------------------------------------------------------------------
   FIX: the original sheet styled bare `label`, `input[type=...]`, `select`,
   `textarea` and `h2.section-title` at global scope. Those rules leaked onto
   unrelated markup on other pages — notably the checkbox-hack <label> controls
   (.help-fab, .help-tooltip-close) on the project pages, which inherited
   11px uppercase bold styling, and <h2 class="section-title"> on the
   contracting page, which was forced to 28px + 30px padding instead of its own
   clamp(32px, 4.5vw, 56px). Everything below is now scoped to .contact-container.

   FIX: `.svc-wrap { width/margin }` and `.svc-wrap .pillars { display:flex }`
   were accidentally pasted INSIDE the `@media (max-width: 576px)` block that
   belongs to this contact section, so the infographic wrapper only got its
   layout below 576px and its 5-column grid was overridden to flexbox on phones.
   Those rules now live in section 16 where they belong.
   ============================================================================ */

.contact-container {
  max-width: 1280px;
  min-height: 500px;
  padding: 12px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

/* --- Panels --- */
.left-panel,
.right-panel {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* --- Headings --- */
.contact-container h2.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  padding: 30px;
  color: #111827;
  letter-spacing: -0.5px;
}

.contact-container p.section-desc {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
}

/* --- Direct contact row --- */
.contact-direct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.direct-item {
  background: #fafafa;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid #f0f0f0;
}

.direct-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.icon-box {
  width: 36px;
  height: 36px;
  background-color: #d1fae5;
  color: #059669;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.direct-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.direct-list {
  list-style: none;
  font-size: 13px;
}

.direct-list li {
  margin-bottom: 6px;
}

.direct-list a {
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}

.direct-list a:hover {
  color: #059669;
  text-decoration: underline;
}

/* --- Location cards --- */
.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  flex-grow: 1;
}

.location-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  border-color: #a7f3d0;
}

.location-card .icon-box {
  margin-bottom: 12px;
  width: 42px;
  height: 42px;
  font-size: 18px;
}

.location-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.location-card p {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}

/* --- Form layout --- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-group.full-width {
  grid-column: span 2;
}

.contact-container label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #374151;
  margin-bottom: 6px;
}

.contact-container label span.required {
  color: #ef4444;
}

.contact-container input[type="text"],
.contact-container input[type="email"],
.contact-container input[type="tel"],
.contact-container select,
.contact-container textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  border-radius: 8px;
  font-size: 13px;
  color: #1f2937;
  outline: none;
  font-family: inherit;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-container input:focus,
.contact-container select:focus,
.contact-container textarea:focus {
  background-color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.contact-container textarea {
  resize: vertical;
  min-height: 90px;
}

/* --- Inquiry pills --- */
.inquiry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.tag-btn {
  padding: 6px 14px;
  border: 1px solid #e5e7eb;
  background-color: #f3f4f6;
  border-radius: 20px;
  font-size: 12px;
  color: #374151;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tag-btn:hover {
  background-color: #e5e7eb;
}

.tag-btn.active {
  background-color: #ffffff;
  border-color: #ef4444;
  color: #ef4444;
  font-weight: 600;
}

.inquiry-subtext {
  font-size: 11px;
  color: #6b7280;
  margin-top: 4px;
}

/* --- Consent checkbox --- */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #111827;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  margin: 0;
  cursor: pointer;
}

/* --- Submit --- */
.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #000000;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.submit-btn:hover {
  background-color: #1f2937;
}

.submit-btn:active {
  transform: scale(0.99);
}

/* --- Toasts --- */
.toast-success,
.toast-error {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  animation: toast-in 0.3s ease;
}

.toast-success { background: #059669; }
.toast-error   { background: #ef4444; }

@keyframes toast-in {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* --- Contact responsive --- */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .contact-direct-grid,
  .location-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .left-panel,
  .right-panel {
    padding: 20px;
  }

  .contact-container h2.section-title {
    padding: 20px 0;
    font-size: 24px;
  }

  .toast-success,
  .toast-error {
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
  }
}


/* ============================================================================
   10  SITE FOOTER  (.ihub-*)
   ============================================================================ */

.ihub-footer {
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  color: #0b253a;
  overflow: hidden;
}

.ihub-help-bar {
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 12px 20px;
  font-size: 13px;
  line-height: 1.4;
}

.ihub-help-bar p {
  margin: 0;
  animation: ihub-top-fade 0.9s ease forwards;
}

.ihub-help-bar strong {
  color: #ffffff;
}

.ihub-help-bar a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.ihub-help-bar a:hover {
  color: #7ee48b;
}

.ihub-footer-main {
  background: linear-gradient(135deg, #dffbd8 0%, #dcfbd5 45%, #d8f8cf 100%);
  padding: 58px 20px 40px;
  position: relative;
}

.ihub-footer-main::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
  background: radial-gradient(circle, rgba(36, 139, 90, 0.14), transparent 65%);
  animation: ihub-glow-a 6s ease-in-out infinite alternate;
}

.ihub-footer-main::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: -140px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.07), transparent 65%);
  animation: ihub-glow-b 7s ease-in-out infinite alternate;
}

.ihub-footer-container {
  max-width: var(--shell-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.95fr;
  gap: 80px;
  position: relative;
  z-index: 2;
}

.ihub-footer-col {
  animation: ihub-fade-up 0.9s ease both;
}

.ihub-footer-col:nth-child(2) { animation-delay: 0.15s; }
.ihub-footer-col:nth-child(3) { animation-delay: 0.3s; }

.ihub-logo-wrap {
  margin-bottom: 12px;
}

.ihub-logo {
  max-width: 330px;
  height: auto;
  display: block;
  animation: ihub-float 3.8s ease-in-out infinite;
}

.ihub-description {
  max-width: 380px;
  font-size: 16px;
  line-height: 1.65;
  color: #24504a;
  margin: 0 0 24px;
}

.ihub-info-block {
  margin-bottom: 24px;
}

.ihub-info-block h4 {
  margin: 0 0 7px;
  font-size: 14px;
  color: #10273b;
  font-weight: 800;
}

.ihub-info-block p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #10273b;
}

.ihub-phone {
  display: inline-block;
  color: #007f37;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.ihub-phone:hover {
  color: #003d1a;
  transform: translateX(5px);
}

.ihub-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 370px;
}

.ihub-badges span {
  background: #202020;
  color: #ffffff;
  font-size: 12px;
  padding: 9px 11px;
  border-radius: 4px;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.ihub-badges span:hover {
  transform: translateY(-5px);
  background: var(--green-emerald);
  box-shadow: 0 8px 20px rgba(10, 125, 57, 0.25);
}

.ihub-footer-col h2 {
  font-size: 34px;
  line-height: 1;
  margin: 15px 0 14px;
  color: #1c3851;
  font-weight: 900;
  letter-spacing: 0.5px;
  position: relative;
}

.ihub-footer-col h2::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  background: var(--green-forest);
  margin-top: 10px;
  border-radius: 20px;
  animation: ihub-line-grow 1s ease 0.55s forwards;
}

.ihub-links,
.ihub-contact-list {
  list-style: none;
}

.ihub-links li,
.ihub-contact-list li {
  margin-bottom: 7px;
}

.ihub-links a,
.ihub-contact-list a {
  color: #12314a;
  font-size: 14px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.ihub-links a::before,
.ihub-contact-list a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--green-forest);
  transition: width 0.3s ease;
}

.ihub-links a:hover,
.ihub-contact-list a:hover {
  color: var(--green-emerald);
  padding-left: 8px;
}

.ihub-links a:hover::before,
.ihub-contact-list a:hover::before {
  width: 100%;
}

.ihub-copyright {
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 13px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.ihub-copyright p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

@keyframes ihub-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ihub-top-fade {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ihub-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@keyframes ihub-line-grow {
  from { width: 0; }
  to   { width: 58px; }
}

@keyframes ihub-glow-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-35px, 30px) scale(1.08); }
}

@keyframes ihub-glow-b {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -25px) scale(1.1); }
}

@media (max-width: 992px) {
  .ihub-footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }

  .ihub-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .ihub-footer-main { padding: 42px 18px 32px; }
  .ihub-footer-container { grid-template-columns: 1fr; gap: 34px; }
  .ihub-footer-col h2 { font-size: 28px; }
  .ihub-description { font-size: 15px; }
  .ihub-help-bar { font-size: 12px; }
  .ihub-badges span { font-size: 11px; }
  .ihub-logo { max-width: 240px; }
}

/* ============================================================================
   11  SERVICES — GENERIC GRID
   Used by: e-commerce.html, catering-foodservices.html, tradingbusiness.html
   ----------------------------------------------------------------------------
   FIX: `.services-grid`, `.service-card`, `.services-title`, `.card-image-*`,
   `.card-title` and `.card-description` were each declared two or three times
   by different page modules in the same flat sheet. The LAST declaration won on
   EVERY page, so the facility page lost its 4-column grid and the glassmorphism
   card style from an unused `.services-wrapper` module was painted onto cards
   that never asked for it. The facility variant is now isolated in section 12
   and the unused variant has been deleted.
   ============================================================================ */

.services-header {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9fafb;
}

.services-header .services-subtitle h3 {
  font-size: 2rem;
  color: #6b7280;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-header .services-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}

/* FIX: this underline pseudo-element had width, height and border-radius but no
   background, and its offset parent was `.services-title span` which was not
   positioned — so nothing ever rendered. */
.services-header .services-title span {
  position: relative;
  display: inline-block;
}

.services-header .services-title span::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: var(--secondary-green);
}

/* --- Intro copy block --- */
.services-header ~ .head-text {
  padding: 40px 20px;
  max-width: var(--shell-max);
  margin: 0 auto;
}

.services-header ~ .head-text .span-text {
  width: 60px;
  height: 4px;
  background-color: var(--secondary-green);
  margin-bottom: 20px;
}

.services-header ~ .head-text h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.services-header ~ .head-text p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
}

/* --- Grid --- */
.services-header ~ .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  padding: 20px;
  max-width: 1900px;
  margin: 0 auto;
}

.services-header ~ .services-grid .service-card {
  background-color: #ffffff;
  border: 1px solid #d1fae5;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.services-header ~ .services-grid .service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.services-header ~ .services-grid .service-card .card-image-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
}

.services-header ~ .services-grid .service-card .card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.services-header ~ .services-grid .service-card:hover .card-image {
  transform: scale(1.05);
}

/* FIX: `.card-title` was declared five times across four modules. Because the
   branding module's copy set `text-transform: uppercase` and no later rule
   overrode that one property, EVERY card title on EVERY page rendered in caps.
   Each consumer now has its own scoped rule. */
.services-header ~ .services-grid .service-card .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.services-header ~ .services-grid .service-card .card-description {
  font-size: 0.925rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
  flex-grow: 1;
}

.services-header ~ .services-grid .service-card-list-style {
  list-style: none;
  padding-left: 0;
}

.services-header ~ .services-grid .service-card-list-style li {
  padding: 6px 0 6px 20px;
  font-size: 0.9rem;
  color: #4b5563;
  position: relative;
}

.services-header ~ .services-grid .service-card-list-style li::before {
  content: '\2022';
  color: var(--secondary-green);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* --- FODS accordion --- */
.fods-nav-container {
  max-width: var(--shell-max);
  margin: 60px auto;
  padding: 0 20px;
}

.fods-nav-container h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.nav-bar {
  background-color: var(--primary-green);
  color: var(--text-light);
  padding: 16px 24px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.nav-bar:hover {
  background-color: #163012;
}

.nav-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.nav-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.nav-content {
  display: none;
  background-color: #f9fafb;
  border-radius: 8px;
  overflow: hidden;
}

.nav-content.active {
  display: block;
}

.content-inner {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.spec-paragraph {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Bulleted variant — tradingbusiness.html only.
   FIX: `content: ''` with a colour and font-weight meant the bullet was an
   empty string, so no marker was ever drawn. The grid variant of `.spec-list`
   (contracting page) also overrode this one into two columns. */
.fods-nav-container .spec-list {
  list-style: none;
  padding-left: 0;
}

.fods-nav-container .spec-list li {
  padding: 8px 0 8px 20px;
  font-size: 0.95rem;
  color: #4b5563;
  position: relative;
}

.fods-nav-container .spec-list li::before {
  content: '\2022';
  color: var(--secondary-green);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* --- Gallery --- */
.gallery-box {
  max-width: 100%;
  margin: 0 auto;
}

.main-image-wrap {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
}

.main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #f3f4f6;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev { left: 10px; }
.next { right: 10px; }

.thumb-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.thumb-item {
  min-width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.thumb-item.active {
  border-color: var(--secondary-green);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Generic services responsive --- */
@media (max-width: 1200px) {
  .services-header ~ .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .services-header { padding: 40px 20px; }
  .services-header .services-title { font-size: 2rem; }
  .main-image-wrap { height: 300px; }
}

@media (max-width: 768px) {
  .services-header .services-title { font-size: 1.75rem; }

  /* minmax(350px, 1fr) cannot fit a 360px viewport minus padding, which is what
     forced horizontal scrolling on small phones. auto-fit + min() fixes it. */
  .services-header ~ .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    padding: 0 20px;
  }

  .services-header { padding: 40px 20px; }
  .services-header ~ .head-text { padding: 20px; }
  .fods-nav-container { padding: 0 20px; }
  .content-inner { padding: 20px; }
  .main-image-wrap { height: 250px; }
}

@media (max-width: 480px) {
  .services-header .services-title { font-size: 1.5rem; }
  .services-header ~ .services-grid { grid-template-columns: 1fr; }
  .services-header ~ .services-grid .service-card .card-image-container { height: 180px; }
  .main-image-wrap { height: 200px; }
  .thumb-item { min-width: 60px; height: 60px; }
  .fods-nav-container h1 { font-size: 1.75rem; }
}


/* ============================================================================
   12  SERVICES — FACILITY MANAGEMENT PAGE  (.services-container)
   Used by: facilitymanagement.html
   Scoped under .services-container so it no longer fights section 11.
   ============================================================================ */

.services-container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 85px) max(20px, 5vw);
  background: #ffffff;
}

.services-container .services-title {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
  color: #272a31;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.services-container .services-title .highlight {
  color: #1a5e35;
}

.services-container .services-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  padding: 0;
  max-width: none;
  margin-top: clamp(24px, 4vw, 40px);
}

.services-container .service-card {
  min-width: 0;
  min-height: 180px;
  padding: clamp(20px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #dcece0;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(20, 60, 30, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.services-container .service-card:hover {
  transform: translateY(-6px);
  border-color: #87d8ab;
  box-shadow: 0 16px 30px rgba(20, 60, 30, 0.14);
}

.services-container .service-card .icon-wrapper {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  color: #1a5e35;
  background: #d1fae5;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.services-container .service-card .icon-wrapper svg {
  width: 25px;
  height: 25px;
}

.services-container .service-card:hover .icon-wrapper {
  color: #ffffff;
  background: #1a5e35;
  transform: scale(1.08);
}

.services-container .service-card h3 {
  margin: 0;
  color: #272a31;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .services-container .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 868px) {
  .services-container { padding: 55px 28px; }
  .services-container .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-container .service-card { min-height: 165px; }
}

@media (max-width: 560px) {
  .services-container { padding: 45px 18px; }
  .services-container .services-title { font-size: 1.75rem; margin-bottom: 30px; }
  .services-container .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .services-container .service-card { min-height: 145px; padding: 22px; }

  .services-container .service-card .icon-wrapper {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    margin-bottom: 14px;
  }

  .services-container .service-card h3 { font-size: 1rem; }
}

@media (max-width: 360px) {
  .services-container { padding-inline: 12px; }
  .services-container .service-card { padding: 19px; }
}


/* ============================================================================
   13  CONTRACTING PAGE  (.section-base / hex gallery / .ikg-*)
   Used by: contractingbusiness.html
   ============================================================================ */

.section-base {
  padding: 80px 5%;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.section-base::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

/* Scoped: a bare `.container` is the single most collision-prone class name in
   front-end CSS (Bootstrap and friends both own it). Only this page uses it. */
.section-base .container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.civil-section {
  background: var(--bg-white);
}

.mechanical-section {
  background: var(--bg-light);
}

.civil-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.civil-content {
  animation: fade-in-left 1s ease-out;
}

.section-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  animation: fade-in-down 0.8s ease-out;
}

.badge-line {
  width: 60px;
  height: 2px;
  background: var(--accent-light);
  position: relative;
}

.badge-line::after {
  content: '';
  position: absolute;
  right: -8px;
  top: -2px;
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
}

.badge-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-dark);
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.section-title .accent {
  color: var(--accent-light);
  position: relative;
  display: inline-block;
}

.section-title .accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-light);
  opacity: 0.3;
  border-radius: 2px;
  animation: underline-grow 1.2s ease-out 0.5s both;
}

.section-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 20px;
  animation: fade-in-up 0.8s ease-out 0.3s both;
}

/* Grid variant of the spec list — contracting page only.
   Merged: `.hex` and `.hex-core` were each declared twice, the second time only
   to add `opacity: 0` plus an entrance animation, which silently cancelled the
   first declaration's infinite float. Both are single definitions now. */
.section-base .spec-list {
  list-style: none;
  margin: 0 0 35px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  animation: fade-in-up 0.6s ease-out both;
}

.spec-item:nth-child(1) { animation-delay: 0.1s; }
.spec-item:nth-child(2) { animation-delay: 0.2s; }
.spec-item:nth-child(3) { animation-delay: 0.3s; }
.spec-item:nth-child(4) { animation-delay: 0.4s; }
.spec-item:nth-child(5) { animation-delay: 0.5s; }
.spec-item:nth-child(6) { animation-delay: 0.6s; }
.spec-item:nth-child(7) { animation-delay: 0.7s; }
.spec-item:nth-child(8) { animation-delay: 0.8s; }

.spec-icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-top: 6px;
  background: var(--accent-light);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
  position: relative;
}

.spec-icon::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 4px;
  height: 4px;
  background: var(--text-light);
  border-radius: 50%;
}

.spec-text h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
}

.spec-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-gray);
}

/* --- Hexagon gallery --- */
.hex-gallery {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fade-in-right 1s ease-out 0.3s both;
}

.hex-grid {
  position: relative;
  width: 500px;
  height: 460px;
}

.hex {
  position: absolute;
  width: 160px;
  height: 180px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  animation: hex-entrance 0.6s ease-out forwards, hex-float 3s ease-in-out infinite;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.5s ease;
}

.hex:hover {
  transform: scale(1.15);
  z-index: 10;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.hex img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hex:hover img {
  transform: scale(1.1);
}

.hex-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.8), rgba(212, 175, 55, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hex:hover .hex-shade {
  opacity: 1;
}

.hex-shade span {
  color: var(--text-light);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hex positions + staggered entrance/float delays */
.hex-1  { top: 340px; left: 390px;  animation-delay: 0.1s, 0.1s; }
.hex-2  { top: 190px; left: 470px;  animation-delay: 0.2s, 0.3s; }
.hex-3  { top: 40px;  left: 390px;  animation-delay: 0.3s, 0.5s; }
.hex-4  { top: 40px;  left: 210px;  animation-delay: 0.4s, 0.2s; }
.hex-5  { top: 340px; left: 210px;  animation-delay: 0.5s, 0.4s; }
.hex-7  { top: 190px; left: 300px;  animation-delay: 0.7s, 0.3s; }
.hex-8  { top: 190px; left: 130px;  animation-delay: 0.8s, 0.5s; }
.hex-9  { top: 340px; left: 40px;   animation-delay: 0.9s, 0.2s; }
.hex-10 { top: 40px;  left: 40px;   animation-delay: 1.0s, 0.7s; }
.hex-11 { top: 40px;  left: -130px; animation-delay: 1.1s, 0.4s; }
.hex-12 { top: 190px; left: -40px;  animation-delay: 1.2s, 0.6s; }

.hex-core {
  position: absolute;
  top: 170px;
  left: 120px;
  width: 160px;
  height: 180px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, #d1fae5, #87d8ab);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
  opacity: 0;
  animation: hex-center-entrance 0.8s ease-out 0.8s forwards, hex-pulse 2.5s ease-in-out 1.6s infinite;
}

.hex-core span {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  line-height: 1.4;
  padding: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.floating-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-light);
  border-radius: 50%;
  opacity: 0.3;
  animation: particle-float 6s ease-in-out infinite;
}

/* --- Mechanical works layout --- */
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hex-showcase {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fade-in-right 1s ease-out 0.3s both;
  order: 1;
}

.narrative-block {
  animation: fade-in-left 1s ease-out;
  order: 2;
}

/* --- Projects carousel --- */
.projects-section-wrapper {
  background: var(--bg-white);
  padding: 80px 5%;
}

.projects-container {
  max-width: 1400px;
  margin: 0 auto;
}

.projects-header {
  text-align: center;
  margin-bottom: 60px;
}

.projects-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.projects-desc {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.ikg-carousel-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 60px;
}

.ikg-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 24px;
  padding: 0 5%;
}

.ikg-media-card {
  flex: 0 0 30%;
  min-width: 300px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ikg-media-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.ikg-image-frame {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.ikg-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ikg-media-card:hover .ikg-image-frame img {
  transform: scale(1.05);
}

.ikg-action-trigger {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-dark);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.ikg-media-card:hover .ikg-action-trigger {
  background: var(--accent-light);
  color: var(--text-light);
  transform: rotate(90deg);
}

.ikg-meta-row {
  padding: 20px;
}

.project-tag {
  font-size: 14px;
  color: var(--accent-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes fade-in-left {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fade-in-right {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-down {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hex-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes hex-pulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
  50%      { transform: scale(1.05); box-shadow: 0 0 40px rgba(212, 175, 55, 0.5); }
}

@keyframes hex-entrance {
  from { opacity: 0; transform: scale(0) rotate(60deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes hex-center-entrance {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes underline-grow {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes particle-float {
  0%, 100% { transform: translate(0, 0) scale(1);        opacity: 0.3; }
  25%      { transform: translate(20px, -30px) scale(1.5); opacity: 0.6; }
  50%      { transform: translate(-10px, -60px) scale(1);  opacity: 0.2; }
  75%      { transform: translate(15px, -30px) scale(1.3); opacity: 0.5; }
}

/* --- Contracting responsive --- */
@media (max-width: 1200px) {
  .civil-wrapper,
  .story-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .civil-content,
  .narrative-block { text-align: center; }
  .section-badge { justify-content: center; }
  .hex-gallery,
  .hex-showcase { height: 500px; }
  .hex-grid { transform: scale(0.85); }
  .section-base .spec-list { text-align: left; }
  .ikg-carousel-track { gap: 20px; }
  .ikg-media-card { flex: 0 0 45%; }
}

@media (max-width: 992px) {
  .section-base { padding: 60px 4%; }
  .section-title { font-size: clamp(28px, 6vw, 42px); }
  .hex-gallery,
  .hex-showcase { height: 420px; }
  .hex-grid { transform: scale(0.7); }
  .ikg-media-card { flex: 0 0 48%; }
}

@media (max-width: 768px) {
  .section-base { padding: 40px 3%; }
  .hex-gallery,
  .hex-showcase { height: 360px; }
  .hex-grid { transform: scale(0.55); }
  .section-base .spec-list { grid-template-columns: 1fr; gap: 14px; }
  .ikg-carousel-track { gap: 16px; }
  .ikg-media-card { flex: 0 0 100%; min-width: 280px; }
  .ikg-image-frame { height: 200px; }
}

@media (max-width: 576px) {
  .section-base { padding: 30px 2%; }
  .section-badge .badge-text { font-size: 12px; letter-spacing: 3px; }
  .section-base .spec-list { gap: 12px; }
  .projects-section-wrapper { padding: 40px 3%; }
  .projects-header { margin-bottom: 40px; }
  .ikg-image-frame { height: 180px; }
}


/* ============================================================================
   14  FEATURE ROWS  (.feature-row / .feature-text)
   Used by: facilitymanagement, ceomessage, leadership-vision, equipment-rentals
   ----------------------------------------------------------------------------
   FIX: `.title`, `.tagline` and `.description` were styled as bare global
   classes. `.title` in particular is applied by four different pages and is one
   of the most likely names to collide with any third-party snippet. All three
   are now scoped to `.feature-text`, which is their real parent on every page.

   FIX: `.feature-row.gray-bg` used
        padding-left:  calc((100vw - 1500px) / 2)
        padding-right: calc((100vw - 1160px) / 2)
   Two problems: the values go NEGATIVE below 1500px / 1160px, which pulls
   content outside the box and triggers horizontal scrolling, and the two
   different widths made the grey band's content sit off-centre relative to the
   white rows above and below it. Both sides now use one clamped value that
   lines the grey rows up with the 1460px content width of the plain rows.

   FIX: two `@media (max-width: 868px)` blocks both targeted `.feature-row`.
   The first set `.feature-row.reverse { flex-direction: column-reverse }` and
   the second overrode it with `column`, so the first was dead code. The markup
   puts the image BEFORE the text in `.reverse` rows, so `column` is the correct
   mobile order (image then text) — the dead rule was removed, not promoted.

   FIX: removed `@media (max-width: 300px)` (no device is that narrow) and the
   malformed selector `.feature-row.gray-bg .infographics`, which was missing a
   comma and targeted a class that appears nowhere in the markup.
   ============================================================================ */

.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1500px;
  margin: 0 auto;
  padding: 80px 20px;
  gap: 60px;
}

.feature-row.gray-bg {
  background-color: #f2f2f2;
  max-width: 100%;
  padding: 80px max(20px, calc((100vw - 1460px) / 2));
}

.feature-text {
  flex: 1;
  max-width: 540px;
}

.feature-text .tagline {
  color: #1a5e35;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.feature-text .title {
  color: #272a31;
  font-size: clamp(2rem, 4.4vw, 50px);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}

.feature-text .description p {
  color: #444444;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.feature-text .description ul {
  margin: 16px 0 20px 20px;
  color: #444444;
  font-size: 16px;
}

.feature-text .description li {
  margin-bottom: 6px;
}

.feature-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
}

/* Offset accent block */
.image-wrapper::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  background-color: #d1fae5;
  z-index: 1;
}

.reverse .image-wrapper::before {
  top: 15px;
  left: -15px;
}

.image-wrapper img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

@media (max-width: 1100px) {
  .feature-row,
  .feature-row.gray-bg {
    padding: 70px 40px;
    gap: 40px;
  }
}

@media (max-width: 868px) {
  .feature-row,
  .feature-row.gray-bg {
    flex-direction: column;
    padding: 55px 28px;
    gap: 38px;
  }

  .feature-text {
    width: min(650px, 100%);
    max-width: 650px;
  }

  .feature-image-container {
    width: min(650px, 100%);
  }

  .image-wrapper {
    width: min(600px, calc(100% - 12px));
  }

  /* `height: auto` is required here: without it the base `height: 600px` keeps
     winning over aspect-ratio and phone images stay 600px tall. */
  .image-wrapper img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .image-wrapper::before { top: 10px; left: 10px; }
  .reverse .image-wrapper::before { top: 10px; left: -10px; }
}

@media (max-width: 560px) {
  .feature-row,
  .feature-row.gray-bg {
    padding: 42px 18px;
    gap: 30px;
  }

  .feature-text .title { font-size: clamp(1.75rem, 9vw, 2.3rem); }

  .feature-text .description p,
  .feature-text .description li {
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .feature-text .description ul {
    margin-left: 18px;
    padding-left: 8px;
  }

  .image-wrapper { width: calc(100% - 10px); }
  .image-wrapper img { aspect-ratio: 4 / 3; }
}

@media (max-width: 360px) {
  .feature-row,
  .feature-row.gray-bg { padding-inline: 12px; }
  .feature-text .title { font-size: 1.65rem; }
  .image-wrapper { width: calc(100% - 8px); }
}

/* ==========================================================================
   15. BRANDING INTRODUCTION
   ========================================================================== */
.company-intro-wrapper {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
  background-color: #f7f8fa;
  color: #333;
  font-family: var(--font-alt);
}

.company-intro-wrapper .intro-container {
  width: 100%;
  max-width: 1100px;
}

.company-intro-wrapper .intro-header {
  margin-bottom: 50px;
  text-align: center;
}

.company-intro-wrapper .intro-subtitle {
  margin: 0 0 10px;
  color: #e91e63;
  font-family: var(--font-script);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.company-intro-wrapper .intro-title {
  margin: 0 0 15px;
  color: #1a1a1a;
  font-size: clamp(2.25rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
}

.company-intro-wrapper .text-pink {
  color: #e91e63;
}

.company-intro-wrapper .intro-desc {
  max-width: 900px;
  margin: 0 auto;
  color: #777;
  font-size: 1.1rem;
  line-height: 1.6;
}

.company-intro-wrapper .intro-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}

.company-intro-wrapper .intro-left,
.company-intro-wrapper .intro-right {
  flex: 1 1 450px;
  min-width: 0;
}

.company-intro-wrapper .intro-left p {
  margin: 0 0 25px;
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
}

.company-intro-wrapper .tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.company-intro-wrapper .tag {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  color: #fff;
  cursor: default;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-intro-wrapper .tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.company-intro-wrapper .tag-pink {
  background-color: #e91e63;
}

.company-intro-wrapper .tag-yellow {
  background-color: #ffc107;
  color: #333;
}

.company-intro-wrapper .quote-box {
  position: relative;
  overflow: hidden;
  margin-bottom: 25px;
  padding: 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, #d81b60, #ad1457);
  box-shadow: 0 15px 35px rgba(216, 27, 96, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.company-intro-wrapper .quote-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(216, 27, 96, 0.4);
}

.company-intro-wrapper .quote-mark {
  position: absolute;
  top: -20px;
  left: 20px;
  color: rgba(255, 255, 255, 0.1);
  font-family: Georgia, serif;
  font-size: 8rem;
  line-height: 1;
}

.company-intro-wrapper .quote-text {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  color: #fff;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.7;
}

.company-intro-wrapper .quote-author {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #ffeb3b;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: right;
}

.company-intro-wrapper .info-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.company-intro-wrapper .info-card {
  position: relative;
  flex: 1 1 120px;
  padding: 25px 15px;
  border-radius: 15px;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-intro-wrapper .info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.company-intro-wrapper .dot-yellow {
  background-color: #ffc107;
}

.company-intro-wrapper .dot-pink {
  background-color: #e91e63;
}

.company-intro-wrapper .card-val {
  margin: 10px 0 5px;
  color: #e91e63;
  font-size: 1.8rem;
  font-weight: 600;
}

.company-intro-wrapper .info-card .card-title {
  margin: 0 0 10px;
  color: #222;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.company-intro-wrapper .card-desc {
  margin: 0;
  color: #888;
  font-size: 0.75rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .company-intro-wrapper {
    padding: 48px 20px;
  }

  .company-intro-wrapper .intro-header {
    margin-bottom: 36px;
  }

  .company-intro-wrapper .quote-box {
    padding: 30px 20px;
  }

  .company-intro-wrapper .quote-text {
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   16. BRANDING PILLARS INFOGRAPHIC

   FIX: these rules were accidentally placed inside contact form's 576px media
   query. They now apply at every viewport and retain only their own breakpoints.
   ========================================================================== */
.svc-wrap {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 64px 20px;
  overflow: hidden;
  background: #fff;
  color: #291d31;
  font-family: var(--font-body);
}

.svc-wrap .backdrop,
.svc-wrap .head,
.svc-wrap .pillars,
.svc-wrap .pillar,
.svc-wrap .disc,
.svc-wrap .ring,
.svc-wrap .face,
.svc-wrap .step,
.svc-wrap .eyebrow,
.svc-wrap h1,
.svc-wrap h3,
.svc-wrap p,
.svc-wrap .rule {
  box-sizing: border-box;
}

.svc-wrap .backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(60% 55% at 50% 45%, var(--wash, #dfd2ec) 0%, rgba(255, 255, 255, 0) 70%);
}

.svc-wrap .backdrop::after {
  position: absolute;
  inset: 0;
  content: \"\";
  opacity: 0.5;
  background-image: radial-gradient(#dfd2ec 1.4px, transparent 1.4px);
  background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(ellipse 55% 45% at 50% 42%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 55% 45% at 50% 42%, #000 20%, transparent 72%);
}

.svc-wrap .head {
  position: relative;
  z-index: 1;
  margin-bottom: 54px;
  text-align: center;
}

.svc-wrap .eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  color: #b06fa8;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.svc-wrap h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.1;
  text-transform: uppercase;
}

.svc-wrap h1 span {
  background: linear-gradient(90deg, #f5921e, #ef5f5c, #a4357f, #5c2f6e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.svc-wrap .rule {
  width: 80px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #f5921e, #ef5f5c, #a4357f, #5c2f6e);
}

.svc-wrap .pillars {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  gap: 18px;
}

.svc-wrap .pillar {
  position: relative;
  isolation: isolate;
  padding: 22px 18px 34px;
  border-radius: 150px 150px 14px 14px;
  background: linear-gradient(180deg, var(--c-light), var(--c-main));
  box-shadow: 0 26px 45px -22px rgba(43, 34, 51, 0.55);
  color: #fff;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.svc-wrap .pillar:hover {
  transform: translateY(-14px);
  box-shadow: 0 40px 60px -25px rgba(43, 34, 51, 0.6);
}

.svc-wrap .step {
  position: absolute;
  bottom: -14px;
  left: 50%;
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 14px rgba(43, 34, 51, 0.22);
  color: var(--c-main);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  place-items: center;
  transform: translateX(-50%);
}

.svc-wrap .disc {
  position: relative;
  width: 100%;
  max-width: 150px;
  aspect-ratio: 1;
  margin: 0 auto 26px;
}

.svc-wrap .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-dark);
  transform: translate(5px, 7px);
}

.svc-wrap .face {
  position: absolute;
  inset: 0;
  display: grid;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 -6px 14px rgba(43, 34, 51, 0.06);
  place-items: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-wrap .pillar:hover .face {
  transform: translate(-3px, -4px);
}

.svc-wrap .face i {
  color: var(--c-main);
  font-size: 2.5rem;
}

.svc-wrap h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6em;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: 1.4px;
  line-height: 1.25;
  text-transform: uppercase;
}

.svc-wrap p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.55;
}

.svc-wrap .p1 { --c-light: #f9a83f; --c-main: #f28a1c; --c-dark: #d9760f; }
.svc-wrap .p2 { --c-light: #f47472; --c-main: #ee5b58; --c-dark: #d24744; }
.svc-wrap .p3 { --c-light: #b04b8e; --c-main: #9c3579; --c-dark: #822a63; }
.svc-wrap .p4 { --c-light: #7a3d80; --c-main: #65296b; --c-dark: #521f56; }
.svc-wrap .p5 { --c-light: #4b2b55; --c-main: #3a2043; --c-dark: #2b1732; }

@media (max-width: 1024px) {
  .svc-wrap .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 680px) {
  .svc-wrap {
    padding: 52px 20px;
  }

  .svc-wrap .head {
    margin-bottom: 40px;
  }

  .svc-wrap .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .svc-wrap h3 {
    min-height: 0;
  }
}

@media (max-width: 430px) {
  .svc-wrap .pillars {
    grid-template-columns: minmax(0, 300px);
    justify-content: center;
  }
}

/* ==========================================================================
   17. INTERACTIVE TILES DECK
   ========================================================================== */
.tiles-wrap,
.tiles-wrap *,
.tiles-wrap *::before,
.tiles-wrap *::after {
  box-sizing: border-box;
}

.tiles-wrap {
  width: 100%;
  padding: 64px 16px;
  background: #fff;
  color: #12152b;
  font-family: var(--font-alt);
}

.tiles-wrap.is-tint {
  background: #f4f6fb;
}

.tiles-wrap .tiles-section {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.tiles-wrap .deck[data-theme=\"indigo\"] {
  --accent: #5a6cff;
  --accent-2: #8a6eff;
  --accent-soft: rgba(90, 108, 255, 0.1);
  --accent-glow: rgba(90, 108, 255, 0.35);
  --accent-halo: rgba(90, 108, 255, 0.14);
}

.tiles-wrap .deck[data-theme=\"teal\"] {
  --accent: #0d9488;
  --accent-2: #38bdf8;
  --accent-soft: rgba(13, 148, 136, 0.12);
  --accent-glow: rgba(13, 148, 136, 0.32);
  --accent-halo: rgba(13, 148, 136, 0.14);
}

.tiles-wrap .deck[data-theme=\"sun\"] {
  --accent: #d97706;
  --accent-2: #f59e0b;
  --accent-soft: rgba(217, 119, 6, 0.14);
  --accent-glow: rgba(217, 119, 6, 0.32);
  --accent-halo: rgba(217, 119, 6, 0.14);
}

.tiles-wrap .deck[data-theme=\"rose\"] {
  --accent: #e11d48;
  --accent-2: #fb7185;
  --accent-soft: rgba(225, 29, 72, 0.12);
  --accent-glow: rgba(225, 29, 72, 0.32);
  --accent-halo: rgba(225, 29, 72, 0.14);
}

.tiles-wrap .deck[data-theme=\"violet\"] {
  --accent: #7c3aed;
  --accent-2: #c084fc;
  --accent-soft: rgba(124, 58, 237, 0.12);
  --accent-glow: rgba(124, 58, 237, 0.32);
  --accent-halo: rgba(124, 58, 237, 0.14);
}

.tiles-wrap .tiles-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.tiles-wrap .tiles-kicker {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--accent, #5a6cff);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tiles-wrap .tiles-title {
  margin: 0;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.tiles-wrap .tiles-sub {
  max-width: 620px;
  margin: 12px 0 0;
  color: #5a6688;
  font-size: 16px;
  line-height: 1.6;
}

.tiles-wrap .tiles-mode {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 16px;
  border: 1px solid rgba(18, 21, 43, 0.08);
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: 0 4px 16px rgba(18, 21, 43, 0.06);
}

.tiles-wrap .tiles-mode-label {
  color: #8892a8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tiles-wrap .tiles-mode-label.is-on {
  color: #12152b;
}

.tiles-wrap .tiles-switch {
  position: relative;
  width: 56px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: #dfe3ee;
  cursor: pointer;
  transition: background 0.35s ease;
}

.tiles-wrap .tiles-switch.is-auto {
  background: linear-gradient(90deg, var(--accent, #5a6cff), var(--accent-2, #8a6eff));
}

.tiles-wrap .tiles-switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s ease;
}

.tiles-wrap .tiles-switch.is-auto .tiles-switch-knob {
  transform: translateX(26px);
}

.tiles-wrap .tiles-stage {
  position: relative;
  padding: 10px 64px;
}

.tiles-wrap .tiles-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(18, 21, 43, 0.08);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 21, 43, 0.1);
  color: #12152b;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%) translateZ(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

/* Replaces the debug red hover color with the active deck accent. */
.tiles-wrap .tiles-btn:hover {
  border-color: transparent;
  background: var(--accent, #5a6cff);
  box-shadow: 0 16px 34px var(--accent-glow, rgba(90, 108, 255, 0.32));
  color: #fff;
  transform: translateY(-50%) scale(1.07) rotateY(18deg);
}

.tiles-wrap .tiles-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.tiles-wrap .tiles-btn-prev {
  left: 0;
}

.tiles-wrap .tiles-btn-next {
  right: 0;
}

.tiles-wrap .tiles-btn:focus-visible,
.tiles-wrap .tiles-switch:focus-visible,
.tiles-wrap .tiles-dot:focus-visible,
.tiles-wrap .tile-card:focus-visible {
  outline: 3px solid var(--accent, #5a6cff);
  outline-offset: 4px;
}

.tiles-wrap .tiles-viewport {
  overflow: hidden;
  padding: 24px 6px 30px;
  border-radius: 30px;
  perspective: 1600px;
}

.tiles-wrap .tiles-track {
  display: flex;
  gap: 28px;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.tiles-wrap .tile-card {
  flex: 0 0 600px;
  height: 660px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transform-style: preserve-3d;
  animation: tiles-float 6s ease-in-out infinite;
}

.tiles-wrap .tile-card:nth-child(7n + 1) { animation-delay: 0s; }
.tiles-wrap .tile-card:nth-child(7n + 2) { animation-delay: 0.2s; }
.tiles-wrap .tile-card:nth-child(7n + 3) { animation-delay: 0.4s; }
.tiles-wrap .tile-card:nth-child(7n + 4) { animation-delay: 0.6s; }
.tiles-wrap .tile-card:nth-child(7n + 5) { animation-delay: 0.8s; }
.tiles-wrap .tile-card:nth-child(7n + 6) { animation-delay: 1s; }
.tiles-wrap .tile-card:nth-child(7n + 7) { animation-delay: 1.2s; }

.tiles-wrap .tile-card.is-tilting {
  animation: none;
}

.tiles-wrap .tile-card-inner {
  position: relative;
  height: 100%;
  padding: 0 0 24px;
  overflow: hidden;
  border: 1px solid rgba(18, 21, 43, 0.07);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(18, 21, 43, 0.06), 0 4px 14px rgba(18, 21, 43, 0.03);
  transform-style: preserve-3d;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.tiles-wrap .tile-card:hover .tile-card-inner,
.tiles-wrap .tile-card.is-tilting .tile-card-inner {
  border-color: var(--accent-glow, rgba(90, 108, 255, 0.35));
  box-shadow: 0 32px 70px var(--accent-halo, rgba(90, 108, 255, 0.14)), 0 10px 28px rgba(18, 21, 43, 0.06);
}

.tiles-wrap .tile-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 20%), rgba(255, 255, 255, 0.7), transparent 42%);
  mix-blend-mode: overlay;
  transition: opacity 0.3s ease;
}

.tiles-wrap .tile-card:hover .tile-shine,
.tiles-wrap .tile-card.is-tilting .tile-shine {
  opacity: 1;
}

.tiles-wrap .tile-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: #eef1f8;
  transform: translateZ(14px);
}

.tiles-wrap .tile-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.tiles-wrap .tile-card:hover .tile-img-wrap img,
.tiles-wrap .tile-card.is-tilting .tile-img-wrap img {
  transform: scale(1.07);
}

.tiles-wrap .tile-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 28px;
  border: 3px solid #fff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent, #5a6cff), var(--accent-2, #8a6eff));
  box-shadow: 0 10px 24px var(--accent-glow, rgba(90, 108, 255, 0.35));
  color: #fff;
  place-items: center;
  transform: translateZ(30px);
}

.tiles-wrap .tile-tag {
  display: inline-block;
  max-width: calc(100% - 56px);
  margin: 16px 28px 8px;
  padding: 5px 12px;
  overflow-wrap: anywhere;
  border-radius: var(--radius-pill);
  background: var(--accent-soft, rgba(90, 108, 255, 0.1));
  color: var(--accent, #5a6cff);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateZ(22px);
}

.tiles-wrap .tile-name {
  margin: 0 28px 10px;
  color: #12152b;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.18;
  transform: translateZ(26px);
}

.tiles-wrap .tile-text {
  margin: 0 28px 16px;
  color: #5a6688;
  font-size: 15px;
  line-height: 1.6;
  transform: translateZ(18px);
}

.tiles-wrap .tile-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 0 28px;
  padding: 0;
  list-style: none;
  transform: translateZ(20px);
}

.tiles-wrap .tile-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #3d4666;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
}

.tiles-wrap .tile-bullet {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent-soft, rgba(90, 108, 255, 0.12));
  color: var(--accent, #5a6cff);
  place-items: center;
}

.tiles-wrap .tile-card[data-tone=\"cyan\"] .tile-bullet { background: rgba(14, 165, 183, 0.14); color: #0e7490; }
.tiles-wrap .tile-card[data-tone=\"violet\"] .tile-bullet { background: rgba(124, 58, 237, 0.14); color: #7c3aed; }
.tiles-wrap .tile-card[data-tone=\"mint\"] .tile-bullet { background: rgba(13, 148, 136, 0.14); color: #0f766e; }
.tiles-wrap .tile-card[data-tone=\"amber\"] .tile-bullet { background: rgba(217, 119, 6, 0.16); color: #b45309; }
.tiles-wrap .tile-card[data-tone=\"rose\"] .tile-bullet { background: rgba(225, 29, 72, 0.13); color: #e11d48; }
.tiles-wrap .tile-card[data-tone=\"blue\"] .tile-bullet { background: rgba(37, 99, 235, 0.13); color: #2563eb; }
.tiles-wrap .tile-card[data-tone=\"lime\"] .tile-bullet { background: rgba(101, 163, 13, 0.16); color: #4d7c0f; }

.tiles-wrap .tiles-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.tiles-wrap .tiles-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(18, 21, 43, 0.18);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.tiles-wrap .tiles-dot.is-active {
  width: 30px;
  background: linear-gradient(90deg, var(--accent, #5a6cff), var(--accent-2, #8a6eff));
}

.tiles-wrap .deck-compact .tile-card {
  flex-basis: clamp(280px, 34vw, 430px);
  height: 520px;
}

.tiles-wrap .deck-compact .tile-img-wrap {
  height: 170px;
}

.tiles-wrap .deck-compact .tile-name {
  font-size: 24px;
}

.tiles-wrap .deck-compact .tile-text {
  margin-bottom: 14px;
  font-size: 14px;
}

.tiles-wrap .deck-compact .tile-list {
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}

.tiles-wrap .deck-compact .tile-list li {
  font-size: 13px;
}

.tiles-wrap .deck-compact .tiles-track {
  gap: 24px;
}

.tiles-wrap .deck-compact .tile-icon {
  width: 52px;
  height: 52px;
}

.tiles-wrap .deck-compact .tiles-title {
  font-size: 34px;
}

@keyframes tiles-float {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1560px) {
  .tiles-wrap .tile-card {
    flex-basis: 540px;
    height: 680px;
  }

  .tiles-wrap .tile-img-wrap {
    height: 190px;
  }

  .tiles-wrap .tile-name {
    font-size: 27px;
  }
}

@media (max-width: 1280px) {
  .tiles-wrap .tile-card {
    flex-basis: 480px;
    height: 700px;
  }

  .tiles-wrap .tile-img-wrap {
    height: 180px;
  }
}

@media (max-width: 1000px) {
  .tiles-wrap .tiles-title {
    font-size: 32px;
  }

  .tiles-wrap .tile-card {
    flex-basis: 440px;
    height: 720px;
  }

  .tiles-wrap .tile-img-wrap {
    height: 170px;
  }

  .tiles-wrap .tile-name {
    font-size: 24px;
  }
}

@media (max-width: 820px) {
  .tiles-wrap .tile-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .tiles-wrap .tile-list li {
    font-size: 13px;
  }

  .tiles-wrap .tile-card {
    flex-basis: 450px;
    height: 800px;
  }

  .tiles-wrap .tile-img-wrap {
    height: 165px;
  }

  .tiles-wrap .deck-compact .tile-card {
    flex-basis: clamp(270px, 74vw, 400px);
    height: 560px;
  }
}

@media (max-width: 720px) {
  .tiles-wrap {
    padding-block: 48px;
  }

  .tiles-wrap .tiles-title {
    font-size: 27px;
  }

  .tiles-wrap .deck-compact .tiles-title {
    font-size: 26px;
  }

  .tiles-wrap .tiles-stage {
    padding: 10px 46px;
  }

  .tiles-wrap .tile-card {
    flex-basis: 380px;
    height: 800px;
  }

  .tiles-wrap .tile-img-wrap {
    height: 150px;
  }

  .tiles-wrap .tiles-btn {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .tiles-wrap .tile-name {
    font-size: 22px;
  }

  .tiles-wrap .tile-text,
  .tiles-wrap .tile-list li {
    font-size: 13.5px;
  }

  .tiles-wrap .tile-text {
    margin-bottom: 14px;
  }

  .tiles-wrap .deck-compact .tile-card {
    height: 570px;
  }
}

@media (max-width: 460px) {
  .tiles-wrap .tile-card {
    flex-basis: 290px;
    height: 680px;
  }

  .tiles-wrap .tile-icon {
    width: 48px;
    height: 48px;
    margin-left: 22px;
  }

  .tiles-wrap .tile-tag,
  .tiles-wrap .tile-name,
  .tiles-wrap .tile-text,
  .tiles-wrap .tile-list {
    margin-right: 22px;
    margin-left: 22px;
  }

  .tiles-wrap .tile-tag {
    max-width: calc(100% - 44px);
  }

  .tiles-wrap .tile-list li {
    font-size: 12.5px;
  }

  .tiles-wrap .deck-compact .tile-card {
    flex-basis: 260px;
    height: 585px;
  }

  .tiles-wrap .deck-compact .tiles-track {
    gap: 20px;
  }
}

/* ==========================================================================
   18. PROJECTS IMAGE GALLERY
   ========================================================================== */
.projects-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.projects-gallery .project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background-color: #f0f0f0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects-gallery .project-card:hover,
.projects-gallery .project-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.18);
}

.projects-gallery .project-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.projects-gallery .project-card:hover img,
.projects-gallery .project-card:focus-within img {
  transform: scale(1.08);
}

.projects-gallery .project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.projects-gallery .project-card:hover .project-overlay,
.projects-gallery .project-card:focus-within .project-overlay {
  opacity: 1;
}

.projects-gallery .project-title {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  transform: translateY(15px);
  transition: transform 0.3s ease;
}

.projects-gallery .project-btn {
  display: inline-block;
  padding: 8px 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background-color: #fff;
  color: #111;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(15px);
  transition: transform 0.3s ease, background-color 0.2s ease, color 0.2s ease;
}

.projects-gallery .project-btn:hover {
  background-color: rgb(179, 212, 73);
  color: #fff;
}

.projects-gallery .project-card:hover .project-title,
.projects-gallery .project-card:hover .project-btn,
.projects-gallery .project-card:focus-within .project-title,
.projects-gallery .project-card:focus-within .project-btn {
  transform: translateY(0);
}

/* ==========================================================================
   19. POLAROID PROJECTS DECK
   ========================================================================== */
.app-wrapper {
  --br: #8a6a44;
  --brd: #6e5230;
  --tan: #c9a86a;
  --line: #eee3cf;
  --ink: #6f6f6f;
  --soft: #8b8b8b;
  min-height: 100vh;
  overflow-x: clip;
  background-color: #fff;
  background-image: radial-gradient(70% 46% at 50% 0%, rgba(236, 204, 146, 0.2), transparent 70%), radial-gradient(rgba(150, 118, 74, 0.09) 1.1px, transparent 1.6px);
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 22px 22px;
  color: var(--ink);
  font-family: var(--font-alt);
  -webkit-font-smoothing: antialiased;
}

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

.app-wrapper .header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(14px, 3vw, 24px) 16px 4px;
}

.app-wrapper .brand-logo {
  color: #7a5a34;
  font-family: var(--font-script);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  line-height: 1;
  text-decoration: none;
}

.app-wrapper .brand-logo b {
  color: #b98d55;
  font-weight: 400;
}

.app-wrapper .nav-menu {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
}

.app-wrapper .nav-menu a {
  position: relative;
  padding: 4px 2px;
  color: #8a7a5f;
  font-size: clamp(0.78rem, 1.4vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: color 0.25s ease;
}

.app-wrapper .nav-menu a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #b98d55;
  content: \"\";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.app-wrapper .nav-menu a:hover {
  color: #6f5330;
}

.app-wrapper .nav-menu a:hover::after {
  transform: scaleX(1);
}

.app-wrapper .main-stage {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 10px;
}

.app-wrapper .gallery-showcase {
  position: relative;
  padding: clamp(20px, 4vw, 46px) clamp(52px, 6vw, 92px) clamp(14px, 3vw, 26px);
}

.app-wrapper .badge-tag {
  position: absolute;
  top: clamp(8px, 2vw, 20px);
  right: clamp(10px, 3vw, 28px);
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #faf5ea;
  box-shadow: 0 3px 8px rgba(150, 120, 70, 0.12);
  color: #9b8a68;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.app-wrapper .shape-blob {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.app-wrapper .blob-one {
  top: 4%;
  left: 4%;
  width: min(430px, 62vw);
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 35%, rgba(233, 196, 138, 0.5), transparent 68%);
  animation: app-drift 11s ease-in-out infinite alternate;
}

.app-wrapper .blob-two {
  right: 2%;
  bottom: 0;
  width: min(340px, 50vw);
  aspect-ratio: 1;
  background: radial-gradient(circle at 60% 60%, rgba(244, 183, 160, 0.38), transparent 68%);
  animation: app-drift 13s ease-in-out infinite alternate-reverse;
}

@keyframes app-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(26px, -20px) scale(1.07); }
}

.app-wrapper .card-deck {
  position: relative;
  height: clamp(300px, 58vw, 480px);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.app-wrapper .gallery-card {
  position: absolute;
  top: 14px;
  left: 50%;
  display: block;
  width: clamp(230px, 44vw, 430px);
  cursor: pointer;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.3, 1), opacity 0.5s ease, filter 0.5s ease;
  -webkit-tap-highlight-color: transparent;
}

.app-wrapper .gallery-card.pos0 { transform: translateX(-50%); z-index: 60; filter: none; cursor: default; }
.app-wrapper .gallery-card.pos1 { transform: translateX(-50%) translateX(min(150px, 17vw)) scale(0.9) rotate(5deg); z-index: 50; filter: brightness(0.88) saturate(0.96); }
.app-wrapper .gallery-card.posm1 { transform: translateX(-50%) translateX(max(-150px, -17vw)) scale(0.9) rotate(-5deg); z-index: 50; filter: brightness(0.88) saturate(0.96); }
.app-wrapper .gallery-card.pos2 { transform: translateX(-50%) translateX(min(266px, 30vw)) scale(0.8) rotate(9deg); z-index: 40; filter: brightness(0.75) saturate(0.9); }
.app-wrapper .gallery-card.posm2 { transform: translateX(-50%) translateX(max(-266px, -30vw)) scale(0.8) rotate(-9deg); z-index: 40; filter: brightness(0.75) saturate(0.9); }
.app-wrapper .gallery-card.pos3 { transform: translateX(-50%) translateX(min(362px, 41vw)) scale(0.71) rotate(13deg); z-index: 30; filter: brightness(0.6) saturate(0.85); pointer-events: none; }
.app-wrapper .gallery-card.posm3 { transform: translateX(-50%) translateX(max(-362px, -41vw)) scale(0.71) rotate(-13deg); z-index: 30; filter: brightness(0.6) saturate(0.85); pointer-events: none; }
.app-wrapper .gallery-card.ghost { opacity: 0; z-index: 5; pointer-events: none; }
.app-wrapper .no-anim { transition: none !important; }

.app-wrapper .gallery-card.pos0 .polaroid-frame {
  padding-bottom: 58px;
  box-shadow: 0 30px 60px rgba(96, 74, 42, 0.22), 0 10px 22px rgba(96, 74, 42, 0.13);
  animation: app-bob 6s ease-in-out infinite;
}

.app-wrapper .gallery-card.pos0 .card-caption {
  opacity: 1;
  transform: none;
}

@keyframes app-bob {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.app-wrapper .card-deck .gallery-card:hover {
  z-index: 99;
  filter: brightness(1) saturate(1);
}

.app-wrapper .card-deck .gallery-card:hover .anim-pop {
  transform: translateY(-12px);
}

.app-wrapper .card-deck .gallery-card:hover .polaroid-frame {
  padding-bottom: 52px;
  box-shadow: 0 34px 64px rgba(96, 74, 42, 0.28), 0 12px 24px rgba(96, 74, 42, 0.15);
}

.app-wrapper .card-deck .gallery-card:hover .card-caption {
  opacity: 1;
  transform: none;
}

.app-wrapper .card-deck .gallery-card:hover .photo-wrap img {
  transform: scale(1.08);
}

.app-wrapper .card-deck .gallery-card:hover .photo-wrap::after {
  transform: translateX(130%);
}

.app-wrapper .anim-pop {
  display: block;
  animation: app-drop-in 0.8s cubic-bezier(0.2, 0.9, 0.25, 1.15) backwards;
  transition: transform 0.45s ease;
}

@keyframes app-drop-in {
  0% { opacity: 0; transform: translateY(-70px) rotate(4deg) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}

.app-wrapper .polaroid-frame {
  position: relative;
  display: block;
  padding: 12px 12px 18px;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff, #f6f1e6);
  box-shadow: 0 14px 30px rgba(96, 74, 42, 0.16), 0 3px 8px rgba(96, 74, 42, 0.1);
  transition: padding 0.5s cubic-bezier(0.22, 1, 0.3, 1), box-shadow 0.5s ease;
}

.app-wrapper .polaroid-frame::before {
  position: absolute;
  top: -11px;
  left: 50%;
  z-index: 3;
  width: 88px;
  height: 26px;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.28) 0 4px, transparent 4px 8px), rgba(214, 182, 128, 0.45);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  clip-path: polygon(5% 0, 95% 6%, 100% 24%, 96% 78%, 90% 100%, 7% 94%, 0 70%, 4% 24%);
  content: \"\";
  transform: translateX(-50%) rotate(-3deg);
}

.app-wrapper .photo-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 3px;
  background: #efe9dd;
}

.app-wrapper .photo-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.7s ease;
  -webkit-user-drag: none;
}

.app-wrapper .photo-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
  content: \"\";
  pointer-events: none;
  transform: translateX(-130%);
  transition: transform 0.85s ease;
}

.app-wrapper .item-number {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #a97f4b, #8a6a44);
  box-shadow: 0 3px 7px rgba(90, 64, 32, 0.35);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  transform: rotate(-4deg);
}

.app-wrapper .card-caption {
  position: absolute;
  right: 8px;
  bottom: 12px;
  left: 8px;
  display: block;
  color: var(--br);
  font-family: var(--font-script);
  font-size: clamp(1.02rem, 2.4vw, 1.42rem);
  text-align: center;
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  transition: opacity 0.45s 0.1s ease, transform 0.45s 0.1s ease;
}

.app-wrapper .nav-arrow {
  position: absolute;
  top: 38%;
  z-index: 120;
  display: grid;
  width: clamp(40px, 5vw, 50px);
  height: clamp(40px, 5vw, 50px);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 16px rgba(120, 90, 50, 0.18);
  color: var(--br);
  cursor: pointer;
  place-items: center;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.app-wrapper .nav-arrow svg {
  display: block;
  width: 42%;
  height: auto;
}

.app-wrapper .nav-arrow.prev-btn {
  left: 6px;
}

.app-wrapper .nav-arrow.next-btn {
  right: 6px;
}

.app-wrapper .nav-arrow.prev-btn:hover {
  background: var(--br);
  color: #fff;
  transform: translateX(-4px) scale(1.08);
}

.app-wrapper .nav-arrow.next-btn:hover {
  background: var(--br);
  color: #fff;
  transform: translateX(4px) scale(1.08);
}

.app-wrapper .nav-arrow:active {
  transform: scale(0.92);
}

.app-wrapper .pagination-dots {
  position: relative;
  z-index: 95;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 720px;
  margin: 20px auto 0;
}

.app-wrapper .pagination-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 11px;
  height: 11px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-pill);
  background: #e9e1d0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
  color: #fff;
  cursor: pointer;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.3, 1), height 0.35s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.app-wrapper .pagination-dot span {
  font-size: 0;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.25s ease, font-size 0.25s ease;
}

.app-wrapper .pagination-dot:hover {
  background: var(--tan);
  transform: scale(1.15);
}

.app-wrapper .pagination-dot.on {
  width: 34px;
  height: 22px;
  background: var(--br);
  box-shadow: 0 4px 10px rgba(138, 106, 68, 0.35);
}

.app-wrapper .pagination-dot.on span {
  font-size: 0.68rem;
  opacity: 1;
}

.app-wrapper .custom-rule {
  width: min(100% - 32px, 1100px);
  height: 1px;
  margin: clamp(8px, 2vw, 20px) auto 0;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}

@media (max-width: 1020px) {
  .app-wrapper .gallery-card.pos3,
  .app-wrapper .gallery-card.posm3 {
    opacity: 0;
  }
}

@media (max-width: 680px) {
  .app-wrapper .badge-tag {
    display: none;
  }

  .app-wrapper .gallery-showcase {
    padding-right: 44px;
    padding-left: 44px;
  }

  .app-wrapper .nav-arrow {
    top: 42%;
    background: #fff;
  }

  .app-wrapper .gallery-card {
    top: 8px;
  }

  .app-wrapper .gallery-card.pos2,
  .app-wrapper .gallery-card.posm2,
  .app-wrapper .gallery-card.pos3,
  .app-wrapper .gallery-card.posm3 {
    opacity: 0;
    pointer-events: none;
  }

  .app-wrapper .polaroid-frame::before {
    width: 70px;
    height: 22px;
  }

  .app-wrapper .header-top {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tiles-wrap .tile-card,
  .tiles-wrap .tiles-track,
  .tiles-wrap .tiles-btn,
  .tiles-wrap .tiles-switch-knob,
  .app-wrapper .anim-pop,
  .app-wrapper .blob-one,
  .app-wrapper .blob-two,
  .app-wrapper .gallery-card.pos0 .polaroid-frame {
    animation: none;
  }

  .tiles-wrap .tile-card,
  .tiles-wrap .tiles-track,
  .tiles-wrap .tiles-btn,
  .tiles-wrap .tiles-switch-knob,
  .app-wrapper .gallery-card,
  .app-wrapper .anim-pop,
  .app-wrapper .polaroid-frame,
  .app-wrapper .card-caption,
  .app-wrapper .photo-wrap img,
  .app-wrapper .photo-wrap::after,
  .app-wrapper .pagination-dot,
  .app-wrapper .nav-arrow,
  .app-wrapper .nav-menu a::after {
    transition: none;
  }
}

/* ===========================================================================
   20. DIVISIONS GRID AND E-COMMERCE CTA
   =========================================================================== */
.our-divisions-text {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 20px 0;
  color: #16251c;
  font-family: var(--font-body);
  text-align: center;
}

.our-divisions-text h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.our-divisions-text h1 span {
  color: #1a5e35;
}

.our-divisions-text h3 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: #1a5e35;
  font-size: clamp(0.88rem, 2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.our-divisions-text p {
  margin: 16px auto 0;
  color: #64748b;
  font-size: clamp(0.96rem, 2vw, 1.08rem);
  line-height: 1.6;
}

.services-grid-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 32px 16px 64px;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

.services-grid-wrapper .grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  width: min(100%, 1200px);
  gap: 28px;
}

.services-grid-wrapper .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 40px 28px;
  overflow: hidden;
  border: 1px solid rgba(26, 94, 53, 0.14);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 35, 24, 0.07);
  color: #1e293b;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.services-grid-wrapper .card.featured,
.services-grid-wrapper .card:hover {
  border-color: rgba(26, 94, 53, 0.45);
  box-shadow: 0 20px 42px rgba(15, 35, 24, 0.14);
  transform: translateY(-6px);
}

.services-grid-wrapper .icon-wrapper {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 16px;
  place-items: center;
  transition: transform 0.3s ease;
}

.services-grid-wrapper .card:hover .icon-wrapper {
  transform: scale(1.08);
}

.services-grid-wrapper .icon-wrapper i,
.services-grid-wrapper .icon-wrapper img {
  display: block;
}

.services-grid-wrapper .icon-wrapper.building { background: linear-gradient(135deg, #ffe4e6, #fecdd3); color: #e11d48; }
.services-grid-wrapper .icon-wrapper.trading { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; }
.services-grid-wrapper .icon-wrapper.contracting { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); color: #4f46e5; }
.services-grid-wrapper .icon-wrapper.branding { background: linear-gradient(135deg, #fae8ff, #f5d0fe); color: #c026d3; }
.services-grid-wrapper .icon-wrapper.ecommerce { background: linear-gradient(135deg, #e0f2fe, #bae6fd); color: #0284c7; }
.services-grid-wrapper .icon-wrapper.food { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); color: #9333ea; }

.services-grid-wrapper .card-title {
  margin: 0 0 14px;
  color: #1e293b;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.services-grid-wrapper .card:hover .card-title {
  color: #1a5e35;
}

.services-grid-wrapper .card-description {
  flex-grow: 1;
  margin: 0 0 24px;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.65;
}

.services-grid-wrapper .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #1a5e35;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease, gap 0.25s ease;
}

.services-grid-wrapper .card-link:hover {
  gap: 0.6rem;
  color: #0d3b20;
}

.services-grid-wrapper .card-link:focus-visible,
.cta-wrapper .cta-button:focus-visible {
  outline: 3px solid #1a5e35;
  outline-offset: 4px;
}

.cta-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  padding: 48px 20px;
  background: #f6f6f6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.cta-wrapper .cta-content {
  width: min(100%, 650px);
  text-align: center;
}

.cta-wrapper .cta-title {
  margin: 0 0 16px;
  color: #111;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
}

.cta-wrapper .highlight,
.cta-wrapper .cta-subtitle {
  color: #1a5e35;
}

.cta-wrapper .cta-subtitle {
  margin: 0 0 32px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.cta-wrapper .cta-button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  background: #1a5e35;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cta-wrapper .cta-button:hover {
  background: #b3d449;
  color: #102a18;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .our-divisions-text {
    padding-top: 48px;
  }

  .services-grid-wrapper {
    padding-bottom: 48px;
  }

  .services-grid-wrapper .card {
    padding: 32px 24px;
  }

  .cta-wrapper {
    min-height: auto;
    padding: 56px 20px;
  }

  .cta-wrapper .cta-subtitle {
    font-size: 0.95rem;
  }

  .cta-wrapper .cta-button {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}

/* ===========================================================================
   21. PREMIUM FOOD PRODUCTS
   =========================================================================== */
.food-header {
  padding: 80px 20px;
  background: var(--bg-white, #fff);
  font-family: var(--font-body);
  text-align: center;
}

.food-header .food-subtitle {
  margin-bottom: 8px;
  color: var(--primary-green, #1a5e35);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.food-header .food-title {
  margin: 0;
  color: var(--text-dark, #19241e);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}

.food-header .food-title span {
  color: var(--primary-green, #1a5e35);
}

.food-page-wrapper {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 0 20px 72px;
  font-family: var(--font-body);
}

.food-page-wrapper .food-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 30px;
  margin-top: 40px;
}

.food-page-wrapper .food-product-card {
  overflow: hidden;
  border: 1px solid var(--border-light, #e6ece8);
  border-radius: 14px;
  background: var(--bg-white, #fff);
  box-shadow: 0 6px 20px rgba(15, 35, 24, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.food-page-wrapper .food-product-card:hover {
  box-shadow: 0 14px 28px rgba(15, 35, 24, 0.14);
  transform: translateY(-5px);
}

.food-page-wrapper .product-image-container {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #f5f5f5;
}

.food-page-wrapper .product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.food-page-wrapper .food-product-card:hover .product-image {
  transform: scale(1.05);
}

.food-page-wrapper .product-content {
  padding: 24px;
}

.food-page-wrapper .product-title {
  margin: 0 0 16px;
  color: var(--text-dark, #19241e);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.food-page-wrapper .product-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.food-page-wrapper .feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-gray, #5f6f65);
  font-size: 0.875rem;
  line-height: 1.45;
}

.food-page-wrapper .check-icon {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-green, #1a5e35);
  color: #fff;
  font-size: 0.75rem;
  place-items: center;
}

@media (max-width: 1200px) {
  .food-page-wrapper .food-products-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .food-header {
    padding: 48px 20px;
  }

  .food-page-wrapper {
    padding: 0 16px 56px;
  }

  .food-page-wrapper .food-products-grid {
    gap: 20px;
    margin-top: 28px;
  }

  .food-page-wrapper .product-image-container {
    height: 220px;
  }

  .food-page-wrapper .product-content {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .food-header {
    padding: 36px 16px;
  }

  .food-page-wrapper .food-products-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .food-page-wrapper .product-image-container {
    height: 200px;
  }

  .food-page-wrapper .product-content {
    padding: 16px;
  }

  .food-page-wrapper .product-title {
    font-size: 1.25rem;
  }

  .food-page-wrapper .feature-item {
    font-size: 0.8125rem;
  }
}

/* ===========================================================================
   22. FLOATING CHAT WIDGET
   =========================================================================== */
#gg-toggle,
#gg-widget,
#gg-widget * {
  box-sizing: border-box;
}

#gg-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10001;
  display: grid;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  place-items: center;
  transition: transform 0.25s ease, background-color 0.2s ease;
}

#gg-toggle:hover {
  transform: scale(1.08);
}

#gg-toggle svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

#gg-toggle.open svg {
  display: none;
}

#gg-toggle .x-icon {
  display: none;
  color: #fff;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
}

#gg-toggle.open .x-icon {
  display: block;
}

#gg-toggle:not(.open)::after {
  position: absolute;
  inset: -6px;
  border: 2px solid #000;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  animation: ihub-chat-pulse 2s ease-out infinite;
}

@keyframes ihub-chat-pulse {
  0% { opacity: 0.45; transform: scale(0.85); }
  100% { opacity: 0; transform: scale(1.25); }
}

#gg-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  background: rgba(0, 0, 0, 0.35);
}

#gg-backdrop.show {
  display: block;
}

#gg-widget {
  --gg-accent: #1a5e35;
  --gg-ink: #101412;
  --gg-muted: #64748b;
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 28px));
  height: min(560px, calc(100vh - 130px));
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.2, 0.9, 0.2, 1);
}

#gg-widget.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

#gg-widget .gg-header {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  flex-shrink: 0;
  min-height: 54px;
  padding: 0 8px;
  background: #000;
  color: #fff;
}

#gg-widget .gg-header h2 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
}

#gg-widget .gg-header button,
#gg-widget .gg-icon-btn {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  place-items: center;
}

#gg-widget .gg-header button:hover {
  background: rgba(255, 255, 255, 0.1);
}

#gg-widget .gg-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px 10px;
  background: #fafbfc;
}

#gg-widget .gg-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  animation: ihub-chat-in 0.35s ease;
}

@keyframes ihub-chat-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

#gg-widget .gg-avatar {
  display: flex;
  flex: 0 0 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gg-accent);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

#gg-widget .gg-bubble {
  max-width: 82%;
  padding: 12px 14px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  background: #f1f1f1;
  color: #1a1a1a;
  font-size: 0.84375rem;
  line-height: 1.5;
}

#gg-widget .gg-user {
  justify-content: flex-end;
}

#gg-widget .gg-user .gg-bubble {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 16px;
  background: var(--gg-ink);
  color: #fff;
}

#gg-widget .gg-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 8px 48px;
}

#gg-widget .gg-quick button {
  padding: 8px 14px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--gg-ink);
  color: #fff;
  cursor: pointer;
  font-size: 0.78125rem;
  font-weight: 600;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

#gg-widget .gg-quick button:hover {
  background: var(--gg-accent);
  transform: translateY(-1px);
}

#gg-widget .gg-typing {
  display: flex;
  width: fit-content;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f1f1f1;
}

#gg-widget .gg-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6b7280;
  animation: ihub-chat-dot 1.2s infinite;
}

#gg-widget .gg-typing span:nth-child(2) { animation-delay: 0.15s; }
#gg-widget .gg-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes ihub-chat-dot {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

#gg-widget .gg-status {
  margin: 0 0 10px 48px;
  color: #16803f;
  font-size: 0.6875rem;
}

#gg-widget .gg-foot {
  flex-shrink: 0;
  padding: 10px 10px 6px;
  background: #000;
}

#gg-widget .gg-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

#gg-widget .gg-icon-btn {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  opacity: 0.9;
}

#gg-widget .gg-icon-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

#gg-widget #gg-input {
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  border: 0;
  border-radius: var(--radius-pill);
  outline: 0;
  background: #fff;
  color: #111;
  font-size: 0.875rem;
}

#gg-widget #gg-input:disabled {
  opacity: 0.7;
}

#gg-widget #gg-send:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

#gg-widget .gg-powered {
  padding: 6px 0 2px;
  color: var(--gg-muted);
  font-size: 0.6875rem;
  text-align: center;
}

#gg-toggle:focus-visible,
#gg-widget button:focus-visible,
#gg-widget input:focus-visible {
  outline: 3px solid #b3d449;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  #gg-toggle {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }

  #gg-widget {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: min(86vh, 680px);
    max-height: 86vh;
    border-radius: 20px 20px 0 0;
    transform-origin: bottom center;
  }
}

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