/* ============================================================
   VERSATILE DYNAMICS — Main Stylesheet
   Base Palette:  #1A1A1A · #4A4A4A · #9A9A9A · #F5F5F5
   Brand Accent:  #C9A020 (Logo Gold) · #2D2D3A (Charcoal)
   ============================================================ */

/* ── 1. ROOT VARIABLES ───────────────────────────────────── */
:root {
  --black:      #1A1A1A;
  --dark-gray:  #4A4A4A;
  --mid-gray:   #9A9A9A;
  --light:      #F5F5F5;
  --white:      #FFFFFF;

  /* Brand colors extracted from the Versatile Dynamics logo */
  --gold:        #C9A020;   /* primary logo gold */
  --gold-light:  #D9B040;   /* lighter gold for hovers / gradients */
  --gold-dark:   #A07818;   /* deeper gold for contrast */
  --charcoal:    #2D2D3A;   /* dark charcoal used in logo text */

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --transition:      all 0.3s ease;
  --transition-slow: all 0.6s cubic-bezier(0.16,1,0.3,1);

  --shadow-sm:  0 2px 8px  rgba(0,0,0,0.06);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.14);
  --shadow-gold: 0 4px 24px rgba(201,160,32,0.25);

  --container-max:  1200px;
  --container-pad:  0 20px;
  --section-py:     90px;

  --radius:    4px;
  --radius-lg: 10px;

  --nav-height: 88px;
}

/* ── 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(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

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

/* ── 3. TYPOGRAPHY ───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.display-1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
.display-2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.15rem; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
}

/* ── 4. UTILITIES ────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

.section { padding: var(--section-py) 0; }
.section--dark  { background: var(--black);     color: var(--light); }
.section--gray  { background: var(--light);     color: var(--black); }
.section--white { background: var(--white);     color: var(--black); }

.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-muted  { color: var(--mid-gray); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 32px; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border: 2px solid var(--gold);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--gold);
}
.btn-outline-dark:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-white {
  background: var(--gold);
  color: var(--black);
  border: 2px solid var(--gold);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px auto;
}
.divider--left { margin-left: 0; }
.divider--white { background: var(--gold); }

.section-header { margin-bottom: 56px; }
.section-header .eyebrow { color: var(--mid-gray); }

/* ── 5. ANIMATIONS ───────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0);    }
}

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0);     }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0);    }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1);    }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0   rgba(255,255,255,0.3); }
  50%       { box-shadow: 0 0 0 16px rgba(255,255,255,0);  }
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0);   opacity: 1; }
  50%       { transform: translateY(8px); opacity: 0.6; }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

@keyframes lineGrow {
  from { width: 0;   }
  to   { width: 48px; }
}

@keyframes revealClip {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0%   0 0); }
}

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

/* ── 6. SCROLL REVEAL SYSTEM ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.reveal--left  { transform: translateX(-36px); }
.reveal.reveal--right { transform: translateX(36px); }
.reveal.reveal--scale { transform: scale(0.9); }
.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s !important; }
.reveal-delay-2 { transition-delay: 0.2s !important; }
.reveal-delay-3 { transition-delay: 0.3s !important; }
.reveal-delay-4 { transition-delay: 0.4s !important; }
.reveal-delay-5 { transition-delay: 0.5s !important; }
.reveal-delay-6 { transition-delay: 0.6s !important; }

/* ── 7. NAVIGATION ───────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.4s ease, box-shadow 0.4s ease;
  animation: navIn 0.8s ease both;
}

#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 120px;
  width: auto;
  transition: var(--transition);
  display: block;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active::after { transform: scaleX(1); }

#navbar.scrolled .nav-links a { color: var(--dark-gray); }
#navbar.scrolled .nav-links a::after { background: var(--gold); }
#navbar.scrolled .nav-links a:hover { color: var(--black); }

.nav-cta {
  display: none;
  padding: 10px 22px !important;
  background: var(--gold) !important;
  color: var(--black) !important;
  border: 2px solid var(--gold) !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--gold-light) !important;
  border-color: var(--gold-light) !important;
  box-shadow: var(--shadow-gold) !important;
  transform: translateY(-1px) !important;
}
#navbar.scrolled .nav-cta {
  background: var(--gold) !important;
  color: var(--black) !important;
  border-color: var(--gold) !important;
}
#navbar.scrolled .nav-cta:hover {
  background: var(--gold-light) !important;
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  cursor: pointer;
  border-radius: var(--radius);
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
#navbar.scrolled .nav-hamburger span { background: var(--black); }

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.nav-mobile.open { opacity: 1; pointer-events: all; }

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  color: var(--white);
  padding: 10px 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease;
}
.nav-mobile.open a {
  opacity: 1;
  transform: none;
}
.nav-mobile.open a:nth-child(1) { transition-delay: 0.1s; }
.nav-mobile.open a:nth-child(2) { transition-delay: 0.15s; }
.nav-mobile.open a:nth-child(3) { transition-delay: 0.2s; }
.nav-mobile.open a:nth-child(4) { transition-delay: 0.25s; }
.nav-mobile.open a:nth-child(5) { transition-delay: 0.3s; }
.nav-mobile.open a:nth-child(6) { transition-delay: 0.35s; }
.nav-mobile.open a:nth-child(7) { transition-delay: 0.4s; }
.nav-mobile.open a:nth-child(8) { transition-delay: 0.45s; }
.nav-mobile a:hover { color: var(--mid-gray); }

.nav-mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ── 8. HERO SECTION ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26,26,26,0.88) 0%,
    rgba(26,26,26,0.72) 60%,
    rgba(26,26,26,0.80) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 20px 80px;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid-gray);
  display: block;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInDown 0.8s ease 0.3s both;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.5s both;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.7s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.9s both;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.2s both;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.hero-scroll-arrow {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scroll-bounce 2s ease-in-out infinite;
}
.hero-scroll-arrow::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 1.5px solid rgba(255,255,255,0.6);
  border-bottom: 1.5px solid rgba(255,255,255,0.6);
  transform: translateY(-2px) rotate(45deg);
}

/* ── 9. STATS BAR ────────────────────────────────────────── */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 16px;
  text-align: center;
}

