/* ==========================================================================
   Kathy's Nails & Spa
   Values transcribed from the Claude Design prototype (salon-site/*.dc.html).
   The prototype carried every style inline and used a `style-hover` attribute
   that browsers ignore; hover states live here as real CSS.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  --cream: #FFF6EF;
  --ink: #55100F;
  --red: #D6111A;
  --red-deep: #8E0B12;
  --white: #FFFFFF;
  --img-bg: #9B0A12;
  --muted: #6E211D;
  --gold: #FFD24D;

  --line: rgba(214, 17, 26, 0.2);
  --line-soft: rgba(214, 17, 26, 0.15);
  --line-strong: rgba(214, 17, 26, 0.25);
  --field-line: rgba(142, 11, 18, 0.3);
  --leader: rgba(142, 11, 18, 0.35);
  --on-red: rgba(255, 246, 239, 0.95);

  --serif: 'Playfair Display', Georgia, serif;
  --sans: Montserrat, 'Helvetica Neue', Arial, sans-serif;
  --script: 'Great Vibes', cursive;

  --stripe: repeating-linear-gradient(135deg,
      rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 3px,
      transparent 3px, transparent 22px);
  --hero-glow: radial-gradient(100% 70% at 50% 0%,
      rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 60%);

  --wrap: 1200px;
  --gutter: 28px;
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red-deep); text-decoration: none; }
a:hover { color: var(--red); }

img { display: block; max-width: 100%; }

h1, h2, h3 { margin: 0; font-weight: 700; }

/* Keyboard focus — the prototype styled hover only. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* Panels move focus to their heading for screen readers; no visible ring for that. */
[tabindex="-1"]:focus,
[tabindex="-1"]:focus-visible { outline: none; }

