/* 
  Author: Dev. Ariel Fuentes
  Tel. +52 55 3260 4568
  email: ariel.fuentesgarcia@gmail.com
  Github: https://github.com/likaon1606
*/

:root {
  --hb-blue: rgb(9, 36, 70);
  --hb-blue-nav: rgba(9, 36, 70, 0.96);
  --hb-blue-light: #1f7ac4;
  --hb-blue-soft: #e6f3ff;
  --hb-red: #e87a7a;
  --hb-white: #ffffff;
  --hb-dark: rgb(9, 36, 70);
  --hb-radius: 16px;
  --hb-shadow-soft: 0 18px 45px rgba(7, 28, 63, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 55%),
    radial-gradient(circle at bottom right, rgba(9, 36, 70, 0.06), transparent 60%);
  color: var(--hb-dark);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.hb-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--hb-blue-nav);
  backdrop-filter: blur(12px);
}

.navbar {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.logo-wrap {
  width: 160px;
  background: #ffffff;
  border-radius: 10px;
  padding: 4px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo {
  width: 100%;
  height: auto;
  background: transparent;
  border-radius: 0;
  padding: 0;
  object-fit: contain;
  border: 0;
  display: block;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  position: relative;
  padding-left: 1.65rem;
  padding-right: 0.85rem;
}

.navbar-dark .navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  bottom: 0.15rem;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease-out;
}

.navbar-dark .navbar-nav .nav-link:hover::before,
.navbar-dark .navbar-nav .nav-link:focus-visible::before {
  transform: scaleX(1);
}

.navbar-dark .navbar-nav .nav-link::after {
  content: "❄";
  position: absolute;
  left: 0.15rem;
  top: 50%;
  transform: translateY(-50%) scale(0);
  transform-origin: center;
  font-size: 0.8rem;
  color: var(--hb-blue-soft);
  opacity: 0;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link:focus-visible::after {
  transform: translateY(-50%) scale(1);
  opacity: 1;
}

.btn-phone {
  background: var(--hb-blue-light);
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: all 0.25s ease-out;
  color: #fff;
}

.btn-phone:hover {
  background: #ffffff;
  color: var(--hb-blue);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(9, 36, 70, 0.28);
}

.social-header a {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  transition: all 0.2s ease-out;
}

.social-header a:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 60vh;
  padding: 4rem 3rem 4.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -26%;
  height: 152%;
  background: url("assets/S4MSTUFF-35.webp") center / cover no-repeat;
  z-index: 0;
  will-change: transform;
  transform: translate3d(0, var(--hero-bg-shift, 0px), 0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    top: 0;
    height: 100%;
    transform: none;
    will-change: auto;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(9, 36, 70, 0.88) 0%,
    rgba(9, 36, 70, 0.55) 42%,
    rgba(9, 36, 70, 0.35) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.05rem;
  line-height: 1.55;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  max-width: 38rem;
}

.hero-phone {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-phone strong {
  color: #ffffff;
}

.hero .hb-btn-outline {
  border-color: rgba(255, 255, 255, 0.75);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.hero .hb-btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  color: #ffffff;
}

.hb-btn-primary,
.hb-btn-outline,
.hb-btn-accent {
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-width: 1px;
  transition: all 0.22s ease-out;
}

.hb-btn-primary {
  background: linear-gradient(135deg, var(--hb-blue-light), var(--hb-blue));
  border-color: transparent;
  color: var(--hb-white);
  box-shadow: 0 14px 15px rgba(9, 36, 70, 0.35);
}

.hb-btn-primary:hover,
.hb-btn-primary:focus-visible {
  color: #ffffff;
  background: linear-gradient(
    145deg,
    #6ec5ff 0%,
    #4aaef0 38%,
    var(--hb-blue-light) 100%
  );
  border-color: transparent;
  transform: translateY(-1px) translateZ(0);
  box-shadow:
    0 14px 28px rgba(31, 122, 196, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: none;
}

.hb-btn-primary:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 2px;
}

.btn.hb-btn-primary:focus-visible {
  background: linear-gradient(
    145deg,
    #6ec5ff 0%,
    #4aaef0 38%,
    var(--hb-blue-light) 100%
  );
  color: #ffffff;
}

.hb-btn-outline {
  background: transparent;
  border-color: rgba(9, 36, 70, 0.4);
  color: var(--hb-blue);
}

.hb-btn-outline:hover {
  background: rgba(230, 243, 255, 0.9);
  border-color: transparent;
  transform: translateY(-1px);
}

.hb-btn-accent {
  background: linear-gradient(135deg, var(--hb-red), #f6a7a7);
  color: var(--hb-white);
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(232, 122, 122, 0.35);
}

.hb-btn-accent:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 18px 40px rgba(232, 122, 122, 0.45);
}

.section-title {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--hb-blue-light);
}

.hb-heading-accent {
  color: var(--hb-blue-light);
}

.hb-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--hb-radius);
  border: 1px solid rgba(9, 36, 70, 0.08);
  box-shadow: 0 14px 40px rgba(10, 35, 70, 0.08);
}

