.cp-hero,
.cp-hero * {
  box-sizing: border-box;
}

.cp-hero {
  --cp-navy: #03152f;
  --cp-blue: #168fff;
  --cp-cyan: #31cfff;
  --cp-green: #16bf5b;
  --cp-green-dark: #0ba84a;

  position: relative;
  min-height: 735px;
  margin-bottom: 145px;
  padding: 135px 0 115px;
  overflow: visible;
  isolation: isolate;
  background: var(--cp-navy);
}

.cp-hero__base {
  position: absolute;
  inset: 0;
  z-index: -6;
  background:
    radial-gradient(circle at 25% 42%, rgba(17, 74, 139, 0.23), transparent 46%),
    linear-gradient(90deg, #020f25 0%, #031731 48%, #041a36 100%);
}

.cp-hero__slider {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -5;
  width: 68%;
  overflow: hidden;
  pointer-events: none;
  background: #07172c;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 7%, #000 20%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 7%, #000 20%, #000 100%);
}

.cp-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  background-image: none;
  background-repeat: no-repeat;
  background-position: var(--cp-bg-position, center center);
  background-size: var(--cp-bg-size, cover);
  background-repeat: var(--cp-bg-repeat, no-repeat);
  background-attachment: var(--cp-bg-attachment, scroll);
  transform: scale(1.025);
  transition: opacity 1.35s ease, visibility 1.35s ease, transform 7s ease;
  will-change: opacity, transform;
}


/* Fondos predeterminados. Los estilos generados por Elementor los sustituyen
   cuando el usuario cambia imagen, posición, adjunto, repetición o tamaño. */
.cp-hero__slide--1 { background-image: url('https://airvent.multiwebcr.com/wp-content/uploads/2026/07/sala.webp'); }
.cp-hero__slide--2 { background-image: url('https://airvent.multiwebcr.com/wp-content/uploads/2026/07/habitacion-.webp'); }
.cp-hero__slide--3 { background-image: url('https://airvent.multiwebcr.com/wp-content/uploads/2026/07/oficina.webp'); }

.cp-hero--slider-disabled .cp-hero__slide { opacity: 0; visibility: hidden; transform: scale(1); }
.cp-hero--slider-disabled .cp-hero__slide:first-child { opacity: 1; visibility: visible; }
.cp-hero--slider-disabled .cp-hero__slider-dots { display: none !important; }
.cp-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.cp-hero__slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(90deg, rgba(2,15,36,.72) 0%, rgba(3,20,47,.3) 16%, transparent 42%);
  pointer-events: none;
}

.cp-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(2,15,36,1) 0%, rgba(3,20,47,.99) 24%, rgba(3,22,52,.92) 39%, rgba(3,22,51,.64) 51%, rgba(3,20,47,.18) 67%, rgba(2,15,35,.05) 100%);
}

.cp-hero__bottom-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2,15,35,.02) 0%, rgba(2,16,38,.08) 46%, rgba(2,14,32,.79) 100%);
}

.cp-hero__container {
  position: relative;
  width: min(calc(100% - 48px), 1280px);
  min-height: 550px;
  margin: 0 auto;
}

.cp-hero__content {
  width: min(620px, 54%);
  padding-top: 12px;
}

.cp-hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -1.2px;
  color: #ffffff;
}

.cp-hero__title span {
  display: block;
  white-space: nowrap;
}

.cp-hero__title strong {
  font: inherit;
  color: var(--cp-cyan);
}

.cp-hero__description {
  width: min(510px, 100%);
  margin: 20px 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.58;
  color: rgba(255,255,255,.86);
}

