/* ===== Footer ===== */
.footer {
  border-top: 1px solid #ddd;
  padding: 50px 60px 30px;
}

.footer-nav ul {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: color .3s ease;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-between;
}

/* Logo + nav column */
.brand-col {
  min-width: 220px;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 35px;
}

.footer-logo {
  width: 170px;
  height: auto;
  display: block;
}

.footer-iso {
  width: 110px;
  height: auto;
  display: block;
}

nav.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

nav.footer-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-dark);
}

nav.footer-nav a.active {
  color: var(--orange);
}

nav.footer-nav a:hover {
  color: var(--orange);
}

/* Offices column */
.offices-col {
  flex: 1 1 320px;
}

.office-block {
  margin-bottom: 28px;
}

.office-block h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-link);
}

.office-block p {
  margin: 0;
  font-size: 14px;
  color: var(--text-gray);
}

.contact-line {
  margin-top: 10px;
}

.contact-line a {
  color: var(--blue-link);
  text-decoration: none;
  font-size: 14px;
}

.phones {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-dark);
}

.social-row {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  /* border:1.5px solid #222; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #222;
  font-size: 16px;
}

.social-row a:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Inquiries column */
.inquiries-col {
  min-width: 220px;
}

.inquiries-col h4 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-link);
}

.inquiries-col p {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text-dark);
}

.quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  cursor: pointer;
  text-decoration: none;
  transition: all .3s ease;
}

.quote-btn:hover {
  background: var(--white);
  border-color: var(--yellow);
}

.quote-btn .btn-arrow {
  display: inline-block;
  transform-origin: center;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}

.quote-btn:hover .btn-arrow {
  transform: rotate(315deg);
}

.subcontract-link {
  display: block;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-dark);
  text-decoration: underline;
}

/* ===== Bottom bar ===== */
.footer-bottom {
  background: var(--navy);
  color: #fff;
  padding: 22px 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.footer-bottom .links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
}

.to-top {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}

@media (max-width:700px) {

  .footer,
  .footer-bottom {
    padding-left: 24px;
    padding-right: 24px;
  }

  .footer-grid {
    gap: 36px;
  }
}

@media (max-width:800px) {
  .hero-text h1 {
    font-size: 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  section {
    padding: 44px 0;
  }

  .primary-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
  }

  .primary-menu.is-open {
    display: flex;
  }
}

@media (max-width:800px) {
  .hero-text h1 {
    font-size: 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  section {
    padding: 44px 0;
  }

  .primary-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
  }

  .primary-menu.is-open {
    display: flex;
  }
}
