/* ============================================
   Shamrock Spa × Shamrock Holistic
   Nails & Holistic Massage — Rathfarnham, Dublin
   Palette: Dark bronze #8B6235 · Off-white #F5F0E8
   ============================================ */
:root {
  --green-dark: #3d2c16;   /* deep espresso bronze — dark sections */
  --green: #5c421f;        /* mid bronze */
  --green-soft: #75552a;
  --gold: #8b6235;         /* dark bronze — primary accent */
  --gold-light: #c9a876;
  --cream: #f5f0e8;        /* off-white — page background */
  --cream-dark: #ece3d3;
  --ink: #2e261a;
  --white: #ffffff;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16.5px;
}

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

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; color: var(--green-dark); }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--green-dark);
  color: var(--gold-light);
  font-size: 13.5px;
  letter-spacing: .04em;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: var(--gold-light); text-decoration: none; }
.topbar a:hover { color: var(--white); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 240, 232, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(139, 98, 53, .35);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(61,44,22,.14); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-duo { display: flex; align-items: center; gap: 9px; }
.brand-duo img { width: 44px; height: auto; }
.brand-name { font-family: var(--font-serif); font-size: 23px; color: var(--green-dark); font-weight: 700; letter-spacing: .02em; line-height: 1.15; }
.brand-name small { display: block; font-family: var(--font-sans); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 500; }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; font-size: 28px; color: var(--green-dark); }

.main-nav ul { display: flex; align-items: center; gap: 26px; list-style: none; }
.main-nav a {
  text-decoration: none; color: var(--green-dark);
  font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  padding-bottom: 4px; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); border-color: var(--gold); }
.main-nav a.btn-book { border: none; }

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  padding: 14px 34px; border-radius: 2px;
  transition: all .3s cubic-bezier(.2,.7,.3,1);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--white) !important; border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--green-dark); border-color: var(--green-dark); box-shadow: 0 12px 24px rgba(61,44,22,.25); }
.btn-outline { background: transparent; color: var(--green-dark); border: 1px solid var(--green-dark); }
.btn-outline:hover { background: var(--green-dark); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.75); }
.btn-outline-light:hover { background: var(--white); color: var(--green-dark); }
.main-nav .btn-book { padding: 10px 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 86vh;
  display: grid; place-items: center; text-align: center;
  color: var(--white); overflow: hidden;
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 55%, #241905 100%);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero-inner { position: relative; z-index: 2; padding: 80px 20px; max-width: 860px; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--white); font-size: clamp(40px, 6vw, 72px); font-weight: 500; margin: 18px 0 22px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p { font-size: 18px; max-width: 640px; margin: 0 auto 36px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.eyebrow {
  font-size: 12.5px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}

/* ---------- Motion / animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(201,168,118,.5); }
  70% { box-shadow: 0 0 0 16px rgba(201,168,118,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,168,118,0); }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes blink { from { opacity: .35; } to { opacity: 1; } }

.hero .launch-badge, .hero .eyebrow, .hero h1, .hero p, .hero-actions { opacity: 0; animation: fadeUp .9s cubic-bezier(.2,.7,.3,1) forwards; }
.hero .launch-badge { animation-delay: .1s; }
.hero .eyebrow { animation-delay: .25s; }
.hero h1 { animation-delay: .4s; }
.hero p { animation-delay: .55s; }
.hero-actions { animation-delay: .78s; }

.launch-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--white);
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase; font-weight: 600;
  padding: 10px 22px; border-radius: 100px; margin-bottom: 26px;
  animation: pulse-ring 2.2s infinite;
}
.launch-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink .9s infinite alternate; }

/* Scroll reveal (JS adds .visible) */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.7,.3,1), transform .9s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .3s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .4s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .5s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: .6s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: .7s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ---------- Promo marquee strip ---------- */
.promo-strip {
  background: var(--gold); color: var(--white);
  font-size: 14.5px; letter-spacing: .08em; font-weight: 500;
  overflow: hidden; white-space: nowrap; padding: 13px 0;
}
.promo-strip .track { display: inline-block; animation: marquee 28s linear infinite; }
.promo-strip span { margin: 0 36px; }