.hb-card img.card-img-top {
  border-radius: var(--hb-radius) var(--hb-radius) 0 0;
}

.hb-card .card-title {
  font-weight: 600;
  color: var(--hb-dark);
}

.hb-card .card-text {
  font-size: 0.95rem;
  color: #4e617f;
}

.hb-list {
  padding-left: 1.2rem;
}

.hb-list li {
  margin-bottom: 0.3rem;
  color: #425572;
}

.hb-list li::marker {
  color: var(--hb-blue-light);
}

#cobertura .hb-list--snow {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0.75rem;
}

#cobertura .hb-list--snow li {
  list-style: none;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.45rem;
}

#cobertura .hb-list--snow li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1.15em;
  height: 1.15em;
  background: url("assets/snow.svg") no-repeat center / contain;
}

#cobertura .cobertura-estado {
  margin: 0 0 0.65rem;
  padding: 0.35rem 0 0.35rem 0.65rem;
  border-left: 4px solid var(--hb-blue-light);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hb-blue-light);
  line-height: 1.35;
}

#cobertura .cobertura-mun-grid + .cobertura-estado {
  margin-top: 1.35rem;
}

#historia.historia-section {
  position: relative;
  overflow: hidden;
  background-color: #d4d8dd;
  isolation: isolate;
}

#historia.historia-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -34%;
  width: 100%;
  height: 168%;
  z-index: 0;
  background: url("assets/nuestra_historia.webp") center / cover no-repeat;
  filter: contrast(1.07) brightness(1.03) saturate(1.04);
  will-change: transform;
  transform: translate3d(0, var(--historia-bg-shift, 0px), 0);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  #historia.historia-section::after {
    top: 0;
    height: 100%;
    transform: none;
    will-change: auto;
  }
}

#historia.historia-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    155deg,
    rgba(240, 241, 243, 0.84) 0%,
    rgba(220, 223, 228, 0.78) 42%,
    rgba(200, 204, 210, 0.76) 100%
  );
  pointer-events: none;
}

#historia.historia-section .container {
  position: relative;
  z-index: 2;
}

.historia-foto-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.historia-foto-marco {
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  padding: 0.65rem;
  background: linear-gradient(145deg, #f8f9fa, #e9ecef);
  border-radius: 20px;
  border: 1px solid rgba(9, 36, 70, 0.12);
  box-shadow:
    0 20px 50px rgba(9, 36, 70, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.historia-foto-marco img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  filter: grayscale(0.15) contrast(1.03);
}

.historia-card {
  background: linear-gradient(135deg, rgba(9, 36, 70, 0.06), #ffffff);
  border-radius: 24px;
  border: 1px solid rgba(9, 36, 70, 0.1);
  box-shadow: 0 16px 42px rgba(9, 36, 70, 0.1);
}

.map-card {
  background: radial-gradient(circle at top left, #e6f3ff, #ffffff);
  border-radius: 24px;
  border: 1px solid rgba(9, 36, 70, 0.12);
  box-shadow: 0 16px 40px rgba(8, 30, 64, 0.12);
}

#cobertura .hb-leaflet-map {
  height: min(52vh, 520px);
  min-height: 400px;
  width: 100%;
  border-radius: 16px;
  z-index: 0;
}

#cobertura .leaflet-container {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  border-radius: inherit;
}

#cobertura .leaflet-control-attribution {
  font-size: 11px;
  max-width: 100%;
}

#contacto .contacto-text-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 1.75rem 1.5rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(8, 30, 64, 0.15);
}

