/* ===================================================================
   Nail Couture — Cave Creek, AZ
   Palette: chic mauve + gold accent + soft cream
   =================================================================== */

:root{
  --mauve:       #8f5f6d;   /* primary chic mauve */
  --mauve-deep:  #6f4653;   /* deeper mauve for text/contrast */
  --rose:        #c79aa6;   /* soft rose-mauve */
  --rose-soft:   #e7ccd3;   /* pale rose */
  --gold:        #c9a24a;   /* warm metallic gold accent */
  --gold-deep:   #a8842f;
  --cream:       #f8f2ea;   /* soft cream background */
  --cream-deep:  #efe4d7;   /* slightly deeper cream */
  --ink:         #3a2c30;   /* near-black warm ink */
  --muted:       #715f64;   /* muted body text */
  --white:       #fffdfb;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 18px 48px -22px rgba(111,70,83,.45);
  --shadow-soft: 0 10px 30px -18px rgba(111,70,83,.4);
  --trans: .5s cubic-bezier(.22,.61,.36,1);
}

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

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

body{
  margin:0;
  font-family:var(--font-sans);
  font-weight:300;
  color:var(--ink);
  background:var(--cream);
  line-height:1.65;
  font-size:17px;
  overflow-x:hidden;
}

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

a{ color:inherit; text-decoration:none; }

h1,h2,h3{
  font-family:var(--font-serif);
  font-weight:600;
  line-height:1.1;
  color:var(--mauve-deep);
  margin:0 0 .4em;
  letter-spacing:.3px;
}

h1{ font-size:clamp(2.5rem,6.5vw,4.4rem); }
h2{ font-size:clamp(1.9rem,4.2vw,3rem); }
h3{ font-size:clamp(1.25rem,2.4vw,1.55rem); }

p{ margin:0 0 1rem; }

.wrap{ width:100%; max-width:var(--wrap); margin:0 auto; padding:0 22px; }
.wrap.narrow{ max-width:820px; }

.eyebrow{
  font-family:var(--font-sans);
  text-transform:uppercase;
  letter-spacing:.28em;
  font-size:.72rem;
  font-weight:500;
  color:var(--gold-deep);
  margin:0 0 .8rem;
}

