:root{
  /* Визуально ближе к “материнскому” сайту РЭУ: светлый фон + фирменный синий */
  --bg:#f6f8fb;
  --surface:#ffffff;
  --card:#ffffff;
  --text:#0b1b2b;
  --muted:#5b6b7c;
  --brand:#005bbb;
  --brand-2:#00a3ff;
  --border:rgba(15,23,42,.12);
  --shadow:0 12px 28px rgba(11,27,43,.10);
  --ring:0 0 0 3px rgba(0,91,187,.18);
  --radius:16px;
  --container:1120px;
}

*{box-sizing:border-box}
html{color-scheme:light; -webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,"Noto Sans","Liberation Sans",sans-serif;
  background:radial-gradient(1100px 600px at 20% -10%, rgba(0,91,187,.18), transparent 60%),
             radial-gradient(800px 500px at 100% 0%, rgba(0,163,255,.14), transparent 55%),
             var(--bg);
  color:var(--text);
  line-height:1.6;
}

img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
a:hover{color:var(--brand)}

.container{max-width:var(--container); margin:0 auto; padding:0 16px}
.muted{color:var(--muted); font-size:13px}
.label{
  display:block;
  font-size:12px;
  font-weight:800;
  letter-spacing:.35px;
  text-transform:uppercase;
  color:var(--muted);
  margin:0 0 6px;
}

.map{
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  overflow:hidden;
}
.map__frame{
  min-height:300px;
  background:linear-gradient(180deg, rgba(0,91,187,.06), rgba(148,163,184,.06));
}
.map__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding:12px;
  border-top:1px solid var(--border);
  background:rgba(255,255,255,.9);
}

.skip-link{
  position:absolute; left:-999px; top:8px;
  background:#fff; color:#111827;
  padding:10px 12px; border-radius:10px; z-index:50;
}
.skip-link:focus{left:16px; outline:none; box-shadow:var(--ring)}

.topbar{
  border-bottom:1px solid var(--border);
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(160%) blur(10px);
}
.toplinks{
  border-bottom:1px solid var(--border);
  background:rgba(255,255,255,.92);
}
.toplinks__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 0;
  flex-wrap:wrap;
}
.toplinks__menu{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.toplinks__menu a{
  font-size:13px;
  color:var(--muted);
  padding:6px 10px;
  border-radius:999px;
  border:1px solid transparent;
}
.toplinks__menu a:hover{
  color:var(--text);
  background:rgba(148,163,184,.10);
  border-color:rgba(148,163,184,.18);
}

.icon-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--muted);
  padding:0 !important;
}
.icon-link:hover{
  color:var(--text);
  border-color:rgba(15,23,42,.22);
  background:rgba(0,91,187,.06);
}
.icon-link svg{width:18px;height:18px; fill:currentColor}
.toplinks__contact{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.contact-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  font-size:13px;
}
.contact-pill span{color:var(--muted)}

.social{
  display:inline-flex;
  gap:8px;
  align-items:center;
}
.social a{
  width:36px;
  height:36px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  display:grid;
  place-items:center;
}
.social a:hover{border-color:rgba(148,163,184,.35)}
.social svg{width:18px;height:18px; fill:currentColor}
.social__badge{
  width:36px;
  height:36px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  display:grid;
  place-items:center;
  font-size:11px;
  font-weight:800;
  letter-spacing:.4px;
  color:var(--text);
  user-select:none;
  text-decoration:none;
}
.social__badge:hover{
  border-color:rgba(148,163,184,.35);
  background:rgba(0,91,187,.06);
}

