/* Azela Salon & Spa. Colours and lettering follow Azela's printed menu: forest green, gold, sand. */
:root {
  --forest: #0c2c07;   /* the "A" in the logo */
  --green: #1d4a25;    /* headings, buttons */
  --green-2: #2f6a37;
  --gold: #c99518;     /* the script in the logo */
  --gold-ink: #8a6510; /* gold dark enough for text on sand */
  --sand: #f6efe6;
  --sand-2: #ece1d1;
  --ink: #26221d;
  --muted: #6a6257;
  --line: #e1d5c4;
  --surface: #fffdf9;
  --good: #23794a; --warn: #a35b00; --bad: #b3352d;
  --brand: var(--green);
  --display: "Italiana", "Gilda Display", Georgia, serif;
  --serif: "Gilda Display", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin:0; font-family: var(--sans); color:var(--ink); background:var(--sand); line-height:1.55; overflow-x: clip; }
img { max-width:100%; height:auto; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--serif); font-weight:400; color: var(--green); line-height:1.2; }
.display { font-family: var(--display); font-weight:400; letter-spacing:.04em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 640px; padding-top: 40px; padding-bottom: 56px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align:center; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
.skip { position:absolute; left:-999px; } .skip:focus { left:16px; top:12px; z-index:10; background:#fff; padding:8px 12px; }

/* Buttons and forms (shared) */
.btn { display:inline-block; background:var(--brand); color:#fff; border:1px solid var(--brand); border-radius:999px; padding:10px 22px; font: 500 .95rem var(--sans); letter-spacing:.03em; text-decoration:none; cursor:pointer; }
.btn:hover { background: var(--green-2); border-color: var(--green-2); }
.btn.ghost { background:transparent; color:var(--brand); border-color:var(--line); }
.btn.ghost:hover { border-color: var(--brand); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--forest); }
.btn.gold:hover { background: #ddb03c; }
.btn.light { color:#fff; border-color: rgba(255,255,255,.6); }
.btn.sm { padding:5px 14px; font-size:.85rem; }
.btn.wide { width:100%; padding:14px; font-size:1.05rem; }
form p { margin: 0 0 14px; }
label { display:block; font-weight:500; font-size:.92rem; margin-bottom:4px; }
input:not([type=checkbox]):not([type=radio]):not([type=color]), select, textarea { width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:10px; font:inherit; background:#fff; color:var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
input[type=checkbox] { margin-right: 8px; accent-color: var(--green); }
.helptext { display:block; color:var(--muted); font-size:.82rem; }
.errorlist { color: var(--bad); margin: 4px 0; padding-left: 18px; font-size:.88rem; }
.messages { list-style:none; padding:0; margin:16px 0; }
.messages li { background:var(--surface); border-left:4px solid var(--brand); padding:10px 14px; border-radius:6px; margin-bottom:8px; }
.messages li.error { border-left-color: var(--bad); } .messages li.warning { border-left-color: var(--warn); }
.card { background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:20px; }
table { width:100%; border-collapse:collapse; font-size:.92rem; }
th, td { text-align:left; padding:9px 8px; border-bottom:1px solid var(--line); vertical-align:middle; }
th { font-size:.74rem; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); font-weight:500; }
.tbl { overflow-x:auto; }
.tick { width:56px; height:56px; border-radius:50%; background:var(--good); color:#fff; display:grid; place-items:center; font-size:2rem; }
.choices { list-style:none; padding:0; margin:0 0 14px; display:grid; gap:6px; }
.choices label { display:flex; align-items:center; gap:8px; font-weight:400; }

/* ---------------------------------------------------------------------------
   Staff dashboard
   --------------------------------------------------------------------------- */
.dash { background: #f8f4ee; }
.dash h1, .dash h2, .dash h3 { color: var(--ink); }
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top .wrap { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-block:12px; flex-wrap:wrap; }
.brandname { display:flex; align-items:center; gap:10px; font-family:var(--serif); font-size:1.2rem; color:var(--green); text-decoration:none; }
.top nav a { margin-left: 14px; text-decoration:none; color:var(--muted); font-weight:500; }
.top nav a:hover { color: var(--green); }
.dash main.wrap { padding-top: 24px; padding-bottom: 56px; }
.whoami { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; padding-bottom:10px; font-size:.85rem; }
.pill { font-size:.75rem; font-weight:600; padding:2px 9px; border-radius:99px; background:#ece6dc; white-space:nowrap; }
.pill.confirmed, .pill.completed { background:#dcf0e3; color:var(--good); }
.pill.pending_payment, .pill.arrived { background:#f8e9d0; color:var(--warn); }
.pill.no_show, .pill.cancelled { background:#f7dedb; color:var(--bad); }
.tiles { display:grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap:12px; margin-bottom:18px; }
.tile b { display:block; font-size:1.5rem; font-variant-numeric: tabular-nums; }
.tile > .muted:last-child { font-size:.82rem; }
.actions form { display:inline; }
.split { display:grid; grid-template-columns: 1.5fr 1fr; gap:16px; }
.toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.toolbar-actions { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.filters { display:flex; gap:12px; align-items:end; flex-wrap:wrap; margin-bottom:16px; }
.filters > div { min-width:150px; }
.presets { flex-basis:100%; margin:0; font-size:.88rem; }
.presets a { margin-right:14px; }
.kv { display:grid; grid-template-columns: max-content 1fr; gap:6px 16px; margin:12px 0; }
.kv dt { color:var(--muted); font-size:.88rem; }
.kv dd { margin:0; }
.roles dt { color:var(--ink); font-weight:600; }
.stars { color:var(--gold); letter-spacing:2px; white-space:nowrap; }
blockquote { margin:8px 0; padding-left:12px; border-left:3px solid var(--line); }
.week { display:grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap:12px; }
.day h3 { margin:0 0 8px; font-size:1rem; }
.day.is-today { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.slot { padding:8px 0; border-top:1px solid var(--line); font-size:.92rem; }
.section { margin-top:16px; }
.section h2, .card > h2 { margin-top:0; font-size:1.15rem; }
.num { text-align:right; font-variant-numeric: tabular-nums; }
.pager { display:flex; gap:12px; align-items:center; justify-content:center; margin:14px 0 0; }
.paybox { display:flex; gap:8px; align-items:end; flex-wrap:wrap; }
.paybox input { width:170px !important; }
.status-ok { color: var(--good); font-weight:600; } .status-no { color: var(--warn); font-weight:600; }
.notice { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }
.opt { display:inline-block; margin:0 10px 4px 0; font-size:.85rem; }
.formset td input { min-width: 70px; }
.invoice-doc { padding:32px; }
.invoice-logo { width:150px; }
ul#id_kind, #id_kind { list-style:none; padding:0; margin:4px 0 0; display:flex; gap:18px; }
#id_kind label { display:inline-flex; align-items:center; gap:6px; font-weight:400; }

/* "Check your phone" page */
.pay-wrap { max-width: 560px; padding-top: 32px; padding-bottom: 56px; }
.pay-card { padding: 28px; }
.pay-card h1 { margin: 6px 0 8px; font-size: 1.6rem; }
.pay-card .lead { font-size: 1.05rem; margin: 0 0 14px; }
.pay-steps { padding-left: 20px; margin: 0 0 14px; }
.pay-steps li { margin-bottom: 6px; }
.phone-icon { width: 46px; height: 74px; border: 3px solid var(--ink); border-radius: 10px; position: relative; animation: buzz 1.6s ease-in-out infinite; }
.phone-icon span { position: absolute; left: 50%; bottom: 6px; width: 10px; height: 3px; margin-left: -5px; background: var(--ink); border-radius: 2px; }
@keyframes buzz { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-6deg); } 80% { transform: rotate(6deg); } 85% { transform: rotate(-4deg); } 90% { transform: rotate(4deg); } }
.waiting .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); margin-right: 6px; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.retry { display: grid; gap: 8px; margin: 10px 0 4px; }
.manual { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.manual summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.manual ol { padding-left: 20px; }
.sim { margin-top: 18px; background: #fff7e6; border: 1px dashed #d8a24a; border-radius: 10px; padding: 12px 14px; font-size: .9rem; }
.sim form { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------------------------------------------------------------------------
   Public website
   --------------------------------------------------------------------------- */
.eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--gold-ink); margin: 0 0 6px; }
.eyebrow.light { color: var(--gold); }
.site-top { position: sticky; top: 0; z-index: 5; background: rgba(246,239,230,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-top .wrap { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-block:8px; }
.site-logo img { display:block; height:64px; width:auto; }
.site-nav { display:flex; align-items:center; gap:22px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration:none; font-size:.95rem; letter-spacing:.03em; }
.site-nav a:not(.btn):hover { color: var(--gold-ink); }

.hero { min-height: min(86vh, 760px); background-size: cover; background-position: center 30%; display:flex; align-items:center; }
.hero-band { width:100%; background: rgba(38,34,29,.72); padding: 48px 0; }
.hero-inner { text-align:center; color:#fff; }
.hero-mark { margin: 0 auto 8px; display:block; }
.hero h1 { color: var(--gold); font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0 0 12px; }
.hero .lead { max-width: 52ch; margin: 0 auto 22px; font-size: 1.12rem; color: #f3ece2; }
.hero-cta { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin:0; }

.intro { display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:center; padding-block: 72px; }
.intro h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 16px; }
.intro p { font-size: 1.05rem; max-width: 52ch; }
.intro-photo { position:relative; margin:0; }
.intro-photo img:not(.leaves) { border-radius: 200px 200px 14px 14px; aspect-ratio: 4/5; object-fit: cover; width:100%; }
.intro-photo .leaves { position:absolute; top:-56px; right:-36px; width:200px; pointer-events:none; z-index:1; }

.signature { background: var(--surface); padding-block: 72px; border-block: 1px solid var(--line); }
.signature h2, .team h2, .policies h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 32px; }
.cat-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap:16px; }
.cat-card { position:relative; display:block; aspect-ratio: 3/4; border-radius: 14px; overflow:hidden; background: var(--sand-2); text-decoration:none; }
.cat-card img { width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 45%, rgba(12,20,8,.78)); }
.cat-name { position:absolute; left:16px; right:16px; bottom:14px; z-index:1; color:#fff; font-family: var(--display); font-size:1.45rem; letter-spacing:.04em; line-height:1.15; }

.experience { background-size: cover; background-position: center; position:relative; color:#fff; }
.experience::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(20,18,15,.88) 0%, rgba(20,18,15,.7) 55%, rgba(20,18,15,.35)); }
.experience-inner { position:relative; padding-block: 88px; max-width: 1120px; }
.experience h2 { color:#fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 20px; max-width: 18ch; }
.ticks { list-style:none; padding:0; margin:0 0 26px; max-width: 56ch; display:grid; gap:12px; }
.ticks li { padding-left: 28px; position:relative; }
.ticks li::before { content:""; position:absolute; left:0; top:.55em; width:12px; height:12px; border-radius:50%; border:2px solid var(--gold); }
.ticks.dark li { color: var(--ink); }

.team { padding-block: 72px; }
.team-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap:20px; }
.person { text-align:center; }
.person h3 { margin: 12px 0 2px; font-size: 1.3rem; }
.person p { margin:0; color: var(--muted); }
.monogram { width:110px; height:110px; margin:0 auto; border-radius:50%; display:grid; place-items:center; background: var(--forest); color: var(--gold); font-family: var(--display); font-size: 3rem; border: 3px solid var(--gold); }

.policies { background: var(--sand-2); padding-block: 64px; }
.policy-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:16px; }
.policy-grid > div { background: var(--surface); border-radius: 14px; padding: 20px; border: 1px solid var(--line); }
.policy-grid h3 { margin: 0 0 6px; font-size: 1.2rem; }
.policy-grid p { margin: 0; color: var(--muted); }

.visit { display:grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding-block: 72px; }
.visit h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 16px; }
.visit h3 { margin: 18px 0 6px; }
.hours { display:grid; grid-template-columns: max-content 1fr; gap: 4px 20px; margin: 10px 0 16px; }
.hours dt { color: var(--muted); } .hours dd { margin:0; }
.visit-contact { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; align-self:start; }
.big-link { font-family: var(--serif); font-size: 1.4rem; text-decoration: none; }

.site-foot { background: var(--forest); color: #e8e0d2; padding-top: 48px; }
.site-foot a { color: var(--gold); }
.site-foot h3 { color: #fff; font-size: 1.1rem; margin: 0 0 8px; }
.foot-grid { display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.foot-name { font-family: var(--display); font-size: 1.5rem; color: var(--gold); margin: 8px 0 4px; }
.foot-base { display:flex; justify-content:space-between; gap: 12px; flex-wrap:wrap; border-top: 1px solid rgba(255,255,255,.14); margin-top: 36px; padding-block: 16px; font-size: .85rem; }

/* Menu page */
.page-head { background: var(--forest); color: #efe7da; padding-block: 48px 36px; }
.page-head h1 { color: var(--gold); font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0 0 8px; }
.page-head .lead { max-width: 60ch; margin:0; }
.page-head a { color: var(--gold); }
.page-head.slim { padding-block: 28px 24px; }
.page-head.slim p { margin: 0 0 6px; }
.page-head.slim h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin:0; }
.cat-chips { display:flex; gap:8px; overflow-x:auto; padding-block: 16px; position: sticky; top: 73px; background: var(--sand); z-index: 4; scrollbar-width: thin; }
.cat-chips a { white-space:nowrap; border:1px solid var(--line); border-radius:999px; padding:6px 14px; text-decoration:none; color: var(--ink); background: var(--surface); font-size:.9rem; }
.cat-chips a:hover { border-color: var(--gold); }
.menu { padding-bottom: 64px; }
.menu-cat { padding-top: 40px; scroll-margin-top: 140px; }
.menu-cat-head { display:grid; grid-template-columns: 120px 1fr; gap: 20px; align-items:center; border-bottom: 1px solid var(--gold); padding-bottom: 16px; margin-bottom: 8px; }
.menu-cat-head img { width:120px; height:120px; object-fit:cover; border-radius: 50%; }
.menu-cat-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 0 0 4px; }
.menu-cat-head p { margin:0; color: var(--muted); }
.menu-items { display:grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 40px; }
.menu-item { padding: 18px 0; border-bottom: 1px dashed var(--line); }
.menu-item-head { display:flex; justify-content:space-between; align-items:baseline; gap: 12px; }
.menu-item h3 { margin: 0; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; }
.menu-item p { margin: 6px 0; font-size: .95rem; }
.prices { list-style:none; padding:0; margin: 8px 0 0; }
.prices li { display:flex; align-items:baseline; gap:8px; font-size: .95rem; }
.prices i { flex:1; border-bottom: 1px dotted #c9bba6; transform: translateY(-4px); }
.prices b { font-weight: 600; color: var(--green); white-space: nowrap; }

/* Booking page */
.book { display:grid; grid-template-columns: 1.6fr 1fr; gap: 28px; padding-block: 32px 64px; align-items:start; }
.book-form fieldset { border:0; padding:0; margin:0 0 22px; }
.book-form legend { font-family: var(--serif); font-size: 1.3rem; color: var(--green); margin-bottom: 12px; }
.option-cards { display:grid; gap:10px; }
.option-card { display:flex; align-items:center; gap:12px; border:1px solid var(--line); border-radius:12px; padding:12px 14px; cursor:pointer; background:#fff; font-weight:400; }
.option-card:has(input:checked) { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: #f4f8f2; }
.option-card input { accent-color: var(--green); width:18px; height:18px; flex:none; }
.option-main { flex:1; font-weight:500; }
.option-main small, .option-price small { display:block; font-weight:400; color: var(--muted); font-size:.82rem; }
.option-price { text-align:right; font-weight:600; color: var(--green); }
.two { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display:flex; align-items:flex-start; gap:6px; }
.check label { font-weight:400; }
.book-aside img { border-radius: 14px; aspect-ratio: 4/3; object-fit: cover; width:100%; margin-bottom: 12px; }
.confirm h1 { font-size: 2rem; margin: 10px 0; }

@media (max-width: 860px) {
  .site-nav a:not(.btn):not(:first-child) { display:none; }
  .intro, .visit, .book { grid-template-columns: 1fr; }
  .intro { gap: 32px; padding-block: 48px; }
  .intro-photo { max-width: 420px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .top nav a { margin-left: 10px; }
}
@media (max-width: 520px) {
  .site-logo img { height:46px; }
  .site-nav { gap:14px; }
  .hero-band { padding: 36px 0; }
  .menu-cat-head { grid-template-columns: 72px 1fr; }
  .menu-cat-head img { width:72px; height:72px; }
  .menu-items { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-name { font-size: 1.15rem; left: 10px; bottom: 10px; }
  .intro-photo .leaves { width: 140px; top: -40px; right: -10px; }
  .foot-grid { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .cat-chips { top: 63px; }
}
@media print {
  .top, .site-top, .no-print, .notice, .messages, .filters, .site-foot { display:none !important; }
  body { background:#fff; }
  .card { border:0; padding:0; }
  .split { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
