/* ------------------------------------------------------------------
   Nails by Maigaard — clean, conversion-focused
------------------------------------------------------------------ */

:root {
  --bg:           #fbf6ef;
  --bg-alt:       #f4ebdd;
  --card:         #ffffff;
  --ink:          #1f1517;
  --ink-soft:     #574248;
  --ink-mute:     #8d7a7f;
  --primary:      #8a3c4d;
  --primary-deep: #6b2839;
  --primary-soft: #f6e4e7;
  --accent:       #d49584;
  --line:         rgba(31, 21, 23, 0.10);
  --line-soft:    rgba(31, 21, 23, 0.06);
  --shadow-sm:    0 1px 2px rgba(31, 21, 23, 0.04), 0 6px 16px -10px rgba(31, 21, 23, 0.12);
  --shadow-md:    0 2px 6px rgba(31, 21, 23, 0.05), 0 20px 40px -22px rgba(31, 21, 23, 0.20);
  --radius:       16px;
  --radius-sm:    10px;
  --x-pad:        clamp(20px, 4vw, 56px);

  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body:    "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* leave space for the sticky mobile CTA */
  padding-bottom: env(safe-area-inset-bottom, 0);
}

::selection { background: var(--primary); color: #fff; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--x-pad);
}

/* =========================================================
   Typography
========================================================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2d8a4a;
  box-shadow: 0 0 0 4px rgba(45, 138, 74, 0.18);
}

.h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.h1 em { font-style: italic; font-weight: 400; color: var(--primary); }

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
  margin-top: 10px;
}

.lede {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 580px;
}
.lede a {
  color: var(--primary);
  border-bottom: 1px solid rgba(138, 60, 77, 0.3);
}
.lede a:hover { border-bottom-color: var(--primary); }

.section-head { margin-bottom: 48px; }
.section-head-center { text-align: center; }
.section-head-center .lede { margin-left: auto; margin-right: auto; }
.section-head-center .eyebrow { justify-content: center; }

/* =========================================================
   Buttons
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 15.5px; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 6px 14px -8px rgba(107, 40, 57, 0.55);
}
.btn-primary:hover {
  background: var(--primary-deep);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 10px 22px -10px rgba(107, 40, 57, 0.6);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(31, 21, 23, 0.18);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* =========================================================
   Header
========================================================= */

.hd {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 239, 0.92);
  backdrop-filter: saturate(170%) blur(10px);
  -webkit-backdrop-filter: saturate(170%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.hd-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--x-pad);
  max-width: 1280px;
  margin: 0 auto;
}

.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "opsz" 60;
}
.logo-sub {
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.hd-nav {
  display: none;
  gap: 28px;
  align-items: center;
}
.hd-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.18s ease;
  padding: 6px 0;
}
.hd-nav a:hover { color: var(--ink); }

.hd-cta { display: none; }

@media (min-width: 880px) {
  .hd-nav { display: flex; }
  .hd-cta { display: inline-flex; }
}

/* =========================================================
   Hero
========================================================= */

.hero {
  padding: 56px 0 80px;
}
.hero-wrap {
  display: grid;
  gap: 36px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--x-pad);
}
@media (min-width: 820px) {
  .hero { padding: 88px 0 120px; }
  .hero-wrap {
    grid-template-columns: 1.1fr 1fr;
    gap: 72px;
  }
}

.hero-lede {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
}

.hero-bullets {
  list-style: none;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  color: var(--ink);
}
.hero-bullets svg {
  flex: 0 0 auto;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px;
  border-radius: 999px;
  width: 26px; height: 26px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-text > .eyebrow { margin-bottom: 24px; }

.hero-fig {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  box-shadow: var(--shadow-md);
}
.hero-fig img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* =========================================================
   Sections shared
========================================================= */

section { padding: 80px 0; }

/* =========================================================
   Services
========================================================= */

.services {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 580px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-soft);
}
.card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--ink);
  font-variation-settings: "opsz" 60;
}
.card p {
  color: var(--ink-soft);
  font-size: 15px;
}
.card-meta {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

/* =========================================================
   Pricing
========================================================= */

.pricing { background: var(--bg-alt); }

.price-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px clamp(20px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 880px) {
  .price-groups {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 44px clamp(28px, 4vw, 56px);
  }
}

.price-group-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-variation-settings: "opsz" 60;
}

.price-list { list-style: none; }
.price-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.price-list li:last-child { border-bottom: none; }