/* ---------- Grand opening / launch section ---------- */
.launch {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--green-dark), var(--green) 70%, var(--green-soft));
  color: var(--white);
}
.launch .container { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.launch .eyebrow { color: var(--gold-light); }
.launch h2 { color: var(--white); font-size: clamp(32px, 4vw, 50px); margin: 16px 0 18px; }
.launch h2 em { font-style: italic; }
.launch h2 .shimmer-text {
  font-style: italic;
  background: linear-gradient(90deg, var(--gold-light), #fff 50%, var(--gold-light));
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 3.5s linear infinite;
}
.launch p { color: rgba(255,255,255,.85); margin-bottom: 16px; }
.launch-features { list-style: none; margin: 22px 0 30px; }
.launch-features li { padding: 8px 0 8px 32px; position: relative; color: rgba(255,255,255,.9); }
.launch-features li::before { content: "✦"; position: absolute; left: 2px; color: var(--gold-light); }
.launch .logo-float { display: flex; justify-content: center; }
.launch .logo-float img { width: min(300px, 70%); animation: floaty 5s ease-in-out infinite; filter: drop-shadow(0 24px 44px rgba(0,0,0,.35)); }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); margin: 14px 0 16px; }
.section-head p { color: #5f5646; }

.divider { width: 64px; height: 2px; background: var(--gold); margin: 0 auto; border: 0; }

/* ---------- Notice / policy banner ---------- */
.notice {
  background: var(--cream-dark);
  border-top: 1px solid rgba(139,98,53,.35);
  border-bottom: 1px solid rgba(139,98,53,.35);
  padding: 46px 0;
}
.notice .container { max-width: 900px; }
.notice h3 { font-size: 24px; margin-bottom: 12px; text-align: center; }
.notice ul { list-style: none; margin-top: 10px; }
.notice li { padding: 7px 0 7px 30px; position: relative; font-size: 15.5px; }
.notice li::before { content: "✦"; position: absolute; left: 4px; color: var(--gold); }
.notice .notice-contact { text-align: center; margin-top: 14px; font-size: 15px; color: #5f5646; }
.notice a { color: var(--green); }

/* ---------- Intro (welcome) ---------- */
.intro .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.intro-text h2 { font-size: clamp(30px, 3.6vw, 42px); margin: 14px 0 20px; }
.intro-text p { margin-bottom: 16px; color: #4d4335; }
.intro-text .tagline { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--gold); margin: 20px 0 28px; }

.img-frame { position: relative; }
.img-frame::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold); z-index: -1;
}
.img-frame img, .img-frame .ph { border-radius: 2px; }

