/* ==========================================================================
   PT WASYIM KARYA BERSAMA — INDUSTRIAL PRESTIGE THEME
   Refined Slate Petroleum, Deep Noble Emerald & Champagne Accents
   ========================================================================== */

:root {
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;

  /* Surfaces & Backgrounds */
  --bg-deep: #070D14;
  --bg-main: #0B131E;
  --bg-surface: #101B27;
  --bg-card: rgba(16, 27, 39, 0.82);
  --bg-card-hover: rgba(22, 37, 53, 0.95);
  --bg-glass: rgba(11, 19, 30, 0.75);

  /* Primary Emerald Identity (Rich, Deep, Elegant) */
  --emerald-950: #021a17;
  --emerald-900: #042f2b;
  --emerald-800: #064e46;
  --emerald-700: #0d6e63;
  --emerald-600: #0e8376;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-glow: rgba(16, 185, 129, 0.22);
  --emerald-glow-strong: rgba(16, 185, 129, 0.45);

  /* Champagne Gold & Bronze Prestige */
  --gold-500: #d4af37;
  --gold-400: #dfc278;
  --gold-300: #eed89f;
  --gold-glow: rgba(212, 175, 55, 0.2);

  /* Typography Colors */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-on-emerald: #FFFFFF;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-emerald: rgba(16, 185, 129, 0.35);
  --border-gold: rgba(212, 175, 55, 0.3);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 40px -8px rgba(0, 0, 0, 0.6);
  --shadow-emerald: 0 10px 30px -5px rgba(16, 185, 129, 0.25);

  /* Transitions */
  --transition-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  background-color: var(--bg-deep);
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ==========================================================================
   ICONS & UTILITIES
   ========================================================================== */
.ui-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.text-gold {
  color: var(--gold-400) !important;
}

.text-emerald {
  color: var(--emerald-400) !important;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 8px;
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-700));
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px var(--emerald-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  box-shadow: 0 6px 24px var(--emerald-glow-strong);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--emerald-500);
}

.btn-outline-emerald {
  background: rgba(16, 185, 129, 0.05);
  color: var(--emerald-400);
  border: 1px solid var(--border-emerald);
}

.btn-outline-emerald:hover {
  background: var(--emerald-600);
  color: #FFFFFF;
  border-color: var(--emerald-500);
  box-shadow: 0 4px 18px var(--emerald-glow);
}

.btn-emerald-solid {
  background: #25D366; /* WhatsApp brand */
  color: #062b14;
  font-weight: 700;
}

.btn-emerald-solid:hover {
  background: #20BA5A;
  transform: translateY(-2px);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #FFFFFF;
}

.btn-block {
  width: 100%;
}

/* Section Header Structure */
.section-block {
  padding: 100px 0;
  position: relative;
}

.section-header {
  margin-bottom: 56px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-400);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 780px;
  line-height: 1.65;
}

.section-header.text-center .section-desc {
  margin: 0 auto;
}

