/* =========
   Base
========= */
:root{
  --bg:#f7f8fb;
  --card:#ffffff;
  --text:#0b1220;
  --muted:rgba(11,18,32,.68);
  --border:rgba(11,18,32,.10);
  --shadow:0 12px 30px rgba(11,18,32,.08);
  --accent:#1e3a5f;
  --accent2:#2a4f82;
  --radius:18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
}

a{color:inherit; text-decoration:none}
.container{max-width:1160px;margin:0 auto;padding:0 18px}
.muted{color:var(--muted)}
.section{padding:72px 0}
.section--alt{background:linear-gradient(180deg,#f2f5fb, #f7f8fb)}
.sectionHead{display:flex;gap:18px;align-items:flex-end;justify-content:space-between;margin-bottom:24px}
.sectionHead h2{margin:0;font-size:36px;line-height:1.12}
.sectionHead p{margin:0;max-width:520px;color:var(--muted)}

/* =========
   Header
========= */
.header{
  position:fixed; top:0; left:0; right:0;
  z-index:50;
  background:rgba(247,248,251,.70);
  backdrop-filter: blur(14px);
  border-bottom:1px solid rgba(11,18,32,.08);
}
.header__inner{display:flex;align-items:center;gap:18px;padding:14px 0}
.logo{display:flex;align-items:center;gap:10px;min-width:220px}
.logo__mark{
  width:34px;height:34px;border-radius:12px;
  background: radial-gradient(circle at 20% 20%, #88b2ff, #1e3a5f 60%, #0b1220);
  box-shadow: 0 10px 22px rgba(30,58,95,.25);
}
.logo__text{display:flex;flex-direction:column;line-height:1.1}
.logo__title{font-weight:700}
.logo__sub{font-size:12px;color:var(--muted)}
.nav{display:flex;gap:28px;align-items:center}
.nav a{font-size:14px;color:rgba(11,18,32,.78);padding:8px 10px;border-radius:12px}
.nav a:hover{background:rgba(11,18,32,.06)}
.header__actions{margin-left:auto;display:flex;gap:10px;align-items:center}
.chip{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 12px;border:1px solid var(--border);
  border-radius:999px;background:rgba(255,255,255,.65);
  font-size:14px;
}

/* Burger / mobile */
.burger{display:none;margin-left:10px;background:transparent;border:0;cursor:pointer;padding:10px;border-radius:12px}
.burger span{display:block;width:22px;height:2px;background:rgba(11,18,32,.78);margin:5px 0;border-radius:2px}
.mobileNav{position:fixed;inset:0;display:none}
.mobileNav.is-open{display:block}
.mobileNav__bg{position:absolute;inset:0;background:rgba(11,18,32,.35)}
.mobileNav__panel{
  position:absolute;right:0;top:0;height:100%;
  width:min(360px, 92vw);
  background:rgba(247,248,251,.92);
  backdrop-filter: blur(14px);
  border-left:1px solid rgba(11,18,32,.10);
  padding:16px;
}
.mobileNav__top{display:flex;align-items:center;justify-content:space-between}
.mobileNav__title{font-weight:700}
.mobileNav__links{display:flex;flex-direction:column;gap:12px;margin-top:18px}
.mobileNav__links a{padding:12px 12px;border-radius:14px;border:1px solid rgba(11,18,32,.08);background:#fff}
.mobileNav__links a:hover{background:rgba(11,18,32,.04)}

/* =========
   Buttons
========= */
.btn{
  border:1px solid transparent;
  border-radius:14px;
  padding:12px 16px;
  font-weight:600;
  cursor:pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  background:#fff;
}
.btn:active{transform:translateY(1px)}
.btn--primary{
  background:linear-gradient(180deg, var(--accent2), var(--accent));
  color:#fff;
  box-shadow: 0 10px 24px rgba(30,58,95,.25);
}
.btn--primary:hover{filter:brightness(1.05)}
.btn--ghost{
  background:rgba(255,255,255,.70);
  border-color:rgba(255,255,255,.65);
  color:#0b1220;
}
.btn--ghost:hover{background:#fff}
.btn--lg{padding:14px 18px;border-radius:16px;font-size:16px}

.iconBtn{
  border:1px solid rgba(11,18,32,.10);
  background:rgba(255,255,255,.75);
  width:40px;height:40px;border-radius:14px;
  cursor:pointer;
}
.iconBtn:hover{background:#fff}

/* =========
   Hero
========= */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero__video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  filter: saturate(1.05) contrast(1.05) brightness(.68);
  transform: scale(1.02);
}
.hero__bg{
  position:absolute;
  inset:0;
  background:url("../img/hero.jpg") center/cover no-repeat;
  filter: brightness(1.15) contrast(1.05);
  transform: scale(1.02);
}
.hero__overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 500px at 30% 20%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.34));
}
.hero__content{position:relative;z-index:2;padding-top:96px;padding-bottom:56px}
.hero__badge{
  display:inline-flex;align-items:center;gap:8px;
  color:rgba(11,18,32,.82);
  background:rgba(255,255,255,.38);
  border:1px solid rgba(255,255,255,.52);
  padding:10px 12px;border-radius:999px;
  font-size:13px;
  backdrop-filter: blur(8px);
}
.hero__title{
  margin:14px 0 0;
  color:#17263b;
  font-size:56px;
  line-height:1.05;
  letter-spacing:-.02em;
  text-shadow:0 2px 10px rgba(255,255,255,.18);
}
.hero__subtitle{
  margin:14px 0 0;
  color:rgba(23,38,59,.92);
  font-size:18px;
  max-width:720px;
}
.hero__cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.hero__facts{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:12px;margin-top:28px;
}
.fact{
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.42);
  background:rgba(255,255,255,.30);
  backdrop-filter: blur(8px);
  padding:14px 14px;
}
.fact__num{font-weight:800;color:#17263b}
.fact__txt{margin-top:6px;color:rgba(23,38,59,.86);font-size:13px}
.hero__scroll{margin-top:34px}
.scrollHint{display:inline-flex;gap:10px;align-items:center;color:rgba(23,38,59,.88)}
.scrollHint__dot{
  width:26px;height:44px;border-radius:999px;
  border:1px solid rgba(23,38,59,.28);
  position:relative;
}
.scrollHint__dot:after{
  content:""; position:absolute; left:50%; top:12px;
  width:6px;height:6px;border-radius:99px;background:rgba(23,38,59,.82);
  transform:translateX(-50%);
  animation: dot 1.4s infinite;
}
@keyframes dot{0%{transform:translate(-50%,0)}50%{transform:translate(-50%,10px)}100%{transform:translate(-50%,0)}}
.scrollHint__txt{font-size:13px}

/* =========
   Cards / grids
========= */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.grid2{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .2s ease;
}
.card:hover{transform:translateY(-2px);box-shadow:0 16px 40px rgba(11,18,32,.10)}
.card__icon{font-size:22px}
.card h3{margin:10px 0 8px}
.card p{margin:0;color:var(--muted);line-height:1.5}

.hintRow{
  margin-top:18px;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:rgba(255,255,255,.70);
  padding:16px;
  display:flex;gap:12px;align-items:center;justify-content:space-between;
}
.hintRow__left{display:flex;gap:12px;align-items:center}
.pill{
  font-weight:700;font-size:12px;
  padding:8px 10px;border-radius:999px;
  background:rgba(30,58,95,.10);
  border:1px solid rgba(30,58,95,.18);
  color:var(--accent);
}
.hintRow__text{color:var(--muted);max-width:700px}

/* Glass blocks */
.glass{
  border-radius:var(--radius);
  border:1px solid rgba(11,18,32,.10);
  background:rgba(255,255,255,.70);
  backdrop-filter: blur(10px);
  padding:18px;
  box-shadow: var(--shadow);
}
.glass h3{margin:0 0 10px}
.list{margin:0;padding-left:18px;color:var(--muted);line-height:1.7}

/* Stats */
.stats{
  margin-top:14px;
  display:grid;grid-template-columns:repeat(4,1fr);gap:12px;
}
.stat{
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:#fff;
  padding:16px;
  box-shadow: var(--shadow);
}
.stat__k{font-weight:800}
.stat__v{color:var(--muted);margin-top:6px}

/* Steps */
.steps{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.step{
  display:flex;gap:12px;
  background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  padding:16px;box-shadow: var(--shadow);
}
.step__num{
  width:48px;height:48px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(30,58,95,.10);
  border:1px solid rgba(30,58,95,.18);
  color:var(--accent);
  font-weight:900;
}
.step h3{margin:0 0 6px}
.step p{margin:0;color:var(--muted);line-height:1.5}

/* CTA band */
.ctaBand{
  margin-top:16px;
  border-radius:calc(var(--radius) + 6px);
  border:1px solid rgba(30,58,95,.18);
  background:linear-gradient(180deg, rgba(136,178,255,.22), rgba(30,58,95,.08));
  padding:18px;
  display:flex;gap:14px;align-items:center;justify-content:space-between;
}
.ctaBand__title{font-weight:900;font-size:18px}
.ctaBand__sub{color:var(--muted);margin-top:6px}

/* FAQ */
.faq{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.faqItem{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  padding:14px;box-shadow: var(--shadow);
}
.faqItem summary{cursor:pointer;font-weight:800}
.faqItem__content{margin-top:10px;color:var(--muted);line-height:1.6}

/* Contact */
.contact{
  display:grid;grid-template-columns:1.1fr .9fr;gap:18px;align-items:start;
}
.contact h2{margin:0;font-size:36px}
.contact p{margin:10px 0 0}
.contact__mini{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:16px}
.miniCard{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  padding:14px;box-shadow: var(--shadow);
}
.miniCard__k{font-weight:800}
.miniCard__v{margin-top:6px;color:var(--muted);line-height:1.5}

/* Forms */
.leadForm{
  background:#fff;border:1px solid var(--border);
  border-radius:calc(var(--radius) + 6px);
  padding:16px;box-shadow: var(--shadow);
}
.leadForm--compact{box-shadow:none;border:1px solid rgba(11,18,32,.10)}
.leadGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.field{display:flex;flex-direction:column;gap:6px}
.field span{font-size:12px;color:rgba(11,18,32,.70);font-weight:700}
.field input,.field textarea{
  border:1px solid rgba(11,18,32,.12);
  border-radius:14px;
  padding:12px 12px;
  font-size:14px;
  outline:none;
  background:rgba(247,248,251,.45);
}
.field input:focus,.field textarea:focus{border-color:rgba(30,58,95,.45);background:#fff}
.field textarea{min-height:96px;resize:vertical}
.field--wide{grid-column:1/-1}
.leadNote{margin-top:10px;font-size:14px;min-height:20px}
.leadNote.is-ok{color:#0a7a2f}
.leadNote.is-warn{color:#8a5b00}
.leadNote.is-err{color:#b00020}
.leadNote.is-info{color:#333}
.formMeta{margin-top:8px;color:var(--muted);font-size:12px}

/* Footer */
.footer{padding:26px 0;border-top:1px solid rgba(11,18,32,.08)}
.footer__inner{display:flex;align-items:center;justify-content:space-between;gap:12px}
.footer__brand{display:flex;align-items:center;gap:10px;font-weight:800}
.footer__left{display:flex;flex-direction:column;gap:10px}

/* Modal */
.modal{position:fixed;inset:0;display:none;z-index:60}
.modal.is-open{display:block}
.modal__bg{position:absolute;inset:0;background:rgba(11,18,32,.45)}
.modal__box{
  position:absolute;left:50%;top:50%;
  transform:translate(-50%,-50%);
  width:min(760px, 94vw);
  background:rgba(247,248,251,.96);
  backdrop-filter: blur(14px);
  border:1px solid rgba(11,18,32,.10);
  border-radius:22px;
  padding:16px;
  box-shadow: 0 24px 80px rgba(11,18,32,.22);
}
.modal__x{position:absolute;right:12px;top:12px}
.modal__head{padding:6px 44px 12px 6px}
.modal__title{font-weight:900;font-size:22px}
.modal__sub{margin-top:6px}

/* Responsive */
@media (max-width:980px){
  .nav{display:none}
  .burger{display:block}
  .header__actions{display:none}
  .hero__title{font-size:44px}
  .hero__facts{grid-template-columns:1fr;max-width:520px}
  .grid3{grid-template-columns:1fr 1fr}
  .stats{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr}
  .faq{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
}

@media (max-width:560px){
  .grid3{grid-template-columns:1fr}
  .leadGrid{grid-template-columns:1fr}
  .sectionHead{flex-direction:column;align-items:flex-start}
  .hero__title{font-size:36px}
}


/* Products */
.product__meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.tag{
  display:inline-flex;align-items:center;justify-content:center;
  padding:8px 10px;border-radius:999px;
  font-size:12px;font-weight:800;
  background:rgba(11,18,32,.06);
  border:1px solid rgba(11,18,32,.10);
  color:rgba(11,18,32,.80);
}
.tag--ok{background:rgba(10,122,47,.10);border-color:rgba(10,122,47,.18);color:#0a7a2f}
.tag--wait{background:rgba(138,91,0,.10);border-color:rgba(138,91,0,.18);color:#8a5b00}
.bullets{margin:10px 0 0;padding-left:18px;color:var(--muted);line-height:1.7}
.product--wide{grid-column:1/-1}

.product__img{
  width:100%;
  height:170px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid rgba(11,18,32,.08);
  margin-bottom:12px;
  background:#fff;
}
.productWide{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-bottom:12px;
}
.productWide__img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid rgba(11,18,32,.08);
  background:#fff;
}
@media (max-width:980px){
  .productWide{grid-template-columns:1fr}
  .productWide__img{height:200px}
}

.btn--sm{padding:10px 12px;border-radius:14px;font-size:14px}
.product__btn{width:100%;margin-top:10px}

/* Product layout polish */
.product{display:flex;flex-direction:column}
.product h3{min-height:44px}
.product p{min-height:70px}
.product__meta{margin-top:auto}
.product__btn{margin-top:10px}
.btn--soft{
  background:rgba(30,58,95,.10);
  border-color:rgba(30,58,95,.22);
  color:var(--accent);
}
.btn--soft:hover{background:rgba(30,58,95,.14)}
.btn--sm{padding:10px 12px;border-radius:14px;font-size:14px}
/* File input */
.fileInput{
  border:1px dashed rgba(11,18,32,.22);
  background:rgba(247,248,251,.65);
  border-radius:14px;
  padding:10px 12px;
}
.fileHint{margin-top:6px;color:var(--muted);font-size:12px;line-height:1.35}
/* Clamp descriptions for neat grid */
.product p.muted{
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* Usecases: 3 cards in a row */
.usecasesGrid{grid-template-columns:repeat(3,1fr)}
@media (max-width:980px){
  .usecasesGrid{grid-template-columns:1fr}
}

/* Bottom contact layout (map + form) */
.contactTop{display:flex;justify-content:center;text-align:center;margin-bottom:18px}
.contactTop h2{margin:0;font-size:44px}
.contactTop p{margin:10px auto 0;max-width:760px}

.contactMini{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-bottom:16px;
}

.contactGrid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
  align-items:stretch;
}

.mapCard, .formCard{
  border-radius:calc(var(--radius) + 10px);
}

.mapCard{
  background:#fff;
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  overflow:hidden;
  min-height:520px;
}

.mapCard__inner{width:100%;height:100%;min-height:520px}
.mapStub{
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,#ffffff,#f3f6fc);
  color:rgba(11,18,32,.78);
  gap:10px;
}
.mapStub__title{
  font-weight:900;
  font-size:34px;
  letter-spacing:.03em;
}
.mapStub__sub{font-size:13px;color:var(--muted)}

.formCard .leadForm{
  background:#fff;
  border:1px solid var(--border);
  border-radius:calc(var(--radius) + 10px);
  padding:16px;
  box-shadow: var(--shadow);
}

@media (max-width:980px){
  .contactTop h2{font-size:36px}
  .contactMini{grid-template-columns:1fr}
  .contactGrid{grid-template-columns:1fr}
  .mapCard{min-height:360px}
  .mapCard__inner{min-height:360px}
}

.contactInfoBlock{
  margin-top:14px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px;
  font-size:14px;
  line-height:1.5;
  box-shadow:var(--shadow);
}
.contactInfoBlock a{
  color:var(--accent);
  text-decoration:none;
  font-weight:600;
}
.footer{
  background:#0b1220;
  color:#fff;
  padding:28px 0;
}
.footerGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.footer a{
  color:#88b2ff;
  text-decoration:none;
}
@media(max-width:768px){
  .footerGrid{grid-template-columns:1fr}
}


/* Logo image */
.logo{min-width:auto}
.logo__img{
  height:34px;
  width:auto;
  display:block;
  filter: drop-shadow(0 10px 18px rgba(11,18,32,.12));
}
@media (max-width:560px){
  .logo__img{height:28px}
}

/* Map full height 'wow' */
.mapCard{min-height:640px}
.mapCard__inner iframe{width:100%;height:100%;min-height:100%;display:block}
@media (max-width:980px){
  .mapCard{min-height:420px}
  .mapCard__inner iframe{min-height:420px}
}

/* Route button */
.routeRow{margin-top:12px}
.routeBtn{width:100%;text-align:center;font-weight:800}

/* Footer logo */
.footerLogo{height:44px;width:auto;opacity:.95}

/* Fixed phone FAB */
.fabPhone{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:80;
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:14px 16px;
  border-radius:999px;
  background:linear-gradient(180deg, var(--accent2), var(--accent));
  color:#fff;
  box-shadow:0 18px 40px rgba(11,18,32,.25);
  border:1px solid rgba(255,255,255,.18);
  font-weight:900;
  text-decoration:none;
}
.fabPhone:hover{filter:brightness(1.05)}
@media (max-width:560px){
  .fabPhone{right:12px;bottom:12px;padding:12px 14px;font-size:13px}
}


/* Contact section polish (v12) */
.contactTop{display:flex;justify-content:center;text-align:center;margin-bottom:16px}
.contactTop h2{margin:0;font-size:44px}
.contactTop p{margin:10px auto 0;max-width:760px}

.contactMini{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:12px}

.contactInfoRow{
  display:flex;
  gap:12px;
  align-items:stretch;
  margin-bottom:14px;
}
.contactInfoRow__left{
  flex:1;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px 16px;
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:1.4fr .7fr .7fr;
  gap:12px;
}
.contactInfoRow__right{
  width:240px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px;
  box-shadow:var(--shadow);
  display:flex;
  align-items:center;
  justify-content:center;
}
.ci__k{font-size:12px;color:var(--muted);font-weight:800;letter-spacing:.02em}
.ci__v{margin-top:4px;font-weight:700;color:rgba(11,18,32,.88);line-height:1.35}
.contactInfoRow a{color:var(--accent);text-decoration:none}

.routeBtn{width:100%;text-align:center;font-weight:900}

/* Grid: form left, map right */
.contactGrid{
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:28px;
  align-items:stretch;
}
.mapCard{
  background:#fff;
  border:1px solid var(--border);
  border-radius:calc(var(--radius) + 10px);
  box-shadow:var(--shadow);
  overflow:hidden;
  min-height:100%;
}
.mapCard__inner{width:100%;height:100%;min-height:620px}
.mapCard__inner iframe{width:100%;height:100%;min-height:100%;display:block}

.formCard .leadForm{
  background:#fff;
  border:1px solid var(--border);
  border-radius:calc(var(--radius) + 10px);
  padding:16px;
  box-shadow:var(--shadow);
}

@media (max-width:980px){
  .contactTop h2{font-size:36px}
  .contactMini{grid-template-columns:1fr}
  .contactInfoRow{flex-direction:column}
  .contactInfoRow__left{grid-template-columns:1fr}
  .contactInfoRow__right{width:100%}
  .contactGrid{grid-template-columns:1fr}
  .mapCard{min-height:420px}
  .mapCard__inner, .mapCard__inner iframe{min-height:420px}
}

/* contactGrid align fix v14 */
.contactGrid{
  align-items:stretch;
}
.formCard,
.mapCard{
  height:100%;
}

/* contact equal height v15 */
.contactGrid{
  align-items:stretch;
}
.mapCard,
.formCard{
  display:flex;
  flex-direction:column;
}
.mapCard__inner{
  flex:1;
  height:100%;
}

/* map height sync v16 */
.mapCard{height:auto}
.mapCard__inner{height:100%}
.mapCard__inner iframe{height:100%}

/* ===== Header contacts FINAL v27 ===== */
.header__actions{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:nowrap;
}
.header__actions .btn{display:inline-flex;}

.header__phoneBtn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(31,94,255,.16), rgba(31,94,255,.06));
  border:1px solid rgba(31,94,255,.25);
  color:#0b1220;
  font-weight:900;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:0 10px 26px rgba(31,94,255,.14);
  transition:.2s ease;
  position:relative;
  overflow:hidden;
}
.header__phoneBtn::after{
  content:"";
  position:absolute;
  inset:-2px;
  background:radial-gradient(closest-side, rgba(31,94,255,.38), transparent 70%);
  opacity:0;
  transition:.22s ease;
  pointer-events:none;
}
.header__phoneBtn:hover{transform:translateY(-1px);box-shadow:0 14px 34px rgba(31,94,255,.22);}
.header__phoneBtn:hover::after{opacity:1;}

.header__email{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  color:rgba(11,18,32,.85);
  text-decoration:none;
  white-space:nowrap;
}
.header__email:hover{color:var(--accent);}

@media (max-width: 980px){
  .header__email{display:none;}
}

/* === FIX: ровные карточки товаров === */
.grid3 > .product:not(.product--wide){
  display:grid;
  grid-template-rows:170px 28px 58px 96px auto auto;
  align-content:start;
  min-height:430px;
}
.grid3 > .product:not(.product--wide) .product__img{
  height:170px;
  margin-bottom:0;
}
.grid3 > .product:not(.product--wide) .card__icon{
  height:28px;
  line-height:28px;
  display:flex;
  align-items:center;
  margin-top:8px;
  font-size:20px;
}
.grid3 > .product:not(.product--wide) h3{
  min-height:0;
  height:58px;
  margin:8px 0 0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  line-height:1.25;
}
.grid3 > .product:not(.product--wide) p.muted{
  min-height:0;
  height:96px;
  margin:0;
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
  line-height:1.5;
}
.grid3 > .product:not(.product--wide) .product__btn{
  align-self:end;
  margin-top:8px;
}
.grid3 > .product:not(.product--wide) .product__meta{
  margin-top:10px;
  align-self:end;
}
@media (max-width:980px){
  .grid3 > .product:not(.product--wide){
    min-height:420px;
  }
}
@media (max-width:560px){
  .grid3 > .product:not(.product--wide){
    grid-template-rows:170px 28px auto auto auto auto;
    min-height:0;
  }
  .grid3 > .product:not(.product--wide) h3,
  .grid3 > .product:not(.product--wide) p.muted{
    height:auto;
  }
}
