/* ============================================================
   樂芙朵寵物美容 LOVEDOG BEAUTY STUDIO — Design System
   Palette: warm cream / terracotta / sage / ink brown
   ============================================================ */

:root {
  --cream: #FAF4E9;
  --cream-2: #F3EADA;
  --paper: #FFFDF8;
  --sand: #EFE2CE;
  --peach: #F7E3CC;
  --ink: #3A2C22;
  --ink-soft: #7C6757;
  --ink-faint: #A79180;
  --terra: #CE6A47;
  --terra-deep: #B0512F;
  --terra-soft: #F2D9CB;
  --sage: #87A187;
  --sage-soft: #E4EBE0;
  --gold: #D9A441;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-1: 0 10px 30px rgba(58, 44, 34, .08);
  --shadow-2: 0 18px 50px rgba(58, 44, 34, .14);
  --font-serif: "Noto Serif TC", "Songti TC", serif;
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

.wrap { width: min(1160px, 92vw); margin: 0 auto; }
.serif { font-family: var(--font-serif); }

/* ---------- shared bits ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .06em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 10px 24px rgba(206, 106, 71, .35); }
.btn-primary:hover { background: var(--terra-deep); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(206, 106, 71, .42); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--terra-deep); box-shadow: var(--shadow-1); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .28em;
  color: var(--terra); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--terra); border-radius: 2px; }

.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .eyebrow { justify-content: center; }
.sec-head .eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--terra); border-radius: 2px; }
.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900; line-height: 1.3; margin-top: 14px; letter-spacing: .04em;
}
.sec-sub { color: var(--ink-soft); max-width: 560px; margin: 14px auto 0; }

section { padding: 96px 0; position: relative; }

.paw-deco { position: absolute; opacity: .07; pointer-events: none; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* ---------- header ---------- */

#site-header { position: sticky; top: 0; z-index: 200; }

.topbar {
  background: var(--ink); color: #EADFD2;
  font-size: 13px; letter-spacing: .08em;
  overflow: hidden; white-space: nowrap;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; gap: 18px; }
.topbar a { color: var(--peach); font-weight: 700; }
.topbar .tb-right { display: flex; gap: 22px; }

.navbar {
  background: rgba(250, 244, 233, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(58, 44, 34, .08);
  transition: box-shadow .3s ease;
}
#site-header.scrolled .navbar { box-shadow: 0 8px 30px rgba(58, 44, 34, .12); }
.navbar .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 16px;
  background: linear-gradient(135deg, var(--terra), var(--terra-deep));
  display: grid; place-items: center; box-shadow: 0 8px 18px rgba(206, 106, 71, .35);
  flex: none;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-name { font-family: var(--font-serif); font-size: 21px; font-weight: 900; letter-spacing: .06em; line-height: 1.2; }
.brand-name small { display: block; font-family: var(--font-sans); font-size: 10px; font-weight: 700; letter-spacing: .3em; color: var(--terra); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 500;
  color: var(--ink-soft); transition: all .22s ease; position: relative;
}
.nav-links a:hover { color: var(--terra-deep); background: var(--terra-soft); }
.nav-links a.active { color: #fff; background: var(--terra); font-weight: 700; }
.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow-1); position: relative; z-index: 302; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero { padding: 70px 0 90px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--sand);
  padding: 8px 18px 8px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--ink-soft);
  box-shadow: var(--shadow-1); margin-bottom: 26px;
}
.hero-tag .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--sage-soft); display: grid; place-items: center; }
.hero-tag .dot svg { width: 14px; height: 14px; }

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 900; line-height: 1.28; letter-spacing: .03em;
}
.hero h1 .hl { color: var(--terra); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 12px;
  background: var(--peach); z-index: -1; border-radius: 6px;
}
.hero p.lead { margin: 24px 0 34px; font-size: 17px; color: var(--ink-soft); max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 36px; margin-top: 46px; }
.hero-stats .stat b { font-family: var(--font-serif); font-size: 30px; color: var(--terra-deep); display: block; line-height: 1.1; }
.hero-stats .stat span { font-size: 13px; color: var(--ink-soft); letter-spacing: .1em; }

