/* =========================================================
   Foyle Nails & Spa — styles
   Palette: cream, rose, plum, rose-gold, gold
   ========================================================= */
:root {
  --cream: #fdf7f4;
  --cream-2: #f7ece6;
  --rose: #b76e79;
  --rose-deep: #9c5460;
  --plum: #4a2c33;
  --plum-soft: #6b4750;
  --gold: #c9a76a;
  --ink: #2c2326;
  --muted: #7d6a6f;
  --line: #ecdcd6;
  --white: #ffffff;
  --shadow: 0 18px 50px -20px rgba(74, 44, 51, 0.35);
  --shadow-sm: 0 8px 24px -12px rgba(74, 44, 51, 0.3);
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1160px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; color: var(--plum); }
h1 { font-size: clamp(2.8rem, 7vw, 4.8rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h3 { font-size: 1.5rem; }
.accent { color: var(--rose); font-style: italic; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--rose);
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }
.eyebrow.light { color: rgba(255,255,255,0.85); }

.lead { font-size: 1.18rem; color: var(--plum-soft); max-width: 30em; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 42em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 100px; font-family: var(--sans);
  font-weight: 500; font-size: 0.97rem; letter-spacing: 0.3px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-sm { padding: 11px 22px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: linear-gradient(135deg, var(--rose), var(--rose-deep)); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(156,84,96,0.6); }

.btn-ghost { background: transparent; color: var(--plum); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); transform: translateY(-2px); }

.btn-ghost-dark { background: #fff; color: var(--plum); border-color: var(--line); }

.btn-light { background: #fff; color: var(--rose-deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,0.3); }

.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--plum); color: var(--cream-2); text-align: center;
  font-size: 0.85rem; padding: 9px 16px; letter-spacing: 0.3px;
}
.announce strong { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 247, 244, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px -16px rgba(74,44,51,0.5); }
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: #fff; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}
.brand-text { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--plum); }
.brand-text em { color: var(--rose); font-style: italic; }

.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 0.95rem; color: var(--plum-soft); position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--rose); transition: width .3s ease;
}
.nav-links a:hover { color: var(--rose); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-size: 0.92rem; color: var(--plum); font-weight: 500; }
.nav-phone:hover { color: var(--rose); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 34px; height: 34px; }
.nav-toggle span { display: block; height: 2px; width: 24px; background: var(--plum); margin: 5px auto; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 90px) 0 clamp(60px, 9vw, 110px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(201,167,106,0.18), transparent 42%),
    radial-gradient(circle at 12% 85%, rgba(183,110,121,0.18), transparent 45%),
    linear-gradient(180deg, var(--cream), var(--cream-2));
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; }
.hero-copy h1 { margin: 6px 0 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 26px; }
.hero-trust { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.92rem; }

