/* Cabecera y pie comunes, sincronizados con layout.js del diseño original. */
#nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  height: var(--nav-h);
  transition: background .35s, box-shadow .35s;
}

#nav.solid {
  background: rgba(253, 250, 244, .97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-light), 0 4px 32px rgba(0, 0, 0, .06);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-wrap {
  width: 218px;
  height: 59px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  border-radius: 20px 0;
  background: #fff;
}

.nav-logo-wrap img {
  width: 207px;
  height: 60px;
  display: block;
  border-radius: 103px 0 0;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  padding-bottom: 3px;
  color: rgba(255, 255, 255, .9);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  transition: color .2s;
}

#nav.solid .nav-links a {
  color: var(--dark);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width .3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold) !important;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links .nav-cta {
  padding: 10px 22px;
  background: var(--gold);
  color: var(--black) !important;
}

.nav-links .nav-cta::after {
  display: none !important;
}

.nav-links .nav-cta:hover {
  background: var(--gold-dark) !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px 2px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: all .3s;
}

#nav.solid .nav-burger span {
  background: var(--dark);
}

.nav-drawer {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 850;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: rgba(253, 250, 244, .98);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.nav-drawer.open {
  opacity: 1;
  pointer-events: all;
}

.nav-drawer a {
  color: var(--dark);
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
}

.nav-drawer a.active,
.nav-drawer a:hover {
  color: var(--gold);
}

footer {
  padding-top: 68px;
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer-brand .plate {
  display: inline-block;
  padding: 11px 15px;
  margin-bottom: 22px;
  border-radius: 4px;
  background: #fff;
}

.footer-brand .plate img {
  width: auto;
  height: 64px;
  display: block;
}

.footer-brand p {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, .35);
  font-size: .855rem;
  line-height: 1.78;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .45);
  transition: border-color .2s, color .2s;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col h4 {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .28);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col ul a {
  color: rgba(255, 255, 255, .45);
  font-size: .875rem;
  transition: color .2s;
}

.footer-col ul a:hover,
.footer-col address a:hover,
.footer-bottom a:hover {
  color: var(--gold);
}

.footer-col address {
  color: rgba(255, 255, 255, .45);
  font-size: .875rem;
  font-style: normal;
  line-height: 1.85;
}

.footer-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 72px;
  padding: 44px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.fp-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fp-label {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.fp-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.fp-plate {
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 6px;
  background: #fff;
  cursor: zoom-in;
  transition: transform .25s, box-shadow .25s;
}

.fp-plate:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
}

.fp-plate img {
  width: auto;
  height: 100%;
  max-width: 158px;
  display: block;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}

.footer-bottom p {
  color: rgba(255, 255, 255, .3);
  font-size: .79rem;
}

.eu-note {
  color: rgba(255, 255, 255, .2);
  font-size: .75rem;
  line-height: 1.5;
  text-align: right;
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .eu-note {
    text-align: center;
  }
}
