/* ===================================================
   CRITERION PROJECTS — Premium Website Stylesheet
   =================================================== */

/* --- Custom Properties --- */
:root {
  --bg:           #080808;
  --surface:      #0f0f0f;
  --card:         #161616;
  --card-hover:   #1e1e1e;
  --gold:         #c8a96e;
  --gold-light:   #dfc08a;
  --gold-dim:     rgba(200,169,110,0.15);
  --text:         #f0ece4;
  --text-mid:     #b8b0a4;
  --text-muted:   #777068;
  --border:       rgba(255,255,255,0.07);
  --border-gold:  rgba(200,169,110,0.3);
  --overlay:      rgba(8,8,8,0.72);
  --max-w:        1340px;
  --pad-x:        clamp(1.25rem, 5vw, 4rem);
  --serif:        'Playfair Display', Georgia, serif;
  --sans:         'Inter', system-ui, -apple-system, sans-serif;
  --radius:       4px;
  --transition:   0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

::selection {
  background: var(--gold);
  color: var(--bg);
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2.8rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }

p { color: var(--text-mid); max-width: 65ch; }
p + p { margin-top: 1em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.section-title { margin-bottom: 1.5rem; }
.section-title .eyebrow { margin-bottom: 0.75rem; }

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

section {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

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

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
  white-space: nowrap;
  text-decoration: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--bg);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,110,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-gold);
}

.btn-outline:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  padding-left: 0;
  padding-right: 0;
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
  letter-spacing: 0.1em;
}

.btn-ghost:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
  gap: 1rem;
}

.btn-ghost .arrow { font-size: 1.1em; transition: transform var(--transition); }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(8,8,8,0.97);
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 120px;
  width: auto;
  transition: opacity var(--transition);
}

.nav-logo-img:hover { opacity: 0.85; }

/* Fallback text logo (keep for footer if needed) */
.nav-logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all var(--transition);
}

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

/* Mobile Nav Overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease;
}

.nav-mobile.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.nav-mobile a {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--text);
}

.nav-mobile a:hover { color: var(--gold); }

/* =============================================
   HERO — HOME
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8,8,8,0.85) 0%,
    rgba(8,8,8,0.6) 50%,
    rgba(8,8,8,0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 1.05;
  font-weight: 600;
  margin-bottom: 1.75rem;
  max-width: 14ch;
}

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

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line-inner {
  display: block;
  transform: translateY(100%);
  animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title .line:nth-child(1) .line-inner { animation-delay: 0.5s; }
.hero-title .line:nth-child(2) .line-inner { animation-delay: 0.65s; }
.hero-title .line:nth-child(3) .line-inner { animation-delay: 0.8s; }

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(240,236,228,0.75);
  max-width: 50ch;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 1s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 1.2s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: fadeIn 1s 1.8s forwards;
  opacity: 0;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollLine 1.5s 2s infinite;
}

/* =============================================
   PAGE HERO (interior pages)
   ============================================= */
.page-hero {
  position: relative;
  height: clamp(380px, 55vh, 580px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.9) 0%, rgba(8,8,8,0.4) 60%, rgba(8,8,8,0.25) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  width: 100%;
}

.page-hero-content .eyebrow {
  opacity: 0;
  animation: fadeUp 0.7s 0.3s forwards;
}

.page-hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  max-width: 16ch;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
}

.page-hero-content p {
  margin-top: 1rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 55ch;
  color: rgba(240,236,228,0.7);
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services {
  background: var(--surface);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-gold), transparent);
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-header p {
  margin: 1rem auto 0;
  text-align: center;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  background: var(--card-hover);
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.service-card:hover::before { opacity: 1; }

.service-number {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--border-gold);
  font-style: italic;
  margin-bottom: 1.25rem;
  display: block;
  transition: color var(--transition);
}

.service-card:hover .service-number { color: var(--gold); }

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: none;
}

/* =============================================
   FEATURED PROJECTS
   ============================================= */
.projects-section {
  background: var(--bg);
}

.projects-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--card);
  cursor: pointer;
  display: block;
  aspect-ratio: 4/5;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: background var(--transition);
}

.project-card:hover .project-card-overlay {
  background: linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.5) 60%, rgba(8,8,8,0.1) 100%);
}

.project-card-cat {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.project-card h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.project-card-desc {
  font-size: 0.875rem;
  color: var(--text-mid);
  max-width: none;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}

.project-card:hover .project-card-desc {
  opacity: 1;
  transform: translateY(0);
}

.project-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}

