/* =========================================================
   Kilurs Services Ltd — Company Profile Styles
   Palette: midnight navy · brass gold · cool mist
   ========================================================= */

:root {
  --navy: #0c1a2b;
  --navy-deep: #071018;
  --navy-mid: #152a42;
  --brass: #c9a227;
  --brass-light: #e0bc4a;
  --brass-dark: #9a7a1a;
  --mist: #e8eef4;
  --mist-dark: #d0dae6;
  --ink: #1a2433;
  --ink-muted: #5a6b7d;
  --white: #ffffff;
  --nav-bg: #0c1a2b;
  --nav-text: #ffffff;
  --nav-text-muted: color-mix(in srgb, var(--nav-text) 82%, transparent);
  --topbar-bg: #071018;
  --topbar-stroke: #c9a227;
  --footer-bg: #071018;
  --footer-bottom-bg: #050c12;
  --success: #2d6a4f;
  --danger: #9b2226;
  --radius: 4px;
  --shadow: 0 18px 40px rgba(7, 16, 24, 0.12);
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --header-h: 88px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--mist);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-font {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.2;
}

a {
  color: var(--brass-dark);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brass);
  color: var(--navy);
  padding: 0.5rem 1rem;
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.top-bar {
  background: var(--topbar-bg);
  font-size: 0.82rem;
  padding: 0.4rem 0;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: none;
}

.top-bar-stroke {
  height: 3px;
  background: var(--topbar-stroke);
  width: 100%;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.75);
  margin-right: 1.25rem;
}

.top-bar a:hover {
  color: var(--brass-light);
}

.top-bar i {
  color: var(--brass);
  margin-right: 0.35rem;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-location {
  margin-right: 0.25rem;
}

.top-bar-social {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar-social a {
  margin-right: 0;
  width: 1.85rem;
  height: 1.85rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.top-bar-social a i {
  margin-right: 0;
  color: inherit;
  font-size: 0.9rem;
}

.top-bar-social a:hover {
  color: var(--navy-deep);
  background: var(--brass-light);
  border-color: var(--brass-light);
}

.navbar {
  padding: 0.75rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--nav-text) !important;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(145deg, var(--brass-light), var(--brass-dark));
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  border-radius: 2px;
}

.brand-logo {
  display: block;
  width: auto;
  max-height: 44px;
  object-fit: contain;
}

.brand-logo--footer {
  max-height: 48px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-text small {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  font-weight: 500;
}

.navbar-nav .nav-link {
  color: var(--nav-text-muted) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem !important;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--nav-text) !important;
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--brass);
}

.navbar-toggler {
  border-color: color-mix(in srgb, var(--nav-text) 35%, transparent);
}

.navbar-toggler-icon {
  background-image: none;
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
  display: block;
}

.navbar-toggler-icon {
  width: 1.5em;
  height: 1.2em;
  background:
    linear-gradient(var(--nav-text), var(--nav-text)) center / 100% 2px no-repeat,
    linear-gradient(var(--nav-text), var(--nav-text)) center top / 100% 2px no-repeat,
    linear-gradient(var(--nav-text), var(--nav-text)) center bottom / 100% 2px no-repeat;
}

.dropdown-menu {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--radius);
  padding: 0.5rem;
}

.dropdown-item {
  color: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  font-weight: 500;
}

.dropdown-item:hover {
  background: rgba(201, 162, 39, 0.15);
  color: var(--brass-light);
}

.dropdown-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

/* ---------- Buttons ---------- */
.btn-accent {
  background: linear-gradient(135deg, var(--brass-light), var(--brass));
  color: var(--navy-deep) !important;
  border: none;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.btn-accent:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
  color: var(--navy-deep) !important;
}

.btn-outline-light-custom {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  background: transparent;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.btn-outline-light-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--brass);
  color: var(--brass-light);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
}

