/*
   Red Sandal Farm Land Projects AP , style.css
   Palette drawn from the plantations themselves:
   leaf green, laterite soil, heartwood maroon, open sky.
*/
:root {
  --green-900: #143d1f;
  --green-700: #1e6b34;
  --green-600: #2a8a45;
  --green-100: #e7f3ea;
  --heartwood: #8a1f1f;      /* the colour of red sanders heartwood + logo */
  --heartwood-dark: #6e1717;
  --soil: #b65c2e;           /* laterite soil accent, used sparingly */
  --sand: #faf7f1;           /* warm page background */
  --ink: #1f261f;
  --ink-soft: #4c564c;
  --line: #e3ddd2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 61, 31, 0.10);
  --font-display: "Bitter", Georgia, serif;
  --font-body: "Public Sans", "Noto Sans Telugu", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  font-size: 1.02rem;
}
h1, h2, h3, .display-font { font-family: var(--font-display); color: var(--green-900); font-weight: 700; letter-spacing: -0.01em; }
h1 { line-height: 1.15; }
h2 { line-height: 1.2; }
a { color: var(--green-700); }
a:hover { color: var(--green-900); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--heartwood); outline-offset: 2px; border-radius: 4px; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--heartwood); margin-bottom: .6rem;
}
.section { padding: 4.5rem 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-green { background: linear-gradient(160deg, var(--green-900), var(--green-700)); color: #f2f7f2; }
.section-green h2, .section-green h3 { color: #fff; }
.lead-narrow { max-width: 720px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--green-900); color: #dceadf; font-size: .85rem;
}
.topbar a { color: #eaf4ec; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.navbar { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.navbar-brand img { height: 46px; width: auto; }
.navbar .nav-link { color: var(--ink); font-weight: 600; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--green-700); }
.lang-switch {
  border: 1.5px solid var(--green-700); color: var(--green-700); border-radius: 999px;
  padding: .3rem .9rem; font-weight: 700; font-size: .85rem; text-decoration: none; white-space: nowrap;
}
.lang-switch:hover { background: var(--green-700); color: #fff; }

/* ---------- Buttons ---------- */
.btn-heartwood {
  background: var(--heartwood); border-color: var(--heartwood); color: #fff; font-weight: 700;
  border-radius: 999px; padding: .7rem 1.5rem;
}
.btn-heartwood:hover, .btn-heartwood:focus { background: var(--heartwood-dark); border-color: var(--heartwood-dark); color: #fff; }
.btn-leaf {
  background: var(--green-700); border-color: var(--green-700); color: #fff; font-weight: 700;
  border-radius: 999px; padding: .7rem 1.5rem;
}
.btn-leaf:hover, .btn-leaf:focus { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.btn-outline-leaf {
  border: 2px solid var(--green-700); color: var(--green-700); font-weight: 700; border-radius: 999px; padding: .65rem 1.4rem;
}
.btn-outline-leaf:hover { background: var(--green-700); color: #fff; }
.btn-wa { background: #1fa855; border-color: #1fa855; color: #fff; font-weight: 700; border-radius: 999px; padding: .7rem 1.5rem; }
.btn-wa:hover { background: #17843f; color: #fff; }

/* ---------- Hero ---------- */
.hero { background: #fff; padding: 4rem 0 3rem; overflow: hidden; }
.hero .hero-title { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.hero .price-band {
  background: linear-gradient(120deg, var(--green-700), var(--green-600));
  color: #fff; border-radius: var(--radius); padding: 1.2rem 1.5rem; box-shadow: var(--shadow);
}
.hero-img-wrap { position: relative; }
.hero-img-wrap img { border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; width: 100%; aspect-ratio: 4/5; }
.hero-img-wrap::after {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 55%; height: 55%;
  border: 3px solid var(--heartwood); border-radius: var(--radius); z-index: -1;
}
.trust-strip { background: var(--green-900); color: #eaf4ec; }
.trust-strip .item { padding: 1.1rem .5rem; font-weight: 600; font-size: .92rem; }
.trust-strip svg { color: #9fd7ae; }

/* ---------- Cards ---------- */
.feature-card {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green-600);
  border-radius: 10px; padding: 1.4rem; height: 100%; transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.feature-card p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-size: 2.3rem; font-weight: 800; color: var(--heartwood); line-height: 1; }
.stat .lbl { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- Plot table ---------- */
.plot-table th { background: var(--green-900); color: #fff; font-weight: 700; white-space: nowrap; }
.plot-table td { vertical-align: middle; }
.plot-table .highlight { color: var(--heartwood); font-weight: 800; }
.disclaimer-box {
  background: #fdf6ec; border: 1px solid #eadfc8; border-left: 4px solid var(--soil);
  border-radius: 10px; padding: 1rem 1.2rem; font-size: .9rem; color: #6b5a3d;
}

/* ---------- Growth timeline (signature element) ---------- */
.growth-line { position: relative; padding-left: 0; }
.growth-line::before {
  content: ""; position: absolute; left: 0; right: 0; top: 58px; height: 3px;
  background: linear-gradient(90deg, var(--green-600), var(--heartwood));
}
.growth-stage { text-align: center; position: relative; padding-top: 0; }
.growth-stage .dot {
  width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--green-600);
  margin: 49px auto 12px;
}
.growth-stage:last-child .dot { border-color: var(--heartwood); }
.growth-stage .yr { font-family: var(--font-display); font-weight: 800; color: var(--green-900); }
.growth-stage .tree { font-size: 1.7rem; line-height: 1; height: 40px; display:flex; align-items:flex-end; justify-content:center; }
.growth-stage p { font-size: .85rem; color: var(--ink-soft); }

/* ---------- Calculator ---------- */
.calc-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; }
.calc-result { background: var(--green-100); border-radius: 10px; padding: 1.2rem; }
.calc-result .value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--green-900); }

/* ---------- Gallery ---------- */
.gallery-grid img {
  border-radius: 10px; object-fit: cover; width: 100%; aspect-ratio: 1/1;
  transition: transform .3s ease; display: block;
}
.gallery-grid a:hover img { transform: scale(1.03); }
.gallery-grid figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .4rem; }

/* ---------- FAQ ---------- */
.accordion-button { font-weight: 700; color: var(--green-900); }
.accordion-button:not(.collapsed) { background: var(--green-100); color: var(--green-900); box-shadow: none; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; }
.form-control:focus, .form-select:focus { border-color: var(--green-600); box-shadow: 0 0 0 .2rem rgba(42,138,69,.18); }

/* ---------- Footer ---------- */
.footer { background: #102515; color: #c9d8cc; padding: 3.5rem 0 1.5rem; font-size: .93rem; }
.footer h3 { color: #fff; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1rem; }
.footer a { color: #c9d8cc; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .45rem; }
.footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .82rem; color: #9db3a1; }

/* ---------- Floating actions ---------- */
.float-stack { position: fixed; right: 18px; bottom: 18px; z-index: 1050; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.25); border: none;
}
.float-wa { background: #1fa855; }
.float-call { background: var(--heartwood); }
.float-top { background: var(--green-900); opacity: 0; pointer-events: none; transition: opacity .3s; }
.float-top.show { opacity: 1; pointer-events: auto; }
.float-btn:hover { color: #fff; filter: brightness(1.1); }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: var(--green-900); display: none; }
.sticky-cta a { flex: 1; text-align: center; color: #fff; font-weight: 700; padding: .8rem .4rem; text-decoration: none; font-size: .9rem; }
.sticky-cta a + a { border-left: 1px solid rgba(255,255,255,.2); }
@media (max-width: 767px) { .sticky-cta { display: flex; } body { padding-bottom: 52px; } .float-stack { bottom: 68px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Breadcrumbs ---------- */
.breadcrumb { font-size: .85rem; }
.breadcrumb a { text-decoration: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(160deg, var(--green-900), var(--green-700)); color: #fff; padding: 3.2rem 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.page-hero p { color: #d9eadd; max-width: 760px; }