#contacto .contacto-text-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -28%;
  height: 156%;
  background: url("../assets/S4MSTUFF-59.webp") center / cover no-repeat;
  z-index: 0;
  will-change: transform;
  transform: translate3d(0, var(--contacto-bg-shift, 0px), 0);
}

@media (prefers-reduced-motion: reduce) {
  #contacto .contacto-text-panel::before {
    top: 0;
    height: 100%;
    will-change: auto;
    transform: none;
  }
}

#contacto .contacto-text-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    145deg,
    rgba(28, 58, 102, 0.88) 0%,
    rgba(10, 35, 72, 0.92) 100%
  );
  pointer-events: none;
}

#contacto .contacto-text-panel > * {
  position: relative;
  z-index: 2;
}

#contacto .contacto-text-panel .contacto-panel-title {
  font-weight: 700;
  font-size: 1.35rem;
  color: #ffffff;
  text-shadow: 0 1px 14px rgba(0, 15, 45, 0.55);
  margin-bottom: 1rem;
}

#contacto .contacto-text-panel p {
  color: rgba(255, 255, 255, 0.94);
}

#contacto .contacto-text-panel .hb-list li {
  color: rgba(255, 255, 255, 0.92);
}

#contacto .contacto-text-panel .hb-list li::marker {
  color: rgba(200, 230, 255, 0.95);
}

#contacto .contacto-text-panel .hb-list strong {
  color: #ffffff;
}

.map-placeholder {
  border-radius: 18px;
  padding: 1.1rem 1.3rem;
  border: 1px dashed rgba(9, 36, 70, 0.35);
  background: repeating-linear-gradient(
    45deg,
    rgba(9, 36, 70, 0.04),
    rgba(9, 36, 70, 0.04) 6px,
    transparent 6px,
    transparent 12px
  );
  font-size: 0.85rem;
  color: #3f587b;
}

.productos-carousel {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--hb-shadow-soft);
}

.productos-carousel img {
  height: 260px;
  object-fit: cover;
}

#productos {
  position: relative;
  overflow: hidden;
  background: url("assets/glaciar.webp") center / cover no-repeat;
}

#productos::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 251, 255, 0.78);
  z-index: 0;
}

#productos .container {
  position: relative;
  z-index: 1;
}

.presentaciones-gallery .presentaciones-item {
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.presentaciones-gallery .presentaciones-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(9, 36, 70, 0.14);
}

.presentaciones-gallery .presentaciones-img {
  height: 190px;
  object-fit: cover;
}

.wp-gallery-hielo {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: transparent;
  border: 0;
  border-radius: 24px;
}

.wp-gallery-item {
  margin: 0;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(9, 36, 70, 0.10);
  border-radius: 18px;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
  background-image: url("/assets/glaciar.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.wp-gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44%;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(
    180deg,
    rgba(110, 200, 255, 0.48) 0%,
    rgba(110, 200, 255, 0.3) 55%,
    rgba(110, 200, 255, 0) 100%
  );
  pointer-events: none;
}

.wp-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(9, 36, 70, 0.10);
}

.wp-gallery-img {
  width: 100%;
  height: 165px;
  object-fit: contain;
  object-position: center center;
  display: block;
  transform: scale(1);
  transition: transform 0.22s ease;
  transform-origin: center;
  flex: 0 0 auto;
  margin: 0 auto;
  align-self: center;
}

.wp-gallery-hielo .wp-gallery-item {
  overflow: hidden;
}

