/* ===== Footer ICCAT full-width degradado negro → azul ===== */
.footer-iccat-full {
  --iccat-blue: #0b3d6b;
  --iccat-accent: #4fb0ff;
  --iccat-text: #e8eef4;
  --iccat-muted: #9aa7b4;
  --iccat-radius: 14px;
  --map-min-h: 300px;        /* altura de referencia común */

  width: 100%;
  color: var(--iccat-text);

  background: linear-gradient(
    135deg,
    #050505 0%,
    #0a0a0a 25%,
    #0b1d33 55%,
    #0b3d6b 100%
  );

  border-top: 4px solid var(--iccat-blue);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;

  position: relative;
  overflow: hidden;
}

.footer-iccat-full::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(79, 176, 255, .22), transparent 70%);
  pointer-events: none;
}

/* Contenedor interior */
.footer-iccat {
  padding: 3.5rem 1.25rem 3rem;
  position: relative;
  z-index: 1;
}

/* ===== Bloque marca: título arriba + logo centrado ===== */
.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  width: 100%;
  min-height: var(--map-min-h);
}

.footer-brand {
  font-weight: 800;
  letter-spacing: .05em;
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.footer-logo-wrap {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}

.footer-logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: calc(var(--map-min-h) - 70px);
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  display: block;
}

/* ===== Línea sutil entre columnas ===== */
.footer-col-divider { position: relative; }

.footer-col-divider::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 0;
  width: 1px;
  height: 80%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(79, 176, 255, .35),
    transparent
  );
  pointer-events: none;
}

.footer-map-col { position: relative; }

.footer-map-col::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 0;
  width: 1px;
  height: 84%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(79, 176, 255, .35),
    transparent
  );
  pointer-events: none;
}

/* ===== Contacto alineado verticalmente con logo y mapa ===== */
.footer-block { padding: .5rem 0; }

.footer-contact-block {
  height: 100%;
  min-height: var(--map-min-h);
  display: flex;
  align-items: center;         /* centra el bloque de contacto en la misma altura */
  justify-content: flex-start;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .75rem 0;
  font-size: 1.4rem;
  line-height: 1.45;
  color: var(--iccat-text);
}

/* Dirección más grande */
.footer-address {
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.4;
}

.footer-list i {
  color: var(--iccat-accent);
  width: 1.6rem;
  text-align: center;
  margin-top: .25rem;
  font-size: 1.3rem;
}

.footer-list a {
  color: var(--iccat-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.footer-list a:hover {
  color: var(--iccat-accent);
  border-color: var(--iccat-accent);
}

/* Mapa */
.footer-map {
  height: 100%;
  min-height: var(--map-min-h);
  border-radius: var(--iccat-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
  background: #121212;
  border: 1px solid rgba(255, 255, 255, .08);
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: var(--map-min-h);
}

/* Botón subir */
.footer-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
}

.up {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(79, 176, 255, .12);
  color: var(--iccat-accent);
  border: 1px solid rgba(79, 176, 255, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  transition: background .25s ease, color .25s ease,
              transform .25s ease, box-shadow .25s ease,
              border-color .25s ease;
}

.up:hover {
  background: var(--iccat-accent);
  color: #0a0a0a;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(79, 176, 255, .45);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .footer-col-divider::after,
  .footer-map-col::before { display: none; }

  .footer-brand-block,
  .footer-contact-block { min-height: 0; }

  .footer-logo-wrap { justify-content: flex-start; }
  .footer-logo { max-height: 220px; }
  .footer-map { min-height: 250px; margin-top: .5rem; }
}

@media (max-width: 575px) {
  .footer-iccat { padding: 2.5rem 1rem 2rem; }
  .footer-brand { font-size: 1.2rem; }
  .footer-list li { font-size: 1.15rem; }
  .footer-address { font-size: 1.25rem; }
  .footer-list i { font-size: 1.1rem; }
  .footer-logo { max-height: 180px; }
  .up { width: 40px; height: 40px; }
}