/* Sweet Earth Goa one-pager. The Carrd look (website-STATUS §2b): Josefin Sans, rose / sage / blush on white, airy.
   Only changes: body text darker and a little heavier, and a deeper rose button, so both read well on a phone in the sun.
   Contrast (on white): body #4a4a4a 9:1 · headings #5f8e87 3.7:1 (large text) · button #9c6553 with white 4.8:1. */

@font-face { font-family: "Josefin Sans"; font-weight: 300; font-style: normal; font-display: swap; src: url("/fonts/josefin-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Josefin Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/josefin-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Josefin Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/josefin-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Carrd colours */
  --rose: #d0ac9f;        /* accents, lines */
  --sage: #8bb3ae;
  --sage-pale: #bcc9c0;
  --blush: #f9e2d5;
  --blush-2: #f7d8cf;
  --sand: #ccc6b8;
  /* readable versions of the same colours */
  --rose-deep: #9c6553;   /* button, small labels */
  --rose-press: #85543f;
  --sage-deep: #5f8e87;   /* headings */
  --sage-dark: #4f7a74;   /* headings on soft panels */
  --text: #4a4a4a;        /* body (Carrd: 50% black) */
  --text-soft: #6b6b6b;   /* small print */
  --panel: #fcf1eb;       /* a lighter blush for whole sections */
  --line: #eadfd8;
  --error: #a4523f;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; background: var(--blush); }
a { color: var(--rose-deep); text-underline-offset: 3px; }
p { margin: 0 0 1em; }

h1, h2, h3 { font-weight: 300; color: var(--sage-deep); line-height: 1.15; letter-spacing: 0.005em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 8.5vw, 3.3rem); }
h2 { font-size: clamp(1.9rem, 6.5vw, 2.6rem); }
h3 { font-size: 1.75rem; }
.lead { font-size: 1.15rem; }
.small { font-size: 0.9rem; color: var(--text-soft); }
.kicker { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--rose-deep); margin: 0 0 0.4em; }

/* ---------- layout ---------- */
main > section { padding: 3.2rem 1.25rem; max-width: var(--max); margin: 0 auto; }
main > section.panel { max-width: none; background: var(--panel); }
main > section.panel > * { max-width: calc(var(--max) - 2.5rem); margin-left: auto; margin-right: auto; }
main > section.panel h2 { color: var(--sage-dark); }
.wide { width: 100%; border-radius: 14px; margin: 0 0 1.5rem; }

.top { padding: 0.9rem 1.25rem; max-width: var(--max); margin: 0 auto; }
.wordmark { color: rgba(0, 0, 0, 0.74); text-decoration: none; font-weight: 300; font-size: 1.15rem; letter-spacing: 0.04em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px; padding: 0.85rem 1.7rem 0.75rem;
  background: var(--rose-deep); color: #fff;
  border: 0; border-radius: 999px;
  font: inherit; font-size: 1.1rem; font-weight: 400; letter-spacing: 0.03em;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(156, 101, 83, 0.25);
  transition: background 0.15s;
}
.btn:hover, .btn:focus-visible { background: var(--rose-press); }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
.btn-soft { background: #fff; color: var(--rose-deep); border: 1.5px solid var(--rose-deep); box-shadow: none; }
.btn-soft:hover, .btn-soft:focus-visible { background: var(--rose-deep); color: #fff; }
.btn[disabled] { opacity: 0.7; cursor: wait; }
.cta-row { margin: 1.4rem 0; }
.arrow { display: inline-block; transition: transform 0.15s; }
a:hover .arrow, button:hover .arrow { transform: translateX(3px); }

/* ---------- quotes ---------- */
.quote { margin: 1.4rem 0; padding-left: 1rem; border-left: 3px solid var(--rose); }
.quote blockquote { margin: 0; }
.quote p { margin: 0 0 0.3em; font-size: 1.1rem; font-style: normal; }
.quote figcaption { font-size: 0.9rem; color: var(--text-soft); }
.quote-hero p { font-size: 1.2rem; }

/* ---------- hero ---------- */
.hero { padding-top: 0 !important; display: grid; gap: 1.5rem; }
.hero-photo { position: relative; margin: 0 -1.25rem; }
.hero-photo img { width: 100%; max-height: 52vh; object-fit: cover; }
.hero-photo figcaption {
  position: absolute; left: 0.75rem; bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.88); color: var(--text);
  font-size: 0.82rem; padding: 0.3rem 0.65rem 0.2rem; border-radius: 999px;
}
.hero h1 { margin-top: 0.2rem; }
.proof { font-weight: 600; color: var(--sage-dark); letter-spacing: 0.02em; }
.proof::before { content: "★ "; color: var(--rose); }

/* ---------- the walk ---------- */
.steps { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: 1.8rem; }
.step p { margin-top: 0.8rem; display: flex; gap: 0.75rem; align-items: baseline; }
.step-n {
  flex: 0 0 auto; width: 2rem; height: 2rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blush); color: var(--rose-deep); font-weight: 600; font-size: 0.95rem;
}
.step-photos { display: grid; gap: 0.5rem; }
.step-photos.n2 { grid-template-columns: 1fr 1fr; }
.step-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }

