*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'Segoe UI',Arial,sans-serif;background:#f4f7fb;color:#1f2937;overflow-x:hidden}.brand img{height:62px;display:block;border-radius:14px;box-shadow:0 8px 22px rgba(0,0,0,.20)}.hero{min-height:760px;color:white;padding:25px;position:relative;display:flex;flex-direction:column;background:linear-gradient(90deg,rgba(2,6,23,.82),rgba(15,23,42,.42)),url('https://images.unsplash.com/photo-1509391366360-2e959784a276?q=80&w=1800&auto=format&fit=crop');background-size:cover;background-position:center}.home-hero{background:linear-gradient(90deg,rgba(2,6,23,.86),rgba(15,23,42,.38)),url('https://images.unsplash.com/photo-1613665813446-82a78c468a1d?q=80&w=1800&auto=format&fit=crop');background-size:cover;background-position:center}.nav{max-width:1250px;width:100%;margin:0 auto;display:flex;justify-content:space-between;align-items:center;z-index:10}.nav-right{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.nav-link{color:white;text-decoration:none;padding:12px 17px;border-radius:12px;transition:.3s;background:rgba(255,255,255,.08);backdrop-filter:blur(8px);font-weight:700}.nav-link:hover,.nav-link.active{background:rgba(245,158,11,.95);transform:translateY(-2px)}.nav-cta{background:#f59e0b!important}#language{width:86px;min-width:86px;max-width:86px;padding:8px 10px;border-radius:10px;border:none;outline:none;font-size:14px;font-weight:700;background:rgba(255,255,255,.94);color:#0f172a}.hero-content{max-width:900px;margin:165px auto 100px;text-align:center;z-index:10}.hero-content.left{text-align:left;margin-left:8%;margin-right:auto;max-width:760px}.eyebrow{display:inline-block;background:rgba(245,158,11,.18);border:1px solid rgba(245,158,11,.45);padding:10px 14px;border-radius:999px;font-weight:700;color:#fbbf24;margin-bottom:18px}.hero-content h1{font-size:68px;line-height:1.05;margin:0 0 25px;font-weight:900}.hero-content p{font-size:23px;line-height:1.6;margin-bottom:36px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap}.hero-btn,.ghost-btn,.whatsapp-btn,.kit-btn{display:inline-block;text-decoration:none;padding:17px 30px;border-radius:16px;font-size:18px;font-weight:800;transition:.3s}.hero-btn,.kit-btn{background:linear-gradient(135deg,#f59e0b,#ffb703);color:white;box-shadow:0 12px 30px rgba(245,158,11,.35)}.ghost-btn{background:rgba(255,255,255,.12);color:white;border:1px solid rgba(255,255,255,.35)}.hero-btn:hover,.kit-btn:hover,.ghost-btn:hover,button:hover{transform:translateY(-3px)}.benefits{max-width:1200px;margin:-55px auto 60px;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:0 20px;position:relative;z-index:20}.benefit{background:white;padding:26px;border-radius:22px;text-align:left;box-shadow:0 15px 35px rgba(15,23,42,.08);font-size:18px}.benefit b{display:block}.benefit span{display:block;color:#64748b;font-size:14px;margin-top:5px}.why-us,.ready-kits,.process,.home-split{max-width:1200px;margin:80px auto;padding:0 20px;text-align:center}.why-us h2,.ready-kits h2,.process h2{font-size:42px;margin:0 0 14px}.why-subtitle,.ready-subtitle{font-size:20px;color:#64748b;max-width:820px;margin:0 auto 42px}.why-grid,.kits-grid,.process-grid,.equipment-grid,.projects-grid{display:grid;gap:22px}.why-grid{grid-template-columns:repeat(4,1fr)}.kits-grid{grid-template-columns:repeat(3,1fr)}.process-grid{grid-template-columns:repeat(4,1fr)}.why-card,.kit-card,.process-card,.equipment-card,.project-card{background:white;border-radius:24px;box-shadow:0 18px 45px rgba(15,23,42,.08);transition:.3s;border:1px solid #eef2f7}.why-card,.process-card{padding:28px;text-align:left}.why-card:hover,.kit-card:hover,.process-card:hover,.equipment-card:hover,.project-card:hover{transform:translateY(-7px)}.why-card h3{font-size:22px}.why-card p,.process-card p{line-height:1.65;color:#475569}.process-card span{font-size:30px;color:#f59e0b;font-weight:900}.kit-card{padding:30px;text-align:left;position:relative;overflow:hidden}.kit-img{width:100%;height:185px;object-fit:cover;border-radius:18px;margin-bottom:18px}.kit-card h3{font-size:26px;margin:0 0 14px}.kit-power{font-size:38px;font-weight:900;color:#f59e0b;margin-bottom:14px}.kit-card ul{padding-left:20px;color:#475569;line-height:1.9}.kit-price{font-size:30px;font-weight:900;margin:20px 0;color:#0f172a}.popular{border:3px solid #f59e0b}.popular-badge{position:absolute;top:14px;right:14px;background:#f59e0b;color:white;padding:8px 14px;border-radius:999px;font-weight:800;font-size:13px}.home-split{display:grid;grid-template-columns:1fr 1fr}.split-card{min-height:310px;border-radius:28px;padding:44px;text-align:left;color:white;background-size:cover;background-position:center;position:relative;overflow:hidden}.split-card:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,6,23,.82),rgba(2,6,23,.32))}.split-card>*{position:relative}.bg-equipment{background-image:url('https://images.unsplash.com/photo-1592833159057-6f2c53c9279e?q=80&w=1200&auto=format&fit=crop')}.bg-projects{background-image:url('https://images.unsplash.com/photo-1624397640148-949b1732bb0a?q=80&w=1200&auto=format&fit=crop')}.mini-header{background:#0f172a;padding:22px}.calculator-page-header{background:linear-gradient(135deg,#0f172a,#1e293b);color:white;text-align:center;padding:80px 20px}.calculator-page-header h1{font-size:48px;margin:0 0 14px}.calculator-page-header p{font-size:20px;color:#cbd5e1;margin:0}.calculator{padding:45px 20px 75px}.calculator.two-col{max-width:1250px;margin:auto;display:grid;grid-template-columns:.75fr 1.25fr;gap:24px}.card{max-width:760px;margin:auto;background:white;padding:38px;border-radius:28px;box-shadow:0 18px 45px rgba(15,23,42,.08)}.two-col .card{max-width:none;width:100%}.wide-card{max-width:1200px}.card h2{text-align:center;font-size:36px;margin:0 0 18px}label{display:block;margin-top:17px;margin-bottom:8px;font-weight:800}.hint{display:block;color:#64748b;margin-top:7px;line-height:1.5}input,select,button{width:100%;padding:15px;border-radius:14px;border:1px solid #dbe1ea;font-size:16px}button{margin-top:24px;border:none;background:linear-gradient(135deg,#f59e0b,#ffb703);color:white;font-size:18px;font-weight:900;cursor:pointer}.result-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:28px}.result-box{background:#f9fafb;padding:16px;border-radius:16px;border:1px solid #e5e7eb}.result-box strong{display:block;margin-top:8px;font-size:22px;color:#f59e0b}.result-note{grid-column:1/-1;background:#fff7ed;border:1px solid #fed7aa;padding:16px;border-radius:16px;line-height:1.6}.equipment-tabs{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-bottom:28px}.equipment-tabs button{width:auto;padding:13px 23px}.equipment-grid{grid-template-columns:repeat(3,1fr)}.equipment-card{overflow:hidden}.equipment-card img,.project-card-img{width:100%;height:220px;object-fit:cover}.equipment-card-content,.project-content{padding:20px}.equipment-card h3,.project-card h3{margin:0 0 10px}.equipment-card b{color:#f59e0b;font-size:24px}.projects-grid{grid-template-columns:repeat(3,1fr)}.project-photo{height:220px;display:flex;align-items:center;justify-content:center;font-size:70px;background:#e2e8f0}.cta{background:#0f172a;color:white;text-align:center;padding:80px 20px}.cta h2{font-size:42px;margin:0 0 14px}.cta p{font-size:19px;color:#cbd5e1}.whatsapp-btn{background:#25D366;color:white}.floating-whatsapp{position:fixed;right:24px;bottom:24px;width:64px;height:64px;background:#25D366;color:white;border-radius:50%;text-align:center;line-height:64px;font-size:30px;text-decoration:none;box-shadow:0 12px 30px rgba(0,0,0,.25);z-index:999}@media(max-width:900px){.nav{flex-direction:column;gap:16px}.nav-right{justify-content:center}.hero-content h1{font-size:42px}.hero-content.left{text-align:center;margin:110px auto 80px}.hero-actions{justify-content:center}.benefits,.why-grid,.kits-grid,.process-grid,.home-split,.equipment-grid,.projects-grid,.result-grid,.calculator.two-col{grid-template-columns:1fr}.card{padding:24px}.calculator-page-header h1{font-size:34px}.cta h2{font-size:32px}.brand img{height:54px}}