.btn-navy:hover {
  background: var(--navy-mid);
  color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  background:
    linear-gradient(115deg, rgba(7, 16, 24, 0.92) 0%, rgba(12, 26, 43, 0.78) 48%, rgba(12, 26, 43, 0.55) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(160deg, #0c1a2b 0%, #1a3a55 50%, #0c1a2b 100%);
  color: var(--white);
  overflow: hidden;
}

.hero.hero-has-slider {
  background: var(--navy-deep);
  align-items: flex-end;
}

.hero.hero-has-slider::before,
.hero.hero-has-slider::after {
  display: none;
}

.hero.hero-has-slider .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero.hero-has-slider .hero-content {
  padding: 1.25rem 0 3.5rem;
  max-width: 820px;
}

.hero.hero-has-slider .hero-info-panel {
  max-width: 640px;
  padding: 1.25rem 1.35rem 1.35rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(7, 16, 24, 0.42) 0%, rgba(7, 16, 24, 0.72) 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(2px);
}

.hero.hero-has-slider .hero-brand {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  opacity: 1;
  animation: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero.hero-has-slider .hero-headline {
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  line-height: 1.25;
  max-width: none;
  margin-bottom: 0.7rem;
  opacity: 1;
  animation: none;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.hero.hero-has-slider .hero-support {
  display: block;
  max-width: none;
  margin-bottom: 1.15rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  opacity: 1;
  animation: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.hero.hero-has-slider .hero-headline.is-changing,
.hero.hero-has-slider .hero-support.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.hero.hero-has-slider .hero-cta {
  opacity: 1;
  animation: none;
}

.hero.hero-has-slider .hero-scroll {
  display: none;
}

/* Hero image slider — images auto-fit with object-fit: cover */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  /* Ensure any image size fills the hero frame */
  min-width: 100%;
  min-height: 100%;
}

.hero-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(7, 16, 24, 0.45);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.hero-slider-nav:hover {
  background: rgba(201, 162, 39, 0.85);
  border-color: var(--brass);
  color: var(--navy-deep);
}

.hero-slider-prev { left: 1rem; }
.hero-slider-next { right: 1rem; }

.hero-slider-dots {
  position: absolute;
  bottom: 1.15rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.45rem;
}

.hero.hero-has-slider .hero-slider-dots {
  bottom: 0.85rem;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.hero-slider-dot.is-active {
  background: var(--brass);
  border-color: var(--brass);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 85% 40%, rgba(201, 162, 39, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(74, 124, 140, 0.15), transparent 55%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 10%;
  width: 55%;
  height: 80%;
  background:
    linear-gradient(135deg, transparent 40%, rgba(201, 162, 39, 0.08) 40%, rgba(201, 162, 39, 0.08) 42%, transparent 42%),
    linear-gradient(225deg, transparent 55%, rgba(255, 255, 255, 0.04) 55%);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
  animation: heroPlane 12s ease-in-out infinite alternate;
}

@keyframes heroPlane {
  from { transform: translateX(0) translateY(0); opacity: 0.7; }
  to { transform: translateX(-3%) translateY(2%); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 6rem;
  max-width: 720px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.15s;
}

.hero-brand span {
  color: var(--brass-light);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.25rem;
  max-width: 34ch;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.35s;
}

.hero-support {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 42ch;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.55s;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.75s;
}

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

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  animation: bounceSoft 2.2s ease-in-out infinite;
}

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

/* ---------- Page hero (inner) ---------- */
.page-hero {
  background:
    linear-gradient(120deg, rgba(7, 16, 24, 0.94), rgba(21, 42, 66, 0.88)),
    linear-gradient(160deg, #0c1a2b, #1a3a55);
  color: var(--white);
  padding: 2rem 0 1.75rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to left, rgba(201, 162, 39, 0.12), transparent);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  margin-bottom: 0.4rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 52ch;
  margin-bottom: 0;
  font-size: 0.98rem;
}

.breadcrumb-nav {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.55rem;
}

.breadcrumb-nav a {
  color: var(--brass-light);
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
}

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

.services-preview-section {
  position: relative;
  overflow: hidden;
}

.services-preview-section.has-custom-bg .services-preview-inner {
  position: relative;
  z-index: 2;
}

.services-preview-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services-preview-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.services-preview-section.has-custom-bg .section-label,
.services-preview-section.has-custom-bg .section-title,
.services-preview-section.has-custom-bg .section-lead {
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

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

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin-bottom: 0.75rem;
}

.section-navy .section-label {
  color: var(--brass-light);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 58ch;
}

.section-navy .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 1;
  transform: none;
}

html.js-anim .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-anim .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

html.js-anim .reveal-delay-1 { transition-delay: 0.08s; }
html.js-anim .reveal-delay-2 { transition-delay: 0.16s; }
html.js-anim .reveal-delay-3 { transition-delay: 0.24s; }
html.js-anim .reveal-delay-4 { transition-delay: 0.32s; }
html.js-anim .reveal-delay-5 { transition-delay: 0.4s; }
html.js-anim .reveal-delay-6 { transition-delay: 0.48s; }

html.js-anim .reveal-left:not(.visible) {
  transform: translateX(-24px);
}

html.js-anim .reveal-right:not(.visible) {
  transform: translateX(24px);
}

html.js-anim .reveal-left.visible,
html.js-anim .reveal-right.visible {
  transform: translateX(0);
}

html.js-anim .reveal-zoom:not(.visible) {
  transform: scale(0.96);
}

html.js-anim .reveal-zoom.visible {
  transform: scale(1);
}

/* Hero entrance (on load) */
html.js-anim .hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: heroEnter 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

html.js-anim .hero-content > *:nth-child(1) { animation-delay: 0.12s; }
html.js-anim .hero-content > *:nth-child(2) { animation-delay: 0.24s; }
html.js-anim .hero-content > *:nth-child(3) { animation-delay: 0.36s; }
html.js-anim .hero-content > *:nth-child(4) { animation-delay: 0.48s; }

@keyframes heroEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js-anim .reveal,
  html.js-anim .reveal-left,
  html.js-anim .reveal-right,
  html.js-anim .reveal-zoom,
  html.js-anim .hero-content > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- Service tiles ---------- */
.service-tile {
  display: block;
  background: var(--white);
  border: 1px solid var(--mist-dark);
  padding: 2rem 1.75rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  color: inherit;
  transform: translateY(0);
  transition:
    border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brass);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-tile:hover,
html.js-anim .service-tile.reveal.visible:hover,
html.js-anim .service-tile.reveal:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(7, 16, 24, 0.14);
  border-color: color-mix(in srgb, var(--brass) 35%, var(--mist-dark));
  color: inherit;
}

.service-tile:hover::before {
  transform: scaleY(1);
}

.service-tile .tile-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.service-tile .tile-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--mist);
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 0;
  flex-shrink: 0;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}

.service-tile:hover .tile-icon {
  background: var(--navy);
  color: var(--brass-light);
}

.service-tile .tile-head h3 {
  font-size: 1.15rem;
  margin-bottom: 0;
  line-height: 1.3;
}

.service-tile p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-tile .tile-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brass-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-tile .tile-link i {
  transition: transform var(--transition);
}

.service-tile:hover .tile-link i {
  transform: translateX(4px);
}

/* ---------- Values grid ---------- */
.value-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--mist-dark);
}

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

