/* ==========================================================
   Precious Hair Parlor: services page
   Plain CSS, no JavaScript.
   ========================================================== */

:root {
  --cream: #f7f1e6;
  --paper: #ffffff;
  --gold: #c7a45c;
  --gold-dark: #8f6d27;      /* darker gold, used for small text so it stays readable on cream */
  --gold-light: #ecd08e;
  --ink: #3a2922;
  --muted: #6f5d52;
  --line: #e4ddd0;
  --star-off: rgba(190, 175, 150, .55);
  --brown: #3a2922;           /* nav button, logo, headings */
  --brown-deep: #2d201b;      /* footer */
  --nav-link: #5a4034;
  --taupe: #795b4b;
  --serif: "Cormorant Garamond", Georgia, serif;
  --price-font: "Cormorant Garamond", Georgia, serif;
  --sans: "Poppins", system-ui, sans-serif;

  /* Smooth dark fades used over the photos. Many soft steps so there is no visible edge. */
  --scrim-strong: linear-gradient(to top, rgba(45,32,27,.96) 0%, rgba(45,32,27,.93) 14%, rgba(45,32,27,.86) 28%, rgba(45,32,27,.74) 42%, rgba(45,32,27,.58) 55%, rgba(45,32,27,.40) 68%, rgba(45,32,27,.24) 79%, rgba(45,32,27,.11) 89%, rgba(45,32,27,.03) 96%, rgba(45,32,27,0) 100%);
  --scrim-soft: linear-gradient(to top, rgba(45,32,27,.86) 0%, rgba(45,32,27,.80) 16%, rgba(45,32,27,.66) 34%, rgba(45,32,27,.46) 52%, rgba(45,32,27,.26) 70%, rgba(45,32,27,.10) 86%, rgba(45,32,27,0) 100%);
}

* { box-sizing: border-box; margin: 0; }
ul { padding: 0; list-style: none; }
body { background: var(--cream); color: var(--ink); font-family: var(--sans); }
body:has(.modal:target) { overflow: hidden; }   /* stops the page scrolling behind an open pop-up */
a:focus-visible, label:focus-visible, .card-link:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 3px; }

/* Cormorant Garamond draws numbers old-style by default (so R850 looks like R8so). Lining figures are easier to read for prices. */
.page-head h1, .label h2, .more h2, .price, .txt h2, .big-price, .revs h3, .cta h2, .foot-brand .name, .logo b { font-variant-numeric: lining-nums; }

/* ---------- Buttons ---------- */
.book {
  display: inline-block; text-decoration: none; background: var(--brown); color: #fff;
  font: 600 .75rem var(--sans); letter-spacing: .04em; padding: 11px 24px; border-radius: 999px;
}

/* ---------- Top bar (spacing matches home.html / style.css) ---------- */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(247,241,230,.96); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(90,64,52,.12); }
.bar-in { width: 90%; max-width: 1250px; min-height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.logo { display: block; line-height: .85; text-decoration: none; color: var(--brown); }
.logo b { display: block; font-family: var(--serif); font-weight: 600; font-size: 35px; }
.logo small { display: block; margin-top: 8px; font: 600 10px var(--sans); letter-spacing: 4px; text-transform: uppercase; color: var(--taupe); }

/* Links and the button sit in one row with the same 32px gap, like the homepage */
.nav-right { display: flex; align-items: center; gap: 32px; }
.links { display: flex; align-items: center; gap: 32px; }
.links a { position: relative; font: 500 13px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--nav-link); text-decoration: none; transition: color .4s ease; }
.links a::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 1px; background: var(--gold); transition: width .4s ease; }
.links a:hover, .links a[aria-current="page"] { color: var(--gold); }
.links a:hover::after, .links a[aria-current="page"]::after { width: 100%; }
.nav-right .book { padding: 13px 26px; font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; transition: background .4s ease, transform .4s ease; }
.nav-right .book:hover { background: var(--nav-link); transform: translateY(-2px); }

