/* ---------------------------------------------------------
   Botanica — natural, minimal salon
   Palette: ivory, ink, sage, clay, stone
--------------------------------------------------------- */

:root {
  --ivory:  #F6F2EB;
  --cream:  #FBF9F4;
  --ink:    #2C2A26;
  --stone:  #8C877D;
  --line:   #E4DED3;
  --sage:   #6E7B5F;
  --sage-d: #55604A;
  --clay:   #B98A63;
  --clay-d: #A2744F;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1160px;
  --pad: clamp(1.25rem, 5vw, 4rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.2px;
  margin: 0;
}

a { color: inherit; text-decoration: none; }

.section {
  padding: clamp(4.5rem, 9vw, 8rem) var(--pad);
  max-width: var(--wrap);
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 1.1rem;
  font-weight: 400;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 2.1rem;
  border-radius: 999px;
  transition: all .35s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-solid {
  background: var(--ink);
  color: var(--cream);
}
.btn-solid:hover { background: var(--sage-d); }
.btn-ghost {
  border-color: currentColor;
  color: inherit;
}
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-block { width: 100%; border: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.nav {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 1.4rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: 0.5px;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: color .4s ease;
}
.brand-mark { color: var(--clay); font-size: 1rem; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color .3s ease, opacity .3s ease;
  opacity: .9;
}
.nav-links a:hover { opacity: 1; color: var(--clay); }
.nav-cta {
  border: 1px solid rgba(255,255,255,.55);
  padding: .55rem 1.3rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--cream); color: var(--ink) !important; border-color: var(--cream); }

/* scrolled state */
.site-header.scrolled {
  background: var(--cream);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.scrolled .brand,
.site-header.scrolled .nav-links a { color: var(--ink); }
.site-header.scrolled .nav-cta { border-color: var(--ink); }
.site-header.scrolled .nav-cta:hover { background: var(--ink); color: var(--cream) !important; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 1.5px;
  background: var(--cream);
  transition: .3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 6rem var(--pad) 4rem;
  color: var(--cream);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(120deg, #5b6650, #7d7060 55%, #a98a6a);
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .9;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(30,28,24,.42), rgba(30,28,24,.28) 40%, rgba(30,28,24,.6));
}
.hero-inner { max-width: 640px; }
.hero-title {
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 500;
  margin: .3rem 0 1.4rem;
}
.hero-sub {
  font-size: 1.1rem;
  max-width: 30rem;
  color: rgba(255,255,255,.9);
  margin: 0 0 2.2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: var(--cream);
  font-size: 1.2rem;
  opacity: .8;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,8px)} }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-media {
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(140deg, #cdd0c1, #b6a58f);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 1.3rem; }
.about-copy p { color: #4a4740; margin: 0 0 1.1rem; }
.about-points {
  list-style: none;
  padding: 0; margin: 1.8rem 0 0;
  border-top: 1px solid var(--line);
}
.about-points li {
  padding: .85rem 0 .85rem 1.6rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: .95rem;
  color: var(--ink);
}
.about-points li::before {
  content: "❋";
  position: absolute; left: 0;
  color: var(--clay);
  font-size: .8rem;
}

/* ---------- Section head ---------- */
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 3.5rem; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.section-lede { color: var(--stone); margin: 1rem 0 0; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--cream);
  padding: 2.4rem 2rem;
  transition: background .4s ease;
}
.service:hover { background: #fff; }
.service-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: .7rem;
}
.service h3 { font-size: 1.5rem; }
.price {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--clay-d);
  white-space: nowrap;
}
.service p { color: var(--stone); margin: 0; font-size: .95rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.g-item {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: linear-gradient(140deg, #d4d6c8, #c2b09a);
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.g-item:hover img { transform: scale(1.05); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ---------- Quote ---------- */
.quote { text-align: center; }
.quote blockquote { margin: 0; }
.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.3;
  max-width: 24ch;
  margin: 0 auto 1.4rem;
  color: var(--sage-d);
}
.quote cite {
  font-style: normal;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- Visit / Book ---------- */
.visit { }
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}
.visit-info h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 1rem; }
.details {
  margin: 2.5rem 0 0;
  display: grid;
  gap: 1.6rem;
}
.details div { border-top: 1px solid var(--line); padding-top: 1rem; }
.details dt {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: .4rem;
}
.details dd { margin: 0; color: var(--ink); }
.details a:hover { color: var(--clay-d); }

.book-form {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border-radius: 6px;
}
.book-form h3 { font-size: 1.9rem; margin-bottom: 1.6rem; }
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: .5rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .8rem .9rem;
  transition: border-color .3s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sage);
}
.field textarea { resize: vertical; }
.form-note {
  text-align: center;
  font-size: .78rem;
  color: var(--stone);
  margin: 1rem 0 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--ivory);
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  text-align: center;
}
.brand-footer { color: var(--ivory); justify-content: center; font-size: 1.8rem; }
.footer-tag { color: rgba(255,255,255,.6); margin: .8rem 0 2rem; font-size: .95rem; }
.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0; margin: 0 0 2rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.footer-links a:hover { color: var(--clay); }
.copyright {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .05em;
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.copyright a {
  color: rgba(255,255,255,.65);
  border-bottom: 1px solid rgba(255,255,255,.25);
  transition: color .2s ease, border-color .2s ease;
}
.copyright a:hover { color: var(--clay); border-color: var(--clay); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid,
  .visit-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.8rem;
    padding: 3rem 2.4rem;
    background: var(--cream);
    transform: translateX(100%);
    transition: transform .4s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.1);
  }
  .nav-links.open { transform: none; }
  .nav-links a { color: var(--ink) !important; font-size: 1rem; }
  .nav-cta { border-color: var(--ink); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}

@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .g-wide { grid-column: span 2; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
