/* ==========================================================
   Simpsonville Collective — Homepage styles
   1. Tokens  2. Base  3. Buttons  4. Top bar + Header
   5. Hero  6. Welcome  7. Service menu  8. Head spa
   9. Team  10. Gallery  11. CTA  12. Visit  13. Footer
   14. Animations  15. Responsive
   ========================================================== */

/* ---------- 1. Design tokens (from the logo + site browns) ---------- */
:root {
  --espresso: #2B1F1C;
  --mocha: #4A3330;          /* site's main brown */
  --cocoa: #7B4A2D;          /* logo brown */
  --rose: #C9A9A2;           /* site's dusty rose */
  --blush: #EEDFD9;
  --cream: #F8F3EE;
  --linen: #F1E8E1;
  --gold: #B88B5C;
  --white: #FFFFFF;
  --ink: #2B1F1C;
  --text: #5B4A45;
  --muted: #8A7770;
  --line: rgba(43, 31, 28, .12);
  --line-light: rgba(255, 255, 255, .14);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(80px, 10vw, 130px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -30px rgba(43, 31, 28, .45);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16.5px; line-height: 1.75; color: var(--text); background: var(--cream); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.08; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--cocoa); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--cocoa); }
.kicker .icon { width: 16px; height: 16px; }
.kicker-light { color: var(--rose); }
.section-title { font-size: clamp(38px, 5vw, 62px); letter-spacing: -.01em; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 54px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.lead { font-size: 19px; line-height: 1.7; color: var(--ink); }

/* ---------- 3. Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  font-family: var(--sans); font-size: 14.5px; font-weight: 600; letter-spacing: .04em;
  transition: color .4s var(--ease), border-color .4s, transform .3s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: scale(0, 1); transform-origin: left; transition: transform .5s var(--ease); }
.btn:hover::before { transform: scale(1, 1); }
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-dark { background: var(--mocha); color: var(--white); }
.btn-dark::before { background: var(--cocoa); }
.btn-rose { background: var(--rose); color: var(--espresso); }
.btn-rose::before { background: var(--blush); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .4); }
.btn-ghost::before { background: var(--white); }
.btn-ghost:hover { color: var(--espresso); }
.btn-outline { color: var(--ink); border-color: var(--line); }
.btn-outline::before { background: var(--mocha); }
.btn-outline:hover { color: var(--white); border-color: var(--mocha); }
.btn-lg { padding: 17px 30px; font-size: 15.5px; }
.btn-sm { padding: 11px 20px; font-size: 13.5px; }

/* ---------- 4. Top bar + Header ---------- */
.topbar { background: var(--espresso); color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.topbar p, .topbar a { display: flex; align-items: center; gap: 8px; }
.topbar .icon { width: 15px; height: 15px; color: var(--rose); }
.topbar a:hover { color: var(--white); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 12px 30px -22px rgba(43, 31, 28, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; transition: height .3s var(--ease); }
.is-scrolled .header-inner { height: 76px; }
/* The logo file has wide white margins — the frame crops to the mark + name */
.logo { display: block; width: 150px; height: 84px; overflow: hidden; flex-shrink: 0; transition: width .3s, height .3s; }
.logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); mix-blend-mode: multiply; }
.is-scrolled .logo { width: 128px; height: 70px; }

.main-nav ul { display: flex; gap: 34px; }
.main-nav a:not(.btn) { position: relative; font-size: 15px; font-weight: 500; color: var(--ink); padding: 6px 0; transition: color .3s; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--cocoa); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.main-nav a:not(.btn):hover, .main-nav a.is-active { color: var(--cocoa); }
.main-nav a:not(.btn):hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-book { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 19px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--espresso); color: rgba(255, 255, 255, .8); }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 500px at 10% 20%, rgba(201, 169, 162, .22), transparent 70%),
    radial-gradient(600px 500px at 60% 110%, rgba(123, 74, 45, .45), transparent 70%);
  animation: breathe 10s ease-in-out infinite;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; min-height: clamp(600px, calc(100vh - 132px), 780px); }