.cp-hero__actions {
  margin-top: 25px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.cp-hero__button {
  min-height: 50px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

.cp-hero__button--whatsapp {
  color: #fff;
  background: linear-gradient(135deg, #1bcc65, var(--cp-green));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 13px 28px rgba(11,174,77,.24), inset 0 1px 0 rgba(255,255,255,.18);
}

.cp-hero__button--whatsapp:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #24d970, var(--cp-green-dark));
  box-shadow: 0 17px 34px rgba(11,174,77,.34);
}

.cp-hero__button--models {
  color: #fff;
  background: rgba(2,17,41,.48);
  border: 1px solid rgba(255,255,255,.64);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cp-hero__button--models:hover,
.cp-hero__button--models:focus,
.cp-hero__button--models:active {
  transform: translateY(-2px);
  color: #fff;
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.9);
}

.cp-hero__button-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cp-hero__button-icon svg,
.cp-hero__digital-icon svg,
.cp-hero__benefit-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.cp-hero__digital {
  position: relative;
  width: min(610px, 100%);
  margin-top: 28px;
  padding: 13px 12px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border: 1px solid rgba(81,201,255,.36);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(5,36,79,.87), rgba(4,27,62,.7));
  box-shadow: 0 18px 45px rgba(0,0,0,.28), 0 0 32px rgba(36,187,255,.07), inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.cp-hero__digital::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(86,214,255,.08) 42%, transparent 62%);
  transform: translateX(-120%);
  animation: cpDigitalGlow 5.5s linear infinite;
}

.cp-hero__digital::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(58,210,255,.7), transparent);
  box-shadow: 0 0 12px rgba(58,210,255,.45);
}

.cp-hero__digital-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(74,219,255,.82), transparent);
  opacity: 0;
  animation: cpDigitalScan 4s linear infinite;
}

.cp-hero__digital-card {
  position: relative;
  z-index: 2;
  min-height: 76px;
  padding: 3px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cp-hero__digital-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 0;
  width: 1px;
  height: calc(100% - 10px);
  background: linear-gradient(180deg, transparent, rgba(107,210,255,.38), transparent);
}

.cp-hero__digital-icon {
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  color: #65d7ff;
  filter: drop-shadow(0 0 8px rgba(46,199,255,.4));
}

.cp-hero__digital-copy {
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
}

.cp-hero__digital-copy small {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: rgba(255,255,255,.82);
}

.cp-hero__digital-copy strong {
  min-width: 76px;
  min-height: 29px;
  margin: 3px 0;
  display: flex;
  align-items: center;
  font-family: "Courier New", Courier, monospace;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 8px rgba(70,207,255,.42), 0 0 18px rgba(70,207,255,.2);
}

.cp-hero__counter {
  display: inline-block;
  min-width: 60px;
  font-variant-numeric: tabular-nums;
}

.cp-hero__digital-copy em {
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
  color: #8ee4ff;
}