/* ==========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-smooth);
  background: rgba(7, 13, 20, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.is-scrolled {
  background: rgba(7, 13, 20, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #FFFFFF;
  border: 2px solid var(--emerald-500);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px var(--emerald-glow);
  flex-shrink: 0;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wordmark-copy strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  color: #FFFFFF;
  white-space: nowrap;
  line-height: 1.25;
}

.wordmark-copy small {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--emerald-400);
  white-space: nowrap;
  line-height: 1.3;
  margin-top: 1px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  flex-shrink: 1;
}

.desktop-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  display: inline-block;
  line-height: 1;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: #FFFFFF;
}

.desktop-nav a.is-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--emerald-400);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--emerald-glow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-400);
  padding: 6px 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
}

.header-contact-link:hover {
  background: rgba(212, 175, 55, 0.16);
  color: var(--gold-300);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
  background: var(--emerald-600);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 10px var(--emerald-glow);
}

.header-cta:hover {
  background: var(--emerald-500);
  box-shadow: 0 4px 16px var(--emerald-glow-strong);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.menu-bar {
  width: 22px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-nav {
  background: rgba(7, 13, 20, 0.98);
  border-top: 1px solid var(--border-subtle);
  padding: 24px;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-contacts {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-call-btn,
.mobile-mail-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.mobile-call-btn {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-400);
  border-color: var(--border-gold);
}

.mobile-mail-btn {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-400);
  border-color: var(--border-emerald);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 160px 0 60px;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(circle at 10% 20%, rgba(13, 110, 99, 0.22) 0%, rgba(7, 13, 20, 1) 65%);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.glow-top {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -50px;
  background: rgba(16, 185, 129, 0.14);
}

.glow-bottom {
  width: 600px;
  height: 600px;
  bottom: -200px;
  left: -150px;
  background: rgba(4, 47, 43, 0.35);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-emerald);
  color: var(--emerald-400);
  margin-bottom: 24px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 10px var(--emerald-400);
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-headline {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--emerald-400) 60%, var(--gold-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subline {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-subline strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-trust-bar {
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.trust-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.trust-marquee {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Hero Showcase Visual */
.hero-showcase {
  position: relative;
  display: flex;
  justify-content: center;
}

.showcase-card {
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform var(--transition-smooth);
}

.main-card {
  width: 100%;
  max-width: 440px;
}

.card-image-wrap {
  position: relative;
  height: 270px;
  overflow: hidden;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.main-card:hover .card-image-wrap img {
  transform: scale(1.04);
}

.image-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(7, 13, 20, 0.85);
  color: var(--gold-400);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(8px);
}

.card-caption {
  padding: 22px;
}

.card-caption h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.card-caption p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald-400);
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* Floating Mini Cards */
.mini-card-left,
.mini-card-right {
  position: absolute;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.mini-card-left {
  bottom: -20px;
  left: -20px;
  background: rgba(11, 19, 30, 0.95);
  border-color: var(--border-emerald);
}

.mini-card-right {
  top: -20px;
  right: -20px;
  background: rgba(11, 19, 30, 0.95);
  border-color: var(--border-gold);
}

.mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.mini-card-left .mini-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
}

.mini-card-right .mini-icon {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-400);
}

.mini-info strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.mini-info small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* Stats Ribbon */
.stats-ribbon {
  margin-top: 80px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(11, 19, 30, 0.5);
  backdrop-filter: blur(12px);
}

.stats-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-box {
  padding: 0 16px;
  border-right: 1px solid var(--border-subtle);
}

.stat-box:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--emerald-400);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   CLIENT STRIP
   ========================================================================== */
.clients-strip-block {
  padding: 40px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.clients-strip-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.clients-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  white-space: nowrap;
}

.clients-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.client-brand-chip {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.client-brand-chip:hover {
  border-color: var(--emerald-500);
  color: var(--text-primary);
  background: rgba(16, 185, 129, 0.08);
}

/* ==========================================================================
   ABOUT & TIMELINE SECTION
   ========================================================================== */
.about-block {
  background: var(--bg-main);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 56px;
}

.about-vision-card,
.about-timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.card-header-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-emerald);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.about-vision-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.4;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.mission-list h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 14px;
}

.mission-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.mission-list li svg {
  color: var(--emerald-400);
  margin-top: 4px;
}

/* Timeline Tree */
.timeline-tree {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding-left: 20px;
  border-left: 2px solid rgba(16, 185, 129, 0.3);
}

.timeline-node {
  position: relative;
}

.timeline-node::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--emerald-400);
  border: 3px solid var(--bg-deep);
  box-shadow: 0 0 10px var(--emerald-glow);
}

.node-year {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gold-400);
  margin-bottom: 2px;
}

.node-content h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.node-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Organization Structure */
/* Owner Spotlight Banner */
.owner-spotlight-card {
  background: linear-gradient(135deg, rgba(16, 27, 39, 0.95), rgba(4, 47, 43, 0.45));
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 48px;
  box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.6), 0 0 20px var(--gold-glow);
}