.hero-copy { padding: 70px 0; }
.hero .kicker { color: var(--rose); }
.hero-title { color: var(--white); font-size: clamp(48px, 6.2vw, 88px); font-weight: 500; line-height: 1; letter-spacing: -.015em; margin-bottom: 26px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { color: var(--rose); }
.hero-text { max-width: 500px; font-size: 18px; margin-bottom: 34px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.hero-cats li { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line-light); font-size: 13.5px; color: rgba(255, 255, 255, .85); transition: background .3s, border-color .3s; }
.hero-cats li:hover { background: rgba(255, 255, 255, .08); border-color: var(--rose); }

/* Moving photo columns */
.hero-reel { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; height: clamp(600px, calc(100vh - 132px), 780px); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); }
.reel { position: relative; overflow: hidden; height: 100%; }
.reel-track { display: flex; flex-direction: column; gap: 16px; }
.reel-track img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; }
.reel-up .reel-track { animation: reelUp 40s linear infinite; }
.reel-down .reel-track { animation: reelDown 44s linear infinite; }
.hero-reel:hover .reel-track { animation-play-state: paused; }
.reel-badge {
  position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 2;
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 14px 20px; border-radius: 16px; background: rgba(248, 243, 238, .95); color: var(--ink);
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .6);
}
.reel-badge .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--mocha); color: var(--rose); }
.reel-badge b { display: block; font-family: var(--serif); font-size: 20px; line-height: 1.1; }
.reel-badge small { color: var(--muted); font-size: 13px; }

/* ---------- 6. Welcome ---------- */
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.welcome-media { position: relative; padding: 0 70px 80px 0; }
.w-img-1 { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 300px 300px var(--radius) var(--radius); box-shadow: var(--shadow); }
.w-img-2 { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); border: 8px solid var(--cream); box-shadow: var(--shadow); }
.w-stamp { position: absolute; left: -20px; bottom: 40px; width: 130px; height: 130px; border-radius: 50%; background: var(--mocha); color: var(--rose); display: grid; place-items: center; box-shadow: var(--shadow); }
.w-stamp svg:first-child { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: spin 24s linear infinite; }
.w-stamp text { font-family: var(--sans); font-size: 9.4px; font-weight: 600; letter-spacing: 1.5px; fill: var(--blush); }
.w-stamp > .icon { width: 30px; height: 30px; }
.welcome-copy .lead { margin: 22px 0 18px; }
.family-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-top: 16px; }
.family-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-weight: 500; font-size: 15.5px; line-height: 1.45; }
.family-list .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--blush); color: var(--cocoa); stroke-width: 2.4; margin-top: 1px; }

.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(60px, 8vw, 100px); }
.promises li { padding: 30px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.promises li:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pr-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--blush); color: var(--cocoa); margin-bottom: 18px; }
.pr-icon .icon { width: 22px; height: 22px; }
.promises h3 { font-size: 25px; margin-bottom: 6px; }
.promises p { font-size: 15px; }

