﻿/*
  Industrilas footer — restyled to match the site design system.
  Reference: industrilos.dw10.dynamicweb-cms.com (DynamicWeb 10 / Swift 2)
  - Typeface: Libre Franklin
  - Body copy: light (300); headings: semibold (600), normal case, no letter-spacing
  - Buttons: fully rounded (pill), brand accent #BEC800
  Dark-gray background kept as requested.
*/

/* Load the site typeface so it also looks right in a standalone preview.
   When embedded in the DW10 site this simply reuses the already-loaded font. */
@import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@300;400;600;700&display=swap");

.il-footer {
  --il-footer-bg: #3f4249;
  --il-footer-text: #f2ffff;
  --il-footer-muted: rgba(242, 255, 255, 0.78);
  --il-footer-border: rgba(242, 255, 255, 0.18);
  --il-footer-accent: #bec800; /* Industrilas brand green */
  --il-footer-max: 2016px; /* matches the site header width; use 1632px to match the content/news area instead */

  background-color: var(--il-footer-bg);
  color: var(--il-footer-text);
  font-family: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  box-sizing: border-box;

  width: 100%;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  display: block;
}

.il-footer *,
.il-footer *::before,
.il-footer *::after {
  box-sizing: inherit;
}

.il-footer__container {
  max-width: var(--il-footer-max);
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

.il-footer__top {
  padding: 128px 0 104px;
}

.il-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.il-footer__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.il-footer__col--promo {
  text-align: right;
  align-items: flex-end;
}

/* Headings — match site: semibold, normal case, no tracking */
.il-footer__heading {
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.3;
  margin: 0 0 8px 0;
  color: var(--il-footer-text);
}

.il-footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.il-footer__text {
  margin: 0;
  color: var(--il-footer-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
}

.il-footer__link {
  color: var(--il-footer-text);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 15px;
  transition: opacity 0.2s ease;
}

.il-footer__link:hover {
  opacity: 0.7;
}

.il-footer__link:focus-visible {
  outline: 2px solid var(--il-footer-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Primary action — white pill button; padding/radius match the site's .btn */
.il-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background-color: #ffffff;
  color: var(--il-footer-bg);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #ffffff;
  border-radius: 800px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  width: fit-content;
}

.il-footer__btn:hover {
  background-color: transparent;
  color: #ffffff;
}

.il-footer__btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.il-footer__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.il-footer__form-row {
  display: flex;
  gap: 8px;
}

.il-footer__label-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.il-footer__input {
  flex: 1;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  border: 2px solid var(--il-footer-border);
  border-radius: 999px;
  background-color: transparent;
  color: var(--il-footer-text);
  transition: border-color 0.2s ease;
}

.il-footer__input::placeholder {
  color: var(--il-footer-muted);
}

.il-footer__input:focus {
  outline: none;
  border-color: var(--il-footer-accent);
}

.il-footer__input:focus-visible {
  outline: 2px solid var(--il-footer-accent);
  outline-offset: 2px;
}

.il-footer__btn--submit {
  flex-shrink: 0;
}

.il-footer__helper {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
  color: var(--il-footer-muted);
  line-height: 1.5;
}

.il-footer__social {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.il-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--il-footer-text);
  border: 2px solid var(--il-footer-border);
  border-radius: 50%;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.il-footer__social-link svg {
  width: 22px;
  height: 22px;
}

.il-footer__social-link svg path,
.il-footer__social-link svg circle,
.il-footer__social-link svg rect {
  stroke: none;
  fill: currentColor;
}

.il-footer__social-link--youtube svg path:first-child {
  fill: currentColor;
}

.il-footer__social-link--youtube svg path:last-child {
  fill: var(--il-footer-bg);
}

.il-footer__social-link:hover {
  border-color: var(--il-footer-accent);
  color: var(--il-footer-accent);
  background-color: rgba(190, 200, 0, 0.08);
}

.il-footer__social-link:focus-visible {
  outline: 2px solid var(--il-footer-accent);
  outline-offset: 2px;
}

/* Promo column label — treated like the other headings (no uppercase) */
.il-footer__promo-label {
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.3;
  color: var(--il-footer-text);
}

.il-footer__promo-text {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  color: var(--il-footer-muted);
  line-height: 1.6;
  max-width: 280px;
}

.il-footer__promo-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--il-footer-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.il-footer__promo-link:hover {
  color: var(--il-footer-accent);
  opacity: 1;
}

.il-footer__promo-link:focus-visible {
  outline: 2px solid var(--il-footer-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.il-footer__promo-icon {
  flex-shrink: 0;
}

.il-footer__divider {
  height: 1px;
  background-color: var(--il-footer-border);
}

.il-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  gap: 24px;
}

.il-footer__copyright {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  color: var(--il-footer-muted);
}

.il-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.il-footer__legal-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--il-footer-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.il-footer__legal-link:hover {
  color: var(--il-footer-text);
}

.il-footer__legal-link:focus-visible {
  outline: 2px solid var(--il-footer-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .il-footer__top {
    padding: 64px 0 48px;
  }

  .il-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .il-footer__col--promo {
    text-align: left;
    align-items: flex-start;
  }
}

/* Mobile: 1 column */
@media (max-width: 640px) {
  .il-footer__top {
    padding: 48px 0 40px;
  }

  .il-footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .il-footer__form-row {
    flex-direction: column;
  }

  .il-footer__btn--submit {
    width: 100%;
  }

  .il-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .il-footer__legal {
    flex-direction: column;
    gap: 12px;
  }
}