﻿#caribxa-hero { width: 100%; background: var(--caribxa-navy); overflow: hidden; }
#caribxa-hero-gallery {
  width: 100%;
  min-height: 770px;
  display: grid;
  grid-template-columns: minmax(440px, 2.25fr) repeat(4, minmax(150px, 1fr));
}
.caribxa-hero-panel {
  position: relative;
  min-width: 0;
  min-height: 770px;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  isolation: isolate;
}
.caribxa-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 24, 35, 0.02), rgba(0, 32, 48, 0.5));
}
.caribxa-hero-panel-main { margin-right: -58px; clip-path: none; z-index: 4; }
.caribxa-hero-panel-main::before { display: none; }
.caribxa-hero-dark-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(3, 37, 54, 0.96), rgba(3, 72, 90, 0.8), rgba(3, 72, 90, 0.24)), linear-gradient(0deg, rgba(3, 37, 54, 0.58), rgba(3, 37, 54, 0.08));
}
.caribxa-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 750px;
  min-height: 770px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 64px 84px;
  color: var(--caribxa-white);
}
.caribxa-hero-eyebrow {
  margin: 0 0 18px;
  color: var(--caribxa-teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 900;
  font-style: italic;
}
.caribxa-hero-title {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.7rem;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}
.caribxa-hero-description {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.22rem;
  line-height: 1.65;
  font-weight: 700;
}
.caribxa-hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.caribxa-hero-button-arrow { width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 999px; background: rgba(255, 255, 255, 0.18); }
#caribxa-hero-search {
  width: 100%;
  max-width: 590px;
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 8px;
  border-radius: 999px;
  background: var(--caribxa-white);
  box-shadow: 0 22px 50px rgba(0, 20, 35, 0.34);
}
.caribxa-hero-search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
#caribxa-hero-search-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  border: 0;
  outline: none;
  padding: 0 18px;
  border-radius: 999px;
  background: transparent;
  color: var(--caribxa-ink);
  font-weight: 800;
}
#caribxa-hero-search-button {
  flex: 0 0 auto;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--caribxa-coral);
  color: var(--caribxa-white);
  font-weight: 900;
}
#caribxa-hero-search-message { min-height: 22px; margin: 12px 0 0; color: rgba(255, 255, 255, 0.86); font-weight: 800; }
.caribxa-hero-location { position: absolute; left: 24px; right: 14px; bottom: 32px; z-index: 2; display: flex; align-items: center; gap: 12px; color: var(--caribxa-white); }
.caribxa-hero-location-icon { width: 30px; height: 30px; flex: 0 0 auto; border: 2px solid var(--caribxa-white); border-radius: 50%; position: relative; }
.caribxa-hero-location-icon::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--caribxa-teal); }
.caribxa-hero-location strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.02rem; line-height: 1.05; }
.caribxa-hero-location small { display: block; margin-top: 2px; font-size: 0.74rem; font-weight: 900; text-transform: uppercase; }
#caribxa-hero-features { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: linear-gradient(135deg, #064861, #087995); color: var(--caribxa-white); }
.caribxa-hero-feature { min-height: 132px; display: flex; align-items: center; gap: 16px; padding: 26px 24px; border-right: 1px solid rgba(255, 255, 255, 0.2); text-decoration: none; transition: background 0.22s ease, transform 0.22s ease; }
.caribxa-hero-feature:last-child { border-right: 0; }
.caribxa-hero-feature:hover, .caribxa-hero-feature:focus-visible { background: rgba(255, 255, 255, 0.08); transform: translateY(-3px); outline: none; }
.caribxa-hero-feature-mark { width: 48px; height: 48px; flex: 0 0 auto; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); color: var(--caribxa-sun); font-size: 0.8rem; font-weight: 900; }
.caribxa-hero-feature strong, .caribxa-hero-feature small { display: block; }
.caribxa-hero-feature strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; line-height: 1.15; }
.caribxa-hero-feature small { margin-top: 6px; color: rgba(255, 255, 255, 0.82); font-size: 0.9rem; line-height: 1.35; }
@media (max-width: 1220px) {
  #caribxa-hero-gallery { grid-template-columns: minmax(420px, 1.7fr) repeat(3, minmax(130px, 1fr)); }
  .caribxa-hero-panel:nth-child(5) { display: none; }
  #caribxa-hero-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .caribxa-hero-feature { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
}
@media (max-width: 900px) {
  #caribxa-hero-gallery { display: block; }
  .caribxa-hero-panel { display: none; clip-path: none; }
  .caribxa-hero-panel-main { display: block; min-height: auto; margin-right: 0; }
  .caribxa-hero-content { max-width: none; min-height: auto; padding: 72px 24px 76px; }
  .caribxa-hero-title { font-size: 3.35rem; }
  .caribxa-hero-description { font-size: 1.06rem; }
  .caribxa-hero-buttons { align-items: stretch; flex-direction: column; }
  #caribxa-hero-search { max-width: none; border-radius: var(--caribxa-radius); flex-direction: column; align-items: stretch; }
  #caribxa-hero-search-input, #caribxa-hero-search-button { width: 100%; border-radius: var(--caribxa-radius); }
  #caribxa-hero-features { grid-template-columns: 1fr; }
  .caribxa-hero-feature { min-height: 102px; }
}
@media (max-width: 520px) {
  .caribxa-hero-content { padding: 56px 18px 62px; }
  .caribxa-hero-title { font-size: 2.55rem; }
}
