/* ==========================================================================
   DIA BONITO · retreat-guide.css
   /retreat-guide: benefit headline on the left and the sign-up form beside it
   above the fold (on phones: headline, small cover, then the form), with what
   you get, the cover and who wrote it below; further down, what's inside, a
   look at real pages, the free profit calculator and the proof. 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(16px, 3vw, 32px)) var(--gutter) clamp(40px, 5vw, 64px);
}

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

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

/* On phones the pack (cover + what you get) is split: the cover sits right
   under the headline, the list after the form. */
.rg-pack { display: contents; }
.rg-mock { grid-area: mock; }
.rg-get { grid-area: get; }

@media (min-width: 900px) {
  .rg-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    grid-template-areas: "intro form" "byline form" "pack form";
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(48px, 6vw, 88px);
    row-gap: 28px;
    align-items: start;
  }
  .rg-pack {
    grid-area: pack;
    display: flex;
    align-items: center;
    gap: clamp(24px, 3vw, 40px);
  }
  .rg-pack .rg-mock { flex: none; width: 190px; margin: 0; }
  .rg-pack .rg-get { flex: 1 1 auto; min-width: 0; }
}

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

.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: 22px 0 20px; }

.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;
}

.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: 190px; }
.rg-mock img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
  transform-origin: 50% 60%;
}
@media (max-width: 899px) {
  .rg-mock { max-width: 150px; padding-bottom: 6px; margin: 0; }
}

.rg-h3 {
  font-family: var(--serif);
  font-weight: 340;
  font-size: 22px;
  line-height: 1.2;
  color: var(--bone);
  margin: 0 0 12px;
}
.rg-get .rg-list li { font-size: 16px; padding: 10px 0 10px 34px; }
.rg-get .rg-checks li::before { top: 16px; }
/* The five items: name, page count, one quiet line about what it is. */
.rg-items { counter-reset: none; }
.rg-get .rg-items li { padding: 9px 0 9px 34px; line-height: 1.35; }
.rg-get .rg-items .rg-item-note { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--bone-3); }
.rg-items strong { font-weight: 500; color: var(--bone); }
.rg-pp {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lagoon);
  white-space: nowrap;
}
.rg-get .rg-items li:first-child strong { font-size: 18px; }
.rg-also { margin: 14px 0 0; font-family: var(--sans); font-size: 13px; line-height: 1.55; color: rgba(237, 231, 218, 0.78); }
.rg-get a, .rg-tool-body a { color: var(--lagoon); border-bottom: 1px solid var(--lagoon-dim); }

.rg-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 34em;
}
.rg-byline p {
  font-family: var(--serif);
  font-weight: 380;
  font-style: italic;
  font-size: 15px;
  line-height: 1.55;
  color: var(--bone-2);
  margin: 0;
}

/* ---------- the form ---------- */
.rg-formcol {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  background: rgba(237, 231, 218, 0.035);
}
.rg-formcol .rg-h2 { margin-bottom: 10px; }
.rg-sub {
  font-family: var(--serif);
  font-weight: 380;
  font-size: 16px;
  line-height: 1.55;
  color: var(--bone-2);
  margin-bottom: 4px;
}
.rg-hint {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--bone-3);
}

/* 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: 14px; gap: 16px; 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: 8px; }

/* Sea-glass button, full width. */
.rg-form .form-actions { margin-top: 2px; }
.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: 20px; padding: 32px 22px; }

.rg-formcol .inquire-error a { color: inherit; border-bottom: 1px solid currentColor; }
.rg-formcol .success-sub a { color: var(--lagoon); border-bottom: 1px solid var(--lagoon-dim); }

.rg-next {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(237, 231, 218, 0.78);
  margin-top: 28px;
}

.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-h2-gap { margin-top: clamp(40px, 5vw, 56px); }
.rg-inside { max-width: 640px; }

/* the calculator pointer */
.rg-tool, .rg-trust {
  padding: clamp(36px, 5vw, 56px) var(--gutter);
  border-top: 1px solid var(--line-soft);
}
.rg-trust { padding-bottom: var(--section-y); }
.rg-tool-body {
  font-family: var(--serif);
  font-weight: 380;
  font-size: 17px;
  line-height: 1.65;
  color: var(--bone-2);
  max-width: 40em;
}

.rg-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 640px;
  margin-top: 4px;
}
.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);
  margin: 0;
}
.rg-facts {
  list-style: none;
  max-width: 640px;
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
}
.rg-facts li {
  font-family: var(--serif);
  font-weight: 380;
  font-size: 17px;
  line-height: 1.55;
  color: var(--bone-2);
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.rg-cta-row { margin-top: 32px; }
.rg-cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--lagoon);
  border: 1px solid var(--lagoon);
  padding: 19px 40px;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.rg-cta:hover { background: var(--bone); border-color: var(--bone); }
@media (max-width: 479px) { .rg-cta { display: block; text-align: center; padding-left: 18px; padding-right: 18px; } }

/* ---------- phone step: consent checkbox and optional Turnstile ---------- */
.rg-form .rg-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 2px 0 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(237, 231, 218, 0.78);
  cursor: pointer;
}
.rg-check input[type=checkbox] {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--lagoon);
}
.rg-check span { padding-top: 1px; }
.rg-turnstile:empty { display: none; }
.rg-formcol [hidden] { display: none !important; }
.rg-form .field .rg-hint { max-width: 36em; }

/* ---------- phones: nothing wider than the screen (2026-10-03) ----------
   The single column used to size itself to its widest child, the 300px
   Turnstile widget plus the card's padding, so at 360px and below the page
   scrolled sideways and the headline ran to the edge. The column is now
   pinned to the screen and every item may shrink inside it; the human check
   switches to its compact size when the card is narrower than 300px
   (js/retreat-guide.js), and is clipped to the card as a last resort. */
.rg-hero-grid > *,
.rg-pack > * { min-width: 0; }
@media (max-width: 899px) {
  .rg-hero-grid { grid-template-columns: minmax(0, 1fr); }
}
.rg-turnstile { max-width: 100%; overflow: hidden; }
/* Phones: the form card reaches to 12px from the screen edges, with 16px
   inside, so the standard 300px human check fits from a 360px phone up. */
@media (max-width: 479px) {
  .rg-formcol {
    margin-left: calc(12px - var(--gutter));
    margin-right: calc(12px - var(--gutter));
    padding-left: 16px;
    padding-right: 16px;
  }
}
.rg-turnstile iframe { max-width: 100%; }

/* Button text: 12px floor, 13px on phones. */
.rg-cta { font-size: 12px; }
@media (max-width: 767px) {
  .rg-cta { font-size: 13px; letter-spacing: 0.2em; }
}

/* "Get the kit" under the lede jumps to the form. On a wide screen the form
   already sits beside the headline, so the button is for phones and tablets. */
.rg-cta-top { margin-top: 26px; }
@media (min-width: 900px) {
  .rg-cta-top { display: none; }
}
