/* ============================================
   NEBİOĞLU İNŞAAT — Premium Construction Site
   ============================================ */

:root {
  --bg: #02140c;
  --bg-2: #051d12;
  --bg-3: #0a2a1c;
  --text: #f0ebe0;
  --text-dim: #8a9a8e;
  --accent: #006039;
  --accent-2: #00854f;
  --gold: #c9a961;
  --gold-2: #e6c97a;
  --accent-glow: rgba(0, 133, 79, 0.45);
  --gold-glow: rgba(201, 169, 97, 0.4);
  --line: rgba(201, 169, 97, 0.1);
  --line-2: rgba(201, 169, 97, 0.22);
}

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

html {
  scroll-behavior: smooth;
  cursor: auto;
}

body {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.5;
  cursor: auto;
}

a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select, video { cursor: auto; }

/* === LOADER === */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  animation: loaderAutoHide 0.5s ease 2.2s forwards;
}
.loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: -1;
}
@keyframes loaderAutoHide {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
.loader-content { text-align: center; }
.loader-logo { width: 80px; height: 80px; margin: 0 auto 1.5rem; }
.loader-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawLine 1.8s ease forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.loader-text {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.5em;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-left: 0.5em;
}
.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: var(--accent);
  animation: fillBar 1.8s ease forwards;
}
@keyframes fillBar { from { width: 0; } to { width: 100%; } }

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.3s;
}
.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo { display: inline-flex; align-items: center; }
.logo-img {
  height: 88px;
  width: auto;
  max-width: 280px;
  display: block;
  object-fit: contain;
  border-radius: 6px;
  transition: height 0.3s ease;
}
.nav.scrolled .logo-img { height: 64px; }
.footer-brand .logo-img { height: 96px; max-width: 320px; }
@media (max-width: 640px) {
  .logo-img { height: 44px; max-width: 160px; }
  .nav.scrolled .logo-img { height: 40px; }
}
.nav-links {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}
.nav-links a {
  position: relative;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}
.nav-links a::before {
  content: attr(data-num);
  font-size: 0.6rem;
  color: var(--accent);
  opacity: 0.7;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s;
}
.nav-cta:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--accent-glow);
}
.nav-cta svg { width: 16px; height: 16px; }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  z-index: 1;
}

/* === SCENE / CRANE === */
.scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

/* Sun */
.sun {
  position: absolute;
  top: 10%;
  right: 8%;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 201, 122, 0.35) 0%, rgba(0, 133, 79, 0.12) 40%, transparent 70%);
  filter: blur(18px);
  animation: sunPulse 6s ease-in-out infinite;
}
@keyframes sunPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* Clouds */
.cloud {
  position: absolute;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  filter: blur(20px);
}
.cloud-1 { top: 15%; left: -10%; width: 300px; height: 60px; animation: drift 60s linear infinite; }
.cloud-2 { top: 25%; left: -20%; width: 400px; height: 80px; animation: drift 80s linear infinite 5s; opacity: 0.6; }
.cloud-3 { top: 8%; left: -15%; width: 250px; height: 50px; animation: drift 70s linear infinite 15s; }
@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(120vw); }
}

/* Skyline (background buildings) */
.skyline {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 50%;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  opacity: 0.25;
}
.bld {
  background: linear-gradient(180deg, #2a2a3a 0%, #1a1a25 100%);
  flex: 1;
  position: relative;
}
.bld::before {
  content: '';
  position: absolute;
  inset: 10% 15% 30% 15%;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,200,100,0.3) 0 4px, transparent 4px 12px),
    repeating-linear-gradient(0deg, rgba(255,200,100,0.3) 0 4px, transparent 4px 14px);
  opacity: 0.4;
}
.bld-1 { height: 45%; }
.bld-2 { height: 70%; }
.bld-3 { height: 55%; }
.bld-4 { height: 85%; }
.bld-5 { height: 60%; }

/* Concrete mixer removed by request */

