/* =========================================================
   AMANAH PROPERTIES — STYLESHEET (V2)
   Deep Green + Gold identity. Mobile-first. Tamil-first copy.
   ========================================================= */

:root {
  --deep-green: #075B3A;
  --mid-green: #159447;
  --light-green-bg: #EAF5F0;
  --gold: #E8B63F;
  --white: #FFFFFF;
  --text: #17202A;
  --bg: #F7FAF8;

  --deep-green-rgb: 7, 91, 58;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Noto Sans Tamil', -apple-system, sans-serif;

  --max-width: 1180px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
section { padding: 60px 0; }
@media (min-width: 768px) { section { padding: 92px 0; } }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--deep-green); margin: 0 0 16px; line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 16px; }

.tamil { font-family: 'Noto Sans Tamil', var(--font-body); }

.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: #4B5A52; font-size: 1.05rem; }
.eyebrow-plain { color: var(--mid-green); font-weight: 600; font-size: 0.94rem; margin-bottom: 8px; display: inline-block; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem; border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-whatsapp { background: var(--mid-green); color: var(--white); box-shadow: 0 6px 18px rgba(21,148,71,0.35); }
.btn-whatsapp:hover { background: var(--deep-green); }
.btn-gold { background: var(--gold); color: var(--deep-green); }
.btn-gold:hover { background: #d9a52b; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark { background: transparent; border-color: var(--deep-green); color: var(--deep-green); }
.btn-outline-dark:hover { background: rgba(var(--deep-green-rgb), 0.06); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(247, 250, 248, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(7,91,58,0.08);
  height: var(--header-h);
  display: flex; align-items: center;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand-logo { height: 60px; }
.brand-logo img { height: 100%; width: auto; }

.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.main-nav a { font-weight: 500; font-size: 0.95rem; position: relative; padding: 6px 0; }
.main-nav a.is-active { color: var(--deep-green); font-weight: 700; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--gold); transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { padding: 11px 18px; font-size: 0.9rem; }
.header-actions .btn-whatsapp { display: none; }

.hamburger { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: none; border: none; }
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--deep-green); position: relative; transition: all 0.2s ease;
}
.hamburger span::before { position: absolute; top: -8px; }
.hamburger span::after { position: absolute; top: 8px; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); z-index: 490;
  transform: translateX(100%); transition: transform 0.28s ease; overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { list-style: none; margin: 0; padding: 20px 20px; display: flex; flex-direction: column; }
.mobile-nav a { display: block; padding: 15px 4px; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid rgba(7,91,58,0.08); }
.mobile-nav .header-actions { padding: 20px; flex-direction: column; }
.mobile-nav .header-actions .btn { display: flex; }

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .hamburger, .mobile-nav { display: none; }
  .header-actions .btn-whatsapp { display: inline-flex; }
}

/* ---------- Hero (Poovanthi landing page) ---------- */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  color: var(--white);
  background: linear-gradient(160deg, var(--deep-green) 0%, #0a4a30 60%, #06331f 100%);
  overflow: hidden; padding: 48px 0;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; display: grid; gap: 36px; }
.hero-copy .badge-line {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,182,63,0.16); border: 1px solid rgba(232,182,63,0.5); color: var(--gold);
  font-weight: 600; font-size: 0.85rem; padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 12px; }
