/* ==========================================================================
   Crown of Caribbean — theme v3 (Phase B finish pass)
   Conservative Four-Seasons-register refinements on top of theme-v2.
   Remove this link in Shell.astro to revert the entire pass.
   ========================================================================== */

/* Squarer primary geometry — luxury sites run near-zero radius. Pills and
   photo cards keep their rounding; only buttons change. */
.btn {
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* One step more scale contrast and air. */
h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
}

.section {
  padding: clamp(3.5rem, 8vw, 6.25rem) 0;
}

.site-head__in {
  padding: 1.15rem 0;
}

.kick {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

/* --- Obvious cards (v25) --------------------------------------------------
   The whole card is clickable via a stretched title link, and each card
   carries a real button CTA. The button sits above the stretch overlay. */

.mcard {
  position: relative;
  cursor: pointer;
}

.mcard__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.mcard__foot .btn {
  position: relative;
  z-index: 1;
  padding: 0.62rem 1.15rem;
  font-size: 0.9rem;
}

.mcard__direct {
  color: var(--ink-3);
  font-size: 0.85rem;
}

/* Card CTA joins the terracotta booking-action family. */
.mcard__foot .btn {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--white);
}

.mcard__foot .btn:hover {
  background: #a95f2c;
  border-color: #a95f2c;
  color: var(--white);
}

/* --- Experiences hub (B2) -------------------------------------------------- */

.xp {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: clamp(13rem, 24vw, 19rem);
  gap: 0.75rem;
}

.xp__tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: var(--sea-deep);
  isolation: isolate;
}

.xp__tile--wide {
  grid-column: span 2;
}

.xp__tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.xp__tile:hover img {
  transform: scale(1.04);
}

.xp__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(#06201e00 35%, #06201ecc 100%);
  z-index: 1;
}

.xp__overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.1rem 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.xp__label {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.xp__line {
  color: #dcebe8;
  font-size: 0.9rem;
  max-width: 52ch;
}

.xp__go {
  color: #f0c9a8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.35rem;
}

/* Typographic tile (no photo yet — swaps for an image later) */
.xp__tile--type {
  background:
    radial-gradient(120% 90% at 15% 10%, #14746d 0%, transparent 60%),
    linear-gradient(#0d4f4a 0%, #072e2c 100%);
}

.xp__type {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 0;
  padding: 1.25rem;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: #a7d8d2;
  opacity: 0.85;
}

@media (width <= 46rem) {
  .xp {
    grid-template-columns: 1fr;
    grid-auto-rows: 12rem;
  }

  .xp__tile--wide {
    grid-column: span 1;
  }
}

/* --- Footer social icons (v29) -------------------------------------------- */

.site-foot .social {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.site-foot .social a {
  color: #8fa5a0;
  display: inline-flex;
  padding: 0.15rem;
  transition: color 0.15s, transform 0.15s;
}

.site-foot .social a:hover {
  color: var(--sun);
  transform: translateY(-1px);
}

/* --- Guest reviews — herd section (v30) ------------------------------------ */

.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

@media (width <= 60rem) {
  .rev-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width <= 42rem) {
  .rev-grid {
    grid-template-columns: 1fr;
  }
}

.rev {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.35rem 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.rev__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.rev__stars {
  color: var(--sun);
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.rev__badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b6250;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  white-space: nowrap;
}

.rev__badge--villa {
  color: #fff;
  background: var(--sea);
  border-color: var(--sea);
}

.rev__quote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.55;
  color: var(--ink);
}

.rev__meta {
  margin-top: auto;
  font-size: 0.85rem;
  color: #6f7c78;
  letter-spacing: 0.02em;
}

/* --- Ask the owners — inquiry form (v32) ----------------------------------- */

.section--ask {
  background: var(--sea-deep, #0b3f3b);
}

.ask {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

@media (width <= 54rem) {
  .ask {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

.ask__intro .kick {
  color: #e9b98a;
}

.ask__intro h2,
.ask__intro p {
  color: #f3f7f6;
}

.ask__intro p {
  color: #cfe3e0;
  max-width: 40ch;
}

.ask__alt a {
  color: #fff;
  text-decoration-color: #e9b98a;
}

.ask__form {
  background: var(--white);
  border-radius: 8px;
  padding: 1.6rem 1.7rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 22px 54px #04201d59;
}

.ask__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (width <= 30rem) {
  .ask__row {
    grid-template-columns: 1fr;
  }
}

.ask__form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4b5a56;
}

.ask__form label span {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #8a938f;
}

.ask__form input,
.ask__form textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.7rem 0.85rem;
}

.ask__form input:focus-visible,
.ask__form textarea:focus-visible {
  outline: 2px solid var(--sea);
  outline-offset: 1px;
  background: #fff;
}

.ask__form .btn {
  background: var(--sun);
  border-color: var(--sun);
  color: #fff;
  align-self: flex-start;
  padding: 0.85rem 1.6rem;
}

.bp-field-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