.owner-photo-col {
  display: flex;
  justify-content: center;
}

.owner-avatar-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 3px solid var(--gold-400);
  box-shadow: 0 0 25px var(--gold-glow);
  background: var(--bg-surface);
}

.owner-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-badge-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(7, 13, 20, 0.92);
  color: var(--gold-400);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 3px 0;
  border-top: 1px solid var(--border-gold);
}

.owner-title-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-400);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.owner-name {
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 4px;
}

.owner-role {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--emerald-400);
  margin-bottom: 16px;
}

.owner-quote {
  font-size: 0.98rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
  padding-left: 16px;
  border-left: 3px solid var(--gold-400);
}

.org-structure-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 40px;
}

.org-header {
  margin-bottom: 32px;
}

.org-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.org-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

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

.org-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px 18px;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.org-card:hover {
  background: rgba(16, 185, 129, 0.05);
  border-color: var(--border-emerald);
  transform: translateY(-2px);
}

.org-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.org-avatar-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border-subtle);
  background: var(--bg-surface);
}

.org-avatar-wrap.owner-glow {
  border-color: var(--gold-400);
  box-shadow: 0 0 12px var(--gold-glow);
}

.org-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.org-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald-400);
  flex-shrink: 0;
}

.is-owner-card {
  border-color: var(--border-gold);
  background: rgba(212, 175, 55, 0.04);
}

.is-owner-card:hover {
  border-color: var(--gold-400);
  box-shadow: 0 4px 18px var(--gold-glow);
}

.org-card-titles {
  flex-grow: 1;
}

.org-role {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald-400);
  margin-bottom: 3px;
}

.is-owner-card .org-role {
  color: var(--gold-400);
}

.org-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.org-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: auto;
}

/* Contact People Cards */
.contact-people-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.contact-person-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.contact-person-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-emerald);
}

.contact-person-card.is-owner-contact {
  border-color: var(--border-gold);
  background: rgba(212, 175, 55, 0.05);
}

.contact-avatar-box {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-subtle);
  flex-shrink: 0;
}

.is-owner-contact .contact-avatar-box {
  border-color: var(--gold-400);
  box-shadow: 0 0 10px var(--gold-glow);
}

.contact-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-pill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 0.55rem;
  font-weight: 800;
  text-align: center;
  background: var(--gold-500);
  color: #061812;
  text-transform: uppercase;
}

.contact-person-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
}

.person-role,
.person-title {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.person-name {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.person-mail-link,
.person-wa-link {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

.person-mail-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--emerald-400) !important;
  margin-top: 4px;
}

.person-mail-link:hover {
  color: #FFFFFF !important;
}

.person-wa-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-400) !important;
  margin-top: 5px;
}

.person-wa-link:hover {
  color: var(--gold-300) !important;
}

.person-mail-link svg,
.person-wa-link svg {
  width: 15px !important;
  height: 15px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.person-mail-link span,
.person-wa-link span {
  display: inline-block !important;
  white-space: nowrap !important;
}

.org-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-block {
  background: var(--bg-deep);
}

.services-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-md);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-emerald);
  box-shadow: var(--shadow-lg), var(--shadow-emerald);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-index {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--emerald-400);
}

.service-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-400);
  border: 1px solid var(--border-gold);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.service-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.service-groups {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 32px;
}

.group-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--emerald-400);
  margin-bottom: 10px;
}

.group-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.group-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.group-list li svg {
  color: var(--emerald-400);
  margin-top: 3px;
}

.service-card-action {
  margin-top: auto;
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.projects-block {
  background: var(--bg-main);
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-pill {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.25);
}

.filter-pill.is-active {
  background: var(--emerald-600);
  color: #FFFFFF;
  border-color: var(--emerald-500);
  box-shadow: 0 4px 14px var(--emerald-glow);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-emerald);
  box-shadow: var(--shadow-md);
}

.card-media {
  position: relative;
  height: 210px;
  background: var(--bg-surface);
  overflow: hidden;
}

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