.cp-hero__benefits {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -52px;
  z-index: 5;
  min-height: 94px;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  align-items: center;
  border: 1px solid rgba(5,52,104,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 17px 42px rgba(4,31,70,.13), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cp-hero__benefit {
  position: relative;
  min-height: 52px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cp-hero__benefit:first-child {
  padding-left: 12px;
}

.cp-hero__benefit:last-child {
  padding-right: 12px;
}

.cp-hero__benefit:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 0;
  width: 1px;
  height: calc(100% - 10px);
  background: linear-gradient(180deg, transparent, rgba(12,80,153,.2), transparent);
}

.cp-hero__benefit-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: #0877ff;
}

.cp-hero__benefit-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cp-hero__benefit-copy strong {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: #0b2a59;
}

.cp-hero__benefit-copy small {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: #405a7e;
}

.cp-hero__slider-dots {
  position: absolute;
  left: 50%;
  bottom: -78px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transform: translateX(-50%);
  pointer-events: auto;
}

.cp-hero__slider-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  display: block;
  border: 2px solid #fff;
  border-radius: 999px;
  background: rgba(255,255,255,.38);
  box-shadow: 0 0 0 2px rgba(0,0,0,.16), 0 0 12px rgba(255,255,255,.45), 0 3px 10px rgba(0,0,0,.34);
  cursor: pointer;
  transition: width .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.cp-hero__slider-dot:hover {
  transform: scale(1.16);
  background: #fff;
  border-color: #fff;
}

.cp-hero__slider-dot.is-active {
  width: 34px;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(0,0,0,.16), 0 0 16px rgba(255,255,255,.9), 0 4px 12px rgba(0,0,0,.34);
}

@keyframes cpDigitalGlow {
  from { transform: translateX(-120%); }
  to { transform: translateX(160%); }
}

@keyframes cpDigitalScan {
  0% { top: 0; opacity: 0; }
  15% { opacity: .65; }
  85% { opacity: .65; }
  100% { top: 100%; opacity: 0; }
}

@media (max-width: 1180px) {
  .cp-hero__slider { width: 65%; }
  .cp-hero__content { width: min(580px,58%); }
  .cp-hero__title { font-size: 42px; }
  .cp-hero__digital-card { padding: 3px 13px; }
  .cp-hero__benefit { padding: 0 18px; }
}

@media (max-width: 960px) {
  .cp-hero {
    min-height: 760px;
    margin-bottom: 195px;
    padding-top: 125px;
    padding-bottom: 165px;
  }
  .cp-hero__slider { width: 73%; }
  .cp-hero__slider-dots { bottom: -158px; }
  .cp-hero__content { width: min(600px,75%); }
  .cp-hero__title { font-size: 40px; }
  .cp-hero__title span { white-space: normal; }
  .cp-hero__digital { width: 100%; }
  .cp-hero__digital-card { padding: 6px 12px; }
  .cp-hero__benefits {
    bottom: -125px;
    grid-template-columns: repeat(2,1fr);
  }
  .cp-hero__benefit {
    padding: 17px 20px;
  }
  .cp-hero__benefit:nth-child(2)::after { display: none; }
  .cp-hero__benefit:nth-child(-n + 2) { border-bottom: 1px solid rgba(12,80,153,.11); }
}

@media (max-width: 767px) {
  .cp-hero {
    min-height: auto;
    margin-bottom: 68px;
    padding: 105px 0 30px;
  }
  .cp-hero__slider {
    inset: 0;
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .cp-hero__slide {
    filter: brightness(1) saturate(1.07) !important;
  }
  .cp-hero__slider::before {
    background: linear-gradient(180deg, rgba(2,17,41,.34) 0%, rgba(2,18,43,.44) 34%, rgba(2,18,43,.70) 67%, rgba(2,15,36,.95) 100%) !important;
  }
  .cp-hero__overlay {
    background: linear-gradient(180deg, rgba(2,17,41,.26) 0%, rgba(3,20,47,.36) 35%, rgba(3,22,52,.68) 68%, rgba(2,15,36,.95) 100%) !important;
  }
  .cp-hero__bottom-shade {
    background: linear-gradient(180deg, rgba(2,15,35,.01) 0%, rgba(2,16,38,.10) 48%, rgba(2,14,32,.76) 100%) !important;
  }
  .cp-hero__slider-dots {
    left: 50%;
    bottom: -28px;
    width: max-content;
    margin: 0;
    transform: translateX(-50%);
  }
  .cp-hero__slider-dot { width: 8px; height: 8px; }
  .cp-hero__slider-dot.is-active { width: 24px; }
  .cp-hero__container { width: calc(100% - 28px); }
  .cp-hero__content {
    width: 100%;
    max-width: 100%;
    min-height: 570px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .cp-hero__title {
    font-size: clamp(33px, 9.6vw, 44px);
    line-height: 1.05;
    letter-spacing: -.8px;
  }
  .cp-hero__title span { white-space: normal; }
  .cp-hero__description {
    margin-top: 17px;
    font-size: 16px;
    line-height: 1.55;
  }
  .cp-hero__digital {
    grid-template-columns: 1fr;
    padding: 6px 18px;
  }
  .cp-hero__digital-card { padding: 15px 4px; }
  .cp-hero__digital-card:not(:last-child)::after {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107,210,255,.38), transparent);
  }
  .cp-hero__benefits {
    position: relative;
    bottom: auto;
    margin-top: 20px;
    padding: 7px 18px;
    grid-template-columns: 1fr;
  }
  .cp-hero__benefit,
  .cp-hero__benefit:first-child,
  .cp-hero__benefit:last-child {
    padding: 17px 2px;
  }
  .cp-hero__benefit:not(:last-child)::after {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(12,80,153,.17), transparent);
  }
  .cp-hero__benefit:nth-child(2)::after { display: block; }
  .cp-hero__benefit:nth-child(-n + 2) { border-bottom: 0; }
}

