/* ================================================
   hero.css — Hero limpio y centrado
   ================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to   { transform: scale(1.08); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(5,15,35,.87) 0%,
    rgba(0,65,120,.52) 50%,
    rgba(0,130,185,.18) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 2rem;
  padding-bottom: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.11);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.92);
  font-size: .88rem;
  font-weight: 500;
  padding: .5rem 1.3rem;
  border-radius: 50px;
  margin-bottom: 1.6rem;
  letter-spacing: .03em;
}

.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
  max-width: 800px;
}
.hero__title-accent {
  color: var(--clr-accent);
  display: block;
  font-style: italic;
  font-size: clamp(3.2rem, 7.5vw, 5.6rem);
}

.hero__desc {
  color: rgba(255,255,255,.78);
  font-size: 1.12rem;
  max-width: 520px;
  margin-bottom: 2.75rem;
  line-height: 1.85;
  font-weight: 300;
  text-align: center;
}

.hero__search { width: 100%; max-width: 740px; }

.search-box {
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,.97);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0,0,0,.4);
  overflow: hidden;
  width: 100%;
}

.search-field {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex: 1;
  min-width: 100px;
  padding: 1.1rem 1.15rem;
  transition: background var(--transition);
}
.search-field:hover { background: rgba(0,119,182,.04); }

.search-icon { font-size: 1.1rem; flex-shrink: 0; }

.search-field__inner {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
  text-align: left;
}
.search-field__inner label {
  font-size: .67rem;
  font-weight: 700;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: .09em;
  white-space: nowrap;
}
.search-field__inner input {
  border: none;
  outline: none;
  font-size: .9rem;
  font-weight: 500;
  color: var(--clr-dark);
  background: transparent;
  padding: 0;
  width: 100%;
  font-family: var(--ff-body);
  min-width: 0;
}
.search-field__inner input::placeholder { color: #bbb; font-weight: 400; }

.search-divider {
  width: 1px;
  background: var(--clr-gray-lt);
  align-self: stretch;
  margin-block: .65rem;
  flex-shrink: 0;
}

.search-btn {
  margin: .65rem;
  border-radius: var(--radius-sm);
  padding: .85rem 1.75rem;
  flex-shrink: 0;
  font-size: .93rem;
  font-weight: 700;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  z-index: 1;
}
.hero__scroll span {
  color: rgba(255,255,255,.45);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 2px; height: 52px;
  background: linear-gradient(to bottom, var(--clr-accent), transparent);
  border-radius: 2px;
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 1; transform: scaleY(1); }
  50%      { opacity: .3; transform: scaleY(.5); }
}

@media (max-width: 768px) {
  .search-box     { flex-direction: column; border-radius: var(--radius-md); }
  .search-divider { width: auto; height: 1px; margin: 0 1rem; align-self: auto; }
  .search-btn     { margin: .5rem; width: calc(100% - 1rem); justify-content: center; }
  .hero__scroll   { display: none; }
}