/* Phone menu button (a hidden checkbox plus a label, so no JavaScript is needed) */
.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; }
.burger { display: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 38px; font-size: 1.2rem; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle:focus-visible + .burger { outline: 3px solid var(--gold-dark); outline-offset: 3px; }


@media (max-width: 1024px) {
  .bar-in { min-height: 72px; }
  .burger { display: inline-flex; }
  .nav-right { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: center; gap: 25px; padding: 25px; background: var(--cream); box-shadow: 0 15px 30px rgba(58,41,34,.08); }
  .nav-toggle:checked ~ .nav-right { display: flex; }
  .links { flex-direction: column; align-items: center; text-align: center; gap: 25px; }
  .nav-right .book { margin-top: 5px; }
}

@media (max-width: 420px) { .logo b { font-size: 26px; } }

/* ---------- Page heading ---------- */
.page-head { text-align: center; padding: 68px 20px 8px; }
.eyebrow { font: 600 .7rem var(--sans); letter-spacing: .36em; text-transform: uppercase; color: var(--gold-dark); }
.page-head h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.9rem, 6vw, 4.2rem); line-height: 1.05; margin: 14px 0 10px; }
.sub { color: var(--muted); font-size: .98rem; }
.rule { width: 56px; height: 2px; border-radius: 2px; background: var(--gold); margin: 24px auto 0; }

/* ---------- Cards ---------- */
.wrap { max-width: 1100px; margin: 0 auto; padding: 38px 20px 80px; scroll-margin-top: 80px; }
.hint { text-align: center; color: var(--muted); font-size: .82rem; margin-bottom: 34px; }
.grid { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; }   /* centres the last row too */

