*{box-sizing:border-box}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:#082f43;
  background:#f6fafc;
}

a{color:inherit}

.container{
  width:min(1120px,calc(100% - 36px));
  margin:auto;
}

header{
  background:#fff;
  border-bottom:1px solid #dfe9ed;
}

.header-inner{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  font-weight:800;
  font-size:1.35rem;
}

.logo-mark{
  width:43px;
  height:43px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#082f43;
  color:#fff;
  font-size:.76rem;
}

nav{
  display:flex;
  align-items:center;
  gap:28px;
}

nav a{
  text-decoration:none;
  font-size:.92rem;
  font-weight:700;
  color:#39515d;
}

.client-login{
  border:1px solid #d3e1e7;
  padding:12px 18px;
  border-radius:13px;
  color:#082f43;
}

.product-hero{
  padding:74px 0 64px;
  background:
    radial-gradient(circle at 90% 20%,#dff5fb 0,transparent 34%),
    #fff;
}

.eyebrow{
  display:inline-block;
  color:#078dbd;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.72rem;
  font-weight:800;
  margin-bottom:15px;
}

.product-hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:60px;
  align-items:center;
}

h1{
  margin:0 0 18px;
  font-size:clamp(2.8rem,5vw,5.2rem);
  line-height:.98;
  letter-spacing:-.05em;
}

.hero-copy{
  max-width:680px;
  color:#607984;
  font-size:1.08rem;
  line-height:1.65;
}

.price-card{
  background:#f0fafd;
  border:1px solid #b9dfeb;
  border-radius:24px;
  padding:30px;
  box-shadow:0 24px 60px rgba(6,48,67,.10);
}

.badge{
  display:inline-block;
  padding:7px 10px;
  border-radius:999px;
  background:#082f43;
  color:#fff;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.1em;
  margin-bottom:18px;
}

.price{
  font-size:4.3rem;
  font-weight:800;
  letter-spacing:-.06em;
  line-height:1;
}

.price-meta{
  color:#718790;
  margin-top:7px;
}

.renewal{
  margin-top:22px;
  padding:16px;
  border-radius:14px;
  background:#fff;
  font-weight:700;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  margin-top:20px;
  padding:14px 21px;
  border-radius:12px;
  background:#082f43;
  color:#fff;
  font-weight:800;
}

section{
  padding:66px 0;
}

.section-head{
  max-width:700px;
  margin-bottom:34px;
}

h2{
  margin:0 0 12px;
  font-size:clamp(2rem,3.5vw,3.2rem);
  line-height:1.05;
  letter-spacing:-.035em;
}

.section-head p{
  color:#667d87;
  line-height:1.6;
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.feature{
  background:#fff;
  border:1px solid #dfe9ed;
  border-radius:18px;
  padding:24px;
}

.feature h3{
  margin:0 0 9px;
  font-size:1.05rem;
}

.feature p{
  margin:0;
  color:#647b86;
  line-height:1.55;
  font-size:.92rem;
}

.dark{
  background:#082f43;
  color:#fff;
}

.dark .section-head p{
  color:rgba(255,255,255,.7);
}

.check-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:13px 30px;
}

.check-list li{
  position:relative;
  padding-left:26px;
  line-height:1.45;
}

.check-list li:before{
  content:"✓";
  position:absolute;
  left:0;
  color:#54c7e9;
  font-weight:800;
}

.optional-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.optional{
  background:#fff;
  border:1px solid #dce8ed;
  border-radius:18px;
  padding:25px;
}

.optional-price{
  display:inline-block;
  margin-top:12px;
  color:#078dbd;
  font-weight:800;
}

.note{
  margin-top:30px;
  padding:17px 19px;
  background:#edf6f8;
  border-radius:14px;
  color:#536d78;
  line-height:1.55;
  font-size:.9rem;
}

.cta{
  text-align:center;
}

.cta p{
  max-width:620px;
  margin:0 auto;
  color:rgba(255,255,255,.72);
  line-height:1.6;
}

