/*
Theme Name: ProdaiSam Razliv Landing
Theme URI: https://prodaisam.online/
Author: OpenAI
Description: One-page landing theme for the 720 m² UPI in s. Razliv.
Version: 1.1.0
Text Domain: prodaisam-razliv
*/

:root {
  --rzl-bg: #f4f0e7;
  --rzl-paper: #fffdf8;
  --rzl-ink: #20251f;
  --rzl-muted: #697064;
  --rzl-green: #4d603c;
  --rzl-green-dark: #2e422a;
  --rzl-gold: #d6bd79;
  --rzl-line: rgba(32, 37, 31, .14);
  --rzl-shadow: 0 20px 60px rgba(37, 45, 34, .12);
  --rzl-radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rzl-bg);
  color: var(--rzl-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.rzl-site {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 9%, rgba(214,189,121,.16), transparent 27rem),
    var(--rzl-bg);
}
.rzl-wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.rzl-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 750; letter-spacing: .09em;
  text-transform: uppercase; color: var(--rzl-green);
}
.rzl-kicker {
  margin: 0 0 14px;
  color: var(--rzl-green); font-weight: 750; letter-spacing: .06em;
  text-transform: uppercase; font-size: 13px;
}
.rzl-section-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.035em;
}
.rzl-lead {
  max-width: 720px;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7; color: #4f574c;
}
.rzl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px;
  text-decoration: none; font-weight: 800; font-size: 15px;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.rzl-btn:hover { transform: translateY(-1px); }