@media (prefers-reduced-motion: no-preference) {
  a, button { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
}

/* --- Layout -------------------------------------------------------------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.script { font-family: var(--script); font-size: 30px; color: var(--red); line-height: 1.3; }
.serif { font-family: var(--serif); }

.section-head { text-align: center; }
.section-head .title { font-family: var(--serif); font-size: 36px; margin-top: 6px; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: 2px;
  cursor: pointer;
  text-align: center;
}

.btn-red { background: var(--red); color: var(--cream); padding: 14px 28px; font-size: 13px; }
.btn-red:hover { background: var(--red-deep); color: var(--cream); }

.btn-red-lg { background: var(--red); color: var(--cream); padding: 18px 44px; font-size: 15px; }
.btn-red-lg:hover { background: var(--red-deep); color: var(--cream); }

.btn-cream { background: var(--cream); color: var(--red-deep); padding: 16px 34px; font-size: 14px; }
.btn-cream:hover { background: #fff; color: var(--red); }

.btn-ghost-light {
  background: none;
  border: 1.5px solid rgba(255, 246, 239, 0.8);
  color: var(--cream);
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 700;
}
.btn-ghost-light:hover { background: rgba(255, 246, 239, 0.12); color: var(--cream); }

.btn-ghost-red {
  background: none;
  border: 1.5px solid var(--red);
  color: var(--red-deep);
  padding: 12px 26px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.btn-ghost-red:hover { background: rgba(214, 17, 26, 0.06); color: var(--red-deep); }

/* --- Announcement bar ---------------------------------------------------- */
.announcement {
  background: var(--red-deep);
  color: var(--cream);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* --- Header / nav -------------------------------------------------------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { color: inherit; }

.brand-badge {
  width: 52px;
  height: 52px;
  flex: none;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
/* Both lines must fit the circle's chord at their own height, not the full
   52px diameter — the prototype's 19px/4.5px overflowed the border. */
.brand-badge .b1 { font-family: var(--script); font-size: 14px; line-height: 1.05; }
.brand-badge .b2 {
  font-size: 4px;
  font-weight: 700;
  letter-spacing: 1.2px;
  /* letter-spacing also trails the last glyph; pull it back to stay optically centred */
  margin-right: -1.2px;
  margin-top: 1px;
}

.brand-word {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink);
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 1px;
}
.nav-links a[aria-current="page"] { color: var(--red); }

.nav-book {
  background: var(--red);
  color: var(--cream);
  padding: 12px 24px;
  border-radius: 999px;
  letter-spacing: 2px;
}
.nav-book:hover { background: var(--red-deep); color: var(--cream); }
.nav-book[aria-current="page"] { background: var(--red-deep); color: var(--cream); }

/* --- Footer -------------------------------------------------------------- */
.site-footer { background: var(--stripe), var(--red-deep); color: var(--cream); }

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 30px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .f1 { font-family: var(--script); font-size: 26px; }
.footer-brand .f2 { font-size: 11px; font-weight: 600; letter-spacing: 3px; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
}
/* Cream on deep red: the global a:hover red would be near-invisible here. */
.footer-links a,
.footer-contact a { color: var(--cream); }
.footer-links a:hover,
.footer-contact a:hover { color: var(--cream); text-decoration: underline; }
.footer-links a.is-book { text-decoration: underline; }

.footer-contact { font-size: 12.5px; font-weight: 600; color: rgba(255, 246, 239, 0.9); }

/* --- Home: hero ---------------------------------------------------------- */
.hero { background: var(--stripe), var(--hero-glow), var(--red); color: var(--cream); }

.hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px var(--gutter) 64px;
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-copy { flex: 1.1; }
.hero-script { font-family: var(--script); font-size: 34px; color: var(--on-red); }
.hero-title { font-family: var(--serif); font-size: 54px; line-height: 1.12; margin-top: 10px; }
.hero-lead { font-size: 16px; line-height: 1.7; margin-top: 18px; max-width: 480px; color: var(--on-red); }
.hero-ctas { display: flex; align-items: center; gap: 16px; margin-top: 30px; flex-wrap: wrap; }

.hero-reviews {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 13.5px;
  font-weight: 600;
}
.hero-reviews a { color: var(--on-red); text-decoration: underline; }
.hero-reviews a:hover { color: var(--cream); }
.stars { letter-spacing: 2px; color: var(--gold); }

.hero-art { flex: 0.9; position: relative; height: 420px; }

.circle-photo {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  background: var(--img-bg);
  border: 4px solid rgba(255, 246, 239, 0.9);
}
.circle-photo img { width: 100%; height: 100%; object-fit: cover; }
.circle-a { right: 0; top: 0; width: 320px; height: 320px; }
.circle-b { left: 20px; bottom: 0; width: 230px; height: 230px; }

/* --- Home: service cards ------------------------------------------------- */
.services-teaser { padding-top: 64px; padding-bottom: 64px; }

.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }

.svc-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  color: var(--ink);
  display: block;
}
.svc-card:hover { border-color: var(--red); color: var(--ink); }

.svc-media { height: 190px; background: var(--img-bg); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 20px 22px; }
.svc-title { font-size: 17px; font-weight: 800; letter-spacing: 2px; color: var(--red); }
.svc-desc { font-size: 13px; line-height: 1.6; margin-top: 6px; }
.svc-price { font-size: 12.5px; font-weight: 700; margin-top: 10px; color: var(--red-deep); }

/* --- Home: reward + gift band ------------------------------------------- */
.band-white {
  background: var(--white);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.feature-pair {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card { border-radius: 20px; padding: 32px 34px; }
.feature-card.is-red { background: var(--stripe), var(--red); color: var(--cream); }
.feature-card.is-outline { background: var(--cream); border: 1.5px solid var(--line-strong); }

.feature-card .f-script { font-family: var(--script); font-size: 28px; }
.feature-card.is-outline .f-script { color: var(--red); }
.feature-card .f-title { font-family: var(--serif); font-size: 26px; margin-top: 6px; }
.feature-card .f-body { font-size: 13.5px; line-height: 1.65; margin-top: 10px; }
.feature-card.is-red .f-body { color: var(--on-red); }

/* --- Hours / location ---------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.visit { padding-top: 60px; padding-bottom: 60px; }
.visit .title,
.story .title { font-family: var(--serif); font-size: 34px; margin-top: 6px; }

.hours {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 20px;
  font-size: 14.5px;
  max-width: 380px;
}
.hours div { display: flex; justify-content: space-between; }
.hours span:first-child { font-weight: 600; }

.address { margin-top: 20px; font-size: 14.5px; line-height: 1.7; }
.address .street { font-weight: 700; }
.address a { font-weight: 700; }

.map-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--line-strong);
  height: 320px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- Interior page banner ----------------------------------------------- */
.page-hero {
  background: var(--stripe), var(--red);
  color: var(--cream);
  text-align: center;
  padding: 44px var(--gutter);
}
.page-hero .ph-script { font-family: var(--script); font-size: 30px; }
.page-hero h1 { font-family: var(--serif); font-size: 42px; margin-top: 4px; }
.page-hero .ph-sub { font-size: 13.5px; margin-top: 10px; color: var(--on-red); }
.page-hero .ph-sub a { color: var(--cream); font-weight: 700; text-decoration: underline; }

/* --- Services: price menu ---------------------------------------------- */
.menu-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.menu-col { display: flex; flex-direction: column; gap: 22px; }

.menu-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px;
}
.menu-card h2 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--red);
  border-bottom: 2px solid var(--red);
  padding-bottom: 8px;
}
.menu-card h2 .qual { font-size: 10.5px; font-weight: 600; letter-spacing: 1px; }

