/* ═══════════════════════════════════════════════════
   KOMACHI MIDDLE EAST — Main Stylesheet
   ═══════════════════════════════════════════════════ */

/* ── 1. DESIGN TOKENS ─────────────────────────────── */
:root {
  /* Core colours */
  --c-navy-950: #060a14;
  --c-navy-900: #090e1a;
  --c-navy-800: #0d1525;
  --c-navy-700: #122033;
  --c-accent: #f5a623; /* warm gold  */
  --c-accent-lt: #fbbf24; /* amber tint */
  --c-orange: #f97316; /* orange CTA */
  --c-white: #ffffff;
  --c-off-white: #f8f9fc;
  --c-gray-100: #f3f4f6;
  --c-gray-200: #e5e7eb;
  --c-gray-400: #9ca3af;
  --c-gray-500: #6b7280;
  --c-text: #111827;
  --c-text-muted: #4b5563;

  /* Surfaces */
  --s-light: var(--c-off-white);
  --s-white: var(--c-white);
  --s-dark: var(--c-navy-900);
  --s-darker: var(--c-navy-950);

  /* Typography */
  --f-display: "Barlow Condensed", sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, sans-serif;

  /* Spacing scale (8px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 9999px;

  /* Shadows */
  --sh-sm: 0 1px 4px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.08);
  --sh-md: 0 4px 20px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  --sh-lg: 0 16px 48px rgba(0, 0, 0, 0.18), 0 6px 20px rgba(0, 0, 0, 0.12);
  --sh-accent: 0 8px 32px rgba(245, 166, 35, 0.4);
  --sh-orange: 0 8px 32px rgba(249, 115, 22, 0.38);

  /* Transitions */
  --t-fast: 150ms ease-out;
  --t-base: 250ms ease-out;
  --t-slow: 420ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-spring: 520ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container: 1200px;
  --header-h: 68px;
}

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

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

body {
  font-family: var(--f-body);
  background: var(--s-light);
  color: var(--c-text);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
address {
  font-style: normal;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
input,
textarea,
select {
  font-family: inherit;
}

/* ── 3. LAYOUT UTILITIES ──────────────────────────── */
.container {
  width: min(var(--container), 100% - var(--sp-8));
  margin-inline: auto;
}

.section {
  padding-block: var(--sp-20);
  scroll-margin-top: var(--header-h);
}

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

/* ── 4. TYPOGRAPHY ────────────────────────────────── */
.section-eyebrow {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-3);
}
.section-eyebrow.light {
  color: var(--c-accent);
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 3.5vw + 1rem, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--c-text);
  margin-bottom: var(--sp-5);
}
.section-title.light {
  color: var(--c-white);
}

.section-intro {
  max-width: 600px;
  color: var(--c-text-muted);
  font-size: 1.05rem;
  margin-bottom: var(--sp-10);
}
.section-intro.light {
  color: rgba(255, 255, 255, 0.65);
}

/* ── 5. BUTTONS ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.7rem 1.6rem;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition:
    transform var(--t-spring),
    box-shadow var(--t-base),
    background var(--t-base),
    color var(--t-base),
    border-color var(--t-base);
}
.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Primary — gold gradient */
.btn-primary {
  background: linear-gradient(135deg, var(--c-accent-lt), var(--c-orange));
  color: #fff;
  box-shadow: var(--sh-orange);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 44px rgba(249, 115, 22, 0.5);
}
.btn-primary:active {
  transform: translateY(-1px) scale(1);
}

/* Ghost on white */
.btn-ghost-white {
  background: rgba(255, 255, 255, 0.1);
  color: var(--c-white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}
.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* Outline gold */
.btn-outline-gold {
  background: transparent;
  color: var(--c-accent);
  border: 1.5px solid var(--c-accent);
}
.btn-outline-gold:hover {
  background: var(--c-accent);
  color: var(--c-navy-900);
  transform: translateY(-2px);
}

/* Sizes */
.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
}
.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}
.btn-full {
  width: 100%;
}

/* ── 6. HEADER ────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(9, 14, 26, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition:
    box-shadow var(--t-base),
    background var(--t-base);
}
.site-header.scrolled {
  background: rgba(6, 10, 20, 0.97);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--sp-6);
}

.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header-logo img {
  height: 38px;
  width: auto;
  transition: opacity var(--t-base);
}
.header-logo:hover img {
  opacity: 0.85;
}

/* Nav */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-list {
  display: flex;
  gap: var(--sp-5);
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  padding-block: var(--sp-2);
  position: relative;
  transition: color var(--t-base);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-orange));
  border-radius: 2px;
  transition: width var(--t-slow);
}
.nav-link:hover {
  color: var(--c-white);
}
.nav-link:hover::after {
  width: 100%;
}
.nav-link.active {
  color: var(--c-white);
}
.nav-link.active::after {
  width: 100%;
}