footer{
  padding:30px 0;
  background:#052635;
  color:rgba(255,255,255,.65);
  font-size:.82rem;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:20px;
}

@media(max-width:800px){
  nav a:not(.client-login){display:none}

  .product-hero-grid,
  .feature-grid,
  .optional-grid{
    grid-template-columns:1fr;
  }

  .check-list{
    grid-template-columns:1fr;
  }

  .product-hero{
    padding-top:48px;
  }

  .price{
    font-size:3.6rem;
  }
}


/* =========================================================
   Professional installation quality
   ========================================================= */

.quality-section{
  background:#fff;
}

.quality-intro{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:55px;
  align-items:end;
  margin-bottom:34px;
}

.quality-intro .section-head{
  margin:0;
}

.quality-statement{
  margin:0;
  padding:23px 25px;
  border-left:4px solid #0a96c3;
  background:#f0f9fc;
  border-radius:0 16px 16px 0;
  color:#486773;
  line-height:1.65;
}

.quality-statement strong{
  color:#082f43;
}

.quality-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.quality-card{
  position:relative;
  padding:24px 21px;
  min-height:205px;
  overflow:hidden;
  border:1px solid #dce8ed;
  border-radius:18px;
  background:
    linear-gradient(145deg,#ffffff 0%,#f5fbfd 100%);
}

.quality-icon{
  width:45px;
  height:45px;
  display:grid;
  place-items:center;
  margin-bottom:19px;
  border-radius:13px;
  background:#e3f6fb;
  color:#078dbd;
}

.quality-icon svg{
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.quality-card h3{
  margin:0 0 9px;
  font-size:1rem;
  color:#082f43;
}

.quality-card p{
  margin:0;
  color:#637d88;
  line-height:1.55;
  font-size:.88rem;
}

.quality-card:after{
  content:"";
  position:absolute;
  width:80px;
  height:80px;
  right:-35px;
  bottom:-35px;
  border-radius:50%;
  background:rgba(10,150,195,.06);
}

.quality-bottom{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:25px;
  padding:16px 20px;
  border-radius:14px;
  background:#082f43;
  color:#fff;
}

.quality-bottom-mark{
  flex:0 0 auto;
  width:31px;
  height:31px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#55c6e7;
  color:#082f43;
  font-weight:900;
}

.quality-bottom strong{
  display:block;
  margin-bottom:2px;
}

.quality-bottom span{
  display:block;
  color:rgba(255,255,255,.70);
  font-size:.85rem;
}

@media(max-width:900px){

  .quality-intro{
    grid-template-columns:1fr;
    gap:22px;
  }

  .quality-grid{
    grid-template-columns:repeat(2,1fr);
  }

}

@media(max-width:600px){

  .quality-grid{
    grid-template-columns:1fr;
  }

  .quality-card{
    min-height:0;
  }

}


/* NautiVigil brand header */
.nautivigil-brand{
  display:inline-flex !important;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.brand-logo-icon{
  width:46px;
  height:46px;
  display:block;
  overflow:hidden;
  border-radius:50%;
  position:relative;
  background:#082f43;
  flex:0 0 46px;
}

.brand-logo-icon img{
  position:absolute;

  /* Full source image is vertical.
     Scale and position so only the upper emblem is visible. */
  width:78px;
  height:auto;

  top:-1px;
  left:50%;
  transform:translateX(-50%);
}

.brand-word{
  display:inline-flex;
  align-items:baseline;
  font-size:1.42rem;
  line-height:1;
  font-weight:800;
  letter-spacing:-.035em;
}

.brand-nauti{
  color:#082f43;
}

.brand-vigil{
  color:#08a8b2;
}

@media(max-width:768px){
  .brand-logo-icon{
    width:40px;
    height:40px;
    flex-basis:40px;
  }

  .brand-logo-icon img{
    width:68px;
  }

  .brand-word{
    font-size:1.24rem;
  }
}


/* =========================================================
   NautiVigil horizontal header logo
   ========================================================= */

.site-logo-link{
  display:inline-flex !important;
  align-items:center;
  text-decoration:none;
}

.site-logo-header{
  display:block;
  height:54px;
  width:auto;
  max-width:none;
}

@media(max-width:768px){
  .site-logo-header{
    height:44px;
  }
}

.product-hero{
  position:relative;
  overflow:hidden;
  background:#f7fbfd;
}

.product-hero::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:68%;
  height:100%;

  background-image:url('/assets/images/nautivigil-map-bg.png');
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;

  opacity:0.11;

  -webkit-mask-image:linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,.25) 18%,
    #000 45%
  );

  mask-image:linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,.25) 18%,
    #000 45%
  );

  pointer-events:none;
  z-index:0;
}

