/* Naomi's Hair Haven - brand: her business card (dusty blue, cream, slate script) + navy and aqua */
:root {
  --cream: #FBF7EF; --paper: #FFFFFF; --dusty: #A8BCD3; --dusty-2: #C9D6E4; --mist: #EEF2F7;
  --slate: #45627F; --navy: #13294B; --aqua: #13A7B3; --aqua-2: #DDF5F2; --muted: #5D7088; --line: #DCE3EA;
  --script: "Pinyon Script", cursive; --vibes: "Great Vibes", cursive; --allura: "Allura", cursive;
  --sans: "Jost", system-ui, sans-serif;
  --r: 14px; --shadow: 0 10px 30px rgba(19, 41, 75, .12);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--cream); color: var(--navy); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.gutter { padding-left: 20px; padding-right: 20px; }
.wrap { max-width: 1160px; margin: 0 auto; }
section { padding-top: 72px; padding-bottom: 72px; }
h1, h2, h3 { font-family: var(--sans); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: .2px; }
h1 { font-size: clamp(40px, 6vw, 64px); }
h2 { font-size: clamp(30px, 4vw, 42px); }
h3 { font-size: 20px; }
h1 em, h2 em { font-family: var(--script); font-style: normal; font-weight: 400; color: var(--slate); font-size: 1.3em; line-height: .8; padding: 0 .04em; }
.label { font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: var(--slate); font-weight: 500; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.head p { max-width: 560px; margin: 0; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 99px; padding: 13px 24px; font: 500 16px var(--sans);
       text-decoration: none; border: 1.5px solid var(--navy); cursor: pointer; transition: background .15s, color .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--navy); color: var(--cream); }