.masthead{
  border-bottom:1px solid var(--border);
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(160%) blur(10px);
}
.masthead__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
  flex-wrap:wrap;
}
.masthead__actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.contactbar{
  border-bottom:1px solid var(--border);
  background:rgba(255,255,255,.86);
}
.contactbar__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  flex-wrap:wrap;
}
.contactbar__left{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.contactbar__right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.extra-nav{
  border-bottom:1px solid var(--border);
  background:rgba(255,255,255,.92);
}
.extra-nav__row{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 0;
  flex-wrap:wrap;
}

.topbar__row{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:10px 0;
  flex-wrap:wrap;
}
.brand{
  display:flex; align-items:center; gap:10px; min-width:0;
}
.brand__logo{
  width:38px;
  height:38px;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--border);
  box-shadow:0 10px 20px rgba(11,27,43,.10);
  flex:0 0 auto;
  padding:6px;
}
.brand__logo img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.brand__text{min-width:0}
.brand__name{
  font-weight:700;
  letter-spacing:.2px;
  line-height:1.15;
  font-size:14px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand__sub{
  font-size:12px; color:var(--muted);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

.actions{display:flex; align-items:center; gap:10px}
.actions{margin-left:auto}

@media (max-width: 520px){
  .actions{
    width:100%;
    justify-content:space-between;
  }
  .brand__name{white-space:normal}
  .brand__sub{white-space:normal}
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  box-shadow:0 12px 26px rgba(11,27,43,.10);
  cursor:pointer;
  transition:transform .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}
.btn:hover{transform:translateY(-1px); border-color:rgba(148,163,184,.35)}
.btn:focus{outline:none; box-shadow:var(--ring)}
.btn--primary{
  background:linear-gradient(135deg, rgba(0,91,187,.98), rgba(0,163,255,.88));
  border-color:rgba(0,91,187,.35);
  color:#fff;
}
.btn--ghost{
  background:transparent;
  box-shadow:none;
}

.nav{
  position:sticky; top:0; z-index:40;
  border-bottom:1px solid var(--border);
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(160%) blur(10px);
  box-shadow:0 10px 24px rgba(11,27,43,.06);
}
.nav__row{
  display:flex; align-items:center; justify-content:flex-end;
  gap:12px; padding:10px 0;
}
.menu{
  display:none;
  align-items:center;
  gap:10px;
}
.menu a{
  font-size:14px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:10px;
  transition:background .12s ease, color .12s ease;
}
.menu a:hover{background:rgba(148,163,184,.10); color:var(--text)}
.menu a[aria-current="page"]{background:rgba(0,91,187,.10); color:var(--text)}

.nav__toggle{display:inline-flex}
.mobile{
  display:none;
  border-top:1px solid var(--border);
  padding:10px 0 14px;
  max-height:calc(100dvh - 180px);
  overflow:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
.mobile a{
  display:flex;
  padding:12px 12px;
  border-radius:12px;
  color:var(--text);
}
.mobile a:hover{background:rgba(148,163,184,.10)}
.mobile__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:6px;
}
.mobile__section{
  padding:10px 0;
  border-top:1px dashed rgba(148,163,184,.35);
}
.mobile__section:first-child{border-top:0; padding-top:0}
.mobile__title{
  font-size:12px;
  font-weight:800;
  letter-spacing:.5px;
  text-transform:uppercase;
  color:var(--muted);
  margin:0 0 8px;
}
.mobile__social{padding-top:10px}

@media (min-width: 900px){
  .menu{display:flex}
  .nav__toggle{display:none}
  .mobile{display:none !important}
  .nav__row{justify-content:space-between}
  .brand__name{font-size:15px}
  .topbar__row{flex-wrap:nowrap}
}

@media (max-width: 899px){
  .extra-nav{display:none}
}

.hero{
  padding:22px 0 10px;
}
.hero__wrap{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}
.hero__card{
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.78));
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.hero__inner{padding:18px}
.hero h1{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.2;
  letter-spacing:-.3px;
}
.hero p{margin:0 0 14px; color:var(--muted)}
.hero__cta{display:flex; gap:10px; flex-wrap:wrap}

.pill-row{
  display:flex; flex-wrap:wrap; gap:8px;
  margin-top:12px;
}
.pill{
  display:inline-flex; align-items:center;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(0,91,187,.06);
  color:var(--muted);
  font-size:12px;
}

.carousel{
  position:relative;
  border-top:1px solid var(--border);
  background:linear-gradient(180deg, rgba(0,91,187,.06), rgba(255,255,255,0));
}
.carousel__viewport{
  overflow:hidden;
}
.carousel__track{
  display:flex;
  transition:transform .35s ease;
  will-change:transform;
}
.slide{
  min-width:100%;
  display:grid;
  grid-template-columns:1fr;
}
.slide__media{
  aspect-ratio:16/9;
  background:#e8eef6;
}
.slide__media img{
  width:100%; height:100%;
  object-fit:cover;
}
.slide__content{
  padding:14px 18px 18px;
}
.slide__title{margin:0 0 6px; font-size:16px; line-height:1.25}
.slide__text{margin:0; color:var(--muted); font-size:13px}

.carousel__controls{
  display:flex;
  gap:10px;
  padding:0 18px 14px;
  justify-content:flex-end;
}
.icon-btn{
  width:40px; height:40px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
  display:grid; place-items:center;
  box-shadow:0 10px 22px rgba(11,27,43,.10);
}
.icon-btn:hover{border-color:rgba(148,163,184,.35)}
.icon-btn:focus{outline:none; box-shadow:var(--ring)}

.dots{
  display:flex; gap:8px;
  padding:12px 18px 16px;
  align-items:center;
  justify-content:space-between;
}
.dots__left{display:flex; gap:8px; align-items:center}
.dot{
  width:10px; height:10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(148,163,184,.12);
  cursor:pointer;
}
.dot[aria-current="true"]{
  background:rgba(0,91,187,.95);
  border-color:rgba(0,91,187,.95);
}

@media (min-width: 900px){
  .hero__wrap{grid-template-columns:1.5fr .9fr; align-items:stretch}
  .hero h1{font-size:30px}
  .slide{grid-template-columns:1.1fr .9fr}
  .slide__media{aspect-ratio:auto; height:100%}
  .slide__content{padding:20px}
  .slide__title{font-size:18px}
}

.section{padding:14px 0}
.section__head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:10px; margin-bottom:10px;
}
.section__title{
  margin:0; font-size:16px; letter-spacing:.2px;
}
.section__meta{margin:0; color:var(--muted); font-size:13px}