@media (max-width: 480px) {
  .cp-hero__title { font-size: 32px; }
  .cp-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cp-hero__button { width: 100%; }
  .cp-hero__slide {
    filter: brightness(.99) saturate(1.07) !important;
  }
  .cp-hero__slider::before {
    background: linear-gradient(180deg, rgba(2,17,41,.32) 0%, rgba(2,18,43,.42) 34%, rgba(2,18,43,.69) 67%, rgba(2,15,36,.95) 100%) !important;
  }
  .cp-hero__overlay {
    background: linear-gradient(180deg, rgba(2,17,41,.25) 0%, rgba(3,20,47,.34) 35%, rgba(3,22,52,.67) 68%, rgba(2,15,36,.95) 100%) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cp-hero__slide {
    transition: opacity .5s ease;
    transform: none;
  }
  .cp-hero__digital::before,
  .cp-hero__digital-scan {
    animation: none;
  }
}

/* v0.1.6 · Íconos editables desde la biblioteca de Elementor */
.cp-hero__digital-icon i,
.cp-hero__benefit-icon i {
  display: block;
  color: inherit;
  font-size: 38px;
  line-height: 1;
}

.cp-hero__digital-icon .e-font-icon-svg,
.cp-hero__benefit-icon .e-font-icon-svg {
  width: 100%;
  height: 100%;
  display: block;
  color: inherit;
  fill: currentColor;
}

.cp-hero__digital-icon svg,
.cp-hero__benefit-icon svg {
  color: inherit;
}


/* v0.1.8 · Colores correctos para íconos de la biblioteca de Elementor */
.cp-hero .cp-hero__digital-icon,
.cp-hero .cp-hero__digital-icon i,
.cp-hero .cp-hero__digital-icon svg {
  color: #65d7ff !important;
}

.cp-hero .cp-hero__benefit-icon,
.cp-hero .cp-hero__benefit-icon i,
.cp-hero .cp-hero__benefit-icon svg {
  color: #0877ff !important;
}

.cp-hero .cp-hero__digital-icon .e-font-icon-svg,
.cp-hero .cp-hero__benefit-icon .e-font-icon-svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  color: inherit !important;
  fill: currentColor !important;
}

.cp-hero .cp-hero__digital-icon .e-font-icon-svg path,
.cp-hero .cp-hero__benefit-icon .e-font-icon-svg path {
  fill: currentColor !important;
}

.cp-hero .cp-hero__digital-icon i,
.cp-hero .cp-hero__benefit-icon i {
  font-size: 38px !important;
  line-height: 1 !important;
}


}

.cp-hero .cp-hero__digital-icon,
.cp-hero .cp-hero__digital-icon i,
.cp-hero .cp-hero__digital-icon svg { color:#65d7ff !important; }
.cp-hero .cp-hero__benefit-icon,
.cp-hero .cp-hero__benefit-icon i,
.cp-hero .cp-hero__benefit-icon svg { color:#0877ff !important; }



/* v0.2.0 · Fondos controlados directamente por Elementor */
.cp-hero__slide {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
}

.cp-hero .cp-hero__digital-icon,
.cp-hero .cp-hero__digital-icon i,
.cp-hero .cp-hero__digital-icon svg { color:#65d7ff !important; }
.cp-hero .cp-hero__benefit-icon,
.cp-hero .cp-hero__benefit-icon i,
.cp-hero .cp-hero__benefit-icon svg { color:#0877ff !important; }
.cp-hero .cp-hero__digital-icon .e-font-icon-svg path,
.cp-hero .cp-hero__benefit-icon .e-font-icon-svg path { fill:currentColor !important; }