/* Placeholder blocks (until real photos are added) */
.ph {
  width: 100%; display: grid; place-items: center; text-align: center;
  background: linear-gradient(150deg, #e2d7c3, #cdba99 60%, #b99e73);
  color: rgba(61,44,22,.55);
  font-family: var(--font-sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
}
.ph-tall { aspect-ratio: 4 / 5; }
.ph-wide { aspect-ratio: 16 / 10; }
.ph-square { aspect-ratio: 1; }
.ph > img { width: 100%; height: 100%; object-fit: cover; grid-area: 1 / 1; }
.ph { position: relative; overflow: hidden; }

/* ---------- Services cards ---------- */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.service-card {
  background: var(--cream); border: 1px solid rgba(139,98,53,.3);
  display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 44px rgba(61,44,22,.16); }
.service-card .card-body { padding: 26px 24px 30px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 25px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.service-card h3 .icon { color: var(--gold); font-size: 21px; }
.service-card .new-tag {
  display: inline-block; background: var(--gold); color: var(--white);
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  padding: 3px 12px; border-radius: 100px; margin-bottom: 10px; align-self: flex-start;
}
.service-card p { font-size: 15px; color: #59503f; flex: 1; }
.service-card .card-link {
  margin-top: 18px; text-decoration: none; color: var(--gold);
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  transition: letter-spacing .3s, color .2s;
}
.service-card .card-link:hover { color: var(--green-dark); letter-spacing: .24em; }

/* ---------- Feature band (drinks / group deal) ---------- */
.band {
  background: linear-gradient(150deg, var(--green-dark), var(--green));
  color: var(--white); text-align: center;
}
.band h2 { color: var(--white); font-size: clamp(30px, 3.6vw, 42px); margin: 14px 0 18px; }
.band p { max-width: 640px; margin: 0 auto 14px; color: rgba(255,255,255,.85); }
.band .highlight-box {
  margin: 40px auto 0; max-width: 560px;
  border: 1px solid var(--gold-light); padding: 30px 34px;
}
.band .highlight-box h3 { color: var(--gold-light); font-size: 26px; margin-bottom: 8px; }
.band .highlight-box p { margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid figure { margin: 0; overflow: hidden; }
.gallery-grid img, .gallery-grid .ph { transition: transform .5s cubic-bezier(.2,.7,.3,1); height: 100%; object-fit: cover; }
.gallery-grid figure:hover img, .gallery-grid figure:hover .ph { transform: scale(1.06); }

/* ---------- Reviews ---------- */
.reviews { background: var(--white); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review-card { background: var(--cream); border: 1px solid rgba(139,98,53,.3); padding: 32px 28px; transition: transform .3s, box-shadow .3s; }
.review-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(61,44,22,.12); }
.review-card .stars { color: var(--gold); letter-spacing: 4px; font-size: 15px; margin-bottom: 14px; }
.review-card h4 { font-size: 20px; margin-bottom: 10px; }
.review-card blockquote { font-family: var(--font-serif); font-size: 18.5px; font-style: italic; color: #453b2b; margin-bottom: 16px; }
.review-card cite { font-style: normal; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }

/* ---------- CTA ---------- */
.cta { text-align: center; background: var(--cream-dark); }
.cta h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 14px 0 18px; }
.cta p { max-width: 560px; margin: 0 auto 32px; color: #5f5646; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--green-dark), var(--green));
  color: var(--white); text-align: center; padding: 100px 20px 84px;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(36,25,5,.7), rgba(92,66,31,.58));
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero .eyebrow, .page-hero h1, .page-hero p { opacity: 0; animation: fadeUp .8s cubic-bezier(.2,.7,.3,1) forwards; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { animation-delay: .15s; color: var(--white); font-size: clamp(38px, 5vw, 60px); margin: 16px 0 14px; }
.page-hero p { animation-delay: .3s; max-width: 640px; margin: 0 auto; color: rgba(255,255,255,.85); }
.page-hero .hero-dots { bottom: 22px; }

.menu-nav { background: var(--white); border-bottom: 1px solid rgba(139,98,53,.35); position: sticky; top: 70px; z-index: 90; }
.menu-nav ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 0; }
.menu-nav a {
  display: block; padding: 15px 22px; text-decoration: none; color: var(--green-dark);
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  transition: color .2s;
}
.menu-nav a:hover { color: var(--gold); }

/* ---------- Price lists ---------- */
.price-section { padding: 60px 0; }
.price-section.alt { background: var(--cream-dark); }
.price-section .section-head { margin-bottom: 40px; }
.price-section .price-group:last-child { margin-bottom: 0; }
.price-note { text-align: center; font-size: 14.5px; color: #7b7261; font-style: italic; max-width: 620px; margin: -20px auto 40px; }

.price-group { max-width: 980px; margin: 0 auto 56px; }
.price-group > h3 { font-size: 27px; text-align: center; margin-bottom: 6px; position: relative; padding-bottom: 16px; }
.price-group > h3::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 40px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.price-group > .group-note { text-align: center; font-size: 14px; color: #8d8371; font-style: italic; margin-bottom: 26px; }

.price-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.price-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid rgba(139,98,53,.22); border-radius: 10px;
  padding: 22px; transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .3s;
}
.price-item-icon {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: rgba(139,98,53,.08); color: var(--gold); font-size: 19px;
}
.price-item-body { flex: 1; min-width: 0; }
.price-item-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price-item-top h4 { font-size: 18.5px; font-weight: 600; }
.price-item-top .price {
  font-family: var(--font-serif); font-size: 16.5px; font-weight: 700; color: var(--gold);
  white-space: nowrap; background: rgba(139,98,53,.08); padding: 3px 12px; border-radius: 100px;
}
.price-item .duration { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #9c927e; margin: 7px 0 6px; }
.price-item p { font-size: 14.5px; color: #59503f; margin: 0; }

/* ---------- About page ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 20px; }
.why-card { background: var(--white); border: 1px solid rgba(139,98,53,.3); padding: 34px 28px; text-align: center; transition: transform .3s, box-shadow .3s; }
.why-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(61,44,22,.12); }
.why-card h3 { font-size: 23px; margin-bottom: 10px; }
.why-card p { font-size: 15px; color: #59503f; }

/* ---------- Contact ---------- */
.contact { background: var(--white); }
.map-frame {
  margin-top: 48px; border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(139,98,53,.35); box-shadow: 0 20px 44px rgba(61,44,22,.14);
}
.map-frame iframe { display: block; filter: sepia(10%) saturate(85%) contrast(96%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h3, .hours h3 { font-size: 26px; margin-bottom: 18px; }
.contact-info p { margin-bottom: 12px; }
.contact-info a { color: var(--green); text-decoration: none; font-weight: 500; }
.contact-info a:hover { color: var(--gold); }
.contact-label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); display: block; }

.hours table { width: 100%; border-collapse: collapse; }
.hours td { padding: 10px 4px; border-bottom: 1px solid rgba(139,98,53,.3); font-size: 15.5px; }
.hours td:last-child { text-align: right; color: #59503f; }
.hours .closed td:last-child { color: #a8442f; letter-spacing: .06em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,.78); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
.site-footer h4 { color: var(--gold-light); font-size: 20px; margin-bottom: 16px; }
.site-footer .footer-brand .brand-name { color: var(--white); }
.site-footer p, .site-footer li { font-size: 14.5px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border: 1px solid rgba(201,168,118,.6); border-radius: 50%;
  display: grid; place-items: center; font-size: 15px; color: var(--gold-light);
  transition: background .25s, color .25s, transform .25s;
}
.footer-social a:hover { background: var(--gold); color: var(--white); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,.5);
}

/* ============================================
   POLISH PACK — advanced motion & refinements
   ============================================ */

/* Smart image slots: JS loads first working URL as background */
.ph { background-size: cover; background-position: center; }
.ph.img-loaded { color: transparent; animation: fadeIn .8s ease; }

/* ============================================
   FANCY PHOTO TREATMENT — unify tone across every photo
   ============================================ */
.ph, .hero-slide, .section-banner {
  border-radius: 8px;
  box-shadow: inset 0 0 44px rgba(36,25,5,.2);
}
.ph.img-loaded, .hero-slide, .section-banner {
  filter: sepia(6%) saturate(1.12) contrast(1.05) brightness(1.02);
}
.hero, .hero-slides, .hero-slide { border-radius: 0; }
.img-frame .ph { border-radius: 2px; }
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, rgba(139,98,53,.16), transparent 55%);
  opacity: 0; transition: opacity .4s ease;
}
.service-card:hover .ph::before,
.gallery-grid figure:hover .ph::before { opacity: 1; }

/* Hero: crossfade slideshow + Ken Burns */
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.18); } }
.hero-img {
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
  animation: kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-img.img-loaded { opacity: .42; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.8s ease;
  will-change: transform, opacity;
}
.hero-slide.active { opacity: .42; animation: kenburns 14s ease-in-out infinite alternate; }
.hero-dots { position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--gold-light);
  background: transparent; cursor: pointer; padding: 0; transition: background .3s, transform .3s;
}
.hero-dots button.on { background: var(--gold-light); transform: scale(1.25); }

/* Portrait video showcase (launch section) */
.video-frame { display: flex; justify-content: center; position: relative; }
.video-frame video {
  width: min(320px, 78%); border-radius: 6px; display: block;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  border: 1px solid rgba(201,168,118,.45);
}
.video-frame::after {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid rgba(201,168,118,.5); border-radius: 6px; z-index: -1;
  width: min(320px, 78%); margin: 0 auto; left: 44px;
}

/* Treatments: section banner images */
.section-banner {
  max-width: 860px; margin: 0 auto 44px; height: 300px;
  background-size: cover; background-position: center;
  border-radius: 4px; position: relative; overflow: hidden;
  box-shadow: 0 24px 48px rgba(61,44,22,.18);
}
.section-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(36,25,5,.35), transparent 55%);
}
@media (max-width: 760px) { .section-banner { height: 200px; } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(36,25,5,.55) 100%);
}
.hero-inner { z-index: 2; }

/* Scroll cue */
@keyframes cue { 0%,100% { transform: translateY(0); opacity: .9; } 50% { transform: translateY(10px); opacity: .4; } }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: var(--gold-light); font-size: 22px; text-decoration: none;
  animation: cue 2s ease-in-out infinite;
}