.hero-visual { position: relative; }
.hero-photo {
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  overflow: hidden; box-shadow: var(--shadow-2);
  aspect-ratio: 1 / .94; position: relative; z-index: 2;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::before {
  content: ""; position: absolute; inset: -26px auto auto -26px; width: 180px; height: 180px;
  border-radius: 50%; background: var(--peach); z-index: 1;
}
.hero-visual::after {
  content: ""; position: absolute; right: -30px; bottom: -30px; width: 220px; height: 220px;
  border-radius: 42% 58% 55% 45% / 50% 42% 58% 50%; background: var(--sage-soft); z-index: 1;
}
.float-card {
  position: absolute; z-index: 3; background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md); box-shadow: var(--shadow-2);
  padding: 14px 20px; display: flex; align-items: center; gap: 12px;
  animation: floaty 5s ease-in-out infinite;
}
.float-card .ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 22px; height: 22px; }
.float-card b { display: block; font-size: 15px; line-height: 1.3; }
.float-card span { font-size: 12px; color: var(--ink-soft); }
.fc-1 { left: -34px; bottom: 52px; }
.fc-1 .ic { background: var(--terra-soft); }
.fc-2 { right: -18px; top: 44px; animation-delay: -2.5s; }
.fc-2 .ic { background: var(--sage-soft); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- marquee ---------- */

.marquee { background: var(--terra); color: #fff; padding: 16px 0; overflow: hidden; transform: rotate(-1.2deg) scale(1.02); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span {
  font-family: var(--font-serif); font-weight: 700; font-size: 17px; letter-spacing: .2em;
  padding: 0 28px; display: flex; align-items: center; gap: 28px; white-space: nowrap;
}
.marquee-track span::after { content: "🐾"; font-size: 15px; letter-spacing: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- features ---------- */

.features { background: var(--paper); border-radius: 60px 60px 0 0; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feat-card {
  background: var(--cream); border-radius: var(--radius-lg); padding: 36px 30px;
  border: 1px solid rgba(58, 44, 34, .05);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  position: relative; overflow: hidden;
}
.feat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); background: #fff; }
.feat-card .fic {
  width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center;
  background: var(--terra-soft); margin-bottom: 22px; transition: transform .3s ease;
}
.feat-card:hover .fic { transform: rotate(-8deg) scale(1.06); }
.feat-card .fic svg { width: 30px; height: 30px; }
.feat-card:nth-child(3n+2) .fic { background: var(--sage-soft); }
.feat-card:nth-child(3n) .fic { background: var(--peach); }
.feat-card h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 700; margin-bottom: 10px; letter-spacing: .04em; }
.feat-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- services teaser ---------- */

.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc-card {
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-1); transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }
.svc-card .svc-img { aspect-ratio: 4/3.4; overflow: hidden; position: relative; }
.svc-card .svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .svc-img img { transform: scale(1.07); }
.svc-card .svc-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.svc-card h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 700; letter-spacing: .04em; }
.svc-card p { font-size: 14px; color: var(--ink-soft); margin: 8px 0 16px; flex: 1; }
.svc-price { font-weight: 700; color: var(--terra-deep); font-size: 15px; letter-spacing: .03em; }
.svc-price small { color: var(--ink-faint); font-weight: 500; }

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

/* ---------- gallery teaser ---------- */

.gallery-teaser { background: var(--ink); border-radius: 60px; margin: 0 18px; padding: 96px 0; color: var(--cream); overflow: hidden; }
.gallery-teaser .sec-title { color: var(--cream); }
.gallery-teaser .sec-sub { color: #CBB9A9; }
.g-strip { display: flex; gap: 20px; width: max-content; animation: marquee 40s linear infinite; padding: 6px 0; }
.g-strip:hover { animation-play-state: paused; }
.g-item { width: 240px; height: 240px; border-radius: var(--radius-md); overflow: hidden; flex: none; position: relative; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.08); }
.g-item .g-cap {
  position: absolute; inset: auto 0 0 0; padding: 30px 16px 12px;
  background: linear-gradient(transparent, rgba(30, 20, 14, .78));
  font-size: 13px; font-weight: 700; letter-spacing: .08em; color: #fff;
}

