/* styles.css */
:root {
  --color-bg: #faf9fb;
  --color-accent: #04317b;
  --color-text: #1e1e1e;
  --color-white: #ffffff;

  --font-heading: 'Poppins', sans-serif;
  --font-text: 'Montserrat', sans-serif;

  --weight-regular: 400;
  --weight-semibold: 600;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-text);
  font-weight: var(--weight-regular);
  margin: 0;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* модалка */

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.modal-content h3 {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.4;
  color: #0d2b65;
  margin-bottom: 16px;
}

.modal-content p {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 14px 5px;
  font-size: 1rem;
  margin-bottom: 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  resize: none;
}

.modal-checkbox {
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.modal-checkbox input {
  margin-top: 4px;
}

.modal-checkbox a {
  color: #0d2b65;
  text-decoration: underline;
}

.modal-submit {
  background-color: #0d2b65;
  color: #fff;
  width: 100%;
  padding: 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.modal-submit:hover {
  background-color: #021e4c;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  color: #444;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.5;
  color: #2d2d2d;
  margin-bottom: 24px;
  font-family: var(--font-base);
}

.checkbox-wrapper input[type='checkbox'] {
  width: 24px;
  height: 24px;
  min-width: 24px;
  accent-color: #0d2b65;
  cursor: pointer;
}

.checkbox-wrapper label {
  display: inline;
  font-weight: 400;
}

.checkbox-wrapper a {
  color: #0d2b65;
  text-decoration: underline;
}

/* Адаптив */
@media (max-width: 480px) {
  .checkbox-wrapper {
    font-size: 0.7rem;
  }
  .modal-content {
    padding: 24px;
  }

  .modal-content h3 {
    font-size: 1.25rem;
  }

  .modal-submit {
    font-size: 0.95rem;
  }
}

/* мини модалка формы */

#success-modal {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #4caf50;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-size: 1rem;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#success-modal.show {
  opacity: 1;
  visibility: visible;
}

/* header */
/* ===== HEADER BASE ===== */
header.main-header {
  background-color: var(--color-bg);
  padding: 22px 0 0;
  position: relative;
}

/* контейнер */
.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  position: relative;
  padding-bottom: 22px;
}

/* нижняя линия */
.main-header .container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #e4e6ea;
}

/* ===== LOGO ===== */
.logo img {
  height: 30px;
  display: block;
  flex-shrink: 0;
}

/* ===== NAVIGATION ===== */
.nav {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-list a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: var(--weight-regular);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nav-list a:hover {
  color: var(--color-accent);
}

/* ===== LANGUAGE SWITCH ===== */
.lang-switch {
  display: flex;
  gap: 6px;
  margin-left: 10px;
  flex-shrink: 0;
}

.lang-switch .lang-btn {
  background: none;
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  transition: 0.18s;
}

.lang-switch .lang-btn:hover,
.lang-switch .lang-btn.active {
  background: var(--color-accent);
  color: #fff;
}

/* ===== HEADER BUTTON ===== */
.btn-header {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  border: 1px solid var(--color-accent);
  font-size: 0.9rem;
  color: var(--color-accent);
  padding: 8px 28px;
  border-radius: 6px;
  white-space: nowrap;
  text-decoration: none;
  transition: 0.3s;
}

.btn-header:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  transform: scale(1.02);
}

/* ===== BURGER ===== */
.burger {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: max-content;
}

.burger span {
  height: 2px;
  background-color: #0d2b65;
  border-radius: 4px;
  display: block;
}

.burger span:nth-child(1),
.burger span:nth-child(2) {
  width: 28px;
}
.burger span:nth-child(3) {
  width: 18px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  transform: translateX(100%);
  transition: 0.3s ease-in-out;
  position: fixed;
  top: 0;
  right: 0;
  width: 90%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--color-accent);
  padding: 32px 22px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  color: white;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu img {
  width: 110px;
  height: 30px;
  margin-bottom: 34px;
}

.mobile-menu a {
  font-size: 1rem;
  font-weight: var(--weight-regular);
  margin-bottom: 18px;
  display: block;
  text-decoration: none;
  color: white;
}