/* ---------- guests ---------- */
.quotes { display: grid; gap: 0.4rem; }
.carousel { display: block; width: 100%; height: 400px; border: 0; margin-top: 0.5rem; background: transparent; }

/* ---------- apartments ---------- */
.price { color: var(--text-soft); }
.cards { display: grid; gap: 2rem; margin-top: 2rem; }
.card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 1.4rem 1.25rem 0.6rem; }
.facts { list-style: none; padding: 0; margin: 1.2rem 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.facts li { font-size: 0.88rem; background: var(--panel); border-radius: 999px; padding: 0.25rem 0.7rem 0.15rem; }
.quiz-link { margin-top: 2rem; text-align: center; }

/* ---------- bongo, hosts, good to know, goa ---------- */
.know-list { padding-left: 1.2rem; margin: 1.2rem 0 0; }
.know-list li { margin-bottom: 0.7rem; }
.know-list li::marker { color: var(--rose); }
.link { font-size: 1.1rem; }

/* ---------- Goa notes form ---------- */
.signup { margin-top: 2.2rem; padding: 1.5rem 1.25rem; border: 1px solid var(--line); border-radius: 16px; max-width: 520px; }
.signup-intro { font-size: 1.1rem; }
.signup .small { margin-top: 0.9rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.95rem; margin-bottom: 0.3rem; }
.field input {
  width: 100%; min-height: 48px; padding: 0.6rem 0.8rem 0.5rem;
  font: inherit; color: var(--text); border: 1.5px solid var(--sand); border-radius: 10px; background: #fff;
}
.field input[aria-invalid="true"] { border-color: var(--error); }
.check { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0.4rem 0 0.6rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0.15rem 0 0; accent-color: var(--rose-deep); flex: 0 0 auto; }
.check input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.error { color: var(--error); min-height: 1.2em; font-size: 0.95rem; margin: 0.3rem 0 0.8rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { font-size: 1.15rem; color: var(--sage-dark); }

/* ---------- closing, footer, sticky ---------- */
.closing { text-align: center; }
.foot { padding: 2rem 1.25rem 6rem; text-align: center; font-size: 0.9rem; color: var(--text-soft); }
.foot p { margin: 0.4rem 0; }
.quiet { color: var(--text-soft); }

.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95); border-top: 1px solid var(--line);
  display: flex; justify-content: center;
}
.sticky .btn { width: 100%; max-width: 420px; }
.sticky[hidden] { display: none; }

/* ---------- bigger screens ---------- */
@media (min-width: 700px) {
  main > section { padding: 4.5rem 2rem; }
  .top { padding: 1.2rem 2rem; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .sticky { display: none !important; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 3rem; padding-top: 1rem !important; }
  .hero-photo { margin: 0; }
  .hero-photo img { max-height: 78vh; border-radius: 18px; }
  .bongo { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
  .bongo .wide { margin: 0; }
  .hosts p, .know-list, .closing p { max-width: 720px; }
  .closing p { margin-left: auto; margin-right: auto; }
}
