/* =========================================================
   TERSA FOOTER
   File: assets/css/footer.css
   ========================================================= */

   .site-footer {
    background:
      radial-gradient(circle at top center, rgba(255, 255, 255, 0.04), transparent 45%),
      linear-gradient(180deg, #191b1f 0%, #14161a 100%);
    color: rgba(255, 255, 255, 0.78);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
   /* margin-top: 40px; */
  }
  
  .site-footer a {
    color: inherit;
  }
  
  .site-footer a:hover {
    color: #ffffff;
  }
  
  .site-footer__main {
    padding: clamp(36px, 8vw, 66px) 0 clamp(40px, 6vw, 72px);
  }
  
  .site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
    justify-items: center;
  }
  
  .site-footer__logo-wrap {
    margin-bottom: 24px;
  }
  
  .site-footer__logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
  }
  
  .site-footer__logo-image,
  .site-footer .custom-logo {
    display: block;
    filter:brightness(1.35) contrast(1.1);
  }
  
  .site-footer__logo-text {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1;
    color: #ffffff;
  }
  
  .site-footer__heading {
    margin: 0 0 22px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
  }
  
  .site-footer__company {
    margin: 0;
    font-style: normal;
    display: grid;
    gap: 12px;
  }
  
  .site-footer__company-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
  }
  
  .site-footer__company p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
  }

  .site-footer__company-address {
    color: rgba(255, 255, 255, 0.76);
  }

  .site-footer__company-address > * {
    margin: 0;
  }
  
  .site-footer__company a {
    color: #ffffff;
    font-weight: 600;
  }
  
  .site-footer__label {
    color: rgba(255, 255, 255, 0.76);
    margin-right: 6px;
  }
  
  .site-footer__menu,
  .site-footer__legal-menu {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .site-footer__menu {
    display: grid;
    gap: 14px;
  }
  
  .site-footer__menu li {
    margin: 0;
  }
  
  .site-footer__menu a {
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
  }
  
  .site-footer__menu a:hover {
    color: #ffffff;
  }
  
  .site-footer__newsletter-text {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 42ch;
  }
  

  /* CF7 newsletter fix */
.site-footer .wpcf7 {
  width: 100%;
}

.site-footer .wpcf7 form {
  margin: 0;
}

.site-footer .wpcf7 form > p {
  margin: 0;
}

.site-footer .site-footer__newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
  width: 100%;
  align-items: stretch;
}

.site-footer .site-footer__newsletter-form .wpcf7-form-control-wrap {
  display: block;
  min-width: 0;
}

.site-footer input.site-footer__newsletter-input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  height: 56px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-right: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 0 18px;
  box-shadow: none;
  outline: none;
}

.site-footer input.site-footer__newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.58);
  opacity: 1;
}

.site-footer input.site-footer__newsletter-input:focus {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}

.site-footer input.site-footer__newsletter-button,
.site-footer button.site-footer__newsletter-button,
.site-footer .site-footer__newsletter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  height: 56px;
  margin: 0;
  padding: 0 28px;
  border: 1px solid #ffffff;
  border-radius: 0;
  background: #ffffff;
  color: #111111;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base);
}

