.hero {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 38px 0 42px;
}

.page {
  position: relative;
  overflow: hidden;
}

h3 {
  color: #f6b93b;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.33), rgba(0, 0, 0, 0.1));
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero {
  position: relative;
  z-index: 1;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(246, 185, 59, .95);
}

h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: .98;
  letter-spacing: -.058em;
  margin: 28px 0 0;
  font-weight: 800;
}

.gradient-text {
  display: block;
  background: linear-gradient(90deg, #ffd166, #f6b93b, #ffe066);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 15px;
}

.hero-subtitle {
  margin: 8px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, .76);
  font-size: 22px;
  line-height: 1.55;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-bullets span {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .055);
  border-radius: 999px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.action-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
  padding-left: 6px;
}

.hero-mail {
  margin-top: 22px;
  color: rgba(255, 255, 255, .74);
  font-size: 16px;
}

.hero-mail a {
  color: #ffd166;
  font-weight: 800;
  text-decoration: none;
}

.hero-counters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px; /*42px*/
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.stat-item {
  display: flex;
  gap: 18px;
  padding: 28px;
  align-items: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 0;
  width: 1px;
  height: 60%;
  background: rgba(255, 255, 255, 0.08);
}

.stat-item i {
  font-size: 26px;
  color: #ffd166;
  flex-shrink: 0;
}

.stat-item span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

.stat-item h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1;
  color: white;
}

.stat-item small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.55);
}

.visual-wrap {
  position: relative;
}

.visual-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  background: radial-gradient(circle at 80% 35%, rgba(251, 191, 36, .38), transparent 26%);
  filter: blur(28px);
}

.visual {
  position: relative;
  border: 1px solid rgba(246, 185, 59, .24);
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02));
  box-shadow: 0 0 65px rgba(2, 6, 23, .78);
  overflow: hidden;
}

.visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: #050b18;
}

.hero-caption {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: 330px;
  border: 1px solid rgba(255, 209, 102, .22);
  background: rgba(0, 0, 0, .42);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  padding: 16px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  line-height: 1.45;
}

.hero-caption strong {
  display: block;
  color: #ffd166;
  font-size: 15px;
  margin-bottom: 4px;
}

.hero-bullets span,
.actions a,
.hero-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-bullets i,
.actions i,
.hero-mail i {
  font-size: 14px;
  color: #ffd166;
}

.actions a i,
.hero-mail i {
  transition: transform .2s ease;
}

.actions a:hover i {
  transform: translateX(3px);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 62px 0 34px;
  }

  h1 {
    font-size: clamp(42px, 6vw, 64px);
    margin-top: 22px;
  }

  .hero-subtitle {
    font-size: 20px;
    max-width: 100%;
  }

  .hero-counters {
    max-width: 100%;
  }

  .hero-caption {
    left: 20px;
    bottom: 20px;
    max-width: 300px;
  }
}
/*
@media (max-width: 620px) {
  .hero {
    gap: 22px;
    padding: 46px 0 24px;
  }

  h1 {
    font-size: 48px;
    line-height: .98;
  }

  .hero-subtitle {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.6;
  }

  .hero-bullets {
    gap: 10px;
    margin-top: 20px;
  }

  .hero-bullets span {
    width: 100%;
    justify-content: flex-start;
    padding: 11px 14px;
  }

  .actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-counters {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .hero-caption {
    position: static;
    max-width: 100%;
    margin-top: 12px;
    padding: 14px;
  }

  .visual-wrap::before {
    border-radius: 28px;
    filter: blur(20px);
  }

  .visual {
    border-radius: 28px;
    padding: 10px;
  }

  .visual img {
    border-radius: 22px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .stat-item:not(:last-child)::after {
    top: auto;
    bottom: 0;
    left: 10%;

    width: 80%;
    height: 1px;
  }
}*/

.hero-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  opacity:1;
  transition:opacity .8s ease;
}

/*@media (max-width: 620px) {
  .page{
    display:flex;
    flex-direction:column;
  }

  .hero-bg{
    position:relative;
    inset:auto;
    width:100%;
    height:42vh;
    min-height:280px;
    order:-1;
    overflow:hidden;
  }

  .hero-bg::after{
    background:linear-gradient(
      to bottom,
      rgba(0,0,0,.1),
      rgba(7,12,26,.75)
    );
  }

  .hero-bg img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
  }

  .hero{
    position:relative;
    z-index:1;
    gap:22px;
    padding:24px 0 30px;
  }

  h1{
    font-size:48px;
    line-height:.98;
  }

  .hero-subtitle{
    margin-top:20px;
    font-size:18px;
    line-height:1.6;
  }

  .hero-subtitle br{
    display:none;
  }

  .hero-bullets{
    gap:10px;
    margin-top:20px;
  }

  .hero-bullets span{
    width:100%;
    justify-content:flex-start;
    padding:11px 14px;
  }

  .actions{
    flex-direction:column;
    gap:12px;
    margin-top:28px;
  }

  .btn{
    width:100%;
    justify-content:center;
  }

  .hero-counters{
    grid-template-columns:1fr;
    gap:12px;
    margin-top:24px;
  }

  .hero-caption{
    position:static;
    max-width:100%;
    margin-top:12px;
    padding:14px;
  }

  .visual-wrap::before{
    border-radius:28px;
    filter:blur(20px);
  }

  .visual{
    border-radius:28px;
    padding:10px;
  }

  .visual img{
    border-radius:22px;
  }

  .hero-stats{
    grid-template-columns:1fr;
  }

  .stat-item:not(:last-child)::after{
    top:auto;
    bottom:0;
    left:10%;
    width:80%;
    height:1px;
  }

}*/
@media (max-width: 620px) {

  .page {
    display: flex;
    flex-direction: column;
  }

  /* La imagen deja de ser fondo */
  .hero-bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: 42vh;
    min-height: 280px;
    order: -1;
    overflow: hidden;
  }

  .hero-bg::after {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,.1),
      rgba(7,12,26,.75)
    );
  }

  .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* Hero */
  .hero {
    position: relative;
    z-index: 1;
    gap: 22px;
    padding: 24px 0 30px;
  }

  h1 {
    font-size: 48px;
    line-height: .98;
  }

  .hero-subtitle {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.6;
  }

  .hero-subtitle br {
    display: none;
  }

  .hero-bullets {
    gap: 10px;
    margin-top: 20px;
  }

  .hero-bullets span {
    width: 100%;
    justify-content: flex-start;
    padding: 11px 14px;
  }

  .actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-counters {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .hero-caption {
    position: static;
    max-width: 100%;
    margin-top: 12px;
    padding: 14px;
  }

  .visual-wrap::before {
    border-radius: 28px;
    filter: blur(20px);
  }

  .visual {
    border-radius: 28px;
    padding: 10px;
  }

  .visual img {
    border-radius: 22px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .stat-item:not(:last-child)::after {
    top: auto;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
  }

}