/* Spa by Lenice - her own look (sea, script logo, boxed nav, white panel, Open Sans navy), finished. */
:root {
  --ink: #0b1f52;        /* her headline navy (rgb 5,3,87 softened a touch for long reading) */
  --text: #1a3150;       /* her body navy */
  --peri: #566fb8;       /* her nav + Contact Us periwinkle */
  --peri-soft: #eef1fa;
  --red: #8b0000;        /* her Saturday / Sunday / package red */
  --slate: #103f54;      /* her header + footer slate */
  --plum: #4e4550;       /* logo script */
  --leaf: #4a6a2c;       /* logo leaf */
  --rule: #d8deea;
  --panel: #ffffff;
  --panel-w: 1000px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); background: #7fc6c6;
  font: 400 17px/1.65 "Open Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--peri); }
a:hover { color: var(--ink); }

/* the sea stays put behind everything, like hers */
.sea { position: fixed; inset: 0; z-index: -1; background: url(img/sea.jpg) center 38% / cover no-repeat; }
.sea::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 40%); }

.wrap { width: min(var(--panel-w), calc(100% - 48px)); margin: 0 auto; }

/* ---------- header ---------- */
.top { position: relative; padding-top: 20px; }
.contact-block { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; font-weight: 600; font-size: 16.5px; line-height: 1.45; color: var(--slate); }
.contact-block .reach { text-align: right; }
.contact-block a { color: var(--slate); text-decoration: none; }
.contact-block a:hover { color: var(--peri); }
.logo { display: block; width: 430px; max-width: 70%; margin: 0 auto 6px; }
.logo img { width: 100%; height: auto; }

.nav { display: flex; justify-content: space-between; gap: 12px; margin: 0 auto 22px; list-style: none; padding: 0; }
.nav > li { position: relative; flex: 1 1 0; }
.nav > li > a.box { min-width: 0; padding: 0 8px; }
.nav a.box, .box {
  display: flex; align-items: center; justify-content: center;
  min-width: 108px; height: 38px; padding: 0 14px;
  background: #fff; border: 1.5px solid var(--peri); color: var(--peri);
  font: 400 16px/1 "Open Sans", sans-serif; text-decoration: none; white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.nav a.box:hover, .nav li:focus-within > a.box { background: var(--peri-soft); color: var(--ink); }
.nav a.box[aria-current="page"], .nav a.box.on { background: var(--peri); color: #fff; }
.nav .sub {
  position: absolute; left: 50%; top: 100%; z-index: 20; min-width: 240px; margin: 0; padding: 8px 0;
  list-style: none; background: #fff; border: 1.5px solid var(--peri); transform: translate(-50%, 6px);
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
  box-shadow: 0 10px 24px rgba(16,63,84,.18);
}
.nav li:hover > .sub, .nav li:focus-within > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav li::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; } /* hover bridge */
.nav .sub a { display: block; padding: 8px 18px; color: var(--peri); text-decoration: none; font-size: 15px; white-space: nowrap; }
.nav .sub a:hover, .nav .sub a[aria-current="page"] { background: var(--peri-soft); color: var(--ink); }

.phone-bar, .menu-toggle { display: none; }

/* ---------- the white panel ---------- */
.panel { overflow-x: clip; background: var(--panel); padding: 54px 84px 70px; box-shadow: 0 20px 50px rgba(16,63,84,.16); }
.panel + .panel { margin-top: 0; border-top: 1px solid var(--rule); }

h1, h2, h3 { color: var(--ink); text-wrap: balance; }
h1 { font-size: 30px; line-height: 1.25; font-weight: 700; text-align: center; margin: 0 0 30px; }
h1.page { font-weight: 400; font-size: 34px; }
h2 { font-size: 26px; line-height: 1.3; font-weight: 400; margin: 0 0 22px; }
h2.center, .center { text-align: center; }
h3 { font-size: 20px; line-height: 1.35; font-weight: 700; margin: 0; }
p { margin: 0 0 16px; text-wrap: pretty; }
.lead { text-wrap: balance; text-align: center; font-size: 21px; line-height: 1.55; color: var(--ink); max-width: 30em; margin: 0 auto 22px; }
.script { font-family: "Niconne", cursive; font-weight: 400; color: var(--plum); }
.red { color: var(--red); font-weight: 700; }
.shout { font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); text-align: center; font-size: 18px; margin: 34px 0 0; }

