/*
 * MEISTER Marbella v1.1.4 — MEISTIA DATE HERO
 * La fotografía sigue siendo un recurso real; textos y acciones son HTML accesible.
 * El alcance móvil está aislado para preservar la composición de escritorio.
 */

.hero-mobile-conversion {
  display: none;
}

@media (min-width: 768px) and (max-width: 1180px) {
  .home .site-header .mobile-site-title strong {
    display: block;
  }

  .home .site-header .mobile-site-title small {
    display: none;
  }
}

@media (max-width: 767px) {
  .home .site-header {
    background: #050505 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .home .site-header .nav-wrap {
    grid-template-columns: 58px minmax(0, 1fr) 58px !important;
    min-height: 76px !important;
    height: 76px !important;
    padding: 0 10px !important;
  }

  .home .site-header .brand,
  .home .site-header .menu-toggle {
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
  }

  .home .site-header .brand img {
    width: 52px !important;
    max-width: 52px !important;
    max-height: 30px !important;
  }

  .home .site-header .mobile-site-title {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  .home .site-header .mobile-site-title strong {
    display: block;
    width: 100%;
    color: #fff;
    font-size: clamp(12px, 3.7vw, 16px);
    font-weight: 750;
    line-height: 1;
    letter-spacing: .005em;
    text-align: center;
    white-space: nowrap;
  }

  .home .site-header .mobile-site-title small {
    display: block;
    width: calc(100vw - 132px);
    color: rgba(255, 255, 255, .68);
    font-size: clamp(8px, 2.25vw, 10.5px);
    font-weight: 450;
    line-height: 1;
    letter-spacing: -.01em;
    text-align: center;
    white-space: nowrap;
  }

  .home .site-header .menu-toggle span {
    left: 9px !important;
    width: 34px !important;
    height: 1.5px !important;
  }

  .home .site-header .menu-toggle span:first-child {
    top: 19px !important;
  }

  .home .site-header .menu-toggle span:last-child {
    top: 31px !important;
  }

  .home .hero--lead {
    background: #050505 !important;
  }

  .home .hero-mobile-visual {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 430px !important;
    height: 62svh !important;
    max-height: 660px !important;
    padding-top: 76px !important;
    overflow: hidden !important;
    background: #080808 !important;
  }

  .home .hero-mobile-visual::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 76px 0 0;
    background: linear-gradient(180deg, transparent 49%, rgba(0, 0, 0, .17) 66%, rgba(0, 0, 0, .9) 100%);
    pointer-events: none;
  }

  .home .hero-mobile-visual img {
    position: absolute !important;
    inset: 76px 0 0 !important;
    display: block !important;
    width: 100% !important;
    height: calc(100% - 76px) !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center 54% !important;
    filter: saturate(.94) contrast(1.02) brightness(1.01) !important;
  }

  .home .hero-mobile-conversion {
    position: absolute;
    z-index: 2;
    left: 16px;
    right: 16px;
    bottom: 18px;
    display: block;
  }

  .home .hero-mobile-conversion > p {
    margin: 0 0 12px;
    color: #f59a00;
    font-size: clamp(10px, 2.8vw, 13px);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: .15em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
  }

  .home .hero-mobile-conversion-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home .hero-mobile-conversion-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    min-height: 58px;
    padding: 10px 12px;
    border-radius: 7px;
    font-size: clamp(11px, 3.25vw, 14px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: .02em;
    text-align: center;
    white-space: nowrap;
    transition: transform .18s ease, filter .18s ease, border-color .18s ease;
  }

  .home .hero-mobile-conversion-actions a:active {
    transform: scale(.98);
  }

  .home .hero-mobile-conversion-actions a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
  }

  .home .hero-mobile-conversion-actions svg {
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .home .hero-date-button {
    border: 1px solid #f59a00;
    background: #f59a00;
    color: #080808 !important;
  }

  .home .hero-location-button {
    border: 1px solid rgba(255, 255, 255, .92);
    background: rgba(0, 0, 0, .58);
    color: #fff !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .home .hero-lead-shell {
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: #050505 !important;
  }

  .home .hero--lead .hero-content {
    padding: 31px 18px 30px !important;
    background: #050505 !important;
  }

  .home .hero--lead .hero-content > .eyebrow,
  .home .hero--lead .hero-proof,
  .home .hero--lead .hero-social-mobile {
    display: none !important;
  }

  .home .hero--lead .hero-content h1 {
    max-width: 620px;
    margin: 0 0 17px !important;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(43px, 13.2vw, 63px) !important;
    font-weight: 400;
    line-height: .95 !important;
    letter-spacing: -.055em !important;
    text-transform: none !important;
  }

  .home .hero--lead .hero-sub {
    max-width: 560px;
    margin: 0 !important;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(15px, 4.1vw, 18px) !important;
    line-height: 1.52 !important;
  }

  .home .j7-lead-concierge {
    margin-top: 4px !important;
  }
}

@media (max-width: 374px) {
  .home .site-header .nav-wrap {
    grid-template-columns: 52px minmax(0, 1fr) 52px !important;
    padding-inline: 7px !important;
  }

  .home .site-header .mobile-site-title strong {
    font-size: 11px;
  }

  .home .site-header .mobile-site-title small {
    width: calc(100vw - 116px);
    font-size: 7.6px;
  }

  .home .hero-mobile-visual {
    min-height: 418px !important;
    height: 64svh !important;
  }

  .home .hero-mobile-conversion {
    left: 12px;
    right: 12px;
    bottom: 14px;
  }

  .home .hero-mobile-conversion-actions {
    gap: 7px;
  }

  .home .hero-mobile-conversion-actions a {
    min-height: 54px;
    padding-inline: 8px;
    font-size: 10.5px;
  }

  .home .hero-mobile-conversion-actions svg {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .hero-mobile-conversion-actions a {
    transition: none;
  }
}