/* ---------- news teaser ---------- */

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-1); transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }
.news-card .n-img { aspect-ratio: 16/10; overflow: hidden; }
.news-card .n-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .n-img img { transform: scale(1.06); }
.news-card .n-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.n-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ink-faint); letter-spacing: .06em; margin-bottom: 10px; }
.n-tag { background: var(--terra-soft); color: var(--terra-deep); font-weight: 700; padding: 3px 12px; border-radius: 999px; letter-spacing: .1em; }
.n-tag.sage { background: var(--sage-soft); color: #4F6B4F; }
.news-card h3 { font-family: var(--font-serif); font-size: 18.5px; font-weight: 700; line-height: 1.5; }
.news-card p { font-size: 14px; color: var(--ink-soft); margin-top: 10px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.n-more { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--terra); letter-spacing: .08em; display: inline-flex; align-items: center; gap: 8px; }
.n-more svg { width: 15px; height: 15px; transition: transform .25s ease; }
.news-card:hover .n-more svg { transform: translateX(5px); }

/* ---------- promo banner ---------- */

.promo-banner {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(115deg, var(--terra) 0%, var(--terra-deep) 62%, #8F3E22 100%);
  color: #fff; padding: 64px 60px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
  box-shadow: 0 24px 60px rgba(176, 81, 47, .35);
}
.promo-banner::before { content: "🐾"; position: absolute; font-size: 200px; right: -20px; top: -60px; opacity: .12; transform: rotate(18deg); }
.promo-banner h3 { font-family: var(--font-serif); font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; line-height: 1.35; letter-spacing: .04em; }
.promo-banner p { margin: 14px 0 26px; color: #FFE3D2; max-width: 460px; }
.promo-badge { display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); padding: 6px 18px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .2em; margin-bottom: 18px; }
.promo-banner .p-img { border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.25); transform: rotate(2deg); }
.promo-banner .p-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ---------- contact section ---------- */

.contact-sec { background: var(--sage-soft); border-radius: 60px 60px 0 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.c-row {
  background: var(--paper); border-radius: var(--radius-md); padding: 20px 24px;
  display: flex; align-items: center; gap: 18px; box-shadow: var(--shadow-1);
  transition: transform .25s ease;
}
.c-row:hover { transform: translateX(6px); }
.c-row .c-ic { width: 48px; height: 48px; border-radius: 16px; background: var(--terra-soft); display: grid; place-items: center; flex: none; }
.c-row .c-ic svg { width: 23px; height: 23px; }
.c-row small { display: block; font-size: 12px; letter-spacing: .18em; color: var(--ink-faint); font-weight: 700; }
.c-row b { font-size: 17px; letter-spacing: .03em; }
.c-row a b:hover { color: var(--terra-deep); }
.contact-card {
  background: var(--ink); color: var(--cream); border-radius: var(--radius-lg);
  padding: 46px 42px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.contact-card::after { content: "🐾"; position: absolute; right: -14px; bottom: -40px; font-size: 150px; opacity: .1; transform: rotate(-14deg); }
.contact-card h3 { font-family: var(--font-serif); font-size: 28px; font-weight: 900; letter-spacing: .05em; line-height: 1.4; }
.contact-card p { color: #CBB9A9; margin: 14px 0 28px; font-size: 15px; }
.contact-card .btn { align-self: flex-start; }

/* ---------- footer ---------- */

#site-footer { margin-top: 0; }
.footer { background: #2C211A; color: #CBB9A9; padding: 72px 0 0; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: 0; opacity: .05;
  background-image: radial-gradient(#fff 1.2px, transparent 1.2px); background-size: 26px 26px; }
.footer .wrap { position: relative; }
.f-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 44px; padding-bottom: 52px; }
.f-brand .brand-name { color: #fff; font-size: 23px; }
.f-brand .brand-name small { color: var(--terra); }
.f-brand p { font-size: 14px; margin-top: 16px; max-width: 300px; line-height: 1.9; }
.f-col h4 { color: #fff; font-family: var(--font-serif); font-size: 17px; letter-spacing: .1em; margin-bottom: 20px; font-weight: 700; }
.f-col ul { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.f-col a { transition: color .2s ease, padding-left .2s ease; }
.f-col a:hover { color: var(--peach); padding-left: 6px; }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.f-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #9A8574; }

/* floating line button */
.line-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 300;
  width: 60px; height: 60px; border-radius: 50%;
  background: #06C755; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(6, 199, 85, .45);
  transition: transform .25s ease;
  animation: pulse-ring 2.6s ease-out infinite;
}
.line-float:hover { transform: scale(1.1) rotate(6deg); }
.line-float svg { width: 30px; height: 30px; }
@keyframes pulse-ring {
  0% { box-shadow: 0 12px 30px rgba(6,199,85,.45), 0 0 0 0 rgba(6,199,85,.4); }
  70% { box-shadow: 0 12px 30px rgba(6,199,85,.45), 0 0 0 18px rgba(6,199,85,0); }
  100% { box-shadow: 0 12px 30px rgba(6,199,85,.45), 0 0 0 0 rgba(6,199,85,0); }
}

/* ---------- subpage hero ---------- */

.sub-hero { padding: 64px 0 30px; }
.crumb { font-size: 13.5px; color: var(--ink-faint); letter-spacing: .06em; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.crumb a:hover { color: var(--terra-deep); }
.crumb svg { width: 13px; height: 13px; }
.sub-hero h1 { font-family: var(--font-serif); font-size: clamp(30px, 4.6vw, 48px); font-weight: 900; letter-spacing: .05em; line-height: 1.3; }
.sub-hero h1 em { font-style: normal; color: var(--terra); }
.sub-hero .sub-lead { color: var(--ink-soft); max-width: 640px; margin-top: 16px; font-size: 16.5px; }
.sub-hero-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; border-bottom: 2px solid var(--sand); padding-bottom: 34px; flex-wrap: wrap; }

/* ---------- tabs / pills ---------- */

.pill-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 40px 0 36px; }
.pill-tabs a, .pill-tabs button {
  padding: 11px 24px; border-radius: 999px; font-size: 14.5px; font-weight: 700; letter-spacing: .06em;
  background: var(--paper); color: var(--ink-soft); border: 1.5px solid var(--sand);
  transition: all .22s ease;
}
.pill-tabs a:hover, .pill-tabs button:hover { border-color: var(--terra); color: var(--terra-deep); transform: translateY(-2px); }
.pill-tabs .on { background: var(--terra); border-color: var(--terra); color: #fff; box-shadow: 0 8px 20px rgba(206,106,71,.3); }

/* ---------- article (news detail / promo detail / pages) ---------- */

/* 內文區塊與 header 的 .wrap 對齊（原本 820px 容器內再包 1160px 的 .wrap，
   會把內容往右推 170px 並撐出橫向捲軸） */
.article { width: min(1160px, 92vw); max-width: 100%; margin: 0 auto; padding: 40px 0 96px; }
.article > .wrap { width: 100%; }
.article .a-body { line-height: 2; }
.article .a-hero { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); margin: 30px 0 40px; }
.article .a-hero img { width: 100%; max-height: 460px; object-fit: cover; }
.article h1 { font-family: var(--font-serif); font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; line-height: 1.45; letter-spacing: .04em; }
.article .a-body { font-size: 16.5px; color: #54453A; }
.article .a-body p { margin: 22px 0; }
.article .a-body strong { color: var(--terra-deep); }
.a-quote {
  background: var(--paper); border-left: 5px solid var(--terra); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 30px; margin: 30px 0; font-family: var(--font-serif); font-size: 18px; font-weight: 700;
  color: var(--ink); letter-spacing: .03em; box-shadow: var(--shadow-1);
}
.a-list { margin: 22px 0; }
.a-list li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px dashed var(--sand); }
.a-list li::before { content: "🐾"; position: absolute; left: 2px; top: 10px; font-size: 15px; }
.a-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; flex-wrap: wrap; }

/* notice / info boxes */
.note-box {
  background: var(--sage-soft); border-radius: var(--radius-md); padding: 24px 30px; margin: 30px 0;
  display: flex; gap: 16px; align-items: flex-start;
}
.note-box .nb-ic { width: 42px; height: 42px; border-radius: 14px; background: #fff; display: grid; place-items: center; flex: none; }
.note-box .nb-ic svg { width: 22px; height: 22px; }
.note-box b { display: block; margin-bottom: 4px; letter-spacing: .05em; }
.note-box p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------- album grid ---------- */

.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.album-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.al-card { border-radius: var(--radius-md); overflow: hidden; position: relative; aspect-ratio: 1/1; box-shadow: var(--shadow-1); }
.al-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.al-card:hover img { transform: scale(1.08); }
.al-card .al-cap {
  position: absolute; inset: auto 0 0 0; padding: 44px 20px 16px;
  background: linear-gradient(transparent, rgba(30,20,14,.82)); color: #fff;
  font-weight: 700; letter-spacing: .06em; font-size: 15px;
  display: flex; justify-content: space-between; align-items: flex-end;
  opacity: 0; transform: translateY(8px); transition: all .3s ease;
}
.al-card:hover .al-cap { opacity: 1; transform: none; }
.al-card .al-cap small { font-weight: 400; font-size: 12px; opacity: .85; letter-spacing: .1em; }

.album-cover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 96px; }
.album-cover {
  border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 16/10.5;
  box-shadow: var(--shadow-1); transition: transform .3s ease, box-shadow .3s ease; display: block;
}
.album-cover:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.album-cover:hover img { transform: scale(1.06); }
.album-cover .ac-cap { position: absolute; inset: auto 0 0 0; padding: 60px 30px 26px; background: linear-gradient(transparent, rgba(30,20,14,.85)); color: #fff; }
.album-cover .ac-cap h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 900; letter-spacing: .06em; }
.album-cover .ac-cap span { font-size: 13.5px; opacity: .85; letter-spacing: .1em; }
.album-cover .ac-count { position: absolute; top: 18px; right: 18px; background: rgba(255,253,248,.92); color: var(--ink); border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 700; letter-spacing: .05em; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(30, 21, 15, .9); backdrop-filter: blur(8px); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { max-width: min(880px, 90vw); }
.lightbox img { max-height: 78vh; max-width: 100%; border-radius: var(--radius-md); box-shadow: 0 30px 80px rgba(0,0,0,.5); margin: 0 auto; }
.lightbox figcaption { text-align: center; color: #EADFD2; margin-top: 16px; font-size: 15px; letter-spacing: .08em; }
.lb-close { position: absolute; top: 22px; right: 26px; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; display: grid; place-items: center; transition: background .2s; }
.lb-close:hover { background: var(--terra); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 20px; display: grid; place-items: center; transition: background .2s; }
.lb-prev { left: 22px; } .lb-next { right: 22px; }
.lb-prev:hover, .lb-next:hover { background: var(--terra); }

/* ---------- pricing table ---------- */

.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-1); margin: 34px 0; }
.price-table th, .price-table td { padding: 18px 22px; text-align: center; font-size: 15px; }
.price-table thead th { background: var(--ink); color: var(--cream); font-family: var(--font-serif); letter-spacing: .12em; font-size: 15px; padding: 20px 22px; }
.price-table thead th:first-child { text-align: left; }
.price-table td:first-child { text-align: left; font-weight: 700; letter-spacing: .04em; }
.price-table tbody tr:nth-child(even) { background: var(--cream); }
.price-table tbody tr:hover { background: var(--peach); }
.price-table td b { color: var(--terra-deep); font-size: 16px; }
.price-note { font-size: 13.5px; color: var(--ink-faint); margin-top: -18px; }

/* ---------- steps ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; margin: 44px 0 10px; }
.step { background: var(--paper); border-radius: var(--radius-md); padding: 30px 24px; box-shadow: var(--shadow-1); position: relative; transition: transform .3s ease; }
.step:hover { transform: translateY(-6px); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif); font-size: 40px; font-weight: 900; color: var(--terra-soft);
  position: absolute; top: 14px; right: 20px; line-height: 1;
}
.step h4 { font-family: var(--font-serif); font-size: 17.5px; font-weight: 700; margin-bottom: 8px; letter-spacing: .05em; }
.step p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- promo cards ---------- */

.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 90px; }
.promo-card {
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-1);
  transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column;
}
.promo-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }
.promo-card .pc-img { aspect-ratio: 16/8.6; overflow: hidden; position: relative; }
.promo-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.promo-card:hover .pc-img img { transform: scale(1.06); }
.pc-flag { position: absolute; top: 16px; left: 16px; background: var(--terra); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; padding: 6px 16px; border-radius: 999px; box-shadow: 0 6px 16px rgba(176,81,47,.4); }
.promo-card .pc-body { padding: 26px 30px 32px; flex: 1; display: flex; flex-direction: column; }
.promo-card h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 900; letter-spacing: .04em; }
.pc-period { font-size: 13px; color: var(--gold); font-weight: 700; letter-spacing: .08em; margin: 8px 0 10px; }
.promo-card p { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.promo-card .btn { align-self: flex-start; margin-top: 20px; padding: 11px 26px; font-size: 14px; }

/* ---------- two-col media block (about) ---------- */

.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 30px 0 80px; }
.media-split .ms-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); position: relative; }
.media-split .ms-img img { width: 100%; object-fit: cover; }
.media-split.reverse .ms-img { order: 2; }
.ms-copy h2 { font-family: var(--font-serif); font-size: clamp(24px, 3.2vw, 34px); font-weight: 900; letter-spacing: .05em; line-height: 1.4; margin-bottom: 18px; }
.ms-copy h2 em { font-style: normal; color: var(--terra); }
.ms-copy p { color: var(--ink-soft); margin-bottom: 16px; }
.ms-points { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.ms-points li { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); padding: 14px 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow-1); font-size: 14.5px; }
.ms-points svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }

.cert-strip { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.cert-chip { background: var(--paper); border: 1.5px dashed var(--terra); color: var(--terra-deep); border-radius: 999px; padding: 10px 22px; font-size: 13.5px; font-weight: 700; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 8px; }
.cert-chip svg { width: 16px; height: 16px; }

/* ---------- map / contact page ---------- */

.map-box { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); margin-top: 40px; background: var(--sand); position: relative; }
.map-box iframe { width: 100%; height: 380px; border: 0; display: block; }
.hours-board { background: var(--ink); color: var(--cream); border-radius: var(--radius-lg); padding: 38px 36px; margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.hours-board h3 { font-family: var(--font-serif); font-size: 22px; font-weight: 900; letter-spacing: .08em; grid-column: 1 / -1; }
.hb-row { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(255,255,255,.18); padding: 12px 2px; font-size: 15px; }
.hb-row span { color: #CBB9A9; }
.hb-row b { letter-spacing: .05em; }
.hb-row .closed { color: var(--terra); font-weight: 700; }

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .album-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 70px; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .fc-1 { left: 0; }
  .fc-2 { right: 0; }
  .promo-banner { grid-template-columns: 1fr; padding: 48px 36px; }
  .media-split { grid-template-columns: 1fr; gap: 36px; }
  .media-split.reverse .ms-img { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  section { padding: 68px 0; }
  .nav-links {
    position: fixed; inset: 0; z-index: 301; background: var(--cream);
    flex-direction: column; justify-content: center; gap: 8px;
    opacity: 0; pointer-events: none; transition: opacity .3s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 20px; font-family: var(--font-serif); padding: 14px 34px; }
  .nav-cta { margin: 14px 0 0; }
  .nav-toggle { display: block; }
  .topbar .tb-right { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .album-grid.cols-2 { grid-template-columns: 1fr; }
  .album-cover-grid { grid-template-columns: 1fr; }
  .gallery-teaser { margin: 0 10px; border-radius: 40px; }
  .hours-board { grid-template-columns: 1fr; }
  .article .a-hero img { max-height: 300px; }
  .price-table { display: block; overflow-x: auto; }
  .hero-stats { gap: 22px; }
  .float-card { padding: 10px 14px; }
  .fc-1 { bottom: 20px; }
}

@media (max-width: 480px) {
  .feat-grid, .svc-grid, .album-grid, .steps { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 18px; }
}

/* ============================================================
   Refinement pass — inspired by TW pet salon benchmarks
   ============================================================ */

/* ---------- section head v2: paw ribbon + serif EN subtitle ---------- */

.sec-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--terra); color: #fff;
  padding: 7px 22px 7px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .26em;
  box-shadow: 0 8px 20px rgba(206, 106, 71, .35);
  position: relative;
}
.sec-badge::before, .sec-badge::after {
  content: ""; position: absolute; bottom: -7px; width: 0; height: 0;
  border: 7px solid transparent; border-top-color: var(--terra-deep);
}
.sec-badge::before { left: 14px; border-right: 0; }
.sec-badge::after { right: 14px; border-left: 0; }
.sec-badge svg { width: 15px; height: 15px; }
.sec-badge.light { background: #fff; color: var(--terra-deep); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.sec-badge.light::before, .sec-badge.light::after { border-top-color: var(--sand); }

.sec-head .sec-title { margin-top: 22px; }
.sec-en {
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  color: var(--ink-faint); letter-spacing: .12em; font-size: 16px;
  margin-top: 8px; display: inline-flex; align-items: center; gap: 16px;
}
.sec-en::before, .sec-en::after { content: ""; width: 44px; height: 1px; background: var(--ink-faint); opacity: .5; }
.gallery-teaser .sec-en { color: #B49E8C; }
.gallery-teaser .sec-en::before, .gallery-teaser .sec-en::after { background: #B49E8C; }

/* ---------- hero rotating badge ---------- */

.rot-badge {
  position: absolute; z-index: 4; left: -38px; top: -38px;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--ink); color: var(--cream);
  display: grid; place-items: center;
  box-shadow: var(--shadow-2);
}
.rot-badge .rb-spin { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.rot-badge svg.rb-text { width: 118px; height: 118px; }
.rot-badge svg.rb-text text { font-size: 10.5px; letter-spacing: 2.6px; fill: var(--peach); font-weight: 700; font-family: var(--font-sans); }
.rot-badge > svg { width: 36px; height: 36px; position: relative; z-index: 2; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- brand philosophy pillars ---------- */

.philosophy { background: var(--paper); }
.philo-intro { max-width: 640px; margin: 0 auto 64px; text-align: center; color: var(--ink-soft); }
.philo-intro strong { color: var(--terra-deep); }

.pillar-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 76px; }
.pillar-row:last-child { margin-bottom: 0; }
.pillar-row:nth-child(even) .pl-media { order: 2; }
.pl-media { position: relative; }
.pl-media .pl-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 4/3.2; }
.pl-media .pl-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pillar-row:hover .pl-img img { transform: scale(1.05); }
.pl-media::before {
  content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%;
  background: var(--peach); z-index: -1; top: -24px; left: -24px;
}
.pillar-row:nth-child(even) .pl-media::before { left: auto; right: -24px; background: var(--sage-soft); }
.pl-num {
  position: absolute; bottom: -20px; right: 22px;
  font-family: var(--font-serif); font-size: 74px; font-weight: 900; line-height: 1;
  color: var(--terra-soft); -webkit-text-stroke: 1.5px var(--terra); opacity: .9;
}
.pillar-row:nth-child(even) .pl-num { right: auto; left: 22px; }

.pl-copy .pl-en {
  display: inline-block; font-family: var(--font-serif); font-style: italic; font-weight: 600;
  color: var(--terra); letter-spacing: .14em; font-size: 16px; margin-bottom: 8px;
}
.pl-copy h3 { font-family: var(--font-serif); font-size: clamp(24px, 3vw, 32px); font-weight: 900; letter-spacing: .05em; line-height: 1.35; }
.pl-copy > p { color: var(--ink-soft); margin: 16px 0 20px; }
.pl-points { display: flex; flex-direction: column; gap: 10px; }
.pl-points li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.pl-points svg { width: 20px; height: 20px; flex: none; }
.pl-points li span { border-bottom: 1px dashed var(--sand); padding-bottom: 10px; flex: 1; }

/* ---------- testimonials ---------- */

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card {
  background: var(--paper); border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow-1); position: relative; transition: transform .3s ease, box-shadow .3s ease;
}
.testi-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }
.testi-card::before {
  content: "”"; position: absolute; top: 6px; right: 26px;
  font-family: var(--font-serif); font-size: 90px; color: var(--terra-soft); line-height: 1;
}
.testi-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.testi-head img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 3px solid var(--peach); }
.testi-head b { display: block; font-size: 16px; letter-spacing: .04em; }
.testi-head small { color: var(--ink-faint); font-size: 12.5px; letter-spacing: .08em; }
.testi-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testi-stars svg { width: 16px; height: 16px; }
.testi-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; }