.price-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; font-size: 13.5px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.price-row .name { font-weight: 600; }
.price-row .note { font-weight: 400; font-size: 11px; color: var(--red-deep); }
.price-row .leader { flex: 1; border-bottom: 1px dotted var(--leader); }
.price-row .amt { font-weight: 700; color: var(--red-deep); white-space: nowrap; }

.menu-note {
  font-size: 11.5px;
  font-style: italic;
  color: var(--red-deep);
  border-top: 1px solid var(--line);
  padding-top: 9px;
  margin-top: 12px;
}

.menu-card.is-red {
  background: var(--stripe), var(--red);
  color: var(--cream);
  border: none;
}
.menu-card.is-red h2 { color: var(--cream); border-bottom: none; padding-bottom: 0; }
.menu-card.is-red h2 .qual { font-size: 11px; opacity: 0.85; }
.facial-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 10px;
  font-size: 13.5px;
}
.facial-row .amt { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.menu-card.is-red .menu-note {
  border-top: none;
  padding-top: 0;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 246, 239, 0.9);
}

.wax-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-top: 14px;
  font-size: 13.5px;
}

/* --- Closing CTA -------------------------------------------------------- */
.closing-cta { text-align: center; padding: 0 var(--gutter) 64px; }
.closing-cta .cta-note { font-size: 13px; margin-top: 14px; color: var(--red-deep); }

/* --- Gallery ------------------------------------------------------------ */
.gallery-wrap { padding-top: 48px; padding-bottom: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
}
.gallery-grid figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--img-bg);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid .span-2 { grid-column: span 2; }
.gallery-grid .span-2x2 { grid-column: span 2; grid-row: span 2; }

.gallery-caption {
  text-align: center;
  margin-top: 28px;
  margin-bottom: 48px;
  font-size: 13px;
  font-style: italic;
  color: var(--red-deep);
}

/* --- About -------------------------------------------------------------- */
.story { padding-top: 56px; padding-bottom: 56px; grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
.story .story-title { font-family: var(--serif); font-size: 32px; margin-top: 8px; line-height: 1.25; }
.story p { font-size: 15px; line-height: 1.8; margin: 16px 0 0; }
.story p + p { margin-top: 12px; }
.story-reviews {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
}
.story-reviews a { text-decoration: underline; }
.story-reviews .stars { color: var(--red); }

.story-art { position: relative; height: 420px; }
.story-art .circle-photo { border-color: var(--red); }
.story-art .circle-a { width: 300px; height: 300px; }
.story-art .circle-b { left: 30px; width: 210px; height: 210px; }

.faq-band { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 34px auto 0;
  max-width: 980px;
}
.faq-card {
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 20px 24px;
}
.faq-card h3 { font-size: 15px; font-weight: 800; color: var(--red); }
.faq-card p { font-size: 13.5px; line-height: 1.65; margin: 8px 0 0; }
.faq-card a { font-weight: 700; text-decoration: underline; }

.directions { padding-top: 56px; padding-bottom: 56px; }
.directions .address { margin-top: 18px; line-height: 1.8; }
.directions .hours { margin-top: 18px; font-size: 14px; max-width: 340px; gap: 8px; }
.directions .map-frame { height: 340px; }

/* --- Book --------------------------------------------------------------- */
.book-wrap { max-width: 860px; margin: 0 auto; padding: 48px var(--gutter) 72px; }

.form-card {
  background: var(--white);
  border: 1.5px solid var(--line-strong);
  border-radius: 22px;
  padding: 36px 40px;
  box-shadow: 0 16px 44px rgba(142, 11, 18, 0.08);
}

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.is-wide { grid-column: 1 / -1; }

.field label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--red-deep);
}

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 14px;
  border: 1.5px solid var(--field-line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  width: 100%;
}
.field select { padding: 13px 14px; }
.field textarea { resize: vertical; }
.field select:disabled { opacity: 0.6; cursor: not-allowed; }