.stat-item { position: relative; }
.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--light);
}
.stat-item:nth-child(even)::after { display: none; }

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--mid-gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

/* ── 10. ABOUT SECTION ───────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.about-image:hover img { transform: scale(1.04); }

.about-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--black);
  border-left: 3px solid var(--gold);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
}
.about-image-badge strong {
  display: block;
  font-size: 1.6rem;
  font-family: var(--font-heading);
  color: var(--gold);
  line-height: 1;
}
.about-image-badge span {
  font-size: 0.72rem;
  color: var(--mid-gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-content .eyebrow { color: var(--mid-gray); }
.about-content h2 { margin-bottom: 20px; }
.about-content p {
  color: var(--dark-gray);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  transition: var(--transition);
}
.feature-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}
.feature-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--gold);
  color: var(--black);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 18px; height: 18px; }
.feature-text h4 { font-size: 0.88rem; margin-bottom: 2px; }
.feature-text p  { font-size: 0.78rem; color: var(--mid-gray); line-height: 1.4; }

/* ── 11. SERVICES SECTION ────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  padding: 36px 28px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: var(--transition-slow);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
  z-index: 0;
}
.service-card:hover::before { transform: translateY(0); }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.service-card-inner { position: relative; z-index: 1; }

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-icon svg { width: 24px; height: 24px; color: var(--black); transition: var(--transition); }
.service-card:hover .service-icon { background: rgba(255,255,255,0.12); }
.service-card:hover .service-icon svg { color: var(--white); }

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  transition: var(--transition);
}
.service-card:hover h3 { color: var(--white); }

.service-card p {
  font-size: 0.93rem;
  color: var(--dark-gray);
  line-height: 1.75;
  transition: var(--transition);
}
.service-card:hover p { color: rgba(255,255,255,0.75); }

.service-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(201,160,32,0.10);
  line-height: 1;
  transition: var(--transition);
}
.service-card:hover .service-number { color: rgba(201,160,32,0.12); }

/* ── 12. WHY US SECTION ──────────────────────────────────── */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.why-us-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.why-us-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.why-us-image:hover img { transform: scale(1.04); }

.why-list { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.why-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  transform: translateX(4px);
}

.why-item-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(201,160,32,0.45);
  line-height: 1;
  flex-shrink: 0;
  min-width: 36px;
}
.why-item h4 { font-size: 1rem; margin-bottom: 6px; color: var(--white); }
.why-item p  { font-size: 0.88rem; color: rgba(255,255,255,0.62); line-height: 1.65; }