/* Button sheen sweep */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .55s ease;
}
.btn:hover::after { left: 130%; }

/* Nav underline slide */
.main-nav a:not(.btn-book) { position: relative; border-bottom: none; }
.main-nav a:not(.btn-book)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--gold); transition: width .3s ease;
}
.main-nav a:not(.btn-book):hover::after, .main-nav a.active:not(.btn-book)::after { width: 100%; }

/* Stats band */
.stats { background: var(--white); border-top: 1px solid rgba(139,98,53,.2); border-bottom: 1px solid rgba(139,98,53,.2); padding: 56px 0; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-num { font-family: var(--font-serif); font-size: clamp(38px, 4vw, 54px); color: var(--gold); font-weight: 700; line-height: 1; }
.stat-num sup { font-size: .5em; }
.stat-label { font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; color: #6b604c; margin-top: 8px; }

/* Gallery hover: gold overlay + caption */
.gallery-grid figure { position: relative; cursor: pointer; }
.gallery-grid figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 40px 16px 14px; color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  background: linear-gradient(to top, rgba(36,25,5,.85), transparent);
  opacity: 0; transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.gallery-grid figure:hover figcaption { opacity: 1; transform: none; }

/* Dark sections: subtle logo watermark */
.launch::before, .band::before {
  content: ""; position: absolute; right: -120px; bottom: -120px; width: 480px; height: 452px;
  background: url("../assets/logo-mark.png") no-repeat center / contain;
  opacity: .05; pointer-events: none;
}
.launch, .band { position: relative; overflow: hidden; }
.band .container { position: relative; z-index: 2; }

/* Price cards: hover lift */
.price-item:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(61,44,22,.12); border-color: rgba(139,98,53,.55); }

/* Section head divider grows on reveal */
.section-head .divider { transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.7,.3,1) .3s; transform-origin: center; }
.section-head.visible .divider, .visible .divider { transform: scaleX(1); }