.hero-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 8px; border: 1px solid var(--line); transform: rotate(0.5deg);
}
.hero-card-inner {
  border: 1px dashed var(--line); border-radius: 22px; padding: 30px 28px;
  background: linear-gradient(180deg, #fff, var(--cream));
}
.hero-card-tag { text-transform: uppercase; letter-spacing: 2px; font-size: 0.72rem; color: var(--gold); font-weight: 600; }
.hero-card h3 { margin: 4px 0 6px; }
.hero-card-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.hero-card-list { list-style: none; margin-bottom: 22px; }
.hero-card-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.hero-card-list li span:last-child { color: var(--rose-deep); font-weight: 500; }

/* ---------- Trust strip ---------- */
.strip { background: var(--plum); color: var(--cream); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { text-align: center; padding: 26px 14px; border-right: 1px solid rgba(255,255,255,0.1); }
.strip-item:last-child { border-right: 0; }
.strip-item strong { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--gold); }
.strip-item span { font-size: 0.85rem; color: rgba(255,255,255,0.8); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--cream-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head .section-sub { margin: 14px auto 0; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--rose); }
.service-card.featured { border-color: var(--rose); background: linear-gradient(180deg, #fff, var(--cream)); }
.service-icon { font-size: 2rem; margin-bottom: 12px; }
.service-card h3 { margin-bottom: 8px; }
.service-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.price-list { list-style: none; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.price-list li:last-child { border-bottom: 0; }
.price-list li span:last-child { color: var(--rose-deep); font-weight: 500; white-space: nowrap; }
.badge-pop {
  position: absolute; top: -12px; right: 22px; background: var(--gold); color: #3a2b16;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px; padding: 6px 14px; border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.services-note { text-align: center; margin-top: 36px; color: var(--muted); }
.services-note a { color: var(--rose); border-bottom: 1px solid var(--rose); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-copy .section-sub { margin-bottom: 28px; }
.feature { display: flex; gap: 16px; margin-bottom: 20px; }
.feature-ic {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--cream-2); color: var(--rose-deep); display: grid; place-items: center;
  font-weight: 600; border: 1px solid var(--line);
}
.feature h4 { font-family: var(--sans); font-weight: 500; font-size: 1.02rem; color: var(--plum); margin-bottom: 2px; }
.feature p { color: var(--muted); font-size: 0.93rem; }
.why-copy .btn { margin-top: 14px; }

.why-media { position: relative; min-height: 420px; }
.why-photo { position: absolute; border-radius: var(--radius); box-shadow: var(--shadow); background-size: cover; background-position: center; }
.why-photo-1 {
  width: 64%; height: 76%; top: 0; left: 0;
  background-image: url("https://images.unsplash.com/photo-1604654894610-df63bc536371?auto=format&fit=crop&w=700&q=80");
}
.why-photo-2 {
  width: 54%; height: 60%; bottom: 0; right: 0; border: 6px solid #fff;
  background-image: url("https://images.unsplash.com/photo-1519014816548-bf5fe059798b?auto=format&fit=crop&w=700&q=80");
}
.why-stat {
  position: absolute; bottom: 8%; left: -6px; background: #fff; padding: 14px 20px;
  border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); z-index: 2;
}
.why-stat strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--rose-deep); }
.why-stat span { font-size: 0.8rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery-item { border-radius: var(--radius); background-size: cover; background-position: center; box-shadow: var(--shadow-sm); transition: transform .4s ease, filter .4s ease; filter: saturate(1.02); }
.gallery-item:hover { transform: scale(1.02); filter: saturate(1.15); }
.g1 { background-image: url("https://images.unsplash.com/photo-1632345031435-8727f6897d53?auto=format&fit=crop&w=600&q=80"); }
.g2 { background-image: url("https://images.unsplash.com/photo-1610992015732-2449b76344bc?auto=format&fit=crop&w=600&q=80"); grid-row: span 1; }
.g3 { background-image: url("https://images.unsplash.com/photo-1607779097040-26e80aa78e66?auto=format&fit=crop&w=600&q=80"); }
.g4 { background-image: url("https://images.unsplash.com/photo-1604902396830-aca29e19b067?auto=format&fit=crop&w=600&q=80"); }
.g5 { background-image: url("https://images.unsplash.com/photo-1522337660859-02fbefca4702?auto=format&fit=crop&w=600&q=80"); }
.g6 { background-image: url("https://images.unsplash.com/photo-1571290274554-6a2eaa771e5f?auto=format&fit=crop&w=600&q=80"); }

/* ---------- Offer ---------- */
.offer { background: linear-gradient(135deg, var(--rose), var(--rose-deep)); color: #fff; }
.offer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 54px 0; flex-wrap: wrap; }
.offer h2 { color: #fff; }
.offer p { color: rgba(255,255,255,0.9); max-width: 36em; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.review blockquote { font-family: var(--serif); font-size: 1.22rem; line-height: 1.4; color: var(--plum); margin: 14px 0; }
.review figcaption { color: var(--muted); font-size: 0.9rem; }
.reviews-note { text-align: center; margin-top: 36px; color: var(--muted); }

/* ---------- Book + Visit ---------- */
.book-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: start; }
.book-form-wrap .section-sub { margin-bottom: 26px; }
.book-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 0.86rem; color: var(--plum-soft); margin-bottom: 6px; font-weight: 400; }
.optional { color: var(--muted); font-size: 0.78rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--sans); font-size: 0.96rem; color: var(--ink); background: var(--cream);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(183,110,121,0.15); background: #fff;
}
.field textarea { resize: vertical; }
.form-status { margin-top: 14px; font-size: 0.92rem; text-align: center; min-height: 1.2em; }
.form-status.ok { color: var(--rose-deep); font-weight: 500; }
.form-status.err { color: #b3261e; }

.visit-card { background: var(--plum); color: var(--cream); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.visit-card h3 { color: #fff; margin-bottom: 18px; }
.visit-card h4 { color: var(--gold); font-family: var(--sans); font-weight: 500; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; margin: 24px 0 10px; }
.visit-list { list-style: none; display: grid; gap: 14px; }
.visit-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.95rem; color: rgba(255,255,255,0.9); }
.visit-list a { border-bottom: 1px solid rgba(255,255,255,0.4); }
.visit-list a:hover { color: var(--gold); border-color: var(--gold); }
.vic { flex: none; color: var(--gold); }
.hours { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.hours td { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); }
.hours td:last-child { text-align: right; color: #fff; }
.hours-note { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 10px; }
.map { margin-top: 20px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 240px; border: 0; display: block; background: var(--cream-2); }
.map-directions { display: inline-block; margin-top: 14px; color: var(--rose-deep); font-size: 0.92rem; font-weight: 500; border-bottom: 1px solid var(--rose); }
.map-directions:hover { color: var(--rose); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 44px 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 1.2rem; }
.footer-brand p { font-size: 0.85rem; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 24px; display: flex; justify-content: space-between; gap: 12px; max-width: var(--maxw); margin: 0 auto; flex-wrap: wrap; font-size: 0.82rem; }
.credit { color: rgba(255,255,255,0.55); }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar { display: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 420px; }
  .services-grid, .reviews { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-media { min-height: 340px; max-width: 460px; }
  .book-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-actions .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); padding: 18px 24px; gap: 6px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }
  .nav-links.open a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(2) { border-right: 0; }
  .strip-item:nth-child(1), .strip-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .services-grid, .reviews { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .field-row { grid-template-columns: 1fr; }
  .offer-inner { text-align: center; justify-content: center; }
  body { padding-bottom: 76px; }
  .mobile-bar {
    display: flex; gap: 10px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: rgba(253,247,244,0.95); backdrop-filter: blur(10px);
    padding: 12px 16px; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(0,0,0,0.3);
  }
  .mobile-bar .btn { flex: 1; }
}

@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