/* ---------- gallery section wave edges ---------- */

.wave-wrap { position: relative; margin: 0; }
.gallery-teaser.v2 { margin: 0; border-radius: 0; }
.wave-top, .wave-bottom { display: block; width: 100%; height: 60px; }
.wave-top { margin-bottom: -1px; }
.wave-bottom { margin-top: -1px; transform: scaleY(-1); }

/* ---------- weight-tier pricing (accordion) ---------- */

.tier-shell { background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); overflow: hidden; }
.tier-tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); }
.tier-tabs button {
  padding: 22px 12px; color: #CBB9A9; text-align: center; transition: all .25s ease;
  border-bottom: 3px solid transparent;
}
.tier-tabs button b { display: block; font-family: var(--font-serif); font-size: 17px; letter-spacing: .08em; }
.tier-tabs button small { font-size: 11.5px; letter-spacing: .18em; opacity: .75; font-family: var(--font-serif); font-style: italic; }
.tier-tabs button:hover { color: #fff; background: rgba(255,255,255,.05); }
.tier-tabs button.on { color: #fff; border-bottom-color: var(--terra); background: rgba(206,106,71,.14); }

.tier-body { padding: 34px 38px 40px; }
.tier-intro { color: var(--ink-soft); font-size: 15px; background: var(--cream); border-radius: var(--radius-sm); padding: 16px 22px; margin-bottom: 8px; }
.tier-row {
  display: grid; grid-template-columns: 1.3fr 1fr auto auto; gap: 18px; align-items: center;
  padding: 19px 8px; border-bottom: 1px solid var(--cream-2); transition: background .2s ease;
}
.tier-row:hover { background: var(--cream); }
.tier-row:last-child { border-bottom: none; }
.tier-row .t-size { font-weight: 700; font-size: 16px; letter-spacing: .05em; }
.tier-row .t-kg { color: var(--ink-faint); font-size: 13.5px; letter-spacing: .04em; }
.tier-row .t-time { color: var(--sage); font-size: 13.5px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.tier-row .t-price { font-family: var(--font-serif); font-weight: 900; color: var(--terra-deep); font-size: 21px; white-space: nowrap; }

/* ---------- about: equipment & team ---------- */

.equip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.equip-card { background: var(--paper); border-radius: var(--radius-md); padding: 30px 24px; box-shadow: var(--shadow-1); text-align: center; transition: transform .3s ease; }
.equip-card:hover { transform: translateY(-6px); }
.equip-card .e-ic { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 18px; background: var(--terra-soft); display: grid; place-items: center; }
.equip-card .e-ic svg { width: 27px; height: 27px; }
.equip-card:nth-child(2n) .e-ic { background: var(--sage-soft); }
.equip-card h4 { font-family: var(--font-serif); font-size: 16.5px; font-weight: 700; letter-spacing: .04em; margin-bottom: 8px; }
.equip-card p { font-size: 13.5px; color: var(--ink-soft); }

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.team-card { background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-1); display: grid; grid-template-columns: 42% 1fr; transition: transform .3s ease, box-shadow .3s ease; }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }
.team-card .tm-img { overflow: hidden; }
.team-card .tm-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; min-height: 260px; }
.team-card .tm-body { padding: 30px 28px; display: flex; flex-direction: column; justify-content: center; }
.team-card h4 { font-family: var(--font-serif); font-size: 22px; font-weight: 900; letter-spacing: .06em; }
.team-card .tm-role { color: var(--terra); font-size: 13px; font-weight: 700; letter-spacing: .18em; margin: 4px 0 14px; }
.team-card p { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }
.team-card .tm-certs { display: flex; flex-wrap: wrap; gap: 8px; }
.team-card .tm-certs span { background: var(--cream); border-radius: 999px; padding: 5px 14px; font-size: 12px; font-weight: 700; color: var(--ink-soft); letter-spacing: .05em; }

