/* ============ LANDPLAN.CO.KE ============ */
:root {
  --dark: #070b07;
  --dark-2: #0d120d;
  --deep: #12351f;
  --deep-2: #17482a;
  --green: #67a83b;
  --green-hover: #78bd48;
  --lime: #a4c639;
  --ink: #101510;
  --muted: #5c665c;
  --line: #e6e9e5;
  --bg: #ffffff;
  --bg-soft: #f6f8f5;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 15px;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
svg { fill: currentColor; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px;
  font-weight: 600; font-size: 14px;
  transition: all .2s ease; border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-hover); }
.btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline-dark { border-color: #d4d9d2; color: var(--ink); background: #fff; }
.btn-outline-dark:hover { border-color: var(--green); color: var(--green); }
.arrow { font-size: 15px; line-height: 1; }
.wa { width: 17px; height: 17px; }

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  color: var(--green); text-transform: uppercase; margin-bottom: 10px;
}
.eyebrow.light { color: var(--lime); }
h2 { font-size: 32px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.muted { color: var(--muted); }

/* ============ TOP BAR ============ */
.topbar { background: var(--dark); border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.topbar-contacts { display: flex; gap: 26px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; color: #b9c1b8; font-size: 12.5px; }
.topbar-item svg { width: 14px; height: 14px; color: var(--green); }
.topbar-item:hover { color: #fff; }
.topbar-socials { display: flex; gap: 8px; }
.topbar-socials a {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #cfd6ce;
  display: inline-flex; align-items: center; justify-content: center;
}
.topbar-socials a svg { width: 13px; height: 13px; }
.topbar-socials a:hover { background: var(--green); color: #fff; }

/* ============ HEADER ============ */
.header { background: var(--dark); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 9px;
  border: 1.5px solid var(--green); color: var(--lime);
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(103,168,59,.08);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { color: #fff; font-weight: 800; font-size: 19px; letter-spacing: .02em; display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.brand-text small { color: var(--lime); font-size: 8.5px; font-weight: 700; letter-spacing: .28em; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav > a, .nav-item { display: inline-flex; align-items: center; height: 34px; }
.nav a { color: #c7cdc5; font-size: 13.5px; font-weight: 500; padding: 6px 0; position: relative; white-space: nowrap; }
.nav a:hover { color: #fff; }
.nav a.active { color: var(--lime); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--lime); border-radius: 2px;
}
.nav a.has-drop::after { content: " \25BE"; font-size: 9px; color: #8b948a; position: static; background: none; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; }

/* ============ HERO ============ */
.hero { background: var(--dark); position: relative; overflow: hidden; }
.hero-media {
  position: absolute; inset: 0;
  background-size: cover; background-position: 72% center;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,8,5,.97) 0%, rgba(5,8,5,.88) 32%, rgba(5,8,5,.45) 58%, rgba(5,8,5,.15) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 90px 0 110px; }
.hero-copy { max-width: 560px; }
.hero-kicker { color: var(--lime); font-size: 13px; font-weight: 600; letter-spacing: .04em; margin-bottom: 16px; }
.hero h1 { color: #fff; font-size: 54px; font-weight: 800; line-height: 1.08; letter-spacing: -.015em; }
.hero h1 .accent { color: var(--lime); }
.hero-sub { color: #c3cac1; margin: 22px 0 30px; max-width: 420px; font-size: 15px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* feature strip */
.feature-strip {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 30px 0 40px;
}
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature-ico {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px;
  border: 1.5px solid rgba(164,198,57,.5); color: var(--lime);
  display: inline-flex; align-items: center; justify-content: center;
}
.feature-ico svg { width: 21px; height: 21px; }
.feature h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.feature p { color: #97a095; font-size: 12.5px; line-height: 1.45; }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; }
.about-copy h2 { margin-bottom: 16px; }
.about-copy .muted { font-size: 14px; }
.stats-card {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: 16px;
  padding: 34px 10px; background: #fff;
  box-shadow: 0 8px 30px rgba(16,21,16,.05);
}
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 12px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-ico {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-soft); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.stat-ico svg { width: 20px; height: 20px; }
.stat strong { font-size: 26px; font-weight: 800; color: var(--ink); }
.stat span:last-child { font-size: 12px; color: var(--muted); }

/* ============ SERVICES ============ */
.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.circle-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid #d4d9d2; background: #fff; color: var(--ink);
  font-size: 18px; cursor: pointer; transition: all .2s;
}
.circle-btn:hover { border-color: var(--green); color: var(--green); }

.services { background: var(--bg-soft); }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(16,21,16,.1); }
.svc-media { position: relative; }
.svc-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.svc-badge {
  position: absolute; left: 14px; bottom: -18px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--deep-2); color: var(--lime);
  display: inline-flex; align-items: center; justify-content: center;
  border: 3px solid #fff;
}
.svc-badge svg { width: 18px; height: 18px; }
.svc-body { padding: 28px 16px 18px; }
.svc-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.svc-body p { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; min-height: 54px; }
.svc-link { font-size: 12.5px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.svc-link:hover { color: var(--green); }

/* ============ FEATURED LAND ============ */
.land-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.land-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.land-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(16,21,16,.1); }
.land-media { position: relative; }
.land-media img { width: 100%; aspect-ratio: 4/3.1; object-fit: cover; }
.tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--green); color: #fff;
  font-size: 9.5px; font-weight: 700; letter-spacing: .08em;
  padding: 5px 10px; border-radius: 5px;
}
.save-btn {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.9); color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.save-btn svg { width: 14px; height: 14px; }
.save-btn:hover { color: var(--green); }
.save-btn.saved { color: var(--green); }
.save-btn.saved svg { fill: var(--green); }
.land-body { padding: 16px; display: block; }
.land-loc { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.land-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.land-price { color: var(--green); font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.land-deed { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.land-deed svg { width: 14px; height: 14px; color: var(--green); }

/* ============ WHY CHOOSE US ============ */
.why { padding-top: 0; }
.why-band {
  background: linear-gradient(100deg, var(--deep) 0%, var(--deep-2) 60%, #133c22 100%);
  border-radius: 18px; padding: 52px 48px;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center;
}
.why-copy h2 { color: #fff; margin-bottom: 14px; font-size: 28px; }
.why-copy p { color: #b9c9b6; font-size: 13.5px; margin-bottom: 24px; max-width: 380px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-ico {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(164,198,57,.55); color: var(--lime);
  display: inline-flex; align-items: center; justify-content: center;
}
.why-ico svg { width: 20px; height: 20px; }
.why-item h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.why-item p { color: #a8bba5; font-size: 12.5px; line-height: 1.5; }

/* ============ PROJECTS ============ */
.projects { padding-top: 24px; }
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.proj { border-radius: var(--radius); overflow: hidden; }
.proj a { display: block; }
.proj img { width: 100%; aspect-ratio: 1/1.05; object-fit: cover; transition: transform .35s ease; }
.proj:hover img { transform: scale(1.05); }

/* ============ TESTIMONIALS ============ */
.testimonials { padding-top: 24px; }
.testi-wrap { display: flex; align-items: center; gap: 18px; }
.circle-btn.side { flex: 0 0 auto; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; flex: 1; }
.testi-card {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  position: relative;
}
.quote { color: var(--green); font-size: 34px; font-weight: 800; line-height: .6; display: block; margin-bottom: 16px; letter-spacing: -.08em; }
.testi-card > p { font-size: 13.5px; color: #3c443c; margin-bottom: 20px; min-height: 80px; }
.testi-foot { display: flex; justify-content: space-between; align-items: flex-end; }
.testi-name { font-size: 13px; font-weight: 700; }
.testi-name small { font-weight: 400; color: var(--muted); }
.stars { color: #f5a623; font-size: 13px; letter-spacing: 2px; }

/* ============ CTA ============ */
.cta { background: linear-gradient(100deg, #1c5a30, #17482a); padding: 44px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.cta p { color: #c4d6c1; font-size: 14px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.footer { background: var(--dark); color: #a7b0a5; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr 1.2fr;
  gap: 40px; padding-top: 60px; padding-bottom: 48px;
}
.footer-brand p { font-size: 13px; margin: 18px 0 20px; max-width: 250px; line-height: 1.6; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #cfd6ce;
  display: inline-flex; align-items: center; justify-content: center;
}
.footer-socials a svg { width: 14px; height: 14px; }
.footer-socials a:hover { background: var(--green); color: #fff; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: 13px; color: #a7b0a5; margin-bottom: 11px; }
.footer-col a:hover { color: var(--lime); }
.footer-contact a, .footer-contact span { display: flex; align-items: center; gap: 9px; }
.footer-contact svg { width: 14px; height: 14px; color: var(--green); flex: 0 0 auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { font-size: 12px; color: #7d867b; }
.footer-bottom a { color: #7d867b; margin-left: 18px; }
.footer-bottom a:hover { color: var(--lime); }
.footer-bottom-inner p:first-child a { margin-left: 4px; color: var(--lime); }
.footer-legal a:first-child { margin-left: 0; }

/* ============ SCROLL REVEAL / ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-1 { transition-delay: .08s; }
.reveal-2 { transition-delay: .16s; }
.reveal-3 { transition-delay: .24s; }
.reveal-4 { transition-delay: .32s; }
.reveal-5 { transition-delay: .4s; }

@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float { animation: floatY 4.5s ease-in-out infinite; }

@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-kicker, .hero h1, .hero-sub, .hero-actions { animation: heroIn .8s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 { animation-delay: .08s; }
.hero-sub { animation-delay: .16s; }
.hero-actions { animation-delay: .24s; }

.header.scrolled { box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.header { transition: box-shadow .25s ease; }

/* ============ NAV DROPDOWNS ============ */
.nav-item { position: relative; }
.nav-item > .dropdown-toggle::after { content: " \25BE"; font-size: 9px; color: #8b948a; }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 230px; background: var(--dark-2); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 8px; box-shadow: 0 20px 40px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease;
  z-index: 60;
}
.nav-item:hover .dropdown-menu, .nav-item.open .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block; padding: 9px 14px; border-radius: 7px;
  font-size: 13px; color: #c7cdc5; white-space: nowrap;
}
.dropdown-menu a:hover { background: rgba(103,168,59,.15); color: #fff; }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  background: linear-gradient(120deg, var(--dark) 0%, var(--deep) 130%);
  padding: 44px 0 40px; position: relative; overflow: hidden;
}
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: #9aa398; margin-bottom: 14px; }
.breadcrumb a { color: #b9c1b8; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb span.sep { color: #5d665b; }
.breadcrumb span.current { color: var(--lime); }
.page-hero h1 { color: #fff; font-size: 36px; font-weight: 800; letter-spacing: -.01em; }
.page-hero p.lead { color: #c3cac1; margin-top: 10px; max-width: 560px; font-size: 14.5px; }

/* ============ LAYOUT: LISTING WITH SIDEBAR ============ */
.listing-layout { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: flex-start; }
.filter-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 90px; }
.filter-box h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.filter-group { margin-bottom: 20px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group label.f-label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.filter-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 9px; cursor: pointer; }
.filter-check input { accent-color: var(--green); width: 15px; height: 15px; }
.filter-range { display: flex; gap: 8px; }
.filter-range input {
  width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 7px; font-size: 12.5px; font-family: inherit;
}
.filter-select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; font-size: 13px; font-family: inherit; background: #fff; color: var(--ink);
}
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.results-bar p { font-size: 13px; color: var(--muted); }
.sort-select { padding: 9px 14px; border: 1px solid var(--line); border-radius: 7px; font-size: 13px; font-family: inherit; background: #fff; }

/* ============ PAGINATION ============ */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--ink);
}
.pagination a:hover { border-color: var(--green); color: var(--green); }
.pagination .current { background: var(--green); color: #fff; border-color: var(--green); }
.pagination .dots { border: 0; color: var(--muted); }

/* ============ DETAIL PAGE LAYOUT ============ */
.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: flex-start; }
.detail-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.detail-gallery .g-main { grid-row: span 2; }
.detail-gallery img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: transform .3s; }
.detail-gallery .g-main img { aspect-ratio: 4/3.4; }
.detail-gallery .g-side img { aspect-ratio: 16/8.3; }
.detail-gallery img:hover { transform: scale(1.03); }
.detail-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 6px; flex-wrap: wrap; }
.detail-title-row h1 { font-size: 26px; font-weight: 800; }
.detail-loc { color: var(--muted); font-size: 13.5px; display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.detail-loc svg { width: 15px; height: 15px; color: var(--green); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 28px; }
.fact { display: flex; flex-direction: column; gap: 4px; }
.fact span.f-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.fact span.f-val { font-size: 16px; font-weight: 700; color: var(--ink); }
.detail-main h2 { font-size: 20px; margin: 32px 0 14px; }
.detail-main h2:first-child { margin-top: 0; }
.detail-main p { color: #3c443c; font-size: 14px; margin-bottom: 14px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.check-list li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink); list-style: none; }
.check-list li svg { width: 16px; height: 16px; color: var(--green); flex: 0 0 auto; }
.sidebar-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: sticky; top: 90px; box-shadow: 0 8px 30px rgba(16,21,16,.06);
}
.sidebar-card .side-price { font-size: 24px; font-weight: 800; color: var(--green); margin-bottom: 4px; }
.sidebar-card .side-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.sidebar-card hr { border: none; border-top: 1px solid var(--line); margin: 18px 0; }
.agent-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.agent-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--deep-2); color: var(--lime);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex: 0 0 auto;
}
.agent-row strong { display: block; font-size: 13.5px; }
.agent-row span { font-size: 12px; color: var(--muted); }
.similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ============ FORMS ============ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 13.5px; color: var(--ink); background: #fff;
  transition: border-color .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--green);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-success {
  display: none; align-items: center; gap: 10px; background: #eef7e8; color: #2f5c1a;
  border: 1px solid #cfe6bc; border-radius: 8px; padding: 14px 16px; font-size: 13.5px; font-weight: 600; margin-top: 16px;
}
.form-success.show { display: flex; }
.form-success svg { width: 18px; height: 18px; color: var(--green); flex: 0 0 auto; }

/* ============ ACCORDION (FAQ) ============ */
.accordion-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.accordion-item summary {
  list-style: none; cursor: pointer; padding: 18px 20px; font-size: 14.5px; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--green); transition: transform .2s; }
.accordion-item[open] summary::after { transform: rotate(45deg); }
.accordion-item .accordion-a { padding: 0 20px 20px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.faq-cat { font-size: 13px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .06em; margin: 34px 0 16px; }
.faq-cat:first-child { margin-top: 0; }

/* ============ TABS / STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { text-align: center; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--deep-2); color: var(--lime);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; margin-bottom: 14px;
}
.step h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 12.5px; color: var(--muted); }

/* ============ TIMELINE ============ */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -32px; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--green); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line);
}
.timeline-item strong { display: block; font-size: 13px; color: var(--green); margin-bottom: 4px; }
.timeline-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.timeline-item p { font-size: 13px; color: var(--muted); }

/* ============ TEAM ============ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { text-align: center; }
.team-avatar {
  width: 100%; aspect-ratio: 1/1; border-radius: 14px; background: linear-gradient(135deg, var(--deep), var(--deep-2));
  display: flex; align-items: center; justify-content: center; color: var(--lime); font-size: 30px; font-weight: 800;
  margin-bottom: 14px;
}
.team-card h4 { font-size: 14.5px; font-weight: 700; }
.team-card span { font-size: 12px; color: var(--muted); }

/* ============ VALUES / ICON GRID ============ */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s; }
.value-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(16,21,16,.1); }
.value-card .why-ico { margin-bottom: 14px; }
.value-card h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 6px; }
.value-card p { font-size: 12.5px; color: var(--muted); }

/* ============ GALLERY / LIGHTBOX ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; cursor: pointer; transition: transform .3s; }
.gallery-grid img:hover { transform: scale(1.03); }
.lightbox {
  position: fixed; inset: 0; background: rgba(5,8,5,.92); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 24px; right: 32px; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; border: 0; font-size: 20px; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

/* ============ ARTICLE / PROSE ============ */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 22px; font-weight: 800; margin: 36px 0 14px; }
.prose h3 { font-size: 17px; font-weight: 700; margin: 26px 0 10px; }
.prose p { font-size: 15px; color: #3c443c; margin-bottom: 16px; line-height: 1.75; }
.prose ul, .prose ol { margin: 0 0 16px 22px; color: #3c443c; font-size: 15px; line-height: 1.75; }
.prose li { margin-bottom: 6px; }
.prose img { border-radius: var(--radius); margin: 24px 0; }
.prose blockquote {
  border-left: 3px solid var(--green); padding: 4px 0 4px 20px; margin: 24px 0;
  font-style: italic; color: var(--ink); font-size: 15.5px;
}
.article-meta { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 12.5px; margin-bottom: 20px; }
.article-meta .a-badge { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; font-weight: 700; color: var(--green); }
.article-hero-img { width: 100%; aspect-ratio: 16/7; object-fit: cover; border-radius: var(--radius); margin-bottom: 30px; }
.share-row { display: flex; align-items: center; gap: 10px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.share-row span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.share-row a {
  width: 34px; height: 34px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink);
}
.share-row a:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ============ BLOG CARD ============ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(16,21,16,.1); }
.blog-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.blog-body { padding: 20px; }
.blog-cat { font-size: 11px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.blog-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.blog-body p { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

/* ============ SCROLLABLE ROW (optional carousel) ============ */
[data-scroll] { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
[data-scroll]::-webkit-scrollbar { display: none; }
[data-scroll] > * { scroll-snap-align: start; flex: 0 0 270px; }

/* ============ STATUS TAGS ============ */
.tag-ongoing { background: #b8860020; color: #a86500; }
.tag-ongoing, .tag-completed, .tag-soldout { position: absolute; top: 12px; left: 12px; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; padding: 5px 10px; border-radius: 5px; }
.tag-completed { background: rgba(103,168,59,.15); color: var(--green); }
.tag-soldout { background: rgba(16,21,16,.08); color: var(--muted); }

/* ============ RESPONSIVE (component additions) ============ */
@media (max-width: 1024px) {
  .listing-layout, .detail-layout { grid-template-columns: 1fr; }
  .filter-box, .sidebar-card { position: static; }
  .team-grid, .values-grid, .steps { grid-template-columns: 1fr 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid, .similar-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .detail-gallery { grid-template-columns: 1fr; }
  .detail-gallery .g-main { grid-row: auto; }
  .check-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .team-grid, .values-grid, .steps, .blog-grid, .similar-grid { grid-template-columns: 1fr; }
  .form-field.full, .form-grid .form-field { grid-column: 1 / -1; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .land-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-band { grid-template-columns: 1fr; padding: 40px 32px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 44px; }
}
@media (max-width: 768px) {
  .topbar-contacts .topbar-item:nth-child(2), .topbar-contacts .topbar-item:nth-child(3) { display: none; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--dark-2); flex-direction: column; padding: 18px 24px; gap: 14px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-item { width: 100%; }
  .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    display: none; box-shadow: none; border: 0; background: transparent;
    padding: 4px 0 4px 14px; min-width: 0;
  }
  .nav-item.open .dropdown-menu { display: block; }
  .nav-item:hover .dropdown-menu { display: none; }
  .nav-item.open:hover .dropdown-menu { display: block; }
  .header-inner .btn { display: none; }
  .hero h1 { font-size: 36px; }
  .hero-inner { padding: 60px 0 70px; }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .stats-card { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .stat:nth-child(3) { border-left: 0; }
  .testi-grid { grid-template-columns: 1fr; }
  .circle-btn.side { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  h2 { font-size: 26px; }
}
@media (max-width: 520px) {
  .services-grid, .land-grid, .projects-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: 1fr; }
}