/* Back to top */
#toTop {
  position: fixed; right: 26px; bottom: 26px; z-index: 200;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold);
  background: var(--cream); color: var(--gold); font-size: 18px; cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .35s, transform .35s, background .25s, color .25s;
}
#toTop.show { opacity: 1; transform: none; pointer-events: auto; }
#toTop:hover { background: var(--gold); color: #fff; }

/* Img-frame reveal: soft scale-in */
.img-frame.reveal { transform: translateY(30px) scale(1.02); }
.img-frame.reveal.visible { transform: none; }

@media (max-width: 760px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .launch::before, .band::before { width: 300px; height: 283px; right: -80px; bottom: -80px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid, .why-grid { grid-template-columns: 1fr; }
  .intro .container, .contact-grid, .launch .container { grid-template-columns: 1fr; gap: 44px; }
  .launch .logo-float { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-nav { top: 66px; }
  .price-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  section { padding: 64px 0; }
  .nav-toggle-label { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid rgba(139,98,53,.4);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 0; }
  .main-nav li { width: 100%; text-align: center; }
  .main-nav a { display: block; padding: 13px 0; border-bottom: 0; }
  .nav-toggle:checked ~ .main-nav { max-height: 480px; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; }
  .price-item-top h4 { font-size: 17px; }
  .price-item { padding: 18px; }
  .brand-name { font-size: 19px; }
  .brand-duo img { width: 36px; }
}

/* ============================================
   PREMIUM VISUAL UPGRADE
   Icons, bento grid, masonry gallery, accents
   ============================================ */

/* ---------- Icons (inline SVG sprite, see body top) ---------- */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; flex-shrink: 0; }

/* ---------- Focus visibility (accessibility) ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px;
}

/* ---------- Bullet lists with sparkle icon ---------- */
.launch-features li, .notice li {
  display: flex; align-items: flex-start; gap: 10px; padding-left: 0;
}
.launch-features li::before, .notice li::before { content: none; }
.launch-features .icon, .notice .icon { color: var(--gold-light); flex-shrink: 0; margin-top: 5px; font-size: 15px; }
.notice .icon { color: var(--gold); }

/* ---------- Hero trust row ---------- */
.trust-row {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 0 0 26px; font-size: 13.5px; color: rgba(255,255,255,.82); flex-wrap: wrap;
  opacity: 0; animation: fadeUp .9s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: .62s;
}
.trust-row .stars-mini { color: var(--gold-light); letter-spacing: 2px; font-size: 14px; }
.trust-row .sep { opacity: .5; }

/* ---------- Service cards → equal-height grid, feature accented not resized ---------- */
.services-grid.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}
.services-grid.bento .service-card.feature {
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(139,98,53,.16);
}
.services-grid.bento .service-card .ph { aspect-ratio: 16/10; }

