.ws-footer,
.ws-footer *{
  box-sizing:border-box;
}

.ws-footer{
  --ws-footer-bg:#1d1b1b;
  --ws-footer-surface:#1d1b1b;
  --ws-footer-surface-alt:#010915;
  --ws-footer-border:rgba(255,255,255,.18);
  --ws-footer-accent:#ffd152;
  --ws-footer-text:#ffffff;
  --ws-footer-text-muted:#d7e2dc;
  --ws-footer-max-width:1440px;

  position:relative;
  overflow:hidden;
  /* более крупный верхний отступ на десктопе */
  padding:64px 20px 22px;
  background:var(--ws-footer-bg);
  color:var(--ws-footer-text);
}

.ws-footer::before,
.ws-footer::after{
  content:none;
}

.ws-footer__container,
.ws-footer__inner{
  width:100%;
  max-width:var(--ws-footer-max-width);
  margin:0 auto;
}

.ws-footer__grid{
  display:grid;
  grid-template-columns:
    minmax(240px, 1.15fr)
    repeat(4, minmax(120px, .8fr))
    minmax(360px, 1.35fr);
  column-gap:14px;
  row-gap:20px;
  align-items:start;
}

.ws-footer__brand,
.ws-footer__column{
  min-width:0;
}

.ws-footer__logo img{
  display:block;
  max-width:170px;
  height:auto;
  margin:0 0 18px;
}

.ws-footer__brand-text{
  max-width:320px;
  margin:0 0 24px;
  color:var(--ws-footer-text-muted);
  font-family:var(--font-body, "Montserrat", sans-serif);
  font-size:14px;
  line-height:1.55;
  white-space:pre-line;
}

.ws-footer__button{
  display:inline-flex;
  max-width:100%;
  margin-top:8px;
  text-decoration:none;
}

.ws-footer__button-icon svg{
  display:block;
  width:15px;
  height:15px;
}

.ws-footer__title,
.ws-footer__contact-title{
  margin:0;
  color:var(--ws-footer-text);
  font-family:var(--font-head, "Roboto Slab", serif);
  font-size:24px;
  line-height:1.08;
  font-weight:800;
}

.ws-footer__underline{
  display:block;
  width:72px;
  height:3px;
  margin:8px 0 14px;
  border-radius:999px;
  background:var(--ws-footer-accent);
}

.ws-footer__menu{
  display:grid;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}

.ws-footer__menu-item{
  min-width:0;
}

.ws-footer__menu-link{
  position:relative;
  display:inline-block;
  padding-left:16px;
  color:var(--ws-footer-text);
  font-family:var(--font-body, "Montserrat", sans-serif);
  font-size:13px;
  line-height:1.28;
  font-weight:600;
  text-decoration:none;
  overflow-wrap:anywhere;
  transition:color .25s ease;
}

.ws-footer__menu-link::before{
  content:"↗";
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  color:var(--ws-footer-accent);
  font-size:16px;
  line-height:1;
}

.ws-footer__menu-link:hover,
.ws-footer__menu-link:focus-visible{
  color:var(--ws-footer-accent);
}

.ws-footer__column--contact{
  display:flex;
  justify-content:flex-end;
  align-self:start;
}

.ws-footer__contact-card{
  display:flex;
  width:100%;
  max-width:380px;
  margin-left:auto;
  padding:20px 16px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:20px;
  background:rgba(255,255,255,.04);
  box-shadow:
    0 0 0 1px rgba(255,209,82,.08) inset,
    0 10px 24px rgba(0,0,0,.22);
  overflow:hidden;
}

.ws-footer__contact-main{
  flex:1 1 auto;
  min-width:0;
}

.ws-footer__contact-title{
  margin-bottom:16px;
  line-height:1.12;
}

.ws-footer__contact-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom:12px;
}

.ws-footer__contact-row:last-child{
  margin-bottom:0;
}

.ws-footer__contact-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  flex:0 0 32px;
  border:1px solid var(--ws-footer-border);
  border-radius:999px;
  background:var(--ws-footer-surface-alt);
  color:var(--ws-footer-accent);
}

.ws-footer__contact-icon svg{
  display:block;
  width:18px;
  height:18px;
}

.ws-footer__contact-body{
  min-width:0;
}

.ws-footer__contact-label{
  margin:0 0 2px;
  color:var(--ws-footer-accent);
  font-family:var(--font-body, "Montserrat", sans-serif);
  font-size:13px;
  line-height:1.25;
}

.ws-footer__contact-value{
  color:var(--ws-footer-text);
  font-family:var(--font-body, "Montserrat", sans-serif);
  font-size:17px;
  line-height:1.35;
  font-weight:700;
  text-decoration:none;
  overflow-wrap:normal;
  word-break:normal;
  transition:color .25s ease;
}

.ws-footer__contact-value:hover,
.ws-footer__contact-value:focus-visible{
  color:var(--ws-footer-accent);
}

.ws-footer__socials{
  display:flex;
  flex:0 0 50px;
  flex-direction:column;
  align-items:center;
  gap:8px;
  margin-left:12px;
  padding:8px 6px;
  border:1px solid var(--ws-footer-border);
  border-radius:32px;
  background:var(--ws-footer-surface);
}

.ws-footer__social-link{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border:1px solid var(--ws-footer-border);
  border-radius:999px;
  background:var(--ws-footer-surface);
  text-decoration:none;
  transition:transform .15s ease, background-color .15s ease;
}