.hero .hero-sub-tamil { color: rgba(247,250,248,0.9); font-size: 1.1rem; max-width: 50ch; margin-bottom: 10px; }
.hero .hero-sub-en { color: rgba(247,250,248,0.7); font-size: 0.98rem; margin-bottom: 22px; }
.hero-installment-line {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  padding: 12px 18px; border-radius: var(--radius-sm); margin-bottom: 26px; font-weight: 600; font-size: 0.95rem;
}
.hero-stats { display: flex; gap: 30px; margin-bottom: 26px; }
.hero-stats .stat-num { font-family: var(--font-display); font-size: 2.1rem; color: var(--gold); line-height: 1; }
.hero-stats .stat-label { font-size: 0.85rem; color: rgba(247,250,248,0.75); }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(255,255,255,0.15); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .hero .container { grid-template-columns: 1.05fr 0.95fr; align-items: center; } }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--white); padding: 26px 0; border-bottom: 1px solid rgba(7,91,58,0.08); }
.trust-bar .container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem; color: var(--deep-green); }
.trust-item svg { width: 20px; height: 20px; color: var(--mid-green); flex-shrink: 0; }
@media (min-width: 768px) { .trust-bar .container { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .trust-bar .container { grid-template-columns: repeat(7, 1fr); } }

/* ---------- Stat cards ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.stat-card { background: var(--light-green-bg); border-radius: var(--radius-md); padding: 24px 16px; text-align: center; }
.stat-card .stat-num { font-family: var(--font-display); font-size: 2.2rem; color: var(--deep-green); line-height: 1; }
.stat-card .stat-label { font-size: 0.85rem; color: #4B5A52; margin-top: 6px; }

/* ---------- Card grid (facilities / highlights) ---------- */
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.info-card {
  background: var(--white); border-radius: var(--radius-md); padding: 24px 20px;
  border: 1px solid rgba(7,91,58,0.08); text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.info-card:hover { box-shadow: 0 16px 34px rgba(7,91,58,0.12); transform: translateY(-3px); }
.info-card .icon-emoji { font-size: 2rem; margin-bottom: 10px; display: block; }
.info-card h3 { margin-bottom: 4px; font-size: 1.05rem; }
.info-card p { color: #52616B; font-size: 0.9rem; margin-bottom: 0; }

/* ---------- EMI section ---------- */
.emi-section { background: var(--light-green-bg); }
.emi-steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 16px; counter-reset: emi; }
@media (min-width: 768px) { .emi-steps { grid-template-columns: repeat(5, 1fr); } }
.emi-steps li {
  counter-increment: emi; background: var(--white); border-radius: var(--radius-md);
  padding: 22px 18px; position: relative; border: 1px solid rgba(7,91,58,0.08);
}
.emi-steps li::before {
  content: counter(emi); position: absolute; top: -14px; left: 18px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--deep-green); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
}
.emi-steps li strong { display: block; color: var(--deep-green); margin-bottom: 6px; font-size: 0.98rem; }
.emi-steps li span { font-size: 0.88rem; color: #52616B; }

.calc-card {
  background: var(--white); border-radius: var(--radius-md); padding: 30px 24px;
  box-shadow: 0 20px 50px rgba(7,91,58,0.1); display: grid; gap: 28px; max-width: 960px; margin: 0 auto 26px;
}
@media (min-width: 768px) { .calc-card { grid-template-columns: 1fr 1fr; align-items: start; } }
.calc-field { margin-bottom: 16px; }
.calc-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; color: var(--deep-green); }
.calc-field input, .calc-field select {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1.5px solid rgba(7,91,58,0.18);
  font-size: 1rem; font-family: inherit; background: var(--bg);
}
.calc-field input:focus, .calc-field select:focus { border-color: var(--mid-green); outline: none; }
.calc-results { background: var(--deep-green); border-radius: var(--radius-md); padding: 24px; color: var(--white); }
.calc-results .result-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.14); font-size: 0.95rem; gap: 12px; }
.calc-results .result-row:last-child { border-bottom: none; }
.calc-results .result-row strong { color: var(--gold); font-size: 1.1rem; text-align: right; }
.calc-note { font-size: 0.82rem; color: #7c8a80; margin-top: 12px; }
.calc-premium-note { display: none; background: rgba(232,182,63,0.15); border: 1px solid rgba(232,182,63,0.4); color: #8a6a1a; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 0.88rem; margin-top: 14px; }
.calc-premium-note.is-visible { display: block; }

.measure-card {
  background: var(--white); border-radius: var(--radius-md); padding: 26px 24px;
  border: 1px solid rgba(7,91,58,0.08); max-width: 640px; margin: 0 auto;
}
.measure-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.measure-results div { background: var(--light-green-bg); border-radius: var(--radius-sm); padding: 12px 14px; }
.measure-results .m-label { font-size: 0.8rem; color: #4B5A52; }
.measure-results .m-value { font-weight: 700; color: var(--deep-green); font-size: 1.05rem; }

/* ---------- Pricing zones ---------- */
.pricing-section { background: var(--white); }
.zone-grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin-bottom: 30px; }
@media (min-width: 768px) { .zone-grid { grid-template-columns: repeat(3, 1fr); } }
.zone-card {
  background: var(--light-green-bg); border-radius: var(--radius-md); padding: 28px 24px; text-align: center;
  border-top: 5px solid var(--zone-color, var(--mid-green));
}
.zone-card .zone-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--zone-color, var(--mid-green)); margin: 0 auto 12px; }
.zone-card h3 { margin-bottom: 6px; }
.zone-card .zone-price { font-family: var(--font-display); font-size: 2rem; color: var(--deep-green); }
.zone-card .zone-unit { font-size: 0.85rem; color: #4B5A52; margin-bottom: 18px; }
.layout-preview { border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 20px 50px rgba(7,91,58,0.14); cursor: pointer; }
.layout-preview-caption { text-align: center; color: #4B5A52; font-size: 0.9rem; margin-top: 12px; }

/* ---------- Gallery ---------- */
.gallery-grid { columns: 2; column-gap: 14px; }
.gallery-grid figure { margin: 0 0 14px; break-inside: avoid; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; position: relative; }
.gallery-grid img { transition: transform 0.3s ease; }
.gallery-grid figure:hover img { transform: scale(1.05); }
@media (min-width: 768px) { .gallery-grid { columns: 3; } }

.lightbox {
  position: fixed; inset: 0; background: rgba(7,15,11,0.92); display: none;
  align-items: center; justify-content: center; z-index: 800; padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: var(--radius-sm); }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; background: rgba(255,255,255,0.1); border: none; border-radius: 50%; color: var(--white); font-size: 1.5rem; }

/* ---------- Location ---------- */
.location-section { background: var(--light-green-bg); }
.location-layout { display: grid; gap: 28px; }
.map-frame { border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(7,91,58,0.1); min-height: 280px; }
.map-frame iframe, .map-frame img { width: 100%; height: 100%; min-height: 280px; border: 0; }
@media (min-width: 1024px) { .location-layout { grid-template-columns: 1.2fr 0.8fr; } }

.landmark-groups { display: grid; gap: 20px; margin-top: 30px; }
@media (min-width: 768px) { .landmark-groups { grid-template-columns: repeat(3, 1fr); } }
.landmark-card { background: var(--white); border-radius: var(--radius-md); padding: 22px; border: 1px solid rgba(7,91,58,0.08); }
.landmark-card h4 { color: var(--gold); background: var(--deep-green); display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.82rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 14px; }
.landmark-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.landmark-card li { font-size: 0.92rem; color: var(--text); padding-left: 18px; position: relative; }
.landmark-card li::before { content: "•"; color: var(--mid-green); position: absolute; left: 0; font-weight: 700; }

.qr-card { background: var(--white); border-radius: var(--radius-md); padding: 24px; text-align: center; border: 1px solid rgba(7,91,58,0.08); margin-top: 24px; }
.qr-card img { width: 140px; margin: 0 auto 14px; }

/* ---------- Approvals ---------- */
.approvals-section { background: var(--deep-green); color: var(--white); }
.approvals-section h2 { color: var(--white); }
.approvals-section .section-head p { color: rgba(247,250,248,0.8); }
.approval-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-bottom: 28px; }
@media (min-width: 768px) { .approval-grid { grid-template-columns: repeat(3, 1fr); } }
.approval-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-md); padding: 24px; }
.approval-card .approval-label { font-size: 0.85rem; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.approval-card .approval-value { font-family: var(--font-display); font-size: 1.3rem; }
.approval-docs-note { background: rgba(255,255,255,0.06); border: 1px dashed rgba(255,255,255,0.3); border-radius: var(--radius-md); padding: 20px; text-align: center; color: rgba(247,250,248,0.85); font-size: 0.92rem; }

/* ---------- Site visit ---------- */
.site-visit-section { background: var(--white); }
.site-visit-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .site-visit-layout { grid-template-columns: 1fr 1fr; align-items: center; } }
.site-visit-form { display: grid; gap: 14px; background: var(--light-green-bg); padding: 26px; border-radius: var(--radius-md); }
.site-visit-form label { font-weight: 600; font-size: 0.9rem; color: var(--deep-green); display: block; margin-bottom: 6px; }
.site-visit-form input, .site-visit-form select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid rgba(7,91,58,0.18); font-size: 1rem; font-family: inherit; background: var(--white);
}
.site-visit-form input:focus, .site-visit-form select:focus { border-color: var(--mid-green); outline: none; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card { background: var(--white); border-radius: var(--radius-md); padding: 24px; border: 1px dashed rgba(7,91,58,0.28); }
.testimonial-card .quote-mark { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 6px; }
.testimonial-card p { color: #52616B; font-style: italic; }
.testimonial-card .t-name { font-weight: 700; color: var(--deep-green); font-style: normal; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(7,91,58,0.12); }
.faq-question { width: 100%; background: none; border: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; text-align: left; font-weight: 600; font-size: 1rem; color: var(--deep-green); }
.faq-question .faq-icon { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: rgba(21,148,71,0.1); display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--gold); color: var(--deep-green); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-answer p { padding: 0 4px 18px; color: #52616B; margin: 0; }

/* ---------- Disclaimer bar ---------- */
.disclaimer-bar { background: #EFEFE9; border-top: 1px solid rgba(7,91,58,0.1); padding: 20px 0; }
.disclaimer-bar p { font-size: 0.82rem; color: #5C6660; margin: 0; text-align: center; max-width: 900px; margin: 0 auto; }

/* ---------- Final CTA ---------- */
.final-cta { background: linear-gradient(135deg, var(--deep-green), #0a4a30); color: var(--white); text-align: center; }
.final-cta h2 { color: var(--white); }
.final-cta p { color: rgba(247,250,248,0.86); max-width: 50ch; margin: 0 auto 30px; }
.final-cta .hero-cta-row { justify-content: center; }
.gold-underline { display: block; width: 64px; height: 3px; background: var(--gold); margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer { background: #06331f; color: rgba(247,250,248,0.78); padding: 60px 0 24px; }
.footer-grid { display: grid; gap: 30px; margin-bottom: 36px; }
.footer-logo-chip { display: inline-block; background: var(--white); border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 14px; }
.footer-brand img { height: 44px; display: block; }
.footer-brand p { font-size: 0.9rem; max-width: 34ch; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: 0.94rem; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-dev-note { font-size: 0.85rem; color: rgba(247,250,248,0.65); margin-top: 10px; line-height: 1.6; }
.social-icons { display: flex; gap: 12px; margin-top: 14px; }
.social-icons a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.social-icons svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.83rem; }
.footer-bottom .legal-links { display: flex; gap: 16px; }
.footer-bottom .legal-links a:hover { color: var(--gold); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr 1.2fr; } }

/* ---------- Floating WhatsApp + mobile sticky bar ---------- */
.float-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 600; display: none; align-items: center; gap: 10px;
  background: var(--mid-green); color: var(--white); padding: 14px 20px; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(21,148,71,0.4); font-weight: 600; transition: transform 0.15s ease;
}
.float-whatsapp:hover { transform: translateY(-3px); }
.float-whatsapp svg { width: 24px; height: 24px; }

.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 600; display: flex;
  background: var(--white); box-shadow: 0 -6px 20px rgba(7,91,58,0.15);
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); gap: 8px;
}
.mobile-cta-bar .btn { flex: 1; padding: 12px 6px; font-size: 0.85rem; }

@media (min-width: 1024px) {
  .float-whatsapp { display: inline-flex; }
  .mobile-cta-bar { display: none; }
}

body.nav-open { overflow: hidden; }
body { padding-bottom: 76px; }
@media (min-width: 1024px) { body { padding-bottom: 0; } }

/* Simple inner page (about/contact/privacy/terms) */
.page-hero { background: var(--light-green-bg); padding: 56px 0; text-align: center; }
.page-hero h1 { margin-bottom: 8px; }
.simple-page main { padding: 0 0 40px; }
.simple-page .container.narrow { max-width: 780px; }

.lead-form { display: grid; gap: 16px; }
.lead-form label { font-weight: 600; font-size: 0.9rem; color: var(--deep-green); display: block; margin-bottom: 6px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1.5px solid rgba(7,91,58,0.18); font-size: 1rem; font-family: inherit; background: var(--bg);
}
.lead-form textarea { min-height: 100px; resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--mid-green); outline: none; }
.form-success { display: none; background: rgba(21,148,71,0.09); border: 1px solid rgba(21,148,71,0.3); border-radius: var(--radius-md); padding: 22px; text-align: center; }
.form-success.is-visible { display: block; }

.value-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin: 30px 0; }
@media (min-width: 768px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }

.is-hidden { display: none !important; }

/* ---------- Plot size chart ---------- */
.plot-chart-wrap {
  max-height: 520px; overflow-y: auto; overflow-x: auto;
  border: 1px solid rgba(7,91,58,0.12); border-radius: var(--radius-md);
}
.plot-chart-table { width: 100%; border-collapse: collapse; min-width: 420px; font-size: 0.92rem; }
.plot-chart-table thead th {
  position: sticky; top: 0; z-index: 1;
  background: var(--deep-green); color: var(--white);
  padding: 12px 14px; text-align: left; font-weight: 700; font-size: 0.86rem;
}
.plot-chart-table tbody td { padding: 10px 14px; border-bottom: 1px solid rgba(7,91,58,0.08); }
.plot-chart-table tbody tr:nth-child(even) { background: var(--light-green-bg); }
.plot-chart-table tbody tr:hover { background: rgba(232,182,63,0.12); }
.plot-chart-table td:first-child, .plot-chart-table th:first-child { font-weight: 700; color: var(--deep-green); }

/* ---------- Interactive plot selector ---------- */
.plot-selector-layout { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .plot-selector-layout { grid-template-columns: 1.4fr 1fr; align-items: start; } }

.plot-groups { display: grid; gap: 22px; }
.plot-group { background: var(--white); border-radius: var(--radius-md); padding: 18px 20px; border: 1px solid rgba(7,91,58,0.08); }
.plot-group-title { font-family: var(--font-body); font-size: 0.92rem; font-weight: 700; display: inline-block; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; color: var(--white); }
.plot-group-premium { background: #C0567A; }
.plot-group-a { background: #B08900; }
.plot-group-b { background: var(--mid-green); }
.plot-group-c { background: #2F6FB5; }

.plot-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.plot-chip {
  min-width: 42px; height: 42px; padding: 0 8px;
  border-radius: 8px; border: 1.5px solid rgba(7,91,58,0.18);
  background: var(--bg); color: var(--deep-green); font-weight: 700; font-size: 0.9rem;
  transition: all 0.15s ease;
}
.plot-chip:hover { border-color: var(--mid-green); background: var(--light-green-bg); }
.plot-chip.is-selected { background: var(--deep-green); border-color: var(--deep-green); color: var(--white); }

.plot-detail-panel {
  background: var(--white); border-radius: var(--radius-md); padding: 26px;
  border: 1px solid rgba(7,91,58,0.08); position: sticky; top: calc(var(--header-h) + 16px);
  min-height: 260px; display: flex; align-items: center; justify-content: center;
}
.plot-detail-empty { text-align: center; color: #4B5A52; }
.plot-detail-empty .icon-emoji { font-size: 2.4rem; display: block; margin-bottom: 10px; }
.plot-detail-content { width: 100%; }
.plot-detail-content h3 { margin-bottom: 2px; }
.plot-detail-zone { color: var(--mid-green); font-weight: 600; font-size: 0.92rem; margin-bottom: 0; }
.plot-detail-price {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--deep-green); color: var(--white); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-top: 16px; font-weight: 600;
}
.plot-detail-price strong { color: var(--gold); font-size: 1.15rem; }