.rzl-btn-primary {
  background: var(--rzl-green-dark); color: #fff;
  box-shadow: 0 10px 26px rgba(46,66,42,.23);
}
.rzl-btn-primary:hover { background: #253820; }
.rzl-btn-ghost { background: rgba(255,255,255,.8); border-color: rgba(255,255,255,.8); color: var(--rzl-green-dark); }
.rzl-icon { width: 22px; height: 22px; flex: 0 0 auto; }

.rzl-hero {
  min-height: 690px;
  display: flex; align-items: center;
  position: relative;
  color: white;
  background:
    linear-gradient(90deg, rgba(20,31,18,.82) 0%, rgba(20,31,18,.56) 38%, rgba(20,31,18,.16) 68%, rgba(20,31,18,.06) 100%),
    url("assets/plot-hero.webp") center/cover no-repeat;
}
.rzl-hero::after {
  content: "";
  position: absolute; inset: auto 0 0; height: 160px;
  background: linear-gradient(transparent, rgba(18,28,17,.38));
  pointer-events: none;
}
.rzl-hero-inner { position: relative; z-index: 2; padding: 86px 0 92px; }
.rzl-hero-card { width: min(680px, 100%); }
.rzl-hero .rzl-eyebrow { color: #f2e7c4; }
.rzl-hero h1 {
  margin: 18px 0 12px;
  max-width: 680px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(47px, 7vw, 82px);
  line-height: .98; font-weight: 500; letter-spacing: -.045em;
}
.rzl-hero-location {
  font-size: clamp(18px, 2vw, 23px); color: rgba(255,255,255,.88);
  margin-bottom: 26px;
}
.rzl-price {
  display: inline-flex; align-items: baseline; gap: 12px;
  margin: 0 0 22px;
  padding: 12px 18px 10px;
  border-radius: 14px;
  background: rgba(246,239,217,.96);
  color: #26321f;
}
.rzl-price strong {
  font-size: clamp(36px, 6vw, 58px); line-height: 1; letter-spacing: -.04em;
}
.rzl-price span { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.rzl-hero-points {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 0 0 30px; padding: 0; list-style: none;
}
.rzl-hero-points li {
  padding: 9px 12px; border-radius: 999px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(7px);
  font-size: 14px; font-weight: 650;
}
.rzl-actions { display: flex; flex-wrap: wrap; gap: 11px; }

.rzl-facts { margin-top: -34px; position: relative; z-index: 5; }
.rzl-facts-grid {
  background: var(--rzl-paper); border: 1px solid rgba(255,255,255,.8);
  border-radius: var(--rzl-radius); box-shadow: var(--rzl-shadow);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden;
}
.rzl-fact { padding: 27px 22px 26px; position: relative; }
.rzl-fact + .rzl-fact::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--rzl-line);
}
.rzl-fact strong { display: block; font-size: 26px; color: var(--rzl-green-dark); line-height: 1.1; margin-bottom: 5px; }
.rzl-fact span { color: var(--rzl-muted); font-size: 14px; }

.rzl-section { padding: 105px 0; }
.rzl-section-tight { padding: 78px 0; }
.rzl-gallery {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
  margin-top: 44px;
}
.rzl-photo {
  overflow: hidden; border-radius: var(--rzl-radius);
  background: #dde2d6; box-shadow: 0 12px 38px rgba(39,50,34,.09);
}
.rzl-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.rzl-photo:hover img { transform: scale(1.018); }
.rzl-photo-main { grid-column: 1 / -1; min-height: 600px; }
.rzl-photo-side { min-height: 380px; }

.rzl-location {
  background: #e8e4d8;
  border-top: 1px solid rgba(46,66,42,.08);
  border-bottom: 1px solid rgba(46,66,42,.08);
}
.rzl-location-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.rzl-route {
  border-radius: 28px; background: #263720; color: white; padding: 34px;
  box-shadow: 0 24px 58px rgba(35,49,30,.16);
}
.rzl-route-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.rzl-route-node {
  padding: 19px 16px; border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px; background: rgba(255,255,255,.07);
}
.rzl-route-node strong { display: block; font-size: 21px; }
.rzl-route-node span { display: block; margin-top: 4px; color: rgba(255,255,255,.67); font-size: 12px; }
.rzl-route-arrow { font-size: 26px; color: var(--rzl-gold); }
.rzl-nearby { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 19px; }
.rzl-chip {
  display: inline-flex; align-items: center; min-height: 34px;
  padding: 0 11px; border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; color: rgba(255,255,255,.86); font-size: 12px;
}

.rzl-details-grid {
  margin-top: 42px;
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rzl-line);
}
.rzl-detail {
  display: grid; grid-template-columns: 48px 1fr; gap: 15px;
  padding: 23px 0; border-bottom: 1px solid var(--rzl-line);
}
.rzl-detail:nth-child(odd) { padding-right: 38px; }
.rzl-detail:nth-child(even) { padding-left: 38px; border-left: 1px solid var(--rzl-line); }
.rzl-detail-icon {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 13px; background: #e5e9df; color: var(--rzl-green-dark);
}
.rzl-detail strong { display: block; font-size: 16px; margin-bottom: 4px; }
.rzl-detail span { color: var(--rzl-muted); font-size: 14px; line-height: 1.45; }

