/* ==========================================================================
   Земля · Култаево — лендинг продажи участков
   Палитра: природная зелень + земля + золото (акцент цены/CTA)
   Mobile-first, без фреймворков
   ========================================================================== */

:root {
  --ink: #16241d;
  --ink-soft: #2c4034;
  --green: #2f6b4f;
  --green-deep: #234f3b;
  --green-light: #e7f0ea;
  --gold: #c1892b;
  --gold-soft: #e9b44c;
  --cream: #f7f4ed;
  --sand: #efe8da;
  --line: #e2dccd;
  --white: #ffffff;
  --muted: #6a7871;
  --danger: #b5462f;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(22, 36, 29, .06);
  --shadow: 0 10px 34px rgba(22, 36, 29, .12);
  --shadow-lg: 0 24px 60px rgba(22, 36, 29, .20);
  --maxw: 1160px;
  --font-body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }

.section { padding: 76px 0; }
.section--tight { padding: 56px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.section-title { font-size: clamp(28px, 5vw, 44px); color: var(--ink); }
.section-lead { font-size: 18px; color: var(--ink-soft); max-width: 620px; margin-top: 16px; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px;
  padding: 15px 28px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #3a2708; box-shadow: 0 10px 26px rgba(193, 137, 43, .34); }
.btn--gold:hover { box-shadow: 0 14px 32px rgba(193, 137, 43, .46); transform: translateY(-2px); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,.24); }
.btn--outline { background: transparent; color: var(--green-deep); border: 1.5px solid var(--green); }
.btn--outline:hover { background: var(--green-light); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: 17px; }

/* ---- Header ------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 237, .86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__row { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); }
.logo__mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  display: grid; place-items: center; color: #fff; font-size: 18px;
}
.logo__sub { font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.nav { display: none; gap: 28px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .15s; }
.nav a:hover { color: var(--green); }
.header__phone { display: none; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; color: var(--ink); }
.header__phone span { font-size: 11px; color: var(--muted); font-weight: 500; display: block; }
.header__cta { display: inline-flex; }

@media (min-width: 900px) {
  .nav { display: flex; }
  .header__phone { display: flex; }
  .header__cta { display: none; }
}
@media (max-width: 480px) {
  .logo { font-size: 15px; white-space: nowrap; }
  .logo__mark { width: 30px; height: 30px; font-size: 15px; }
  .logo__sub { display: none; }
  .logo br { display: none; }
  .header__cta { padding: 11px 16px; font-size: 14px; }
}

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,28,21,.62) 0%, rgba(15,28,21,.5) 40%, rgba(15,28,21,.82) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-top: 60px; padding-bottom: 72px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  backdrop-filter: blur(4px); margin-bottom: 24px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 0 4px rgba(233,180,76,.28); }
.hero h1 { font-size: clamp(34px, 7.4vw, 68px); margin-bottom: 18px; text-shadow: 0 2px 24px rgba(0,0,0,.28); }
.hero h1 .accent { color: var(--gold-soft); }
.hero__sub { font-size: clamp(17px, 2.4vw, 21px); max-width: 560px; color: rgba(255,255,255,.92); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; max-width: 640px; }
.stat__num { font-family: var(--font-display); font-size: clamp(26px, 5vw, 38px); font-weight: 700; color: #fff; line-height: 1; }
.stat__num .u { font-size: .5em; color: var(--gold-soft); }
.stat__label { font-size: 13.5px; color: rgba(255,255,255,.78); margin-top: 6px; }

@media (min-width: 720px) {
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Trust strip -------------------------------------------------------- */
.trust { background: var(--ink); color: #fff; }
.trust__row { display: grid; grid-template-columns: 1fr; gap: 18px; padding-top: 26px; padding-bottom: 26px; }
.trust__item { display: flex; align-items: center; gap: 13px; font-size: 15px; }
.trust__item .ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.09); display: grid; place-items: center; color: var(--gold-soft); }
.trust__item b { font-weight: 600; }
.trust__item small { display: block; color: rgba(255,255,255,.62); font-size: 13px; }
@media (min-width: 760px) { .trust__row { grid-template-columns: repeat(4, 1fr); } }

