:root{
  --ink:#0b1322;
  --blue:#2450c9;
  --muted:#5b6577;
  --line:#dfe5ef;
  --soft:#f6f8fc;
  --white:#fff;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:110px}
body{
  margin:0;
  color:var(--ink);
  font-family:"DM Sans",sans-serif;
  background:#fff;
  overflow-x:hidden;
}
body.menu-open{overflow:hidden}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
img{display:block;max-width:100%}
.container{width:min(1180px,calc(100% - 64px));margin:auto}
.grid-bg{
  background-color:#fbfcfe;
  background-image:
    linear-gradient(rgba(35,71,140,.08) 1px,transparent 1px),
    linear-gradient(90deg,rgba(35,71,140,.08) 1px,transparent 1px);
  background-size:78px 78px;
}

/* =========================
   HEADER + LOGO
   ========================= */
.site-header{
  min-height:108px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:10px 31px;
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:50;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(20,40,70,.07);
  transition:min-height .25s ease,box-shadow .25s ease,padding .25s ease;
}
.site-header.scrolled{
  min-height:82px;
  padding-top:7px;
  padding-bottom:7px;
  box-shadow:0 10px 30px rgba(20,40,70,.07);
}
.brand{display:flex;align-items:center;min-width:0}
.site-logo{
  width:185px;
  height:auto;
  max-height:92px;
  object-fit:contain;
  object-position:left center;
}
.menu-button{
  flex:0 0 auto;
  width:62px;
  height:62px;
  border-radius:50%;
  border:1px solid #d8dfeb;
  background:#fff;
  display:grid;
  place-content:center;
  gap:5px;
  cursor:pointer;
  transition:.25s ease;
}
.menu-button:hover{border-color:#9fb2d7;transform:translateY(-1px)}
.menu-button:focus-visible,
.btn:focus-visible,
.menu-panel a:focus-visible,
.back-to-top:focus-visible,
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible{
  outline:3px solid rgba(36,80,201,.28);
  outline-offset:3px;
}
.menu-button span{
  width:21px;
  height:2px;
  background:var(--ink);
  display:block;
  transition:.25s;
}
.menu-button.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-button.open span:nth-child(2){opacity:0}
.menu-button.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.menu-overlay{
  position:fixed;
  inset:0;
  background:rgba(8,16,30,.5);
  z-index:40;
  opacity:0;
  pointer-events:none;
  transition:.3s;
}
.menu-overlay.open{opacity:1;pointer-events:auto}
.menu-panel{
  position:absolute;
  right:0;
  top:0;
  height:100%;
  width:min(430px,90%);
  background:#fff;
  padding:150px 55px 40px;
  overflow-y:auto;
  box-shadow:-20px 0 60px rgba(8,16,30,.12);
}
.menu-panel a{
  font:800 35px Manrope;
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:18px 0;
  border-bottom:1px solid var(--line);
}
.menu-panel a span{
  flex:0 0 auto;
  font:500 12px "DM Sans";
  color:#9aa4b4;
  letter-spacing:.15em;
}

/* =========================
   HERO
   ========================= */
.hero{
  padding-top:180px;
  min-height:930px;
  overflow:hidden;
}
.hero-content{position:relative;z-index:2}
.eyebrow{
  display:flex;
  align-items:center;
  gap:16px;
  color:var(--blue);
  letter-spacing:.3em;
  font-size:17px;
  font-weight:600;
}
.eyebrow i{width:56px;height:1px;background:var(--blue);display:block;flex:0 0 auto}
.hero h1,h2,h3{font-family:Manrope;margin:0}
.hero h1{
  font-size:clamp(54px,6.2vw,78px);
  line-height:1.03;
  letter-spacing:-.055em;
  margin:45px 0 40px;
  font-weight:800;
}
em{font-style:normal;color:var(--blue)}
.hero-text{
  font-size:25px;
  line-height:1.55;
  color:#4c5668;
  max-width:900px;
}
.hero-actions{display:flex;gap:20px;margin:46px 0 65px;flex-wrap:wrap}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:25px;
  min-height:56px;
  border-radius:40px;
  padding:18px 36px;
  font-size:18px;
  font-weight:600;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-dark{background:var(--ink);color:#fff}
.btn-dark:hover{background:var(--blue)}
.btn-outline{border-color:#c9d1de;background:#fff}
.btn-outline:hover{border-color:#9fb2d7;background:#f8faff}
.btn-white{background:#fff;color:var(--ink)}
.btn span{font-size:25px}
.trust-row{
  display:flex;
  gap:55px;
  color:#596477;
  font-size:18px;
  flex-wrap:wrap;
}
.trust-row span:first-letter{color:var(--blue)}
.hero-image-wrap{
  width:min(1250px,calc(100% - 40px));
  height:500px;
  margin:55px auto 0;
  border:1px solid #ccd6e6;
  border-radius:45px 45px 0 0;
  padding:20px;
  position:relative;
  overflow:hidden;
  background:#fff;
}
.hero-image-wrap img{height:100%;width:100%;object-fit:cover;border-radius:30px}

/* =========================
   SECTIONS
   ========================= */
.intro-band{background:var(--ink);color:#d9e0ed;padding:34px 0}
.intro-band p{font-size:24px;margin:0}
.section{padding:130px 0}
.about h2,.products h2{
  font-size:clamp(45px,5vw,66px);
  letter-spacing:-.05em;
  line-height:1.08;
  margin:38px 0;
}
.lead{font-size:25px;line-height:1.55;color:#4f596a;max-width:1040px}
.numbered{margin-bottom:20px}
.numbered span{color:#8995a8;letter-spacing:.15em}
.numbered i{background:#a9b4c4;width:44px}
.large-photo{margin-top:65px;height:540px;border-radius:40px;overflow:hidden}
.large-photo img{height:100%;width:100%;object-fit:cover}
.products{padding-bottom:150px}
.narrow{max-width:1000px}

/* =========================
   PRODUCTS
   ========================= */
.product-card{
  background:#fff;
  border:1px solid #d7deea;
  border-radius:45px;
  padding:35px;
  margin-top:100px;
  box-shadow:0 25px 70px rgba(20,40,80,.05);
}
.product-photo{
  height:540px;
  position:relative;
  overflow:hidden;
  border-radius:30px;
}
.product-photo img{height:100%;width:100%;object-fit:cover}
.photo-label{
  position:absolute;
  top:28px;
  left:28px;
  background:#fff;
  border-radius:30px;
  padding:13px 23px;
  font-size:14px;
  letter-spacing:.18em;
  font-weight:600;
}
.product-info{padding:55px 20px 20px}
.product-info h3{font-size:48px;letter-spacing:-.04em}
.product-info h4{font-size:21px;color:var(--blue);margin:13px 0 28px}
.product-info p{font-size:20px;line-height:1.55;color:#4f596a;max-width:1000px}
.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 55px;margin:38px 0}
.feature-grid span{font-size:18px;color:#343d4d}
.feature-grid span::first-letter{color:var(--blue)}
.small-btn{padding:16px 28px;font-size:16px}

/* =========================
   CONTACT
   ========================= */
.cta-section{background:var(--ink);color:#fff;padding:120px 0}
.cta{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}
.eyebrow.light{color:#9fb8ff}
.eyebrow.light:before{content:"";width:55px;height:1px;background:#9fb8ff;flex:0 0 auto}
.cta h2{font-size:clamp(44px,5vw,64px);line-height:1.06;letter-spacing:-.05em;margin:30px 0}
.cta>div>p{font-size:19px;line-height:1.6;color:#b8c2d2;max-width:530px}
.contact-form{display:grid;gap:14px}
.contact-form input,.contact-form select,.contact-form textarea{
  font:inherit;
  font-size:16px;
  padding:17px 18px;
  border:1px solid #344054;
  border-radius:12px;
  background:#121c2d;
  color:#fff;
  outline:none;
  width:100%;
}
.contact-form input::placeholder,.contact-form textarea::placeholder{color:#8f9aab}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:#7292ed}
.contact-form textarea{resize:vertical;min-height:130px}
.form-note{margin:0;font-size:14px;font-weight:500;min-height:20px}
.form-note.success{color:#7dd3a7}
.form-note.error{color:#ff8a8a}
.contact-form button{width:fit-content}
.contact-form button:disabled{opacity:.7;cursor:wait}
.form-honeypot{
  position:absolute!important;
  left:-10000px!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* =========================
   FOOTER
   ========================= */
footer{padding:70px 0 30px;background:#fff}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:40px}
.footer-grid>div:not(:first-child){display:flex;flex-direction:column;gap:12px;color:#596477}
.footer-grid strong{color:var(--ink);margin-bottom:5px}
.footer-logo{width:210px;height:auto;max-width:100%}
.footer-grid a:hover{color:var(--blue)}
.footer-bottom{border-top:1px solid #dbe1ea;margin-top:55px;padding-top:25px;color:#8993a4;font-size:13px}

/* =========================
   BACK TO TOP
   ========================= */
.back-to-top{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:30;
  width:48px;
  height:48px;
  border:1px solid #cbd5e3;
  border-radius:50%;
  background:#fff;
  color:var(--ink);
  box-shadow:0 10px 30px rgba(20,40,80,.12);
  cursor:pointer;
  font-size:22px;
  opacity:0;
  transform:translateY(12px);
  pointer-events:none;
  transition:.25s ease;
}
.back-to-top.visible{opacity:1;transform:translateY(0);pointer-events:auto}
.back-to-top:hover{background:var(--ink);color:#fff}

/* =========================
   TABLET
   ========================= */
@media(max-width:1024px){
  .container{width:min(100% - 48px,1180px)}
  .hero{padding-top:155px;min-height:auto;padding-bottom:80px}
  .hero h1{font-size:clamp(48px,7vw,68px)}
  .hero-text{font-size:22px;max-width:760px}
  .hero-image-wrap{height:420px}
  .section{padding:100px 0}
  .product-card{margin-top:70px}
  .product-photo{height:440px}
  .cta{gap:45px}
}

/* =========================
   MOBILE
   ========================= */
@media(max-width:800px){
  html{scroll-padding-top:84px}
  .site-header{min-height:82px;height:82px;padding:5px 18px}
  .site-header.scrolled{min-height:74px;height:74px}
  .site-logo{width:135px;max-height:72px}
  .menu-button{width:50px;height:50px}
  .container{width:min(100% - 36px,1180px)}
  .menu-panel{padding:110px 28px 35px}
  .menu-panel a{font-size:28px;padding:16px 0}
  .hero{padding-top:125px;padding-bottom:65px}
  .eyebrow{font-size:12px;letter-spacing:.22em;gap:10px}
  .eyebrow i{width:32px}
  .hero h1{font-size:clamp(38px,11vw,50px);margin:28px 0 24px;letter-spacing:-.045em}
  .hero-text{font-size:18px;line-height:1.6}
  .hero-actions{margin:30px 0 38px;flex-direction:column;gap:12px}
  .btn{width:100%;padding:16px 22px;font-size:16px}
  .trust-row{gap:10px;display:grid;font-size:14px}
  .hero-image-wrap{
    width:100%;
    height:300px;
    padding:10px;
    border-radius:28px 28px 0 0;
    margin-top:35px;
  }
  .hero-image-wrap img{border-radius:20px}
  .intro-band{padding:25px 0}
  .intro-band p{font-size:17px;line-height:1.5}
  .section{padding:78px 0}
  .about h2,.products h2{font-size:clamp(38px,10vw,52px);margin:28px 0}
  .lead{font-size:18px;line-height:1.65}
  .large-photo{height:350px;margin-top:38px;border-radius:28px}
  .product-card{padding:14px;border-radius:28px;margin-top:52px}
  .product-photo{height:330px;border-radius:20px}
  .photo-label{top:16px;left:16px;padding:10px 13px;font-size:10px;letter-spacing:.12em}
  .product-info{padding:32px 8px 14px}
  .product-info h3{font-size:36px}
  .product-info h4{font-size:18px;line-height:1.4;margin:10px 0 20px}
  .product-info p{font-size:17px;line-height:1.6}
  .feature-grid{grid-template-columns:1fr;gap:12px;margin:28px 0}
  .feature-grid span{font-size:16px}
  .small-btn{font-size:15px}
  .cta{grid-template-columns:1fr;gap:45px}
  .cta-section{padding:78px 0}
  .cta h2{font-size:clamp(38px,10vw,52px)}
  .cta>div>p{font-size:17px}
  .contact-form button{width:100%}
  footer{padding:55px 0 25px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:34px 20px}
  .footer-grid .brand{grid-column:1/-1}
  .footer-logo{width:175px}
  .footer-bottom{margin-top:40px}
  .back-to-top{right:16px;bottom:16px}
}

/* SMALL PHONES */
@media(max-width:420px){
  .container{width:calc(100% - 28px)}
  .site-header{padding-left:14px;padding-right:14px}
  .site-logo{width:118px}
  .menu-button{width:46px;height:46px}
  .hero{padding-top:116px}
  .hero h1{font-size:37px}
  .hero-image-wrap{height:245px}
  .large-photo{height:280px}
  .product-photo{height:275px}
  .footer-grid{grid-template-columns:1fr}
  .footer-grid .brand{grid-column:auto}
}

/* Reduced motion */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}