.mobile-menu .btn-mobile {
  background: white;
  color: var(--color-accent);
  padding: 0.85rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
}

/* Закрыть меню */
.close-menu {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 22px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

.close-menu::before,
.close-menu::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background-color: white;
}

.close-menu::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.close-menu::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ===== BREAKPOINTS ===== */

@media (max-width: 1145px) {
  .nav,
  .btn-header,
  .lang-switch {
    display: none;
  }
  .burger {
    display: flex;
  }
}

/* планшет */
@media (max-width: 1024px) {
  .nav-list {
    gap: 1.2rem;
  }
}

/* мобильные */
@media (max-width: 768px) {
  .nav,
  .btn-header,
  .lang-switch {
    display: none;
  }
}

/* маленькие телефоны */
@media (max-width: 480px) {
  .mobile-menu.open {
    max-width: 240px;
    padding: 22px 16px;
  }
  .mobile-menu img {
    width: 95px;
    margin-bottom: 22px;
  }
}

.lang-switch-mobile {
  display: flex;
  gap: 10px;
}

.lang-switch-mobile .lang-btn {
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  transition: 0.18s;
}



/* === Hero Section === */
.hero-wrapper {
  position: relative;
  background-color: var(--color-bg);
  background-image: url('/assets/icons/Union.svg');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: contain;
  padding: 60px 0 0px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  font-size: 3rem;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.hero-text .hero-title-span {
  color: var(--color-accent);
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-weight: var(--weight-semibold);
  font-size: 1.1rem;
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 3px;
  transition: 0.3s;
}

.btn-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-bottom: -3px;
}

.train-img {
  width: 100%;
  height: auto;
}

.hero-train {
  position: relative;
  z-index: 1;
}

.badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 260px;
  background-color: var(--color-white);
  border-radius: 30px;
  padding: 10px 10px;
  font-size: 1rem;
  font-weight: var(--weight-regular);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  color: var(--color-text);
}

.badge img {
  width: 20px;
  height: 20px;
  background-color: var(--color-accent);
  border-radius: 50%;
  padding: 7px;
}

