/* =========================================
   E-CUBE ARCHITECTURE — STYLES
   ========================================= */

/* ---- Custom Properties ---- */
:root {
  --gold:        #c9a84c;
  --gold-light:  #f0d080;
  --gold-dim:    rgba(201, 168, 76, 0.15);
  --dark:        #080d16;
  --dark-2:      #0d1520;
  --dark-3:      #111f30;
  --mid:         #1a2535;
  --mid-2:       #243348;
  --light-bg:    #f6f3ee;
  --light-2:     #ede8e0;
  --white:       #ffffff;
  --text-light:  #e8e0d0;
  --text-muted:  #8a9ab0;
  --text-body:   #4a5568;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;
  --radius:      4px;
  --radius-lg:   12px;
  --shadow:      0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-lg:   0 24px 64px rgba(0, 0, 0, 0.18);
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h:       72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--light-bg);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}
::selection { background: var(--gold); color: var(--dark); }

/* ---- Loader ---- */
#loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.loader-logo { width: 72px; animation: loaderSpin 2s linear infinite; }
@keyframes loaderSpin {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.08); }
  100% { transform: rotate(360deg) scale(1); }
}
.loader-text {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  animation: loaderPulse 1.5s ease-in-out infinite;
}
@keyframes loaderPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ---- Navigation ---- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
#header.scrolled {
  background: rgba(8, 13, 22, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.2);
  height: 60px;
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.8; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 224, 208, 0.75);
  padding: 8px 14px;
  border-radius: 2px;
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--white); }
.nav-cta {
  background: var(--gold);
  color: var(--dark) !important;
  padding: 8px 20px;
  border-radius: 2px;
  font-weight: 600;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- Utilities ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section {
  padding: 120px 0;
}
.section-dark {
  background: var(--dark-2);
  color: var(--text-light);
}
.section-header {
  text-align: center;
  margin-bottom: 72px;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  color: inherit;
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}
.section-dark .section-subtitle { color: rgba(138, 154, 176, 0.9); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateX(-100%);
  transition: transform var(--transition);
}
.btn:hover::before { transform: translateX(0); }
.btn-primary {
  background: var(--gold);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(201, 168, 76, 0.5);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-illustration {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 40px;
  max-width: 820px;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(232, 224, 208, 0.8);
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.85;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(8, 13, 22, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius);
  padding: 24px 48px;
  margin-bottom: 48px;
}
.stat {
  text-align: center;
  padding: 0 32px;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-plus {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
}
.stat-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(201, 168, 76, 0.2);
  flex-shrink: 0;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  color: rgba(201, 168, 76, 0.7);
  transition: color var(--transition);
}
.hero-scroll:hover { color: var(--gold); }
.scroll-line {
  width: 1px;
  height: 48px;
  background: currentColor;
  animation: scrollLine 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.scroll-text {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* =========================================
   ABOUT
   ========================================= */
.about { background: var(--light-bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-stack {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-svg {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 88px;
  height: 88px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}
.badge-year {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  opacity: 0.7;
}
.badge-num {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1;
}
.about-content { padding-left: 16px; }
.about-lead {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--dark-2);
  margin-bottom: 20px;
}
.about-body {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 16px;
}
.about-pillars {
  display: flex;
  gap: 28px;
  margin: 32px 0 36px;
}
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--mid);
}
.pillar-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  padding: 10px;
  transition: var(--transition);
}
.pillar:hover .pillar-icon {
  background: var(--gold);
  color: var(--dark);
}
.pillar span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-body);
}

/* =========================================
   SERVICES
   ========================================= */
.services { background: var(--dark-2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--dark-3);
  padding: 44px 36px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.08);
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { background: var(--mid); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px;
  height: 52px;
  color: var(--gold);
  margin-bottom: 20px;
}
.service-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(201, 168, 76, 0.08);
  line-height: 1;
  pointer-events: none;
}
.service-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 14px;
}
.service-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 22px;
}
.service-list {
  margin-bottom: 28px;
}
.service-list li {
  font-size: 0.82rem;
  color: rgba(138, 154, 176, 0.75);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.service-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.service-link:hover { gap: 12px; }

/* =========================================
   PROCESS
   ========================================= */
.process { background: var(--light-2); }
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.process-connector {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--gold) 0%, rgba(201, 168, 76, 0.2) 100%);
  margin-top: 36px;
  min-width: 20px;
}
.process-step {
  flex: 0 0 auto;
  width: 160px;
  text-align: center;
}
.step-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  width: 64px;
  height: 64px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}