/* EQUIPMENT PAGE — подкатегории */
.equipment-hero {
  background: linear-gradient(135deg, #0f172a, #1e293b 55%, #92400e);
}

.equipment-category-nav {
  max-width: 1200px;
  margin: -32px auto 35px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
  z-index: 5;
}

.category-pill {
  display: block;
  background: white;
  color: #0f172a;
  text-decoration: none;
  text-align: center;
  padding: 22px;
  border-radius: 22px;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(15,23,42,.10);
  border: 1px solid #eef2f7;
  transition: .3s;
}

.category-pill:hover {
  transform: translateY(-5px);
  color: #f59e0b;
}

.equipment-section {
  max-width: 1200px;
  margin: 70px auto;
  padding: 0 20px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
}

.section-title-row h2 {
  font-size: 40px;
  margin: 0 0 8px;
  color: #0f172a;
}

.section-title-row p {
  margin: 0;
  color: #64748b;
  font-size: 18px;
  max-width: 720px;
  line-height: 1.5;
}

.small-link-btn,
.equipment-card-btn {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(135deg,#f59e0b,#ffb703);
  color: white;
  border-radius: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.small-link-btn {
  padding: 14px 22px;
}

.equipment-card-btn {
  margin-top: 16px;
  padding: 12px 16px;
  font-size: 14px;
}

.equipment-tag {
  display: inline-block;
  background: #fff7ed;
  color: #ea580c;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 12px;
}

@media(max-width:900px){
  .equipment-category-nav { grid-template-columns: 1fr; margin-top: -20px; }
  .section-title-row { flex-direction: column; align-items: flex-start; }
  .section-title-row h2 { font-size: 32px; }
  .small-link-btn { width: 100%; text-align: center; }
}


/* Project multi-photo gallery */
.project-gallery{height:220px;display:grid;gap:4px;background:#e2e8f0;overflow:hidden}
.project-gallery img{width:100%;height:100%;object-fit:cover;display:block}
.project-gallery.count-2{grid-template-columns:1fr 1fr}
.project-gallery.count-3{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}
.project-gallery.count-3 img:first-child{grid-row:1 / 3}
.project-gallery.count-4{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}
.admin-img-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.admin-img.small{width:72px!important;height:56px!important;object-fit:cover;border-radius:10px}


/* CLEAN HEADER FIXES */
#language{
  width:86px;
  min-width:86px;
  max-width:86px;
  padding:8px 10px;
  border-radius:10px;
  font-size:14px;
  font-weight:700;
}
.nav-right select#language{
  flex:0 0 auto;
}


/* FIX v7: карточки оборудования — цена не наезжает на кнопку */
.equipment-card{
  display:flex;
  flex-direction:column;
}
.equipment-card-content{
  padding:20px;
  display:flex;
  flex-direction:column;
  flex:1;
  min-height:245px;
}
.equipment-card b{
  display:block;
  margin:8px 0 18px;
}
.equipment-card-btn{
  margin-top:auto;
  display:block;
  text-align:center;
  white-space:normal;
  line-height:1.25;
  text-decoration:none;
  background:linear-gradient(135deg,#f59e0b,#ffb703);
  color:white;
  border-radius:14px;
  font-weight:900;
  padding:12px 16px;
  font-size:14px;
}

/* v8 — PDF, WhatsApp, графики, тарифы */
.result-wide{grid-column:1/-1;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:20px;margin-top:8px}.result-wide h3{margin:0 0 16px;color:#0f172a}.generation-chart{height:205px;display:flex;align-items:flex-end;gap:10px;border-bottom:1px solid #e5e7eb;padding:10px 4px 0;overflow-x:auto}.chart-col{min-width:56px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px}.chart-bar{width:34px;border-radius:10px 10px 0 0;background:linear-gradient(180deg,#ffb703,#f59e0b);box-shadow:0 8px 20px rgba(245,158,11,.25)}.chart-col small{font-size:12px;color:#64748b}.chart-col b{font-size:12px;color:#0f172a}.chart-note{font-size:14px;color:#64748b;line-height:1.5}.tariff-table-wrap{overflow:auto}.tariff-table{width:100%;border-collapse:collapse;font-size:14px;background:white}.tariff-table th,.tariff-table td{border:1px solid #e5e7eb;padding:10px;text-align:left}.tariff-table th{background:#f8fafc}.result-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:10px}.result-box.highlight{border-color:#f59e0b;background:#fff7ed}.hosting-steps{max-width:1100px;margin:70px auto;padding:0 20px}.hosting-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.hosting-card{background:white;border-radius:22px;padding:24px;box-shadow:0 18px 45px rgba(15,23,42,.08);border:1px solid #eef2f7}.hosting-card h3{margin:0 0 10px;color:#0f172a}.hosting-card p{color:#475569;line-height:1.55}.code-box{background:#0f172a;color:#e2e8f0;border-radius:16px;padding:18px;overflow:auto;line-height:1.5}.domain-checklist li{margin:10px 0;color:#334155}@media(max-width:900px){.result-actions,.hosting-grid{grid-template-columns:1fr}.generation-chart{gap:7px}.chart-col{min-width:44px}.chart-bar{width:26px}}

/* Commercial PDF layout */
.pdf-offer-content{
  font-family: Arial, sans-serif;
  color:#0f172a;
  background:#fff;
  width:720px;
  padding:28px;
  line-height:1.35;
}
.pdf-header{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  border-bottom:3px solid #f59e0b;
  padding-bottom:16px;
  margin-bottom:22px;
}
.pdf-brand{font-size:25px;font-weight:900;white-space:normal;color:#5d5d5d;}
.pdf-subbrand{color:#64748b;margin-top:4px;font-size:13px;}
.pdf-date{text-align:right;color:#64748b;font-size:13px;min-width:90px;}
.pdf-offer-content h1{font-size:25px;margin:0 0 14px;}
.pdf-offer-content h2{font-size:19px;margin:22px 0 10px;}
.pdf-client{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 16px;
  font-size:13px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:13px;
  margin:0 0 16px;
}
.pdf-client div:nth-child(8){grid-column:1/-1;}
.pdf-metrics{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:18px 0;
}
.pdf-metric{
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:12px;
  background:#f8fafc;
}
.pdf-metric span{display:block;font-size:13px;color:#334155;}
.pdf-metric b{display:block;font-size:21px;color:#f59e0b;margin-top:6px;}
.pdf-offer-content table{width:100%;border-collapse:collapse;font-size:12.5px;margin-bottom:8px;}
.pdf-offer-content th,.pdf-offer-content td{border:1px solid #e5e7eb;padding:8px;text-align:left;vertical-align:top;}
.pdf-offer-content th{background:#f8fafc;}
.pdf-note{background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;padding:13px;margin-top:18px;font-size:12.5px;line-height:1.5;}


/* v15 — calculator formula + inverter offers */
.hint-box{
  margin:18px 0 8px;
  padding:14px 16px;
  border-radius:14px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#7c2d12;
  line-height:1.5;
  font-weight:700;
}
.inverter-offer-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.inverter-offer-card{
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:16px;
}
.inverter-offer-card.recommended{
  border-color:#f59e0b;
  background:#fff7ed;
}
.inverter-offer-card span{
  display:inline-block;
  background:#f59e0b;
  color:white;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:900;
  margin-bottom:10px;
}
.inverter-offer-card h4{
  margin:0 0 8px;
  color:#0f172a;
}
.inverter-offer-card p{
  margin:0 0 8px;
  color:#475569;
}
.inverter-offer-card b{
  display:block;
  color:#f59e0b;
  font-size:24px;
  margin-bottom:8px;
}
.inverter-offer-card small{
  display:block;
  color:#334155;
  line-height:1.4;
}
@media(max-width:900px){.inverter-offer-grid{grid-template-columns:1fr}}