.script{ font-style:italic; color:var(--gold-deep); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5em;
  font-family:var(--font-sans);
  font-weight:500;
  font-size:.95rem;
  letter-spacing:.04em;
  padding:.85em 1.6em;
  border-radius:999px;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  text-align:center;
}
.btn-primary{ background:var(--mauve); color:var(--white); box-shadow:var(--shadow-soft); }
.btn-primary:hover{ background:var(--mauve-deep); transform:translateY(-2px); box-shadow:var(--shadow); }
.btn-gold{ background:var(--gold); color:#4a370f; }
.btn-gold:hover{ background:var(--gold-deep); color:var(--white); transform:translateY(-2px); }
.btn-ghost{ background:transparent; color:var(--mauve-deep); border-color:var(--mauve); }
.btn-ghost:hover{ background:var(--mauve); color:var(--white); transform:translateY(-2px); }
.btn-ghost.light{ color:var(--white); border-color:rgba(255,255,255,.7); }
.btn-ghost.light:hover{ background:var(--white); color:var(--mauve-deep); }
.btn.full{ width:100%; }

/* ============ Opening Animation ============ */
.intro{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:.2rem;
  background:radial-gradient(120% 120% at 50% 30%, var(--cream) 0%, var(--cream-deep) 70%, var(--rose-soft) 100%);
  transition:opacity .6s ease, visibility .6s ease;
}
.intro.hide{ opacity:0; visibility:hidden; pointer-events:none; }
.intro-stage{ text-align:center; }
.intro-svg{ width:min(320px,72vw); height:auto; margin:0 auto; }

.nail-shape{ fill:var(--rose-soft); stroke:var(--rose); stroke-width:1.5; }
.polish-fill{ fill:var(--mauve); animation:sweepFill 1.5s cubic-bezier(.5,.1,.3,1) .35s forwards; }
.gloss{ fill:rgba(255,255,255,.4); opacity:0; animation:glossIn .5s ease 1.7s forwards; }

.brush{ transform:translate(-90px,-10px); animation:brushSweep 1.6s cubic-bezier(.45,.05,.35,1) .3s forwards; }
.brush-handle{ fill:var(--gold); }
.brush-tip{ fill:var(--mauve-deep); }

.intro-word{
  font-family:var(--font-serif);
  font-weight:600;
  font-size:clamp(1.8rem,6vw,2.6rem);
  color:var(--mauve-deep);
  margin:.4rem 0 0;
  opacity:0;
  animation:fadeUp .7s ease 1.6s forwards;
}
.intro-sub{
  display:block;
  font-family:var(--font-sans);
  text-transform:uppercase;
  letter-spacing:.32em;
  font-size:.7rem;
  color:var(--gold-deep);
  opacity:0;
  animation:fadeUp .7s ease 1.9s forwards;
}
.intro-skip{
  position:absolute;
  bottom:26px;
  right:26px;
  background:transparent;
  border:1.4px solid var(--mauve);
  color:var(--mauve-deep);
  font-family:var(--font-sans);
  font-size:.8rem;
  letter-spacing:.1em;
  padding:.5em 1.2em;
  border-radius:999px;
  cursor:pointer;
  transition:background .25s,color .25s;
}
.intro-skip:hover{ background:var(--mauve); color:var(--white); }

@keyframes sweepFill{ from{ width:0; } to{ width:130px; } }
@keyframes brushSweep{
  0%{ transform:translate(-90px,-10px) rotate(-8deg); }
  55%{ transform:translate(20px,4px) rotate(4deg); }
  100%{ transform:translate(70px,-30px) rotate(10deg); opacity:0; }
}
@keyframes glossIn{ from{ opacity:0; } to{ opacity:1; } }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:translateY(0); } }

/* ============ Header ============ */
.site-header{
  position:sticky;
  top:0;
  z-index:200;
  background:rgba(248,242,234,.82);
  backdrop-filter:saturate(150%) blur(12px);
  -webkit-backdrop-filter:saturate(150%) blur(12px);
  border-bottom:1px solid rgba(143,95,109,.14);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  height:70px;
}
.wordmark{ display:flex; align-items:center; gap:.55rem; color:var(--mauve-deep); }
.wordmark-mark{ width:30px; height:30px; }
.wordmark-text{
  font-family:var(--font-serif);
  font-weight:600;
  font-size:1.5rem;
  letter-spacing:.5px;
  line-height:1;
}
.wordmark-text em{ font-style:italic; color:var(--gold-deep); }
.nav{ display:flex; gap:1.4rem; }
.nav a{
  font-size:.92rem;
  font-weight:400;
  color:var(--muted);
  position:relative;
  transition:color .25s;
}
.nav a::after{
  content:"";
  position:absolute;
  left:0; bottom:-6px;
  width:0; height:2px;
  background:var(--gold);
  transition:width .3s;
}
.nav a:hover{ color:var(--mauve-deep); }
.nav a:hover::after{ width:100%; }
.header-cta{ padding:.6em 1.25em; font-size:.9rem; }

/* ============ Hero ============ */
.hero{ position:relative; overflow:hidden; padding:clamp(3rem,7vw,6rem) 0 clamp(3rem,6vw,5rem); }
.hero-glow{
  position:absolute;
  top:-20%; right:-10%;
  width:60vw; height:60vw;
  max-width:720px; max-height:720px;
  background:radial-gradient(circle, rgba(199,154,166,.5) 0%, rgba(199,154,166,0) 68%);
  filter:blur(10px);
  z-index:0;
}
.hero-inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:clamp(2rem,5vw,4rem);
  align-items:center;
}
.hero-copy h1{ margin-bottom:.35em; }
.lede{ font-size:clamp(1.05rem,1.7vw,1.25rem); color:var(--muted); max-width:34ch; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:.8rem; margin:1.6rem 0 1.1rem; }
.trust-line{ font-size:.85rem; color:var(--muted); letter-spacing:.02em; margin:0; }

