/* QlopovNet.kz - fast static styles */
:root{
  --bg: #eef4ff;
  --text: #0b1220;
  --muted: #475569;
  --border: #e5e7eb;
  --card: #f8fafc;
  --blue: #0b3b73;
  --blue-2:#114f92;
  --green:#6bb43c;
  --green-2:#2f7a1a;
  --shadow: 0 14px 40px rgba(2,6,23,.07);
  --shadow-hover: 0 22px 50px rgba(2,6,23,.12);
  --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --container: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  padding-bottom: max(24px, env(safe-area-inset-bottom, 0));
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
@media (max-width: 980px){
  /* FAB перекрывает угол — без лишнего «поля» под подвалом */
  body{ padding-bottom: max(16px, env(safe-area-inset-bottom, 0)); }
}
img{ max-width:100%; height:auto; }
a{ color: inherit; text-decoration: none; }

.container{ max-width: var(--container); padding: 0 16px; margin: 0 auto; }

/* Homepage section head CTAs: visible on mobile/tablet only */
@media (min-width: 981px){
  .btn--mobile-only{ display: none !important; }
}

.topline{
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  color:#fff;
  font-size: 14px;
}
.topline__inner{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content: space-between;
  padding: 8px 0;
}
.topline__left{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; flex:1; min-width:0; }
.topline__right{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; justify-content:flex-end; flex-shrink:0; }
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge--link{
  color:#fff !important;
  font-weight:800;
  cursor:pointer;
  transition: background .2s, transform .15s;
}
.badge--link:hover{
  background: rgba(255,255,255,.22);
  transform: translateY(-1px);
}
.topline__wa{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#fff;
  font-weight:800;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(107,180,60,.35);
  border:1px solid rgba(255,255,255,.25);
}
.topline__wa:hover{ background: rgba(107,180,60,.5); }
.topline a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#fff;
  font-weight: 700;
}

