/* Ridgeview Camp website styles.
   Rules: no gradients, no pill shapes, no animations or transitions,
   no custom cursors. See Website-Rules.md. */

@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f3ec;
  --surface: #ffffff;
  --surface-alt: #ece7dc;
  --ink: #1c211e;
  --muted: #4f5651;
  --line: #d6cfbf;
  --pine: #1f3a2c;
  --pine-ink: #f6f3ec;
  --red: #a8241c;
  --red-dark: #861c16;
  --wa: #25d366;
  --wa-dark: #1fb457;
  --wa-ink: #0b2a17;
  --focus: #0b5cad;
  --ph-bg: #fff1a0;
  --ph-line: #a38a00;
  --cf-line: #2a62b8;
  --radius: 4px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-wrap: break-word;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 24px; } }

.skip-link {
  position: absolute; left: 8px; top: -48px;
  background: var(--surface); color: var(--ink); padding: 8px 12px; z-index: 100;
}
.skip-link:focus { top: 8px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- draft markers ---------- */

.draft-banner {
  background: var(--ph-bg);
  border-bottom: 1px solid var(--ph-line);
  font-size: 0.9rem;
  padding: 8px 0;
}
mark.ph {
  background: var(--ph-bg);
  color: var(--ink);
  outline: 1px dashed var(--ph-line);
  padding: 0 0.15em;
}
.cf {
  text-decoration: underline dotted var(--cf-line) 2px;
  text-underline-offset: 4px;
}
.marks-off mark.ph { background: none; color: inherit; outline: 0; padding: 0; }
.marks-off .cf { text-decoration: none; }
.draft-note {
  background: var(--ph-bg);
  border: 1px dashed var(--ph-line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 1.5em;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.1em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: var(--wa-dark); color: var(--wa-ink); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--surface-alt); color: var(--ink); }
.btn-outline-light { border-color: var(--pine-ink); color: var(--pine-ink); background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: var(--pine-ink); }
.btn-ghost-wa { background: transparent; border-color: var(--wa-dark); color: var(--wa-ink); }
.btn-ghost-wa:hover { background: #e3f7ea; color: var(--wa-ink); }
.btn-small { min-height: 40px; padding: 0.45em 0.8em; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.25em 0 0.5em; }

/* ---------- header ---------- */

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-logo { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1.1; white-space: nowrap; }
.brand-sub { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 374px) { .brand-logo { width: 32px; height: 32px; } .brand { gap: 6px; } .brand-name { font-size: 1.15rem; } .brand-sub { font-size: 0.75rem; } .nav-mobile summary { padding: 0 10px; } }
.nav-desktop { display: none; gap: 20px; }
.nav-desktop a, .nav-mobile nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-desktop a:hover, .nav-mobile nav a:hover { color: var(--red); text-decoration: underline; }
.nav-desktop a[aria-current="page"], .nav-mobile nav a[aria-current="page"] { color: var(--red); text-decoration: underline; }
.header-cta { display: none; }

.nav-mobile summary {
  display: flex; align-items: center; gap: 6px;
  list-style: none; cursor: pointer;
  min-height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 600;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile:not([open]) nav { display: none; }
.nav-mobile[open] nav {
  position: absolute; left: 0; right: 0; top: 68px; z-index: 50;
  display: flex; flex-direction: column;
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 8px 16px 16px;
}
.nav-mobile nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
.site-header { position: relative; }

@media (min-width: 1000px) {
  .nav-desktop { display: flex; }
  .header-cta { display: block; }
  .nav-mobile { display: none; }
}

/* ---------- hero ---------- */

.hero { background: var(--pine); color: var(--pine-ink); padding: 40px 0 48px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; } .hero { padding: 64px 0; } }
.eyebrow { display: flex; align-items: center; gap: 6px; font-size: 0.95rem; opacity: 0.9; margin-bottom: 0.75em; }
.hero .lead { font-size: 1.15rem; }
.hero-price { font-size: 1.1rem; }
.hero .photo-slot { background: #2c4a3a; border-color: #6f8a7b; color: #d9e2dc; }

/* ---------- sections ---------- */

.section { padding: 48px 0; }
.section-tight { padding: 32px 0 48px; }
.section-alt { background: var(--surface-alt); }
@media (min-width: 900px) { .section { padding: 72px 0; } }
.section-head { max-width: 720px; margin-bottom: 24px; }
.lead { font-size: 1.15rem; color: inherit; }
.more { margin-top: 24px; font-weight: 600; }
.prose > * { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: 0.4em; }
.small { font-size: 0.9rem; color: var(--muted); }

.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 32px 0 24px; }
.page-head .lead { max-width: 760px; color: var(--muted); }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 12px; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: 28px; align-items: start; }
.split > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .package-layout > *, .contact-layout > *, .footer-grid > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } }
.split-photos { display: grid; gap: 12px; }
@media (min-width: 600px) { .split-photos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 600px) { .split-photos.count-1 { grid-template-columns: 1fr; } .split-photos.count-3 > :first-child { grid-column: 1 / -1; } }
@media (min-width: 700px) { .grid-3.count-1, .grid-2.count-1 { grid-template-columns: 1fr; max-width: 720px; } }
@media (min-width: 1000px) { .grid-3.count-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .hero-grid.no-photo { grid-template-columns: 1fr; max-width: 760px; } }

/* ---------- photos ---------- */