.page-head{
  padding:16px 0 8px;
}
.breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  color:var(--muted);
  font-size:13px;
}
.breadcrumbs a{color:var(--muted)}
.breadcrumbs a:hover{color:var(--brand)}
.breadcrumbs span{color:rgba(91,107,124,.9)}
.page-title{
  margin:10px 0 0;
  font-size:22px;
  line-height:1.2;
  letter-spacing:-.2px;
}
@media (min-width: 900px){
  .page-title{font-size:28px}
}

.pager{
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:center;
  padding:16px 0 6px;
  flex-wrap:wrap;
}
.pager__item{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  height:40px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  box-shadow:0 10px 22px rgba(11,27,43,.08);
}
.pager__item:hover{border-color:rgba(15,23,42,.22)}
.pager__item--current{
  background:rgba(0,91,187,.10);
  border-color:rgba(0,91,187,.22);
  box-shadow:none;
}
.pager__item--disabled{
  opacity:.45;
  box-shadow:none;
  background:rgba(255,255,255,.7);
}

.filters{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 12px;
}
.filter-btn{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  font-size:13px;
  box-shadow:0 8px 18px rgba(11,27,43,.08);
  cursor:pointer;
}
.filter-btn[aria-current="true"]{
  background:rgba(0,91,187,.10);
  border-color:rgba(0,91,187,.30);
}

.empty{
  padding:16px;
  border-radius:16px;
  border:1px dashed rgba(15,23,42,.18);
  background:rgba(255,255,255,.75);
  color:var(--muted);
}

.prose{
  color:var(--text);
  font-size:15px;
  line-height:1.7;
}
.prose p{margin:0 0 12px}
.prose a{color:var(--brand); text-decoration:underline; text-underline-offset:3px}
.prose a:hover{color:rgba(0,91,187,.85)}
.prose img{
  max-width:100%;
  height:auto;
  border-radius:16px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow:0 12px 26px rgba(11,27,43,.10);
  margin:12px 0;
}

