/* assets/css/home.css (COMPLETO) */

body { overflow-x: hidden; }
.movador-home { padding-bottom: 40px; }

/* Full width sin padding en home/front */
.home,
.front-page{
  --wp--style--root--padding-left: 0px !important;
  --wp--style--root--padding-right: 0px !important;
}
.home .wp-site-blocks,
.front-page .wp-site-blocks{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Pegar slider al header */
.home .wp-site-blocks > header + .mv-hero-full,
.front-page .wp-site-blocks > header + .mv-hero-full,
.home .wp-site-blocks > .wp-block-template-part + .mv-hero-full,
.front-page .wp-site-blocks > .wp-block-template-part + .mv-hero-full{
  margin-block-start: 0 !important;
}

/* Quita padding/max-width de alignfull wrapper */
.mv-hero-full.alignfull { margin: 0 !important; padding: 0 !important; }
.mv-hero-full.alignfull .wp-block-group__inner-container{
  max-width: none !important;
  padding: 0 !important;
}

/* Slider full-bleed */
.mv-slider-full{
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc((100% - 100vw) / 2) !important;
  margin-right: calc((100% - 100vw) / 2) !important;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  background: #fff;
}

/* Track/Slides */
.mv-slider-viewport{ overflow:hidden; }
.mv-slider-track{
  display:flex;
  flex-wrap:nowrap;
  width:100%;
  will-change: transform;
  transition: transform 420ms ease;
}
.mv-slide{
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  position: relative;
  height: 300px;
  overflow: hidden;
  cursor: pointer;
}

/* Fondos */
.mv-slide-bg{
  position:absolute;
  inset:0;
  z-index:0;
}
.mv-bg-navy{
  background:
    radial-gradient(1200px 500px at 30% 40%, rgba(79,168,255,.20), transparent 60%),
    linear-gradient(90deg, #0a1630 0%, #0b1f3c 55%, #071427 100%);
}
.mv-bg-blue{
  background:
    radial-gradient(900px 500px at 35% 40%, rgba(0,255,255,.12), transparent 60%),
    linear-gradient(90deg, #06204a 0%, #073a72 55%, #051a33 100%);
}
.mv-bg-dark{
  background:
    radial-gradient(900px 500px at 35% 40%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(90deg, #0a0f1a 0%, #0b1626 55%, #070d16 100%);
}

/* Layout interior */
.mv-slide-inner{
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  padding: 0 clamp(18px, 3vw, 52px);
}

.mv-kicker{
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 10px;
}

.mv-headline{
  margin: 0;
  color: #fff;
  font-weight: 800;
  line-height: 1.02;
  font-size: clamp(30px, 3.5vw, 58px);
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

.mv-subtitle{
  margin: 10px 0 0 0;
  color: rgba(255,255,255,0.86);
  font-size: clamp(14px, 1.35vw, 18px);
  max-width: 46ch;
}

.mv-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: #06162e;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}
.mv-cta:hover{ opacity: 0.95; }

/* Columna derecha (general) */
.mv-slide-right{
  display:flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

/* Feature cards (se mantienen porque Slide 3 los usa) */
.mv-feature-grid{
  width: min(520px, 100%);
  display: grid;
  gap: 12px;
}
.mv-feature-card{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  padding: 14px 14px;
  backdrop-filter: none !important;
  filter: none !important;
}
.mv-feature-title{
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}
.mv-feature-sub{
  margin-top: 4px;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}

/* Chips */
.mv-chip-row{
  width: min(520px, 100%);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.mv-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #06162e;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
}
.mv-chip:hover{ opacity: 0.95; }

/* Flechas */
.mv-slider-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  color: #ffffff;
  font-size: 46px;
  line-height: 1;
  cursor: pointer;
  z-index: 40;
  user-select: none;
  display: grid;
  place-items: center;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}
.mv-slider-prev{ left: 12px; }
.mv-slider-next{ right: 12px; }
.mv-slider-btn:hover{ opacity: 0.9; }

/* Dots */
.mv-slider-dots{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:14px;
  display:flex;
  gap:9px;
  z-index:40;
}
.mv-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:0;
  background:rgba(255,255,255,0.55);
  cursor:pointer;
  padding:0;
}
.mv-dot.is-active{ background:rgba(255,255,255,0.95); }

/* Cards debajo del slider */
.mv-cards-row{
  margin-top: 18px;
  position: relative;
  z-index: 5;
}
.mv-cards-grid{ gap: 18px; }
.mv-card{
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.10);
}
.mv-card-title{ margin: 0 0 10px; font-size: 18px; }
.mv-card-img img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:14px;
  display:block;
}
.mv-card-link{ margin: 10px 0 0; }
.mv-card-link a{ text-decoration:none; font-weight:700; }

/* Sections */
.mv-section{ margin-top: 28px; }
.mv-section-head{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.mv-section-title{ margin:0; font-size:22px; }
.mv-section-link{ margin:0; }

/* ==========================================================
   Slide 1 only
   ========================================================== */
.mv-slide-1 .mv-slide-bg{ background: none; }

.mv-slide-1 .mv-slide-fade-bottom{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,0.06) 55%,
    rgba(255,255,255,0.16) 70%,
    rgba(255,255,255,0.38) 82%,
    rgba(255,255,255,0.70) 93%,
    #ffffff 100%
  );
}

.mv-slide-1 .mv-slide-inner{ padding-block: 0; }

.mv-slide-1-left{ min-height: 1px; }

/* AQUÍ EL CAMBIO: más padding-right => el bloque se va más a la izquierda */
.mv-slide-1-right{
  display:flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  padding-right: clamp(46px, 5vw, 140px);
}

.mv-hero1-headline{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin: 0;
  line-height: 1;
  max-width: 520px;
}

.mv-hero1-logo-wrap{
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  line-height: 1;
}

.mv-hero1-logo{
  height: clamp(26px, 3.1vw, 44px);
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,0.35));
}

.mv-hero1-tagline{
  display: inline-block;
  font-size: clamp(22px, 2.25vw, 40px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

.mv-slide-1 .mv-slide-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: url("../img/slide1-door-box.webp");
  background-size: cover;
  background-position: 50% 55%;
  background-repeat: no-repeat;
  filter: blur(1.2px) saturate(.95) contrast(.95);
  transform: scale(1.03);
  opacity: 1;
  pointer-events: none;
}

.mv-slide-1 .mv-slide-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(1200px 500px at 30% 40%, rgba(79,168,255,.20), transparent 60%),
    linear-gradient(90deg, rgba(10,22,48,.92) 0%, rgba(11,31,60,.86) 55%, rgba(7,20,39,.92) 100%);
  pointer-events: none;
  opacity: .92;
}

/* Responsive */
@media (max-width: 900px){
  .mv-slide{ height: 260px; }
  .mv-slide-inner{ grid-template-columns: 1fr; gap: 14px; }
  .mv-slide-right{ justify-content: flex-start; }

  .mv-slide-1-right{
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 18px;
  }

  .mv-feature-grid, .mv-chip-row{ width: 100%; justify-content: flex-start; }
  .mv-card-img img{ height: 160px; }
}
@media (max-width: 600px){
  .mv-slide{ height: 210px; }
  .mv-slider-btn{ font-size: 40px; width: 40px; height: 40px; }
}
