/* ==========================================================================
   DIA BONITO · retreat-guide.css
   /retreat-guide: headline, three check bullets and the sign-up form on the
   left, the real planner cover on the right (form second on phones), then a
   look inside the guide with real pages. Form, button, success and error
   styles come from booking.css (.inquire-form) and style.css (.btn-submit),
   the same ones the retreat application uses; only their look is tuned here.
   ========================================================================== */

.rg-hero {
  padding: calc(var(--header-h) + clamp(24px, 4vw, 48px)) var(--gutter) clamp(40px, 5vw, 72px);
}

.rg-hero-grid {
  display: grid;
  gap: clamp(32px, 5vw, 48px);
  max-width: 1120px;
  margin: 0 auto;
}

.rg-intro { grid-area: intro; }
.rg-formcol { grid-area: form; }
.rg-mock { grid-area: mock; }

@media (min-width: 900px) {
  .rg-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    grid-template-areas: "intro mock" "form mock";
    column-gap: clamp(56px, 7vw, 96px);
    row-gap: 40px;
    align-items: start;
  }
  .rg-mock { position: sticky; top: calc(var(--header-h) + 24px); }
}

@media (max-width: 899px) {
  .rg-hero-grid { grid-template-areas: "intro" "form" "mock"; }
}

.rg-title {
  font-family: var(--serif);
  font-weight: 330;
  font-size: clamp(36px, 5.2vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--bone);
  text-wrap: balance;
}

.rg-intro .isl-hero-rule { margin: 26px 0 24px; }

.rg-lede {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.7;
  color: var(--bone-2);
  max-width: 34em;
  margin: 0 0 36px;
}

.rg-h2 {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(24px, 3.4vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--bone);
  margin-bottom: 16px;
}

.rg-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.rg-list li {
  font-family: var(--serif);
  font-weight: 380;
  font-size: 17px;
  line-height: 1.55;
  color: var(--bone-2);
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

/* Check bullets, drawn with borders so there is no extra file to load. */
.rg-checks li { position: relative; padding-left: 34px; }
.rg-checks li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 19px;
  width: 15px;
  height: 8px;
  border-left: 1.5px solid var(--lagoon);
  border-bottom: 1.5px solid var(--lagoon);
  transform: rotate(-45deg);
}

/* The real cover, a hair off level, lit from above. */
.rg-mock { margin: 0 auto; width: 100%; max-width: 460px; }
.rg-mock img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
  transform-origin: 50% 60%;
}
@media (max-width: 899px) {
  .rg-mock { max-width: 280px; padding-bottom: 8px; }
}

/* ---------- the form ---------- */
.rg-sub {
  font-family: var(--serif);
  font-weight: 380;
  font-size: 17px;
  line-height: 1.6;
  color: var(--bone-2);
  margin-bottom: 8px;
}

/* The shared form has its own top rule and generous top padding; tighten
   both because the heading sits right above it here. */
.rg-form { padding-top: 20px; gap: 22px; border-top: 0; }

/* Two fields, 48px square boxes with a hairline at 30 percent bone. */
.rg-form input[type=text],
.rg-form input[type=email],
.rg-form input[type=tel] {
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(237, 231, 218, 0.3);
  background: rgba(237, 231, 218, 0.03);
}
.rg-form input[type=text]:focus,
.rg-form input[type=email]:focus,
.rg-form input[type=tel]:focus { border-color: var(--lagoon); }
.rg-form .field { gap: 10px; }

/* Sea-glass button, full width. */
.rg-form .form-actions { margin-top: 6px; }
.rg-form .btn-submit {
  width: 100%;
  background: var(--lagoon);
  border-color: var(--lagoon);
  color: var(--ink);
  font-weight: 600;
}
.rg-form .btn-submit:hover:not(:disabled) { background: var(--bone); border-color: var(--bone); color: var(--ink); }

/* Honeypot: out of sight and out of the tab order, but not display:none,
   so simple bots still fill it in. */
.rg-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.rg-formcol .inquire-success,
.rg-formcol .inquire-error { margin-top: 28px; }

.rg-formcol .inquire-error a { color: inherit; border-bottom: 1px solid currentColor; }

.rg-next {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(237, 231, 218, 0.78);
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.rg-next a { color: var(--lagoon); border-bottom: 1px solid var(--lagoon-dim); }

/* ---------- a look inside ---------- */
.rg-look {
  padding: clamp(40px, 5vw, 64px) var(--gutter) var(--section-y);
  border-top: 1px solid var(--line-soft);
}
.rg-look-inner { max-width: 1120px; margin: 0 auto; }

.rg-thumbs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 3vw, 32px);
  max-width: 820px;
  margin-top: 8px;
}
.rg-thumbs img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
.rg-cap {
  display: block;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-2);
}
.rg-see { margin-top: 28px; font-family: var(--sans); font-size: 15px; }
.rg-see a { color: var(--lagoon); border-bottom: 1px solid var(--lagoon-dim); padding-bottom: 2px; }

.rg-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 640px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.rg-face { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.rg-proof p {
  font-family: var(--serif);
  font-weight: 380;
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: var(--bone-2);
}