.gallery{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:10px;
  margin:12px 0 14px;
}
@media (min-width: 720px){
  .gallery{grid-template-columns:repeat(4, 1fr)}
}
.gallery__item{
  padding:0;
  border:1px solid var(--border);
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  cursor:pointer;
  box-shadow:0 12px 26px rgba(11,27,43,.10);
}
.gallery__item:focus{outline:none; box-shadow:var(--ring)}
.gallery__img{
  display:block;
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit:cover;
  margin:0 !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
.gallery--contain .gallery__img{
  aspect-ratio:auto;
  height:auto;
  object-fit:contain;
  background:linear-gradient(180deg, rgba(0,91,187,.05), rgba(148,163,184,.06));
}

.lightbox{
  position:fixed;
  inset:0;
  z-index:60;
}
.lightbox__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
}
.lightbox__panel{
  position:relative;
  max-width:min(1100px, calc(100% - 24px));
  margin:12px auto;
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.2);
  box-shadow:0 24px 60px rgba(0,0,0,.35);
  overflow:hidden;
}
@media (min-width: 900px){
  .lightbox__panel{margin:24px auto}
}
.lightbox__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-bottom:1px solid var(--border);
}
.lightbox__caption{
  color:var(--muted);
  font-size:13px;
  min-height:18px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.lightbox__btn{
  width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
}
.lightbox__btn:focus{outline:none; box-shadow:var(--ring)}
.lightbox__body{
  display:grid;
  grid-template-columns:44px 1fr 44px;
  align-items:center;
  gap:6px;
  padding:10px;
}
@media (min-width: 720px){
  .lightbox__body{grid-template-columns:56px 1fr 56px; padding:14px}
}
.lightbox__img{
  width:100%;
  height:auto;
  max-height:75vh;
  object-fit:contain;
  border-radius:16px;
  border:1px solid var(--border);
  background:#fff;
}
.lightbox__nav{
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
  font-size:22px;
  line-height:1;
}
.lightbox__nav:focus{outline:none; box-shadow:var(--ring)}
.prose ul,.prose ol{margin:0 0 12px 18px}
.prose h2,.prose h3{margin:16px 0 10px; line-height:1.25}

.article-wrap{
  padding:16px;
  padding-bottom:22px;
}
.article-meta{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:13px;
  margin-bottom:8px;
}
.article-title{
  margin:0 0 12px;
  font-size:18px;
  line-height:1.25;
  letter-spacing:-.2px;
}
@media (min-width: 900px){
  .article-title{font-size:22px}
}
.article-nav{
  display:flex;
  gap:10px;
  justify-content:space-between;
  flex-wrap:wrap;
  padding-top:14px;
  margin-top:6px;
  border-top:1px solid var(--border);
  margin-bottom:8px;
}
.article-nav a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow:0 8px 18px rgba(11,27,43,.10);
  color:var(--text);
}
.article-nav a:hover{border-color:rgba(15,23,42,.22)}
.article-nav__center{
  flex:1 1 auto;
  display:flex;
  justify-content:center;
}

.grid{
  display:grid;
  gap:12px;
}
.grid--2{grid-template-columns:1fr}
.grid--3{grid-template-columns:1fr}
.grid--cards{grid-template-columns:1fr}

@media (min-width: 720px){
  .grid--2{grid-template-columns:1fr 1fr}
  .grid--3{grid-template-columns:repeat(3, 1fr)}
  .grid--cards{grid-template-columns:repeat(2, 1fr)}
}
@media (min-width: 1020px){
  .grid--cards{grid-template-columns:repeat(4, 1fr)}
}

.card{
  border:1px solid var(--border);
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:0 12px 26px rgba(11,27,43,.10);
  overflow:hidden;
}
.card__body{padding:14px}
.card__title{margin:0 0 6px; font-size:14px; line-height:1.3}
.card__text{margin:0; color:var(--muted); font-size:13px}

.media-card{
  position:relative;
  display:block;
  border:1px solid var(--border);
  border-radius:20px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 12px 26px rgba(11,27,43,.10);
}
.media-card:focus{outline:none; box-shadow:var(--ring)}
.media-card__img{
  width:100%;
  height:220px;
  object-fit:cover;
}
@media (min-width: 720px){
  .media-card__img{height:260px}
}
.media-card__overlay{
  position:absolute;
  inset:auto 0 0 0;
  padding:12px 12px 12px;
  background:linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.62));
  color:#fff;
}
.media-card__title{
  margin:0;
  font-weight:800;
  letter-spacing:-.2px;
  font-size:16px;
  line-height:1.2;
}
.media-card__meta{
  margin-top:6px;
  font-size:13px;
  opacity:.92;
}