/* Each style has its own colour pair for the placeholder photo: c-boho, c-knotless, c-box */
.c-boho    { --a: #a67c52; --b: #5a4030; }
.c-knotless{ --a: #8a6445; --b: #40302a; }
.c-box     { --a: #9c7a58; --b: #4d392c; }
.c1 { --a: #a67c52; --b: #5a4030; }
.c2 { --a: #8a6445; --b: #40302a; }
.c3 { --a: #9c7a58; --b: #4d392c; }
.c4 { --a: #94704c; --b: #2e211b; }

.card { position: relative; width: min(330px, 100%); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: #8a6a4c; box-shadow: 0 10px 28px rgba(60,40,10,.12); }

/* Photo: works for the placeholder <div> and for a real <img> */
.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: linear-gradient(160deg, var(--a), var(--b)); background-size: cover; background-position: center; background-repeat: no-repeat; }

.price { position: absolute; top: 14px; right: 18px; z-index: 2; pointer-events: none;
  font-family: var(--price-font); font-style: italic; font-weight: 700; font-size: 1.8rem; line-height: 1;
  color: var(--gold-light); letter-spacing: .01em; text-shadow: 0 1px 10px rgba(20,12,6,.55); }

/* Resting state: name and rating at the bottom */
.label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none; padding: 70px 20px 18px; color: #fff; background: var(--scrim-soft); transition: opacity .2s; }
.label h2 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1.1; }
.label .rating { margin-top: 4px; }

/* Hover state: the gradient drawer */
.more { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; pointer-events: none; padding: 130px 20px 18px; color: #fff;
  background: var(--scrim-strong); opacity: 0; transform: translateY(14px); transition: opacity .25s, transform .25s;
  display: flex; flex-direction: column; gap: 8px; }
.more h2 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1.1; }
.more .desc { font-size: .85rem; line-height: 1.5; color: #eadfcb; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.more .book { text-transform: capitalize; align-self: flex-start; pointer-events: auto; margin-top: 2px; background: var(--gold); color: var(--brown); }
.more .book:hover { background: #fff; }

.card:hover .more, .card:focus-within .more { opacity: 1; transform: none; }
.card:hover .label, .card:focus-within .label { opacity: 0; }

/* An invisible link over the whole card: clicking anywhere opens the pop-up */
.card-link { position: absolute; inset: 0; z-index: 3; border-radius: 18px; }

/* ---------- Star ratings (display only) ---------- */
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; }
.rating b { font-weight: 600; }
.rating i { font-style: normal; opacity: .8; }
.stars { display: inline-block; font-size: 1rem; letter-spacing: 2px; line-height: 1;
  background: linear-gradient(90deg, var(--gold) var(--p, 100%), var(--star-off) var(--p, 100%));
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* ---------- Pop-up (opens with :target, no JavaScript) ---------- */
.modal { display: none; position: fixed; inset: 0; z-index: 50; align-items: center; justify-content: center; padding: 16px; }
.modal:target { display: flex; }
.backdrop { position: absolute; inset: 0; background: rgba(45,32,27,.62); cursor: default; }
.dlg { position: relative; width: min(94vw, 940px); max-height: 90vh; overflow: auto; border-radius: 20px; background: var(--paper); display: grid; grid-template-columns: 1fr; }
@media (min-width: 760px) { .dlg { grid-template-columns: 1.05fr 1fr; } }

.close { position: absolute; top: 12px; right: 12px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.95);
  color: var(--ink); text-decoration: none; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.2); }

/* Photo scroller: a real horizontal scroller that snaps one photo at a time.
   Swiping, trackpad swipes, the arrows, the dots and the keyboard all move it smoothly. */
.pic { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: #8a6a4c; }
@media (min-width: 760px) { .pic { aspect-ratio: auto; min-height: 560px; } }
.track { position: absolute; inset: 0; display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.pslide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.pslide .photo { position: absolute; inset: 0; }

/* Elegant arrows at the sides of the photo: no circle, just a thin chevron */
.arrow { position: absolute; top: 50%; z-index: 2; width: 52px; height: 84px; margin-top: -42px; padding: 0; display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: #fff; cursor: pointer; opacity: .8;
  filter: drop-shadow(0 1px 5px rgba(0,0,0,.55)); transition: opacity .2s ease, transform .2s ease; }
.arrow[hidden] { display: none; }
.arrow svg { width: 22px; height: 42px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover { opacity: 1; }
.arrow.prev { left: 4px; }
.arrow.next { right: 4px; }
.arrow.prev:hover { transform: translateX(-3px); }
.arrow.next:hover { transform: translateX(3px); }
.arrow:focus-visible { outline: 2px solid #fff; outline-offset: -6px; border-radius: 6px; }
@media (max-width: 759px) { .arrow { width: 44px; } }

.dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; gap: 9px; justify-content: center; }
.dots[hidden] { display: none; }
.dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: background .2s, transform .2s; }
.dot[aria-current="true"] { background: #fff; transform: scale(1.3); }
.dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Pop-up text side */
.txt { padding: 34px 30px; display: flex; flex-direction: column; gap: 13px; }
.txt h2 { font-family: var(--serif); font-weight: 600; font-size: 2.35rem; line-height: 1.05; padding-right: 34px; }
.txt .rating { font-size: .8rem; }
.txt .big-price { font-family: var(--price-font); font-style: italic; font-weight: 700; font-size: 2.3rem; line-height: 1; color: var(--gold-dark); }
.txt .desc { color: var(--muted); line-height: 1.65; font-size: .95rem; }
.txt .book { align-self: flex-start; text-transform: capitalize; }
.revs { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.revs h3 { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; }
.rev-top { display: flex; align-items: center; gap: 10px; font-size: .8rem; }
.rev p { font-size: .85rem; line-height: 1.55; color: var(--muted); margin-top: 4px; }

/* ---------- Booking section ---------- */
.cta { text-align: center; padding: 68px 20px; border-top: 1px solid var(--line); }
.cta h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 4.4vw, 3rem); line-height: 1.1; }
.cta p { color: var(--muted); margin: 10px 0 24px; font-size: .95rem; }
.cta .book { padding: 14px 34px; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; }

/* ---------- Footer ---------- */
.foot { background: var(--brown-deep); color: #e9d8bd; }
.foot-in { max-width: 1100px; margin: 0 auto; padding: 64px 20px 46px; display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 48px; }
.foot-brand .name { display: block; font-family: var(--serif); font-weight: 500; font-size: 2.6rem; line-height: 1; color: #fff; text-decoration: none; }
.foot-brand .tagline-sm { font: 600 .6rem var(--sans); letter-spacing: .38em; text-transform: uppercase; color: var(--gold); margin: 10px 0 20px; }
.foot-brand p { font-size: .92rem; color: #e9d8bd; }
.foot h3 { font: 600 .66rem var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.foot ul { display: flex; flex-direction: column; gap: 14px; }
.foot li a { font-size: .9rem; color: #e9d8bd; text-decoration: none; }
.foot li a:hover, .foot-contact .foot-link:hover { color: var(--gold); }
.foot a:focus-visible { outline-color: var(--gold); }
.foot-contact p { font-size: .9rem; line-height: 1.6; color: #e9d8bd; }
.foot-contact .foot-link { display: inline-block; margin-top: 18px; font-weight: 600; font-size: .9rem; color: #fff; text-decoration: none; }
.foot-contact .where { margin-top: 24px; font-size: .8rem; line-height: 1.8; }
.foot-base { border-top: 1px solid #42332d; text-align: center; padding: 22px 20px; font-size: .75rem; color: #bda98f; }
@media (max-width: 820px) { .foot-in { grid-template-columns: 1fr; gap: 36px; padding: 48px 24px 34px; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ==========================================================
   Reviews page: extra styles.
   Link this AFTER pages.css (it uses the colours, nav and footer from there).
   ========================================================== */

[hidden] { display: none !important; }
.rv-wrap { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* ---------- Top section: average + rotating review ---------- */
.avg, .feature blockquote, .avatar, .leave h2, .thanks h3 { font-variant-numeric: lining-nums; }
.rv-hero { text-align: center; padding: 64px 0 16px; }
.avg { font-family: var(--serif); font-weight: 500; font-size: clamp(4.8rem, 11vw, 7rem); line-height: 1; margin-top: 14px; }
.stars.big { font-size: 1.5rem; letter-spacing: 4px; margin-top: 12px; }
.from { color: var(--muted); font-size: .9rem; margin-top: 10px; }

.feature-wrap { position: relative; margin-top: 46px; padding: 0 56px; }
/* Every review sits in the same spot (one grid cell), so this box is always as tall as the longest review.
   That is what stops the page below from jumping when the review changes. */
.feature { max-width: 640px; margin: 0 auto; display: grid; }
.rv-slide { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0;
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
.rv-slide.on { opacity: 1; visibility: visible; transition: opacity .4s ease, visibility 0s; }
.avatar { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.8rem; color: #fff; background: linear-gradient(145deg, var(--gold-light), var(--gold-dark)); }
.feature blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.35; margin: 4px 0 0; }
.feature figcaption { display: flex; flex-direction: column; gap: 3px; }
.feature figcaption b { color: var(--gold-dark); font-size: .88rem; }
.feature figcaption span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Small, faint arrows at the far left and right of the screen */
.feat-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: none; background: none;
  font-size: 1.7rem; line-height: 1; color: var(--ink); opacity: .28; cursor: pointer; transition: opacity .2s; }
.feat-arrow:hover, .feat-arrow:focus-visible { opacity: .85; }
.feat-arrow.prev { left: clamp(6px, 2.5vw, 36px); }
.feat-arrow.next { right: clamp(6px, 2.5vw, 36px); }
.feat-arrow:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 2px; border-radius: 50%; }
@media (max-width: 640px) { .feature-wrap { padding: 0 38px; } .feat-arrow { width: 32px; } }
@media (prefers-reduced-motion: reduce) { .rv-slide, .rv-slide.on { transition: none; } }

/* ---------- Star filter ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 46px 0 34px; }
.pill { font: 600 .75rem var(--sans); letter-spacing: .04em; padding: 9px 18px; border-radius: 999px; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.pill .n { margin-left: 5px; font-weight: 500; opacity: .6; }
.pill[aria-pressed="true"] { background: var(--brown); border-color: var(--brown); color: #fff; }
.pill:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 3px; }

/* ---------- Review cards (two staggered columns) ---------- */
.review-list { columns: 2; column-gap: 18px; }
@media (max-width: 640px) { .review-list { columns: 1; } }
.review { break-inside: avoid; margin: 0 0 18px; background: #fbf8f1; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(60,40,10,.06); }
.review .stars { font-size: .85rem; }
.review .q { font-size: .92rem; line-height: 1.6; margin: 10px 0 12px; }
.review .meta { display: flex; flex-direction: column; gap: 2px; }
.review .who { color: var(--gold-dark); font-size: .82rem; }
.review .what { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 30px 0 40px; }

/* ---------- Leave a review ---------- */
.leave { padding: 70px 20px 90px; border-top: 1px solid var(--line); margin-top: 30px; text-align: center; }
.leave h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.3rem); line-height: 1.05; margin-top: 12px; }
.leave .lead { color: var(--muted); font-size: .95rem; margin-top: 8px; }
.leave.standalone { border-top: 0; margin-top: 0; }
.form-card { max-width: 620px; margin: 34px auto 0; text-align: left; background: #fbf8f1; border: 1px solid var(--line);
  border-radius: 18px; padding: 32px 30px; box-shadow: 0 10px 28px rgba(60,40,10,.08); }
fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
legend, .field > label { display: block; padding: 0; font: 600 .68rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px; }
.field { margin-bottom: 24px; }

/* Style dropdown */
.field select { width: 100%; font: inherit; font-size: .95rem; color: var(--ink); padding: 13px 44px 13px 15px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23be923c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field select:invalid { color: var(--muted); }
.field select optgroup { font-style: normal; font-weight: 600; color: var(--gold-dark); }
.field select option { color: var(--ink); font-weight: 400; }

/* Star picker: stars are radio buttons, listed 5 to 1 and shown 1 to 5 */
.star-row { display: flex; align-items: center; gap: 14px; }
.star-pick { display: inline-flex; flex-direction: row-reverse; position: relative; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-pick label { font-size: 2rem; line-height: 1; padding: 0 3px; color: var(--star-off); cursor: pointer; transition: color .1s, transform .1s; }
.star-pick input:checked ~ label, .star-pick label:hover, .star-pick label:hover ~ label { color: var(--gold); }
.star-pick label:hover { transform: scale(1.12); }
.star-pick input:focus-visible + label { outline: 3px solid var(--gold-dark); outline-offset: 2px; border-radius: 6px; }
.rate-text { font-size: .85rem; color: var(--muted); font-style: italic; min-height: 1.2em; }
.visit { font-size: .95rem; color: var(--ink); }
.checkout-rows { display: grid; gap: 14px; margin-bottom: 22px; }
.checkout-row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.checkout-row span:first-child { color: var(--muted); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.checkout-row span:last-child { text-align: right; overflow-wrap: anywhere; }
.checkout-row.due { font-weight: 600; }
.checkout-row.due span:last-child { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-dark); }
.checkout-note { color: var(--muted); font-size: .8rem; line-height: 1.6; margin-bottom: 24px; }

/* Text fields */
.field input[type="text"], .field textarea { width: 100%; font: inherit; font-size: .95rem; color: var(--ink); padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199,164,92,.3); }
.field [aria-invalid="true"] { border-color: #a3392b; }
.counter { text-align: right; font-size: .72rem; color: var(--muted); margin-top: 6px; }

.err { color: #a3392b; font-size: .78rem; margin-top: 8px; min-height: 1em; }
.send { border: none; cursor: pointer; padding: 15px 38px; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; order: -1; }   /* order: -1 keeps the button above the note */
.form-foot { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.form-foot small { color: var(--muted); font-size: .75rem; }

/* Thank you message */
.thanks { max-width: 620px; margin: 34px auto 0; text-align: center; background: #fbf8f1; border: 1px solid var(--line); border-radius: 18px; padding: 44px 30px; }
.thanks .tick { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; }
.thanks h3 { font-family: var(--serif); font-weight: 600; font-size: 2rem; }
.thanks p { color: var(--muted); margin-top: 10px; line-height: 1.6; font-size: .95rem; }
.again { margin-top: 22px; background: none; border: none; font: 600 .78rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); cursor: pointer; text-decoration: underline; }

/* bottom spacing the removed Leave-a-Review section used to provide */
.rv-wrap { padding-bottom: 90px; }
