/* =========================================================
   MVV – Header & Footer (Site Chrome)
   ✅ Prefijo anti-choque: mvvsc-
   ✅ CSS Vars anti-choque: --mvvsc-*
   ========================================================= */

.mvvsc{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color: var(--mvvsc-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mvvsc a{ color: inherit; }

/* ===========================
   Header (más elegante)
   =========================== */
.mvvsc--header{
  background:
    radial-gradient(1000px 420px at 18% -30%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0)),
    var(--mvvsc-bg);
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  z-index: 9998;
}

.mvvsc--header.is-sticky{
  position: sticky;
  top: 0;
}

.mvvsc__inner{
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.mvvsc--header .mvvsc__inner{
  position: relative; /* ancla del nav mobile */
  min-height: 72px;
}

.mvvsc__brand{
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: var(--mvvsc-text);
  line-height: 0; /* ✅ para que el logo “abarque” sin padding visual */
}

/* ✅ Logo GRANDE y sin padding */
.mvvsc__logo{
  width: clamp(58px, 5vw, 78px);
  height: clamp(58px, 5vw, 78px);
  object-fit: contain;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 14px;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.45));
}

.mvvsc__logo--sm{
  width: 74px;   /* ✅ footer sutil más grande */
  height: 74px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

.mvvsc__text{
  font-weight: 900;
  letter-spacing: .2px;
}

.mvvsc__nav{
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mvvsc__link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--mvvsc-text);
  border: 1px solid transparent;
  background: transparent;
  transition: transform .14s ease, background .14s ease, border-color .14s ease, color .14s ease, box-shadow .14s ease;
}

.mvvsc__link:hover{
  color: var(--mvvsc-hover);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  transform: translateY(-1px);
}

.mvvsc__link.is-cta{
  background:
    linear-gradient(180deg, rgba(255,204,51,.18), rgba(255,204,51,.06));
  border-color: rgba(255,204,51,.26);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

.mvvsc__link.is-cta:hover{
  color: #fff;
  border-color: rgba(255,204,51,.40);
  background:
    linear-gradient(180deg, rgba(255,204,51,.25), rgba(255,204,51,.10));
  box-shadow: 0 14px 32px rgba(0,0,0,.34);
}

/* Burger */
.mvvsc__burger{
  display: none;
  justify-self: end;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.mvvsc__burger:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

.mvvsc__burger span{
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--mvvsc-text);
  transition: transform .18s ease, opacity .18s ease, top .18s ease;
}
.mvvsc__burger span:nth-child(1){ top: 15px; }
.mvvsc__burger span:nth-child(2){ top: 22px; }
.mvvsc__burger span:nth-child(3){ top: 29px; }

.mvvsc__burger[aria-expanded="true"] span:nth-child(1){ top: 22px; transform: rotate(45deg); }
.mvvsc__burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.mvvsc__burger[aria-expanded="true"] span:nth-child(3){ top: 22px; transform: rotate(-45deg); }

/* ===========================
   Footer (más pro)
   =========================== */
.mvvsc--footer{
  margin-top: 34px;
  background:
    radial-gradient(900px 360px at 80% -20%, rgba(255,255,255,.06), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)),
    var(--mvvsc-bg);
  border-top: 1px solid rgba(255,255,255,.10);
}

.mvvsc--footer .mvvsc__inner{
  padding: 26px 20px;
}

.mvvsc__footer-grid{
  grid-template-columns: 1.2fr 1.4fr auto;
  align-items: start;
  gap: 26px;
}

.mvvsc-foot-col{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mvvsc-foot-title{
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,.88);
  margin-bottom: 4px;
}

.mvvsc--footer .mvvsc__link{
  padding: 6px 0;
  border-radius: 10px;
  border: 0;
  background: transparent;
  font-weight: 750;
  justify-content: flex-start;
  transform: none;
  opacity: .92;
}

.mvvsc--footer .mvvsc__link:hover{
  opacity: 1;
  color: var(--mvvsc-hover);
  background: transparent;
  border: 0;
  transform: none;
}

/* Contact items (WhatsApp + Email) */
.mvvsc-foot-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mvvsc-foot-item{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
}

.mvvsc-foot-item:hover{
  transform: translateY(-1px);
  border-color: rgba(255,204,51,.30);
  background: rgba(255,255,255,.07);
}

.mvvsc-foot-ico{
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .95;
}

.mvvsc-foot-ico svg{ width: 18px; height: 18px; display: block; }

.mvvsc-foot-text{
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mvvsc-foot-k{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}

.mvvsc-foot-v{
  font-size: 14px;
  font-weight: 850;
  color: rgba(255,255,255,.96);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mvvsc-foot-muted{
  color: var(--mvvsc-muted);
  font-size: 13px;
}

/* Brand col */
.mvvsc-foot-brand{
  align-items: flex-end;
  gap: 10px;
}

.mvvsc-foot-logoBox{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.mvvsc-foot-copy{
  color: var(--mvvsc-muted);
  font-size: 12px;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 860px){
  .mvvsc__burger{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mvvsc__nav{
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
      var(--mvvsc-bg);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 18px 45px rgba(0,0,0,.45);
    backdrop-filter: blur(10px);
    z-index: 9999;
  }
  .mvvsc__nav.is-open{ display: flex; }

  .mvvsc__link{
    width: 100%;
    justify-content: flex-start;
    padding: 12px 12px;
  }

  .mvvsc__footer-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mvvsc-foot-brand{
    align-items: flex-start;
  }
}

@media (max-width: 420px){
  .mvvsc--header .mvvsc__inner{
    min-height: 66px;
    padding: 9px 14px;
  }
  .mvvsc__logo{
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }
  .mvvsc__burger{
    width: 44px;
    height: 44px;
  }
}