/* ---------- responsive additions ---------- */

@media (max-width: 1020px) {
  .pillar-row { gap: 36px; margin-bottom: 60px; }
  .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .tier-tabs button b { font-size: 14.5px; }
  .tier-tabs button small { display: none; }
  .tier-body { padding: 24px 18px 30px; }
}

@media (max-width: 760px) {
  .pillar-row { grid-template-columns: 1fr; gap: 26px; }
  .pillar-row:nth-child(even) .pl-media { order: 0; }
  .rot-badge { width: 104px; height: 104px; left: -10px; top: -24px; }
  .rot-badge svg.rb-text { width: 94px; height: 94px; }
  .tier-row { grid-template-columns: 1fr 1fr; row-gap: 6px; }
  .tier-row .t-price { text-align: right; }
  .tier-row .t-time { text-align: right; }
  .tier-tabs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .equip-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   法律頁面（服務條款 / 隱私權政策）
   ============================================================ */

.lg-updated {
  align-self: flex-end; flex: none;
  background: var(--paper); border: 1.5px dashed var(--sand);
  border-radius: 999px; padding: 9px 20px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--ink-faint);
}

.legal-sec { padding: 48px 0 96px; }
.legal-grid { display: grid; grid-template-columns: 262px 1fr; gap: 58px; align-items: start; }