/* === TOWER CRANE (SVG, side-view, anatomically correct) ===
   Coordinate system reference (viewBox 0 0 400 600):
   - Apex peak:       (200, 0)
   - A-frame base:    y = 60 (where jib & counter-jib sit)
   - Jib horizontal:  y = 60..78
   - Cabin:           y = 78..114
   - Mast top:        y = 112
   - Mast bottom:     y = 600
   - Mast center x:   200 (full mast 184..216)
*/
.crane {
  position: absolute;
  bottom: 70px;
  right: 10%;
  width: 360px;
  height: 600px;
  z-index: 4;
  filter: drop-shadow(0 25px 30px rgba(0, 0, 0, 0.5));
}

/* Stay cables (pendant cables from apex peak) */
.crane .stay {
  stroke: var(--gold);
  stroke-width: 1.2;
  opacity: 0.75;
}

/* Warning aviation light at apex */
.crane .warning-light {
  animation: warningBlink 1.4s ease-in-out infinite;
  transform-origin: 200px 0;
}
@keyframes warningBlink {
  0%, 55%, 100% {
    fill: #ff2828;
    filter: drop-shadow(0 0 8px #ff3030) drop-shadow(0 0 14px #ff5050);
  }
  30%, 50% {
    fill: #3a0000;
    filter: none;
  }
}

/* Cabin window light pulse */
.crane .cabin-window {
  animation: cabinPulse 5s ease-in-out infinite;
}
@keyframes cabinPulse {
  0%, 100% { opacity: 0.95; }
  50%      { opacity: 0.55; }
}

/* === MOVEMENTS === */

/* Trolley travels HORIZONTALLY along the jib */
.crane .hoist {
  animation: trolleyMove 11s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
@keyframes trolleyMove {
  0%   { transform: translate(225px, 78px); }
  50%  { transform: translate(345px, 78px); }
  100% { transform: translate(225px, 78px); }
}

/* Rope extends/retracts VERTICALLY */
.crane .rope {
  animation: ropeExtend 5.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
@keyframes ropeExtend {
  0%, 100% { height: 38px; }
  50%      { height: 235px; }
}

/* Hook block descends in sync with the rope */
.crane .hook-block {
  animation: hookFall 5.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
@keyframes hookFall {
  0%, 100% { transform: translateY(38px); }
  50%      { transform: translateY(235px); }
}

/* Cargo (load) fades in/out at the bottom of the cycle */
.crane .cargo {
  animation: cargoCycle 11s ease-in-out infinite;
  transform-origin: 0 0;
}
@keyframes cargoCycle {
  0%, 12%   { opacity: 1; transform: scaleY(1); }
  18%, 32%  { opacity: 0; transform: scaleY(0); }  /* dropped */
  38%, 60%  { opacity: 0; transform: scaleY(0); }
  66%, 82%  { opacity: 1; transform: scaleY(1); }  /* picked up */
  100%      { opacity: 1; transform: scaleY(1); }
}

/* Ground */
.ground {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
  border-top: 1px solid var(--line);
}
.ground-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(201, 169, 97, 0.12) 1px, transparent 1px);
  background-size: 40px 100%;
}

/* Workers */
.worker {
  position: absolute;
  bottom: 75px;
  z-index: 5;
}
.worker .helmet {
  width: 10px; height: 7px;
  background: var(--accent);
  border-radius: 5px 5px 0 0;
  margin: 0 auto;
}
.worker .body {
  width: 8px; height: 16px;
  background: #4a4a5a;
  margin: 0 auto;
}
.worker-1 { right: 25%; animation: workerWalk 8s linear infinite; }
.worker-2 { right: 12%; animation: workerWalk 10s linear infinite reverse; }
@keyframes workerWalk {
  0% { transform: translateX(0); }
  50% { transform: translateX(-80px); }
  100% { transform: translateX(0); }
}

/* Particles */
.particles { position: absolute; inset: 0; }
.particles span {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particle 8s linear infinite;
}
.particles span:nth-child(1) { left: 70%; animation-delay: 0s; }
.particles span:nth-child(2) { left: 75%; animation-delay: 1s; }
.particles span:nth-child(3) { left: 80%; animation-delay: 2s; }
.particles span:nth-child(4) { left: 85%; animation-delay: 3s; }
.particles span:nth-child(5) { left: 65%; animation-delay: 4s; }
.particles span:nth-child(6) { left: 60%; animation-delay: 1.5s; }
.particles span:nth-child(7) { left: 55%; animation-delay: 3.5s; }
.particles span:nth-child(8) { left: 78%; animation-delay: 5s; }
.particles span:nth-child(9) { left: 72%; animation-delay: 6s; }
.particles span:nth-child(10) { left: 68%; animation-delay: 7s; }
@keyframes particle {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.8; }
  100% { transform: translateY(-400px) translateX(40px); opacity: 0; bottom: 50%; }
}

/* === HERO CONTENT === */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-2);
  border-radius: 50px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 15, 0.4);
}
.hero-tag .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}
.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(3.5rem, 9vw, 9rem);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line > span {
  display: inline-block;
  animation: rise 1.2s cubic-bezier(.16,1,.3,1) both;
  animation-delay: 1.5s;
  transform: translateY(110%);
}
.hero-title .line:nth-child(2) > span { animation-delay: 1.7s; }
@keyframes rise {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  max-width: 600px;
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s ease 2.2s forwards;
}
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--accent-glow);
}
.btn-primary svg { width: 18px; height: 18px; }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--accent);
  color: var(--accent);
}
.play-ico {
  width: 28px; height: 28px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.7rem;
  padding-left: 2px;
}
.btn-primary.big {
  padding: 1.4rem 2.5rem;
  font-size: 1.05rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 600px;
  padding: 1.5rem;
  background: rgba(2, 20, 12, 0.5);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 16px;
  opacity: 0;
  animation: fadeIn 1s ease 2.4s forwards;
}
.hstat-num {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.hstat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--text-dim);
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--accent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(400%); }
}