/* Header right */
.header-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.header-partner-logo img {
  height: 30px;
  width: auto;
  opacity: 1;
  transition: opacity var(--t-base);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  padding: var(--sp-2);
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  transition:
    transform 200ms ease,
    opacity 200ms ease,
    width 200ms ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── 7. HERO ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  background: var(--c-navy-950);
  overflow: hidden;
  padding-block: var(--sp-20);
}

/* Layered background effects */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 60% at 15% 55%,
      rgba(245, 166, 35, 0.14) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 40% 40% at 85% 20%,
      rgba(249, 115, 22, 0.08) 0%,
      transparent 60%
    );
  pointer-events: none;
}
.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-6);
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: var(--r-pill);
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  animation: fadeInDown 0.6s ease both;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 8px var(--c-accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

/* Title */
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(4rem, 8vw + 1rem, 7.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--c-white);
  animation: fadeInUp 0.8s 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.hero-title-accent {
  display: block;
  background: linear-gradient(
    135deg,
    var(--c-accent-lt) 0%,
    var(--c-orange) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  max-width: 560px;
  font-size: clamp(0.95rem, 1.5vw + 0.4rem, 1.1rem);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
  animation: fadeInUp 0.8s 0.22s ease both;
}
.hero-br {
  display: none;
}

/* Actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  animation: fadeInUp 0.7s 0.35s ease both;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  justify-content: center;
  padding: var(--sp-5) var(--sp-8);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  backdrop-filter: blur(8px);
  animation: fadeInUp 0.7s 0.48s ease both;
}
.hero-stat {
  text-align: center;
}
.stat-number {
  display: block;
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: var(--sp-1);
}
.hero-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* Sub-brand */
.hero-subbrand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  animation: fadeInUp 0.6s 0.62s ease both;
}
.hero-subbrand img {
  height: 26px;
  width: auto;
  opacity: 0.55;
}
.hero-subbrand strong {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  transition:
    border-color var(--t-base),
    color var(--t-base);
  animation:
    fadeIn 1s 1.2s ease both,
    bounce-cue 2s 2s ease-in-out infinite;
}
.hero-scroll-cue:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.hero-scroll-cue svg {
  width: 18px;
  height: 18px;
}

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

/* ── 8. ABOUT ─────────────────────────────────────── */
.about-section {
  background: var(--s-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.about-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--c-text);
  margin-bottom: var(--sp-4);
}
.about-copy p:not(.about-lead) {
  color: var(--c-text-muted);
  margin-bottom: var(--sp-4);
}

.value-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.value-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.4rem 1rem;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: #b45309;
  letter-spacing: 0.04em;
}
.value-chip svg {
  width: 14px;
  height: 14px;
  color: var(--c-accent);
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.info-card {
  background: var(--c-off-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition:
    border-color var(--t-base),
    box-shadow var(--t-base),
    transform var(--t-slow);
}
.info-card:hover {
  border-color: rgba(245, 166, 35, 0.4);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.info-card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(
    135deg,
    rgba(245, 166, 35, 0.2),
    rgba(249, 115, 22, 0.15)
  );
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  margin-bottom: var(--sp-4);
}
.info-card-icon svg {
  width: 20px;
  height: 20px;
}
.info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
  color: var(--c-text);
}
.info-card p {
  font-size: 0.92rem;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-2);
}
.info-card p:last-child {
  margin-bottom: 0;
}
.sector-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.sector-list li {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  padding-left: var(--sp-4);
  position: relative;
}
.sector-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--c-accent);
  border-radius: 50%;
}

/* ── 9. SERVICES ──────────────────────────────────── */
.services-section {
  background: var(--c-navy-900);
}