header{
  position: sticky;
  top:0;
  z-index: 20;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 12px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: auto;
}
.brand__logo{
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.brand__name{ font-weight: 900; letter-spacing: .4px; }
.brand__sub{ color: var(--muted); font-size: 13px; margin-top: -2px; }

.menu{
  display:flex;
  gap: 14px;
  align-items:center;
  flex-wrap: nowrap;
  justify-content: center;
  white-space: nowrap;
}
.menu a{
  padding: 10px 10px;
  border-radius: 999px;
  color: #0b1220;
  font-weight: 650;
}
.menu a:hover{ background: #f1f5f9; }
.menu a[aria-current="page"]{ background: rgba(107,180,60,.16); color: #0b3b73; }

.actions{ display:flex; gap:10px; align-items:center; justify-content: flex-end; min-width: auto; }
/* Звонок встроен в .lang-switch рядом с языками */
.nav .actions > .pill{ display: none !important; }
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 750;
  transition: transform 0.3s var(--reveal-ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
@media (hover:hover) and (min-width: 981px){
  .pill:hover{
    transform: scale(1.03);
    box-shadow: 0 8px 22px rgba(2,6,23,.08);
  }
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  cursor:pointer;
  user-select:none;
  transition: transform 0.35s var(--reveal-ease), box-shadow 0.35s var(--reveal-ease), filter 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.btn--primary{
  background: var(--green);
  color:#fff;
  box-shadow: 0 12px 28px rgba(107,180,60,.27);
}
.btn--ghost{
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 4px 14px rgba(2,6,23,.04);
}
@media (hover:hover) and (min-width: 981px){
  .btn--primary:hover{
    transform: scale(1.03);
    filter: brightness(1.03);
    box-shadow: 0 16px 36px rgba(107,180,60,.32);
  }
  .btn--ghost:hover{
    transform: scale(1.03);
    background: #fff;
    box-shadow: var(--shadow-hover);
    border-color: rgba(17,79,146,.18);
  }
}
@media (hover:none), (max-width: 980px){
  .btn--primary:hover, .btn--ghost:hover{ transform: none; filter: none; }
  .btn--primary:active{ filter: brightness(.96); }
}

/* Fixed WhatsApp */
.fab-wa{
  position:fixed;
  right:18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0));
  z-index:45;
  width:58px;
  height:58px;
  border-radius:50%;
  background: #25D366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 12px 32px rgba(37,211,102,.45);
  border:2px solid rgba(255,255,255,.35);
  transition: transform .2s, box-shadow .2s;
}
.fab-wa:hover{ transform: scale(1.06); box-shadow: 0 14px 36px rgba(37,211,102,.55); }
.fab-wa svg{ width:30px; height:30px; fill:currentColor; }

/* Language switch — fixed left */
.lang-switch{
  position:fixed;
  left:12px;
  top:50%;
  transform: translateY(-50%);
  z-index:44;
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:10px 8px;
  background: rgba(255,255,255,.94);
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow: var(--shadow);
}
.lang-switch__btn{
  border:1px solid var(--border);
  background:#fff;
  border-radius:10px;
  padding:8px 10px;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  color: var(--text);
  min-width:44px;
  transition: background .15s, border-color .15s;
}
.lang-switch__btn:hover{ background:#f1f5f9; }
.lang-switch__btn.is-active{
  background: var(--blue);
  color:#fff;
  border-color: var(--blue);
}

/* Tel icon в ряду с языками: те же цвета, что у неактивной кнопки языка */
.lang-switch__call{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
  transition: background .15s, border-color .15s, transform .15s;
}
.lang-switch__call:hover{ background: #f1f5f9; }
.lang-switch__call:active{ transform: scale(.97); }
.lang-switch__call svg{ display: block; width: 22px; height: 22px; fill: currentColor; }

/* Язык + звонок в шапке (все ширины экрана) */
.lang-switch.lang-switch--in-nav{
  position: static;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  transform: none;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  margin: 0;
  flex-shrink: 0;
  max-width: 100%;
  z-index: auto;
}

/* Conversion urgency strip */
.conv-strip{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 14px 0 0;
}
.conv-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background: linear-gradient(135deg, rgba(17,79,146,.12), rgba(107,180,60,.14));
  border:1px solid rgba(17,79,146,.2);
  font-weight:750;
  font-size:14px;
  animation: convFade .6s ease both;
}
.conv-pill:nth-child(2){ animation-delay: .1s; }
@keyframes convFade{
  from{ opacity:0; transform: translateY(6px); }
  to{ opacity:1; transform: none; }
}

/* Objects we serve */
.objects{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:12px;
}
.object-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:14px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  box-shadow: 0 4px 14px rgba(2,6,23,.04);
  transition: transform 0.4s var(--reveal-ease), box-shadow 0.4s var(--reveal-ease);
}
@media (hover:hover) and (min-width: 981px){
  .object-card:hover{
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
  }
}
.object-card__icon{
  flex:0 0 40px;
  width:40px;
  height:40px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  background: rgba(11,59,115,.08);
}
.object-card__icon--green{ background: rgba(107,180,60,.15); }
.object-card h3{ margin:0 0 4px; font-size:15px; font-weight:800; }
.object-card p{ margin:0; font-size:13px; color: var(--muted); line-height:1.4; }
a.object-card--link{
  text-decoration:none;
  color:inherit;
  cursor:pointer;
}
a.object-card--link:hover{
  border-color: rgba(17,79,146,.35);
}

/* Hero KPI: 24/7 + «Без предоплаты» в одной линии */
.hero-kpi-wrap{ margin-top: 4px; }
.kpi__247-prep{
  display:inline-flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}
.kpi .conv-pill--kpi-inline{
  margin:0;
  padding:9px 13px;
  font-size:13px;
  font-weight:750;
}

/* Trust marquee */
.trust-wrap{
  overflow:hidden;
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px 0;
}
.trust-marquee-inner{
  display:flex;
  width: max-content;
  animation: trustMarquee 68s linear infinite;
  will-change: transform;
}
.trust-wrap:hover .trust-marquee-inner{
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce){
  .trust-marquee-inner{ animation: none; }
  .trust-wrap:hover .trust-marquee-inner{ animation-play-state: running; }
}
@keyframes trustMarquee{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}
.trust-marquee__track{
  display:flex;
  align-items:center;
  gap:14px;
  padding:0 14px;
  flex-shrink:0;
}
.trust-marquee__track span{
  flex:0 0 auto;
  padding:10px 16px;
  border-radius:999px;
  background: var(--card);
  border:1px solid var(--border);
  font-weight:750;
  font-size:14px;
  white-space:nowrap;
  color: var(--blue-2);
}

/* Footer phone + social */
.footer-cta{ margin-top:12px; }
.footer-phone{
  display:inline-block;
  font-size:22px;
  font-weight:900;
  color:#f8fafc !important;
  letter-spacing:.02em;
  line-height:1.2;
}
.footer-phone:hover{ text-decoration: underline; }
.footer-phone-cap{
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  color: #86efac;
  margin-top:4px;
}
.footer-wa-pill{
  display:inline-flex;
  align-items:center;
  margin-top:10px;
  padding:12px 16px;
  border-radius:999px;
  background:#25D366;
  color:#062c16 !important;
  font-weight:850;
  min-height:48px;
}
.footer-wa-pill:hover{ filter: brightness(1.05); }

.social-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.social-links__a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  border-radius:12px;
  background: rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.18);
  color:#fff !important;
  transition: background .2s, transform .15s;
}
.social-links__a:hover{ background: rgba(255,255,255,.18); transform: translateY(-2px); }
.social-links__a svg{ width:22px; height:22px; fill:currentColor; }

.services-ext{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap:12px;
  margin-top:12px;
}

/* Hero side decor (disabled site-wide; keep selectors harmless if markup returns) */
.page-decor{ display:none !important; }
@media (min-width: 1200px){
  .hero .page-decor__col{
    position:absolute;
    top:14%;
    width:76px;
    display:flex;
    flex-direction:column;
    gap:28px;
    opacity:0.14;
  }
  .hero .page-decor__col--left{
    left:max(4px, calc(50% - (var(--container) / 2) - 82px));
  }
  .hero .page-decor__col--right{
    right:max(4px, calc(50% - (var(--container) / 2) - 82px));
  }
  .hero .page-decor__item{
    color:var(--blue-2);
    flex:0 0 auto;
    transition: color 0.3s ease;
  }
  .hero .page-decor__item--accent{ color: var(--green-2); }
  .hero .page-decor__svg{
    display:block;
    width:76px;
    height:auto;
  }
}

/* Scroll reveal (enabled only with html.qn-motion — see app.js) */
html.qn-motion .reveal:not(.reveal--visible){
  opacity:0;
}
@media (min-width: 981px){
  html.qn-motion .reveal:not(.reveal--visible){
    transform: translate3d(0, 18px, 0);
  }
}
.reveal{
  transition: opacity 0.72s var(--reveal-ease), transform 0.72s var(--reveal-ease);
}
html.qn-motion .reveal--visible{
  opacity:1;
  transform: none;
}
@media (max-width: 980px){
  html.qn-motion .reveal:not(.reveal--visible){
    transform: none;
  }
}

/* Hero stagger (homepage) */
html.qn-motion .page-home .hero__intro:not(.hero__intro--visible) > *{
  opacity:0;
}
@media (min-width: 981px){
  html.qn-motion .page-home .hero__intro:not(.hero__intro--visible) > *{
    transform: translate3d(0, 16px, 0);
  }
}
.page-home .hero__intro > *{
  transition: opacity 0.78s var(--reveal-ease), transform 0.78s var(--reveal-ease);
}
.page-home .hero__intro.hero__intro--visible > *{
  opacity:1;
  transform:none;
}
.page-home .hero__intro.hero__intro--visible > *:nth-child(1){ transition-delay: 0.05s; }
.page-home .hero__intro.hero__intro--visible > *:nth-child(2){ transition-delay: 0.11s; }
.page-home .hero__intro.hero__intro--visible > *:nth-child(3){ transition-delay: 0.17s; }
.page-home .hero__intro.hero__intro--visible > *:nth-child(4){ transition-delay: 0.23s; }
.page-home .hero__intro.hero__intro--visible > *:nth-child(5){ transition-delay: 0.29s; }
.page-home .hero__intro.hero__intro--visible > *:nth-child(6){ transition-delay: 0.35s; }
.page-home .hero__intro.hero__intro--visible > *:nth-child(7){ transition-delay: 0.41s; }
.page-home .hero__intro.hero__intro--visible > *:nth-child(8){ transition-delay: 0.47s; }
.page-home .hero__intro.hero__intro--visible > *:nth-child(9){ transition-delay: 0.53s; }
@media (max-width: 980px){
  .page-home .hero__intro.hero__intro--visible > *{ transition-duration: 0.55s; }
}
@media (prefers-reduced-motion: reduce){
  html.qn-motion .reveal:not(.reveal--visible){
    opacity:1;
    transform:none;
  }
  .page-home .hero__intro:not(.hero__intro--visible) > *,
  .page-home .hero__intro.hero__intro--visible > *{
    opacity:1;
    transform:none;
    transition:none;
  }
}

.hero{
  position: relative;
  overflow: hidden;
  padding: 48px 0 32px;
}
.hero__bg{
  position: absolute;
  inset: -28% -14%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 300px at 14% 0%, rgba(17,79,146,.13), transparent 62%),
    radial-gradient(880px 380px at 84% 6%, rgba(107,180,60,.13), transparent 56%);
  will-change: transform;
}
.hero .container.hero__grid{
  position: relative;
  z-index: 1;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: start;
}
.hero__intro > * + *{ margin-top: 0; }
.hero__aside-card{
  box-shadow: 0 20px 50px rgba(2,6,23,.09);
}
.page-home .brand__logo{
  animation: logoGlow 6s ease-in-out infinite;
}
@keyframes logoGlow{
  0%, 100%{ filter: drop-shadow(0 0 0 rgba(107,180,60,0)); }
  45%{ filter: drop-shadow(0 6px 18px rgba(107,180,60,.28)); }
}
@media (prefers-reduced-motion: reduce){
  .page-home .brand__logo{ animation: none; }
}
.h1{
  font-size: clamp(28px, 2.6vw, 44px);
  line-height: 1.12;
  margin: 0 0 10px;
  letter-spacing: -0.6px;
}
.lead{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 62ch;
}
.kpi{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.kpi .badge{ background: #fff; border-color: var(--border); color: #0b1220; }
.kpi .badge b{ color: var(--blue); }

.card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--reveal-ease), box-shadow 0.4s var(--reveal-ease);
}
@media (hover:hover) and (min-width: 981px){
  .card:hover{
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
  }
}
.page-home .hero__aside-card:hover{
  transform: translateY(-4px);
}
.card__pad{ padding: 16px; }
.form{
  display:grid;
  gap: 10px;
}
.field label{
  display:block;
  font-weight: 750;
  font-size: 13px;
  color: #0b1220;
  margin-bottom: 6px;
}
.field input, .field select, .field textarea{
  width:100%;
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}
.field textarea{ min-height: 88px; resize: vertical; }
.hint{ font-size: 12px; color: var(--muted); }