.ws-footer__social-link::before{
  content:"";
  display:block;
  width:22px;
  height:22px;
  background-position:center;
  background-repeat:no-repeat;
  background-size:contain;
}

.ws-footer__social-link:hover,
.ws-footer__social-link:focus-visible{
  transform:translateY(-2px);
  background:#183f73;
}

.ws-footer__social-link--facebook::before{
  background-image:url("https://pub-693c9872069f41db9a1dbc355b7574a2.r2.dev/photoffl/facebook-1-svgrepo-com.svg");
}

.ws-footer__social-link--telegram::before{
  background-image:url("https://pub-693c9872069f41db9a1dbc355b7574a2.r2.dev/photoffl/telegram.svg");
}

.ws-footer__social-link--instagram::before{
  background-image:url("https://pub-693c9872069f41db9a1dbc355b7574a2.r2.dev/photoffl/instagram-1-svgrepo-com.svg");
}

.ws-footer__social-link--youtube::before{
  background-image:url("https://pub-693c9872069f41db9a1dbc355b7574a2.r2.dev/photoffl/youtube-color-svgrepo-com.svg");
}

.ws-footer__social-link--whatsapp::before{
  background-image:url("/wp-content/themes/webseven/assets/icon/whatsapp.svg");
}

.ws-footer__social-link--trustpilot::before{
  background-image:url("/wp-content/themes/webseven/assets/icon/glavna-icon/Trustpilotstarbg.svg");
}

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

.ws-footer__bottom{
  margin-top:12px;
  text-align:center;
}

.ws-footer__copyright{
  margin:0;
  color:var(--ws-footer-text-muted);
  font-family:var(--font-body, "Montserrat", sans-serif);
  font-size:14px;
  line-height:1.5;
}

.ws-footer__copyright a{
  color:var(--ws-footer-accent);
  font-weight:700;
  text-decoration:none;
}

.ws-footer__copyright a:hover,
.ws-footer__copyright a:focus-visible{
  color:var(--ws-footer-text);
}

@media (max-width:1360px){
  .ws-footer{
    /* на ноутбуках тоже чуть больше сверху и снизу */
    padding:44px 20px 28px;
  }

  .ws-footer__grid{
    grid-template-columns:
      minmax(220px, 1.1fr)
      repeat(4, minmax(110px, .78fr))
      minmax(380px, 1.5fr);
    column-gap:12px;
  }

  .ws-footer__menu-link{
    font-size:12.5px;
  }
}

@media (min-width:681px){
  .ws-footer__contact-value{
    white-space:nowrap;
  }
}

@media (max-width:1180px){
  .ws-footer{
    padding:34px 18px 24px;
  }

  .ws-footer__grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    column-gap:18px;
    row-gap:22px;
  }

  .ws-footer__column--contact{
    justify-content:flex-start;
    grid-column:1 / -1;
  }

  .ws-footer__contact-card{
    max-width:100%;
    margin-left:0;
  }
}

@media (max-width:900px){
  .ws-footer__grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:680px){
  .ws-footer{
    padding:32px 16px 22px;
  }

  .ws-footer__grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    column-gap:14px;
    row-gap:20px;
  }

  .ws-footer__brand,
  .ws-footer__column--contact{
    grid-column:1 / -1;
  }

  .ws-footer__brand{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
  }

  .ws-footer__logo{
    display:flex;
    justify-content:center;
    width:100%;
  }

  .ws-footer__logo img{
    margin:0 auto 16px;
  }

  .ws-footer__brand-text{
    max-width:320px;
    margin:0 auto 18px;
    text-align:center;
  }

  .ws-footer__button{
    margin:6px auto 0;
  }

  .ws-footer__column:not(.ws-footer__column--contact){
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:left;
  }

  .ws-footer__underline{
    margin:8px 0 12px;
  }

  .ws-footer__column:not(.ws-footer__column--contact) > .ws-footer__title,
  .ws-footer__column:not(.ws-footer__column--contact) > .ws-footer__underline,
  .ws-footer__column:not(.ws-footer__column--contact) > .ws-footer__menu{
    width:min(100%, 170px);
  }

  .ws-footer__menu{
    justify-items:start;
    width:min(100%, 170px);
    max-width:100%;
  }

  .ws-footer__menu-item{
    display:flex;
    justify-content:flex-start;
    width:100%;
  }

  .ws-footer__title{
    width:min(100%, 170px);
    max-width:100%;
  }

  .ws-footer__menu-link{
    text-align:left;
  }

  .ws-footer__column--contact{
    justify-content:center;
  }

  .ws-footer__contact-card{
    width:100%;
    max-width:460px;
    margin:0 auto;
  }
}

@media (max-width:430px){
  .ws-footer{
    padding:26px 14px 20px;
  }

  .ws-footer__grid{
    column-gap:12px;
    row-gap:18px;
  }

  .ws-footer__title,
  .ws-footer__contact-title{
    font-size:20px;
  }

  .ws-footer__menu-link{
    font-size:14px;
    line-height:1.25;
  }
}

@media (max-width:360px){
  .ws-footer__contact-card{
    flex-direction:column;
    align-items:stretch;
  }

  .ws-footer__socials{
    flex-direction:row;
    flex:0 0 auto;
    margin:18px auto 0;
    padding:6px 10px;
    border-radius:999px;
  }
}