/* Tab bar */
.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.55rem 1.2rem;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  transition: all var(--t-base);
}
.tab-btn svg {
  width: 14px;
  height: 14px;
}
.tab-btn:hover {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}
.tab-btn.active {
  background: linear-gradient(
    135deg,
    rgba(245, 166, 35, 0.25),
    rgba(249, 115, 22, 0.2)
  );
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* Panels */
.services-panels {
  position: relative;
}
.services-panel {
  display: none;
}
.services-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Service cards grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-5);
}
.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition:
    background var(--t-base),
    border-color var(--t-base),
    transform var(--t-slow);
}
.service-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(245, 166, 35, 0.35);
  transform: translateY(-4px);
}
.service-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(
    135deg,
    rgba(245, 166, 35, 0.2),
    rgba(249, 115, 22, 0.15)
  );
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  margin-bottom: var(--sp-4);
}
.service-icon svg {
  width: 22px;
  height: 22px;
}
.service-card h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: var(--sp-2);
  line-height: 1.3;
}
.service-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ── 10. WHY CHOOSE US ────────────────────────────── */
.why-section {
  background: var(--s-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.why-card {
  background: var(--s-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition:
    border-color var(--t-base),
    box-shadow var(--t-base),
    transform var(--t-slow);
}
.why-card:hover {
  border-color: rgba(245, 166, 35, 0.4);
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
}
.why-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(
    135deg,
    rgba(245, 166, 35, 0.15),
    rgba(249, 115, 22, 0.1)
  );
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-orange);
  margin-bottom: var(--sp-5);
}
.why-icon svg {
  width: 24px;
  height: 24px;
}
.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
  color: var(--c-text);
}
.why-card p {
  font-size: 0.92rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* ── 11. GALLERY ──────────────────────────────────── */
.gallery-section {
  background: var(--c-navy-950);
}

/* Filter buttons */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}
.filter-btn {
  padding: 0.5rem 1.15rem;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  transition: all var(--t-base);
}
.filter-btn:hover {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}
.filter-btn.active {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: var(--c-white);
  box-shadow: var(--sh-orange);
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  aspect-ratio: 4 / 3;
  background: var(--c-navy-800);
  cursor: pointer;
}
.gallery-item.hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9, 14, 26, 0.85) 0%,
    transparent 60%
  );
  display: flex;
  align-items: flex-end;
  padding: var(--sp-4);
  opacity: 0;
  transition: opacity var(--t-base);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
}

/* ── 12. CLIENTS / MARQUEE ────────────────────────── */
.clients-section {
  background: var(--s-white);
}
.clients-section .section-intro {
  margin-bottom: var(--sp-10);
}

.marquee-outer {
  overflow: hidden;
  position: relative;
  padding-block: var(--sp-4);
  margin-block: var(--sp-8);
}
/* Fade edges */
.marquee-outer::before,
.marquee-outer::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-outer::before {
  left: 0;
  background: linear-gradient(to right, var(--s-white), transparent);
}
.marquee-outer::after {
  right: 0;
  background: linear-gradient(to left, var(--s-white), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 36s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-set {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  padding-inline: var(--sp-4);
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.client-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-gray-100);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--r-md);
  height: 80px;
  min-width: 120px;
  transition:
    background var(--t-base),
    border-color var(--t-base),
    transform var(--t-base);
}
.client-logo-item:hover {
  background: var(--s-white);
  border-color: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}
.client-logo-item img {
  max-height: 44px;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter var(--t-base);
}
.client-logo-item:hover img {
  filter: grayscale(0);
}

.clients-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--c-text-muted);
  margin-top: var(--sp-6);
}

/* ── 13. CONTACT ──────────────────────────────────── */
.contact-section {
  background: var(--c-navy-900);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: start;
}

/* Form */
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.form-row:last-of-type {
  margin-bottom: var(--sp-6);
}
.form-row label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.form-row label span {
  color: var(--c-accent);
}

.form-row input,
.form-row textarea {
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  color: var(--c-white);
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color var(--t-base),
    background var(--t-base),
    box-shadow var(--t-base);
}
.form-row textarea {
  border-radius: var(--r-lg);
  min-height: 130px;
  resize: vertical;
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--c-accent);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}

/* Select wrapper */
.select-wrapper {
  position: relative;
}
.select-wrapper select {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  color: var(--c-white);
  padding: 0.65rem 2.5rem 0.65rem 1rem;
  font-size: 0.95rem;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition:
    border-color var(--t-base),
    background var(--t-base);
}
.select-wrapper select option {
  background: var(--c-navy-800);
  color: var(--c-white);
}
.select-wrapper select:focus {
  border-color: var(--c-accent);
  background: rgba(255, 255, 255, 0.1);
}
.select-chevron {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

/* Form success */
.form-success {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--r-md);
  color: #6ee7b7;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-success svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Contact info */
.contact-info-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  margin-bottom: var(--sp-5);
}
.contact-info-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: var(--sp-6);
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.contact-list li {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.contact-list-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: rgba(245, 166, 35, 0.12);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
}
.contact-list-icon svg {
  width: 18px;
  height: 18px;
}
.contact-list a,
.contact-list address {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--t-fast);
  line-height: 1.7;
}
.contact-list a:hover {
  color: var(--c-accent);
}