/* ---------- 7. Service menu ---------- */
.menu { background: var(--linen); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.tab { font: inherit; font-size: 14.5px; font-weight: 600; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.tab:hover { border-color: var(--cocoa); }
.tab.is-active { background: var(--mocha); color: var(--white); border-color: var(--mocha); }
.panels { background: var(--white); border-radius: 28px; padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow); }
.panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 50px); align-items: start; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.panel.is-active { opacity: 1; transform: none; }
.panel[hidden] { display: none; }
.panel-img { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; }
.panel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.panel.is-active .panel-img img { animation: zoomOut 1.4s var(--ease) both; }
.panel-img span { position: absolute; left: 16px; bottom: 16px; padding: 8px 16px; border-radius: 999px; background: rgba(248, 243, 238, .95); font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); }
.svc-list li { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.svc-list li:last-child { border-bottom: 0; }
.svc-list span { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.svc-list span em { display: inline-block; margin-left: 6px; font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 500; color: var(--cocoa); background: var(--blush); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.svc-list i { flex: 1; min-width: 20px; border-bottom: 1px dotted rgba(43, 31, 28, .25); transform: translateY(-5px); }
.svc-list small { font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.menu-cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 34px; text-align: center; }
.menu-cta p { font-family: var(--serif); font-size: 22px; color: var(--ink); font-style: italic; }

/* ---------- 8. Head spa ---------- */
.headspa { position: relative; overflow: hidden; background: var(--mocha); color: rgba(255, 255, 255, .8); }
.headspa .section-title { color: var(--white); }
.headspa .section-title em { color: var(--rose); }
.bubbles span { position: absolute; bottom: -60px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .25), transparent 60%); animation: bubble 14s linear infinite; }
.bubbles span:nth-child(1) { left: 6%;  width: 26px; height: 26px; animation-delay: 0s; }
.bubbles span:nth-child(2) { left: 18%; width: 14px; height: 14px; animation-delay: 3s; animation-duration: 11s; }
.bubbles span:nth-child(3) { left: 32%; width: 40px; height: 40px; animation-delay: 6s; animation-duration: 17s; }
.bubbles span:nth-child(4) { left: 48%; width: 18px; height: 18px; animation-delay: 1.5s; }
.bubbles span:nth-child(5) { left: 63%; width: 30px; height: 30px; animation-delay: 8s; animation-duration: 15s; }
.bubbles span:nth-child(6) { left: 76%; width: 12px; height: 12px; animation-delay: 4s; animation-duration: 10s; }
.bubbles span:nth-child(7) { left: 88%; width: 36px; height: 36px; animation-delay: 10s; animation-duration: 18s; }
.bubbles span:nth-child(8) { left: 95%; width: 16px; height: 16px; animation-delay: 6.5s; }
.spa-top { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 50px; }
.spa-intro { font-size: 17.5px; }
.spa-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 26px; align-items: stretch; }
.video-card { position: relative; border-radius: var(--radius); overflow: hidden; background: #000 center / cover no-repeat; aspect-ratio: 9 / 14; max-height: 640px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6); }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.spa-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.spa-card { position: relative; padding: 28px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-light); transition: background .4s, transform .5s var(--ease); }
.spa-card:hover { background: rgba(255, 255, 255, .1); transform: translateY(-6px); }
.spa-card-hl { background: var(--rose); border-color: var(--rose); color: var(--espresso); }
.spa-card-hl:hover { background: var(--blush); }
.spa-card-hl h3 { color: var(--espresso) !important; }
.spa-card-hl .spa-time { background: var(--espresso); color: var(--blush); }
.spa-time { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(201, 169, 162, .2); color: var(--blush); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; margin-bottom: 16px; }
.spa-card h3 { color: var(--white); font-size: 28px; margin-bottom: 10px; }
.spa-card p { font-size: 15px; line-height: 1.65; }

/* ---------- 9. Team ---------- */
.team-feature { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.member { margin: 0; }
.m-img { position: relative; aspect-ratio: 3 / 4; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; margin-bottom: 18px; background: var(--linen); }
.m-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 1s var(--ease); }
.member:hover .m-img img { transform: scale(1.06); }
.m-tag { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: var(--mocha); color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.member h3 { font-size: 28px; text-align: center; }
.member p { text-align: center; font-size: 15px; line-height: 1.6; max-width: 260px; margin: 6px auto 0; }
.team-more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; }
.team-more li { padding: 18px 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.team-more li:hover { border-color: var(--rose); transform: translateY(-4px); }
.team-more b { display: block; font-family: var(--serif); font-size: 22px; color: var(--ink); line-height: 1.2; }
.team-more span { display: block; font-size: 14px; line-height: 1.45; margin-top: 4px; color: var(--muted); }

/* ---------- 10. Gallery ---------- */
.gallery { background: var(--white); }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }
.g { position: relative; margin: 0; border-radius: 18px; overflow: hidden; }
.g-tall { grid-row: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(248, 243, 238, .92); font-size: 13px; font-weight: 600; color: var(--ink); transform: translateY(12px); opacity: 0; transition: opacity .4s, transform .4s var(--ease); }
.g:hover img { transform: scale(1.07); }
.g:hover figcaption { opacity: 1; transform: none; }

/* ---------- 11. CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--espresso); padding: clamp(60px, 8vw, 90px) 0; }
.cta::before { content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 169, 162, .35), transparent 65%); animation: breathe 9s ease-in-out infinite; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: var(--white); font-size: clamp(34px, 4.4vw, 54px); margin-bottom: 8px; }
.cta h2 em { color: var(--rose); }
.cta p { color: rgba(255, 255, 255, .75); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 12. Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.visit-card { background: var(--white); border-radius: 28px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); }
.visit-card .section-title { margin-bottom: 26px; }
.visit-info li { display: flex; gap: 14px; padding: 12px 0; }
.visit-info .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--blush); color: var(--cocoa); }
.visit-info b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.visit-info span, .visit-info a { color: var(--ink); font-weight: 500; line-height: 1.5; word-break: break-word; }
.visit-info a:hover { color: var(--cocoa); }
.hours { margin: 18px 0 22px; border-top: 1px solid var(--line); }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours li span:last-child { color: var(--ink); font-weight: 500; }
.hours li.is-today { background: var(--blush); border-radius: 10px; border-bottom-color: transparent; }
.hours li.is-today span:first-child::after { content: " · Today"; color: var(--cocoa); font-weight: 600; }
.policy { padding: 16px 18px; border-radius: 14px; background: var(--linen); margin-bottom: 24px; font-size: 14.5px; line-height: 1.6; }
.policy b { display: block; color: var(--ink); margin-bottom: 2px; }
.map { border-radius: 28px; overflow: hidden; min-height: 460px; background: var(--linen); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; filter: sepia(.25) saturate(.9); }

/* ---------- 13. Footer ---------- */
.site-footer { background: var(--espresso); color: rgba(255, 255, 255, .7); padding: 80px 0 30px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer-brand img { width: 170px; height: 110px; object-fit: cover; border-radius: 16px; margin-bottom: 18px; }
.footer-brand p { max-width: 260px; }
.site-footer h4 { color: var(--white); font-size: 22px; margin-bottom: 16px; }
.footer-links li + li { margin-top: 9px; }
.footer-links a { transition: color .3s; word-break: break-word; }
.footer-links a:hover { color: var(--rose); }
.pay { display: flex; flex-wrap: wrap; gap: 8px; }
.pay li { padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line-light); font-size: 12.5px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 13.5px; color: rgba(255, 255, 255, .45); }

.mobile-book { position: fixed; left: 50%; bottom: 16px; z-index: 40; display: none; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 999px; background: var(--mocha); color: var(--white); font-weight: 600; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); transform: translate(-50%, 150%); transition: transform .45s var(--ease); }
.show-book .mobile-book { transform: translate(-50%, 0); }

