/* ── Site Header ─────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 32px;
  min-height: 68px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  position: relative;
  z-index: 200;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 10px 0;
  margin-right: auto;
}

.site-header__logo img {
  height: 48px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
}

.site-header__toggle-input { display: none; }

.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 0;
}

.site-header__nav a {
  color: #0075b2;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  white-space: nowrap;
}

.site-header__nav a:hover { color: #005a8a; }

/* ── Site Footer ─────────────────────────────────────────── */
.site-footer {
  background-color: rgb(71, 71, 71);
  background-image: url('/assets/hosted/Maqueta-Daniel-Marcos-2-04.png');
  background-size: cover;
  background-position: center top;
  padding: 40px 32px 24px;
  color: #fff;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 860px;
  margin: 0 auto 32px;
  flex-wrap: wrap;
}

.site-footer__col { min-width: 140px; }

.site-footer__col--logo {
  display: flex;
  align-items: flex-start;
}

.site-footer__col--logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.site-footer__heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #bbb;
  margin: 0 0 12px;
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__col li { margin-bottom: 9px; }

.site-footer__col a {
  color: #ccc;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
}

.site-footer__col a:hover { color: #fff; }

.site-footer__social {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin: 0 auto 16px;
  max-width: 860px;
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.15s;
}

.site-footer__social a:hover { background: rgba(255,255,255,0.28); color: #fff; }

.site-footer__bottom {
  text-align: center;
  color: #999;
  font-size: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.site-footer__bottom a { color: #999; text-decoration: none; margin: 0 8px; }
.site-footer__bottom a:hover { color: #ccc; }
.site-footer__bottom p { margin: 6px 0 0; }

/* ── Mobile (≤ 768px) ─────────────────────────────────────── */
@media (max-width: 768px) {
  .site-header { padding: 0 16px; }

  .site-header__logo { margin-right: 0; padding: 10px 0; }
  .site-header__logo img { height: 36px !important; }

  .site-header__toggle {
    display: flex;
    margin-left: auto;
  }

  .site-header__nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 0 8px;
  }

  .site-header__nav a {
    width: 100%;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    font-size: 14px;
  }

  .site-header__toggle-input:checked ~ .site-header__nav { display: flex; }

  .site-header__toggle-input:checked + .site-header__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .site-header__toggle-input:checked + .site-header__toggle span:nth-child(2) {
    opacity: 0;
  }
  .site-header__toggle-input:checked + .site-header__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-footer { padding: 32px 16px 20px; }

  /* ── CF company logo sections ───────────────────────────── */
  /* Normalize logo heights: override lander.css height:auto + max-width:100% */
  [data-hide-on="mobile"] .elImageWrapper.elAlign_center .elIMG {
    height: 40px !important;
    width: auto !important;
    max-width: none !important;
    display: block;
    margin: 0 auto;
  }

  /* Reset desktop vertical-alignment margin CF embeds inline */
  [data-hide-on="mobile"] .elImageWrapper.elAlign_center {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Make mobile CF rows flex so logos display in a row, not stacked */
  [data-hide-on="mobile"] .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Logo columns: shrink to their content width */
  [data-hide-on="mobile"] .col-md-2,
  [data-hide-on="mobile"] .col-md-3 {
    width: auto !important;
    flex: 0 0 auto !important;
    padding: 8px 16px !important;
  }

  /* Full-width columns (titles, CTAs): keep 100% */
  [data-hide-on="mobile"] .col-md-12 {
    width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 10px !important;
  }

  .site-footer__inner {
    flex-direction: column;
    gap: 24px;
  }

  .site-footer__col--logo { justify-content: center; }
}