.badge-top {
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.badge-right {
  top: 45%;
  right: 10%;
  transform: translateY(-50%);
}

.badge-bottom {
  bottom: 25%;
  left: 15%;
}

/* === Адаптив до 768px === */
@media (max-width: 768px) {
  .hero-wrapper {
    background-image: url(/assets/icons/union-m.svg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 70%;
    padding: 36px 0 22%;
    margin-bottom: 34px;
  }

  .hero {
    padding: 0 10px;
    gap: 32px;
    align-items: flex-start;
  }

  .hero-text h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-text p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .btn-link {
    font-size: 1rem;
    justify-content: flex-start;
  }

  .btn-link img {
    width: 20px;
    height: 20px;
    margin-bottom: -2px;
  }

  .hero-train {
    margin-top: 32px;
  }

  /* Бейджи — вертикально и по ширине */
  .badge {
    position: static;
    display: flex;
    width: 100%;
    max-width: none;
    margin: 12px 0;
    justify-content: flex-start;
    padding: 12px 5px;
    border-radius: 30px;
  }

  .badge img {
    width: 24px;
    height: 24px;
    padding: 7px;
  }

  .badge-top,
  .badge-right,
  .badge-bottom {
    transform: none;
    top: unset;
    right: unset;
    bottom: unset;
    left: unset;
  }
}

/* === Адаптив до 480px === */
@media (max-width: 480px) {
  .hero-wrapper {
    background-image: url(/assets/icons/union-m.svg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 111% auto;
    padding: 36px 0 20%;
    margin-bottom: 34px;
  }
  .hero-text h1 {
    font-size: 1.6rem;
  }

  .badge {
    font-size: 0.95rem;
  }
}

@media (max-width: 320px) {
  .hero-wrapper {
    background-size: 126% auto;
  }
}

@media (max-width: 440px) {
  .hero-wrapper {
    background-size: 111% 61%;
  }
}

@media screen and (min-width: 1600px) {
  .hero-wrapper {
    background-size: auto;
  }
}

/* почему выбирают нас */

.advantages {
  background-color: #faf9fb;
  padding: 80px 0;
}

.advantages .container {
  display: block;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.advantages-header {
  margin-bottom: 40px;
}

.section-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 57px;
}

.section-subtitle img {
  width: 10px;
  height: 10px;
}

.subtitle-icon {
}

.advantages-title {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: var(--color-text);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 160px;
}

.advantage-card img {
  width: 32px;
  height: 27px;
}

.advantage-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.advantage-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* === Мобильная адаптация === */
@media (max-width: 1024px) {
  .advantages {
    padding-top: 0;
  }
  .advantages-title {
    font-size: 2rem;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .advantages-title {
    font-size: 1.75rem;
  }

  .advantage-card {
    padding: 20px;
  }

  .advantage-card h3 {
    font-size: 1rem;
  }

  .advantage-card p {
    font-size: 0.875rem;
  }
}

/* about */

.about {
  background-color: #faf9fb;
  padding: 80px 0;
}

.about-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.subtitle-icon {
  width: 8px;
  height: 8px;
}

.about-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.about-header h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
  flex: 0 0 auto;
}

.about-header hr {
  width: 40px;
  border: none;
  border-top: 2px solid var(--color-text);
  margin-top: 14px;
  flex-shrink: 0;
}

.about-header p {
  flex: 1;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  color: var(--color-text);
  max-width: 520px;
}

.about-image {
  margin-bottom: 40px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.about-points {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid #e4e4e4;
  padding-top: 32px;
}

.about-point {
  flex: 1 1 50%;
  min-width: 300px;
}

.about-point h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.about-point p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.about-point strong {
  font-weight: 600;
}

/* 🔧 Адаптив */
@media (max-width: 768px) {
  .about {
    padding-top: 0;
  }
  .about-header {
    flex-direction: column;
    gap: 12px;
  }

  .about-header hr {
    display: none;
  }

  .about-points {
    flex-direction: column;
    gap: 24px;
  }

  .about-point {
    flex: 1 1 100%;
  }

  .about-inner {
    padding: 0 16px;
  }
}

.company-goal {
  border-bottom: 1px solid #e4e6ea;
}

.company-goal,
.company-assets {
  display: flex;
  justify-content: space-between;
  gap: 30%;
  padding: 32px 0;
}

.company-goal h3,
.company-assets h3 {
  flex: 0 0 240px;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.company-goal p,
.company-assets p {
  flex: 1;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .company-goal,
  .company-assets {
    flex-direction: column;
    gap: 16px;
  }

  .company-goal h3,
  .company-assets h3 {
    font-size: 1.25rem;
    flex: none;
  }

  .company-goal p,
  .company-assets p {
    font-size: 0.95rem;
  }
}

/* услуги */

.services {
  background-color: #04317b;
  color: white;
  padding: 80px 0;
}

.services .container {
  flex-direction: column;
  align-items: flex-start;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 56px;
}

.section-subtitle img {
  width: 10px;
  height: 10px;
}

.services-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 40px;
}

.services-table {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 14px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 24px;
  position: relative;
}

.service-number {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.divider-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 16px; /* длина вертикального кусочка */
  background-color: rgba(255, 255, 255, 0.3); /* цвет вертикального кусочка */
}

@media (max-width: 900px) {
  .divider-notch {
    display: none;
  }
}

.service-name {
  font-weight: 600;
  font-size: 1.5rem;
}

.service-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
}

/* Адаптив */
@media (max-width: 768px) {
  .services {
    padding: 60px 0;
  }

  .services-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
  }

  .service-row {
    display: flex;
    flex-direction: column;
  }

  .service-number {
    grid-area: number;
    font-size: 0.875rem;
  }

  .service-name {
    grid-area: name;
    font-size: 1rem;
  }

  .service-desc {
    grid-area: desc;
    font-size: 0.875rem;
  }
}

/* partners */

.partners {
  background-color: #faf9fb;
  padding: 80px 0;
}

.partners-container {
  flex-direction: column;
  align-items: flex-start;
}

.partners-content {
  max-width: 580px;
  margin-bottom: 40px;
}

@media (max-width: 720px) {
  .partners-content {
    margin-bottom: 25px;
  }
}

.section-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #7c7c7c;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 57px;
}

@media (max-width: 720px) {
  .section-subtitle {
    margin-bottom: 25px;
  }
}

.subtitle-icon {
  width: 8px;
  height: 8px;
}

.partners-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.partners-text {
  font-size: 1.125rem;
  color: #444;
  line-height: 1.5;
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  width: 100%;
}

.partners-logos img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

/* Mobile */
@media (max-width: 768px) {
  .partners-container {
    flex-direction: column;
    padding: 0 20px;
  }

  .partners-title {
    font-size: 1.3rem;
  }

  .partners-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .partners-text {
    font-size: 1rem;
  }

  .partners-logos img {
    max-width: 100%;
  }
}

.contacts {
  background-color: #faf9fb;
  padding: 80px 0;
}

.contacts-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}

