:root{
  --bg:#f2f1eb; --ink:#111; --muted:#77776f; --lime:#d8ff38;
  --dark:#111; --radius:30px; --line:rgba(17,17,17,.13);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--ink)}
img{width:100%;height:100%;object-fit:cover;display:block}
/* Keep the Nector device (right side of 1/2/3.png) visible in cover crops */
.card img,.visual-big img,.visual-side img{object-position:80% center}
.product-photo img{object-position:center}
a{color:inherit;text-decoration:none}
.wrap{width:min(1440px,92vw);margin:auto}

nav{
  position:absolute;z-index:10;top:0;left:0;right:0;height:82px;
  padding:0 4vw;display:flex;align-items:center;justify-content:space-between;color:white
}
.logo{font-size:24px;font-weight:950;letter-spacing:-1.5px}
.navlinks{display:flex;gap:28px;font-size:12px;font-weight:700}
.navlinks a{opacity:.8}.navlinks a:hover{opacity:1}
.navbtn{background:white;padding:12px 19px;border-radius:100px;font-size:11px;font-weight:900}

.hero{
  height:94vh;min-height:680px;position:relative;overflow:hidden;color:#fff;
  display:flex;align-items:flex-end;background:#151515
}
.hero:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.22),rgba(0,0,0,.05) 40%,rgba(0,0,0,.78))
}
.hero-image{position:absolute;inset:0}
.hero-image picture{width:100%;height:100%;display:block}
.hero-content{position:relative;z-index:2;width:min(1440px,92vw);margin:0 auto 7vh}
.kicker{font-size:10px;text-transform:uppercase;letter-spacing:2.5px;margin-bottom:20px;opacity:.8}
.hero h1{
  font-size:clamp(64px,11vw,164px);font-weight:950;line-height:.8;
  letter-spacing:-.075em;max-width:1000px
}
.hero-row{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-top:34px}
.hero-copy{font-size:15px;line-height:1.45;max-width:330px;color:#ddd}
.pill{background:var(--lime);color:#111;padding:14px 20px;border-radius:100px;font-size:11px;font-weight:900}

section{padding:110px 0}
.head{display:flex;justify-content:space-between;align-items:end;margin-bottom:42px;gap:30px}
.head h2{font-size:clamp(48px,6.8vw,92px);line-height:.84;letter-spacing:-.07em}
.head p{max-width:310px;color:var(--muted);font-size:13px;line-height:1.5}

.sectors{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.card{position:relative;overflow:hidden;border-radius:var(--radius);min-height:620px;background:#222;color:#fff}
.card:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.78))
}
.card-stack{display:grid;grid-template-rows:1fr 1fr;gap:16px}
.card-stack .card{min-height:302px}
.card-content{position:absolute;z-index:2;left:28px;right:28px;bottom:28px}
.num{font-size:10px;letter-spacing:1.5px;opacity:.7;margin-bottom:8px}
.card h3{font-size:clamp(42px,5vw,72px);line-height:.85;letter-spacing:-.065em}
.card p{font-size:12px;line-height:1.4;color:#ddd;max-width:360px;margin-top:10px}

.local-strip{
  background:#161616;color:white;border-radius:var(--radius);padding:70px 6vw;
  display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center
}
.local-strip h2{font-size:clamp(45px,6vw,82px);line-height:.85;letter-spacing:-.065em}
.local-strip p{font-size:14px;color:#aaa;line-height:1.55;max-width:420px}
.local-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:25px}
.tag{border:1px solid #444;padding:9px 13px;border-radius:100px;font-size:10px;color:#ccc}

.product{
  display:grid;grid-template-columns:1.1fr .9fr;gap:16px
}
.product-photo{height:700px;border-radius:var(--radius);overflow:hidden;background:#ddd}
.product-info{
  background:#171717;color:white;border-radius:var(--radius);padding:48px;
  min-height:700px;display:flex;flex-direction:column;justify-content:space-between
}
.product-info h2{font-size:clamp(52px,6.5vw,92px);line-height:.82;letter-spacing:-.07em}
.product-info .desc{font-size:14px;color:#999;line-height:1.55;max-width:380px;margin-top:18px}
.price-card{margin-top:26px;background:#222;border:1px solid #333;border-radius:18px;padding:20px 22px;display:flex;align-items:center;gap:20px;scroll-margin-top:110px}
#product-price{scroll-margin-top:110px}
.price-label{font-size:9px;text-transform:uppercase;letter-spacing:1.5px;color:#777;margin-bottom:8px}
.price-new{font-size:52px;font-weight:950;letter-spacing:-.045em;color:#fff;line-height:1}
.price-divider{width:1px;align-self:stretch;background:#333;flex-shrink:0}
.price-side{font-size:11px;color:#888;line-height:1.6;letter-spacing:.2px}
.price-side strong{display:block;color:#fff;font-size:12px;font-weight:800;margin-bottom:2px}
.features{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #333;margin-top:28px}
.feature{padding:16px 12px 16px 0;border-bottom:1px solid #333;font-size:13px;font-weight:600}
.feature span{display:block;color:#777;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:5px}
.buy-row{display:flex;gap:12px;margin-top:24px}
.buy{flex:1;text-align:center;background:var(--lime);color:#111;border:none;cursor:pointer;border-radius:100px;padding:17px 20px;font-size:12px;font-weight:900;letter-spacing:.3px;transition:transform .15s ease,box-shadow .15s ease}
.buy:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(216,255,56,.25)}

.visual-grid{display:grid;grid-template-columns:7fr 5fr;gap:16px}
.visual-big,.visual-side>div{border-radius:var(--radius);overflow:hidden}
.visual-big{height:650px}
.visual-side{display:grid;grid-template-rows:1fr 1fr;gap:16px}
.visual-side>div{min-height:300px}

.statement{
  min-height:70vh;border-radius:var(--radius);background:#dce0d0;
  display:flex;align-items:center;justify-content:center;text-align:center;padding:80px 5vw
}
.statement h2{font-size:clamp(55px,8.5vw,125px);line-height:.82;letter-spacing:-.075em}
.statement span{color:#7c806e}

footer{padding:35px 0 45px}
.footer-top{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid var(--line);padding-bottom:28px}
.footer-logo{font-size:62px;font-weight:950;letter-spacing:-.075em}
.footer-links{display:flex;gap:12px;align-items:center}
.icon-btn{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;color:var(--ink);transition:background .2s ease,color .2s ease,border-color .2s ease,transform .15s ease}
.icon-btn svg{width:19px;height:19px}
.icon-btn:hover{background:#111;border-color:#111;color:#fff;transform:translateY(-1px)}
.icon-btn:focus-visible{outline:2px solid #111;outline-offset:2px}
.footer-bottom{display:flex;justify-content:space-between;padding-top:16px;color:var(--muted);font-size:10px}

/* ---- Order CTA (wired, matches new design) ---- */
.order-cta{background:#111;color:#fff;border-radius:var(--radius);padding:80px 6vw;text-align:center}
.order-cta .kicker{opacity:.6}
.order-cta h2{font-size:clamp(48px,7vw,96px);line-height:.84;letter-spacing:-.07em}
.order-cta h2 span{color:var(--lime)}
.order-cta p{color:#999;font-size:14px;line-height:1.55;max-width:460px;margin:18px auto 0}
.order-price{display:flex;align-items:baseline;justify-content:center;gap:12px;margin-top:26px}
.order-price .old{text-decoration:line-through;opacity:.45;font-size:20px;font-weight:600}
.order-price .new{color:var(--lime);font-size:clamp(40px,6vw,64px);font-weight:950;letter-spacing:-.05em;line-height:1}
.order-meta{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px}
.order-meta span{border:1px solid #333;color:#bbb;padding:9px 14px;border-radius:100px;font-size:10px;font-weight:700;letter-spacing:.4px}
.order-btn{display:inline-block;margin-top:30px;background:var(--lime);color:#111;border:none;cursor:pointer;padding:18px 46px;border-radius:100px;font-size:12px;font-weight:900;letter-spacing:.3px;transition:transform .15s ease,box-shadow .15s ease}
.order-btn:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(216,255,56,.3)}

/* ---- Order modal (wired to /api/order) ---- */
.modal-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.55);backdrop-filter:blur(8px);opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease}
.modal-overlay.active{opacity:1;visibility:visible}
.modal{background:#f7f6f1;color:var(--ink);border-radius:24px;width:100%;max-width:560px;max-height:92vh;overflow-y:auto;box-shadow:0 24px 80px rgba(0,0,0,.35);transform:translateY(20px) scale(.98);transition:transform .25s ease}
.modal-overlay.active .modal{transform:none}
.modal-head{position:sticky;top:0;background:#f7f6f1;border-bottom:1px solid var(--line);padding:20px 24px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;z-index:2}
.modal-title{font-size:22px;font-weight:950;letter-spacing:-.04em}
.modal-subtitle{font-size:12px;color:var(--muted);margin-top:4px}
.modal-subtitle .old{text-decoration:line-through;opacity:.6}
.modal-subtitle .new{color:#4d7c0f;font-weight:800}
.modal-close{width:40px;height:40px;border-radius:12px;border:1px solid var(--line);background:transparent;cursor:pointer;font-size:16px;line-height:1;color:#555;flex-shrink:0}
.modal-close:hover{background:#e9e8e1}
.modal-body{padding:24px}
.form-error-msg{display:none;background:rgba(200,30,30,.08);border:1px solid rgba(200,30,30,.25);color:#b42323;border-radius:12px;padding:12px 14px;font-size:12px;margin-bottom:14px}
.form-error-msg.show{display:block}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form-group{margin-bottom:14px}
.form-group.full{grid-column:1/-1}
.form-group label{display:block;font-size:11px;font-weight:800;color:#555;margin-bottom:6px;letter-spacing:.3px}
.form-group label .req{color:#b42323}
.form-group input,.form-group select,.form-group textarea{width:100%;background:#fff;border:1.5px solid #ddd;border-radius:12px;padding:11px 13px;font-size:13px;font-family:inherit;color:var(--ink)}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#111;box-shadow:0 0 0 3px rgba(216,255,56,.5)}
.form-group input.error,.form-group select.error,.form-group textarea.error{border-color:#e11d48}
.form-group textarea{resize:vertical;min-height:76px}
.form-group select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;cursor:pointer}
.form-group select:disabled{opacity:.55;cursor:not-allowed}
.field-error{display:none;font-size:11px;color:#e11d48;margin-top:5px}
.field-error.show{display:block}
.promo-row{display:flex;gap:10px}
.promo-row input{text-transform:uppercase;letter-spacing:.05em}
.btn-apply-promo{flex-shrink:0;padding:0 18px;border-radius:12px;border:1.5px solid #ddd;background:#eee;font-size:11px;font-weight:800;cursor:pointer}
.btn-apply-promo:hover{background:#e0dfd8}
.promo-feedback{display:none;font-size:11px;margin-top:6px;font-weight:700}
.promo-feedback.ok{display:block;color:#15803d}
.promo-feedback.err{display:block;color:#b42323}
.price-summary{display:none;background:#111;color:#fff;border-radius:14px;padding:14px 16px;margin-bottom:16px;font-size:12px}
.price-summary.show{display:block}
.price-row{display:flex;justify-content:space-between;padding:3px 0}
.price-row.total{border-top:1px solid #333;margin-top:8px;padding-top:10px;font-weight:900;font-size:14px}
.price-discount{color:var(--lime)}
.turnstile-wrap{display:flex;justify-content:center;margin:6px 0 16px}
.btn-submit{width:100%;background:#111;color:#fff;border:none;border-radius:100px;padding:16px;font-size:12px;font-weight:900;letter-spacing:.3px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px}
.btn-submit:hover:not(:disabled){background:#000;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.btn-submit:disabled{opacity:.6;cursor:not-allowed}
.btn-submit .spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite;display:none}
.btn-submit.loading .spinner{display:block}
.btn-submit.loading .btn-text{display:none}
@keyframes spin{to{transform:rotate(360deg)}}
.modal-success{display:none;flex-direction:column;align-items:center;text-align:center;padding:52px 28px}
.modal-success.show{display:flex}
.success-icon{width:72px;height:72px;border-radius:50%;background:rgba(77,124,15,.12);display:flex;align-items:center;justify-content:center;margin-bottom:20px}
.success-icon svg{width:36px;height:36px;color:#4d7c0f}
.success-title{font-size:26px;font-weight:950;letter-spacing:-.04em}
.success-desc{font-size:13px;color:#666;line-height:1.6;max-width:380px;margin:10px 0 20px}
.success-order-id{background:#eee;border:1px solid #ddd;border-radius:10px;padding:10px 20px;font-size:12px;color:#666;margin-bottom:22px}
.btn-close-success{background:#eee;border:1px solid #ddd;border-radius:100px;padding:12px 30px;font-size:11px;font-weight:800;cursor:pointer}
.btn-close-success:hover{background:#e0dfd8}

@media(max-width:800px){
  nav{height:70px}.navlinks{display:none}
  .hero{min-height:700px}.hero-content{margin-bottom:45px}
  .hero-image img{object-position:50% 20%}
  .hero-row{display:block}.pill{display:inline-block;margin-top:22px}
  section{padding:70px 0}
  .head{display:block}.head p{margin-top:18px}
  .sectors,.product,.local-strip,.visual-grid{grid-template-columns:1fr}
  .card{min-height:500px}.card-stack .card{min-height:330px}
  .product-photo{height:auto;aspect-ratio:1/1}.product-photo img{object-position:center}.product-info{min-height:560px;padding:32px}
  .product-info,.price-card{scroll-margin-top:110px}
  .visual-big{height:500px}.visual-side>div{min-height:300px}
  .card img,.visual-big img,.visual-side img{object-position:82% center}
  .footer-top,.footer-bottom{display:block}.footer-links{margin-top:20px}
  .form-row{grid-template-columns:1fr}
  .order-cta{padding:60px 24px}
}