.process-step:hover .step-num {
  background: var(--gold);
  color: var(--dark);
}
.step-content h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--dark-2);
  margin-bottom: 8px;
}
.step-content p {
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* =========================================
   PORTFOLIO
   ========================================= */
.portfolio { background: var(--dark); }
.portfolio-filter {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 20px;
  border: 1px solid rgba(138, 154, 176, 0.2);
  border-radius: 2px;
  transition: var(--transition);
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
  gap: 3px;
}
.portfolio-item--wide {
  grid-column: span 2;
}
.portfolio-item {
  overflow: hidden;
  position: relative;
  border-radius: 2px;
}
.portfolio-img {
  width: 100%;
  height: 100%;
  position: relative;
}
.project-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.portfolio-item:hover .project-svg { transform: scale(1.04); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,10,20,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-info {
  transform: translateY(16px);
  transition: transform var(--transition);
}
.portfolio-item:hover .portfolio-info { transform: none; }
.portfolio-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
.portfolio-info h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
}
.portfolio-info p {
  font-size: 0.82rem;
  color: rgba(232, 224, 208, 0.65);
  margin-bottom: 16px;
}
.portfolio-view {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 16px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}
.portfolio-view:hover { background: var(--gold); color: var(--dark); }
.portfolio-cta {
  text-align: center;
  margin-top: 56px;
}
.portfolio-cta p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* =========================================
   TEAM
   ========================================= */
.team { background: var(--light-bg); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-portrait { overflow: hidden; }
.portrait-svg { width: 100%; display: block; }
.team-info { padding: 28px; }
.team-info h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--dark-2);
  margin-bottom: 4px;
}
.team-role {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.team-info p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 16px;
}
.team-quals {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.team-quals span {
  font-size: 11px;
  background: var(--gold-dim);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials { background: var(--dark-3); }
.testimonials-carousel { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  min-width: 100%;
  padding: 0 80px;
  text-align: center;
}
.testimonial-quote { color: var(--gold); margin-bottom: 28px; display: flex; justify-content: center; }
.testimonial-text {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 820px;
  margin: 0 auto 36px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.testimonial-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: var(--transition);
}
.carousel-btn:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.25);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.carousel-dot.active { background: var(--gold); transform: scale(1.3); }

/* =========================================
   AWARDS
   ========================================= */
.awards { background: var(--light-2); padding: 60px 0; }
.awards-strip {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.awards-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.awards-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  flex: 1;
}
.award-item {
  color: var(--text-body);
  opacity: 0.6;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
}
.award-item:hover { opacity: 1; }
.award-item svg { width: 120px; height: 50px; }

/* =========================================
   CONTACT
   ========================================= */
.contact { background: var(--dark-2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-lead {
  font-size: 1rem;
  color: rgba(138, 154, 176, 0.9);
  line-height: 1.8;
  margin-bottom: 40px;
}
.contact-details { margin-bottom: 40px; }
.contact-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}
.contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-icon svg { width: 22px; height: 22px; margin-top: 2px; }
.contact-item strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.contact-social {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

/* Contact Form */
.contact-form-wrapper {
  background: var(--dark-3);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; position: relative; }
.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text-light);
  font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(138, 154, 176, 0.4); }
.form-group select option { background: var(--dark-3); color: var(--text-light); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
}
.form-group.error input,
.form-group.error textarea {
  border-color: #e05050;
}
.form-error {
  font-size: 11px;
  color: #e05050;
  display: none;
}
.form-group.error .form-error { display: block; }
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-icon svg { width: 16px; height: 16px; }
.form-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: rgba(80, 160, 80, 0.1);
  border: 1px solid rgba(80, 160, 80, 0.3);
  border-radius: var(--radius);
  color: #80d080;
  font-size: 0.9rem;
}
.form-success.show { display: flex; }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo {
  margin-bottom: 20px;
  display: inline-flex;
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(138, 154, 176, 0.5);
}
.footer-links h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color var(--transition);
}
.footer-links ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(138, 154, 176, 0.4);
}
.footer-social { display: flex; gap: 10px; }

/* =========================================
   LIGHTBOX
   ========================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, 0.92);
  backdrop-filter: blur(8px);
}
.lightbox-panel {
  position: relative;
  background: var(--dark-3);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  z-index: 1;
  transform: translateY(20px);
  transition: transform var(--transition);
}
.lightbox.open .lightbox-panel { transform: none; }
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 50%;
  transition: var(--transition);
  z-index: 2;
}
.lightbox-close:hover { color: var(--gold); border-color: var(--gold); }
.lightbox-close svg { width: 16px; height: 16px; }
.lightbox-content { padding: 44px; }
.lightbox-content .project-svg { width: 100%; border-radius: var(--radius); margin-bottom: 28px; }
.lightbox-content h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-light);
  margin-bottom: 6px;
}
.lightbox-content .lbx-meta {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.lightbox-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.lbx-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.lbx-spec {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.lbx-spec strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold);
}
.lbx-spec span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =========================================
   SCROLL TO TOP
   ========================================= */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  z-index: 900;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
}
.scroll-top.visible { opacity: 1; transform: none; pointer-events: auto; }
.scroll-top:hover { background: var(--gold-light); transform: translateY(-3px); }
.scroll-top svg { width: 18px; height: 18px; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item--wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { flex-wrap: wrap; gap: 32px; justify-content: center; }
  .process-connector { display: none; }
  .process-step { width: 180px; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-content { padding-left: 0; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-stats { padding: 20px 24px; flex-wrap: wrap; justify-content: center; gap: 0; }
  .stat { padding: 12px 20px; }
  .stat-divider { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(8, 13, 22, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 40px;
    gap: 16px;
    transform: translateX(100%);
    transition: transform var(--transition);
    border-left: 1px solid rgba(201, 168, 76, 0.1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 14px; padding: 12px 0; color: var(--text-light); }
  .nav-cta { padding: 12px 24px; margin-top: 8px; display: inline-flex; }
  .hamburger { display: flex; }
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .portfolio-item--wide { grid-column: span 1; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .testimonial-card { padding: 0 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-stats { display: none; }
  .lbx-specs { grid-template-columns: 1fr 1fr; }
  .awards-strip { flex-direction: column; gap: 24px; }
  .awards-logos { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.6rem; }
  .section-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .about-pillars { justify-content: center; }
  .scroll-top { bottom: 20px; right: 20px; }
}

/* =========================================
   PORTFOLIO FILTER TRANSITIONS
   ========================================= */
.portfolio-item {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.portfolio-item.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  position: absolute;
}