.value-item .value-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--brass-light);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.value-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.value-item p {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Why choose / checklist ---------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-weight: 500;
}

.check-list li i {
  color: var(--brass-dark);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.section-navy .check-list li {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.section-navy .check-list li i {
  color: var(--brass-light);
}

/* ---------- Process steps ---------- */
.process-track {
  position: relative;
  display: grid;
  gap: 1rem;
}

@media (min-width: 992px) {
  .process-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step {
  background: var(--white);
  border: 1px solid var(--mist-dark);
  padding: 1.5rem;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}

.process-step:hover {
  transform: translateY(-3px);
  border-color: var(--brass);
}

.process-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}

.process-step h4 {
  font-size: 1.05rem;
  margin: 0;
}

/* ---------- Industry pills / tags (not rounded-full) ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.industry-tag {
  background: var(--white);
  border: 1px solid var(--mist-dark);
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: border-color var(--transition), background var(--transition);
}

.industry-tag:hover {
  border-color: var(--brass);
  background: #fffdf5;
}

.industry-tag i {
  color: var(--brass-dark);
}

/* ---------- Stats ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .stat-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brass-light);
  line-height: 1;
  display: block;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.4rem;
  display: block;
}

/* ---------- Quote / promise band ---------- */
.promise-band {
  background:
    linear-gradient(110deg, var(--navy-deep), var(--navy-mid));
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promise-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201, 162, 39, 0.2), transparent 55%);
}