/* ── 13. CULTURE / VALUES SECTION ────────────────────────── */
.culture-intro {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}
.culture-intro p { color: rgba(255,255,255,0.72); font-size: 1.05rem; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.value-card {
  padding: 36px 28px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0;
  background: rgba(255,255,255,0.4);
  transition: height 0.5s ease;
}
.value-card:hover::before { height: 100%; }
.value-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.value-icon {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(201,160,32,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}
.value-icon svg { width: 28px; height: 28px; color: var(--gold); }
.value-card:hover .value-icon {
  background: rgba(201,160,32,0.12);
  border-color: var(--gold);
}

.value-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--white); }
.value-card p  { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.75; }

/* ── 14. CLIENTS SECTION ─────────────────────────────────── */
.clients-headline {
  max-width: 640px;
  margin: 0 auto 56px;
}

.client-feature {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  transition: var(--transition-slow);
}
.client-feature:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.client-logo-box {
  background: var(--black);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 40px;
  display: inline-block;
}
.client-logo-box span {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.client-feature h3 { font-size: 1.5rem; }
.client-feature p  { color: var(--dark-gray); max-width: 480px; }

.clients-note {
  margin-top: 40px;
  font-size: 0.84rem;
  color: var(--mid-gray);
  text-align: center;
}

/* ── 15. TESTIMONIALS SECTION ────────────────────────────── */
.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 8px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--light);
  font-family: var(--font-heading);
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--light);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--dark-gray);
}

.testimonial-name { font-weight: 600; font-size: 0.92rem; color: var(--black); }
.testimonial-role { font-size: 0.78rem; color: var(--mid-gray); }

.testimonial-placeholder-note {
  text-align: center;
  color: var(--mid-gray);
  font-size: 0.8rem;
  margin-top: 12px;
  font-style: italic;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.slider-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}
.slider-btn svg { width: 18px; height: 18px; }

.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* ── 16. GALLERY SECTION ─────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}
.gallery-item:nth-child(3) { grid-column: span 2; aspect-ratio: 2.2/1; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-overlay-icon {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.7);
  transition: transform 0.4s ease;
}
.gallery-overlay-icon svg { width: 20px; height: 20px; color: var(--white); }

.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay-icon { transform: scale(1); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(0.9);
  transition: transform 0.4s ease;
}
.lightbox.open .lightbox-img { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  font-size: 1.4rem;
  transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.1); }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: var(--transition);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.1); }
.lightbox-prev svg,
.lightbox-next svg { width: 20px; height: 20px; }

/* ── 17. CAREERS CTA SECTION ─────────────────────────────── */
.careers-cta {
  padding: 100px 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.careers-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1600&q=70&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

.careers-cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: 0 20px; }
.careers-cta h2 { color: var(--white); margin-bottom: 16px; }
.careers-cta p  { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 36px; }

.careers-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.careers-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.04em;
}

/* ── 18. CONTACT SECTION ─────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info > p {
  color: var(--dark-gray);
  margin-bottom: 36px;
  font-size: 1rem;
}

.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--black);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 20px; height: 20px; }
.contact-detail-body label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 2px;
}
.contact-detail-body span, .contact-detail-body a {
  font-size: 0.95rem;
  color: var(--dark-gray);
}
.contact-detail-body a:hover { color: var(--black); }

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.contact-social {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--dark-gray);
}
.contact-social svg { width: 20px; height: 20px; }
.contact-social:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* Contact Form */
.contact-form-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}

.contact-map {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
}
.contact-map iframe {
  width: 100%;
  height: 240px;
  border: none;
  display: block;
  filter: grayscale(30%);
}

/* ── 19. FORM SHARED STYLES ──────────────────────────────── */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-gray);
  margin-bottom: 7px;
}
.form-label .req { color: #c0392b; margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--black);
  transition: var(--transition);
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(26,26,26,0.08);
}
.form-control::placeholder { color: var(--mid-gray); }

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

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9A9A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-row { display: grid; grid-template-columns: 1fr; gap: 0; }

.form-file .form-control {
  padding: 10px 16px;
  cursor: pointer;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--black);
}
.form-check label {
  font-size: 0.88rem;
  color: var(--dark-gray);
  cursor: pointer;
}

.honeypot { display: none !important; visibility: hidden !important; }

.form-submit { margin-top: 8px; }

.form-message {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-top: 16px;
}
.form-message.success {
  display: block;
  background: #f0faf4;
  color: #1a7840;
  border: 1px solid #b7e4c7;
}
.form-message.error {
  display: block;
  background: #fff5f5;
  color: #c0392b;
  border: 1px solid #fed7d7;
}