/* hero art */
.hero-art{ display:flex; flex-direction:column; align-items:center; gap:1.2rem; }
.hero-card{
  width:100%;
  max-width:320px;
  background:linear-gradient(160deg,var(--white),var(--cream-deep));
  border-radius:var(--radius-lg);
  padding:1.5rem;
  box-shadow:var(--shadow);
  border:1px solid rgba(201,162,74,.25);
}
.hand-svg{ width:100%; height:auto; }
.art-nail{ stroke:var(--white); stroke-width:1.5; }
.art-nail.n1{ fill:var(--mauve); }
.art-nail.n2{ fill:var(--rose); }
.art-nail.n3{ fill:var(--gold); }
.art-nail.n4{ fill:var(--mauve-deep); }
.swatch-row{ display:flex; gap:.6rem; }
.swatch{ width:30px; height:30px; border-radius:50%; box-shadow:inset 0 0 0 2px rgba(255,255,255,.6), var(--shadow-soft); }
.s-mauve{ background:var(--mauve); }
.s-rose{ background:var(--rose); }
.s-gold{ background:var(--gold); }
.s-cream{ background:var(--cream-deep); }

/* ============ Trust Bar ============ */
.trustbar{ background:var(--mauve-deep); color:var(--cream); }
.trustbar-inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:.7rem 1rem;
  padding:.9rem 22px;
  font-size:.82rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-align:center;
}
.trustbar .dot{ color:var(--gold); }

/* ============ Sections ============ */
.section{ padding:clamp(3.5rem,7vw,6rem) 0; }
.section-head{ max-width:640px; margin:0 auto clamp(2rem,4vw,3rem); text-align:center; }
.section-sub{ color:var(--muted); font-size:1.05rem; }

.grid{ display:grid; gap:1.4rem; }

/* ============ Services ============ */
.services{ background:linear-gradient(180deg,var(--cream) 0%, var(--white) 100%); }
.services-grid{ grid-template-columns:repeat(3,1fr); }
.card{
  background:var(--white);
  border:1px solid rgba(143,95,109,.12);
  border-radius:var(--radius);
  padding:1.8rem 1.6rem;
  box-shadow:var(--shadow-soft);
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:rgba(201,162,74,.4); }
.icon{ display:inline-flex; color:var(--mauve); margin-bottom:.6rem; }
.icon svg{ width:52px; height:52px; }
.card h3{ margin-bottom:.35em; }
.card p{ color:var(--muted); font-size:.98rem; margin:0; }
.services-cta{ text-align:center; margin-top:2.4rem; }

/* ============ Why ============ */
.why{ background:var(--cream-deep); }
.why-grid{ grid-template-columns:repeat(2,1fr); gap:1.6rem; }
.feature{
  background:var(--white);
  border-radius:var(--radius);
  padding:1.8rem;
  border-left:4px solid var(--gold);
  box-shadow:var(--shadow-soft);
  transition:transform .3s ease;
}
.feature:hover{ transform:translateY(-4px); }
.feature-num{
  font-family:var(--font-serif);
  font-size:1.4rem;
  color:var(--gold-deep);
  font-weight:600;
  display:block;
  margin-bottom:.3rem;
}
.feature p{ color:var(--muted); margin:0; }