/* ---------- 14. Animations ---------- */
@keyframes rise     { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes reelUp   { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 8px)); } }
@keyframes reelDown { from { transform: translateY(calc(-50% - 8px)); } to { transform: translateY(0); } }
@keyframes reelLeft { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
@keyframes reelRight{ from { transform: translateX(calc(-50% - 6px)); } to { transform: translateX(0); } }
@keyframes breathe  { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes bubble   { 0% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translateY(-50vh) translateX(20px); } 100% { transform: translateY(-110vh) translateX(-10px); opacity: 0; } }
@keyframes zoomOut  { from { transform: scale(1.12); } to { transform: scale(1); } }

.is-loaded .hero-title .line > span { animation: rise 1.1s var(--ease) var(--d, 0s) both; }
.is-loaded .anim { animation: fadeUp .9s var(--ease) var(--d, 0s) both; }

.js-reveal .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 15. Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav ul { gap: 22px; }
  .topbar .topbar-mid { display: none; }
  .team-more { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; background: var(--cream);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 100px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .main-nav ul { flex-direction: column; align-items: center; gap: 14px; }
  .main-nav a:not(.btn) { font-family: var(--serif); font-size: 32px; font-weight: 600; }
  .nav-book { display: inline-flex; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open.site-header { backdrop-filter: none; background: var(--cream); }

  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-copy { padding: 60px 0 40px; }
  /* Reel turns into two horizontal moving rows */
  .hero-reel { display: flex; flex-direction: column; gap: 12px; height: auto; margin: 0 calc(var(--gutter) * -1) 50px; padding-bottom: 80px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .reel { height: auto; }
  .reel-track { flex-direction: row; gap: 12px; width: max-content; }
  .reel-track img { width: 170px; aspect-ratio: 4 / 5; border-radius: 14px; }
  .reel-up .reel-track { animation: reelLeft 36s linear infinite; }
  .reel-down .reel-track { animation: reelRight 40s linear infinite; }
  .reel-badge { bottom: 0; }

  .welcome-grid, .visit-grid, .spa-top, .spa-grid { grid-template-columns: 1fr; }
  .welcome-media { max-width: 560px; }
  .promises { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; }
  .panel-img { aspect-ratio: 16 / 9; }
  .video-card { max-width: 420px; width: 100%; margin: 0 auto; }
  .team-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-more { grid-template-columns: repeat(2, 1fr); }
  .g-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .mobile-book { display: inline-flex; }
  .site-footer { padding-bottom: 100px; }
  .map, .map iframe { min-height: 340px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar { font-size: 12.5px; }
  .topbar-inner { gap: 10px; }
  .topbar p { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar a { flex-shrink: 0; }
  .header-inner, .is-scrolled .header-inner { height: 72px; }
  .logo, .is-scrolled .logo { width: 116px; height: 64px; }
  .hero-title { font-size: clamp(42px, 12vw, 56px); }
  .hero-text { font-size: 16.5px; }
  .btn-row .btn { flex: 1 1 100%; }
  .welcome-media { padding: 0 40px 60px 0; }
  .w-stamp { width: 100px; height: 100px; left: -6px; bottom: 24px; }
  .w-stamp text { font-size: 9px; letter-spacing: 1.2px; }
  .family-list { grid-template-columns: 1fr; }
  .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 26px; padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex-shrink: 0; }
  .panels { padding: 16px; border-radius: 22px; }
  .svc-list span { font-size: 18.5px; }
  .svc-list i { display: none; }
  .svc-list li { justify-content: space-between; }
  .spa-cards { grid-template-columns: 1fr; }
  .team-feature { gap: 16px; }
  .member h3 { font-size: 23px; }
  .member p { font-size: 13.5px; }
  .team-more { grid-template-columns: 1fr 1fr; gap: 10px; }
  .team-more li { padding: 14px; }
  .team-more b { font-size: 19px; }
  .team-more span { font-size: 13px; }
  .g-grid { grid-auto-rows: 160px; gap: 10px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .cta-actions { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

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