/* ===== Variables ===== */
:root {
  --c-dark: #0e3b2b;
  --c-primary: #14543a;
  --c-primary-light: #1b4a38;
  --c-accent: #2d7a52;
  --c-bg: #f7f6f2;
  --c-bg-alt: #eef1ec;
  --c-text: #1a221e;
  --c-text-light: #5b6b63;
  --c-white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 59, 43, 0.08);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 820px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--c-white);
  color: var(--c-dark);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-light {
  background: rgba(255,255,255,0.08);
  color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.18); }
.btn-ghost {
  background: var(--c-primary-light);
  color: var(--c-white);
}
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 59, 43, 0.96);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--c-white); }
.brand-mark { display: flex; }
.brand-text { font-size: 1.1rem; font-weight: 600; }
.brand-text b { font-weight: 800; }

.main-nav {
  display: flex;
  gap: 26px;
  margin-right: auto;
  margin-left: 12px;
  min-width: 0;
}
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--c-white); }

.header-phone { flex-shrink: 0; padding: 11px 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--c-white); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--c-dark) 0%, #123f2f 100%);
  color: var(--c-white);
  overflow: hidden;
  padding-top: 90px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.62) 45%, rgba(0,0,0,0.88) 100%);
}
.render-tag {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.hero-inner {
  position: relative;
  padding: 70px 24px 90px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #9fd9bb;
  margin-bottom: 18px;
  -webkit-text-stroke: 0.4px rgba(0,0,0,0.9);
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  max-width: 820px;
  -webkit-text-stroke: 0.6px rgba(0,0,0,0.9);
  text-shadow: 0 2px 6px rgba(0,0,0,0.55);
}
.hero-sub {
  margin-top: 22px;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  max-width: 600px;
  -webkit-text-stroke: 0.3px rgba(0,0,0,0.85);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.hero-stats {
  margin-top: 48px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 32px;
  width: 100%;
  max-width: 760px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.hero-stat span {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: 4px;
  -webkit-text-stroke: 0.5px rgba(0,0,0,0.9);
  text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--c-bg-alt); }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.section-title.light { color: var(--c-white); }
.section-lead {
  text-align: center;
  color: var(--c-text-light);
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 1.05rem;
}

/* ===== Grid ===== */
.grid { display: grid; gap: 24px; margin-top: 50px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ===== Problem cards ===== */
.problem-card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.problem-card h3 { font-size: 1.05rem; font-weight: 700; margin: 16px 0 8px; }
.problem-card p { color: var(--c-text-light); font-size: 0.92rem; }

.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #e4efe8;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Feature cards ===== */
.feature-card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--c-accent);
}
.feature-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--c-accent);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--c-text-light); font-size: 0.93rem; }

/* ===== Stats ===== */
.stats-section { background: var(--c-dark); }
.stats-grid { margin-top: 48px; }
.stat-box {
  text-align: center;
  padding: 20px 10px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
}
.stat-num {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--c-white);
}
.stat-label {
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.68);
}

/* ===== Infrastructure ===== */
.infra-grid { margin-top: 48px; }
.infra-card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 26px 14px;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.infra-card span { font-size: 0.88rem; font-weight: 700; }

/* ===== Gallery ===== */
.gallery-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  background: #0003;
}
.gallery-item.span-2 { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

/* ===== Master plan band ===== */
.masterplan-band {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}
.masterplan-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.masterplan-overlay {
  position: relative;
  width: 100%;
  padding: 70px 0 56px;
  background: linear-gradient(180deg, rgba(10,30,22,0) 0%, rgba(8,28,20,0.78) 55%, rgba(8,28,20,0.94) 100%);
  color: var(--c-white);
}
.light-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  max-width: 640px;
  margin-top: 10px;
}
.masterplan-text {
  margin-top: 16px;
  max-width: 560px;
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8,20,16,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--c-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ===== Location ===== */
.location-wrap {
  margin-top: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.location-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(14,59,43,0.1);
  font-size: 0.98rem;
}
.location-list li:last-child { border-bottom: none; }
.location-info .btn { margin-top: 24px; }

/* ===== FAQ ===== */
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--c-white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--c-text);
}
.faq-q span { font-size: 1.3rem; color: var(--c-accent); transition: transform .2s ease; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-a p { padding: 0 24px 20px; color: var(--c-text-light); font-size: 0.94rem; }

/* ===== CTA ===== */
.cta-section { position: relative; background: var(--c-dark); color: var(--c-white); overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,84,58,0.93) 0%, rgba(14,59,43,0.95) 100%);
}
.cta-inner { position: relative; text-align: center; }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; }
.cta-inner p { margin-top: 14px; color: rgba(255,255,255,0.8); font-size: 1.05rem; }
.cta-actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.site-footer { background: #0a2a1f; color: rgba(255,255,255,0.7); padding: 40px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { color: var(--c-white); }
.footer-links { display: flex; gap: 24px; font-size: 0.9rem; }
.footer-links a:hover { color: var(--c-white); }
.footer-copy { width: 100%; font-size: 0.8rem; margin-top: 16px; color: rgba(255,255,255,0.45); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item.span-2 { grid-column: span 2; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding: 50px 20px 60px; }
  .hero-stats { gap: 28px; }
  .section { padding: 64px 0; }
  .header-phone span { display: none; }
  .header-phone { padding: 10px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .header-phone { display: none; }
  .brand-text { font-size: 0.95rem; }
}

/* Mobile nav drawer */
.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--c-dark);
  padding: 20px 24px;
  gap: 16px;
}