.wp-gallery-hielo .wp-gallery-item > * {
  position: relative;
  z-index: 1;
}

.wp-gallery-hielo .wp-gallery-item:hover .wp-gallery-img {
  transform: scale(1.3);
}

.wp-gallery-hielo .wp-gallery-item figcaption {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

.wp-gallery-copy {
  width: 100%;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 14px;
  margin-top: 14px;
  box-shadow: 0 14px 35px rgba(9, 36, 70, 0.08);
  border: 1px solid rgba(9, 36, 70, 0.08);
}

.wp-gallery-hielo .wp-gallery-copy figcaption {
  margin-top: 0;
}

.wp-gallery-hielo .wp-gallery-copy .wp-gallery-desc {
  font-size: 1.1rem;
  font-weight: 600;
}

.wp-gallery-title {
  margin: 12px 0 0;
  font-weight: 800;
  color: var(--hb-dark);
  font-size: 1rem;
  text-align: center;
}

.wp-gallery-desc {
  margin: 6px 0 0;
  color: #4e617f;
  font-size: 0.95rem;
  line-height: 1.35;
  text-align: center;
}

@media (max-width: 991.98px) {
  .wp-gallery-hielo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px;
    gap: 14px;
  }

  .wp-gallery-img {
    height: 150px;
  }

  .wp-gallery-img.is-vertical {
    height: 220px;
  }
}

@media (max-width: 575.98px) {
  .wp-gallery-hielo {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 12px;
    border-radius: 18px;
  }

  .wp-gallery-item {
    padding: 14px;
  }

  .wp-gallery-img {
    height: 160px;
  }

  .wp-gallery-img.is-vertical {
    height: 230px;
  }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.productos-carousel .carousel-indicators {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 14px 0 10px;
  padding: 0;
}

.productos-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  border-radius: 60px;
  background-color: rgba(31, 122, 196, 0.35);
  margin: 0;
}

.productos-carousel .carousel-indicators .active {
  background-color: var(--hb-blue-light);
}

.calculadora-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top, #e6f3ff, #ffffff);
}

.calculadora-section .hb-card {
  backdrop-filter: blur(6px);
}

.snow-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}

.calculadora-section .container {
  position: relative;
  z-index: 1;
}

.snowflake {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #ffffff 0%, #d7e9ff 55%, #9ec5ff 100%);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(9, 36, 70, 0.75);
  opacity: 0.98;
  animation-name: fall;
  animation-timing-function: linear;
}

@keyframes fall {
  0% {
    transform: translate3d(0, -10px, 0);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  100% {
    transform: translate3d(0, 110vh, 0);
    opacity: 0;
  }
}

@keyframes hb-phone-ring {
  0% {
    transform: translateY(-2px) rotate(-5deg);
  }
  20% {
    transform: translateY(-2px) rotate(6deg);
  }
  40% {
    transform: translateY(-2px) rotate(-6deg);
  }
  60% {
    transform: translateY(-2px) rotate(5deg);
  }
  80% {
    transform: translateY(-2px) rotate(-4deg);
  }
  100% {
    transform: translateY(-2px) rotate(0deg);
  }
}

#contacto .contacto-form-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--hb-radius);
}

#contacto .contacto-ice-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
}

#contacto .contacto-form-wrap .hb-card {
  position: relative;
  z-index: 1;
}

.contacto-ice-crystal {
  position: absolute;
  top: -24px;
  pointer-events: none;
  opacity: 0;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform, opacity;
}

.contacto-ice-crystal--shard {
  width: 3px;
  min-height: 12px;
  border-radius: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(185, 220, 255, 0.78) 40%,
    rgba(110, 165, 220, 0.55) 100%
  );
  box-shadow: 0 0 10px rgba(140, 200, 255, 0.5);
  animation-name: contactoFallShard;
}