/* ---- Features ----------------------------------------------------------- */
.features { background: var(--white); }
.feat-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 40px; }
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .2s ease, box-shadow .2s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat__ic { width: 50px; height: 50px; border-radius: 13px; background: var(--green-light); color: var(--green-deep); display: grid; place-items: center; margin-bottom: 16px; font-size: 24px; }
.feat h3 { font-size: 20px; margin-bottom: 8px; color: var(--ink); }
.feat p { font-size: 15.5px; color: var(--ink-soft); }
.feat--note { background: #fbf6ea; border-color: #ecdcb8; }
.feat--note .feat__ic { background: #f6e6c2; color: var(--gold); }

/* ---- Catalog ------------------------------------------------------------ */
.catalog { background: var(--sand); }
.cat-highlights { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 40px 0 46px; }
@media (min-width: 760px) { .cat-highlights { grid-template-columns: repeat(3, 1fr); } }
.plot-card {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  padding: 28px 26px; position: relative; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column;
}
.plot-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.plot-card--hit { border-color: var(--gold); box-shadow: 0 14px 40px rgba(193,137,43,.16); }
.plot-card__tag { position: absolute; top: -12px; left: 26px; background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #3a2708; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 13px; border-radius: 999px; }
.plot-card__area { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--ink); }
.plot-card__area small { font-size: 16px; color: var(--muted); font-family: var(--font-body); font-weight: 500; }
.plot-card__price { font-size: 26px; font-weight: 700; color: var(--green-deep); margin: 6px 0 4px; }
.plot-card__per { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.plot-card ul { list-style: none; margin-bottom: 22px; display: grid; gap: 9px; }
.plot-card li { display: flex; gap: 9px; font-size: 15px; color: var(--ink-soft); }
.plot-card li::before { content: "✓"; color: var(--green); font-weight: 700; }
.plot-card .btn { margin-top: auto; }

/* Full table */
.cat-table-wrap { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); }
.cat-table-head { padding: 22px 24px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; justify-content: space-between; }
.cat-table-head h3 { font-size: 21px; }
.cat-table-head span { font-size: 14px; color: var(--muted); }
.cat-scroll { overflow-x: auto; }
table.plots { width: 100%; border-collapse: collapse; min-width: 560px; }
table.plots th, table.plots td { text-align: left; padding: 14px 18px; font-size: 15px; border-bottom: 1px solid var(--line); }
table.plots th { background: var(--cream); font-weight: 600; color: var(--ink-soft); font-size: 13px; letter-spacing: .03em; text-transform: uppercase; }
table.plots tr:last-child td { border-bottom: none; }
table.plots td.area { font-weight: 600; }
table.plots td.price { font-weight: 700; color: var(--green-deep); white-space: nowrap; }
table.plots .rr { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; font-size: 14px; }
table.plots .rr:hover { text-decoration: underline; }
.cat-combine { margin-top: 22px; background: var(--green-light); border-radius: var(--radius-sm); padding: 18px 22px; font-size: 15.5px; color: var(--green-deep); display: flex; gap: 12px; align-items: flex-start; }
.cat-combine b { font-weight: 700; }

/* ---- Calculator --------------------------------------------------------- */
.calc { background: var(--green-deep); color: #fff; }
.calc__grid { display: grid; grid-template-columns: 1fr; gap: 34px; margin-top: 40px; align-items: center; }
@media (min-width: 900px) { .calc__grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.calc__panel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 30px 28px; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.calc__row .lbl { font-size: 15px; color: rgba(255,255,255,.82); }
.calc__row .val { font-size: 19px; font-weight: 700; }
.calc select, .calc input[type=range] { width: 100%; }
.calc select {
  appearance: none; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24);
  color: #fff; padding: 13px 16px; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 16px; margin-bottom: 24px;
}
.calc select option { color: #16241d; }
.range-label { display: flex; justify-content: space-between; font-size: 14px; color: rgba(255,255,255,.72); margin: 26px 0 10px; }
input[type=range] {
  -webkit-appearance: none; height: 6px; border-radius: 6px; background: rgba(255,255,255,.22); outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-soft); border: 4px solid #fff; cursor: pointer; box-shadow: 0 3px 10px rgba(0,0,0,.3);
}
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--gold-soft); border: 4px solid #fff; cursor: pointer; }
.calc__result { text-align: center; padding: 8px 0; }
.calc__result .cap { font-size: 15px; color: rgba(255,255,255,.75); }
.calc__pay { font-family: var(--font-display); font-size: clamp(48px, 10vw, 76px); font-weight: 700; color: var(--gold-soft); line-height: 1; margin: 8px 0; }
.calc__pay small { font-size: .3em; color: rgba(255,255,255,.8); font-family: var(--font-body); }
.calc__meta { font-size: 15px; color: rgba(255,255,255,.82); margin-bottom: 26px; }
.calc__pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.calc__pill { background: rgba(255,255,255,.1); border-radius: 999px; padding: 8px 15px; font-size: 13.5px; }
.calc__pill b { color: var(--gold-soft); }

/* ---- Gallery ------------------------------------------------------------ */
.gallery { background: var(--white); }
.gal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; }
@media (min-width: 760px) { .gal-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; } }
.gal-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; aspect-ratio: 4/3; }
@media (min-width: 760px) { .gal-item img { aspect-ratio: auto; } }
.gal-item:hover img { transform: scale(1.06); }
.gal-item__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; font-size: 13.5px; font-weight: 500; color: #fff; background: linear-gradient(transparent, rgba(15,28,21,.78)); }
.gal-item.big { grid-column: span 2; grid-row: span 2; }

