/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.6; color: #555; background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; font-weight: 800; line-height: 1.2; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ─── CUSTOM PROPERTIES ─── */
:root {
  --primary: #FFB800;
  --primary-dark: #E5A600;
  --charcoal: #1a1a2e;
  --soft-gray: #f8f6f3;
  --border: #e5e2dc;
  --muted: #888;
  --radius: 8px;
  --max-w: 1200px;
  --header-h: 80px;
}

/* ─── UTILITY ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }

/* ─── HEADER ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,26,46,0.8); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s;
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.header-logo img { height: 48px; width: auto; }
.header-nav { display: flex; gap: 32px; align-items: center; }
.header-nav a {
  color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; transition: color 0.3s;
  font-family: 'Montserrat', sans-serif;
}
.header-nav a:hover, .header-nav a.active { color: var(--primary); }
.header-cta { margin-left: 16px; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: var(--charcoal); font-weight: 700;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 14px 28px; border: 2px solid var(--primary);
  transition: all 0.3s; font-family: 'Montserrat', sans-serif;
  min-height: 48px;
}
.btn-primary:hover { background: transparent; color: var(--primary); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff; font-weight: 700;
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 14px 28px; border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.3s; font-family: 'Montserrat', sans-serif;
  min-height: 48px;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ─── MOBILE MENU ─── */
.menu-btn { display: none; color: #fff; padding: 8px; }
.mobile-menu {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
  background: rgba(26,26,46,0.99); backdrop-filter: blur(12px);
  padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 16px; }
.mobile-menu-inner a {
  color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-family: 'Montserrat', sans-serif; padding: 8px 0;
}
.mobile-menu-inner a:hover { color: var(--primary); }

/* ─── EYEBROW ─── */
.eyebrow {
  display: inline-block; font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 800; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--primary); position: relative;
  padding-left: 40px;
}
.eyebrow::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 24px; height: 3px; background: var(--primary);
}

/* ─── HERO ─── */
.page-hero {
  position: relative; padding: 144px 20px 96px; text-align: center;
  background: var(--charcoal); color: #fff; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-inner { position: relative; max-width: 720px; margin: 0 auto; }
.page-hero-inner h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 900;
  margin-top: 16px; line-height: 1.1;
}
.page-hero-inner p {
  margin-top: 16px; font-size: 16px; color: rgba(255,255,255,0.7);
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-curve { display: block; width: 100%; height: 50px; position: absolute; bottom: -1px; left: 0; z-index: 10; pointer-events: none; }
@media (min-width: 768px) { .hero-curve { height: 80px; } }

@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.1); } }

/* ─── SECTION ─── */
.section { padding: 80px 20px; }
.section-dark { background: var(--soft-gray); }
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem); color: var(--charcoal);
  margin-top: 12px;
}

