/* =========================================================
   ARVIPO · CSS exclusivo HOME / demo.html
   Cargar después de /v04/css/styles.css
   ========================================================= */

/* Menú desplegable productos */
.product-dropdown {
  border: 0;
  border-radius: 0;
  padding: 0;
  min-width: 255px;
  border-left: 5px solid var(--arvipo-red);
  box-shadow: 0 12px 28px rgba(0,0,0,.13);
}

.product-dropdown .dropdown-item {
  font-family: var(--arvipo-font-title);
  color: #777;
  text-transform: uppercase;
  letter-spacing: .045em;
  font-size: 1rem;
  font-weight: 600;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--arvipo-border);
}

.product-dropdown .dropdown-item:hover,
.product-dropdown .dropdown-item:focus {
  color: var(--arvipo-red);
  background: #f8f8f8;
}
.productos-dropdown:hover > .dropdown-menu,
.productos-dropdown:focus-within > .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* Desplegable de productos */
.productos-dropdown > .dropdown-menu {
    min-width: 230px;
    padding: 0;
    margin-top: 0;
    border: 0;
    border-left: 3px solid #c91c24;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Abrir al pasar por encima */
.productos-dropdown:hover > .dropdown-menu,
.productos-dropdown:focus-within > .dropdown-menu {
    display: block;
}

/* Opciones del menú */
.productos-dropdown > .dropdown-menu > li > .dropdown-item {
    display: block;
    padding: 15px 16px;
    border-bottom: 1px solid #e5e5e5;
    color: #777;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    background: #fff;
}

.productos-dropdown > .dropdown-menu > li:last-child > .dropdown-item {
    border-bottom: 0;
}

.productos-dropdown > .dropdown-menu > li > .dropdown-item:hover,
.productos-dropdown > .dropdown-menu > li > .dropdown-item:focus {
    color: #c91c24;
    background: #f5f5f5;
}

/* Hero home */
 .hero {
  position: relative;
  min-height: 385px;
  display: flex;
  align-items: center;
 background:
    linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.50) 36%, rgba(0,0,0,.08) 68%, rgba(0,0,0,.02) 100%),
    url("/v04/images/slider/hero-01.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: rgba(255,255,255,.25);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 530px;
  color: #fff;
  padding-block: 4rem;
}

.hero-title {
  font-family: var(--arvipo-font-title);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .035em;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  line-height: .92;
  margin-bottom: 1.15rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.45;
  color: rgba(255,255,255,.9);
  max-width: 390px;
  margin-bottom: 1.6rem;
}


/* now slider */ 
.slider-home-01 {
  background-image:
    linear-gradient(
      90deg,
      rgba(0,0,0,.72) 0%,
      rgba(0,0,0,.50) 36%,
      rgba(0,0,0,.08) 68%,
      rgba(0,0,0,.02) 100%
    ),
    url("/v04/images/slider/hero-02.png");
}

.slider-home-02 {
  background-image:
    linear-gradient(
      90deg,
      rgba(0,0,0,.72) 0%,
      rgba(0,0,0,.50) 36%,
      rgba(0,0,0,.08) 68%,
      rgba(0,0,0,.02) 100%
    ),
    url("/v04/images/slider/hero-01.jpg");
}

.slider-home-03 {
  background-image:
    linear-gradient(
      90deg,
      rgba(0,0,0,.72) 0%,
      rgba(0,0,0,.50) 36%,
      rgba(0,0,0,.08) 68%,
      rgba(0,0,0,.02) 100%
    ),
    url("/v04/images/slider/hero-03.png");
}

/* Botones home */
.btn-arvipo {
  --bs-btn-bg: var(--arvipo-red);
  --bs-btn-border-color: var(--arvipo-red);
  --bs-btn-hover-bg: var(--arvipo-red-dark);
  --bs-btn-hover-border-color: var(--arvipo-red-dark);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  border-radius: 2px;
  font-family: var(--arvipo-font-title);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .045em;
  padding: .78rem 1.75rem;
}

.btn-outline-white {
  color: #fff;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 2px;
  font-family: var(--arvipo-font-title);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .045em;
  padding: .68rem 1.55rem;
}

.btn-outline-white:hover {
  color: #111;
  background: #fff;
  border-color: #fff;
}

/* Ventajas home */
.benefits {
  background: #fff;
  border-bottom: 1px solid var(--arvipo-border);
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.55rem 0;
}

.benefit-icon {
  font-size: 2rem;
  color: #2b2b2b;
  line-height: 1;
  flex: 0 0 auto;
}

.benefit-title {
  font-family: var(--arvipo-font-title);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 1.12rem;
  margin: 0 0 .2rem;
}

.benefit-text {
  font-size: .82rem;
  line-height: 1.35;
  color: #555;
  margin: 0;
}

/* Gamas home */
.ranges-section {
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  padding: 1.85rem 0 3.25rem;
}

.range-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--arvipo-border);
  box-shadow: 0 7px 18px rgba(0,0,0,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}

.range-card:hover {
  transform: translateY(-4px);
  border-color: rgba(178,13,27,.3);
  box-shadow: var(--arvipo-shadow);
}

.range-image {
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.2rem .3rem;
  background: #fff;
}

.range-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.range-body {
  padding: .8rem 1.2rem 1.25rem;
}

.range-title {
  font-family: var(--arvipo-font-title);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .25rem;
}

.range-text {
  color: #565656;
  font-size: .84rem;
  line-height: 1.35;
  min-height: 38px;
  margin-bottom: .8rem;
}

.range-link {
  color: var(--arvipo-red);
  font-family: var(--arvipo-font-title);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .92rem;
}

.range-link:hover {
  color: var(--arvipo-red-dark);
}

/* Banda destacada home */
.featured-band {
  background: #1d1d1d;
  color: #fff;
  padding: 3rem 0;
}

.featured-band h2 {
  font-family: var(--arvipo-font-title);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .045em;
}

.featured-band p {
  color: rgba(255,255,255,.72);
}

/* Responsive home */
@media (max-width: 991.98px) {
  .hero {
    min-height: 450px;
    background-position: 62% center;
  }

  .benefit-item {
    padding: 1.1rem 0;
  }
}

@media (max-width: 575.98px) {
  .hero {
    min-height: 420px;
    background:
      linear-gradient(90deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.58) 58%, rgba(0,0,0,.34) 100%),
      url("/v04/images/slider/hero-01.jpg") center center / cover no-repeat;
  }

  .hero-content {
    padding-block: 3rem;
  }

  .hero-actions {
    display: grid !important;
    gap: .8rem !important;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