.promise-band .container {
  position: relative;
  z-index: 1;
}

.promise-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  max-width: 28ch;
  margin: 0 auto 1.25rem;
  color: var(--white);
  line-height: 1.3;
}

.promise-band p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 48ch;
  margin: 0 auto;
}

/* ---------- About split ---------- */
.about-visual {
  background-color: var(--navy);
  background-image:
    linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 380px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  padding: 2rem;
  color: #fff;
  overflow: hidden;
  border-radius: 16px;
  isolation: isolate;
}

.about-visual.has-image {
  background-color: var(--navy);
}

.about-visual > img,
.about-visual-img {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 70% 30%, rgba(201, 162, 39, 0.25), transparent 45%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.03) 18px,
      rgba(255, 255, 255, 0.03) 19px
    );
}

.about-visual.has-image::before {
  background: linear-gradient(180deg, rgba(7, 16, 24, 0.12) 20%, rgba(7, 16, 24, 0.72) 100%);
}

.about-visual-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  color: #fff;
}

.about-visual h3,
.about-visual p {
  color: #fff;
}

.about-visual h3 {
  font-size: 1.5rem;
}

.about-side-stack {
  display: grid;
  gap: 0;
}

.about-side-block {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--mist-dark);
}

.about-side-block:first-child {
  padding-top: 0;
}

.about-side-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-side-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.about-side-block p {
  color: var(--ink-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.about-values-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-muted);
}

.about-values-list li {
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--navy);
}

.vision-mission-box {
  background: var(--white);
  border-left: 4px solid var(--brass);
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 4px 20px rgba(7, 16, 24, 0.06);
}

.vision-mission-box h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vision-mission-box h3 i {
  color: var(--brass-dark);
}

.vision-mission-box p {
  color: var(--ink-muted);
  margin: 0;
}

/* ---------- ICT category thumbnails ---------- */
.ict-thumb-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .ict-thumb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .ict-thumb-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ict-thumb-card {
  background: var(--white);
  border: 1px solid var(--mist-dark);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.ict-thumb-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.ict-thumb-visual {
  position: relative;
  min-height: 140px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 75% 25%, rgba(201, 162, 39, 0.28), transparent 50%),
    linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--brass-light);
}

.ict-thumb-visual i {
  font-size: 2.75rem;
  line-height: 1;
}

.ict-thumb-count {
  position: absolute;
  left: 0.85rem;
  bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(7, 16, 24, 0.45);
  padding: 0.25rem 0.55rem;
}

.ict-thumb-body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ict-thumb-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.ict-thumb-blurb {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.ict-thumb-list {
  list-style: none;
  padding: 0.85rem 0 0;
  margin: 0;
  border-top: 1px solid var(--mist-dark);
}

.ict-thumb-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.ict-thumb-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--brass);
}

/* ---------- Service detail categories ---------- */
.category-block {
  margin-bottom: 2.5rem;
}

.category-block h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--brass);
  display: inline-block;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.5rem 1.5rem;
}

.service-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--brass);
}

/* ---------- Contact form ---------- */
.contact-form-wrap {
  background: var(--white);
  padding: 2.5rem;
  border: 1px solid var(--mist-dark);
}

.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
}

.form-control,
.form-select {
  border-radius: var(--radius);
  border-color: var(--mist-dark);
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.2);
}