/* ---------- Gallery → masonry-style varied heights + 3D tilt ---------- */
.gallery-grid.masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 130px;
  gap: 18px;
  perspective: 1200px;
}
.gallery-grid.masonry figure { grid-row: span 2; }
.gallery-grid.masonry figure.tall { grid-row: span 3; }
.gallery-grid.masonry figure, .gallery-grid.masonry .ph { height: 100%; }
.gallery-grid.masonry .ph { border-radius: 12px; }
.gallery-grid.masonry figure {
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(61,44,22,.14);
  transition: transform .25s ease-out, box-shadow .35s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.gallery-grid.masonry figure:hover {
  box-shadow: 0 30px 54px rgba(61,44,22,.32);
  z-index: 4;
}
@media (prefers-reduced-motion: reduce) {
  .gallery-grid.masonry figure { transition: none !important; transform: none !important; }
}

/* ---------- Reviews: quote accent ---------- */
.review-card { position: relative; padding-top: 40px; }
.review-card .quote-mark {
  position: absolute; top: 20px; right: 22px; font-size: 30px; color: rgba(139,98,53,.18);
}
.review-card .quote-mark .icon { width: 1em; height: 1em; }

/* ---------- Why-cards: icon badge ---------- */
.why-card .icon-badge {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream);
  border: 1px solid rgba(139,98,53,.35); color: var(--gold);
  font-size: 24px; transition: background .3s, color .3s, transform .3s;
}
.why-card:hover .icon-badge { background: var(--gold); color: var(--white); transform: scale(1.06); }

/* ---------- Footer social: SVG icons ---------- */
.footer-social a .icon { width: 17px; height: 17px; }

/* ---------- Menu-nav: icon per category ---------- */
.menu-nav a { display: flex; align-items: center; gap: 8px; }
.menu-nav .icon { color: var(--gold); font-size: 15px; }

/* ---------- Contact info: icon labels ---------- */
.contact-info p { display: flex; align-items: flex-start; gap: 10px; }
.contact-info p .icon { color: var(--gold); margin-top: 4px; font-size: 15px; }

