/* =========================================================
   FOOTER — Bootstrap 5
   Enqueue en functions.php:
     wp_enqueue_style('ft-fonts', 'https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&family=Exo+2:wght@600;700;800&display=swap');
     wp_enqueue_style('bootstrap-icons', 'https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');
     wp_enqueue_style('theme-footer', get_template_directory_uri().'/assets/css/footer.css', [], '1.1');
   ========================================================= */

   .site-footer {
    --ft-bg:      #1c1c1c;
    --ft-line:    rgba(255,255,255,.12);
    --ft-white:   #ffffff;
    --ft-text:    #c9c9c9;
    --ft-font-h: 'Plus Jakarta Sans', sans-serif;
    --ft-font-b:   'Plus Jakarta Sans', sans-serif;
    
    background: #141414;
    color: var(--ft-text);
    font-family: var(--ft-font-b);
    font-size: 16px;
    padding-top: 86px;
    position: relative;
    background-color: #1b1a14;
    /* background-image: url(../images/footer-bg.webp);*/
    background-position: 100% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
  .site-footer a { color: inherit; text-decoration: none; transition: color .25s ease; }
  .ft-newsletter input {
    padding-right: 150px;          /* deja lugar al botón */
  }
  
  .ft-newsletter button {
    position: absolute;
    top: 6px; right: 6px; bottom: 6px;
    min-width: 130px;
    padding: 0 22px;
    background: #6e6e6e;
    color: #fff;
    border: 1px solid #141414;
    border-radius: 7px;
    font-family: var(--ft-font-h);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .3px;
    transform: none;
    transition: background .25s, border-color .25s;
  }
  .ft-newsletter button:hover {
    background: #111;
    color: #f1f1f1;
    border-color: #111;
  }
  .ft-newsletter button:disabled { opacity: .6; cursor: default; }
  
  /* En pantallas chicas el botón baja abajo del input */
  @media (max-width: 400px) {
    .ft-newsletter input { padding-right: 18px; }
    .ft-newsletter button {
      position: static;
      width: 100%;
      height: 48px;
      margin-top: 10px;
    }
  }
  .site-footer a:hover { color: var(--ft-white); }
 
  /* ---------- Superior ---------- */
  .ft-top { padding-bottom: 50px; }
  
  .ft-top-left  { padding-right: 60px; }
  .ft-top-right { padding-left: 100px; }
  
  @media (min-width: 992px) {
    .ft-top-left { border-right: 1px solid var(--ft-line); }
  }
  
  .ft-logo {
    display: inline-block;
    margin-bottom: 18px;
    line-height: 0;          /* evita espacio extra debajo del SVG */
  }
  
  /* SVG inline o como <img> (incluye the_custom_logo) */
  .ft-logo svg,
  .ft-logo img,
  .ft-logo .custom-logo {
    display: block;
    height: 30px;            /* alto fijo: ajustalo a gusto */
    width: auto;
    max-width: 100%;
  }
  
  /* Si el SVG trae fill negro, lo pasa a blanco */
  .ft-logo svg path,
  .ft-logo svg polygon,
  .ft-logo svg rect {
    fill: #fff;
  }
  .ft-logo-text {
    font-family: var(--ft-font-h);
    font-weight: 800;
    font-size: 2.1rem;
    line-height: 1;
    text-transform: uppercase;
    color: var(--ft-white);
    letter-spacing: .5px;
  }
  
  .ft-text { color: var(--ft-text); line-height: 1.65; margin-bottom: 0; }
  .ft-intro { margin-bottom: 18px; }
  
  /* Newsletter */
  .ft-newsletter {
    position: relative;
    max-width: 90%;
    margin-bottom: 44px;
  }
  .ft-newsletter input {
    width: 100%;
    height: 56px;
    background: transparent;
    border: 1px solid var(--ft-line);
    border-radius: 10px;
    padding: 0 52px 0 18px;
    color: var(--ft-white);
    font-size: 14px;
    outline: none;
    transition: border-color .25s;
  }
  .ft-newsletter input::placeholder { color: #9a9a9a; }
  .ft-newsletter input:focus { border-color: rgba(255,255,255,.4); }
 
  
  /* Logos de marcas (planos, blancos) */
  .ft-brands {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 22px;
    margin: 0;
  }
  .ft-brands img {
    height: 45px;
    width: auto;
     opacity: .9;
    ransition: opacity .25s;
}
  .ft-brands a:hover img { opacity: 1; }
  
  /* Derecha */
  .ft-heading {
    font-family: var(--ft-font-h);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    color: #f8f8f8;
    letter-spacing: 0;
    margin-bottom: 18px;
  }
  .ft-top-right .ft-heading { margin-top: 4px; margin-bottom: 20px; }
  .ft-btn {
    display: inline-block;
    margin: 28px 0 42px;
    padding: 22px 38px;
    background:#eee;
    color: #1c1c1c !important;
    border: 1px solid #eee;
    border-radius: 5px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    transition: background .25s, color .25s;
}
  .ft-btn:hover { background: #111; color: #fff !important;     border: 1px solid #111;
  }
  
  .ft-stats h3 {
    font-family: var(--ft-font-h);
    font-weight: 700;
    font-size: 22px;
    color: var(--ft-white);
    margin-bottom: 6px;
    line-height: 1;
  }
  .ft-stats h3 small { font-size: 13px; font-weight: 600; }
  .ft-stats p { margin: 0; color: var(--ft-text); font-size: 15px; }
  
  /* ---------- Separador ---------- */
  .ft-sep {
    border: 0;
    border-top: 1px solid rgb(56 56 56);
    opacity: 1;
    margin: 0;
}
  
  /* ---------- Columnas ---------- */
  .ft-widgets { padding: 64px 0 44px; }
  .ft-widgets .ft-heading { margin-bottom: 26px; }
  .ft-heading-2 { margin-top: 36px; }
  
  .ft-links { list-style: none; padding: 0; margin: 0; }
  .ft-links li { 
    margin-bottom: 14px; 
    line-height: 1.5; 
  font-size: 13px;

}
  .ft-links a { color: var(--ft-text); }
  
  /* ---------- Barra inferior ---------- */
  .ft-bottom {
    border-top: 1px solid var(--ft-line);
    padding: 20px 0;
    font-size: 12px;
    color: var(--ft-text);
  }
  .ft-legal {
    list-style: none; margin: 0; padding: 0;
    display: flex; align-items: center;
  }
  .ft-legal li + li::before {
    content: "|";
    margin: 0 18px;
    color: var(--ft-text);
  }
  
  /* ---------- Volver arriba ---------- */
  .ft-totop {
    position: fixed; right: 24px; bottom: 24px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--ft-white);
    color: var(--ft-bg) !important;
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: all .3s ease;
    z-index: 999;
  }
  .ft-totop.show { opacity: 1; visibility: visible; transform: none; }
  
  /* ---------- Responsive ---------- */
  @media (max-width: 1199.98px) {
    .ft-top-right { padding-left: 50px; }
  }
  @media (max-width: 991.98px) {
    .ft-top-left  { padding-right: calc(var(--bs-gutter-x) * .5); margin-bottom: 40px; }
    .ft-top-right { padding-left:  calc(var(--bs-gutter-x) * .5); }
    .ft-widgets .col-6 { margin-bottom: 20px; }
  }
  @media (max-width: 575.98px) {
    .ft-stats h3 { font-size: 19px; }
    .ft-stats p  { font-size: 13px; }
    .ft-bottom   { text-align: center; }
  }
/* Títulos de columna con link (servicios) */
.ft-widgets .ft-heading a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}
.ft-widgets .ft-heading a:hover { color: var(--kraft, #D4A27F); }

/* Columnas de servicios repartidas sin título: alinear con la primera */
.ft-widgets .col-lg > .ft-links:first-child { margin-top: calc(1em + 26px + .2rem); }
@media (max-width: 991.98px) {
  .ft-widgets .col-lg > .ft-links:first-child { margin-top: 0; }
}

/* Redes del footer: todo el bloque es un link */
.ft-stat-link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}
.ft-stat-link h3 i { transition: color .2s ease, transform .25s ease; }
.ft-stat-link p    { transition: color .2s ease; }
.ft-stat-link:hover h3 i { color: var(--kraft, #D4A27F); transform: translateY(-2px); }
.ft-stat-link:hover p    { color: var(--kraft, #D4A27F); }
.ft-stat-link:focus-visible { outline: 2px solid var(--kraft, #D4A27F); outline-offset: 4px; }