/* Standing notice that online sending is not live yet. */
.form-notice {
  background: rgba(214, 17, 26, 0.06);
  border: 1.5px solid var(--line-strong);
  border-left: 5px solid var(--red);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 26px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.form-notice b { color: var(--red-deep); }
.form-notice a { font-weight: 700; text-decoration: underline; }

.form-error {
  margin-top: 18px;
  background: rgba(214, 17, 26, 0.08);
  border: 1.5px solid var(--red);
  color: var(--red-deep);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 600;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.btn-submit {
  background: var(--red);
  color: var(--cream);
  padding: 17px 40px;
  font-size: 14px;
}
.btn-submit:hover { background: var(--red-deep); }
.form-actions .actions-note { font-size: 12.5px; color: var(--red-deep); line-height: 1.5; }

/* Confirmation panel — shown after a valid submit. */
.confirm-card {
  background: var(--white);
  border: 1.5px solid var(--line-strong);
  border-radius: 22px;
  padding: 44px 48px;
  text-align: center;
  box-shadow: 0 16px 44px rgba(142, 11, 18, 0.08);
}
.confirm-mark {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--red);
  color: var(--cream);
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.confirm-card h2 { font-family: var(--serif); font-size: 32px; margin-top: 20px; }
.confirm-lead { font-size: 14.5px; line-height: 1.7; margin-top: 10px; color: var(--muted); }
.confirm-summary {
  display: inline-block;
  background: var(--cream);
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  padding: 18px 26px;
  margin-top: 22px;
  text-align: left;
  font-size: 14px;
  line-height: 2;
}
.confirm-summary b { color: var(--red-deep); }
.confirm-foot { font-size: 13px; margin-top: 22px; color: var(--red-deep); }
.confirm-foot a { font-weight: 700; }
.confirm-foot a.btn-red-lg { color: var(--cream); text-decoration: none; }
.confirm-card .btn-ghost-red { margin-top: 18px; }

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.info-cards div {
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 12.5px;
  line-height: 1.6;
}
.info-cards b { color: var(--red); }

.is-hidden { display: none; }

/* --- Mobile (≤760px) ---------------------------------------------------- */
/* Matches the prototype's single breakpoint: shrink and wrap the nav links,
   collapse every multi-column grid, drop the decorative circles. */
@media (max-width: 760px) {
  .nav-inner { padding: 10px 14px; gap: 10px; }
  .brand-word { display: none; }
  .nav-links {
    gap: 12px;
    row-gap: 8px;
    font-size: 11px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .nav-book { padding: 10px 18px; }

  .hero-inner {
    flex-direction: column;
    gap: 30px;
    padding-top: 48px;
    padding-bottom: 44px;
    align-items: flex-start;
  }
  .hero-title { font-size: 36px; }
  .hero-art { display: none; }

  .card-grid-3,
  .feature-pair,
  .split,
  .menu-grid,
  .faq-grid,
  .field-grid,
  .info-cards { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }

  .story-art { display: none; }

  .form-card,
  .confirm-card { padding: 24px 18px; }

  /* iOS Safari zooms the page in on any field under 16px. */
  .field input,
  .field select,
  .field textarea { font-size: 16px; }

  .page-hero h1 { font-size: 34px; }
  .hero-ctas .btn { flex: 1 1 auto; }
}
