/* Подвал v2: компактная сетка, без пустых колонок и крупных плиток.
   Разметка и форма в shared-footer.html; основную тему сайта не меняем. */
.site-footer {
  position:relative;
  overflow:hidden;
  padding:0;
  margin-top:54px;
  border:0;
  background:
    radial-gradient(ellipse 600px 260px at 84% 4%,rgba(182,127,59,.07),transparent 85%),
    linear-gradient(180deg,#101923 0%,#0a121a 40%,#090f15 100%);
  color:#f3f5f8;
}
.site-footer::before {
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:2px;
  background:linear-gradient(90deg,transparent,#b68a52 22%,#f0d19b 50%,#b68a52 78%,transparent);
  opacity:.85;
  box-shadow:0 0 22px rgba(233,179,95,.24);
}
.site-footer .footer-route-art {
  position:relative;
  height:60px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(47,67,84,.13),transparent);
}
.site-footer .footer-route-art::after {
  content:"";
  position:absolute;
  top:39px;
  left:-34%;
  height:1px;
  width:29%;
  background:linear-gradient(90deg,transparent,rgba(255,210,138,.55),transparent);
  animation:footer-road-light 10s linear infinite;
  pointer-events:none;
}
@keyframes footer-road-light {to{transform:translateX(460%)}}
.site-footer .footer-route-inner {height:60px}
.site-footer .footer-route-inner svg {display:block;width:100%;height:56px}
.site-footer .footer-layout {
  display:grid;
  grid-template-columns:minmax(238px,0.89fr) minmax(390px,1.48fr) minmax(290px,0.99fr);
  align-items:start;
  gap:34px;
  padding-top:13px;
  padding-bottom:39px;
}
.site-footer .footer-about {min-width:0}
.site-footer .footer-overline {
  color:#e8b76e;
  font-size:11px;
  line-height:1.5;
  font-weight:800;
  letter-spacing:1.6px;
  text-transform:uppercase;
}
.site-footer .footer-brand-name {
  margin-top:10px;
  color:#f6f8fa;
  font-size:26px;
  line-height:1.22;
  letter-spacing:-.055em;
  font-family:Manrope,system-ui,sans-serif;
  font-weight:800;
}
.site-footer .footer-about p {
  max-width:300px;
  margin:14px 0 18px;
  font-size:15px;
  line-height:1.6;
  color:#aebdc9;
}
.site-footer .footer-big-phone {
  display:inline-block;
  color:#fff;
  font-size:21px;
  font-family:Manrope,system-ui,sans-serif;
  font-weight:800;
  letter-spacing:-.04em;
  white-space:nowrap;
}
.site-footer .footer-big-phone:hover {color:#f4c984}
.site-footer .footer-messengers {
  display:flex;
  align-items:center;
  gap:11px;
  margin-top:8px;
  color:#8e9ead;
  font-size:14px;
}
.site-footer .footer-messengers a {color:#c8d8e2;font-weight:650}
.site-footer .footer-messengers a:hover {color:#f5d294}
.site-footer .footer-directory {
  display:grid;
  grid-template-columns:1.17fr .85fr 1.35fr;
  gap:17px;
  padding-top:5px;
  min-width:0;
}
.site-footer .footer-directory-column {min-width:0}
.site-footer .footer-directory h3 {
  margin:0 0 17px;
  color:#f1c687;
  font-size:14px;
  font-family:Manrope,system-ui,sans-serif;
  line-height:1.4;
  font-weight:800;
  letter-spacing:.015em;
}
.site-footer .footer-directory a {
  display:block;
  width:fit-content;
  max-width:100%;
  margin:0 0 11px;
  color:#c7d2de;
  font-size:14px;
  line-height:1.42;
  font-weight:500;
  overflow-wrap:break-word;
  transition:color .18s;
}
.site-footer .footer-directory a:hover {color:#ffdda5}
.site-footer .footer-website-card {
  position:relative;
  min-width:0;
  padding:16px 18px 16px;
  margin:0;
  border:1px solid rgba(184,172,151,.20);
  border-radius:14px;
  background:
    linear-gradient(150deg,rgba(28,40,51,.74),rgba(17,28,37,.66));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.site-footer .footer-website-eyebrow {
  display:flex;
  align-items:center;
  gap:7px;
  color:#d8b681;
  font-size:10px;
  line-height:1.3;
  font-weight:750;
  letter-spacing:1.1px;
  text-transform:uppercase;
}
.site-footer .footer-website-eyebrow span {
  width:6px;height:6px;border-radius:50%;
  background:#dbb576;box-shadow:0 0 8px rgba(237,181,95,.32);
}
.site-footer .footer-website-card h3 {
  margin:8px 0 6px;
  color:#f5f7fa;
  font-size:20px;
  line-height:1.25;
  font-family:Manrope,system-ui,sans-serif;
  font-weight:750;
  letter-spacing:-.035em;
}
.site-footer .footer-website-card p {
  max-width:none;
  margin:0;
  color:#acb9c5;
  font-size:12.5px;
  line-height:1.45;
}
.site-footer .footer-site-form {margin:10px 0 0}
.site-footer .footer-phone-label {
  display:block;
  margin-bottom:5px;
  color:#c4d1db;
  font-size:11px;
  font-weight:700;
}
.site-footer .footer-site-form input[type=tel] {
  display:block;
  width:100%;
  height:40px;
  padding:8px 11px;
  color:#fff;
  font-size:14px;
  border:1px solid #475d70;
  border-radius:9px;
  background:#111d28;
}
.site-footer .footer-site-form input[type=tel]:focus {
  border-color:#f0c47d;
  box-shadow:0 0 0 3px rgba(240,196,125,.18);
}
.site-footer .footer-site-form input[type=tel]::placeholder {color:#8fa4b5}
.site-footer .footer-site-btn {
  display:flex;
  width:100%;
  min-height:40px;
  margin-top:8px;
  padding:8px 12px;
  border-radius:9px;
  font-size:13px;
  white-space:normal;
}
.site-footer .footer-site-btn span {font-size:17px;line-height:1}
/* Уведомление о заявке менее заметно, чем основная навигация сайта. */
.site-footer .form-ajax-status {
  margin:8px 0 0!important;
  padding:8px 10px!important;
  font-size:12px!important;
  line-height:1.4!important;
  border-radius:9px!important;
}
.site-footer .footer-bottom-bar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  padding-top:17px;
  padding-bottom:20px;
  border-top:1px solid rgba(163,185,202,.14);
  color:#8d9aa7;
  font-size:12px;
  letter-spacing:.01em;
}
@media(max-width:1120px) {
  .site-footer .footer-layout {
    grid-template-columns:minmax(0,1fr) minmax(300px,.85fr);
    grid-template-areas:'about offer' 'nav nav';
    column-gap:30px;
    row-gap:26px;
  }
  .site-footer .footer-about {grid-area:about}
  .site-footer .footer-directory {grid-area:nav;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:6px;border-top:1px solid rgba(163,185,202,.12)}
  .site-footer .footer-website-card {grid-area:offer}
  .site-footer .footer-about p {max-width:480px}
}
@media(max-width:700px) {
  .site-footer {margin-top:38px}
  .site-footer .footer-route-art,.site-footer .footer-route-inner{height:54px}
  .site-footer .footer-route-inner svg{height:50px}
  .site-footer .footer-layout {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:27px;
    padding:4px 0 27px;
  }
  .site-footer .footer-brand-name {font-size:25px}
  .site-footer .footer-about p {max-width:560px;margin:11px 0 14px;font-size:15px}
  .site-footer .footer-directory {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:25px;
    row-gap:20px;
    padding-top:21px;
    border-top:1px solid rgba(163,185,202,.14);
  }
  .site-footer .footer-directory h3 {margin-bottom:11px}
  .site-footer .footer-directory a {margin-bottom:9px}
  .site-footer .footer-website-card {margin-top:2px;padding:17px 16px}
  .site-footer .footer-bottom-bar {padding-top:14px;padding-bottom:20px}
}
@media(prefers-reduced-motion:reduce){.site-footer .footer-route-art::after{animation:none}}
