
:root{
  --green:#1a5f57;
  --green-dark:#1c4638;
  --green-soft:#e7f0ed;
  --leaf:#74a53a;
  --gold:#cfa25e;
  --cream:#fbf8f2;
  --paper:#ffffff;
  --ink:#1f2e27;
  --muted:#59645e;
  --line:rgba(20,41,34,.1);
  --shadow:0 18px 55px rgba(24,38,32,.12);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;background:linear-gradient(180deg,#fdfaf4,#f7f2e7);color:var(--ink);-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit} img{display:block;max-width:100%}
.container{width:min(1200px,calc(100% - 40px));margin:0 auto}
.topbar{position:fixed;top:0;left:0;right:0;z-index:200;background:linear-gradient(180deg,rgba(13,31,24,.62),rgba(13,31,24,.18));backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.10)}
.nav{display:flex;align-items:center;gap:20px;min-height:96px}
.logo{display:flex;align-items:center;justify-content:center;width:92px;height:92px;border-radius:999px;background:rgba(251,248,242,.72);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.58);box-shadow:0 18px 46px rgba(0,0,0,.18)}
.logo img{width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,0,0,.12))}
.menu{margin-left:auto;display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:8px 10px;border-radius:999px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(14px)}
.menu a{padding:10px 13px;border-radius:999px;font-size:.95rem;font-weight:760;color:rgba(255,255,255,.92);text-shadow:0 1px 12px rgba(0,0,0,.26)}
.menu a:hover{background:rgba(255,255,255,.18);color:white}
.langs{display:flex;gap:6px;margin-left:10px;padding:6px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(14px)}
.langs a{padding:7px 9px;border-radius:999px;font-size:.78rem;font-weight:850;color:rgba(255,255,255,.86)}
.langs a.active{background:rgba(255,255,255,.9);color:var(--green-dark)}
.burger{display:none;margin-left:auto;border:0;background:rgba(255,255,255,.88);width:46px;height:46px;border-radius:14px;box-shadow:var(--shadow)}
.burger:before{content:'☰';font-size:22px;color:var(--green-dark)}
.hero{position:relative;min-height:790px;color:white;background:url('../images/hero-karst-house.webp') center/cover no-repeat;display:flex;align-items:center;isolation:isolate}
.hero:before{content:'';position:absolute;inset:0;z-index:0;background:
linear-gradient(180deg,rgba(9,20,15,.48) 0%,rgba(9,20,15,.22) 28%,rgba(9,20,15,.10) 62%,rgba(9,20,15,.36) 100%),
linear-gradient(90deg,rgba(9,20,15,.80) 0%,rgba(9,20,15,.56) 34%,rgba(9,20,15,.20) 64%,rgba(9,20,15,.08) 100%),
radial-gradient(circle at 21% 44%,rgba(245,225,181,.22),transparent 34%)}
.hero:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:118px;background:var(--cream);clip-path:polygon(0 60%,11% 73%,25% 55%,39% 72%,55% 50%,70% 67%,86% 49%,100% 61%,100% 100%,0 100%);z-index:1}
.hero-inner{position:relative;z-index:2;padding:158px 0 156px}
.eyebrow{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.12);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.24);font-weight:820;letter-spacing:.08em;font-size:.78rem;text-transform:uppercase;color:#f1e6d0;box-shadow:0 14px 42px rgba(0,0,0,.16)}
.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(3.25rem,7.4vw,6.15rem);line-height:.94;letter-spacing:-.055em;font-weight:500;max-width:800px;margin:24px 0 22px;text-shadow:0 18px 55px rgba(0,0,0,.32)}
.hero p{font-size:clamp(1.08rem,1.45vw,1.28rem);line-height:1.72;max-width:650px;color:rgba(255,255,255,.92);margin:0 0 34px;text-shadow:0 10px 34px rgba(0,0,0,.36)}
.btns{display:flex;gap:14px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border-radius:12px;font-weight:800;border:1px solid transparent;transition:.22s ease;cursor:pointer}.btn.primary{background:linear-gradient(135deg,#1a6a60,#1e5142);color:white;box-shadow:0 18px 46px rgba(0,0,0,.23)}.btn.primary:hover{transform:translateY(-2px)}.btn.ghost{background:rgba(255,255,255,.11);color:white;border-color:rgba(255,255,255,.50);backdrop-filter:blur(12px);box-shadow:0 14px 42px rgba(0,0,0,.16)}
.section{padding:88px 0}.section-header{text-align:center;max-width:780px;margin:0 auto 36px}.kicker{text-transform:uppercase;letter-spacing:.13em;font-size:.78rem;color:var(--green);font-weight:800;margin-bottom:10px}.section h2,.textblock h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.1rem,4vw,3.45rem);line-height:1.04;letter-spacing:-.035em;margin:0 0 15px;color:var(--green-dark);font-weight:500}.section p,.textblock p{font-size:1.03rem;line-height:1.78;color:#49574f}
.split{display:grid;grid-template-columns:1.02fr .98fr;gap:54px;align-items:center}.photo-frame{background:white;padding:10px;border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid var(--line)}.photo-frame img{border-radius:calc(var(--radius) - 8px);width:100%;height:100%;object-fit:cover}.about-photo{height:410px}
.badges{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:24px}.badge{padding:16px;border-radius:16px;background:linear-gradient(180deg,#fff,#f7fbf8);border:1px solid var(--line);box-shadow:0 10px 28px rgba(0,0,0,.04)}.badge strong{display:block;color:var(--green-dark);margin-bottom:6px}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.card{background:white;border-radius:22px;border:1px solid var(--line);overflow:hidden;box-shadow:0 18px 52px rgba(24,38,32,.11);display:flex;flex-direction:column}.card img{width:100%;height:205px;object-fit:cover}.card-body{padding:18px 18px 20px}.card h3{margin:0 0 8px;font-size:1.08rem;line-height:1.18;color:var(--green-dark)}.card p{margin:0;font-size:.95rem;line-height:1.6;color:#55635b}
.band{background:linear-gradient(135deg,#1f4f40,#436d46);color:white}.band .kicker{color:#e9d7b0}.band h2,.band p{color:white}.band p{color:rgba(255,255,255,.87)}
.event-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:32px;align-items:center}.event-card-image{height:370px}
.products-wrap{display:grid;grid-template-columns:1fr 1.06fr;gap:28px;align-items:start}.products-hero{height:100%}.products-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.product{background:white;border-radius:18px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow)}.product img{width:100%;height:195px;object-fit:cover}.product-body{padding:14px 15px 18px}.tag{display:inline-block;margin-bottom:7px;font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:var(--gold);font-weight:800}.product h3{margin:0 0 6px;font-size:1.08rem;color:var(--green-dark)}.product p{margin:0;font-size:.93rem;line-height:1.55;color:#56645d}.notice{margin-top:22px;padding:16px 18px;border-radius:16px;background:#fff8ea;border:1px solid rgba(207,162,94,.28);color:#65573f;line-height:1.65}
.karst-box{position:relative;border-radius:28px;overflow:hidden;min-height:400px;box-shadow:var(--shadow);background:linear-gradient(90deg,rgba(15,31,24,.62),rgba(15,31,24,.18)),url('../images/karst-house-smoke.webp') center/cover no-repeat;display:flex;align-items:flex-end}.karst-content{padding:34px;max-width:660px}.karst-box h2,.karst-box p{color:white}.karst-box p{color:rgba(255,255,255,.9)}
.contact-grid{display:grid;grid-template-columns:1fr .96fr;gap:28px}.panel{background:white;border-radius:22px;border:1px solid var(--line);padding:28px;box-shadow:var(--shadow)}.contact-list{display:grid;gap:12px;margin-top:20px}.contact-item{display:flex;gap:14px;align-items:flex-start;border:1px solid var(--line);border-radius:16px;padding:14px 15px}.icon{width:42px;height:42px;border-radius:12px;background:var(--green-soft);display:grid;place-items:center;color:var(--green-dark);font-weight:900;flex:0 0 auto}
form{display:grid;gap:12px}input,select,textarea{width:100%;padding:14px 15px;border:1px solid var(--line);border-radius:12px;background:#fff;font:inherit;color:var(--ink)}textarea{min-height:136px;resize:vertical}.fine{font-size:.9rem;color:#6b736f;line-height:1.55}
.footer{background:#14372d;color:#edf4f0;padding:44px 0 20px;margin-top:12px}.foot{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px}.foot img{width:115px}.foot p,.foot a{color:rgba(237,244,240,.8);line-height:1.7}.bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:26px;padding-top:16px;font-size:.92rem;color:rgba(237,244,240,.65)}
.to-top{position:fixed;right:18px;bottom:18px;width:48px;height:48px;border:0;border-radius:14px;background:white;color:var(--green-dark);box-shadow:var(--shadow);opacity:0;transform:translateY(10px);transition:.25s;z-index:88}.to-top.show{opacity:1;transform:none}
@media (max-width:1100px){.cards{grid-template-columns:repeat(3,1fr)}.event-grid,.products-wrap,.contact-grid,.split{grid-template-columns:1fr}.products-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:900px){.menu{display:none;position:absolute;left:18px;right:18px;top:86px;flex-direction:column;align-items:stretch;padding:14px;background:rgba(251,248,242,.98);border-radius:18px;border:1px solid var(--line);box-shadow:var(--shadow)}.nav.open .menu{display:flex}.nav.open .menu a{color:var(--green-dark);text-shadow:none}.burger{display:block}.langs{margin-left:auto}.cards{grid-template-columns:repeat(2,1fr)}.hero{min-height:690px}.hero-inner{padding:118px 0 118px}.about-photo{height:320px}}
@media (max-width:620px){.container{width:min(100% - 28px,1200px)}.nav{min-height:78px}.logo img{width:66px;height:66px}.menu{top:76px}.hero{min-height:640px}.hero h1{font-size:3rem}.logo{width:72px;height:72px}.logo img{width:58px;height:58px}.section{padding:66px 0}.cards,.products-grid,.foot,.badges{grid-template-columns:1fr}.card img{height:210px}.product img{height:215px}.btns{flex-direction:column}.btn{width:100%}.karst-box{min-height:320px}.panel{padding:22px}}


/* PREMIUM v6 refinements */
.logo{
  width:auto !important;
  min-width:184px;
  height:78px !important;
  padding:7px 16px 7px 8px;
  gap:11px;
}
.logo:after{
  content:"ZAVOD\A BOREALIS";
  white-space:pre;
  font-family:Georgia,'Times New Roman',serif;
  font-size:.95rem;
  line-height:1.02;
  letter-spacing:.12em;
  color:rgba(255,255,255,.94);
  text-shadow:0 8px 24px rgba(0,0,0,.34);
}
.logo img{
  width:62px !important;
  height:62px !important;
}
.topbar{
  box-shadow:0 12px 46px rgba(0,0,0,.11);
}
.hero-contact{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-top:22px;
}
.hero-contact a{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  padding:10px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.24);
  color:rgba(255,255,255,.94);
  font-weight:780;
  backdrop-filter:blur(14px);
  box-shadow:0 14px 36px rgba(0,0,0,.16);
  transition:transform .22s ease, background .22s ease, border-color .22s ease;
}
.hero-contact a:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.21);
  border-color:rgba(255,255,255,.44);
  color:white;
}
.icon{
  width:42px;
  height:42px;
  border-radius:14px;
  background:linear-gradient(135deg,#eaf4ef,#dbe9e3);
  display:grid;
  place-items:center;
  color:var(--green-dark);
  flex:0 0 auto;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.62),0 10px 24px rgba(20,41,34,.08);
}
.icon svg{width:21px;height:21px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.hero-contact .icon{
  width:31px;height:31px;border-radius:10px;
  background:rgba(255,255,255,.88);
  color:var(--green-dark);
  box-shadow:none;
}
.hero-contact .icon svg{width:17px;height:17px}
.contact-item{
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.contact-item:hover{
  transform:translateY(-2px);
  border-color:rgba(26,95,87,.28);
  box-shadow:0 14px 34px rgba(24,38,32,.08);
}
.contact-item a{
  color:var(--green);
  font-weight:800;
  text-decoration:none;
}
.contact-item a:hover{
  color:var(--green-dark);
  text-decoration:underline;
  text-underline-offset:4px;
}
.panel h2 + p{margin-top:-6px}
@media (max-width:900px){
  .logo{min-width:auto;width:72px!important;height:72px!important;padding:5px!important}
  .logo:after{display:none}
  .hero-contact{gap:8px}
  .hero-contact a{width:100%;justify-content:flex-start}
}