/* === MARQUEE === */
.marquee {
  background: var(--accent);
  color: var(--bg);
  padding: 1.5rem 0;
  overflow: hidden;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  font-size: 1.4rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === SECTIONS === */
.section {
  padding: 8rem 2rem;
  position: relative;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
}
.section-head { margin-bottom: 5rem; }
.section-num {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 1000px;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.lead {
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  color: var(--text);
}
.about-text p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.about-text strong { color: var(--gold); font-weight: 600; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.feat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s;
}
.feat:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.feat svg {
  width: 22px; height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

.about-visual {
  position: relative;
  height: 500px;
}
.visual-card {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line-2);
}
.vc-img {
  width: 100%;
  height: 100%;
  position: relative;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent) 100%);
}
.vc-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.5) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
}
.vc-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--gold);
  padding: 2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.vc-year {
  font-family: 'Oswald', sans-serif;
  font-size: 12rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
}
.vc-label {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.3em;
  font-size: 0.9rem;
  font-weight: 500;
}
.floating-badge {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 140px; height: 140px;
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 2;
}
.badge-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 18s linear infinite;
}
.badge-text text {
  font-size: 8px;
  letter-spacing: 0.15em;
  fill: var(--accent);
  font-family: 'Oswald', sans-serif;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.badge-icon {
  font-size: 2rem;
  color: var(--accent);
}

/* === SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.svc-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(.16,1,.3,1);
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 0;
}
.svc-card:hover {
  transform: translateY(-10px);
  border-color: transparent;
}
.svc-card:hover::before { opacity: 1; }
.svc-card:hover * { color: var(--bg) !important; }
.svc-card:hover .svc-link span { transform: translateX(8px); }
.svc-card > * { position: relative; z-index: 1; }
.svc-num {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 2rem;
  transition: color 0.3s;
}
.svc-icon {
  width: 70px; height: 70px;
  color: var(--accent);
  margin-bottom: 2rem;
  transition: all 0.3s;
}
.svc-icon svg { width: 100%; height: 100%; }
.svc-card:hover .svc-icon { transform: scale(1.1) rotate(-5deg); }
.svc-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.svc-card p {
  color: var(--text-dim);
  margin-bottom: 2rem;
  transition: color 0.3s;
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.svc-link span { transition: transform 0.3s; }

/* === PROJECTS === */
/* Showcase: 3 featured project boxes */
.proj-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}
.pbox-anchor { display: block; cursor: pointer; }
.pbox {
  position: relative;
  isolation: isolate;
  border-radius: 22px;
  overflow: hidden;
  padding: 2rem 2rem 2.2rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  transition: transform 0.5s cubic-bezier(.16,1,.3,1), box-shadow 0.5s;
  cursor: pointer;
}
.pbox::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--g1) 0%, var(--g2) 100%);
  z-index: -2;
}
.pbox::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.25) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at top right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 80%);
  opacity: 0.35;
  z-index: -1;
  transition: transform 0.6s;
}
.pbox:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.pbox:hover::after { transform: scale(1.1); }
.pbox-num {
  font-family: 'Oswald', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  line-height: 1;
  letter-spacing: -0.05em;
}
.pbox-tag {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.pbox-status {
  background: var(--gold);
  color: #2a1a08;
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: 50px;
  text-transform: uppercase;
}
.pbox-status-done {
  background: #00a060;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15) inset;
}
.pbox-loc {
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  border-radius: 50px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.15);
}
.pbox-body {
  position: relative;
  z-index: 1;
}
.pbox-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 0.5rem;
}
.pbox-body p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.pbox-link {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  color: #fff;
  transition: all 0.4s;
  z-index: 2;
}
.pbox-link svg { width: 22px; height: 22px; }
.pbox-link:hover {
  background: var(--gold);
  color: #2a1a08;
  border-color: var(--gold);
  transform: rotate(-45deg);
}

