/* Kolkhoz.IO — лендинг контроллера микроклимата (объединенная версия) */
:root{
  --bg:#0b0f1a;
  --panel:#0f172a;
  --muted:#cbd5e1;
  --text:#e2e8f0;
  --brand:#34D399; /* emerald-400 */
  --brand-strong:#10B981; /* emerald-500 */
  --accent:#60A5FA; /* blue-400 */
  --warning:#F59E0B;
  --danger:#EF4444;
  --radius:16px;
  --shadow:0 10px 30px rgba(0,0,0,.25);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, Apple Color Emoji, Segoe UI Emoji;
  color:var(--text); background:radial-gradient(1200px 600px at 80% -10%, #1e293b 0, transparent 60%), var(--bg);
  line-height:1.6; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
.container{width:min(1120px, 92vw); margin-inline:auto}
a{color:var(--brand); text-decoration:none}
a:hover{text-decoration:underline}
.btn{
  display:inline-flex; gap:.6rem; align-items:center; justify-content:center;
  background:linear-gradient(180deg, var(--brand), var(--brand-strong));
  color:#06281c; font-weight:700; padding:.9rem 1.2rem; border-radius:12px; border:0; cursor:pointer;
  box-shadow:0 6px 16px rgba(16,185,129,.35);
  transition:.2s transform ease, .2s box-shadow ease, .2s filter ease;
}
.btn:hover{transform:translateY(-1px); box-shadow:0 10px 20px rgba(16,185,129,.35); filter:saturate(1.05)}
.btn.secondary{background:#1f2937; color:var(--text); box-shadow:0 6px 14px rgba(0,0,0,.3)}
.btn.ghost{background:transparent; color:var(--text); border:1px solid #334155}
.tag{
  display:inline-flex; align-items:center; gap:.4rem; padding:.35rem .65rem; border:1px solid #334155; border-radius:999px; color:#cbd5e1; font-size:.85rem;
  background:rgba(2,6,23,.6); backdrop-filter: blur(6px);
}
header.hero{
  position:relative; overflow:hidden; padding:2.2rem 0 3rem; border-bottom:1px solid #1e293b;
  background:
   radial-gradient(600px 300px at 10% -10%, rgba(96,165,250,.15), transparent 60%),
   radial-gradient(600px 300px at 90% 10%, rgba(52,211,153,.12), transparent 60%);
}
.nav{display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:2rem}
.nav .menu{display:flex; gap:1rem; flex-wrap:wrap}
.nav a{color:#cbd5e1}
.brand{display:flex; gap:.75rem; align-items:center}
.brand img{height:32px; width:auto}
.brand b{font-size:1.05rem; letter-spacing:.4px}
.hero-grid{
  display:grid; grid-template-columns: 1.05fr .95fr; gap:2rem; align-items:center;
}
@media (max-width:900px){ .hero-grid{grid-template-columns:1fr} }
.kard{
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.0));
  border:1px solid #1e293b; border-radius:var(--radius); box-shadow:var(--shadow); padding:1.1rem;
}
.hero-image{
  width:100%; height:auto; border-radius:12px; box-shadow:var(--shadow);
}
h1{font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); line-height:1.1; margin:0 0 .5rem; letter-spacing:.2px}
h2{font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); margin:0 0 1rem}
h3{font-size:1.1rem; margin:.2rem 0}
.lead{font-size:1.1rem; color:#cbd5e1}
.hero-points{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:.75rem 1rem; margin:.8rem 0}

/* Egg production highlight */
.egg-production-highlight {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(96, 165, 250, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  padding: 1.2rem;
  margin: 1.5rem 0;
}

.egg-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
}

.egg-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.egg-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.egg-label {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-top: 0.3rem;
}

.egg-quote {
  font-style: italic;
  color: #e2e8f0;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 768px) {
  .egg-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .egg-number {
    font-size: 1.5rem;
  }
}
.hero-points div{display:flex; gap:.6rem; align-items:flex-start}
.hero-points svg{flex:0 0 auto; margin-top:.25rem}
.hero-cta{display:flex; gap:.8rem; flex-wrap:wrap; margin-top:1rem}
.panel{padding:2.2rem 0}
.grid-3{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:1rem}
@media (max-width:900px){ .grid-3{grid-template-columns:1fr} }
.card{background:#0b1220; border:1px solid #1f2937; border-radius:14px; padding:1rem}
.card h3{margin:.3rem 0 .4rem}
.icon{width:24px;height:24px}
.kpi{display:flex; gap:1.2rem; flex-wrap:wrap; margin-top:.8rem}
.kpi .item{background:#0b1220; border:1px dashed #334155; border-radius:12px; padding:.6rem .8rem}
.section-head{display:flex; align-items:end; justify-content:space-between; gap:1rem; margin-bottom:1.2rem}
.checklist{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:.6rem 1rem}
@media (max-width:900px){ .checklist{grid-template-columns:1fr} }
.pricing{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:1rem}
@media (max-width:900px){ .pricing{grid-template-columns:1fr} }
.tier{background:linear-gradient(180deg, rgba(16,185,129,.06), rgba(255,255,255,0)); border:1px solid #1f2937; border-radius:16px; padding:1rem}
.tier h3{margin:.25rem 0 .75rem}
.tier ul{margin:0; padding-left:1rem}
.tier .price{font-size:1.4rem; font-weight:800; margin:.4rem 0}
.badge{background:#064e3b; color:#a7f3d0; border:1px solid #065f46; border-radius:999px; padding:.25rem .55rem; font-size:.75rem}
.faq dt{font-weight:700; margin:.9rem 0 .3rem}
.faq dd{margin:0 0 .4rem; color:#cbd5e1}
.footer{padding:2rem 0; border-top:1px solid #132036; color:#9fb0c4; font-size:.95rem}
.sticky-cta{position:fixed; right:16px; bottom:16px; left:16px; display:flex; justify-content:center; pointer-events:none}
.sticky-cta .wrap{pointer-events:auto; display:flex; gap:.6rem; background:#0b1220; border:1px solid #1f2937; border-radius:999px; padding:.35rem; box-shadow:var(--shadow)}
.sticky-cta .wrap .btn{padding:.65rem .9rem}
small.helper{color:#9fb0c4}
.form{display:grid; gap:.6rem}
.form input, .form textarea{
  width:100%; padding:.8rem .9rem; border-radius:10px; border:1px solid #334155; outline:none; background:#0b1220; color:var(--text)
}
.form input:focus, .form textarea:focus{border-color:#475569}
.note{font-size:.85rem; color:#9fb0c4}
footer a{color:#9fb0c4}
/* ROI calculator */
.calculator{display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:1rem}
@media(max-width:900px){.calculator{grid-template-columns:1fr}}
.box{background:#0b1220; border:1px solid #1f2937; border-radius:14px; padding:1rem}
.result{font-size:1.3rem; font-weight:800}

/* Feature image */
.feature-image{
  width:100%; max-width:700px; height:auto; display:block; margin:2rem auto 0; border-radius:16px; box-shadow:var(--shadow);
}

/* Hardware gallery */
.hardware-gallery {
  margin-top: 2rem;
}

.hardware-gallery h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--brand);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.gallery-item {
  background: #0b1220;
  border: 1px solid #1f2937;
  border-radius: 16px;
  padding: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.8rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.gallery-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5e1;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .gallery-image {
    height: 200px;
  }
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-close {
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  position: absolute;
  top: 15px;
  right: 35px;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
  color: #bbb;
  text-decoration: none;
}



/* Gallery images cursor */
.gallery-image {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-image:hover {
  transform: scale(1.02);
}

/* Benefits grid in logic section */
.benefits-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.benefit-item {
  padding: 1rem;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
}

.benefit-item h4 {
  margin: 0 0 0.8rem 0;
  color: var(--brand);
  font-size: 1rem;
}

.benefit-item p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
}

.benefit-total {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(96, 165, 250, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  margin-top: 1rem;
}

.benefit-total h4 {
  margin: 0 0 1rem 0;
  color: var(--brand);
  font-size: 1.2rem;
}

.benefit-total p {
  margin: 0.5rem 0;
  font-size: 1rem;
}

/* Video section */
.video-wrapper{
  position:relative; padding-bottom:56.25%; height:0; overflow:hidden; border-radius:20px; box-shadow:var(--shadow); max-width:800px; margin:0 auto;
}
.video-wrapper iframe{
  position:absolute; top:0; left:0; width:100%; height:100%; border:0;
}

/* Review image */
.review-image{
  width:100%; max-width:800px; height:auto; display:block; margin:0 auto; border-radius:15px; box-shadow:var(--shadow);
}

/* Yandex Forms iframe */
iframe[name^="ya-form-"]{
  border: none !important;
  background: transparent !important;
  box-shadow: var(--shadow) !important;
}

/* Contact form styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-form input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  border: 1px solid #334155;
  outline: none;
  background: #0b1220;
  color: var(--text);
  font-size: 0.95rem;
}

.contact-form input:focus {
  border-color: #475569;
}

.contact-form input::placeholder {
  color: #64748b;
}

.contact-form .btn {
  align-self: flex-start;
  min-width: 120px;
}

.form-message {
  margin-top: 0.8rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #065f46;
  color: #a7f3d0;
}

.form-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #7f1d1d;
  color: #fca5a5;
}

/* Responsive adjustments */
@media (max-width:768px){
  .section-head{flex-direction:column; align-items:flex-start; gap:.5rem}
  .hero-points{grid-template-columns:1fr}
  .kpi{flex-direction:column}
  .sticky-cta .wrap{flex-direction:column; align-items:center}
  .contact-form .btn {
    align-self: stretch;
  }
} 