/* ============================================
   FOOTER REDESIGN v3 - armariosdecultivo.com
   ============================================ */
.footer-newsletter, .footer-main { font-family: inherit; }
.footer-main *, .footer-newsletter * { box-sizing: border-box; }

/* ---- HIDE OLD PS FOOTER ---- */
.pre-footer { display: none !important; }
body .footer-container { display: none !important; }

/* ---- NEWSLETTER ---- */
.footer-newsletter {
  background: none !important;
  padding: 0 !important;
  border: none !important;
}

.footer-newsletter .block_newsletter {
  background: linear-gradient(160deg, #0c1a20 0%, #122d38 40%, #1b627a 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 55px 20px 45px;
}
.footer-newsletter .block_newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.footer-newsletter .block_newsletter::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(27,98,122,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.footer-newsletter .title_newsletter {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin-bottom: 6px !important;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}
.footer-newsletter .form_newsletter {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.footer-newsletter .dataform_newsletter {
  max-width: 520px;
  margin: 0 auto;
}
.footer-newsletter .input-wrapper {
  display: flex;
  max-width: 520px;
  margin: 18px auto 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  border-radius: 10px;
  overflow: hidden;
  align-items: stretch;
}
.footer-newsletter .input-wrapper input[type="email"] {
  flex: 1;
  min-width: 0;
  border: none !important;
  padding: 16px 22px !important;
  font-size: 16px !important;
  background: #fff !important;
  color: #333 !important;
  outline: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  height: auto !important;
}
.footer-newsletter .input-wrapper input[type="email"]::placeholder { color: #aaa; }
.footer-newsletter .input-wrapper input[type="submit"] {
  border: none !important;
  padding: 16px 32px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  background: #f39d72 !important;
  color: #fff !important;
  cursor: pointer;
  transition: background 0.25s;
  text-transform: none !important;
  letter-spacing: 0.3px !important;
  white-space: nowrap;
  border-radius: 0 !important;
  margin: 0 !important;
  height: auto !important;
  min-width: 140px;
  flex-shrink: 0;
}
.footer-newsletter .input-wrapper input[type="submit"]:hover { background: #e08a5f !important; }
.footer-newsletter .input-wrapper input[type="submit"][disabled] {
  background: #f39d72 !important;
  opacity: 0.55;
  cursor: not-allowed;
}
.footer-newsletter .input-wrapper input[type="submit"]:not([disabled]) {
  opacity: 1;
}
.footer-newsletter .msg_newsletter {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  z-index: 1;
}
.footer-newsletter .msg_newsletter p {
  font-size: 12px !important;
  color: rgba(255,255,255,0.35) !important;
  margin: 12px 0 0 !important;
  line-height: 1.5;
}
.footer-newsletter .gdpr_consent { margin-top: 8px !important; }
.footer-newsletter .psgdpr_consent_message {
  font-size: 13px !important;
  color: rgba(255,255,255,0.5) !important;
}
.footer-newsletter .psgdpr_consent_message a {
  color: rgba(255,255,255,0.7) !important;
  text-decoration: underline;
}
.footer-newsletter .psgdpr_consent_message a:hover { color: #fff !important; }
.footer-newsletter .psgdpr_consent_icon {
  color: rgba(255,255,255,0.5) !important;
  font-size: 18px !important;
}
.footer-newsletter .custom-checkbox input[type="checkbox"] + span .checkbox-checked {
  color: #f39d72 !important;
}
.footer-newsletter .clearfix { display: none !important; }

/* ---- REASSURANCE (separate block, white bg) ---- */
.footer-newsletter .blockreassurance {
  background: #fff !important;
  padding: 35px 15px 28px !important;
  margin: 0 !important;
  text-align: center;
}
.blockreassurance .block-icon img {
  width: 48px !important;
  height: 48px !important;
  opacity: 0.85;
  transition: transform 0.3s;
}
.blockreassurance .col-md-3:hover .block-icon img { transform: translateY(-3px); }
.blockreassurance .block-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #333 !important;
  margin-top: 12px;
}
.blockreassurance p[style] { display: none !important; }
.blockreassurance .row + .row { display: none !important; }

/* ---- FOOTER MAIN ---- */
.footer-main {
  background: #0c1a20;
  padding: 55px 0 0;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.7;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-heading {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid #1b627a;
  display: inline-block;
}

/* Brand column */
.footer-logo-wrap {
  background: #fff;
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.footer-logo {
  display: block;
  max-width: 170px;
  height: auto;
}
.footer-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 22px;
}

/* Social icons */
.footer-social { display: flex; gap: 10px; }
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(27,98,122,0.25);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.social-icon:hover { background: #1b627a; transform: translateY(-2px); }
.social-icon svg { pointer-events: none; }

/* Links */
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a,
.footer-links li span[role="link"] {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s, padding-left 0.2s;
  cursor: pointer;
  display: inline-block;
}
.footer-links li a:hover,
.footer-links li span[role="link"]:hover { color: #fff; padding-left: 3px; }

/* Contact */
.footer-contact-items { display: flex; flex-direction: column; gap: 18px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 14px; }
.footer-contact-item svg { flex-shrink: 0; color: #1b627a; stroke: #1b627a; margin-top: 3px; }
.footer-contact-label {
  display: block; font-size: 12px; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 2px;
}
.footer-contact-value {
  display: block; color: #fff; font-size: 16px; font-weight: 600;
  cursor: pointer; transition: color 0.2s;
}
.footer-contact-value:hover { color: #1b627a; }
.footer-contact-value.footer-static {
  color: rgba(255,255,255,0.55); font-weight: 400; font-size: 15px; cursor: default;
}
.footer-contact-value.footer-static:hover { color: rgba(255,255,255,0.55); }

/* Bottom bar */
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 45px; padding: 25px 0; border-top: 1px solid rgba(255,255,255,0.08);
  gap: 30px; flex-wrap: wrap;
}
.footer-legal-text { font-size: 13px; color: rgba(255,255,255,0.3); line-height: 1.6; margin: 0 0 6px; }
.footer-copyright { font-size: 14px; color: rgba(255,255,255,0.4); margin: 0; }
.footer-payments { display: flex; gap: 10px; align-items: center; }
.footer-payments svg { opacity: 0.7; transition: opacity 0.25s; }
.footer-payments svg:hover { opacity: 1; }

/* ---- MOBILE ---- */
@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
}
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-brand { text-align: center; }
  .footer-logo-wrap { margin: 0 auto 20px; }
  .footer-social { justify-content: center; }
  .footer-heading { display: block; text-align: center; }
  .footer-links { text-align: center; }
  .footer-contact-items { align-items: center; }
  .footer-contact-item { text-align: left; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 20px; }
  .footer-payments { justify-content: center; }
  .footer-newsletter .input-wrapper {
    flex-direction: column;
    border-radius: 10px;
  }
  .footer-newsletter .input-wrapper input[type="email"] {
    border-bottom: 1px solid #eee !important;
  }
}