.section-subtitle-wrapper {
  width: 100%;
  margin-bottom: -16px;
}

.section-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #888;
  text-transform: uppercase;
  font-weight: 500;
}

.subtitle-icon {
  width: 12px;
  height: 12px;
}

.contacts-left {
  flex: 0 0 300px;
}

.contacts-left h2 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: var(--color-text);
}

.contacts-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas:
    'phone email'
    'address social';
  gap: 24px;
  flex: 1;
}

.contact-card:nth-child(1) {
  grid-area: phone;
}
.contact-card:nth-child(2) {
  grid-area: email;
}
.contact-card.address {
  grid-area: address;
}
.contact-card.social {
  grid-area: social;
}

.contact-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(30, 30, 30, 0.1);
}

.contact-card .label {
  font-size: 1rem;
  color: #888;
}

.contact-card a,
.contact-card p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  text-decoration: none;
}

.contact-card .arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 34px;
  height: 34px;
}

.contact-card.social {
  justify-content: flex-start;
}

.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.social-icons a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #e4e6ea;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.social-icons a:hover {
  background-color: #f0f0f0;
}

.social-icons img {
  width: 22px;
  height: 22px;
}

/* === Адаптив === */
@media (max-width: 1024px) {
  .contacts-left {
    flex: 0 0 100%;
  }

  .contacts-container {
    flex-direction: column;
  }

  .contacts-right {
    grid-template-columns: 1fr;
    grid-template-areas:
      'phone'
      'email'
      'address'
      'social';
  }

  .contact-card {
    padding: 20px;
  }

  .contact-card .arrow {
    top: 20px;
    right: 20px;
    width: 16px;
    height: 16px;
  }

  .contacts-left h2 {
    font-size: 1.75rem;
  }
}

/* footer */

.footer {
  background-color: #102c6c;
  color: #ffffff;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 60px 0;
  flex-wrap: wrap;
}

.footer-left {
  flex: 1;
  min-width: 240px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 12px;
}

.footer-description {
  color: #9ea8c1;
  margin: 0;
}

.footer-nav,
.footer-contacts {
  flex: 1;
  min-width: 200px;
}

.footer-nav h4,
.footer-contacts h4 {
  font-size: 1rem;
  font-weight: 500;
  color: #9ea8c1;
  margin-bottom: 16px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 1rem;
}

.footer-nav a {
  color: white;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-contacts p {
  margin-bottom: 16px 0;
}

.footer-bottom {
  padding: 16px 0;
  font-size: 13px;
  color: #9ea8c1;
  text-align: left;
}

.footer-bottom .container {
  border-top: 1px solid gray;
  padding: 0;
}

.footer-social img {
  filter: brightness(0) invert(1); /* белый по умолчанию */
  transition: filter 0.3s;
}

.footer-social a:hover img {
  filter: brightness(1) invert(0.3); /* светло-серый при ховере */
}

/* ✅ Мобильная адаптация */
@media (max-width: 768px) {
  .footer {
    padding: 0 10px;
  }
  .footer-container {
    flex-direction: column;
    gap: 32px;
  }

  .footer-left,
  .footer-nav,
  .footer-contacts {
    min-width: 100%;
  }

  .footer-bottom {
    text-align: left;
    padding: 0;
  }
  .footer-bottom .container {
    padding: 0;
  }
}
