/* Ramona Wellness & Recovery
   Palette: forest #1C3024, gold #C5A46D, ivory #F5F0E6, sage #929E87. Flat colours only. */
:root {
  --forest: #1C3024;
  --forest-2: #24392c;
  --gold: #C5A46D;
  --ivory: #F5F0E6;
  --sage: #929E87;
  --ink: #1C3024;
  --muted: #4a5a4f;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img, svg { max-width: 100%; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--gold); color: var(--forest);
  padding: .6rem 1rem; z-index: 10; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }

/* Header */
.site-header { background: var(--forest); color: var(--ivory); border-bottom: 1px solid rgba(197,164,109,.45); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 1.5rem; padding-top: .9rem; padding-bottom: .9rem;
}
.brand { display: flex; align-items: center; gap: .65rem; color: var(--gold); text-decoration: none; font-family: var(--serif); font-size: 1.2rem; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 48px; height: 48px; flex: none; border-radius: 50%; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; }
.nav a { color: var(--ivory); text-decoration: none; font-size: .98rem; padding: .35rem 0; display: inline-block; }
.nav a:hover { color: var(--gold); text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 1.02rem;
  padding: .85rem 1.5rem; border-radius: 4px; text-decoration: none; border: 2px solid var(--gold);
  min-height: 48px;
}
.btn-gold { background: var(--gold); color: var(--forest); }
.btn-gold:hover { background: var(--ivory); border-color: var(--ivory); text-decoration: none; }
.btn-outline { color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--forest); text-decoration: none; }
.btn-forest { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
.btn-forest:hover { background: var(--ivory); color: var(--forest); text-decoration: none; }

/* Hero, styled after the Facebook cover: framed forest panel with gold type */
.hero { background: var(--forest); color: var(--ivory); padding: 2.5rem 0 3rem; }
.hero-frame {
  border: 1px solid var(--gold);
  padding: clamp(1.75rem, 5vw, 3.5rem) clamp(1rem, 4vw, 3rem); text-align: center; margin: 6px;
}
.hero .logo-mark { width: clamp(200px, 60vw, 260px); height: auto; aspect-ratio: 1; margin: 0 auto 1rem; display: block; border-radius: 50%; }
.hero h1 { color: var(--gold); font-size: clamp(2rem, 6vw, 3.4rem); margin-bottom: .3em; }
.slogan { font-family: var(--serif); font-size: clamp(1.4rem, 3.6vw, 2rem); color: var(--ivory); margin-bottom: .6rem; }
.rule-title {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  font-family: var(--serif); color: var(--gold); font-size: 1.1rem; margin: 0 auto 1.5rem; max-width: 520px;
}
.rule-title::before, .rule-title::after { content: ""; flex: 1; height: 1px; background: var(--gold); }
.hero .bio { max-width: 40rem; margin: 0 auto 1.75rem; color: var(--ivory); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.hero-list {
  list-style: none; padding: 0; margin: 2rem auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1.5rem; max-width: 640px; text-align: left; font-family: var(--serif); color: var(--ivory);
}
.hero-list li { display: flex; align-items: center; gap: .6rem; }
.hero-list svg { width: 28px; height: 28px; flex: none; }
@media (max-width: 520px) { .hero-list { grid-template-columns: 1fr; } }

/* Sections */
section { padding: 3.5rem 0; }
.section-intro { max-width: 44rem; color: var(--muted); }
.alt { background: #ebe4d6; }
.dark { background: var(--forest); color: var(--ivory); }
.dark h2, .dark h3 { color: var(--gold); }
.dark a { color: var(--gold); }

/* Offer band */
.offer { background: var(--forest-2); color: var(--ivory); padding: 2.25rem 0; border-top: 1px solid rgba(197,164,109,.45); border-bottom: 1px solid rgba(197,164,109,.45); }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.offer-card { border: 1px solid var(--gold); padding: 1.25rem 1.4rem; }
.offer-card .label { font-size: .95rem; color: var(--sage); margin-bottom: .2rem; }
.offer-card h3 { color: var(--gold); margin-bottom: .35rem; }
.offer-card p { margin: 0; }
.was { text-decoration: line-through; color: var(--sage); }

/* Treatments */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.card { background: #fffdf8; border: 1px solid #d9cfbb; padding: 1.5rem; }
.card svg { width: 44px; height: 44px; margin-bottom: .6rem; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; }

/* Prices table */
.price-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; background: #fffdf8; }
.price-table caption { text-align: left; font-family: var(--serif); font-size: 1.2rem; padding-bottom: .5rem; }
.price-table th, .price-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid #d9cfbb; vertical-align: top; }
.price-table thead th { background: var(--forest); color: var(--ivory); font-weight: 600; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
.note { font-size: .95rem; color: var(--muted); margin-top: 1rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 1.6rem; position: relative; margin-bottom: .6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7rem; height: .7rem; background: var(--gold); border-radius: 50%; }
.photo-slot {
  /* PHOTO PLACEHOLDER: replace with a portrait of Ramona (see index.html) */
  aspect-ratio: 4 / 3; background: var(--sage); display: flex; align-items: center; justify-content: center;
}
.photo-slot svg { width: 45%; height: auto; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.steps li { counter-increment: step; border: 1px solid rgba(197,164,109,.6); padding: 1.25rem; }
.steps li::before { content: counter(step); display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--gold); color: var(--forest); font-weight: 700; margin-bottom: .6rem; }
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; }

/* Areas */
.areas { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.areas li { border: 1px solid var(--forest); padding: .4rem .9rem; border-radius: 999px; background: #fffdf8; }

/* Contact */
.contact { text-align: center; }
.contact p { max-width: 38rem; margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer { background: var(--forest); color: var(--ivory); padding: 2rem 0; font-size: .95rem; border-top: 1px solid rgba(197,164,109,.45); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-footer a { color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* Legal pages */
.legal { padding: 3rem 0; }
.legal .wrap { max-width: 46rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.6rem); }
.legal h2 { font-size: 1.45rem; margin-top: 2rem; }
.legal ul { padding-left: 1.25rem; }
.todo { background: #f3dfa8; outline: 2px dashed #8a6a2a; padding: 0 .25em; }

.visually-hidden, .sprite {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.dark .btn-gold, .dark .btn-gold:hover { color: var(--forest); }
.dark .btn-outline:hover { color: var(--forest); }
.portrait { width: 100%; height: auto; display: block; }
.portrait-wrap { margin: 0; justify-self: center; width: 100%; max-width: 400px; border: 1px solid var(--gold); padding: 8px; background: #fffdf8; }

/* Natural left-aligned text, never split words */
main p, main li { text-align: left; -webkit-hyphens: none; hyphens: none; }
.hero .bio, .contact p, .slogan, .rule-title { text-align: center; }

/* Phones: one shared side margin, and the same inner padding in every box,
   so all text blocks line up with each other */
@media (max-width: 600px) {
  .wrap { padding-left: 1rem; padding-right: 1rem; }
  .hero-frame { margin: 0; padding: 2rem 1rem; }
  .card, .offer-card, .steps li { padding: 1.25rem 1rem; }
  .price-table th, .price-table td { padding-left: 1rem; padding-right: 1rem; }
}

/* iPhone safe area and a compact one-row mobile menu */
.site-header { padding-top: env(safe-area-inset-top); }
.site-header .wrap, .site-footer .wrap {
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}
.nav a { white-space: nowrap; }
@media (max-width: 600px) {
  .site-header .wrap { justify-content: center; text-align: center; padding-top: .75rem; padding-bottom: .5rem; }
  .brand { width: 100%; justify-content: center; font-size: 1.1rem; }
  .nav { width: 100%; }
  .nav ul { flex-wrap: nowrap; justify-content: space-between; gap: 0; }
  .nav a { font-size: .95rem; padding: .6rem .15rem; }
}
@media (max-width: 359px) { .nav a { font-size: .85rem; padding-left: .1rem; padding-right: .1rem; } }

/* Request form */
.request-form { margin: 1.5rem 0 2.5rem; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field label { font-weight: 600; margin-bottom: .35rem; }
.field input, .field select {
  font: inherit; color: var(--ink); background: #fffdf8;
  border: 1px solid #b9ad95; border-radius: 4px; padding: .7rem .75rem; min-height: 48px; width: 100%;
}
.field select:disabled { color: var(--muted); background: #eee8db; }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .95rem; color: var(--muted); margin-top: -.4rem; min-height: 1.2em; }
.check { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: 1rem; }
.check input { width: 22px; height: 22px; margin: .15rem 0 0; flex: none; accent-color: var(--forest); }
.request-form .btn { margin-top: .5rem; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hours { border-collapse: collapse; margin-top: .5rem; }
.hours th, .hours td { text-align: left; padding: .4rem 1.5rem .4rem 0; border-bottom: 1px solid #d9cfbb; font-weight: 400; }
.contact-small { margin-top: 1.5rem; font-size: .95rem; }
.site-footer ul { align-items: center; }
.fb-link { display: inline-flex; align-items: center; gap: .4rem; }
/* iPhone Safari: keep the date box inside the screen */
.field { min-width: 0; }
.field input[type="date"] {
  -webkit-appearance: none; appearance: none;
  display: block; min-width: 0; max-width: 100%; box-sizing: border-box; text-align: left;
}
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .7; }
.fb-link { padding: .25rem; }
.fb-link:hover { color: var(--ivory); }

/* About me: calmer, tidier text block */
#about p, #about .ticks li { font-size: 1rem; line-height: 1.6; text-wrap: pretty; max-width: 34rem; }
#about h3 { margin-top: 1.5rem; }
#about .ticks li { margin-bottom: .45rem; padding-left: 1.4rem; }
#about .ticks li::before { width: .5rem; height: .5rem; top: .6em; }
@media (max-width: 760px) {
  #about .portrait-wrap { order: -1; max-width: 300px; margin: 0 auto .5rem; }
  #about h2 { text-align: center; }
}
.nowrap { white-space: nowrap; }