.proj-subhead {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

/* Categories: smaller secondary grid */
.proj-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.pcat {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.4s cubic-bezier(.16,1,.3,1);
  position: relative;
  overflow: hidden;
}
.pcat::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--accent-2) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(.16,1,.3,1);
}
.pcat:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: var(--bg-3);
}
.pcat:hover::after { transform: scaleX(1); }
.pcat-icon {
  width: 56px; height: 56px;
  color: var(--gold);
  display: grid;
  place-items: center;
  background: rgba(201, 169, 97, 0.08);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 12px;
  transition: all 0.4s;
}
.pcat-icon svg { width: 32px; height: 32px; }
.pcat:hover .pcat-icon {
  background: rgba(201, 169, 97, 0.15);
  border-color: var(--gold);
  transform: scale(1.05);
}
.pcat-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.pcat-body p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.4;
}

.proj-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  flex-wrap: wrap;
}
.proj-note p {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 700px;
}

/* Legacy hidden — old project grid kept off-screen if referenced */
.projects-grid { display: none; }
.proj {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--bg);
  isolation: isolate;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(.16,1,.3,1);
}
.proj::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: -2;
}
.proj::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg, linear-gradient(135deg, #333, #555));
  background-image: var(--bg);
  z-index: -1;
  opacity: 0.7;
  transition: all 0.5s;
}
.proj > * {
  position: relative;
  z-index: 1;
}
.proj:hover {
  transform: scale(0.98);
}
.proj:hover::after {
  opacity: 1;
  transform: scale(1.05);
}
.proj-lg { grid-row: span 2; }
.proj-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.proj-cat {
  padding: 0.3rem 0.8rem;
  background: rgba(0,0,0,0.4);
  border-radius: 50px;
  backdrop-filter: blur(10px);
}
.proj h3 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.proj p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

/* === CTA === */
.cta-section {
  padding: 8rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--line);
}
.cta-section h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.cta-section h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-section p {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
}

/* === FOOTER === */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 5rem 2rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 1.5rem; }
.footer-brand p {
  color: var(--text-dim);
  max-width: 350px;
}
.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}
.footer-col p, .footer-col a {
  display: block;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-categories { grid-template-columns: 1fr 1fr; }
  .proj-showcase { grid-template-columns: 1fr; }
  .crane { right: 4%; width: 280px; height: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { overflow-x: hidden; }
  .nav { padding: 0.75rem 0; }
  .nav.scrolled { padding: 0.6rem 0; }
  .nav-inner { padding: 0 0.875rem; gap: 1rem; }
  .nav-cta span { display: none; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); padding: 1rem; gap: 0.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .proj-categories { grid-template-columns: 1fr; }
  .proj-note { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
  .about-features { grid-template-columns: 1fr; }
  .vc-year { font-size: 7rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .crane { width: 200px; height: 340px; right: -10px; opacity: 0.75; }
}

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}
.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(40px);
}
.reveal.reveal-pending.visible {
  opacity: 1;
  transform: translateY(0);
}