.project-card:hover .card-media img {
  transform: scale(1.05);
}

.media-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(6, 78, 70, 0.35), rgba(7, 13, 20, 0.9));
}

.fallback-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--emerald-400);
}

.fallback-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.category-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(7, 13, 20, 0.85);
  color: var(--emerald-400);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-subtle);
}

.year-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(7, 13, 20, 0.85);
  color: var(--gold-400);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-gold);
}

.gallery-count-chip {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(7, 13, 20, 0.88);
  color: var(--emerald-400);
  border: 1px solid var(--border-emerald);
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.gallery-count-chip svg {
  width: 13px;
  height: 13px;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.client-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.client-meta strong {
  color: var(--gold-400);
  font-weight: 700;
}

.project-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.35;
}

.scope-summary {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-footer-action {
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.btn-detail-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--emerald-400);
  transition: all var(--transition-fast);
}

.btn-detail-open:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

/* ==========================================================================
   LEGALITY & CREDIBILITY SECTION
   ========================================================================== */
.legal-block {
  background: var(--bg-surface);
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.legal-table-card,
.legal-scans-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.card-subtitle {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.legal-rows {
  display: flex;
  flex-direction: column;
}

.legal-row {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-row:last-child {
  border-bottom: none;
}

.legal-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--emerald-400);
  margin-bottom: 3px;
}

.legal-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.scans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.scan-thumb-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.scan-thumb-card:hover {
  border-color: var(--emerald-500);
  transform: translateY(-2px);
}

.thumb-frame {
  height: 130px;
  background: #000;
  overflow: hidden;
}

.thumb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.thumb-meta {
  padding: 10px 12px;
}

.thumb-meta strong {
  display: block;
  font-size: 0.82rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.thumb-meta small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ==========================================================================
   CAPABILITY & HSE SECTION
   ========================================================================== */
.capability-block {
  background: var(--bg-main);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.capability-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
}

.capability-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-emerald);
}

.cap-image-wrap {
  position: relative;
  height: 220px;
  background: var(--bg-surface);
}

.cap-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cap-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(7, 13, 20, 0.9);
  color: var(--gold-400);
  border: 1px solid var(--border-gold);
}

.cap-content {
  padding: 24px;
}

.cap-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald-400);
  margin-bottom: 6px;
}

.cap-content h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 12px;
}

.cap-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Verification Box */
.verification-box {
  background: linear-gradient(135deg, rgba(6, 78, 70, 0.3), rgba(16, 27, 39, 0.9));
  border: 1px solid var(--border-emerald);
  border-radius: 16px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-md);
}

.verify-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.verify-copy {
  flex-grow: 1;
}

.verify-copy h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.verify-copy p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   CONTACT SECTION & FOOTER
   ========================================================================== */
.contact-block {
  background: var(--bg-deep);
  position: relative;
}

.contact-box-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
}

.contact-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 36px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 36px;
}

.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-text > strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.channel-text > span,
.channel-text > a {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.channel-text > a:hover {
  color: var(--emerald-400);
}

.channel-text > small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-people {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.contact-people div span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact-people div a {
  font-size: 1rem;
  color: var(--gold-400);
  font-weight: 700;
}

.contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.form-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(7, 13, 20, 0.8);
  border: 1px solid var(--border-card);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 12px var(--emerald-glow);
}

/* Footer */
.site-footer {
  background: #04080D;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--emerald-500);
}

.footer-logo strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-logo small {
  display: block;
  font-size: 0.75rem;
  color: var(--emerald-400);
}

.footer-bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 380px;
}

.footer-nav-col,
.footer-legal-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col strong,
.footer-legal-col strong {
  font-size: 0.95rem;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.footer-nav-col a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-nav-col a:hover {
  color: var(--emerald-400);
}

.footer-legal-col span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.back-to-top {
  color: var(--emerald-400);
  font-weight: 600;
}

.back-to-top:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   MODAL DIALOG
   ========================================================================== */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  height: 100% !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
}

