/**
 * CY Colombia - Elementor Home Hero Widget Styles
 */

.cy-home-hero {
  position: relative;
  min-height: calc(100vh - 86px);
  padding: 0;
  background: #181818;
  border-bottom: 1px solid rgba(21, 21, 21, 0.12);
  display: flex;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
  color: #ffffff;
  font-family: var(--font-geist-sans, "Helvetica Neue", Arial, sans-serif);
}

/* Background visual container - stretches full width */
.cy-home-hero__visual {
  position: absolute;
  inset: 0;
  background: #181818;
  z-index: 1;
}

.cy-home-hero__visual:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(90deg, rgba(8, 12, 15, 0.88) 0%, rgba(8, 12, 15, 0.64) 48%, rgba(8, 12, 15, 0.25) 100%),
              linear-gradient(rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.5));
}

.cy-home-hero__visual > img,
.cy-home-hero__visual > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 61%;
  display: block;
  transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cy-home-hero__visual:hover > img,
.cy-home-hero__visual:hover > video {
  transform: scale(1.035);
}

/* Inner container perfectly aligned with Header, Metrics and Footer */
.cy-home-hero__inner {
  position: relative;
  z-index: 3;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 72px 32px 60px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 86px);
}

/* Copy / Text Content */
.cy-home-hero__copy {
  position: relative;
  width: min(920px, 80%);
  padding: 20px 0;
  box-sizing: border-box;
}

.cy-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

.cy-eyebrow > span:first-child {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red, #d00618);
  animation: cyDotGlow 2.5s infinite;
}

.cy-home-hero h1 {
  font-size: clamp(48px, 6.2vw, 92px);
  font-weight: 560;
  line-height: 0.94;
  letter-spacing: -0.065em;
  max-width: 840px;
  margin: 0 0 30px 0;
  color: #ffffff;
}

.cy-home-hero h1 em {
  font-style: normal;
  color: #d00618;
}

.cy-home-hero__intro {
  color: rgba(255, 255, 255, 0.82);
  max-width: 670px;
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 34px 0;
}

/* Button Row */
.cy-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.cy-button--outline {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
}

.cy-button--outline:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #151515;
}

/* Hero index */
.cy-hero-index {
  margin-top: 66px;
  font-family: monospace, ui-monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.58);
}

/* Hero Caption bottom-right of the inner 1440px container */
.cy-hero-caption {
  position: absolute;
  bottom: 32px;
  right: 32px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 36px;
  font-family: monospace, ui-monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

/* Responsive queries */
@media (max-width: 1100px) {
  .cy-home-hero h1 {
    font-size: clamp(44px, 6.5vw, 74px);
  }
}

@media (max-width: 820px) {
  .cy-home-hero {
    min-height: auto;
  }
  .cy-home-hero__inner {
    min-height: auto;
    padding: 64px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .cy-home-hero__copy {
    width: 100%;
    padding: 10px 0 0;
  }
  .cy-home-hero h1 {
    font-size: clamp(40px, 11vw, 70px);
  }
  .cy-hero-caption {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 36px;
  }
}

@media (max-width: 560px) {
  .cy-home-hero__inner {
    padding: 48px 16px;
  }
  .cy-home-hero h1 {
    font-size: 42px;
    line-height: 0.98;
  }
  .cy-home-hero__intro {
    font-size: 15px;
  }
  .cy-button-row .cy-button {
    width: 100%;
  }
  .cy-hero-index {
    margin-top: 36px;
  }
}