/* ── 20. FOOTER ──────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img { height: 110px; width: auto; margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  max-width: 300px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--white); }

.footer-socials { display: flex; gap: 10px; margin-top: 4px; }
.footer-social {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-social svg { width: 18px; height: 18px; }
.footer-social:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ── 21. BACK TO TOP ─────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 20px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
  box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; pointer-events: all; transform: none; }
.back-to-top:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.back-to-top svg { width: 18px; height: 18px; }

/* ── 22. LEGAL PAGES ─────────────────────────────────────── */
.page-hero {
  background: var(--black);
  padding: 120px 0 64px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p  { color: rgba(255,255,255,0.55); margin-top: 12px; font-size: 0.88rem; }

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 20px 80px;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin: 40px 0 12px;
  color: var(--black);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--light);
}
.legal-content h3 {
  font-size: 1.1rem;
  margin: 28px 0 8px;
}
.legal-content p {
  color: var(--dark-gray);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.8;
}
.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-content ul li {
  color: var(--dark-gray);
  font-size: 0.95rem;
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ── 23. APPLY PAGE ──────────────────────────────────────── */
.apply-hero {
  background: var(--black);
  padding: 120px 0 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.apply-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?w=1600&q=70&auto=format&fit=crop');
  background-size: cover;
  background-position: center top;
  opacity: 0.1;
}
.apply-hero-inner { position: relative; z-index: 1; }
.apply-hero h1   { color: var(--white); font-size: clamp(2rem, 4.5vw, 3.2rem); }
.apply-hero p    { color: rgba(255,255,255,0.65); max-width: 560px; margin: 14px auto 0; }

.apply-form-section { padding: 64px 0 80px; background: var(--light); }

.apply-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  box-shadow: var(--shadow-md);
  max-width: 840px;
  margin: 0 auto;
}
.apply-form-card h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.apply-form-card > p {
  color: var(--mid-gray);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.form-section-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  padding: 12px 0 8px;
  border-bottom: 1px solid var(--light);
  margin: 28px 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}

.file-upload-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px dashed rgba(0,0,0,0.2);
  border-radius: var(--radius);
  background: var(--light);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  color: var(--dark-gray);
}
.file-upload-label:hover { border-color: var(--black); background: rgba(0,0,0,0.02); }
.file-upload-label svg { width: 20px; height: 20px; flex-shrink: 0; }
input[type="file"].form-control { display: none; }
.file-name { font-size: 0.8rem; color: var(--mid-gray); margin-top: 5px; }

/* Progress steps */
.apply-progress {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
  overflow: hidden;
}
.progress-step {
  flex: 1;
  text-align: center;
  position: relative;
}
.progress-step::before {
  content: '';
  position: absolute;
  top: 15px;
  right: -50%;
  width: 100%;
  height: 1px;
  background: var(--light);
  z-index: 0;
}
.progress-step:last-child::before { display: none; }
.progress-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--light);
  border: 2px solid var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mid-gray);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.progress-step.active .progress-dot {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.progress-step span {
  font-size: 0.7rem;
  color: var(--mid-gray);
  display: block;
}
.progress-step.active span { color: var(--black); font-weight: 600; }

/* ── 24. RESPONSIVE — TABLET (≥ 640px) ──────────────────── */
@media (min-width: 640px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-item:nth-child(2)::after { display: block; }
  .stat-item::after { display: block; }
  .stat-item:last-child::after { display: none; }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-item:nth-child(3) { grid-column: span 1; aspect-ratio: 1; }

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

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

/* ── 25. RESPONSIVE — DESKTOP (≥ 900px) ─────────────────── */
@media (min-width: 900px) {
  :root { --section-py: 110px; }

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

  .nav-links { display: flex; }
  .nav-cta   { display: inline-flex; }
  .nav-hamburger { display: none; }

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

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

  .why-us-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .why-us-grid.reverse { direction: rtl; }
  .why-us-grid.reverse > * { direction: ltr; }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }
  .gallery-item { aspect-ratio: 4/3; }
  .gallery-item:nth-child(3) { grid-column: span 1; aspect-ratio: 4/3; }
  .gallery-item:nth-child(1) { grid-row: span 2; aspect-ratio: auto; min-height: 420px; }

  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 64px; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }

  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }

  .apply-form-card { padding: 52px 52px; }
}

/* ── 26. RESPONSIVE — LARGE (≥ 1200px) ──────────────────── */
@media (min-width: 1200px) {
  :root { --container-pad: 0 32px; }
  .services-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ── 27. REDUCED MOTION ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-bg { background-attachment: scroll; }
}

/* ── 28. PRINT ───────────────────────────────────────────── */
@media print {
  #navbar, .back-to-top, .hero-scroll { display: none; }
  body { color: #000; }
}
