/* Home hero: franja panorámica con el contenido funcional del index. */
.hero-kicker,
.hero-signal-band {
  display: none;
}

@media (min-width: 901px) {
  .hero {
    --hero-band-height: clamp(610px, 42vw, 720px);
    position: relative;
    min-height: 0;
    display: block;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    border: 0;
    outline: 0;
    background: #0f192b;
    box-shadow: none;
  }

  .hero::before {
    z-index: 1;
    background: linear-gradient(
      90deg,
      #0f192b 0%,
      rgba(15, 25, 43, 0.99) 20%,
      rgba(15, 25, 43, 0.94) 32%,
      rgba(15, 25, 43, 0.78) 43%,
      rgba(15, 25, 43, 0.48) 54%,
      rgba(15, 25, 43, 0.18) 66%,
      transparent 79%
    );
    opacity: 1;
    mask-image: none;
  }

  .hero::after {
    z-index: 1;
    background:
      radial-gradient(ellipse 70% 95% at 92% 50%, rgba(255, 196, 128, 0.1), transparent 65%),
      linear-gradient(180deg, rgba(15, 25, 43, 0.2), transparent 14%, transparent 84%, rgba(13, 23, 40, 0.4));
  }

  .hero-grid {
    position: static;
    display: block;
    min-height: var(--hero-band-height);
    border: 0;
    outline: 0;
    box-shadow: none;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    width: min(900px, 75%);
    max-width: none;
    min-height: var(--hero-band-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: clamp(28px, 4vh, 46px) 0;
    border: 0;
    outline: 0;
    box-shadow: none;
  }

  .hero .pilot-banner,
  .hero-copy::after,
  .hero-badges {
    display: none !important;
  }

  .hero-kicker {
    order: -9;
    display: inline-flex;
    width: fit-content;
    margin: 0 0 20px;
    padding: 7px 14px;
    border: 1px solid rgba(0, 169, 157, 0.45);
    border-radius: 999px;
    background: rgba(0, 169, 157, 0.14);
    color: #38d5ca;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .hero-copy h1 {
    order: -8;
    max-width: 840px;
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(2.75rem, 4.4vw, 3.7rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
    text-wrap: balance;
  }

  .hero-copy h1 span {
    color: var(--teal);
  }

  .hero-text {
    order: -7;
    max-width: 680px;
    margin: 0 0 28px;
    color: #c7cfdb;
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 1.55;
  }

  .hero-search {
    order: -6;
    width: min(880px, 100%);
    margin: 0;
    padding: 16px 17px 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
  }

  .search-form {
    grid-template-columns: minmax(0, 1.6fr) minmax(210px, 1fr) auto;
    gap: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .search-form .field-group {
    min-height: 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 9px 13px 10px;
    border: 1px solid transparent;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
  }

  .search-form .field-group-location {
    border-left: 1px solid transparent;
  }

  .search-form .field-group:focus-within {
    border-color: var(--teal);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 169, 157, 0.25);
  }

  .search-form .field-label-stack {
    min-height: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }

  .search-form .field-label-title {
    color: #5b6672;
    font-size: 0.7rem;
    font-weight: 800;
  }

  .search-form .field-badge {
    display: inline-flex;
    align-items: center;
    line-height: 1.45;
    white-space: nowrap;
  }

  .search-form .field-badge--required {
    padding: 1px 6px;
    border-radius: 999px;
    background: #e3edff;
    color: var(--blue);
    font-size: 0.58rem;
    font-weight: 800;
  }

  .search-form .field-badge--optional {
    color: #8c97a6;
    font-size: 0.67rem;
    font-weight: 500;
  }

  .search-form .field-hint {
    display: none;
  }

  .search-form .field-group input {
    min-height: 24px;
    padding: 3px 0 0;
    border: 0;
    color: #0c1f3f;
    font-size: 0.9rem;
    font-weight: 600;
  }

  .search-form .field-group input::placeholder {
    color: #98a2b0;
    font-weight: 500;
  }

  .search-form .location-button {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    border: 0;
    background: transparent;
  }

  .search-form .location-button-icon {
    color: #5b6672;
  }

  .search-form .btn,
  .search-form-submit {
    grid-column: auto;
    min-width: 180px;
    min-height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0;
    padding: 0 22px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--blue) 0%, #087fe0 48%, var(--teal) 100%);
    box-shadow: 0 12px 26px rgba(0, 119, 190, 0.4);
    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .search-form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(0, 145, 164, 0.5);
  }

  .search-submit-icon {
    flex: 0 0 auto;
  }

  .hero-search-foot {
    gap: 0;
    margin-top: 13px;
  }

  .hero-search .search-helper {
    max-width: 760px;
    color: #aeb9c9;
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .hero .hero-search-foot .service-quick-picks {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 7px;
    min-width: 0;
    margin-top: 13px;
  }

  .hero .hero-search-foot .service-quick-label {
    flex: 0 0 auto;
    color: #e8edf4;
    font-size: 0.8rem;
    font-weight: 800;
  }

  .hero .hero-search-foot .service-quick-meta {
    flex: 0 0 auto;
    margin-right: 2px;
    color: #8f9bad;
    font-size: 0.7rem;
  }

  .hero .hero-search-foot .service-quick-strip {
    display: contents;
  }

  .hero .hero-search-foot .service-quick-thumb {
    width: auto;
    flex-direction: row;
    gap: 6px;
    padding: 6px 11px 6px 7px;
    border: 1px solid rgba(0, 169, 157, 0.4);
    border-radius: 999px;
    background: rgba(0, 169, 157, 0.12);
    color: #effffa;
    box-shadow: none;
    backdrop-filter: blur(10px);
  }

  .hero .hero-search-foot .service-quick-thumb:hover {
    background: rgba(0, 169, 157, 0.22);
    box-shadow: 0 4px 14px rgba(0, 169, 157, 0.25);
    transform: translateY(-1px);
  }

  .hero .hero-search-foot .service-quick-thumb .service-thumb--pick {
    --thumb-size: 21px;
    border-radius: 50%;
    box-shadow: none;
  }

  .hero .hero-search-foot .service-quick-thumb__label {
    max-width: none;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .hero-media {
    position: absolute;
    z-index: 0;
    inset: 0 0 auto auto;
    width: 82%;
    height: var(--hero-band-height);
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0;
    box-shadow: none !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.05) 8%, rgba(0, 0, 0, 0.14) 18%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.48) 42%, rgba(0, 0, 0, 0.66) 54%, rgba(0, 0, 0, 0.82) 64%, rgba(0, 0, 0, 0.94) 72%, #000 80%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.05) 8%, rgba(0, 0, 0, 0.14) 18%, rgba(0, 0, 0, 0.3) 30%, rgba(0, 0, 0, 0.48) 42%, rgba(0, 0, 0, 0.66) 54%, rgba(0, 0, 0, 0.82) 64%, rgba(0, 0, 0, 0.94) 72%, #000 80%);
  }

  .hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% center;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0;
    box-shadow: none !important;
    filter: none !important;
    transform: none;
    clip-path: none;
    mask-image: none;
  }

  .hero-media::before,
  .hero-media::after,
  .hero-float-stack {
    display: none;
  }

  .hero-signal-band {
    position: relative;
    z-index: 3;
    display: block;
    border-top: 1px solid #dfe8f1;
    border-bottom: 1px solid #dfe8f1;
    background: #f8fbff;
  }

  .hero-signals {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-signal {
    min-height: 82px;
    padding: 17px 22px;
    border-left: 1px solid #e1e9f2;
  }

  .hero-signal:last-child {
    border-right: 1px solid #e1e9f2;
  }

  .hero-signal strong,
  .hero-signal small {
    display: block;
  }

  .hero-signal strong {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.1;
  }

  .hero-signal:first-child strong,
  .hero-signal:nth-child(3) strong {
    color: var(--teal);
  }

  .hero-signal small {
    margin-top: 6px;
    color: #627086;
    font-size: 0.64rem;
    line-height: 1.3;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .hero-copy {
    width: 82%;
  }

  .hero-copy h1 {
    max-width: 720px;
    font-size: clamp(2.5rem, 4.6vw, 3.25rem);
  }

  .hero-search {
    width: min(820px, 100%);
  }

  .search-form {
    grid-template-columns: minmax(0, 1.4fr) minmax(190px, 0.9fr) auto;
  }

  .search-form .btn,
  .search-form-submit {
    min-width: 156px;
    padding-inline: 16px;
  }
}

@media (min-width: 1600px) {
  .hero-copy {
    width: min(940px, 72%);
  }

  .hero-copy h1 {
    font-size: 3.85rem;
  }
}