.project-modal {
  margin: auto;
  border: none;
  background: transparent;
  padding: 0;
  max-width: 860px;
  width: 92vw;
  max-height: 90vh;
  max-height: 90dvh;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior: contain !important;
  touch-action: pan-y !important;
  scrollbar-width: thin;
  scrollbar-color: var(--emerald-600) transparent;
}

.project-modal::-webkit-scrollbar {
  width: 6px;
}

.project-modal::-webkit-scrollbar-track {
  background: transparent;
}

.project-modal::-webkit-scrollbar-thumb {
  background: var(--emerald-600);
  border-radius: 3px;
}

.project-modal::backdrop {
  background: rgba(3, 7, 12, 0.85);
  backdrop-filter: blur(8px);
}

.modal-dialog-inner {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  position: relative;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: visible !important;
  touch-action: pan-y !important;
}

.modal-close-btn {
  position: sticky;
  top: 14px;
  margin-left: auto;
  margin-right: 14px;
  margin-top: 14px;
  margin-bottom: -50px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(3, 7, 12, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 50;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--emerald-600);
  border-color: var(--emerald-400);
  transform: scale(1.05);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}

.modal-media-wrap {
  display: flex;
  flex-direction: column;
  background: #03070C;
  border-right: 1px solid var(--border-subtle);
  overflow: hidden;
}

.modal-media {
  background: #000;
  height: 380px;
  overflow: hidden;
  position: relative;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.modal-media.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(6, 78, 70, 0.5), rgba(7, 13, 20, 0.95));
}

.modal-media-placeholder {
  text-align: center;
}

.modal-media-placeholder span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--emerald-400);
}

.modal-media-placeholder small {
  color: var(--text-muted);
}

.modal-gallery-strip {
  padding: 12px 16px;
  background: rgba(11, 19, 30, 0.96);
  border-top: 1px solid var(--border-subtle);
}

.gallery-header-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.gallery-count-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 0.03em;
}

.gallery-hint {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.gallery-thumbs-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--emerald-600) transparent;
}

.gallery-thumbs-scroll::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbs-scroll::-webkit-scrollbar-thumb {
  background: var(--emerald-600);
  border-radius: 2px;
}

.thumb-btn {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  opacity: 0.6;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
  background: #000;
  transition: all var(--transition-fast);
}

.thumb-btn:hover {
  opacity: 0.9;
  border-color: var(--border-emerald);
  transform: translateY(-2px);
}

.thumb-btn.is-active {
  opacity: 1;
  border-color: var(--emerald-400);
  box-shadow: 0 0 10px var(--emerald-glow);
  transform: scale(1.04);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge-photos {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-400);
  border: 1px solid var(--border-gold);
}

.modal-info {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.modal-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.badge-cat {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
}

.badge-year {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-400);
}

.modal-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.25;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.meta-item label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 2px;
}

.meta-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.modal-description {
  margin-bottom: 28px;
}

.modal-description h4 {
  font-size: 0.85rem;
  color: var(--emerald-400);
  margin-bottom: 6px;
}

.modal-description p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.modal-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (COMPREHENSIVE MOBILE OPTIMIZATION)
   ========================================================================== */