.legal-toc { position: sticky; top: calc(var(--header-h) + 46px); }
.lg-toc-inner {
  background: var(--paper); border-radius: var(--radius-lg);
  padding: 28px 26px 24px; box-shadow: var(--shadow-1);
  display: flex; flex-direction: column;
}
.lg-toc-inner .lg-en {
  font-size: 11.5px; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: var(--terra);
}
.lg-toc-inner h4 {
  font-family: var(--font-serif); font-size: 18px; font-weight: 900;
  letter-spacing: .08em; margin: 6px 0 14px;
  padding-bottom: 14px; border-bottom: 1.5px solid var(--sand);
}
.lg-toc-inner a {
  font-size: 13.8px; color: var(--ink-soft); line-height: 1.6;
  padding: 8px 12px; border-radius: 10px; border-left: 2px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.lg-toc-inner a:hover { background: var(--cream); color: var(--terra-deep); border-left-color: var(--terra); }
.lg-toc-inner .lg-switch {
  margin-top: 16px; padding: 12px 16px; border-left: none;
  background: var(--peach); color: var(--terra-deep);
  font-weight: 700; letter-spacing: .05em; text-align: center;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.lg-toc-inner .lg-switch svg { width: 15px; height: 15px; }
.lg-toc-inner .lg-switch:hover { background: var(--terra); color: #fff; border-left-color: transparent; }

.legal-body { min-width: 0; font-size: 16px; color: #54453A; }
.legal-body .lg-sec { padding: 0 0 34px; scroll-margin-top: calc(var(--header-h) + 40px); }
.legal-body .lg-sec + .lg-sec { border-top: 1px dashed var(--sand); padding-top: 34px; }
.legal-body h2 {
  font-family: var(--font-serif); font-size: 21px; font-weight: 900;
  letter-spacing: .05em; color: var(--ink); margin-bottom: 14px;
}
.legal-body h2::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 18px; height: 3px; border-radius: 2px;
  background: var(--terra); margin-right: 12px; transform: translateY(-3px);
}
.legal-body p { margin: 0 0 14px; line-height: 2.05; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-body .a-list { margin: 18px 0 4px; }
.legal-body .a-list li { font-size: 15px; line-height: 1.85; }
.legal-body .note-box { margin-top: 40px; }

.f-legal { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.f-legal a { color: #CBB9A9; }
.f-legal a:hover { color: var(--peach); }

@media (max-width: 1020px) {
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
  .lg-toc-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 16px; }
  .lg-toc-inner .lg-en, .lg-toc-inner h4, .lg-toc-inner .lg-switch { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .legal-sec { padding: 30px 0 72px; }
  .lg-toc-inner { grid-template-columns: 1fr; }
  .lg-updated { align-self: flex-start; }
  .legal-body h2 { font-size: 19px; }
}