.project-card:hover .project-card-link {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-section {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.why-section::after {
  content: '"';
  position: absolute;
  right: -1rem;
  top: -2rem;
  font-family: var(--serif);
  font-size: 40vw;
  color: rgba(200,169,110,0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.why-left h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  margin-bottom: 2rem;
}

.why-left p { margin-bottom: 2rem; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat {
  border-top: 1px solid var(--border-gold);
  padding-top: 1.25rem;
}

.stat-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.35rem;
  display: block;
}

.why-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.why-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all var(--transition);
}

.why-item:hover {
  border-color: var(--border-gold);
  background: var(--card-hover);
}

.why-icon {
  width: 3rem;
  height: 3rem;
  background: var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon svg { width: 1.2rem; height: 1.2rem; fill: var(--gold); }

.why-item h4 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.why-item p {
  font-size: 0.875rem;
  max-width: none;
}

/* =============================================
   ABOUT TEASER
   ============================================= */
.about-teaser {
  background: var(--bg);
}

.about-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-teaser-img {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
}

.about-teaser-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.about-teaser-img:hover img { transform: scale(1.04); }

.about-teaser-img::before {
  content: '';
  position: absolute;
  inset: 1rem;
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
}

.about-teaser-text h2 { margin-bottom: 1.5rem; }
.about-teaser-text p { margin-bottom: 1.5rem; }

.contract-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}

.contract-tag {
  padding: 0.4rem 0.9rem;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: 2rem;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
  background: linear-gradient(135deg, var(--surface) 0%, var(--card) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.cta-band h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1rem;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-band h2 em {
  font-style: italic;
  color: var(--gold);
}

.cta-band p {
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1.05rem;
}

.cta-band-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   PROJECT GALLERY PAGE
   ============================================= */
.projects-intro {
  background: var(--bg);
  padding-bottom: 2rem;
}

.projects-intro p { max-width: 60ch; }

.project-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--border);
}

.project-section:last-child { border-bottom: none; }

.project-header {
  margin-bottom: 2.5rem;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.project-value {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
}

.project-type-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
}

.project-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: 0.75rem;
}

.project-header p {
  max-width: 60ch;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: var(--card);
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.5s ease;
}

.gallery-item:first-child img { aspect-ratio: unset; }

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.gallery-item-overlay svg {
  width: 2.5rem;
  height: 2.5rem;
  fill: white;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition);
}

.gallery-item:hover .gallery-item-overlay { background: rgba(8,8,8,0.35); }
.gallery-item:hover .gallery-item-overlay svg { opacity: 1; transform: scale(1); }

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5,5,5,0.97);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.active { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.lightbox img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: white;
  font-size: 1.3rem;
  z-index: 10000;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: white;
  font-size: 1.1rem;
  z-index: 10000;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }

.lightbox-counter {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-story {
  background: var(--bg);
}

.about-story-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6rem;
  align-items: start;
}

.about-story-sticky {
  position: sticky;
  top: 8rem;
}

.about-story-sticky h2 { margin-bottom: 1.5rem; }
.about-story-sticky p { margin-bottom: 1.25rem; }

.about-values {
  background: var(--surface);
}

.about-values h2 { text-align: center; margin-bottom: 3.5rem; }

.value-card {
  padding: 2.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.value-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.value-icon svg { width: 1.4rem; height: 1.4rem; fill: var(--gold); }

.value-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.value-card p { font-size: 0.9rem; max-width: none; }

.contracts-section {
  background: var(--bg);
}

.contracts-section h2 { margin-bottom: 3rem; }

.contracts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.contract-item {
  padding: 2rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all var(--transition);
  text-align: center;
}

.contract-item:hover {
  border-color: var(--border-gold);
  background: var(--card-hover);
}

.contract-item .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.contract-item h4 {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.contract-item p { font-size: 0.8rem; max-width: none; }

/* Testimonial */
.testimonial-section {
  background: var(--surface);
}

.testimonial-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--gold);
}

.testimonial-info .name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-info .role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.testimonial-stars span { color: var(--gold); font-size: 1.1rem; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-section {
  background: var(--bg);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}

.contact-info h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1.5rem; }
.contact-info p { margin-bottom: 2.5rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 1rem; height: 1rem; fill: var(--gold); }

.contact-detail-text .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-detail-text a,
.contact-detail-text span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.contact-detail-text a:hover { color: var(--gold); }

.contact-form-wrapper {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(2rem, 4vw, 3rem);
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full { grid-column: span 2; }

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

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

.form-group select option {
  background: var(--card);
  color: var(--text);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  grid-column: span 2;
  cursor: pointer;
}

.form-checkbox input {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  accent-color: var(--gold);
  cursor: pointer;
}

.form-checkbox span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-submit {
  grid-column: span 2;
  margin-top: 0.5rem;
}

.form-submit .btn { width: 100%; justify-content: center; }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

.form-success.show { display: block; }

.form-success-icon {
  width: 4rem;
  height: 4rem;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.form-success-icon svg { width: 1.5rem; height: 1.5rem; fill: var(--gold); }

.form-success h3 { margin-bottom: 0.75rem; }
.form-success p { text-align: center; margin: 0 auto; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand .nav-logo {
  font-size: 1.4rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 35ch;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-btn {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-social-btn:hover {
  background: var(--gold-dim);
  border-color: var(--border-gold);
  color: var(--gold);
}

.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-mid);
  transition: color var(--transition);
}

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

.footer-newsletter p {
  font-size: 0.9rem;
  max-width: none;
  margin-bottom: 1.25rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.newsletter-form:focus-within { border-color: var(--border-gold); }

.newsletter-form input {
  flex: 1;
  background: var(--card);
  border: none;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-family: var(--sans);
  color: var(--text);
  outline: none;
}

.newsletter-form input::placeholder { color: var(--text-muted); }

.newsletter-form button {
  background: var(--gold);
  color: var(--bg);
  border: none;
  padding: 0 1.25rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover { background: var(--gold-light); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: none;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-links a:hover { color: var(--gold); }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

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

/* =============================================
   DIVIDER
   ============================================= */
.gold-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem 0;
}

.gold-divider.center { margin-left: auto; margin-right: auto; }

/* =============================================
   KEYFRAMES
   ============================================= */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes slideUp {
  to { transform: translateY(0); }
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-teaser-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-story-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-story-sticky { position: static; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .projects-section-header { flex-direction: column; align-items: flex-start; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .contracts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo-img { height: 44px; }

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

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 1; grid-row: span 1; }
  .gallery-item:first-child img { aspect-ratio: 4/3; }

  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .form-submit { grid-column: span 1; }
  .form-checkbox { grid-column: span 1; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .cta-band-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .contracts-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}
