/* ═══════════════════════════════════════════════
   浮花美甲 Fleur Nails — 美容/美髮/美甲模板
   視覺參考:任性做指甲(粉紫柔和)× ALBUM(作品牆)× Hershesons(留白)
   ═══════════════════════════════════════════════ */

:root {
  --primary: #c26e7e;          /* mauve pink */
  --primary-dark: #a3505f;
  --primary-light: #fbeef0;
  --accent: #8a5a63;
  --ink: #4a3b3e;              /* 暖棕黑 */
  --ink-soft: #8d7b7f;
  --bg: #fffdfc;
  --bg-alt: #faf3f2;
  --line-green: #06c755;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(194, 110, 126, .14);
  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-display: "Playfair Display", "Noto Sans TC", serif;   /* 英文斜體點綴 */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.8; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); text-decoration: none; }
em { font-family: var(--font-display); font-style: italic; }

.container { width: min(1160px, 92%); margin: 0 auto; }
.container-narrow { width: min(780px, 92%); }

/* ── 按鈕 ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border: 1.5px solid var(--primary); color: var(--primary-dark); background: #fff; }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn-line { background: var(--line-green); color: #fff; }
.btn-lg { padding: 14px 30px; font-size: 17px; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,253,252,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid #f3e4e6;
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo { font-size: 24px; font-weight: 900; color: var(--primary-dark); display: flex; align-items: baseline; gap: 10px; }
.logo-en { font-family: var(--font-display); font-style: italic; font-size: 12px; letter-spacing: .22em; color: var(--primary); font-weight: 600; }
.main-nav { display: flex; gap: 2px; margin-left: auto; }
.main-nav a { color: var(--ink); font-weight: 500; padding: 8px 11px; border-radius: 8px; font-size: 15px; }
.main-nav a:hover { background: var(--primary-light); color: var(--primary-dark); }
.header-cta { display: flex; gap: 8px; }
.nav-toggle { display: none; }

/* ── Hero ── */
.hero { padding: 76px 0; background: linear-gradient(165deg, var(--primary-light) 0%, #fffdfc 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-eyebrow { color: var(--primary); font-weight: 700; letter-spacing: .14em; margin-bottom: 12px; font-size: 14.5px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 900; line-height: 1.4; margin-bottom: 18px; }
.hero h1 em { color: var(--primary); }
.hero-sub { color: var(--ink-soft); font-size: 17px; margin-bottom: 20px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.badge {
  background: #fff; border: 1px solid #f3dfe2; border-radius: 999px;
  padding: 6px 14px; font-size: 14px; font-weight: 500; box-shadow: 0 2px 8px rgba(194,110,126,.06);
}
.badge-hot { background: var(--primary); color: #fff; border-color: var(--primary); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta.center { justify-content: center; }
.hero-img img { border-radius: 24px 24px 24px 90px; box-shadow: var(--shadow); }

/* ── 區塊通用 ── */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-accent { background: linear-gradient(150deg, var(--primary) 0%, var(--primary-dark) 100%); }
.section-accent .section-title { color: #fff; }
.section-title { font-size: clamp(26px, 3.2vw, 36px); font-weight: 900; text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--ink-soft); margin-bottom: 48px; }

/* ── 價目卡 ── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card {
  background: #fff; border: 1px solid #f3e4e6; border-radius: var(--radius);
  padding: 30px 26px; box-shadow: 0 2px 12px rgba(194,110,126,.05);
}
.price-card h3 { font-size: 20px; font-weight: 900; margin-bottom: 18px; color: var(--primary-dark); }
.price-en { font-family: var(--font-display); font-style: italic; font-size: 12px; letter-spacing: .18em; color: var(--primary); margin-left: 6px; font-weight: 600; }
.price-card ul { list-style: none; }
.price-card li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 11px 0; border-bottom: 1px dashed #f0dde0; font-size: 15px;
}
.price-card li span { font-weight: 700; color: var(--primary-dark); white-space: nowrap; }
.price-note { text-align: center; margin-top: 30px; color: var(--ink-soft); font-size: 14px; }

/* ── 作品牆(IG 式)── */
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.work { border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.work img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .3s ease; }
.work:hover img { transform: scale(1.06); }
.ig-cta { text-align: center; margin-top: 32px; font-weight: 700; }

/* ── 設計師 ── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px rgba(194,110,126,.07); }
.team-card img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.team-card-env img { aspect-ratio: 4/5; }
.team-info { padding: 22px 22px 26px; }
.team-info h3 { font-size: 19px; font-weight: 700; }
.team-info h3 span { font-size: 13px; color: var(--primary); font-weight: 700; margin-left: 6px; }
.team-info p { font-size: 14.5px; color: var(--ink-soft); margin: 8px 0 10px; }
.team-info a { font-size: 14px; font-weight: 700; }

/* ── 評論 ── */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review { background: #fff; border: 1px solid #f3e4e6; border-radius: var(--radius); padding: 26px; }
.review-stars { color: #e8a33d; letter-spacing: 3px; margin-bottom: 10px; font-size: 15px; }
.review p { font-size: 15.5px; }
.review footer { margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); }
.review-more { text-align: center; margin-top: 30px; font-weight: 700; }

/* ── 預約三步驟 ── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.steps li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 28px 22px; text-align: center; color: #fff; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--primary-dark); font-weight: 900; font-size: 18px; margin-bottom: 14px;
}
.steps h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.steps p { font-size: 14px; opacity: .92; }

/* ── FAQ ── */
.faq-item { background: #fff; border: 1px solid #f3e4e6; border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; font-size: 16.5px; position: relative; user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; color: var(--primary); font-size: 22px; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 18px; color: var(--ink-soft); font-size: 15px; }

/* ── 門市/地圖 ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact-grid .section-title { text-align: left; }
.contact-list { list-style: none; margin: 20px 0 26px; }
.contact-list li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px dashed #f0dde0; font-size: 15.5px; }
.contact-list strong { color: var(--primary); flex-shrink: 0; min-width: 44px; }
.map-embed iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ── Footer ── */
.site-footer { background: var(--ink); color: #d9cdd0; padding: 40px 0; text-align: center; }
.footer-brand { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 8px; letter-spacing: .06em; }
.site-footer a { color: #f0c9d0; }
.footer-copy { margin-top: 12px; font-size: 13px; opacity: .7; }

/* ── 浮動 LINE 鈕 ── */
.line-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 200;
  display: flex; align-items: center; gap: 8px;
  background: var(--line-green); color: #fff;
  padding: 12px 18px; border-radius: 999px; font-weight: 700;
  box-shadow: 0 8px 24px rgba(6,199,85,.4);
  animation: float-pulse 2.4s ease-in-out infinite;
}
@keyframes float-pulse { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(40, 28, 31, .88);
  display: flex; align-items: center; justify-content: center; padding: 5%;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(680px, 100%); max-height: 88vh; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; padding: 8px;
}

/* ── 捲動顯示動畫 ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .line-float { animation: none; }
}

/* ═══ RWD:平板 ═══ */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .price-grid, .team-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-img { order: -1; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; justify-content: center;
    width: 44px; height: 44px; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2.5px; background: var(--primary-dark); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .main-nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid #f3e4e6; box-shadow: var(--shadow);
    padding: 12px 4%;
  }
  .main-nav.is-open a { padding: 14px 12px; border-bottom: 1px solid #faf0f1; font-size: 16px; }
}

/* ═══ RWD:手機 ═══ */
@media (max-width: 640px) {
  .header-inner { gap: 10px; }
  .header-cta { margin-left: auto; }
  .header-cta .btn-line { padding: 8px 14px; font-size: 14px; }
  .logo { font-size: 20px; }
  .logo-en { display: none; }
  .hero { padding: 44px 0; }
  .section { padding: 56px 0; }
  .price-grid, .team-grid, .review-grid, .steps { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .map-embed iframe { height: 320px; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .hero-img img { border-radius: 18px 18px 18px 56px; }
  .line-float span { display: none; }
  .line-float { padding: 14px; }
}