.contacto-ice-crystal--plate {
  width: 16px;
  height: 11px;
  border-radius: 3px;
  background: linear-gradient(
    148deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(210, 235, 255, 0.45) 42%,
    rgba(140, 185, 230, 0.5) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 0 12px rgba(90, 150, 210, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  animation-name: contactoFallPlate;
}

.contacto-ice-crystal--spark {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(180, 220, 255, 0.9),
    0 0 10px 3px rgba(160, 210, 255, 0.65);
  animation-name: contactoFallSpark;
}

@keyframes contactoFallShard {
  0% {
    transform: translate3d(0, -15px, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  100% {
    transform: translate3d(42px, 115vh, 0) rotate(280deg);
    opacity: 0;
  }
}

@keyframes contactoFallPlate {
  0% {
    transform: translate3d(0, -18px, 0) rotate(32deg);
    opacity: 0;
  }
  12% {
    opacity: 0.88;
  }
  100% {
    transform: translate3d(-48px, 115vh, 0) rotate(-300deg);
    opacity: 0;
  }
}

@keyframes contactoFallSpark {
  0% {
    transform: translate3d(0, -12px, 0) scale(0.5);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  45% {
    transform: translate3d(22px, 48vh, 0) scale(1.2);
  }
  100% {
    transform: translate3d(-18px, 115vh, 0) scale(0.4);
    opacity: 0;
  }
}

.products {
  padding: 40px 0px;
}

@media (prefers-reduced-motion: reduce) {
  #contacto .contacto-ice-layer {
    display: none;
  }

  .contacto-ice-crystal {
    animation: none !important;
  }
}

.hb-footer {
  background: #071528;
  color: rgba(255, 255, 255, 0.8);
}

.footer-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.22s ease-out;
}

.footer-icon:hover {
  background: #ffffff;
  color: var(--hb-blue);
  transform: translateY(-1px);
}

.hb-email-link .hb-email-open {
  display: none;
}

.hb-email-link:hover .hb-email-closed,
.hb-email-link:focus-visible .hb-email-closed {
  display: none;
}

.hb-email-link:hover .hb-email-open,
.hb-email-link:focus-visible .hb-email-open {
  display: inline-block;
}

.hb-footer-email-institutional-text {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.hb-float-rail {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hb-float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 18px 40px rgba(9, 36, 70, 0.35);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.hb-float-btn:hover {
  transform: translateY(-2px) scale(1.03);
  color: #ffffff;
}

.hb-float-btn--instagram {
  background: linear-gradient(200deg, #f58529, #dd2a7b, #8134af);
  box-shadow: 0 16px 36px rgba(221, 42, 123, 0.45);
}

.hb-float-btn--instagram:hover {
  box-shadow: 0 20px 44px rgba(221, 42, 123, 0.55);
}

.hb-float-btn--phone {
  background: var(--hb-blue-light);
  box-shadow: 0 16px 36px rgba(31, 122, 196, 0.45);
  transform-origin: 50% 50%;
}

.hb-float-btn--phone:hover,
.hb-float-btn--phone:focus-visible {
  animation: hb-phone-ring 0.14s ease-in-out infinite;
  box-shadow: 0 20px 44px rgba(31, 122, 196, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .hb-float-btn--phone:hover,
  .hb-float-btn--phone:focus-visible {
    animation: none;
    transform: translateY(-2px) scale(1.03);
  }
}

.hb-float-btn--whatsapp {
  background: #25d366;
  box-shadow: 0 18px 40px rgba(18, 140, 78, 0.55);
}

.hb-float-btn--whatsapp:hover {
  box-shadow: 0 20px 45px rgba(18, 140, 78, 0.65);
}

.form-control,
.form-select {
  border-radius: 999px;
  border-color: rgba(9, 36, 70, 0.2);
  padding-inline: 1.1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(9, 36, 70, 0.7);
  box-shadow: 0 0 0 0.15rem rgba(9, 36, 70, 0.15);
}

textarea.form-control {
  border-radius: 18px;
}

.mv-section-gray {
  background: #f3f4f7;
}

.mv-card {
  background: #ffffff;
  border: 1px solid rgba(31, 122, 196, 0.2);
  box-shadow: 0 14px 40px rgba(31, 122, 196, 0.08);
}

.mv-top-card {
  border: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}

.mv-card-1px {
  padding: 1px !important;
}

.mv-title-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.mv-title-band--left {
  justify-content: flex-start;
}

.mv-title-band--right {
  justify-content: flex-end;
}

.mv-title-line {
  flex: 1 1 auto;
  width: auto;
  height: 2px;
  border-radius: 2px;
  background: var(--hb-blue-light);
  opacity: 0.95;
}

.mv-title {
  margin: 0;
  color: var(--hb-blue-light);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}

.mv-body {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.mv-body--left {
  justify-content: flex-start;
  text-align: left;
  flex-direction: row;
}

.mv-body--propuesta-center {
  justify-content: center;
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.mv-snow-list--propuesta-center {
  width: 100%;
  max-width: 40rem;
  text-align: center;
}

.mv-snow-list--propuesta-center li {
  justify-content: center;
}

.mv-body--mv-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  gap: 0.5rem;
}

.mv-body--mv-center .mv-snow-list {
  width: 100%;
}

.mv-body--mv-center .mv-snow-list li {
  justify-content: center;
}

.mv-body--center {
  justify-content: center;
  text-align: center;
  flex-direction: row;
}

.mv-body--right {
  justify-content: flex-end;
  text-align: right;
  flex-direction: row;
}

.mv-icon {
  width: 144px;
  height: 144px;
  object-fit: contain;
  flex: 0 0 auto;
}

.mv-card .card-body {
  padding: 20px !important;
}

.mv-card-1px .card-body {
  padding: 20px !important;
}

.mv-snow-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.mv-snow-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #000000;
  margin-bottom: 0.65rem;
  font-size: 0.98rem;
  line-height: 1.35;
}

.mv-snow-list li:last-child {
  margin-bottom: 0;
}

.mv-snow-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 0.35rem;
  background-image: url("assets/snow.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex: 0 0 auto;
}

.mv-snow-list--right li {
  flex-direction: row-reverse;
}

.mv-list-title {
  color: #000000;
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

#cobertura .cobertura-map-row {
  align-items: center;
}

#cobertura .cobertura-col-text,
#cobertura .cobertura-col-map {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .hero {
    padding-top: 3rem;
  }

  .navbar-dark .navbar-nav .nav-link {
    padding-inline: 0.2rem;
  }

  .social-header {
    margin-top: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding-top: 2.5rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hb-card {
    border-radius: 18px;
  }

  .hb-float-btn {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }

  .mv-card {
    width: 98%;
    margin-left: auto;
    margin-right: auto;
  }

  .mv-icon {
    width: 96px;
    height: 96px;
  }

  .mv-title {
    font-size: 1.35rem;
  }

  .mv-snow-list li {
    font-size: 0.95rem;
    gap: 0.55rem;
  }

  .mv-snow-list li::before {
    width: 14px;
    height: 14px;
    margin-top: 0.28rem;
  }

  .mv-list-title {
    font-size: 1.15rem;
    margin-bottom: 0.45rem;
  }
}

@media (max-width: 991.98px) {
  .mv-body--propuesta-center {
    align-items: center;
    text-align: center;
  }

  .mv-snow-list--propuesta-center li {
    justify-content: center;
  }
}

.exp-slick-section {
  background: transparent;
}

.exp-slick-holder {
  margin: 0 -8px;
}

.exp-slick-section .center .exp-slick-item {
  padding: 0 8px;
}

.exp-slick-section .center .exp-slick-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--hb-shadow-soft);
}

@media (max-width: 575.98px) {
  .exp-slick-holder {
    margin: 0;
  }

  .exp-slick-section .center .exp-slick-item img {
    height: 240px;
  }

  .exp-slick-section .center {
    width: 100%;
  }
}

.exp-slick-section .slick-prev,
.exp-slick-section .slick-next {
  width: 56px;
  height: 56px;
  z-index: 5;
  opacity: 1;
  background: transparent;
  border-radius: 0;
  top: 50%;
  transform: translateY(-50%) scale(1);
  transition: transform 0.18s ease;
  padding: 0;
  margin: 0;
}

.exp-slick-section .slick-prev {
  left: -8px;
}

.exp-slick-section .slick-next {
  right: -8px;
}

.exp-slick-section .slick-prev:hover,
.exp-slick-section .slick-next:hover {
  background: transparent;
  transform: translateY(-50%) scale(1.1);
}

.exp-slick-section .slick-prev::before,
.exp-slick-section .slick-next::before {
  color: #ffffff;
  font-size: 30px;
  opacity: 0.95;
  position: static;
  top: auto;
  left: auto;
  transform: none;
  margin: 0;
}

.exp-slick-section .slick-dots {
  position: static !important;
  display: none !important;
  justify-content: center !important;
  gap: 10px;
  margin-top: 40px;
}

.exp-slick-section .slick-dots li {
  margin: 0;
}

.exp-slick-section .slick-dots li button {
  width: 10px;
  height: 10px;
  border-radius: 60px;
  background-color: rgba(31, 122, 196, 0.35);
  opacity: 1;
}

.exp-slick-section .slick-dots li.slick-active button {
  background-color: var(--hb-blue-light);
}

.exp-conf-title {
  color: var(--hb-blue-light);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: 0.01em;
}

.exp-conf-lead {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.exp-conf-points-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0.75rem 0 1rem;
}

.exp-conf-point {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 14px;
  box-shadow: 0 10px 24px rgba(7, 28, 63, 0.08);
  border: 1px solid rgba(9, 36, 70, 0.08);
  display: flex;
  gap: 12px;
  align-items: center;
}

.exp-conf-point-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 122, 196, 0.1);
  font-size: 1.35rem;
  flex: 0 0 auto;
}

.exp-conf-point-title {
  font-weight: 800;
  color: var(--hb-dark);
  line-height: 1.2;
}

.exp-conf-highlight {
  background: var(--hb-blue-light);
  color: #ffffff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--hb-shadow-soft);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 575.98px) {
  .exp-conf-title {
    font-size: 1.5rem;
  }

  .exp-conf-points-grid {
    grid-template-columns: 1fr;
  }

  .exp-slick-section .slick-dots {
    display: none !important;
  }
}

#clientes .clientes-distribucion-figure {
  margin: 0;
  width: 100%;
  max-width: none;
}

#clientes .clientes-distribucion-figure__lens {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 10px 20px rgba(8, 30, 64, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(9, 36, 70, 0.1);
  background: radial-gradient(circle at top left, #e6f3ff, #ffffff);
  aspect-ratio: 4 / 2;
  isolation: isolate;
}

#clientes .clientes-distribucion-figure__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -34%;
  width: 100%;
  height: 168%;
  background: url("../assets/S4MSTUFF-59.webp") center / cover no-repeat;
  filter: contrast(1.07) brightness(1.03) saturate(1.04);
  will-change: transform;
  transform: translate3d(0, var(--clientes-distribucion-bg-shift, 0px), 0);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  #clientes .clientes-distribucion-figure__bg {
    top: 0;
    height: 100%;
    transform: none;
    will-change: auto;
  }
}

#clientes {
  overflow-x: clip;
}

#clientes .clientes-slider-full-bleed {
  position: relative;
}

#clientes .clientes-slick .cliente-slide {
  padding: 0 8px;
}

#clientes .clientes-slick .cliente-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 14px 16px;
  border-radius: 14px;
}

#clientes .clientes-slick .cliente-logo-wrap img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 767.98px) {
  #clientes .clientes-slider-full-bleed {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }

  #clientes .clientes-slick .cliente-slide {
    padding: 0 12px;
  }

  #clientes .clientes-slick .cliente-logo-wrap {
    min-height: auto;
    padding: 20px 16px;
  }

  #clientes .clientes-slick .cliente-logo-wrap img {
    width: 100%;
    max-width: 100%;
    max-height: 96px;
    object-fit: contain;
  }

  #clientes .clientes-slick .slick-list {
    margin: 0;
  }
}