.contact-map {
  border-radius: var(--r-lg);
  overflow: hidden;
}
.contact-map iframe {
  display: block;
}

/* ── 14. FOOTER ───────────────────────────────────── */
.site-footer {
  background: var(--c-navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: var(--sp-16);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: var(--sp-4);
}
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}
.footer-subbrand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-subbrand img {
  height: 24px;
  opacity: 0.5;
  border-radius: var(--r-sm);
}

.footer-links-col h4,
.footer-contact-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--sp-5);
}
.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer-links-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--t-fast);
}
.footer-links-col a:hover {
  color: var(--c-accent);
}

.footer-contact-col p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--sp-2);
  line-height: 1.6;
}
.footer-contact-col a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--t-fast);
}
.footer-contact-col a:hover {
  color: var(--c-accent);
}
.footer-dl-btn {
  margin-top: var(--sp-5);
}

.footer-bottom {
  padding-block: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
}

/* ── 15. ANIMATIONS ───────────────────────────────── */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-triggered reveal */
.reveal-section {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-card {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    border-color var(--t-base),
    box-shadow var(--t-base);
}
.reveal-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-card:nth-child(1) {
  transition-delay: 0.05s;
}
.reveal-card:nth-child(2) {
  transition-delay: 0.12s;
}
.reveal-card:nth-child(3) {
  transition-delay: 0.19s;
}
.reveal-card:nth-child(4) {
  transition-delay: 0.26s;
}
.reveal-card:nth-child(5) {
  transition-delay: 0.33s;
}
.reveal-card:nth-child(6) {
  transition-delay: 0.4s;
}

/* ── 16. RESPONSIVE ───────────────────────────────── */

/* 1200px — tighten grids */
@media (max-width: 1200px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    row-gap: var(--sp-8);
  }
}

/* 1024px */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

/* 900px — hamburger menu */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  .header-right .header-partner-logo {
    display: none;
  }

  .main-nav {
    position: fixed;
    inset-inline: var(--sp-4);
    top: calc(var(--header-h) + 8px);
    background: rgba(9, 14, 26, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-xl);
    padding: var(--sp-4);
    box-shadow: var(--sh-lg);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
    justify-content: flex-start;
    z-index: 99;
  }
  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-list {
    flex-direction: column;
    gap: var(--sp-1);
    width: 100%;
  }
  .nav-link {
    display: block;
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--r-md);
    font-size: 0.88rem;
  }
  .nav-link::after {
    display: none;
  }
  .nav-link:hover {
    background: rgba(255, 255, 255, 0.07);
  }

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

/* 768px */
@media (max-width: 768px) {
  .section {
    padding-block: var(--sp-16);
  }
  .hero-br {
    display: block;
  }
  .hero-stats {
    gap: var(--sp-4);
    padding: var(--sp-4) var(--sp-5);
  }
  .stat-number {
    font-size: 1.8rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* 600px */
@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .services-tabs {
    gap: var(--sp-1);
  }
  .tab-btn {
    font-size: 0.75rem;
    padding: 0.45rem 0.9rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: var(--sp-4);
  }
  .hero-divider {
    width: 60px;
    height: 1px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  .hero-actions .btn {
    justify-content: center;
  }
  .contact-form {
    padding: var(--sp-5);
  }
  .contact-info-box {
    padding: var(--sp-5);
  }
}

/* 480px */
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-filters {
    gap: var(--sp-1);
  }
  .filter-btn {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .header-dl-btn span {
    display: none;
  }
  .header-dl-btn {
    padding: 0.45rem 0.75rem;
  }
}

.hero-corner-note {
  position: fixed;
  right: 1rem;
  bottom: 1.5rem;
  pointer-events: none;
  z-index: 999;
}

.hero-corner-note img {
  display: block;
  max-height: 70px;
  width: auto;
  opacity: 0.9;
  animation: cornerNoteFade 1.2s ease-out 0.8s both;
}

@keyframes cornerNoteFade {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 0.9;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .hero-corner-note {
    display: none;
  }
}