.rzl-contact {
  background:
    linear-gradient(rgba(30,44,25,.92), rgba(30,44,25,.92)),
    url("assets/plot-2.webp") center/cover no-repeat;
  color: white;
}
.rzl-contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.rzl-contact .rzl-section-title { color: white; }
.rzl-contact-copy { color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.7; }
.rzl-contact-note {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.55;
}
.rzl-form {
  padding: 30px; border-radius: 24px; background: var(--rzl-paper); color: var(--rzl-ink);
  box-shadow: 0 24px 65px rgba(0,0,0,.22);
}
.rzl-field { margin-bottom: 17px; }
.rzl-label { display: block; margin: 0 0 7px; font-size: 13px; font-weight: 780; color: #394236; }
.rzl-input, .rzl-select, .rzl-textarea {
  width: 100%; min-height: 50px; padding: 0 14px;
  border: 1px solid #d7dbd2; border-radius: 12px; outline: 0;
  background: white; color: #242a22; font: inherit;
}
.rzl-textarea { min-height: 92px; padding-top: 12px; resize: vertical; }
.rzl-input:focus, .rzl-select:focus, .rzl-textarea:focus { border-color: #7c8b6d; box-shadow: 0 0 0 3px rgba(101,121,83,.12); }
.rzl-consent {
  display: flex; gap: 10px; align-items: flex-start;
  color: #626a5e; font-size: 12px; line-height: 1.5; margin: 3px 0 18px;
}
.rzl-consent input { margin-top: 3px; }
.rzl-form .rzl-btn { width: 100%; border: 0; }
.rzl-alert { margin-bottom: 17px; padding: 13px 14px; border-radius: 12px; font-size: 14px; }
.rzl-alert-success { background: #e2eee0; color: #285126; }
.rzl-alert-error { background: #f6e4de; color: #7a3024; }
.rzl-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.rzl-footer {
  background: #162016; color: rgba(255,255,255,.64);
  padding: 25px 0 90px; font-size: 12px;
}
.rzl-footer-inner { display: flex; gap: 16px; justify-content: space-between; align-items: center; }
.rzl-footer a { color: rgba(255,255,255,.84); }
.rzl-mobilebar { display: none; }

@media (max-width: 900px) {
  .rzl-hero { min-height: 640px; background-position: 58% center; }
  .rzl-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .rzl-fact:nth-child(3)::before { display: none; }
  .rzl-fact:nth-child(n+3) { border-top: 1px solid var(--rzl-line); }
  .rzl-gallery { grid-template-columns: 1fr; }
  .rzl-photo-main { grid-column: auto; min-height: 430px; }
  .rzl-photo-side { min-height: 360px; }
  .rzl-location-grid, .rzl-contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .rzl-details-grid { grid-template-columns: 1fr; }
  .rzl-detail:nth-child(odd), .rzl-detail:nth-child(even) { padding-left: 0; padding-right: 0; border-left: 0; }
}
@media (max-width: 620px) {
  .rzl-wrap { width: min(100% - 26px, 1160px); }
  .rzl-hero { min-height: 680px; background-position: 60% center; }
  .rzl-hero::before {
    content:""; position:absolute; inset:0;
    background: linear-gradient(180deg, rgba(20,31,18,.35), rgba(20,31,18,.77) 58%, rgba(20,31,18,.88));
  }
  .rzl-hero-inner { padding: 72px 0 88px; }
  .rzl-hero h1 { font-size: 50px; }
  .rzl-price strong { font-size: 42px; }
  .rzl-actions { display: grid; }
  .rzl-actions .rzl-btn { width: 100%; }
  .rzl-facts { margin-top: -26px; }
  .rzl-fact { padding: 22px 17px; }
  .rzl-fact strong { font-size: 22px; }
  .rzl-section { padding: 76px 0; }
  .rzl-section-tight { padding: 64px 0; }
  .rzl-photo-main { min-height: 330px; }
  .rzl-photo-side { min-height: 290px; }
  .rzl-route { padding: 24px 18px; }
  .rzl-route-line { grid-template-columns: 1fr; }
  .rzl-route-arrow { transform: rotate(90deg); text-align:center; }
  .rzl-form { padding: 22px 18px; }
  .rzl-footer { padding-bottom: 92px; }
  .rzl-footer-inner { display: block; line-height: 1.7; }
  .rzl-mobilebar {
    position: fixed; z-index: 9999; display: grid; grid-template-columns: 1fr 1fr;
    left: 10px; right: 10px; bottom: 10px;
    background: rgba(255,253,248,.96); border: 1px solid rgba(46,66,42,.14);
    box-shadow: 0 12px 34px rgba(20,30,17,.22);
    border-radius: 16px; padding: 6px; backdrop-filter: blur(12px);
  }
  .rzl-mobilebar a {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 47px; border-radius: 11px; text-decoration: none;
    font-size: 13px; font-weight: 800; color: var(--rzl-green-dark);
  }
  .rzl-mobilebar a:first-child { background: var(--rzl-green-dark); color: white; }
}