/* ============ Showcase ============ */
.showcase{ background:linear-gradient(180deg,var(--white),var(--cream)); }
.swatch-grid{ grid-template-columns:repeat(6,1fr); gap:1rem; }
.swatch-card{ margin:0; text-align:center; }
.swatch-card svg{
  width:100%;
  height:auto;
  filter:drop-shadow(0 10px 18px rgba(111,70,83,.22));
  transition:transform .35s ease;
}
.swatch-card:hover svg{ transform:translateY(-6px) rotate(-2deg); }
.swatch-card figcaption{
  margin-top:.6rem;
  font-size:.85rem;
  letter-spacing:.06em;
  color:var(--mauve-deep);
  font-weight:400;
}
.nailplate{ stroke:var(--white); stroke-width:2; }
.plate-mauve{ fill:var(--mauve); }
.plate-rose{ fill:var(--rose); }
.plate-cream{ fill:var(--cream-deep); }
.plate-deep{ fill:var(--mauve-deep); }
.halfblock{ fill:var(--mauve); }
.showcase-note{ text-align:center; margin-top:2.4rem; color:var(--muted); font-style:italic; }

/* ============ Reviews ============ */
.reviews{ background:var(--mauve-deep); color:var(--cream); }
.reviews .eyebrow{ color:var(--gold); }
.reviews h2{ color:var(--white); }
.reviews-grid{ grid-template-columns:repeat(3,1fr); }
.quote{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(201,162,74,.35);
  border-radius:var(--radius);
  padding:1.8rem;
  margin:0;
  position:relative;
}
.quote::before{
  content:"\201C";
  font-family:var(--font-serif);
  font-size:3.5rem;
  color:var(--gold);
  line-height:0;
  position:absolute;
  top:1.4rem; left:1rem;
  opacity:.5;
}
.quote p{ font-family:var(--font-serif); font-size:1.2rem; font-style:italic; color:var(--cream); position:relative; }
.quote cite{ font-family:var(--font-sans); font-style:normal; font-size:.85rem; letter-spacing:.1em; text-transform:uppercase; color:var(--gold); }
.reviews-note{ text-align:center; margin:2rem 0 0; font-size:.8rem; color:rgba(248,242,234,.55); }

/* ============ FAQ ============ */
.faq{ background:var(--cream); }
.faq-list details{
  background:var(--white);
  border:1px solid rgba(143,95,109,.14);
  border-radius:var(--radius);
  padding:1.1rem 1.4rem;
  margin-bottom:.9rem;
  box-shadow:var(--shadow-soft);
}
.faq-list summary{
  font-family:var(--font-serif);
  font-size:1.2rem;
  color:var(--mauve-deep);
  cursor:pointer;
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
}
.faq-list summary::-webkit-details-marker{ display:none; }
.faq-list summary::after{
  content:"+";
  color:var(--gold-deep);
  font-size:1.5rem;
  transition:transform .3s;
}
.faq-list details[open] summary::after{ transform:rotate(45deg); }
.faq-list details p{ margin:.8rem 0 0; color:var(--muted); }

/* ============ CTA Band ============ */
.cta-band{
  background:linear-gradient(120deg,var(--mauve),var(--mauve-deep));
  color:var(--white);
  text-align:center;
  padding:clamp(3rem,6vw,4.5rem) 0;
}
.cta-band h2{ color:var(--white); }
.cta-band p{ color:rgba(255,255,255,.85); max-width:46ch; margin:0 auto 1.6rem; }
.cta-actions{ display:flex; flex-wrap:wrap; gap:.8rem; justify-content:center; }

/* ============ Contact ============ */
.contact{ background:var(--cream-deep); }
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,5vw,4rem); align-items:start; }
.contact-list{ list-style:none; padding:0; margin:1.4rem 0 2rem; display:grid; gap:1.1rem; }
.contact-list li{ display:flex; flex-direction:column; }
.ci-label{ font-size:.72rem; text-transform:uppercase; letter-spacing:.22em; color:var(--gold-deep); margin-bottom:.2rem; }
.contact-list a{ font-size:1.15rem; color:var(--mauve-deep); font-weight:400; transition:color .25s; }
.contact-list a:hover{ color:var(--gold-deep); }
.hours h3{ margin-bottom:.6rem; }
.ci-note{ font-family:var(--font-sans); font-size:.7rem; color:var(--muted); font-weight:300; letter-spacing:.05em; }
.hours dl{ margin:0; display:grid; gap:.35rem; }
.hours dl > div{ display:flex; justify-content:space-between; border-bottom:1px dashed rgba(143,95,109,.22); padding-bottom:.3rem; }
.hours dt{ color:var(--muted); }
.hours dd{ margin:0; color:var(--mauve-deep); font-weight:400; }