.btn-solid:hover { background: var(--slate); border-color: var(--slate); }
.btn-line { background: transparent; color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--cream); }
.btn-aqua { background: var(--aqua); border-color: var(--aqua); color: #fff; }
.btn-aqua:hover { background: #0E8F9A; border-color: #0E8F9A; }
.btn svg { width: 18px; height: 18px; }

/* logo as live text (same fonts as the card) */
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; color: var(--slate); }
.logo .nm { font-family: var(--script); font-size: 40px; color: var(--navy); letter-spacing: 1px; }
.logo .nm .n { font-family: var(--vibes); font-size: 1.12em; }
.logo .hh { font-family: var(--allura); font-size: 23px; margin-top: -9px; padding-left: 26px; color: var(--slate); }
.logo.big .nm { font-size: 96px; color: var(--cream); }
.logo.big .hh { font-size: 50px; margin-top: -16px; padding-left: 50px; }

/* header */
header.site { position: sticky; top: 0; z-index: 20; background: rgba(251, 247, 239, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.links { display: flex; gap: 24px; margin-left: auto; }
.links a { text-decoration: none; font-size: 16px; color: var(--navy); padding: 4px 0; border-bottom: 2px solid transparent; }
.links a:hover, .links a[aria-current] { border-bottom-color: var(--aqua); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.lang button { border: 0; background: none; font: 500 13px var(--sans); padding: 6px 10px; cursor: pointer; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--navy); color: var(--cream); }
.bar .btn { padding: 10px 18px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 22px; height: 22px; display: block; }

/* hero */
.hero { padding-top: 56px; padding-bottom: 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero .sub { font-size: 19px; color: var(--muted); max-width: 540px; margin: 20px 0 26px; }
.where { display: inline-flex; align-items: center; gap: 8px; color: var(--slate); margin: 18px 0 0; font-size: 15px; }
.where svg { width: 18px; height: 18px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.visual { position: relative; padding-bottom: 70px; }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; background: linear-gradient(160deg, var(--dusty-2), var(--dusty) 55%, var(--slate)); box-shadow: var(--shadow); width: 82%; margin-left: auto; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.card { position: absolute; left: 0; bottom: 0; width: 64%; aspect-ratio: 1.75; background: var(--dusty); border-radius: 12px; box-shadow: 0 14px 34px rgba(19, 41, 75, .25);
        display: flex; flex-direction: column; align-items: center; justify-content: center; }
.card .logo .nm { font-size: clamp(44px, 5.4vw, 66px); color: var(--cream); }
.card .logo .hh { font-size: clamp(24px, 2.8vw, 34px); margin-top: -10px; padding-left: 34px; }
.card .rule { width: 46%; height: 1px; background: var(--cream); opacity: .7; margin: 12px 0 8px; }
.card .tag { font-size: 11px; letter-spacing: 4px; color: var(--cream); }

/* services */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc article { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.svc .pic { aspect-ratio: 4 / 3; background: var(--mist); position: relative; }
.svc .pic { overflow: hidden; }
.svc .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.svc .from { font-size: 15px; color: var(--slate); font-weight: 500; }
.svc .from a { color: var(--aqua); text-decoration: none; }
/* placeholder art when there is no photo yet */
.ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(150deg, var(--mist), var(--dusty-2)); color: var(--slate); }
.ph span { font-family: var(--vibes); font-size: 64px; opacity: .55; line-height: 1; }
.ph small { position: absolute; bottom: 10px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; opacity: .7; }

/* studio band */
.band { background: var(--dusty); color: var(--navy); }
.band-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.band h2 em { color: var(--cream); }
.band p { color: var(--navy); opacity: .85; font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: center; background: rgba(251, 247, 239, .55); border-radius: 12px; padding: 14px 18px; font-weight: 500; }
.ticks li::before { content: "N"; font-family: var(--vibes); font-size: 28px; color: var(--aqua); background: var(--aqua-2); width: 42px; height: 42px; border-radius: 50%;
                    display: grid; place-items: center; flex: none; line-height: 1; padding-top: 4px; }

/* price list */
.plist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 48px; }
.pgroup h3 { font-family: var(--script); font-weight: 400; font-size: 40px; color: var(--slate); margin: 0 0 6px; }
.pitem { padding: 12px 0; border-bottom: 1px dashed var(--dusty); }
.pitem .row { display: flex; align-items: baseline; gap: 10px; }
.pitem .nm { font-weight: 500; }
.pitem .dots { flex: 1; border-bottom: 1px dotted var(--dusty); transform: translateY(-4px); }
.pitem .pr { font-weight: 500; color: var(--navy); white-space: nowrap; }
.pphoto { align-self: center; display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--aqua); cursor: pointer; flex: none; }
.pphoto:hover, .pphoto:focus-visible { background: var(--aqua); color: #fff; border-color: var(--aqua); }
.pitem ul { margin: 4px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.pitem .ask { font-size: 14px; color: var(--aqua); text-decoration: none; }
.notes { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 26px; margin-top: 40px; display: grid; gap: 8px; color: var(--muted); }
.notes p { margin: 0; padding-left: 26px; position: relative; }
.notes p::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.teaser { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 28px 24px; }

.policies { margin: 0; padding: 0; list-style: none; counter-reset: p; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.policies li { counter-increment: p; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 16px 58px; position: relative; color: var(--navy); }
.policies li::before { content: counter(p); position: absolute; left: 16px; top: 12px; font-family: var(--vibes); font-size: 30px; color: var(--aqua); line-height: 1; }
.policies li:empty { display: none; }
.agree label { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--navy); }
.agree input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--navy); }
.agree a, .polink { color: var(--aqua); font-size: 15px; }
@media (max-width: 860px) { .policies { grid-template-columns: 1fr; } }

/* products */
.prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.prod .pic { aspect-ratio: 1; background: var(--mist); position: relative; }
.prod .pic { overflow: hidden; }
.prod .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prod .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod .brand { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.prod p { margin: 0; color: var(--muted); font-size: 15px; }
.prod .for { font-size: 14px; color: var(--slate); }
.prod .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.prod .price { font-size: 22px; font-weight: 500; }
.prod .size { font-size: 14px; color: var(--muted); font-weight: 400; margin-left: 6px; }
.prod .btn { padding: 9px 16px; font-size: 14px; }
.prod.out .pic { opacity: .6; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--navy); color: var(--cream); font-size: 12px; padding: 4px 10px; border-radius: 99px; }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button { border: 1px solid var(--line); background: var(--paper); color: var(--navy); border-radius: 99px; padding: 7px 15px; font: 15px var(--sans); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.sheet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sheet figure { margin: 0; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; position: relative; background: var(--mist); cursor: zoom-in; }
.sheet figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.sheet figure:hover img { transform: scale(1.03); }
.sheet figure.empty { cursor: default; }
.lightbox { position: fixed; inset: 0; background: rgba(19, 41, 75, .92); z-index: 50; display: none; place-items: center; padding: 20px; }
.lightbox.on { display: grid; }
.lightbox img { max-height: 90vh; max-width: 92vw; width: auto; border-radius: 8px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.step::before { counter-increment: s; content: counter(s); font-family: var(--vibes); font-size: 44px; color: var(--aqua); display: block; line-height: 1; margin-bottom: 8px; }
.step p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* booking */
.book { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.book .intro p { color: var(--muted); }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.social a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--paper); border-radius: 99px; padding: 9px 16px; text-decoration: none; font-size: 15px; }
.social a:hover { border-color: var(--aqua); }
.social svg { width: 18px; height: 18px; }
.online { margin-top: 22px; background: var(--aqua-2); border-radius: var(--r); padding: 18px 20px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.online p { margin: 0; color: var(--navy); }
form.card-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--slate); }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { font: 16px var(--sans); color: var(--navy); background: var(--cream); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--aqua); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 110px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.seg { display: flex; gap: 8px; }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; text-align: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px; cursor: pointer; background: var(--cream); font-size: 15px; }
.seg input:checked + span { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.seg input:focus-visible + span { outline: 2px solid var(--aqua); }
.form-foot { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.msg { font-size: 15px; }
.msg.ok { color: #1E7A55; } .msg.bad { color: #B03A2E; }
.hp { position: absolute; left: -9999px; }

/* booking calendar in the request form */
.flabel { font-size: 14px; font-weight: 500; color: var(--slate); }
.calp { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--cream); }
.calp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.calp-head b { font-weight: 500; }
.calp-head button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--navy); font-size: 22px; line-height: 1; cursor: pointer; }
.calp-head button:disabled { opacity: .35; cursor: default; }
.calp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.calp-grid .wd { font-size: 12px; color: var(--muted); padding: 2px 0; }
.calp-grid button { width: 42px; height: 42px; justify-self: center; border: 0; border-radius: 50%; background: none; font: 15px var(--sans); color: var(--muted); opacity: .45; position: relative; }
.calp-grid button.open { opacity: 1; color: var(--navy); cursor: pointer; background: var(--paper); font-weight: 500; }
.calp-grid button.open::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--aqua); }
@media (hover: hover) { .calp-grid button.open:not(.sel):hover { background: var(--aqua-2); } }
.calp-grid button.open.sel { background: var(--navy); color: var(--cream); }
.calp-grid button.open.sel::after { background: var(--cream); }
.calp-day { font-size: 14px; color: var(--slate); margin: 12px 0 6px; font-weight: 500; }
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.times button { border: 1px solid var(--line); background: var(--paper); color: var(--navy); border-radius: 99px; padding: 8px 14px; font: 15px var(--sans); cursor: pointer; }
.times button:hover { border-color: var(--aqua); }
.times button.sel { background: var(--aqua); border-color: var(--aqua); color: #fff; }
.calp-note { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.calp-note b { color: var(--navy); font-weight: 500; }
.calp.dim .calp-grid { opacity: .4; pointer-events: none; }

/* page title band (prices / products pages) */
.ptitle { padding-top: 56px; padding-bottom: 24px; text-align: center; }
.ptitle p { color: var(--muted); max-width: 640px; margin: 14px auto 0; font-size: 18px; }
.center { text-align: center; margin-top: 30px; }

/* footer */
footer { background: var(--navy); color: var(--dusty-2); padding-top: 50px; padding-bottom: 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
footer .logo .nm { color: var(--cream); } footer .logo .hh { color: var(--dusty); }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
footer small { display: block; width: 100%; color: var(--dusty); font-size: 14px; border-top: 1px solid rgba(201, 214, 228, .2); padding-top: 18px; }
.mbar { display: none; }

@media (max-width: 1000px) {
  .svc { grid-template-columns: repeat(2, 1fr); }
  .sheet { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .prods { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .links { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--cream); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .links.open { display: flex; }
  .links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: block; margin-left: auto; }
  .bar .btn { display: none; }
  .hero-grid, .band-grid, .book { grid-template-columns: 1fr; gap: 36px; }
  .plist { grid-template-columns: 1fr; }
  .visual { max-width: 460px; margin: 0 auto; width: 100%; }
  section { padding-top: 56px; padding-bottom: 56px; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 247, 239, .96); border-top: 1px solid var(--line); }
  .mbar .btn { flex: 1; padding: 12px; }
  body { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .calp-grid button { width: 36px; height: 36px; }
  .svc, .prods, .steps { grid-template-columns: 1fr; }
  .sheet { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  form.card-form { grid-template-columns: 1fr; padding: 20px; }
  .logo .nm { font-size: 34px; } .logo .hh { font-size: 20px; }
  .card { width: 76%; } .card .tag { font-size: 9px; letter-spacing: 2px; }
  .head { margin-bottom: 24px; }
}
