/* ============================================================
   ARIES Nail Salon — Celestial Beauty
   Brand: terracotta #BB6349 · cream #FBF1E7 · night #1B100A
   ============================================================ */

@font-face {
  font-family: 'Canela';
  src: url('../fonts/canela-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --terracotta: #BB6349;
  --terracotta-dark: #9C4F38;
  --copper: #D98E6F;
  --cream: #FBF1E7;
  --cream-deep: #F3E4D4;
  --night: #1B100A;
  --night-deep: #140C07;
  --ink: #3A2418;
  --ink-soft: #7A5240;
  --muted: #8A6A58;
  --star: #E9C9A8;
  --line: #EBD6C4;
  --card: #FFF9F2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 65px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Canela', Georgia, serif; font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: var(--terracotta); }
img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--terracotta); color: #FFF6EE; padding: 8px 18px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  border: none;                /* <button> elements carry a UA border by default */
  cursor: pointer;
  font-family: 'Montserrat', system-ui, sans-serif;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon {
  width: 1.05em; height: 1.05em;
  vertical-align: -0.18em;
  margin-right: 9px;
}
.btn:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
.btn-solid { background: var(--terracotta); color: #FFF6EE; }
.btn-solid:hover { box-shadow: 0 10px 26px rgba(187, 99, 73, .4); background: var(--terracotta-dark); }
.btn-ghost { background: transparent; border: 1px solid rgba(233, 201, 168, .55); color: var(--star); }
.btn-ghost:hover { border-color: var(--star); }

/* ============ NAV ============ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(20, 12, 7, .6) 0%, rgba(20, 12, 7, 0) 100%);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-nav.scrolled {
  background: rgba(27, 16, 10, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(233, 201, 168, .14);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 24px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand span {
  font-family: 'Canela', serif; letter-spacing: .32em;
  color: #F5E6D8; font-size: 1.05rem;
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: #D9B49E; text-decoration: none;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
}
.nav-links a:hover, .nav-links a:focus-visible { color: #F5E6D8; }
.nav-cta { padding: 10px 22px; }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  background: var(--night); color: #F5E6D8;
  text-align: center;
  padding: 160px 24px 108px; /* fixed transparent nav overlays the top */
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.hero-eyebrow {
  font-size: .72rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--copper); font-weight: 600; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.6vw, 3.8rem);
  color: #F5E6D8;
  margin: 0 auto 18px;
  max-width: 17ch;
}
.hero-sub { color: #C9A488; max-width: 52ch; margin: 0 auto 34px; font-size: 1rem; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-hours {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 34px; font-size: .78rem; letter-spacing: .08em; color: #B08D77;
}
.hero-hours .dot { width: 7px; height: 7px; border-radius: 50%; background: #8FBF8F; flex: none; }
.hero-hours .dot.closed { background: #C97B5E; }

/* ============ SECTIONS ============ */
.section { padding: 76px 24px; max-width: 1020px; margin: 0 auto; }
.eyebrow {
  text-align: center; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--terracotta); font-weight: 600; margin: 0 0 10px;
}
.section h2 { text-align: center; font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin-bottom: 40px; }

/* services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.service-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 24px; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(58, 36, 24, .12); }
.service-card .glyph { font-size: 1.9rem; color: var(--terracotta); line-height: 1; font-family: 'Canela', serif; }
.service-card h3 { font-size: 1.15rem; margin: 14px 0 8px; }
.service-card p { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.service-card a { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-decoration: none; }
.service-card a:hover { text-decoration: underline; }

/* price list */
.section-price {
  max-width: none;
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-price > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.tab {
  background: transparent; border: 1px solid #C99A7E; color: var(--ink-soft);
  cursor: pointer; border-radius: 999px; padding: 10px 22px;
  font-family: 'Montserrat', sans-serif; font-size: .76rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.tab:hover, .tab.active { background: var(--terracotta); border-color: var(--terracotta); color: #FFF6EE; }
.tab:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; }
.panel { animation: fadeUp .35s ease; }
.panel dl { margin: 0; }
.row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px dashed #D9BFA8;
  font-size: .95rem;
}
.row dt { color: #4A3020; margin: 0; }
.row dt::after { content: ''; }
.row dd {
  margin: 0 0 0 auto; font-weight: 600; color: var(--terracotta);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.panel-note, .price-note {
  text-align: center; font-size: .8rem; color: var(--muted); font-style: italic; margin-top: 22px;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* testimonial */
.section-quote { padding-top: 68px; padding-bottom: 60px; }
.quote { max-width: 640px; margin: 0 auto; text-align: center; }
.quote .stars { color: var(--terracotta); letter-spacing: 6px; font-size: 1.1rem; margin-bottom: 16px; }
.quote blockquote { margin: 0 0 14px; }
.quote blockquote p {
  font-family: 'Canela', serif; font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  line-height: 1.45; color: #4A3020; margin: 0;
}
.quote cite {
  font-style: normal; font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}

/* visit */
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: start; }
.visit-info { display: grid; gap: 22px; }
.info-block h3 {
  font-family: 'Montserrat', sans-serif; font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta);
  margin-bottom: 8px;
}
.info-block p { font-size: .95rem; margin-bottom: 6px; }
.info-block .phone a {
  font-family: 'Canela', serif; font-size: 1.7rem; text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.hours { border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 5px 0; }
.hours td:first-child { padding-right: 28px; color: var(--ink-soft); }
.hours td:last-child { font-variant-numeric: tabular-nums; }
.visit-map iframe {
  width: 100%; height: 100%; min-height: 340px;
  border: 1px solid var(--line); border-radius: 16px;
}

/* ============ BOOKING MODAL ============ */
.bk-overlay[hidden] { display: none; }
.bk-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 12, 7, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.bk-modal {
  background: var(--cream);
  border-radius: 20px;
  width: 100%; max-width: 540px;
  max-height: 90vh;
  display: flex; flex-direction: column;
  overflow: hidden;                 /* header + footer fixed, only body scrolls */
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.bk-head, .bk-steps, .bk-foot { flex: none; }
.bk-head {
  position: relative;
  background: var(--night); color: #F5E6D8;
  padding: 22px 56px 20px 28px;
  /* no own border-radius — the modal's overflow:hidden clips it, avoiding
     double-curve antialiasing slivers at the top corners */
}
.bk-eyebrow {
  font-size: .66rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--copper); font-weight: 600; margin: 0 0 6px;
}
.bk-head h3 { font-size: 1.45rem; color: #F5E6D8; }
.bk-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; cursor: pointer;
  color: #D9B49E; font-size: 1.9rem; line-height: 1; padding: 4px 10px;
  border-radius: 8px;
}
.bk-close:hover, .bk-close:focus-visible { color: #FFF6EE; }
.bk-close:focus { outline: none; }
.bk-close:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.bk-steps {
  display: flex; gap: 6px; list-style: none;
  margin: 0; padding: 14px 28px 0;
}
.bk-steps li {
  flex: 1; text-align: center;
  font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--muted); padding-bottom: 9px;
  border-bottom: 2px solid var(--line);
}
.bk-steps li.on { color: var(--terracotta); border-bottom-color: var(--terracotta); }
.bk-body {
  padding: 22px 28px 6px;
  flex: 1 1 auto;
  overflow-y: auto;
  scrollbar-width: thin;                      /* Firefox */
  scrollbar-color: #C99A7E transparent;
}
.bk-body::-webkit-scrollbar { width: 8px; }
.bk-body::-webkit-scrollbar-track { background: transparent; margin: 14px 0; }
.bk-body::-webkit-scrollbar-thumb {
  background: #D9BFA8;
  border-radius: 999px;
  border: 2px solid var(--cream);
}
.bk-body::-webkit-scrollbar-thumb:hover { background: var(--terracotta); }
.bk-label {
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--terracotta); font-weight: 600; margin: 0 0 12px;
}
.bk-loading { font-size: .9rem; color: var(--muted); }
.bk-back {
  background: none; border: none; cursor: pointer; padding: 0;
  color: var(--terracotta); font-family: 'Montserrat', sans-serif;
  font-size: .8rem; font-weight: 600; margin-bottom: 16px;
}
.bk-back:hover { text-decoration: underline; }

.bk-services { display: grid; gap: 10px; margin-bottom: 20px; }
.bk-service {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; cursor: pointer; text-align: left;
  font-family: 'Montserrat', sans-serif; font-size: .92rem; color: var(--ink);
  transition: border-color .15s ease, transform .15s ease;
}
.bk-service:hover { border-color: var(--terracotta); transform: translateX(3px); }
.bk-service b { font-weight: 600; }
.bk-service span { font-size: .78rem; color: var(--muted); white-space: nowrap; }

.bk-monthnav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.bk-monthnav strong { font-family: 'Canela', serif; font-weight: 400; font-size: 1.1rem; }
.bk-monthnav button {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  width: 38px; height: 38px; font-size: 1.2rem; cursor: pointer; color: var(--terracotta);
}
.bk-monthnav button:disabled { opacity: .35; cursor: default; }

.bk-dates, .bk-times { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.bk-chip {
  background: var(--card); border: 1px solid #C99A7E; border-radius: 999px;
  padding: 8px 16px; cursor: pointer;
  font-family: 'Montserrat', sans-serif; font-size: .82rem; font-weight: 500; color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  transition: background .15s ease, color .15s ease;
}
.bk-chip:hover, .bk-chip.sel {
  background: var(--terracotta); border-color: var(--terracotta); color: #FFF6EE;
}

.bk-summary {
  background: var(--cream-deep); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; font-size: .92rem; margin: 0 0 18px;
}
#bk-form label {
  display: block; font-size: .78rem; font-weight: 600; color: var(--ink-soft);
  margin-bottom: 14px;
}
#bk-form input {
  display: block; width: 100%; margin-top: 5px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 14px; font-family: 'Montserrat', sans-serif; font-size: .95rem; color: var(--ink);
}
#bk-form input:focus-visible { outline: 2px solid var(--copper); border-color: var(--terracotta); }
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-hp { position: absolute; left: -5000px; height: 1px; width: 1px; opacity: 0; }
.bk-error {
  background: #F7E3DC; border: 1px solid #DBA18C; color: #8C3B22;
  border-radius: 10px; padding: 10px 14px; font-size: .85rem;
}
.bk-submit { width: 100%; margin: 6px 0 16px; }
.bk-submit:disabled { opacity: .6; }

.bk-done { text-align: center; padding: 18px 0 26px; }
.bk-done-star { font-size: 2.4rem; color: var(--terracotta); margin-bottom: 10px; }
.bk-done h4 { font-family: 'Canela', serif; font-weight: 400; font-size: 1.5rem; margin: 0 0 12px; }
.bk-done p { font-size: .95rem; }
.bk-done-note { color: var(--muted); font-size: .85rem; margin-bottom: 22px; }

/* embed variant: Acuity scheduler in an iframe */
.bk-modal-embed { max-width: 780px; height: 88vh; }
.bk-embed-body { flex: 1 1 auto; background: #FFFFFF; }
.bk-embed-body iframe { display: block; width: 100%; height: 100%; border: 0; }

.bk-foot {
  text-align: center; font-size: .82rem; color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 14px 28px; margin: 0;
}

@media (max-width: 560px) {
  .bk-overlay { padding: 0; align-items: flex-end; }
  .bk-modal { max-width: none; max-height: 94vh; border-radius: 18px 18px 0 0; }
  .bk-grid { grid-template-columns: 1fr; gap: 0; }
}

/* footer */
.site-footer {
  background: var(--night-deep); color: #8A6A58;
  text-align: center; padding: 44px 24px;
  font-size: .78rem; letter-spacing: .05em;
}
.site-footer img { opacity: .9; margin-bottom: 14px; }
.site-footer a { color: #B08D77; }
.powered-by {
  margin-top: 10px;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #6B4F3E;
}
.powered-by a {
  color: #B08D77;
  text-decoration: none;
  font-weight: 600;
}
.powered-by a:hover { color: var(--copper); text-decoration: underline; }

/* ============ RESPONSIVE ============ */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .visit-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 20px; }
  .hero { padding: 76px 20px 84px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