/* buttons, in her nav-box language */
.btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 26px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 22px; border: 1.5px solid var(--peri); background: #fff; color: var(--peri); font: 600 16px/1 "Open Sans", sans-serif; text-decoration: none; transition: background .2s ease, color .2s ease; }
.btn:hover { background: var(--peri-soft); color: var(--ink); }
.btn.fill { background: var(--peri); color: #fff; }
.btn.fill:hover { background: #4a60a6; color: #fff; }
.btn svg { width: 17px; height: 17px; flex: none; }

/* ---------- framed photos: her tilted, bordered, shadowed collage ---------- */
.frame { margin: 0; background: #fff; padding: 7px; border: 1px solid #c9cdd6; box-shadow: 0 10px 22px rgba(16,30,60,.22); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.frame img { width: 100%; height: auto; }
.frame figcaption { font-size: 13.5px; color: var(--slate); text-align: center; padding: 8px 4px 2px; line-height: 1.35; }
.tl { transform: rotate(-3deg); } .tr { transform: rotate(2.5deg); } .tl2 { transform: rotate(-1.5deg); } .tr2 { transform: rotate(4deg); }
a.frame { display: block; text-decoration: none; }
a.frame:hover { transform: rotate(0deg) translateY(-3px); }

/* ---------- home ---------- */
.welcome .lead + .lead { margin-top: -4px; }
.treats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin: 46px 0 10px; }
.treats .frame img, .hub .frame img { aspect-ratio: 4 / 5; object-fit: cover; }
.treats a.frame figcaption { font-weight: 600; font-size: 15px; color: var(--ink); }
.view { display: grid; grid-template-columns: 340px 1fr; gap: 46px; align-items: center; margin-top: 54px; }
.view p { font-size: 18px; }
.view h2 { margin-bottom: 14px; }

.hours-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.hours { width: 100%; border-collapse: collapse; font-weight: 600; font-size: 18px; }
.hours td { padding: 7px 0; border-bottom: 1px dotted #b9c3d6; }
.hours td:last-child { text-align: right; }
.hours tr.closed td { color: var(--red); }
.hours tr.today td { color: var(--peri); }
.hours tr.today td:first-child::after { content: " (today)"; font-weight: 400; font-size: 14px; }
.find p { font-weight: 600; font-size: 18px; line-height: 1.6; margin: 0 0 14px; }
.find .btns { justify-content: flex-start; margin-top: 18px; }

/* ---------- treatment menus ---------- */
.menu-page { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 54px; align-items: start; }
.menu-page.solo { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
.photos { display: grid; gap: 34px; padding-top: 10px; position: sticky; top: 24px; }
.item { padding: 0 0 26px; margin: 0 0 26px; border-bottom: 1px solid var(--rule); }
.item:last-child { border-bottom: 0; margin-bottom: 0; }
.item h3 { display: flex; align-items: baseline; gap: 10px; }
.item h3 .name { flex: 0 1 auto; text-wrap: balance; }
.item h3 .dots { flex: 1 1 auto; border-bottom: 2px dotted #b9c3d6; min-width: 24px; transform: translateY(-5px); }
.item h3 .price { flex: none; font-weight: 700; color: var(--ink); }
.item .time { font-size: 14.5px; color: #5a6b85; font-weight: 600; margin: 2px 0 8px; }
.item p { font-size: 16px; margin: 8px 0 0; }
.rows { margin: 10px 0 4px; padding: 0; list-style: none; max-width: 330px; }
.rows li { display: flex; gap: 10px; align-items: baseline; font-weight: 600; font-size: 16px; padding: 3px 0; }
.rows li .dots { flex: 1; border-bottom: 2px dotted #b9c3d6; transform: translateY(-4px); }
.pkg { color: var(--red); font-weight: 700; font-size: 16px; margin-top: 10px !important; }
.note { background: #f3f6fb; border-left: 3px solid var(--peri); padding: 14px 18px; font-size: 15.5px; margin: 0 0 26px; }
.feature { background: linear-gradient(180deg, #f2f8f8, #fff); border: 1px solid #d9ecec; padding: 26px 28px; margin: 0 0 30px; }
.feature h2 { font-size: 23px; font-weight: 700; margin-bottom: 12px; }
.feature p { font-size: 16px; }
.section-head { font-size: 22px; font-weight: 700; color: var(--ink); margin: 40px 0 20px; padding-bottom: 8px; border-bottom: 2px solid var(--peri); }
.section-head:first-child { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--peri); color: var(--peri); padding: 4px 12px; font-size: 14.5px; }

/* services hub */
.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 30px; margin-top: 10px; }
.hub a.frame figcaption { font-size: 16px; font-weight: 600; color: var(--ink); }
.hub a.frame figcaption small { display: block; font-weight: 400; font-size: 13.5px; color: #5a6b85; margin-top: 2px; }
.hub-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.hub-foot .feature { margin: 0; text-align: center; }

/* about */
.about-top { display: grid; grid-template-columns: 240px 1fr; gap: 46px; align-items: start; }
.sig { font-family: "Niconne", cursive; font-size: 34px; color: var(--plum); margin: 26px 0 0; line-height: 1; }
.sig + small { display: block; font-size: 14px; color: #5a6b85; margin-top: 6px; }

/* policies */
.policies { max-width: 760px; margin: 0 auto; }
.policies ul { padding-left: 20px; margin: 0 0 22px; }
.policies li { margin: 0 0 10px; font-size: 16px; }

/* gallery */
.gallery { columns: 3 240px; column-gap: 26px; }
.gallery .frame { break-inside: avoid; margin: 0 0 26px; }

/* testimonials */
.quotes { columns: 2 320px; column-gap: 34px; }
.quote { break-inside: avoid; margin: 0 0 28px; padding: 22px 24px; background: #f6f8fc; border-left: 3px solid var(--peri); }
.quote p { font-size: 16px; margin: 0 0 8px; }
.quote cite { font-style: normal; font-weight: 700; color: var(--ink); font-size: 15px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--rule); }

/* ---------- footer ---------- */
.foot { background: rgba(16,63,84,.94); color: #dbe7ee; margin-top: 0; padding: 30px 0 34px; font-size: 14.5px; }
.foot .wrap { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .btn.fill { height: 40px; font-size: 15px; }
.foot .bits { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 6px 26px; flex: 1; }
.foot .tag { font-family: "Niconne", cursive; font-size: 22px; color: #fff; }


/* ---------- phones ---------- */
@media (max-width: 900px) {
  .panel { padding: 44px 40px 56px; }
  .treats { grid-template-columns: repeat(2, 1fr); }
  .menu-page { grid-template-columns: 1fr; }
  .photos { position: static; grid-template-columns: repeat(2, 1fr); order: -1; gap: 22px; padding: 0 6px 10px; }
  .photos .frame:nth-child(n+3) { display: none; }
  .hub { grid-template-columns: repeat(2, 1fr); }
  .hub > :last-child { grid-column: 1 / -1; }
  .hub > :last-child img { aspect-ratio: 16 / 9; }
  .nav { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .top { padding-top: 18px; }
  .contact-block { display: none; }
  .logo { width: 290px; max-width: 78%; margin: 0 auto 14px; }
  .phone-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 10px; }
  .phone-bar .btn { justify-content: center; height: 46px; padding: 0 10px; font-size: 15px; }
  .menu-toggle { display: flex; width: 100%; height: 46px; justify-content: center; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--peri); color: var(--peri); font: 600 16px/1 "Open Sans", sans-serif; margin: 0 0 14px; cursor: pointer; }
  .menu-toggle .bars { width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
  .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
  .nav { display: none; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; }
  .nav.open { display: grid; }
  .nav a.box { min-width: 0; width: 100%; height: 44px; }
  .nav .sub, .nav li:hover > .sub, .nav li:focus-within > .sub { position: static; left: auto; transform: none; opacity: 1; visibility: visible; display: none; box-shadow: none; border-top: 0; min-width: 0; transition: none; }
  .nav li.has-sub.open { grid-column: 1 / -1; }
  .nav li.has-sub.open > .sub { display: block; }
  .nav .sub a { padding: 11px 16px; font-size: 16px; }
  .nav li::after { display: none; }
  .panel { padding: 34px 20px 44px; }
  h1 { font-size: 24px; }
  h1.page { font-size: 28px; }
  h2 { font-size: 22px; }
  .lead { font-size: 18px; }
  .treats { gap: 18px; margin-top: 34px; }
  .view, .hours-wrap, .about-top, .contact-grid, .hub-foot { grid-template-columns: 1fr; gap: 30px; }
  .view .frame { max-width: 300px; margin: 0 auto; }
  .about-top .frame { max-width: 220px; margin: 0 auto; }
  .hub { gap: 22px 16px; }
  .chips { display: grid; grid-template-columns: 1fr 1fr; }
  .item h3 { font-size: 18px; }
  .foot .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot .bits { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