.product-hero-grid{
  position:relative;
  z-index:1;
}

.price-card{
  position:relative;
  z-index:2;
  background:rgba(241,249,252,.96);
}

.nv-basic-features{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:20px 0 25px;
}

.nv-basic-features span{
  background:rgba(255,255,255,.85);
  border:1px solid #c5dfe8;
  border-radius:30px;
  padding:8px 13px;
  font-size:13px;
  font-weight:700;
}

.nv-demo-section{
  padding:65px 0;
  background:#fff;
}

.nv-demo-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.nv-demo-section h2{
  font-size:38px;
  margin:10px 0 15px;
}

.nv-demo-section p{
  color:#607b88;
  line-height:1.6;
}

.nv-demo-card{
  background:#f1f9fc;
  border:1px solid #c5dfe8;
  border-radius:22px;
  padding:30px;
}

.nv-demo-card h3{
  font-size:25px;
  margin:10px 0;
}

.nv-demo-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:20px;
}

.nv-wa{
  background:#0aa9b8 !important;
}

.nv-wa-float{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:9999;
  background:#0aa9b8;
  color:white;
  text-decoration:none;
  font-weight:700;
  padding:14px 20px;
  border-radius:30px;
  box-shadow:0 8px 25px rgba(0,0,0,.18);
}

@media(max-width:800px){
  .nv-demo-grid{
    grid-template-columns:1fr;
    gap:25px;
  }

  .nv-demo-section h2{
    font-size:30px;
  }
}

@media (min-width:801px){

  .product-hero h1{
    font-size:clamp(2.6rem,3.9vw,4.2rem);
  }

  .product-hero .price-card{
    position:relative;
    width:100%;
    max-width:370px;
    justify-self:end;
    padding:46px 18px 18px;
    transform:translate(105px,-145px);
  }

  .product-hero .price-card .badge{
    position:absolute;
    top:14px;
    right:16px;
    margin:0;
    padding:4px 8px;
    font-size:.52rem;
    letter-spacing:.05em;
  }

  .product-hero .price{
    font-size:3.5rem;
  }

  .product-hero::before{
    opacity:0.50;
  }

}

/* Само секцията с Optional Sensors */
section:has(.optional-grid){
  padding-top:38px !important;
  padding-bottom:38px !important;
}

section:has(.optional-grid) .section-head{
  margin-bottom:24px !important;
}

section:has(.optional-grid) .section-head h2{
  font-size:2.35rem !important;
  margin-bottom:10px !important;
}

section:has(.optional-grid) .section-head p{
  font-size:1rem !important;
  margin-bottom:0 !important;
}

section:has(.optional-grid) .optional-grid{
  gap:18px !important;
}

section:has(.optional-grid) .optional-grid > *{
  padding:24px !important;
  min-height:0 !important;
}

section:has(.optional-grid) .optional-grid h3{
  margin-top:0 !important;
  margin-bottom:12px !important;
  font-size:1.18rem !important;
}

section:has(.optional-grid) .optional-grid p{
  margin:0 0 14px !important;
  line-height:1.45 !important;
}

section:has(.optional-grid) .optional-grid + *{
  margin-top:18px !important;
}

@media(max-width:800px){
  section:has(.optional-grid){
    padding-top:30px !important;
    padding-bottom:30px !important;
  }

  section:has(.optional-grid) .section-head h2{
    font-size:1.9rem !important;
  }
}