.contact-form{
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:2rem;
  box-shadow:var(--shadow);
  border:1px solid rgba(201,162,74,.25);
}
.contact-form h3{ margin-bottom:1.2rem; }
.contact-form label{ display:block; margin-bottom:1rem; }
.contact-form label span{ display:block; font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:.35rem; }
.contact-form input,
.contact-form textarea{
  width:100%;
  font-family:var(--font-sans);
  font-size:1rem;
  color:var(--ink);
  background:var(--cream);
  border:1.5px solid rgba(143,95,109,.2);
  border-radius:12px;
  padding:.75em .9em;
  transition:border-color .25s, box-shadow .25s;
}
.contact-form input:focus,
.contact-form textarea:focus{
  outline:none;
  border-color:var(--mauve);
  box-shadow:0 0 0 3px rgba(199,154,166,.3);
}
.form-fineprint{ font-size:.78rem; color:var(--muted); margin:.9rem 0 0; text-align:center; }

/* ============ Footer ============ */
.site-footer{ background:var(--ink); color:var(--cream); padding:3rem 0 1.5rem; }
.footer-inner{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:1.6rem; padding-bottom:1.8rem; border-bottom:1px solid rgba(248,242,234,.15); }
.footer-mark{ color:var(--cream); font-size:1.6rem; }
.footer-mark em{ color:var(--gold); }
.footer-brand p{ color:rgba(248,242,234,.7); font-size:.9rem; margin:.4rem 0 0; }
.footer-nav{ display:flex; flex-wrap:wrap; gap:1.2rem; align-items:center; }
.footer-nav a{ color:rgba(248,242,234,.8); font-size:.9rem; transition:color .25s; }
.footer-nav a:hover{ color:var(--gold); }
.footer-bottom{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:.6rem; padding-top:1.4rem; font-size:.82rem; color:rgba(248,242,234,.6); }
.credit a{ color:var(--gold); }
.credit a:hover{ text-decoration:underline; }

/* ============ Mobile Bottom Bar ============ */
.mobilebar{ display:none; }

/* ============ Scroll Reveal ============ */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity var(--trans), transform var(--trans); will-change:opacity,transform; }
.reveal.in{ opacity:1; transform:none; }

/* ============ Responsive ============ */
@media (max-width:960px){
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .reviews-grid{ grid-template-columns:1fr; }
  .swatch-grid{ grid-template-columns:repeat(3,1fr); }
  .nav{ display:none; }
}

@media (max-width:760px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero-art{ order:-1; }
  .lede{ max-width:none; }
  .contact-grid{ grid-template-columns:1fr; }
  .header-cta{ display:none; }
  body{ padding-bottom:70px; } /* room for mobile bar */

  .mobilebar{
    display:flex;
    position:fixed;
    left:0; right:0; bottom:0;
    z-index:300;
    background:var(--white);
    border-top:1px solid rgba(143,95,109,.18);
    box-shadow:0 -8px 24px -14px rgba(111,70,83,.5);
  }
  .mobilebar-btn{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    padding:.55rem 0 .5rem;
    font-size:.72rem;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:var(--mauve-deep);
  }
  .mobilebar-btn svg{ width:22px; height:22px; }
  .mobilebar-book{ background:var(--mauve); color:var(--white); }
}

@media (max-width:520px){
  .services-grid,
  .why-grid{ grid-template-columns:1fr; }
  .swatch-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-bottom{ flex-direction:column; }
}

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion:reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
  .reveal{ opacity:1; transform:none; }
  .intro{ display:none !important; }
}