.photo { width: 100%; object-fit: cover; border-radius: var(--radius); }
.photo-slot {
  width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 16px; text-align: center;
  background: #d9d5cb; color: #3f453f;
  border: 1px dashed #8f897c; border-radius: var(--radius);
  font-size: 0.9rem;
}
.photo-slot-label { font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.75rem; }

/* ---------- quick facts ---------- */

.quick-facts { background: var(--surface); border-bottom: 1px solid var(--line); padding: 28px 0; }
.qf { display: flex; gap: 12px; align-items: flex-start; }
.qf .icon { width: 28px; height: 28px; color: var(--pine); margin-top: 2px; }
.qf p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.qf .qf-head { color: var(--ink); font-weight: 700; font-size: 1rem; }

/* ---------- cards ---------- */

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-photo { display: block; color: inherit; text-decoration: none; }
.card-photo .photo, .card-photo .photo-slot { border-radius: 0; border-width: 0 0 1px; }
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--red); text-decoration: underline; }
.card-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.95rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.price { font-size: 1.2rem; font-weight: 700; }
.price-unit { font-size: 0.95rem; font-weight: 400; color: var(--muted); }
.link-card { padding: 20px; color: var(--ink); text-decoration: none; }
.link-card:hover { border-color: var(--ink); color: var(--ink); }
.link-card h3 { color: var(--red); text-decoration: underline; }
.link-card p { margin: 0; color: var(--muted); }
.review blockquote { margin: 0 0 12px; padding: 20px 20px 0; }
.review figcaption { padding: 0 20px 20px; color: var(--muted); font-size: 0.95rem; }

/* ---------- facts lists ---------- */

.facts { margin: 0 0 1.25em; display: grid; gap: 0; }
.facts > div { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 400px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }
.seasons { margin: 0; display: grid; gap: 16px; }
.seasons > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.seasons dt { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; margin-bottom: 6px; }
.seasons dd { margin: 0; }

.note-box { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--pine); border-radius: var(--radius); }
.note-box p { margin: 0; }
.note-box .icon { margin-top: 3px; color: var(--pine); }

/* ---------- prices ---------- */

.price-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; }
.price-box .facts dt .small { display: block; font-weight: 400; }
.price-box .facts dd.price { margin: 0; }
.price-box .check-list { margin-bottom: 16px; }
.price-box .check-list .icon { color: var(--pine); margin-top: 4px; }

/* ---------- package page ---------- */

.package-layout { display: grid; gap: 28px; }
@media (min-width: 900px) { .package-layout { grid-template-columns: 1fr 320px; gap: 40px; align-items: start; } .book-box { position: sticky; top: 16px; } }
.package-main > .photo, .package-main > .photo-slot { margin-bottom: 20px; }
.book-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; }
.book-box p { margin: 0; }
.book-duration { display: flex; gap: 6px; align-items: center; color: var(--muted); }
.days { list-style: none; padding: 0; margin: 0 0 32px; counter-reset: day; }
.days li { border-left: 3px solid var(--pine); padding: 4px 0 4px 16px; margin-bottom: 16px; }
.days h3 { margin-bottom: 4px; }
.days p { margin: 0; }
.check-list, .x-list { list-style: none; padding: 0; margin: 0; }
.check-list li, .x-list li { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.check-list .icon { color: var(--pine); margin-top: 4px; }
.x-list .icon { color: var(--red); margin-top: 4px; }
.inc-exc { margin-bottom: 8px; }
.other-packages li { margin-bottom: 8px; }

/* ---------- gallery ---------- */

.gallery { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; }
.faq-answer { padding: 0 20px 4px; }

/* ---------- contact and form ---------- */

.contact-layout { display: grid; gap: 32px; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.2fr; gap: 56px; } }
.contact-list li { margin-bottom: 12px; }
.contact-list a:not(.btn), .footer-contact a { display: inline-flex; gap: 8px; align-items: center; }
.enquiry { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.form-grid { display: grid; gap: 14px; margin-bottom: 18px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: span 2; } }
.enquiry label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 0.95rem; min-width: 0; }
.enquiry input, .enquiry select, .enquiry textarea {
  font: inherit; font-weight: 400;
  padding: 10px 12px; min-height: 46px;
  border: 1px solid #8f897c; border-radius: var(--radius);
  background: #fff; color: var(--ink);
  width: 100%; min-width: 0;
}
.form-note { font-size: 0.9rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- call to action band ---------- */

.cta-band { background: var(--pine); color: var(--pine-ink); padding: 48px 0; }
.cta-band p { max-width: 720px; }
.cta-band a:not(.btn) { color: var(--pine-ink); }
.cta-phones { margin-top: 12px; }
.cta-phones a { white-space: nowrap; }

/* ---------- footer ---------- */

.site-footer { background: #17251d; color: #d8ddd9; padding: 48px 0 96px; font-size: 0.95rem; }
.site-footer a { color: #f1f3f1; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .site-footer { padding-bottom: 40px; } }
.footer-name { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: #fff; }
.footer-head { font-weight: 700; color: #fff; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #33443a; margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp: floating on desktop, bottom bar on mobile ---------- */

.float-wa { display: none; }
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line);
}
.mobile-bar .btn { width: 100%; }
.btn-call { background: var(--surface); border-color: var(--ink); color: var(--ink); }
body { padding-bottom: 72px; }

@media (min-width: 800px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
  .float-wa { display: block; position: fixed; right: 20px; bottom: 20px; z-index: 60; }
  .float-wa .btn { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
}

@media print {
  .mobile-bar, .float-wa, .draft-banner, .nav-mobile { display: none; }
}