/* ─── GRID ─── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ─── ABOUT LAYERS ─── */
.about-layers { position: relative; height: 500px; }
.about-layer { position: absolute; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.about-layer img { width: 100%; height: 100%; object-fit: cover; }
.about-layer-1 { width: 200px; height: 130px; top: 0; left: 0; z-index: 3; }
.about-layer-2 { width: 500px; height: 400px; top: 50%; left: 80px; transform: translateY(-50%); z-index: 2; max-width: 100%; }
.about-layer-3 {
  width: 350px; height: 280px; bottom: 0; right: 0; z-index: 4; max-width: 100%;
  /* golden overlay via child pseudo-element */
}
.about-layer-3 .layer-overlay {
  position: absolute; inset: 0; background: rgba(180,120,40,0.45);
  mix-blend-mode: multiply; z-index: 1;
}
.about-layer-3 .layer-content {
  position: absolute; inset: 0; z-index: 2; display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  color: #fff; font-family: 'Montserrat', sans-serif;
}
.about-layer-3 .layer-content .big-num {
  font-size: 64px; font-weight: 900; line-height: 1;
}
.about-layer-3 .layer-content .big-label {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; margin-top: 4px;
}

/* ─── TEAM ─── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.team-card {
  background: #fff; border: 1px solid var(--border); overflow: hidden;
  text-align: center; transition: box-shadow 0.3s;
  position: relative;
}
.team-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.team-card-img {
  aspect-ratio: 3/4; overflow: hidden; position: relative;
  background: var(--soft-gray);
}
.team-card-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card-img .gradient-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.team-card-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 16px;
  text-align: left;
}
.team-card-info .name {
  font-size: 14px; font-weight: 800; color: #fff;
  font-family: 'Montserrat', sans-serif;
}
.team-card-info .role { font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 2px; }
.team-card-info .phone-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--primary); margin-top: 4px;
}

/* ─── MVV CARDS ─── */
.mvv-card {
  background: #fff; border: 1px solid var(--border); padding: 32px;
  text-align: center; transition: box-shadow 0.3s, transform 0.3s;
}
.mvv-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); transform: translateY(-4px); }
.mvv-icon {
  width: 56px; height: 56px; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.mvv-icon svg { color: var(--charcoal); }
.mvv-card h3 { font-size: 18px; color: var(--charcoal); margin-bottom: 8px; }
.mvv-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ─── CTA BAND ─── */
.cta-band { padding: 60px 20px; background: var(--charcoal); }
.cta-card {
  background: var(--primary); padding: 48px;
  display: flex; flex-direction: column; gap: 24px;
}
@media (min-width: 768px) {
  .cta-card { flex-direction: row; align-items: center; justify-content: space-between; }
}
.cta-label { font-size: 11px; font-weight: 800; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(26,26,46,0.7); font-family: 'Montserrat', sans-serif; }
.cta-title { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 900; color: var(--charcoal); }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--charcoal); color: #fff; font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 16px 32px; white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
}
.cta-btn:hover { background: #fff; color: var(--charcoal); }

/* ─── FOOTER ─── */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.7); padding: 60px 20px 0; font-size: 14px; }
.footer-grid {
  max-width: var(--max-w); margin: 0 auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { height: 48px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.site-footer p { line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: rgba(255,255,255,0.6);
  transition: all 0.3s;
}
.footer-social a:hover { border-color: var(--primary); color: var(--primary); }
.footer-title {
  font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-family: 'Montserrat', sans-serif;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-links span { color: rgba(255,255,255,0.6); transition: color 0.3s; font-size: 13px; }
.footer-links a:hover { color: var(--primary); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: rgba(255,255,255,0.6); }
.footer-contact .icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.footer-bottom-inner {
  max-width: var(--max-w); margin: 0 auto; display: flex;
  flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px; font-size: 12px; color: rgba(255,255,255,0.4);
  padding: 0 20px;
}
.footer-bottom-inner span { display: inline-flex; align-items: center; gap: 4px; }
.footer-bottom-inner a { color: var(--primary); }

/* ─── PROJECT CARD ─── */
.proj-card-wrap { opacity: 0; animation: fadeUp 0.6s ease forwards; }
.proj-card {
  background: #fff; border-radius: 24px; overflow: hidden;
  transition: all 0.3s; display: flex; flex-direction: column; height: 100%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  border: 1px solid #E5E7EB;
}
.proj-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.06); transform: translateY(-3px); }
.proj-card-img {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  border-radius: 24px 24px 80px 80px; background: var(--soft-gray);
}
.proj-card-img img { width: 100%; height: 100%; object-fit: cover; }
.proj-card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 10;
  padding: 6px 12px; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
}
.proj-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.proj-card-title {
  font-size: 22px; font-weight: 800; color: #111827;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-family: 'Montserrat', sans-serif;
}
.proj-card-title svg { flex-shrink: 0; }
.proj-card-desc { font-size: 14px; color: #6B7280; margin-top: 16px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.proj-card-highlights-title { font-size: 14px; font-weight: 700; color: #111827; margin-top: 16px; }
.proj-card-highlights { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.proj-card-highlight { display: flex; align-items: flex-start; gap: 8px; }
.proj-card-highlight svg { flex-shrink: 0; margin-top: 2px; }
.proj-card-highlight span { font-size: 13px; color: #374151; }
.proj-card-footer { padding-top: 12px; margin-top: 16px; border-top: 1px solid #E5E7EB; }
.proj-card-type { font-size: 13px; color: #9CA3AF; }

/* ─── FILTER TABS ─── */
.filter-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 12px 24px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em; border: 2px solid rgba(26,26,46,0.2);
  background: transparent; color: var(--charcoal); cursor: pointer;
  transition: all 0.3s; font-family: 'Montserrat', sans-serif;
}
.filter-tab:hover { border-color: var(--charcoal); }
.filter-tab.active { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }

/* ─── PROJECT DETAIL ─── */
.proj-detail-hero { position: relative; background: var(--charcoal); color: #fff; padding: 140px 20px 80px; overflow: hidden; }
.proj-detail-hero-bg { position: absolute; inset: 0; opacity: 0.25; }
.proj-detail-hero-inner { position: relative; max-width: var(--max-w); margin: 0 auto; display: grid; gap: 32px; }
@media (min-width: 1024px) {
  .proj-detail-hero-inner { grid-template-columns: 1fr 1fr; align-items: center; }
}
.proj-detail-hero-inner h1 { font-size: clamp(1.8rem, 4vw, 3.5rem); font-weight: 900; }
.proj-status-tag {
  display: inline-block; padding: 6px 16px; border: 2px solid;
  font-size: 11px; font-weight: 800; letter-spacing: 0.25em;
  text-transform: uppercase; margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}
.status-tag-completed { border-color: #22c55e; color: #22c55e; }
.status-tag-ongoing { border-color: var(--primary); color: var(--primary); }
.status-tag-upcoming { border-color: #6B7280; color: #6B7280; }
.summary-grid { display: grid; gap: 12px; max-width: 900px; margin: -40px auto 0; position: relative; z-index: 10; padding: 0 16px; }
@media (min-width: 768px) { .summary-grid { grid-template-columns: repeat(4, 1fr); } }
.summary-card {
  background: #fff; box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border-radius: 8px; padding: 16px; text-align: center;
  border-top: 3px solid var(--primary);
}
.summary-card-icon {
  width: 44px; height: 44px; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; margin: 0 auto 8px;
}
.summary-card-value { font-size: 14px; font-weight: 800; color: var(--charcoal); font-family: 'Montserrat', sans-serif; }
.summary-card-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-top: 4px; }
.spec-card {
  background: #fff; border: 1px solid var(--border); padding: 24px;
  transition: box-shadow 0.3s;
}
.spec-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.spec-card-icon { width: 48px; height: 48px; background: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.bullet-square { color: var(--primary); margin-right: 8px; }
.milestone-timeline { position: relative; }
.milestone-timeline-line { display: none; }
@media (min-width: 1024px) {
  .milestone-timeline-line { display: block; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(255,184,0,0.2); transform: translateX(-50%); }
}
.milestone-item { display: flex; gap: 16px; margin-bottom: 24px; }
.milestone-num {
  width: 48px; height: 48px; background: var(--primary); color: var(--charcoal);
  font-weight: 900; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 14px; font-family: 'Montserrat', sans-serif;
}
.milestone-content {
  flex: 1; background: #fff; border: 1px solid var(--border);
  padding: 16px 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.milestone-content h4 { font-size: 14px; color: var(--charcoal); font-family: 'Montserrat', sans-serif; }
.milestone-content .percent { font-size: 13px; font-weight: 700; color: var(--primary); font-family: 'Montserrat', sans-serif; }
@media (min-width: 640px) {
  .milestone-content .inner { display: flex; align-items: center; justify-content: space-between; }
}

/* ─── CONTACT ─── */
.contact-form-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 32px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--charcoal); margin-bottom: 6px; font-family: 'Montserrat', sans-serif; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  font-size: 14px; transition: border-color 0.3s; background: #fafafa;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ─── MAP PLACEHOLDER ─── */
.map-placeholder {
  aspect-ratio: 16/7; background: var(--soft-gray); display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; cursor: pointer; border-radius: 12px;
  border: 1px solid var(--border); transition: background 0.3s;
}
.map-placeholder:hover { background: #edeae5; }
.map-placeholder svg { color: var(--primary); }
.map-placeholder span { font-size: 14px; font-weight: 600; color: var(--charcoal); font-family: 'Montserrat', sans-serif; }
.map-placeholder p { font-size: 12px; color: var(--muted); text-align: center; max-width: 400px; }

/* ─── ANIMATIONS ─── */
.fade-up { opacity: 0; transform: translateY(30px); animation: fadeUp 0.7s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.slide-left { opacity: 0; transform: translateX(-40px); animation: slideLeft 0.7s ease forwards; }
@keyframes slideLeft { to { opacity: 1; transform: translateX(0); } }
.slide-right { opacity: 0; transform: translateX(40px); animation: slideRight 0.7s ease forwards; }
@keyframes slideRight { to { opacity: 1; transform: translateX(0); } }
.stagger > * { opacity: 0; transform: translateY(20px); }
.stagger > *.visible { animation: fadeUp 0.5s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

[data-animate] { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
[data-animate].in-view { opacity: 1; transform: translateY(0); }
[data-animate="scaleFade"] { opacity: 0; transform: scale(0.95); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
[data-animate="scaleFade"].in-view { opacity: 1; transform: scale(1); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1023px) {
  .header-nav { display: none; }
  .header-cta { display: none; }
  .menu-btn { display: flex; }
  .about-layer-2 { width: 100%; left: 0; }
  .about-layer-3 { width: 260px; height: 200px; }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .section { padding: 48px 16px; }
  .page-hero-inner h1 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layers { height: 400px; }
  .about-layer-1 { width: 120px; height: 80px; }
  .about-layer-2 { width: 100%; height: 300px; left: 0; top: 50%; }
  .about-layer-3 { width: 180px; height: 140px; }
  .mvv-card { padding: 20px; }
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
}
