/* ==========================================================================
   Real Deal: inner-page additions (Contact page). Proposed; loads with tour.css
   on flagged pages only. Everything else on the inner pages reuses components.css.
   ========================================================================== */

/* Contact options: four equal cards */
body .elementor .e-con.rdbt-contact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; width: 100%; max-width: var(--rdbt-wide); margin: 0 auto; }
body .elementor .elementor-widget.rdbt-contact__item { height: 100%; }
body .elementor .rdbt-contact__item .rdbt-contact__card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 28px 26px; background: #FFFFFF; border: 1px solid var(--rdbt-line); border-radius: var(--rdbt-radius); text-decoration: none; color: var(--rdbt-ink); transition: border-color .2s ease, box-shadow .2s ease; }
body .elementor .rdbt-contact__item a.rdbt-contact__card:hover,
body .elementor .rdbt-contact__item a.rdbt-contact__card:focus-visible { border-color: var(--rdbt-accent); box-shadow: 0 14px 30px -22px rgba(0, 42, 78, .45); }
body .elementor .rdbt-contact__label { font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rdbt-accent-ink); }
body .elementor .rdbt-contact__value { font-family: var(--rdbt-font-display); font-size: 1.3125rem; line-height: 1.3; color: var(--rdbt-ink); overflow-wrap: anywhere; }
body .elementor .rdbt-contact__hint { margin-top: auto; padding-top: 8px; font-size: .9375rem; color: var(--rdbt-ink-muted); }
@media (max-width: 1024px) { body .elementor .e-con.rdbt-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { body .elementor .e-con.rdbt-contact { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* Message section: copy beside the form */
body .elementor .e-con.rdbt-message { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; width: 100%; max-width: var(--rdbt-wide); margin: 0 auto; }
body .elementor .e-con.rdbt-message__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
body .elementor .rdbt-message__form .wpforms-field { margin: 0 0 18px; padding: 0; }
body .elementor .rdbt-message__form label { display: block; margin-bottom: 8px; font-weight: 700; font-size: .9375rem; color: var(--rdbt-ink); }
body .elementor .rdbt-message__form label .wpforms-required-label { color: var(--rdbt-cta); }
body .elementor .rdbt-message__form input, body .elementor .rdbt-message__form textarea { width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid var(--rdbt-line); border-radius: var(--rdbt-radius); background: #FFFFFF; font: inherit; font-size: 1rem; color: var(--rdbt-ink); }
body .elementor .rdbt-message__form textarea { min-height: 160px; resize: vertical; }
body .elementor .rdbt-message__form input:focus-visible, body .elementor .rdbt-message__form textarea:focus-visible { outline: 2px solid var(--rdbt-accent); outline-offset: 1px; border-color: var(--rdbt-accent); }
body .elementor .rdbt-message__form button[type=submit] { min-height: 54px; padding: 16px 34px; border: 0; border-radius: var(--rdbt-radius); background: var(--rdbt-cta); color: #FFFFFF; font: 700 .9375rem/1 var(--rdbt-font-body); letter-spacing: .07em; text-transform: uppercase; cursor: pointer; }
body .elementor .rdbt-message__form button[type=submit]:hover { background: var(--rdbt-cta-hover); }
@media (max-width: 900px) { body .elementor .e-con.rdbt-message { grid-template-columns: minmax(0, 1fr); } body .elementor .rdbt-message__form button[type=submit] { width: 100%; } }

/* Three option cards (Private Charters hub) */
body .elementor .e-con.rdbt-tours.rdbt-tours--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1200px; }
body .elementor .rdbt-tours--three .elementor-widget.rdbt-tour-card__media { aspect-ratio: 3 / 2; }
@media (max-width: 1024px) { body .elementor .e-con.rdbt-tours.rdbt-tours--three { grid-template-columns: minmax(0, 1fr); max-width: 620px; } }

/* Itinerary: six stops in a calm grid (All-Inclusive) */
body .elementor .e-con.rdbt-itinerary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; width: 100%; max-width: var(--rdbt-wide); margin: 0 auto; }
body .elementor .elementor-widget.rdbt-itinerary__item { padding-top: 20px; border-top: 2px solid var(--rdbt-accent); }
body .elementor .rdbt-itinerary__item h3 { margin: 0 0 10px; font-family: var(--rdbt-font-display); font-weight: 400; font-size: 1.4375rem; line-height: 1.25; color: var(--rdbt-ink); }
body .elementor .rdbt-itinerary__item p { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--rdbt-ink-muted); }
@media (max-width: 1024px) { body .elementor .e-con.rdbt-itinerary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { body .elementor .e-con.rdbt-itinerary { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
body .elementor .rdbt-tours--three .e-con.rdbt-tour-card__actions { flex-direction: column; align-items: stretch; gap: 14px; }
body .elementor .rdbt-tours--three .rdbt-tour-card__actions .elementor-widget-button .elementor-button { width: 100%; }

/* ---------- Corrections round 1 ---------- */

/* Deeper hero shade (opt-in) for busy or bright photographs: keeps hero text at WCAG AA on desktop and tablet */
@media (min-width: 768px) {
  body .elementor .e-con.rdbt-hero.rdbt-hero--deep::after {
    background: linear-gradient(90deg, rgba(0, 26, 48, 0.9) 0%, rgba(0, 26, 48, 0.82) 34%, rgba(0, 26, 48, 0.48) 58%, rgba(0, 26, 48, 0.12) 78%, rgba(0, 26, 48, 0) 90%),
                linear-gradient(0deg, rgba(0, 26, 48, 0.35) 0%, rgba(0, 26, 48, 0) 32%);
  }
}

/* Quote / contact button: clearly not a booking action (red stays reserved for booking) */
body .elementor .elementor-widget-button.rdbt-w-quote .elementor-button { background: var(--rdbt-deep); border-color: var(--rdbt-deep); color: #FFFFFF; }
body .elementor .elementor-widget-button.rdbt-w-quote .elementor-button:hover,
body .elementor .elementor-widget-button.rdbt-w-quote .elementor-button:focus-visible { background: #001B33; border-color: #001B33; color: #FFFFFF; }
body .elementor .rdbt-hero .elementor-widget-button.rdbt-w-quote .elementor-button { background: #FFFFFF; border-color: #FFFFFF; color: var(--rdbt-deep); }
body .elementor .rdbt-hero .elementor-widget-button.rdbt-w-quote .elementor-button:hover,
body .elementor .rdbt-hero .elementor-widget-button.rdbt-w-quote .elementor-button:focus-visible { background: var(--rdbt-surface); border-color: var(--rdbt-surface); color: var(--rdbt-deep); }

/* Quote pages on phones: keep the quote button in the hero (WhatsApp stays in the bar) */
@media (max-width: 767px) {
  body .elementor .rdbt-hero--tour.rdbt-hero--quote .e-con.rdbt-hero__actions { display: flex; }
  body .elementor .rdbt-hero--quote .rdbt-hero__actions > .elementor-widget-button.rdbt-w-ghost { display: none; }
}
/* A page-level quote bar replaces the site-wide booking bar on quote pages */
body:has(.rdbt-mobile-bar--quote) #site-header .rdbt-mobile-bar { display: none !important; }

/* All-Inclusive itinerary: the homepage "Real Deal Difference" pattern in three columns */
body .elementor .e-con.rdbt-diff.rdbt-diff--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body .elementor .rdbt-diff--three .elementor-widget.rdbt-diff__item { border-left: 1px solid var(--rdbt-line); padding-left: clamp(20px, 2.4vw, 36px); }
body .elementor .rdbt-diff--three .elementor-widget.rdbt-diff__item:nth-child(3n+1) { border-left: 0; padding-left: 0; }
body .elementor .rdbt-diff--three .elementor-widget.rdbt-diff__item:nth-child(n+4) { border-top: 1px solid var(--rdbt-line); }
@media (max-width: 1024px) {
  body .elementor .e-con.rdbt-diff.rdbt-diff--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .elementor .rdbt-diff--three .elementor-widget.rdbt-diff__item:nth-child(3n+1) { border-left: 1px solid var(--rdbt-line); padding-left: clamp(20px, 2.4vw, 36px); }
  body .elementor .rdbt-diff--three .elementor-widget.rdbt-diff__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  body .elementor .rdbt-diff--three .elementor-widget.rdbt-diff__item:nth-child(n+3) { border-top: 1px solid var(--rdbt-line); }
}
@media (max-width: 767px) {
  body .elementor .e-con.rdbt-diff.rdbt-diff--three { grid-template-columns: minmax(0, 1fr); }
  body .elementor .rdbt-diff--three .elementor-widget.rdbt-diff__item { border-left: 0 !important; padding-left: 0 !important; }
  body .elementor .rdbt-diff--three .elementor-widget.rdbt-diff__item + .elementor-widget.rdbt-diff__item { border-top: 1px solid var(--rdbt-line); }
}

/* Two heading steps for cards: 21 px compact listing cards (homepage), 24 px feature titles (homepage Difference size) */
body .elementor .rdbt-tours--two .elementor-widget.rdbt-tour-card__title .elementor-heading-title,
body .elementor .rdbt-tours--three .elementor-widget.rdbt-tour-card__title .elementor-heading-title,
body .elementor .elementor-widget.rdbt-inc__title .elementor-heading-title { font-size: 1.5rem; }

/* Owner photo placeholder: clearly marked until a high-resolution original is supplied */
body .elementor .rdbt-owner__photo .rdbt-photo-ph { display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; aspect-ratio: 4 / 5; padding: 28px; background: repeating-linear-gradient(135deg, #EAF1F3 0 14px, #DCE7EB 14px 28px); border: 2px dashed var(--rdbt-accent); border-radius: var(--rdbt-radius); color: var(--rdbt-ink); text-align: center; font: 600 15px/1.5 var(--rdbt-font-body); }
body .elementor .rdbt-owner__photo .rdbt-photo-ph strong { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rdbt-accent-ink); }
