/* =========================================================
   LOVELY K NAILS — Design System
   ========================================================= */

:root {
  /* Color */
  --ink: #150710;
  --ink-deep: #0B0308;
  --ink-soft: #23101D;
  --magenta: #C21869;
  --magenta-deep: #8F1150;
  --hot-pink: #FF2E88;
  --gold: #E8B34D;
  --gold-soft: #F3D28C;
  --paper: #FFF6FA;
  --paper-dim: #FBE9F1;
  --text-plum: #2B0E1F;
  --mauve: #8C6B7A;
  --line: #F0D3E1;
  --white: #ffffff;

  /* Type */
  --font-script: "Mrs Saint Delafield", cursive;
  --font-display: "Baloo 2", sans-serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1180px;
  --gutter: clamp(24px, 5vw, 64px);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-plum);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em 0;
  color: var(--text-plum);
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); font-weight: 600; }

p { margin: 0 0 1.1em 0; max-width: 62ch; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--dim { background: var(--paper-dim); }

.lede { font-size: 1.15rem; color: var(--mauve); max-width: 58ch; }
.section--dark .lede { color: #D9AFC4; }

/* Script accent used for the wordmark and quotes only */
.script { font-family: var(--font-script); }

/* Bold rounded display accent — used sparingly for punchy taglines */
.shout {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--hot-pink);
  -webkit-text-stroke: 1px var(--white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--hot-pink), var(--magenta));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(255, 46, 136, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(255, 46, 136, 0.45); }
.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--text-plum);
}
.section--dark .btn--ghost { color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21, 7, 16, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  max-width: 1400px;
}
.brand { text-decoration: none; color: var(--white); line-height: 1; }
.brand__script { font-family: var(--font-script); font-size: 2rem; color: var(--white); display: block; }
.brand__sub { font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.4em; color: var(--gold-soft); display: block; margin-top: 2px; padding-left: 2px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav__links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.main-nav__links a {
  text-decoration: none; font-size: 0.94rem; font-weight: 500; color: #E9C9D8;
  padding: 4px 2px; border-bottom: 2px solid transparent;
}
.main-nav__links a:hover, .main-nav__links a[aria-current="page"] { color: var(--white); border-color: var(--hot-pink); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 66px; left: 0; right: 0; max-height: calc(100vh - 82px);
    background: var(--ink); flex-direction: column; align-items: flex-start;
    padding: 16px var(--gutter) 20px; transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease; overflow-y: auto;
    box-shadow: 0 16px 32px rgba(0,0,0,0.4); border-bottom-left-radius: 14px; border-bottom-right-radius: 14px;
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav__links { flex-direction: column; gap: 0; width: 100%; }
  .main-nav__links a { display: block; padding: 13px 2px; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav .btn { margin-top: 12px; width: 100%; justify-content: center; }
}

/* ---------- Hero (poster-style, center aligned) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 700px 420px at 50% 0%, rgba(255,46,136,0.28), transparent 60%),
    radial-gradient(ellipse 500px 400px at 85% 80%, rgba(232,179,77,0.14), transparent 60%),
    var(--ink);
  color: var(--white);
  text-align: center;
  padding: clamp(70px, 11vw, 120px) 0 clamp(60px, 9vw, 96px);
  overflow: hidden;
}
.hero .container { max-width: 780px; }
.hero__script { font-family: var(--font-script); font-size: clamp(3.6rem, 9vw, 6rem); line-height: 1; color: var(--white); margin-bottom: 0.1em; }
.hero__sub { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.55em; color: var(--gold-soft); margin: 0 0 1.4em 2px; }
.hero__shout {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  color: var(--hot-pink); -webkit-text-stroke: 1.2px var(--white); margin: 0.6em 0 0.7em;
}
.hero p.lede { margin: 0 auto 1.8em; color: #E9C9D8; }
.hero .cta-row { justify-content: center; }
.hero__meta { margin-top: 28px; font-size: 0.95rem; color: #D9AFC4; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.hero__meta a { text-decoration: none; color: inherit; }

/* ---------- Section head ---------- */
.section-head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head.align-left { margin-left: 0; text-align: left; }
.eyebrow-script { font-family: var(--font-script); font-size: 1.8rem; color: var(--magenta); display: block; margin-bottom: 0.1em; }
.section--dark .eyebrow-script { color: var(--hot-pink); }

/* ---------- Grid utilities ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 56px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 32px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 28px); }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

/* ---------- Service / feature cards ---------- */
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
}
.feature-card h3 { margin-bottom: 0.4em; }
.feature-card p { color: var(--mauve); margin: 0; font-size: 0.96rem; }
.feature-card__icon {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--hot-pink), var(--magenta));
  display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.4rem;
}

/* ---------- Price list (matches the flyer) ---------- */
.price-box {
  background: linear-gradient(180deg, var(--magenta-deep), var(--ink-deep));
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 32px;
  color: var(--white);
}
.price-box h3 {
  font-family: var(--font-display);
  color: var(--white);
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.18);
  font-size: 0.97rem;
}
.price-row:last-child { border-bottom: none; }
.price-row__name { color: #F4DCE9; }
.price-row__price { color: var(--gold-soft); font-weight: 600; white-space: nowrap; }
.price-box + .price-box { margin-top: 24px; }

/* ---------- Testimonial / quote ---------- */
.quote {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--magenta);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.3;
}

/* ---------- Gallery placeholders ---------- */
.gallery-tile {
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 1.5px dashed var(--line);
  background: var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: var(--mauve);
  font-size: 0.85rem;
}
.gallery-tile strong { display: block; color: var(--text-plum); font-family: var(--font-body); font-weight: 600; margin-bottom: 4px; }

/* ---------- Info rows (contact) ---------- */
.info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.info-row__label { width: 130px; flex-shrink: 0; font-weight: 600; color: var(--text-plum); }
.info-row > div:last-child { min-width: 0; flex: 1 1 200px; overflow-wrap: anywhere; }
.section--dark .info-row { border-color: rgba(255,255,255,0.14); }
.section--dark .info-row__label { color: var(--gold-soft); }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-size: 0.92rem; font-weight: 600; margin-bottom: 6px; color: var(--text-plum); }
input, select, textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--text-plum);
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--gold-soft); outline-offset: 1px; border-color: var(--magenta); }
textarea { resize: vertical; min-height: 120px; }
.field-error { color: #B0264A; font-size: 0.82rem; margin-top: 4px; min-height: 1em; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-size: 0.95rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.success { background: #F1E4EC; color: #7A1145; border: 1px solid #7A1145; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: #D9AFC4; padding: 48px 0 24px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand__script { color: var(--white); }
.footer-tagline { font-size: 0.92rem; color: #D9AFC4; max-width: 30ch; margin-top: 8px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { text-decoration: none; color: #D9AFC4; font-size: 0.94rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 20px; font-size: 0.82rem; }
.footer-bottom a { color: #D9AFC4; text-decoration: none; margin-left: 16px; }

/* ---------- Page hero (non-home) ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: clamp(56px, 8vw, 88px) 0 clamp(40px, 6vw, 60px); text-align: center; }
.page-hero .eyebrow-script { color: var(--hot-pink); }
.page-hero .lede { margin: 0 auto; }
.breadcrumb { font-size: 0.82rem; color: #D9AFC4; margin-bottom: 1em; }
.breadcrumb a { color: #D9AFC4; text-decoration: none; }

.skip-link {
  position: absolute; left: -9999px; top: auto; background: var(--hot-pink); color: var(--white);
  padding: 12px 18px; z-index: 1000; border-radius: 8px;
}
.skip-link:focus { left: 16px; top: 16px; }
