/**
 * LaMilka Tour 0.4.85 — mobile icon sharpening, desktop hero alignment,
 * and Riviera News CTA-card parity refinements.
 *
 * Scope:
 * - sharpen the approved WhatsApp/message-bubble marks by switching from PNG
 *   artwork to crisp SVG assets;
 * - keep the homepage mobile WhatsApp bubble hidden until the existing v0.4.83
 *   threshold reveals it;
 * - reduce mobile hero button label and icon weight slightly;
 * - align the desktop hero headings of Private Tours, About Us, Contact Us,
 *   and My Booking to the same top position and typography used by About Us;
 * - crop the desktop Private Tours hero slightly further from the top;
 * - match the Riviera News desktop offer cards to the supplied Lovable layout.
 */

/* --------------------------------------------------------------------------
   Crisp message-bubble assets.
   -------------------------------------------------------------------------- */
a.lamilka-header-icon.lamilka-whatsapp-bubble--header::before {
  background-image: url("../icons/whatsapp-chat-outline-dark-v085.svg") !important;
}

.lamilka-detail__mobile-whatsapp.lamilka-whatsapp-bubble--booking::before,
.lamilka-transfer__mobile-bar > a.lamilka-whatsapp-bubble--booking:first-child::before,
.lamilka-contact-source__mobile-wa.lamilka-whatsapp-bubble--fab::before,
.lamilka-home-mobile-whatsapp::before {
  background-image: url("../icons/whatsapp-chat-outline-green-v085.svg") !important;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Keep the green mark geometry but ensure the white outline feels lighter. */
@media (max-width: 767px) {
  .lamilka-detail__mobile-whatsapp.lamilka-whatsapp-bubble--booking::before,
  .lamilka-transfer__mobile-bar > a.lamilka-whatsapp-bubble--booking:first-child::before {
    width: 56px !important;
    height: 56px !important;
  }

  .lamilka-contact-source__mobile-wa.lamilka-whatsapp-bubble--fab::before {
    width: 48px !important;
    height: 48px !important;
  }

  .lamilka-home-mobile-whatsapp::before {
    background-image: url("../icons/whatsapp-chat-outline-green-v085.svg") !important;
  }
}

/* --------------------------------------------------------------------------
   Homepage mobile hero actions.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .lamilka-home .lamilka-home-mobile-actions .lamilka-home-action {
    padding-inline: 5px !important;
    gap: 4px !important;
    font-size: clamp(12.5px, 3.5vw, 14.5px) !important;
    font-weight: 400 !important;
    letter-spacing: -0.016em !important;
    line-height: 1.08 !important;
  }

  .lamilka-home .lamilka-home-mobile-actions .lamilka-home-action__icon {
    flex: 0 0 22px !important;
    width: 22px !important;
    height: 22px !important;
  }

  .lamilka-home .lamilka-home-mobile-actions .lamilka-home-action:nth-child(2) .lamilka-home-action__icon {
    flex-basis: 20px !important;
    width: 20px !important;
    height: 20px !important;
  }

  .lamilka-home .lamilka-home-mobile-actions .lamilka-home-action__icon svg {
    stroke-width: 1.48 !important;
    vector-effect: non-scaling-stroke;
    shape-rendering: geometricPrecision;
  }

  /* Preserve the delayed reveal so no floating bubble appears on initial load. */
  .lamilka-home-mobile-whatsapp:not(.is-visible) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* --------------------------------------------------------------------------
   Desktop hero alignment: Private Tours / About Us / Contact Us / My Booking.
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .lamilka-about__hero > div,
  .lamilka-private__hero-title,
  .lamilka-contact-source__hero > div {
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    inset: auto 0 0 0 !important;
    width: 100% !important;
    max-width: none !important;
    transform: none !important;
    display: grid !important;
    place-content: start center !important;
    padding: 36px 20px 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .lamilka-about__hero h1,
  .lamilka-private__hero-title h1,
  .lamilka-contact-source__hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem) !important;
    font-weight: 600 !important;
    letter-spacing: -0.035em !important;
    line-height: 1.05 !important;
    margin: 0 !important;
  }

  .lamilka-about__hero p,
  .lamilka-private__hero-title p,
  .lamilka-contact-source__hero p {
    font-size: clamp(1rem, 2vw, 1.35rem) !important;
    line-height: 1.7 !important;
    margin: 16px 0 0 !important;
  }

  .lamilka-private__hero,
  .lamilka-about__hero,
  .lamilka-contact-source__hero {
    min-height: 600px !important;
    height: 600px !important;
  }

  .lamilka-private__hero img {
    object-position: center 64% !important;
  }
}

/* --------------------------------------------------------------------------
   Riviera News desktop trust + CTA cards.
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .lamilka-riviera-news__offers {
    margin: 44px 0 0 !important;
  }

  .lamilka-riviera-news__trust {
    align-items: center !important;
    border-top: 1px solid #dce1e7 !important;
    border-bottom: 1px solid #dce1e7 !important;
    display: flex !important;
    gap: clamp(28px, 5vw, 88px) !important;
    justify-content: center !important;
    padding: 18px 0 22px !important;
    font-size: clamp(1rem, 1.4vw, 1.16rem) !important;
    font-weight: 600 !important;
    color: #172033 !important;
  }

  .lamilka-riviera-news__desktop-offers {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 36px !important;
    margin-top: 36px !important;
  }

  .lamilka-riviera-news__desktop-offers > a {
    aspect-ratio: 952 / 538 !important;
    min-height: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: 0 12px 28px rgba(15, 27, 61, 0.18) !important;
  }

  .lamilka-riviera-news__desktop-offers > a > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .lamilka-riviera-news__desktop-offers > a > span {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    padding: 74px 36px 36px !important;
    background: linear-gradient(to bottom, rgba(10, 17, 33, 0.56), rgba(10, 17, 33, 0.12) 34%, rgba(10, 17, 33, 0.34) 100%) !important;
  }

  .lamilka-riviera-news__desktop-offers h2 {
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(2.55rem, 3.8vw, 3.35rem) !important;
    font-weight: 600 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.26) !important;
  }

  .lamilka-riviera-news__desktop-offers b {
    margin-top: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 300px !important;
    min-height: 56px !important;
    padding: 14px 36px !important;
    border-radius: 20px !important;
    background: #efc75e !important;
    color: #0f1b3d !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12) !important;
  }
}