.link-card{
  display:flex; flex-direction:column; gap:8px;
  padding:14px;
  min-height:110px;
  position:relative;
  overflow:hidden;
}
.link-card::before{
  content:"";
  position:absolute; inset:-1px;
  background:radial-gradient(350px 120px at 10% 0%, rgba(0,91,187,.14), transparent 55%),
             radial-gradient(300px 120px at 90% 20%, rgba(0,163,255,.12), transparent 55%);
  pointer-events:none;
}
.link-card > *{position:relative}
.link-card__kicker{color:rgba(11,27,43,.75); font-size:12px}
.link-card__name{margin:0; font-size:15px; letter-spacing:.1px}
.link-card__hint{margin:0; font-size:13px; color:var(--muted)}
.link-card__icon{
  position:absolute;
  right:12px;
  top:12px;
  width:46px;
  height:46px;
  border-radius:14px;
  border:1px solid rgba(148,163,184,.35);
  background:#fff;
  box-shadow:0 8px 18px rgba(11,27,43,.10);
  object-fit:contain;
  padding:8px;
}

.news{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
.news__main{min-width:0}
.news__aside{min-width:0}
@media (min-width: 1020px){
  .news{grid-template-columns:1.35fr .65fr}
}

.image-card{
  display:block;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--border);
  background:#fff;
  box-shadow:0 12px 26px rgba(11,27,43,.10);
  transition:transform .12s ease, border-color .12s ease;
}
.image-card:hover{transform:translateY(-2px); border-color:rgba(148,163,184,.35)}
.image-card img{
  width:100%;
  aspect-ratio: 1 / 1;
  object-fit:cover;
}

.news-card{
  display:grid;
  grid-template-columns:110px 1fr;
  gap:12px;
  padding:12px;
  align-items:center;
}
.news-card__img{
  width:110px;
  aspect-ratio: 4/3;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--border);
  background:#e8eef6;
}
.news-card__img img{width:100%; height:100%; object-fit:cover}
.news-card__meta{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
  color:var(--muted);
  font-size:12px;
}
.news-card__title{
  margin:4px 0 0;
  font-size:14px; line-height:1.3;
}
.news-card:hover{border-color:rgba(148,163,184,.35)}
.news-card:focus-within{box-shadow:var(--ring)}

.aside-stack{display:grid; gap:10px}
.banner{
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--border);
  background:#fff;
}
.banner a{display:block}
.banner img{width:100%; height:auto}

.footer{
  margin-top:18px;
  border-top:1px solid var(--border);
  background:linear-gradient(180deg, rgba(0,91,187,.06), rgba(255,255,255,.86));
}
.footer__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  padding:18px 0;
}
@media (min-width: 900px){
  .footer__grid{grid-template-columns:1.2fr 1fr 1fr 1.2fr}
}
.footer__title{margin:0 0 6px; font-size:14px}
.footer__text{margin:0; color:var(--muted); font-size:13px}
.footer__links{display:grid; gap:8px}
.footer__links a{color:var(--muted); font-size:13px}
.footer__links a:hover{color:var(--text)}
.footer__bottom{
  border-top:1px solid var(--border);
  padding:12px 0;
  color:var(--muted);
  font-size:12px;
  display:flex;
  gap:10px;
  justify-content:space-between;
  flex-wrap:wrap;
}

.footer__cols{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
@supports (display: contents){
  .footer__cols{display:contents}
}
@media (min-width: 900px){
  .footer__cols{grid-template-columns:1.2fr 1fr 1fr 1.2fr}
}
.footer__list{
  display:grid;
  gap:10px;
  color:var(--muted);
  font-size:13px;
}
.footer__list a{color:var(--muted)}
.footer__list a:hover{color:var(--text)}
.footer__contact{
  display:grid;
  gap:10px;
  color:var(--muted);
  font-size:13px;
}
.footer__contact strong{color:var(--text); font-weight:600}
.footer__form{
  display:grid;
  gap:10px;
}
.input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  outline:none;
}
.input:focus{box-shadow:var(--ring)}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
