:root{
  --bg:#f4f4f4;
  --card:#ffffff;
  --text:#161616;
  --muted:#7f7f84;
  --orange:#ff8500;
  --orange-dark:#ff7a00;
  --dark:#050505;
  --line:#e8e8e8;
  --radius:28px;
  --shadow:0 20px 60px rgba(0,0,0,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,sans-serif;background:var(--bg);color:var(--text)}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button,input,select{font:inherit}
.container{width:min(1240px,calc(100% - 48px));margin:0 auto}
.hero{position:relative;min-height:90vh;background:url('assets/cyvio_hero_bg.png') center/cover no-repeat;display:grid;place-items:center;overflow:hidden}
.hero__overlay{position:absolute;inset:0;background:rgba(0,0,0,.48)}
.hero__content{position:relative;z-index:1;text-align:center;color:#fff;padding:90px 0}
.hero__badge{display:inline-flex;align-items:center;gap:8px;background:rgba(140,88,44,.6);backdrop-filter:blur(8px);padding:12px 24px;border-radius:999px;color:var(--orange);font-weight:700;margin-bottom:22px;font-size:24px}
.hero h1{font-size:clamp(40px,7vw,82px);line-height:.98;margin:0 0 22px;font-weight:800;letter-spacing:-.04em}
.hero h1 span{color:var(--orange)}
.hero p{max-width:920px;margin:0 auto 34px;font-size:clamp(18px,2vw,24px);line-height:1.55;color:rgba(255,255,255,.84)}
.hero__actions{display:flex;justify-content:center;gap:18px;flex-wrap:wrap}
.btn{height:76px;padding:0 40px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:22px;border:1px solid transparent;transition:.2s transform,.2s background,.2s color}
.btn:hover{transform:translateY(-2px)}
.btn--primary{background:var(--orange);color:#fff}
.btn--primary:hover{background:var(--orange-dark)}
.btn--ghost{background:rgba(0,0,0,.2);color:#fff;border-color:rgba(255,255,255,.25);backdrop-filter:blur(4px)}
.btn--full{width:100%}
.section{padding:90px 0}
.section--dark{background:linear-gradient(180deg,#0a0a0b,#000)}
.section__heading{text-align:center;margin-bottom:48px}
.section__heading h2{font-size:clamp(38px,4vw,60px);letter-spacing:-.04em;margin:0 0 16px;font-weight:800}
.section__heading p{margin:0;color:var(--muted);font-size:clamp(18px,1.8vw,22px)}
.section__heading--dark h2{color:#fff}
.section__heading--dark p{color:#8e8e95}
.section__heading--dark span{color:var(--orange)}
.products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.product-card{background:var(--card);border:1px solid rgba(255,133,0,.08);border-radius:32px;overflow:hidden;box-shadow:var(--shadow)}
.product-card__media{position:relative;padding:16px 16px 0;background:#fafafa}
.product-tag{position:absolute;top:16px;right:16px;background:var(--orange);color:#fff;padding:8px 14px;border-radius:999px;font-size:14px;font-weight:700;z-index:2}
.product-image-wrap{position:relative;aspect-ratio:1/1;background:#f7f7f7;border:1px solid #f0f0f0;border-radius:18px;display:grid;place-items:center;overflow:hidden}
.product-image{width:100%;height:100%;object-fit:contain;padding:8px}
.product-nav{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border:none;border-radius:50%;background:rgba(255,255,255,.96);box-shadow:0 6px 18px rgba(0,0,0,.12);font-size:28px;cursor:pointer;z-index:2}
.product-nav--prev{left:10px}.product-nav--next{right:10px}
.product-dots{display:flex;justify-content:center;gap:8px;padding:14px 0 10px}
.product-dots button{width:10px;height:10px;border:none;border-radius:50%;background:#d1d1d1;padding:0;cursor:pointer}
.product-dots button.active{background:var(--orange)}
.product-card__body{padding:24px 24px 26px}
.product-meta{font-size:13px;text-transform:uppercase;letter-spacing:.2em;color:#808086;font-weight:600;margin-bottom:12px}
.product-title{font-size:18px;line-height:1.45;margin:0 0 14px;font-weight:800;min-height:104px}
.product-price{font-size:20px;color:var(--orange);font-weight:800;margin-bottom:16px}
.product-price strong{font-size:22px}
.product-features{list-style:none;padding:0;margin:0 0 18px}
.product-features li{display:flex;gap:10px;color:#6b6b71;line-height:1.5;margin:10px 0}
.product-features li::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--orange);margin-top:8px;flex:0 0 auto}
.gift-note{background:#fff1e5;color:var(--orange);border-radius:18px;padding:14px 16px;font-weight:700;margin-bottom:16px}
.product-actions{display:grid;grid-template-columns:1fr;gap:12px}
.product-actions button{height:58px;border-radius:999px;font-weight:700;font-size:20px;cursor:pointer;border:1px solid #ddd;background:#fff}
.product-actions .dark{background:#111;color:#fff;border-color:#111}
.features-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.feature-card{background:#111;border-radius:32px;overflow:hidden;box-shadow:var(--shadow);aspect-ratio:1/1}
.feature-card img{width:100%;height:100%;object-fit:cover;transform:scale(1.12);transform-origin:center center}
.order-wrap{max-width:640px}
.order-form{background:#fff;border-radius:32px;padding:34px;box-shadow:var(--shadow)}
.order-form label{display:block;margin-bottom:18px}
.order-form label span{display:block;font-weight:700;margin-bottom:10px}
.order-form input,.order-form select{width:100%;height:56px;border-radius:18px;border:1px solid #ddd;padding:0 18px;background:#fff}
.modal{position:fixed;inset:0;display:none;z-index:1000}
.modal.open{display:block}
.modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.66)}
.modal__dialog{position:relative;background:#fff;border-radius:26px;width:min(1180px,calc(100% - 36px));max-height:calc(100vh - 36px);overflow:auto;margin:18px auto;padding:28px;box-shadow:0 30px 80px rgba(0,0,0,.28)}
.modal__close{position:absolute;top:18px;right:18px;width:44px;height:44px;border:none;background:#f3f3f3;border-radius:50%;font-size:28px;cursor:pointer;z-index:20;display:grid;place-items:center;line-height:1;box-shadow:0 10px 24px rgba(0,0,0,.12)}
.modal__top{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:start;margin-bottom:26px}
.modal__gallery{position:relative;background:#fafafa;border-radius:22px;border:1px solid #f0f0f0;padding:40px;min-height:520px;display:grid;place-items:center;touch-action:pan-y}
.modal__gallery img{max-height:440px;object-fit:contain}
.gallery-nav{position:absolute;top:50%;transform:translateY(-50%);width:54px;height:54px;border:none;border-radius:50%;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.15);font-size:34px;cursor:pointer}
.gallery-nav--prev{left:16px}.gallery-nav--next{right:16px}
.modal__info h3{font-size:36px;line-height:1.12;letter-spacing:-.03em;margin:0 0 12px;font-weight:800}
.modal__desc{font-size:16px;line-height:1.7;color:#5f5f66;margin:0 0 18px}
.modal__desc p{margin:0 0 12px}
.modal__price{font-size:34px;color:var(--orange);font-weight:800;margin-bottom:14px}
.modal__bullets{padding:0;margin:0 0 20px;list-style:none}
.modal__bullets li{display:flex;gap:10px;margin:12px 0;color:#525257}
.modal__bullets li::before{content:'•';color:var(--orange);font-size:24px;line-height:1}
.specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.spec-block{background:#fafafa;border-radius:20px;padding:18px}
.spec-block h4{margin:0 0 14px;color:#111;font-size:22px}
.spec-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #ececec;color:#6e6e74}
.spec-row:last-child{border-bottom:none}
.spec-row strong{color:#222;text-align:right;max-width:55%}
@media (max-width: 1100px){
  .products-grid,.features-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .modal__top{grid-template-columns:1fr}
}
@media (max-width: 720px){
  .container{width:min(100% - 24px,1240px)}
  .hero{min-height:78vh}
  .hero__badge{font-size:18px;padding:10px 18px}
  .hero h1{font-size:clamp(34px,11vw,52px)}
  .hero p{font-size:17px}
  .btn{height:62px;font-size:18px;padding:0 24px;width:100%}
  .hero__actions{display:grid;grid-template-columns:1fr;width:min(100%,420px);margin:0 auto}
  .products-grid,.features-grid,.specs{grid-template-columns:1fr}
  .product-card__body{padding:20px}
  .product-title{min-height:auto;font-size:17px}
  .order-form{padding:22px}
  .modal__dialog{padding:18px;width:min(100% - 16px,1180px);margin:8px auto;max-height:calc(100vh - 16px);padding-top:64px}
  .modal__close{position:sticky;top:10px;right:10px;margin-left:auto;margin-bottom:10px;width:48px;height:48px;font-size:30px;background:#fff;border:1px solid #e8e8e8}
  .modal__gallery{min-height:320px;padding:22px}
  .modal__info h3{font-size:28px}
  .modal__desc{font-size:15px}
  .product-nav,.gallery-nav{width:36px;height:36px;font-size:24px}
  .gallery-nav--prev{left:8px}.gallery-nav--next{right:8px}
}


.top-bar{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  z-index:12;
  padding:20px 0;
}
.top-bar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.logo img{
  height:150px;
  width:auto;
  object-fit:contain;
}
.phone{
  color:#fff;
  font-weight:700;
  font-size:18px;
  text-decoration:none;
  white-space:nowrap;
}
.hero__content{padding-top:130px}
.product-image,
#modalImage{
  transition:opacity .28s ease, transform .28s ease;
  will-change:opacity,transform;
  user-select:none;
  -webkit-user-drag:none;
}
.product-image-wrap,
.modal__gallery{
  touch-action:pan-y;
  user-select:none;
}
@media (max-width: 768px){
  .top-bar{padding:14px 0}
  .logo img{height:80px}
  .phone{font-size:15px}
  .hero__content{padding-top:110px}
}

/* Product landing pages for Meta Catalog */
.product-page{background:#f4f4f5;color:#111;min-height:100vh}
.product-header{background:#111;padding:14px 0;position:sticky;top:0;z-index:30;box-shadow:0 16px 40px rgba(0,0,0,.18)}
.product-header__inner{display:flex;align-items:center;justify-content:space-between;gap:18px}
.product-header .logo img{height:76px}
.product-header__actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;justify-content:flex-end}
.back-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:999px;background:rgba(255,255,255,.08);color:#fff;text-decoration:none;font-weight:700;border:1px solid rgba(255,255,255,.16)}
.product-phone{color:#fff}
.product-landing{padding:44px 0 70px;background:linear-gradient(180deg,#f6f6f7,#fff)}
.product-landing__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.9fr);gap:32px;align-items:start}
.product-landing__gallery,.product-landing__info{background:#fff;border-radius:34px;box-shadow:0 24px 70px rgba(0,0,0,.10);padding:28px;position:relative}
.product-landing__gallery{min-height:560px;display:grid;align-content:center;gap:20px}
.product-landing__image{width:100%;max-height:460px;object-fit:contain;display:block;margin:auto;user-select:none;-webkit-user-drag:none}
.product-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.product-thumbs button{height:112px;border:1px solid #e8e8e8;background:#fafafa;border-radius:18px;cursor:pointer;padding:8px;transition:.2s ease}
.product-thumbs button.active,.product-thumbs button:hover{border-color:var(--orange);box-shadow:0 10px 24px rgba(255,133,0,.15)}
.product-thumbs img{width:100%;height:100%;object-fit:contain;display:block}
.product-landing__info h1{font-size:clamp(34px,4vw,58px);line-height:.98;margin:10px 0 16px;letter-spacing:-.05em}
.product-landing__info .modal__desc{max-height:none;overflow:visible;font-size:17px}
.product-order-form{margin-top:20px;padding:20px;border-radius:24px;background:#f7f7f8;box-shadow:none}
.product-order-form label{margin-bottom:12px}
.product-home-btn{margin-top:14px;background:#111;color:#fff;border-color:#111;width:100%}
.product-badge{position:absolute;top:22px;left:22px;z-index:2;display:inline-flex;padding:10px 14px;border-radius:999px;background:var(--orange);color:#fff;font-weight:800;font-size:14px;text-transform:uppercase;letter-spacing:.04em}
@media (max-width: 980px){
  .product-landing__grid{grid-template-columns:1fr}
  .product-landing__gallery{min-height:auto}
}
@media (max-width: 640px){
  .product-header .logo img{height:58px}
  .product-header__actions{gap:8px}
  .back-link{min-height:40px;padding:0 14px;font-size:14px}
  .product-phone{font-size:14px}
  .product-landing{padding:22px 0 40px}
  .product-landing__gallery,.product-landing__info{border-radius:24px;padding:18px}
  .product-thumbs button{height:82px}
  .product-landing__info h1{font-size:31px}
}


/* Product landing pages */
.product-page{
  background:#f4f4f4;
  min-height:100vh;
}
.product-header{
  background:#050505;
  padding:16px 0;
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:0 12px 36px rgba(0,0,0,.18);
}
.product-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.product-header .logo img{height:78px}
.product-header__actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;justify-content:flex-end}
.back-link{color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);padding:12px 18px;border-radius:999px;font-weight:700}
.product-phone{color:#ff8500}
.product-landing{padding:58px 0 80px;background:linear-gradient(180deg,#f7f7f7,#eeeeee)}
.product-landing__grid{display:grid;grid-template-columns:1.02fr .98fr;gap:36px;align-items:start}
.product-landing__gallery,.product-landing__info{background:#fff;border-radius:32px;box-shadow:var(--shadow);border:1px solid rgba(255,133,0,.08)}
.product-landing__gallery{position:relative;padding:28px}
.product-badge{position:absolute;top:28px;right:28px;background:var(--orange);color:#fff;padding:10px 16px;border-radius:999px;font-weight:800;z-index:2}
.product-landing__image{width:100%;aspect-ratio:1/1;object-fit:contain;background:#fafafa;border-radius:24px;border:1px solid #eee;padding:22px}
.product-thumbs{display:flex;gap:12px;margin-top:16px;overflow:auto;padding-bottom:4px}
.product-thumbs button{width:92px;height:76px;border-radius:16px;border:2px solid #e8e8e8;background:#fff;padding:6px;cursor:pointer;flex:0 0 auto}
.product-thumbs button.active{border-color:var(--orange)}
.product-thumbs img{width:100%;height:100%;object-fit:contain}
.product-landing__info{padding:34px}
.product-landing__info h1{font-size:clamp(34px,4vw,58px);line-height:1.02;letter-spacing:-.045em;margin:0 0 18px;font-weight:800}
.product-order-form{margin-top:18px;padding:24px;background:#fafafa;box-shadow:none;border:1px solid #eee}
.product-home-btn{margin-top:14px;width:100%;background:#111;color:#fff;border-color:#111}
.product-page .btn--ghost:hover{background:#050505;color:#fff}
@media (max-width: 980px){
  .product-landing__grid{grid-template-columns:1fr}
  .product-header .logo img{height:58px}
}
@media (max-width: 640px){
  .product-header__inner{align-items:flex-start;flex-direction:column}
  .product-header__actions{justify-content:flex-start}
  .product-landing{padding:26px 0 44px}
  .product-landing__gallery,.product-landing__info{border-radius:22px;padding:18px}
  .product-landing__info h1{font-size:30px}
  .product-thumbs button{width:76px;height:62px}
}