.price-name {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  flex: 0 1 auto;
}
.price-sub {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-mute);
  margin-top: 2px;
}
.price-dots {
  flex: 1 1 auto;
  height: 1em;
  border-bottom: 1px dotted rgba(31, 21, 23, 0.18);
  position: relative;
  top: -4px;
  min-width: 24px;
}
.price-amt {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--primary);
  flex: 0 0 auto;
  font-variation-settings: "opsz" 30;
  white-space: nowrap;
}

.price-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink-mute);
  text-align: center;
  font-style: italic;
}

.price-cta {
  margin-top: 28px;
  text-align: center;
}

/* =========================================================
   Gallery
========================================================= */

.gal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 680px) { .gal { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1024px) { .gal { grid-template-columns: repeat(4, 1fr); } }

.gal figure {
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  box-shadow: var(--shadow-sm);
}
.gal img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gal figure:hover img { transform: scale(1.04); }

/* =========================================================
   About
========================================================= */

.about { background: var(--bg); }

.about-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
  }
}

.about-fig img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.about-text p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 560px;
}
.about-text .btn { margin-top: 28px; }

/* =========================================================
   FAQ
========================================================= */

.faq { background: var(--bg-alt); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 920px) {
  .faq-grid { grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
  .faq-head { position: sticky; top: 100px; }
}

.faq-list {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-list details {
  border-bottom: 1px solid var(--line-soft);
}
.faq-list details:last-child { border-bottom: none; }

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  transition: background 0.18s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%238a3c4d' stroke-width='1.6' stroke-linecap='round'><path d='M3 7h8M7 3v8'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}
.faq-list details[open] summary::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%238a3c4d' stroke-width='1.6' stroke-linecap='round'><path d='M3 7h8'/></svg>");
  transform: rotate(180deg);
}
.faq-list summary:hover { background: rgba(138, 60, 77, 0.04); }
.faq-list details p {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
}
.faq-list details p a { color: var(--primary); border-bottom: 1px solid rgba(138, 60, 77, 0.3); }

/* =========================================================
   Contact
========================================================= */

.contact { background: var(--bg); }

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 24px 28px;
  max-width: 720px;
  margin: 0 auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: var(--shadow-md);
}
.cta-card:hover {
  transform: translateY(-2px);
  background: #2a1d20;
}
.cta-card-l {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cta-card-l svg {
  background: var(--primary);
  padding: 8px;
  border-radius: 12px;
  width: 44px; height: 44px;
  flex: 0 0 auto;
}
.cta-card-eb {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(251, 246, 239, 0.65);
}
.cta-card-tt {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  margin-top: 2px;
  color: var(--bg);
  font-variation-settings: "opsz" 60;
}
.cta-card-arrow {
  font-size: 24px;
  transition: transform 0.25s ease;
}
.cta-card:hover .cta-card-arrow { transform: translateX(6px); }

.info {
  list-style: none;
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  text-align: center;
}
@media (min-width: 720px) { .info { grid-template-columns: repeat(3, 1fr); } }

.info-key {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}
.info-val {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "opsz" 60;
}
.info-sub {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-mute);
}

/* =========================================================
   Footer
========================================================= */

.ft {
  background: var(--ink);
  color: var(--bg);
  padding: 56px 0 40px;
  margin-top: 0;
}
.ft-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 760px) {
  .ft-inner { grid-template-columns: 1fr auto 1fr; }
  .ft-nav { justify-self: center; }
  .ft-copy { justify-self: end; }
}

.ft-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--bg);
  font-variation-settings: "opsz" 60;
}
.ft-sub {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(251, 246, 239, 0.6);
}
.ft-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14.5px; }
.ft-nav a { color: rgba(251, 246, 239, 0.78); transition: color 0.18s ease; }
.ft-nav a:hover { color: var(--bg); }
.ft-copy { font-size: 13px; color: rgba(251, 246, 239, 0.5); }

/* =========================================================
   Sticky mobile booking bar
========================================================= */

.mobile-book {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--primary);
  color: #fff;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease;
}
.mobile-book:hover { background: var(--primary-deep); }
.mobile-book-arrow { font-size: 18px; }

@media (min-width: 880px) {
  .mobile-book { display: none; }
  body { padding-bottom: 0; }
}
@media (max-width: 879px) {
  body { padding-bottom: 72px; }
}

/* =========================================================
   Reduced motion
========================================================= */

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