.site-footer input.site-footer__newsletter-button:hover,
.site-footer button.site-footer__newsletter-button:hover,
.site-footer .site-footer__newsletter-button:hover {
  background: transparent;
  color: #ffffff;
}
  
  .site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .site-footer__bottom-inner {
    min-height: 82px;
    padding: 18px 0;
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(0, auto) minmax(150px, 1fr);
    gap: 24px;
    align-items: center;
    justify-items: stretch;
  }
  
  .site-footer__legal-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
  }
  
  .site-footer__legal-menu a {
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
  }
  
  .site-footer__legal-menu a:hover {
    color: #ffffff;
  }
  
  .site-footer__copyright {
    margin: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.62);
  }

  .site-footer__bottom-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
  }

  .site-footer__bottom-center {
    justify-self: center;
    text-align: center;
    min-width: 0;
  }
  
  /* BOTTOM ROW — CorvusPay lijevo, copyright u sredini, kartice desno */
  .site-footer__bottom-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-self: start;
    min-width: 0;
  }

  /* IMPRESSUM (HR ZTD čl. 21, ZET čl. 6 — obavezno na svakoj stranici) */
  .site-footer__impressum {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .site-footer__impressum-line {
    margin: 0 0 1px;
    font-style: normal;
  }

  .site-footer__impressum-line:last-child {
    margin-bottom: 0;
  }

  .site-footer__impressum-line strong {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
  }

  /* PAYMENTS (logotipi kartica + CorvusPay) */

  .site-footer__payments-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    min-width: 0;
  }

  .site-footer__payments-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
  }

  /**
   * Bijeli "rack" — pozadine logotipa kartica se ne smiju mijenjati po brand standardima v3.4.
   * Maestro/Visa/Diners/Discover imaju tamne komponente koje na tamnoj pozadini ne bi imale
   * dovoljan kontrast, pa zadržavamo bijeli rack (preporučeno u brand kit-u).
   */
  .site-footer__payments-rack,
  .site-footer__security-rack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 6px 10px;
    list-style: none;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    align-items: center;
  }

  /* Kartice — 72×35 px (usklađeno s checkout blokom) */
  .site-footer__payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    width: 72px;
    height: 35px;
    flex-shrink: 0;
  }

  /* Sigurnosni logotipi — šire ćelije (Diners sigurna kupnja je horizontalan) */
  .site-footer__payment-badge--security {
    width: 100px;
    height: 35px;
  }

  .site-footer__payment-badge a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2px;
    border-radius: 4px;
    transition: background-color var(--transition-fast, 0.15s ease);
  }

  .site-footer__payment-badge a:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  .site-footer__payment-icon {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* CorvusPay logo — negativ verzija na tamnoj pozadini footera */
  .site-footer__corvuspay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    transition: opacity var(--transition-fast, 0.15s ease);
  }

  .site-footer__corvuspay:hover {
    opacity: 0.85;
  }

  .site-footer__corvuspay-icon {
    display: block;
    height: 100%;
    width: auto;
  }

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

  /* Media queries */
  
  @media (max-width: 1100px) {
    .site-footer__grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (max-width: 950px) {
    
    .site-footer__main {
      padding: clamp(12px, 8vw, 32px) 0 clamp(24px, 6vw, 48px);
    }
    
    .site-footer__grid {
      grid-template-columns: 1fr;
      justify-items: stretch;
    }

    .site-footer__brand-col,
    .site-footer__nav-col,
    .site-footer__newsletter-col {
      width: 100%;
      text-align: left;
    }

    .site-footer__menu {
      justify-items: start;
      text-align: left;
    }

    .site-footer__bottom-inner {
      grid-template-columns: 1fr;
      justify-items: center;
      gap: 18px;
      padding: 20px 0 24px;
    }

    .site-footer__bottom-brand,
    .site-footer__bottom-center {
      justify-content: center;
      justify-self: center;
      text-align: center;
    }

    .site-footer__payments-wrap {
      justify-content: center;
      justify-self: center;
    }

    .site-footer__payments-row {
      justify-content: center;
    }

    .site-footer__impressum {
      text-align: center;
      font-size: 0.7rem;
    }

    .site-footer .site-footer__newsletter-form {
      grid-template-columns: 1fr;
      gap: 12px;
    }
  
    .site-footer input.site-footer__newsletter-input {
      border-right: 1px solid rgba(255, 255, 255, 0.10);
    }
  
    .site-footer input.site-footer__newsletter-button,
    .site-footer button.site-footer__newsletter-button,
    .site-footer .site-footer__newsletter-button {
      width: 100%;
    }
   
  }

  input[type="email"]{
    border-radius: 0;
  }
  
  