/* ---- Map / location ----------------------------------------------------- */
.location { background: var(--cream); }
.loc-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 40px; }
@media (min-width: 900px) { .loc-grid { grid-template-columns: 1.15fr .85fr; } }
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 340px; background: var(--sand); }
.map-box iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.loc-facts { display: grid; gap: 14px; align-content: start; }
.loc-fact { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.loc-fact .ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; background: var(--green-light); color: var(--green-deep); display: grid; place-items: center; font-size: 20px; }
.loc-fact b { display: block; font-size: 16px; margin-bottom: 3px; }
.loc-fact span { font-size: 14.5px; color: var(--ink-soft); }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { background: var(--white); }
.faq-list { max-width: 800px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 44px 22px 0; font-family: var(--font-body); font-size: 18px; font-weight: 600; color: var(--ink); position: relative; }
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--green); transition: transform .25s; }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 22px; font-size: 16px; color: var(--ink-soft); max-width: 720px; }

/* ---- Lead form ---------------------------------------------------------- */
.lead { background: linear-gradient(160deg, var(--ink) 0%, var(--green-deep) 100%); color: #fff; }
.lead__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .lead__grid { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; } }
.lead h2 { font-size: clamp(28px, 5vw, 42px); }
.lead__lead { font-size: 18px; color: rgba(255,255,255,.85); margin: 16px 0 26px; }
.lead__contacts { display: grid; gap: 14px; }
.lead__c { display: flex; gap: 13px; align-items: center; font-size: 16px; }
.lead__c .ic { width: 44px; height: 44px; border-radius: 11px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--gold-soft); flex: 0 0 auto; }
.lead__c small { display: block; color: rgba(255,255,255,.6); font-size: 13px; }
.lead__c a { font-weight: 600; }
.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 23px; margin-bottom: 6px; }
.form-card .sub { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 16px; color: var(--ink); background: var(--cream); transition: border-color .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.field textarea { resize: vertical; min-height: 84px; }
.form-consent { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.form-consent a { color: var(--green); text-decoration: underline; }
.form-msg { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 15px; display: none; }
.form-msg.ok { display: block; background: var(--green-light); color: var(--green-deep); }
.form-msg.err { display: block; background: #fbe7e2; color: var(--danger); }

/* ---- Footer ------------------------------------------------------------- */
.footer { background: #0f1c15; color: rgba(255,255,255,.72); padding: 50px 0 30px; font-size: 14.5px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 12px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 15px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .05em; }
.footer a:hover { color: var(--gold-soft); }
.footer__list { display: grid; gap: 9px; }
.footer__bottom { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.5); }
.footer__bottom a { text-decoration: underline; }

/* ---- Sticky mobile CTA -------------------------------------------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247,244,237,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
.sticky-cta .btn { flex: 1; padding: 13px 18px; font-size: 15px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
body { padding-bottom: 74px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }

/* ---- Reveal on scroll --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .feat:hover, .plot-card:hover, .btn:hover, .gal-item:hover img { transform: none; }
}