.contact-info-panel {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem;
  height: 100%;
}

.contact-info-panel h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item i {
  color: var(--brass-light);
  font-size: 1.25rem;
  margin-top: 0.15rem;
}

.contact-info-item strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.2rem;
}

.contact-info-item a,
.contact-info-item span {
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.7);
}

.footer-main {
  padding: 4rem 0 3rem;
  background: var(--footer-bg);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white) !important;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 34ch;
}

.footer-promise {
  font-size: 0.85rem;
  color: var(--brass-light);
  font-weight: 600;
  max-width: 34ch;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 1.15rem;
  letter-spacing: 0.04em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--brass-light);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--brass);
  margin-top: 0.15rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact a:hover {
  color: var(--brass-light);
}

.footer-bottom {
  background: var(--footer-bottom-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  font-size: 0.85rem;
}

.footer-values {
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
}

/* ---------- Admin ---------- */
.admin-body {
  background: #f0f3f6;
  min-height: 100vh;
}

.admin-login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, var(--navy-deep), var(--navy-mid));
  padding: 2rem;
}

.admin-login-card {
  background: var(--white);
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.password-field-wrap {
  position: relative;
}

.password-field-wrap .form-control {
  padding-right: 2.75rem;
}

.password-toggle-btn {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--ink-muted, #64748b);
  padding: 0.15rem 0.25rem;
  line-height: 1;
  cursor: pointer;
}

.password-toggle-btn:hover {
  color: var(--navy, #0c1a2b);
}

.password-toggle-btn:focus-visible {
  outline: 2px solid rgba(201, 162, 39, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

.admin-sidebar {
  background: var(--navy);
  min-height: 100vh;
  color: var(--white);
  padding: 1.5rem 0;
}

.admin-sidebar .nav-link {
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  color: var(--brass-light);
  background: rgba(255, 255, 255, 0.05);
}

.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--mist-dark);
  padding: 1rem 1.5rem;
}

.badge-new {
  background: var(--brass);
  color: var(--navy);
}

.table-admin th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

/* ---------- Utilities ---------- */
.text-brass {
  color: var(--brass-dark) !important;
}

.bg-mist {
  background: var(--mist);
}

.divider-brass {
  width: 48px;
  height: 3px;
  background: var(--brass);
  margin: 1rem 0 1.5rem;
}

/* ---------- Company team thumbnails ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  background: var(--white);
  border: 1px solid var(--mist-dark);
  overflow: hidden;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.team-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.team-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.team-card:hover .team-thumb img {
  transform: scale(1.05);
}

.team-thumb-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brass-light);
  letter-spacing: 0.04em;
}

.team-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
  text-align: center;
}

.team-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.team-position {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brass-dark);
}

/* ---------- Project gallery ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

.gallery-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--mist-dark);
  background: var(--white);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.gallery-filter:hover,
.gallery-filter.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.gallery-filter:focus-visible,
.gallery-showcase-card:focus-visible,
.gallery-back-link:focus-visible,
.gallery-thumb:focus-visible,
.gallery-project-featured:focus-visible {
  outline: 3px solid rgba(197, 151, 54, 0.42);
  outline-offset: 3px;
}

.gallery-filter-count {
  font-size: 0.72rem;
  opacity: 0.75;
}

.gallery-showcase-panel {
  min-height: 220px;
}

#galleryDynamicContent {
  position: relative;
  transition: opacity 0.22s ease;
}

#galleryDynamicContent.is-loading {
  opacity: 0.4;
  pointer-events: none;
}

#galleryDynamicContent.is-loading::after {
  content: "";
  position: absolute;
  top: 4rem;
  left: 50%;
  width: 2rem;
  height: 2rem;
  margin-left: -1rem;
  border: 3px solid var(--mist-dark);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: gallery-spin 0.75s linear infinite;
}

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

.gallery-category-intro {
  max-width: 760px;
  margin: 0 auto 1.75rem;
  text-align: center;
  color: var(--ink-muted);
  line-height: 1.7;
}

.gallery-project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

@media (min-width: 576px) {
  .gallery-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .gallery-project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-showcase-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--mist-dark);
  border-radius: 1rem;
  box-shadow: 0 5px 18px rgba(15, 39, 68, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-showcase-card:hover {
  color: inherit;
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 18px 42px rgba(15, 39, 68, 0.14);
}

.gallery-showcase-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
}

.gallery-showcase-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-showcase-card:hover .gallery-showcase-cover img {
  transform: scale(1.06);
}

.gallery-showcase-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--brass-light);
  font-size: 2rem;
}

.gallery-showcase-arrow {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  transform: translateY(4px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-showcase-card:hover .gallery-showcase-arrow {
  opacity: 1;
  transform: translateY(0);
}

.gallery-showcase-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.15rem 1.2rem 1.25rem;
}

.gallery-showcase-body strong {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.08rem;
}

.gallery-showcase-body small {
  color: var(--ink-muted);
  line-height: 1.55;
}

.gallery-showcase-body > span {
  margin-top: auto;
  padding-top: 0.35rem;
  color: var(--brass-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.gallery-empty-state {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 2rem;
  text-align: center;
  color: var(--ink-muted);
  border: 1px dashed var(--mist-dark);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.6);
}

.gallery-empty-state i {
  font-size: 2.25rem;
  color: var(--brass-dark);
}

.gallery-empty-state p {
  margin: 0.75rem 0 0;
}

.gallery-detail-category {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--brass-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
  margin: 1.15rem 0 1.35rem;
}

.gallery-detail-meta div {
  padding-left: 0.75rem;
  border-left: 2px solid var(--brass);
}

.gallery-detail-meta dt {
  color: var(--ink-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-detail-meta dd {
  margin: 0.12rem 0 0;
  color: var(--navy);
  font-weight: 600;
}

.gallery-technology-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.gallery-technology-list span {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  color: var(--navy);
  background: var(--mist);
  font-size: 0.78rem;
  font-weight: 600;
}

.gallery-photo-heading {
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: 1.15rem;
}

@media (max-width: 575.98px) {
  .gallery-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
    padding: 0.2rem 0.75rem 0.55rem;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .gallery-filter {
    flex: 0 0 auto;
  }

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

.gallery-project-meta {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.gallery-project-view {
  margin-top: 0.5rem;
}

.gallery-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted, #64748b);
  text-decoration: none;
  margin-bottom: 0.85rem;
}

.gallery-back-link:hover {
  color: var(--navy, #0f2744);
}

.gallery-project-heading {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--navy, #0f2744);
}

.gallery-project-meta-line {
  font-size: 0.9rem;
  color: var(--muted, #64748b);
  margin-bottom: 1.1rem;
}

.gallery-project-hero .gallery-project-copy {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--charcoal-soft, #4a5568);
  margin-bottom: 1rem;
}

.gallery-project-featured--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 280px;
  border-radius: 1.25rem;
  background: var(--mist, #f1f5f9);
  color: var(--muted, #64748b);
  border: 1px dashed var(--mist-dark, #cbd5e1);
}

.gallery-project-featured {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  cursor: pointer;
  display: block;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.gallery-project-featured img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.18s ease;
}

.gallery-project-featured.is-changing img {
  opacity: 0.18;
}

.gallery-thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 576px) {
  .gallery-thumb-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .gallery-thumb-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-thumb {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 0.85rem;
  overflow: hidden;
  display: block;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.gallery-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  appearance: none;
  border: 1px solid var(--mist-dark);
  background: var(--white);
  padding: 0;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.gallery-item-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
}

.gallery-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

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

.gallery-item-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 1rem 1.05rem;
}

.gallery-item-meta strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--navy);
}

.gallery-item-meta small {
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.gallery-project-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--mist-dark);
  overflow: hidden;
  color: inherit;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}

.gallery-project-cover {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy), var(--navy-mid));
}

.gallery-project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-project-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--brass-light);
  font-size: 2rem;
}

.gallery-project-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem 1.2rem;
}

.gallery-project-body strong {
  font-family: var(--font-display);
  color: var(--navy);
}

.gallery-project-body small {
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.gallery-lightbox[hidden] {
  display: none !important;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 16, 24, 0.88);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: 92vh;
  background: var(--navy-deep);
  color: #fff;
  overflow: auto;
}

.gallery-lightbox-dialog img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  background: #000;
}

.gallery-lightbox-caption {
  padding: 1rem 1.25rem 1.25rem;
}

.gallery-lightbox-caption p {
  margin: 0.35rem 0 0.25rem;
  color: rgba(255, 255, 255, 0.8);
}

.gallery-lightbox-caption small {
  color: var(--brass-light);
}

.gallery-lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: color-mix(in srgb, var(--nav-bg) 92%, black);
    margin-top: 0.75rem;
    padding: 1rem;
    border: 1px solid color-mix(in srgb, var(--nav-text) 15%, transparent);
  }

  .navbar-nav .nav-link.active::after {
    display: none;
  }

  .hero-content {
    padding: 3.5rem 0 5rem;
  }

  .hero.hero-has-slider .hero-content {
    padding: 1rem 0 3rem;
  }

  .hero.hero-has-slider .hero-info-panel {
    padding: 1rem 1.05rem 1.15rem;
  }

  .contact-form-wrap,
  .contact-info-panel {
    padding: 1.75rem;
  }
}

/* ---------- Floating WhatsApp widget ---------- */
.wa-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1080;
  font-family: var(--font-body);
}

.wa-float {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.1rem 0.85rem 0.95rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background var(--transition), box-shadow var(--transition);
  animation: waBounce 2.4s ease-in-out infinite;
  will-change: transform;
}

.wa-float i {
  font-size: 1.55rem;
  line-height: 1;
}

.wa-float:hover {
  background: #1ebe57;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
  color: #fff;
  animation-play-state: paused;
}

.wa-widget.is-open .wa-float {
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(7, 16, 24, 0.35);
  animation: none;
}

.wa-widget.is-open .wa-float-label {
  display: none;
}

.wa-widget.is-open .wa-float {
  width: 56px;
  height: 56px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

@keyframes waBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  55% {
    transform: translateY(-10px);
  }
  70% {
    transform: translateY(-4px);
  }
  85% {
    transform: translateY(-7px);
  }
}

.wa-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.85rem);
  width: min(380px, calc(100vw - 2rem));
  max-height: min(560px, calc(100vh - 7rem));
  background: #f4f7f5;
  border-radius: 16px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  box-shadow: 0 22px 50px rgba(7, 16, 24, 0.28);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.wa-panel[hidden] {
  display: none !important;
}