.section{ padding: 32px 0; }
.page-home main{ position: relative; z-index: 2; }
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.h2{ margin:0; font-size: 22px; letter-spacing: -.3px; }
.sub{ margin:0; color: var(--muted); font-size: 14px; }

/* Long-read SEO block (below the fold) */
.seo-article{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(2,6,23,.04);
}
.seo-article .card__pad{
  padding: 22px 20px;
}
@media (min-width: 981px){
  .seo-article .card__pad{ padding: 28px 32px; }
}
.seo-article .seo-article__intro{
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 18px;
  max-width: 72ch;
}
.seo-article h2{
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 850;
  letter-spacing: -0.4px;
  margin: 28px 0 12px;
  color: var(--text);
  line-height: 1.25;
}
.seo-article h2:first-of-type{ margin-top: 0; }
.seo-article h3{
  font-size: 17px;
  font-weight: 800;
  margin: 20px 0 8px;
  color: var(--blue);
}
.seo-article p{
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  max-width: 75ch;
}
.seo-article ul{
  margin: 0 0 16px;
  padding-left: 1.25rem;
  max-width: 75ch;
}
.seo-article li{
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}
.seo-article a{
  color: var(--blue-2);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.seo-article a:hover{ color: var(--green-2); }

.grid3{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.grid2{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.tile{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  transition: transform 0.4s var(--reveal-ease), box-shadow 0.4s var(--reveal-ease);
}
@media (hover:hover) and (min-width: 981px){
  main .tile:hover{
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
  }
}
@media (max-width: 980px){
  main .tile:hover{ transform: none; box-shadow: none; }
}
.tile__head{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom: 4px;
}
.icon{
  flex:0 0 auto;
  width:32px;
  height:32px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  background: rgba(11,59,115,.06);
  color: var(--blue);
}
.icon--green{
  background: rgba(107,180,60,.12);
  color: var(--green-2);
}
@media (prefers-reduced-motion: no-preference){
  .tile .icon, .tile .icon--green, .object-card__icon{
    animation: iconFloat 5s ease-in-out infinite;
  }
  .tile:nth-child(even) .icon, .object-card:nth-child(even) .object-card__icon{ animation-delay: -2s; }
}
@keyframes iconFloat{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce){
  .tile .icon, .tile .icon--green, .object-card__icon{ animation: none; }
}
.tile h3{ margin: 0 0 6px; font-size: 16px; letter-spacing: -.2px; }
.tile p{ margin:0; color: var(--muted); font-size: 14px; }
.tile .link{ margin-top: 10px; display:inline-flex; gap:8px; color: var(--blue); font-weight: 800; }

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.price{
  display:flex;
  align-items: baseline;
  gap: 10px;
  justify-content: space-between;
}
.price b{ font-size: 18px; color: var(--blue); }
.muted{ color: var(--muted); }

footer{
  margin-top: 30px;
  border-top: 1px solid var(--border);
  background: #0b1220;
  color:#e2e8f0;
  overflow-x: clip;
  box-sizing: border-box;
  width: 100%;
}
/* Выравнивание с основным контентом + safe-area, без «уезда» влево */
footer > .container{
  box-sizing: border-box;
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.footer__grid{
  padding: 22px 0;
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  min-width: 0;
}
.footer__grid > *{
  min-width: 0;
  overflow-wrap: anywhere;
}
.footer__grid a{ color:#e2e8f0; }
.footer__grid a:hover{ text-decoration: underline; }
.footer__small{ color: rgba(226,232,240,.75); font-size: 12px; }

.modal{
  position: fixed;
  inset: 0;
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
  background: rgba(2,6,23,.55);
  z-index: 50;
}
.modal[open]{ display:flex; }
.modal__dialog{
  width: min(640px, 100%);
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 25px 70px rgba(2,6,23,.35);
}
.modal__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 0;
}
.modal__title{ margin:0; font-size: 18px; font-weight: 900; letter-spacing: -.3px; }
.iconbtn{
  border: 1px solid var(--border);
  background:#fff;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  cursor:pointer;
  font-weight: 900;
}
.modal__body{ padding: 12px 14px 14px; }

.breadcrumbs{
  font-size: 13px;
  color: var(--muted);
  padding: 14px 0 0;
}
.breadcrumbs a{ color: var(--muted); }
.breadcrumbs a:hover{ text-decoration: underline; }

.notice{
  border: 1px dashed rgba(107,180,60,.7);
  background: rgba(107,180,60,.08);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: #0b1220;
}

.illus{
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(500px 220px at 20% 0%, rgba(14,77,138,.16), transparent 55%),
    radial-gradient(500px 220px at 80% 0%, rgba(107,180,60,.18), transparent 55%),
    linear-gradient(180deg, rgba(248,250,252,1), rgba(248,250,252,.6));
  padding: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.illus svg{ width: 100%; max-width: 520px; height:auto; opacity: .95; }

@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .actions{ min-width: auto; flex-shrink: 0; }
  .nav .brand{
    flex: 1;
    min-width: 0;
    margin-right: 6px;
  }
  .brand > div:last-child{ min-width: 0; }
  .brand__sub{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .footer__grid{ grid-template-columns: 1fr; }
  .menu{ display:none; }
  .objects{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .lang-switch:not(.lang-switch--in-nav){
    left: auto;
    right: 12px;
    top: auto;
    bottom: calc(88px + env(safe-area-inset-bottom, 0));
    transform: none;
    flex-direction: row;
    padding: 8px;
  }
  .lang-switch.lang-switch--in-nav{
    gap: 5px;
    padding: 5px 6px;
  }
  .lang-switch.lang-switch--in-nav .lang-switch__btn{
    min-width: 38px;
    min-height: 42px;
    padding: 7px 6px;
    font-size: 11px;
  }
  .fab-wa{
    bottom: calc(12px + env(safe-area-inset-bottom, 0));
  }
  .topline{
    overflow-x: hidden;
    font-size: 13px;
  }
  .topline__inner{
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0;
  }
  .topline__left{
    flex-wrap: wrap;
    gap: 8px;
  }
  .badge{
    white-space: normal;
    max-width: 100%;
    line-height: 1.35;
    font-size: 12px;
  }
  .btn{ min-height: 48px; padding: 14px 20px; font-size: 15px; }
  .pill{ min-height: 48px; padding: 12px 18px; }
}
@media (max-width: 520px){
  .objects{ grid-template-columns: 1fr; }
}