/* 1. Large Tablets & Small Laptops (max-width: 1080px) */
@media (max-width: 1080px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-badge {
    margin: 0 auto 20px;
  }

  .hero-subline {
    margin: 0 auto 32px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-bar {
    text-align: center;
  }

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

  .hero-showcase {
    max-width: 520px;
    margin: 0 auto;
  }

  .services-wrapper {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }

  .stat-box:nth-child(2) {
    border-right: none;
  }

  .legal-grid,
  .about-grid,
  .contact-box-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* 2. Navigation Breakpoint (max-width: 1120px) */
@media (max-width: 1120px) {
  .desktop-nav,
  .header-contact-link,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

/* 3. Tablets & Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    padding: 0 16px;
  }

  /* Section Spacing */
  .section-block {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .section-desc {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Header & Brand Navigation */
  .header-container {
    padding: 10px 16px;
    gap: 12px;
  }

  .wordmark {
    gap: 10px;
    max-width: calc(100% - 50px);
    align-items: center;
  }

  .brand-badge {
    width: 40px;
    height: 40px;
    box-shadow: 0 0 10px var(--emerald-glow);
    flex-shrink: 0;
  }

  .wordmark-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
  }

  .wordmark-copy strong {
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .wordmark-copy small {
    font-size: 0.54rem;
    letter-spacing: 0.01em;
    line-height: 1.25;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--emerald-400);
    margin-top: 1px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    flex-shrink: 0;
    padding: 0;
  }

  .site-header.menu-open .menu-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.menu-open .menu-bar:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .menu-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Hero Section */
  .hero-section {
    padding: 85px 0 24px;
    min-height: auto;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 0 16px;
    text-align: center;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid var(--border-emerald);
    color: var(--emerald-400);
    margin: 0 auto 14px;
    max-width: 100%;
    line-height: 1.35;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }

  .hero-headline {
    font-size: 1.95rem;
    line-height: 1.22;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    font-weight: 800;
  }

  .hero-headline br {
    display: none;
  }

  .hero-subline {
    font-size: 0.94rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 auto 24px;
    max-width: 100%;
  }

  .hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.92rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
  }

  .hero-trust-bar {
    padding-top: 18px;
    border-top: 1px solid var(--border-subtle);
    width: 100%;
    text-align: left;
  }

  .trust-title {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-align: center;
  }

  .trust-marquee {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 6px;
    justify-content: flex-start;
  }

  .trust-marquee::-webkit-scrollbar {
    display: none;
  }

  .trust-tag {
    flex-shrink: 0;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
  }

  /* Hero Showcase & Cards */
  .hero-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 0;
  }

  .main-card {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-md);
  }

  .card-image-wrap {
    height: 195px;
  }

  .card-caption {
    padding: 16px 18px;
    text-align: left;
  }

  .card-caption h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }

  .card-caption p {
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .card-meta {
    font-size: 0.74rem;
    padding-top: 10px;
  }

  .mini-card-left,
  .mini-card-right {
    position: static;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(16, 27, 39, 0.92);
    border: 1px solid var(--border-card);
    text-align: left;
    box-shadow: var(--shadow-sm);
  }

  .mini-card-left {
    border-left: 3px solid var(--emerald-400);
  }

  .mini-card-right {
    border-left: 3px solid var(--gold-400);
  }

  .mini-info strong {
    font-size: 0.82rem;
  }

  .mini-info small {
    font-size: 0.7rem;
  }

  /* Stats Ribbon */
  .stats-ribbon {
    margin-top: 32px;
    background: rgba(11, 19, 30, 0.6);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
  }

  .stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px;
  }

  .stat-box {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    border-right: none;
    border-bottom: none;
  }

  .stat-number {
    font-size: 1.65rem;
    margin-bottom: 4px;
  }

  .stat-label {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .stat-desc {
    font-size: 0.68rem;
    margin-top: 2px;
  }

  /* Client Strip */
  .clients-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .clients-kicker {
    font-size: 0.72rem;
    white-space: normal;
  }

  .clients-tags {
    gap: 8px;
  }

  .client-brand-chip {
    font-size: 0.78rem;
    padding: 5px 11px;
  }

  /* Services Section */
  .services-block {
    overflow-x: hidden;
  }

  .services-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .service-card {
    padding: 24px 18px;
    border-radius: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
  }

  .service-badge {
    font-size: 0.68rem;
    padding: 4px 8px;
    white-space: normal;
    text-align: right;
    line-height: 1.25;
    max-width: 70%;
  }

  .service-title {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 10px;
    word-break: break-word;
  }

  .service-text {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 20px;
    word-break: break-word;
  }

  .service-groups {
    width: 100%;
    box-sizing: border-box;
    gap: 16px;
    margin-bottom: 24px;
  }

  .group-title {
    font-size: 0.84rem;
    margin-bottom: 8px;
  }

  .group-list {
    width: 100%;
    box-sizing: border-box;
    gap: 8px;
  }

  .group-list li {
    font-size: 0.82rem;
    line-height: 1.45;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
  }

  .group-list li span {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .service-card-action {
    width: 100%;
    margin-top: auto;
  }

  .service-card-action .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
    padding: 12px 14px;
    font-size: 0.88rem;
    line-height: 1.35;
    box-sizing: border-box;
    border-radius: 8px;
    display: flex;
  }

  .service-card-action .btn span {
    white-space: normal;
    word-break: break-word;
  }

  /* Projects Section & Native Horizontal Filter Strip */
  .project-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .project-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 8px 16px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-card {
    border-radius: 12px;
  }

  .card-media {
    height: 195px;
  }

  .card-body {
    padding: 20px 18px;
  }

  .project-name {
    font-size: 1.12rem;
  }

  /* Owner Spotlight Card */
  .owner-spotlight-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 18px;
    gap: 20px;
    border-radius: 14px;
  }

  .owner-photo-col {
    display: flex;
    justify-content: center;
  }

  .owner-avatar-wrap {
    width: 100px;
    height: 100px;
  }

  .owner-name {
    font-size: 1.45rem;
  }

  .owner-quote {
    border-left: none;
    border-top: 2px solid var(--gold-400);
    padding-left: 0;
    padding-top: 14px;
    font-size: 0.9rem;
    margin-bottom: 18px;
  }

  .owner-action {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

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

  /* Legal Section */
  .legal-table-card,
  .legal-scans-card {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .card-subtitle {
    font-size: 1.15rem;
    margin-bottom: 18px;
  }

  .scans-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .thumb-frame {
    height: 150px;
  }

  /* Capabilities */
  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cap-image-wrap {
    height: 190px;
  }

  .cap-content {
    padding: 20px 18px;
  }

  .verification-box {
    flex-direction: column;
    text-align: center;
    padding: 24px 18px;
    gap: 18px;
  }

  .verify-action,
  .verify-action .btn {
    width: 100%;
    justify-content: center;
  }

  /* Contact Section */
  .contact-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .contact-desc {
    font-size: 0.92rem;
  }

  .contact-form-card {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .contact-person-card {
    padding: 14px 16px;
    gap: 12px;
  }

  .contact-quick-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .contact-quick-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .site-footer {
    padding: 48px 0 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Project Modal on Mobile */
  .project-modal {
    width: 94vw;
    max-width: 520px;
    max-height: 92vh;
    max-height: 90vh;
    max-height: 90dvh;
    border-radius: 14px;
    margin: auto;
    padding: 0;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
  }

  .modal-dialog-inner {
    border-radius: 14px;
    width: 100%;
    min-height: 100%;
    overflow: visible !important;
    touch-action: pan-y !important;
  }

  .modal-close-btn {
    position: sticky;
    top: 10px;
    margin-left: auto;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: -48px;
    width: 36px;
    height: 36px;
    background: rgba(3, 7, 12, 0.82);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    z-index: 50;
  }

  .modal-body {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .modal-media-wrap {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    width: 100%;
    flex-shrink: 0;
  }

  .modal-media {
    height: 220px;
    min-height: auto;
  }

  .modal-info {
    padding: 20px 16px 28px;
    width: 100%;
    flex: 1;
  }

  .modal-title {
    font-size: 1.25rem;
    line-height: 1.35;
  }

  .modal-meta-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-thumbs-scroll {
    gap: 6px;
  }

  .thumb-btn {
    width: 48px;
    height: 48px;
  }
}

/* 4. Compact Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
  .hero-headline {
    font-size: 1.68rem;
    line-height: 1.24;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .stats-container {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px;
  }

  .wordmark-copy strong {
    font-size: 0.82rem;
  }

  .wordmark-copy small {
    font-size: 0.52rem;
    line-height: 1.25;
  }

  .btn {
    padding: 12px 16px;
    font-size: 0.88rem;
  }
}
