.footer {
    align-items: center;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 160px 0 40px;
    width: 100%;
}
.footer > div {
    box-sizing: border-box;
    gap: 40px 0px;
    max-width: 2560px;
    padding: 0 40px;
    width: 100%;
}
.footer .footer-top {
    justify-content: space-between;
    width: 100%;
}

/* menu-bottom */

.footer .menu-bottom {
    max-width: 870px;
}
.footer .menu-bottom ul {
	display: flex;
	flex-wrap: wrap;
	list-style: outside none none;
	margin: 0;
	padding: 0;
}
.footer .menu-bottom > ul {
	gap: 30px 40px;
}
.footer .menu-bottom > ul > li > a {
    color: var(--la-grey-basic);
	font-family: 'Geologica';
	font-size: 15px;
    line-height: 1.6;
	text-decoration: none;
}
.footer .menu-bottom > ul > li > a:hover {
    color: var(--la-grey-basic-50);
}

/* menu-bottom end */

.footer-contacts {
    align-items: flex-end;
    gap: 20px 0;
}
.footer-contacts .phone-row {
    align-items: center;
    gap: 25px;
}
.footer-contacts .phone-row .hours {
    color: var(--la-grey-basic-50);
    font-family: 'Geologica';
    font-size: 15px;
    line-height: 1.4;
}
.footer-contacts .phone-row .phone {
    font-family: 'Geologica';
    font-weight: 500;
    font-size: 25px;
    line-height: 1.2;
    text-decoration: none;
}
.footer-contacts .social-networks {
    align-items: center;
    flex-wrap: wrap;
    gap: 32px 20px;
    justify-content: flex-start;
}
.footer-contacts .social-networks a {
    font-family: 'Geologica Roman';
    font-size: 15px;
    line-height: 1.6;
    text-decoration: none;
}
.footer-contacts .email {
    font-family: 'Geologica';
    font-size: 15px;
    line-height: 1.4;
    text-decoration: none;
}
.footer-contacts a {
    color: var(--la-grey-basic);
}
.footer-contacts a:hover {
    color: var(--la-grey-basic-50);
}

.footer-bottom {
    justify-content: space-between;
    width: 100%;
}

.footer .webstudio {
	color: #686868;
	font-family: 'Geologica';
	font-size: 12px;
	text-decoration: none;
}
.footer .webstudio span {
	color: #ce0000;
}
.footer .webstudio:hover {
	color: #ce0000; text-decoration: underline;
}

.footer .copy {
    color: #121212;
    font-family: 'Geologica';
    font-size: 15px;
}
.footer .copy > span {
    color: #12121280;
}
.footer-address {
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
}
.footer-address > div {
    color: var(--la-grey-basic-60);
    font-family: 'Geologica';
    font-size: 15px;
    line-height: 1.3;
}


@media (max-width: 1024px){

.footer {
    align-items: center;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 100px 0 30px;
    width: 100%;
}

.footer > div {
    box-sizing: border-box !important;
    gap: 40px 0px;
    padding: 0 40px;
    width: 100%;
}

.footer .menu-bottom > ul {
    gap:20px 30px;
}





.footer .copy{
    font-size: 12px;
}
.footer-address{
    display: flex;
    align-items: center;
    justify-content: space-between !important;
    gap:30px;
    width: 100%;
}

.footer-address > div{
    font-size: 12px;
}

.footer >  div > .flex-row{
    justify-content: space-between;
    gap:20px;

}

.footer-contacts{
    align-items: flex-start;
    gap:15px;
}

.footer-contacts .phone-row .phone {
    font-size: 14px;
    line-height: 1.4;
    white-space: nowrap;
}

.footer-contacts .phone-row {

    flex-wrap: wrap;
}

.footer-contacts .phone-row {
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}




}


@media (max-width: 760px){
.footer {
    align-items: center;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 100px 0 20px;
    width: 100%;
}
.footer > div {
    box-sizing: border-box !important;
    gap: 40px 0px;
    padding: 0 20px;
    width: 100%;
}

.footer .footer-top {
        all: unset;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important; 
        width: 100% !important;
    }
.footer .menu-bottom > ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
  padding-bottom: 20px;

  /* Меняем порядок колонок: сначала второй, потом первый */
  grid-auto-flow: column;
  /* Задаём порядок вручную через order */
}
.footer .menu-bottom > ul > li {
  /* Блоки выравниваются по левому краю внутри своей ячейки */
  text-align: left;
}

/* Пусть 3-й и 4-й элементы идут первыми (в левый столбец) */
.footer .menu-bottom > ul > li:nth-child(6),
.footer .menu-bottom > ul > li:nth-child(7),
.footer .menu-bottom > ul > li:nth-child(8),
.footer .menu-bottom > ul > li:nth-child(9) {
  grid-column-start: 1; /* Левый столбец */
}

/* 1-й и 2-й — в правый */
.footer .menu-bottom > ul > li:nth-child(1),
.footer .menu-bottom > ul > li:nth-child(2),
.footer .menu-bottom > ul > li:nth-child(3),
.footer .menu-bottom > ul > li:nth-child(4),
.footer .menu-bottom > ul > li:nth-child(5)  {
  grid-column-start: 2; /* Правый столбец */
}


.footer-contacts .phone-row .hours {
    font-size: 14px;
    white-space: nowrap;
}

.footer-contacts .phone-row .phone {
    font-size: 16px;
    line-height: 1.4;
    white-space: nowrap;
}
.footer-contacts .phone-row {
    align-self: self-start;
    box-sizing: border-box !important;
    width: 100%;
    flex-wrap: wrap;
}

.footer-contacts .phone-row {
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.footer .copy{
    font-size: 12px;
    white-space: nowrap;
}
.footer-address{
    display: flex;
    align-items: center;
    justify-content: space-between !important;
    gap:30px;
    width: 100%;
}

.footer-address > div{
    font-size: 12px;
}

.footer >  div > .flex-row{
    flex-direction: column !important;
    gap:5px;

}


.footer-bottom{
    all:unset;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap:10px;
}

}