.wa-widget.is-open .wa-panel {
  display: flex;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-widget.is-open .wa-panel[hidden] {
  display: none !important;
}

.wa-panel-header {
  background: linear-gradient(135deg, #075e54, #128c7e);
  color: #fff;
  padding: 0.95rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wa-panel-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.wa-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.wa-panel-brand strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.2;
}

.wa-panel-brand small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 0.15rem;
}

.wa-close {
  background: transparent;
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0.9;
}

.wa-close:hover {
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

.wa-panel-body {
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wa-intro p {
  background: #fff;
  border-radius: 10px 10px 10px 2px;
  padding: 0.75rem 0.9rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(7, 16, 24, 0.06);
}

.wa-widget.is-welcome .wa-intro p {
  animation: waWelcomeIn 0.55s ease 0.2s both;
}

@keyframes waWelcomeIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wa-faq-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6b7d;
  margin: 0 0 0.55rem;
  font-family: var(--font-body);
}

.wa-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.wa-faq-item {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #dde5df;
  padding: 0.65rem 0.85rem;
}

.wa-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.wa-faq-item summary::-webkit-details-marker {
  display: none;
}

.wa-faq-item summary::after {
  content: "+";
  font-weight: 700;
  color: #128c7e;
  flex-shrink: 0;
}

.wa-faq-item[open] summary::after {
  content: "–";
}

.wa-faq-item p {
  margin: 0.55rem 0 0.65rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.wa-faq-use {
  appearance: none;
  border: none;
  background: transparent;
  color: #128c7e;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.wa-faq-use:hover {
  color: #075e54;
}

.wa-chat-box {
  background: #fff;
  border: 1px solid #dde5df;
  border-radius: 12px;
  padding: 0.9rem;
}

.wa-chat-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.wa-chat-field {
  width: 100%;
  border: 1px solid #d0dae6;
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
  min-height: 72px;
  color: var(--ink);
  background: #fafbfc;
}

.wa-chat-field:focus {
  outline: none;
  border-color: #25d366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
  background: #fff;
}

.wa-send-btn {
  width: 100%;
  margin-top: 0.65rem;
  border: none;
  border-radius: 8px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.wa-send-btn:hover {
  background: #1ebe57;
  transform: translateY(-1px);
}

.wa-hint {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  color: #7a8a95;
  text-align: center;
}

@media (max-width: 575.98px) {
  .wa-widget {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .wa-float-label {
    display: none;
  }

  .wa-float {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

/* ---------- Client Showcase ---------- */
.client-showcase-copy {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.client-showcase-details {
  position: relative;
  flex: 1;
  min-height: 280px;
}

.client-showcase-detail {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
  visibility: hidden;
}

.client-showcase-detail.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  z-index: 1;
}

.client-showcase-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin-bottom: 0.45rem;
}

.client-showcase-name {
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.client-showcase-block {
  margin-bottom: 1.1rem;
}

.client-showcase-block h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.client-showcase-block p {
  color: var(--ink-muted);
  margin-bottom: 0;
  font-size: 0.98rem;
}

.client-showcase-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.client-showcase-nav {
  width: 40px;
  height: 40px;
  border: 1px solid var(--mist-dark);
  background: var(--white);
  color: var(--navy);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.client-showcase-nav:hover {
  border-color: var(--brass);
  background: var(--navy);
  color: var(--white);
}

.client-showcase-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
  justify-content: center;
}

.client-showcase-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: color-mix(in srgb, var(--navy) 22%, var(--mist-dark));
  transition: transform 0.25s ease, background 0.25s ease, width 0.25s ease;
}

.client-showcase-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--brass);
}

.client-showcase-visual {
  position: relative;
  min-height: 320px;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 25%, rgba(201, 162, 39, 0.22), transparent 48%),
    linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: grid;
  place-items: center;
  padding: 2rem;
}

.client-showcase-logo {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2.25rem;
  opacity: 0;
  transform: translateX(28px) scale(0.97);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.client-showcase-logo.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.client-showcase-logo-plate {
  width: min(72vw, 220px);
  height: min(72vw, 220px);
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.client-showcase-logo-plate img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.client-showcase-fallback {
  text-align: center;
  color: var(--white);
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.client-showcase-fallback .client-showcase-logo-plate {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(145deg, var(--brass-light), var(--brass-dark));
  color: var(--navy-deep);
  border-color: rgba(255, 255, 255, 0.15);
}

.client-showcase-fallback small {
  font-size: 0.95rem;
  font-weight: 600;
  max-width: 28ch;
  opacity: 0.85;
}

@media (max-width: 991.98px) {
  .client-showcase-visual {
    min-height: 260px;
  }

  .client-showcase-logo-plate {
    width: min(58vw, 180px);
    height: min(58vw, 180px);
  }

  .client-showcase-controls {
    padding-top: 1.25rem;
  }
}

.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1090;
  max-width: 720px;
  margin: 0 auto;
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(7, 16, 24, 0.28);
  padding: 1rem 1.15rem;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-consent p {
  margin: 0;
  flex: 1 1 260px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
}

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.cookie-consent-actions a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .wa-float {
    animation: none;
  }

  .wa-widget.is-welcome .wa-intro p {
    animation: none;
  }

  .client-showcase-detail,
  .client-showcase-logo {
    transition: none;
  }
}