@media (max-width: 980px) {
  .services-grid.bento { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid.masonry { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .services-grid.bento { display: flex; flex-direction: column; }
  .gallery-grid.masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 110px; }
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 300;
  max-width: 560px; margin: 0 auto;
  background: var(--green-dark); border: 1px solid rgba(201,168,118,.4);
  border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.32);
  padding: 22px 26px;
  transform: translateY(160%); opacity: 0;
  transition: transform .5s cubic-bezier(.2,.7,.3,1), opacity .5s ease;
  pointer-events: none;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner p { color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.cookie-banner a { color: var(--gold-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 22px; font-size: 12px; }
.cookie-actions .btn-outline { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.4); }
.cookie-actions .btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }
@media (prefers-reduced-motion: reduce) { .cookie-banner { transition: opacity .3s ease; } }
@media (max-width: 480px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .cookie-actions { flex-wrap: nowrap; }
  .cookie-actions .btn { flex: 1; text-align: center; }
}

/* ---------- Grand opening splash intro (3D) ---------- */
.splash-intro {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(ellipse at center, var(--green) 0%, var(--green-dark) 65%, #1c1206 100%);
  display: grid; place-items: center; text-align: center;
  perspective: 1200px; cursor: pointer;
  animation: splashSequence 4.2s cubic-bezier(.4,0,.2,1) forwards;
}
.splash-stage { position: relative; z-index: 2; opacity: 0; animation: splashStageIn .8s ease forwards .15s; }

/* Animated flowing background paths (behind logo/text) */
.splash-paths {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
}
.splash-paths path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation-name: pathDraw, pathDrift;
  animation-duration: 2.4s, 7s;
  animation-timing-function: cubic-bezier(.4,0,.2,1), ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}

.splash-logo {
  width: 210px; margin: 0 auto 22px; color: var(--gold-light);
  opacity: 0;
  animation: logoSpin3d 1.3s cubic-bezier(.4,0,.2,1) forwards .2s,
             logoGlow 2s ease-in-out infinite 1.6s;
}
.splash-logo-svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 12px 28px rgba(0,0,0,.5)); }
.splash-logo-svg path {
  stroke-dasharray: 950;
  stroke-dashoffset: 950;
  animation: logoDraw 1.2s cubic-bezier(.4,0,.2,1) forwards;
}
.splash-logo-svg path:nth-child(1) { animation-delay: 1.40s; }
.splash-logo-svg path:nth-child(2) { animation-delay: 1.48s; }
.splash-logo-svg path:nth-child(3) { animation-delay: 1.56s; }
.splash-logo-svg path:nth-child(4) { animation-delay: 1.64s; }
.splash-logo-svg path:nth-child(5) { animation-delay: 1.72s; }
.splash-logo-svg path:nth-child(6) { animation-delay: 1.80s; }
.splash-logo-svg path:nth-child(7) { animation-delay: 1.88s; }
.splash-logo-svg path:nth-child(8) { animation-delay: 1.96s; }
.splash-logo-svg path:nth-child(9) { animation-delay: 2.04s; }
.splash-eyebrow {
  display: block; font-size: 15px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-light);
  opacity: 0; animation: fadeUp .7s ease forwards 1.55s;
}
.splash-bar {
  width: 180px; height: 2px; background: rgba(255,255,255,.15); margin: 30px auto 0; overflow: hidden;
  opacity: 0; animation: fadeUp .6s ease forwards 1.9s;
}
.splash-bar span { display: block; height: 100%; width: 0%; background: var(--gold-light); animation: splashLoad 1.6s cubic-bezier(.4,0,.2,1) forwards 2.0s; }

@keyframes splashStageIn { to { opacity: 1; } }
@keyframes logoSpin3d {
  0%   { opacity: 0; transform: perspective(700px) rotateY(-200deg) scale(.4); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: perspective(700px) rotateY(0deg) scale(1); }
}
@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(201,168,118,.3)); }
  50%      { filter: drop-shadow(0 0 22px rgba(201,168,118,.6)); }
}
@keyframes logoDraw { to { stroke-dashoffset: 0; } }
@keyframes pathDraw { to { stroke-dashoffset: 0; } }
@keyframes pathDrift {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes splashLoad { from { width: 0%; } to { width: 100%; } }
@keyframes splashSequence {
  0%, 84% { opacity: 1; visibility: visible; }
  100%    { opacity: 0; visibility: hidden; pointer-events: none; }
}

.no-splash .splash-intro { display: none !important; }
.splash-intro.skip { animation: none !important; opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; transition: opacity .4s ease, visibility 0s .4s; }

@media (prefers-reduced-motion: reduce) {
  .splash-intro { display: none !important; }
}
