/* =========================================================
   VERSAILLES — Salle des fêtes · Hammam Sousse
   Design system v2 (moderne, animé, responsive)
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #0d0c0a;
  --ink-2: #16140f;
  --ink-3: #221f18;
  --ivory: #fcfaf5;
  --cream: #f7efdf;
  --cream-2: #efe3c8;
  --gold: #c9a24a;
  --gold-deep: #a97f2c;
  --gold-light: #ecd497;
  --gold-grad: linear-gradient(120deg, #a97f2c 0%, #e9cd84 45%, #c39431 70%, #f3dd9e 100%);
  --text: #2a261f;
  --muted: #6f675a;
  --muted-light: rgba(255, 255, 255, .66);
  --line: rgba(13, 12, 10, .1);
  --line-light: rgba(255, 255, 255, .12);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(80px, 10vw, 140px);
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;

  --shadow-sm: 0 4px 14px rgba(13, 12, 10, .06);
  --shadow: 0 18px 50px -18px rgba(13, 12, 10, .28);
  --shadow-lg: 0 40px 90px -30px rgba(13, 12, 10, .45);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --header-h: 84px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 900px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(60px, 7vw, 96px); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: var(--muted-light); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 36px; height: 1px; background: currentColor; }
.text-center .eyebrow::after, .eyebrow--center::after { content: ''; width: 36px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--gold-light); }

.title { font-size: clamp(32px, 4.6vw, 56px); margin-bottom: 22px; }
.title--sm { font-size: clamp(28px, 3.4vw, 42px); }
.title em, .gold-text {
  font-style: italic; font-weight: 500;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 640px; }
.text-center .lead { margin-inline: auto; }
.section--dark .lead { color: var(--muted-light); }
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }

.ornament { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--gold); margin: 6px 0 22px; }
.ornament::before, .ornament::after { content: ''; height: 1px; width: 60px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { transform: scaleX(-1); }
.ornament i { font-size: 10px; }

/* ---------- 4. Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 32px; border-radius: 100px; overflow: hidden; isolation: isolate;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bg);
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--gold-grad);
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover { color: var(--ink); border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(201, 162, 74, .6); }
.btn:hover::before { transform: translateY(0); }
.btn i { font-size: 12px; transition: transform .5s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn--gold { --bg: var(--gold); --fg: var(--ink); background: var(--gold-grad); border-color: transparent; }
.btn--gold::before { background: #fff; }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--ghost-dark { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--sm { padding: 11px 22px; font-size: 11px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-center .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 4px; transition: background-size .5s var(--ease), color .3s;
}
.link-arrow:hover { background-size: 100% 1px; color: var(--gold-deep); }

/* ---------- 5. Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--ink);
  display: grid; place-items: center; transition: opacity .8s var(--ease), visibility .8s;
}
.preloader img { width: 120px; animation: pulse 1.6s var(--ease-in-out) infinite; }
.preloader::after {
  content: ''; position: absolute; bottom: 30%; left: 50%; width: 120px; height: 1px; margin-left: -60px;
  background: var(--gold-grad); transform-origin: left; animation: load 1.2s var(--ease-in-out) infinite;
}
.is-loaded .preloader { opacity: 0; visibility: hidden; }
@keyframes pulse { 50% { opacity: .55; transform: scale(.96); } }
@keyframes load { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease), transform .5s var(--ease);
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13, 12, 10, .7), transparent); transition: opacity .5s;
}
.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(13, 12, 10, .86); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-light);
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }
.brand img { height: 54px; width: auto; transition: height .5s var(--ease); }
.is-scrolled .brand img { height: 46px; }

.main-nav ul { display: flex; gap: clamp(14px, 2vw, 32px); }
.main-nav a {
  position: relative; color: rgba(255, 255, 255, .82); font-size: 13px; font-weight: 500; letter-spacing: .08em;
  padding: 8px 0; transition: color .3s;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: #fff; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.main-nav a.is-active { color: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.socials { display: flex; gap: 8px; }
.social {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-light); color: #fff; font-size: 13px;
  transition: background .4s var(--ease), border-color .4s, color .4s, transform .4s var(--ease);
}
.social:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-3px); }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; transition: transform .5s var(--ease), opacity .3s, top .5s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu */
.menu-open .site-header { z-index: 130; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .site-header::before { opacity: 0; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 44px) 42px); transition: clip-path .8s var(--ease-in-out); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.mobile-menu ul { display: grid; gap: 6px; }
.mobile-menu ul a {
  display: inline-block; font-family: var(--font-display); font-size: clamp(30px, 8vw, 44px); color: #fff;
  opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.mobile-menu ul a.is-active, .mobile-menu ul a:hover { color: var(--gold-light); font-style: italic; }
.menu-open .mobile-menu ul a { opacity: 1; transform: none; }
.menu-open .mobile-menu li:nth-child(1) a { transition-delay: .25s; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: .3s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: .35s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: .4s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: .45s; }
.menu-open .mobile-menu li:nth-child(6) a { transition-delay: .5s; }
.menu-open .mobile-menu li:nth-child(7) a { transition-delay: .55s; }
.mobile-menu-foot a:hover { color: var(--gold-light); }
.mobile-menu-foot { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-light); color: var(--muted-light); font-size: 14px; display: grid; gap: 18px; }

/* ---------- 7. Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden; background: var(--ink); padding: calc(var(--header-h) + 40px) 0 120px;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); animation: kenburns 18s var(--ease) forwards; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 12, 10, .92) 0%, rgba(13, 12, 10, .6) 45%, rgba(13, 12, 10, .15) 100%),
    linear-gradient(0deg, rgba(13, 12, 10, .85) 0%, transparent 35%);
}
@keyframes kenburns { to { transform: scale(1.02); } }
.hero .container { position: relative; z-index: 2; max-width: 1400px; }
.hero-content { max-width: 680px; }
.hero-title { color: #fff; font-size: clamp(44px, 7.4vw, 96px); font-weight: 500; line-height: 1.02; margin-bottom: 28px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.2s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .15s; }
.hero-text { font-family: var(--font-display); font-style: italic; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.6; color: rgba(255, 255, 255, .82); margin-bottom: 40px; max-width: 520px; }
.hero .eyebrow { color: var(--gold-light); }
.hero-fade { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease) forwards; }
.hero-fade.d1 { animation-delay: .1s; } .hero-fade.d2 { animation-delay: .5s; } .hero-fade.d3 { animation-delay: .7s; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-ring { position: absolute; z-index: 3; right: clamp(20px, 6vw, 90px); bottom: clamp(40px, 8vw, 90px); width: clamp(130px, 14vw, 180px); aspect-ratio: 1; opacity: 0; animation: fadeUp 1s var(--ease) 1s forwards; }
.hero-ring svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.hero-ring text { fill: #fff; font-family: var(--font-body); font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.hero-ring .ring-center { position: absolute; inset: 26%; border-radius: 50%; display: grid; place-items: center; background: rgba(13, 12, 10, .55); border: 1px solid rgba(201, 162, 74, .5); backdrop-filter: blur(6px); }
.hero-ring .ring-center img { width: 70%; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-scroll { position: absolute; left: 50%; bottom: 28px; z-index: 3; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.hero-scroll span { width: 1px; height: 46px; background: rgba(255, 255, 255, .2); position: relative; overflow: hidden; }
.hero-scroll span::after { content: ''; position: absolute; inset: 0; background: var(--gold); animation: scrollLine 2s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }

.hero-meta { display: flex; gap: clamp(24px, 4vw, 48px); margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-light); max-width: 560px; }
.hero-meta strong { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 500; color: #fff; line-height: 1.1; }
.hero-meta span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }

/* ---------- 8. Page hero (inner pages) ---------- */
.page-hero {
  position: relative; min-height: clamp(380px, 56vh, 540px); display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--ink); padding: calc(var(--header-h) + 60px) 0 clamp(50px, 7vw, 80px);
}
.page-hero .hero-media::after { background: linear-gradient(0deg, rgba(13, 12, 10, .92) 0%, rgba(13, 12, 10, .45) 60%, rgba(13, 12, 10, .65) 100%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(44px, 7vw, 88px); font-weight: 500; line-height: 1; margin-bottom: 20px; }
.page-hero h1 .line { display: block; overflow: hidden; padding-bottom: .1em; }
.page-hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.2s var(--ease) .15s forwards; }
.breadcrumb { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb i { font-size: 8px; color: var(--gold); }
.breadcrumb [aria-current] { color: var(--gold-light); }

/* ---------- 9. Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal--left { transform: translateX(-50px); }
.reveal--right { transform: translateX(50px); }
.reveal--zoom { transform: scale(.92); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-img { position: relative; overflow: hidden; }
.reveal-img::after { content: ''; position: absolute; inset: 0; background: var(--cream-2); transform-origin: right; transition: transform 1.3s var(--ease-in-out); transition-delay: var(--d, 0s); }
.reveal-img img { transform: scale(1.25); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal-img.is-visible::after { transform: scaleX(0); }
.reveal-img.is-visible img { transform: scale(1); }
.section--dark .reveal-img::after { background: var(--ink-3); }

/* ---------- 10. About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split--top { align-items: start; }
.prose p { color: var(--muted); margin-bottom: 18px; }
.prose p strong { color: var(--ink); font-weight: 600; }
.quote-line { font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 2vw, 26px); color: var(--ink); margin-bottom: 24px; line-height: 1.4; }
.highlight { border-left: 2px solid var(--gold); padding: 6px 0 6px 22px; margin: 28px 0 34px; font-weight: 500; color: var(--ink) !important; }

.media-frame { position: relative; padding: 0 0 36px 36px; }
.media-frame::before { content: ''; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border: 1px solid var(--gold); border-radius: var(--radius); }
.media-frame .reveal-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.6; }
.media-frame .reveal-img img { width: 100%; height: 100%; object-fit: cover; }
.media-badge {
  position: absolute; right: -18px; top: 40px; z-index: 2; background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow); text-align: center; animation: float 6s var(--ease-in-out) infinite;
}
.media-badge strong { display: block; font-family: var(--font-display); font-size: 40px; line-height: 1; font-weight: 500; }
.media-badge strong.gold-text { font-style: normal; }
.media-badge span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
@keyframes float { 50% { transform: translateY(-12px); } }

.sticky-media { position: sticky; top: calc(var(--header-h) + 30px); }

/* Feature list (about page) */
.feature-list { display: grid; gap: 16px; margin: 30px 0; }
.feature {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); color: var(--gold-deep); font-size: 18px; }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.feature p:last-child { margin-bottom: 0; }
.check-list { display: grid; gap: 10px; margin-top: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 2px; font-size: 11px; color: var(--gold-deep); }

/* ---------- 11. Mosaic gallery preview ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-inline: 10px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 3 / 4; cursor: zoom-in; background: var(--ink-3); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; }
.tile::after {
  content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; inset: 0;
  display: grid; place-items: center; font-size: 22px; color: #fff; background: rgba(13, 12, 10, .45);
  opacity: 0; transition: opacity .5s var(--ease);
}
.tile:hover img { transform: scale(1.08); }
.tile:hover::after { opacity: 1; }

/* ---------- 12. Service cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; padding: 44px 36px; border-radius: var(--radius-lg); background: var(--ink-2);
  border: 1px solid var(--line-light); overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease), border-color .6s;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 162, 74, .18), transparent 45%);
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(201, 162, 74, .45); }
.service-card:hover::before { opacity: 1; }
.service-card .icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 28px;
  font-size: 22px; color: var(--ink); background: var(--gold-grad); box-shadow: 0 12px 30px -10px rgba(201, 162, 74, .7);
  transition: transform .6s var(--ease);
}
.service-card:hover .icon { transform: rotate(-12deg) scale(1.06); }
.service-card h3 { color: #fff; font-size: 24px; margin-bottom: 22px; }
.service-card ul { display: grid; gap: 12px; }
.service-card li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .66); }
.service-card li::before { content: ''; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--gold); }

/* Services page grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.service-box {
  position: relative; padding: 40px 34px 36px; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.service-box::after { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.service-box:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-box:hover::after { transform: scaleX(1); }
.service-box .num { position: absolute; right: 26px; top: 18px; font-family: var(--font-display); font-size: 64px; font-style: italic; line-height: 1; color: var(--cream-2); transition: color .6s; }
.service-box:hover .num { color: var(--gold-light); }
.service-box .icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--gold-light); font-size: 19px; margin-bottom: 26px; }
.service-box h3 { font-size: 22px; margin-bottom: 18px; position: relative; }

/* ---------- 13. Carousel ---------- */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: var(--gap, 20px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; cursor: grab;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel-track.is-dragging * { pointer-events: none; }
.carousel-item { flex: 0 0 var(--w, calc((100% - var(--gap, 20px) * 3) / 4)); scroll-snap-align: start; }
.carousel-bleed .carousel-track { padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.carousel-nav { display: flex; align-items: center; gap: 12px; }
.carousel-btn {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line);
  color: var(--ink); background: #fff; transition: background .4s var(--ease), color .4s, border-color .4s, opacity .3s, transform .4s var(--ease);
}
.carousel-btn:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.06); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.section--dark .carousel-btn, .on-dark .carousel-btn { background: transparent; color: #fff; border-color: var(--line-light); }
.section--dark .carousel-btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.carousel-progress { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; min-width: 80px; }
.section--dark .carousel-progress { background: var(--line-light); }
.carousel-progress span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, .2)); transition: transform .4s var(--ease); }
.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(36px, 5vw, 56px); }
.carousel-head .title { margin-bottom: 0; }
.carousel-foot { display: flex; align-items: center; gap: 24px; margin-top: 36px; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 10px; background: var(--line); transition: width .5s var(--ease), background .4s; }
.carousel-dots button.is-active { width: 34px; background: var(--gold); }

.photo-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-3); cursor: zoom-in; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo-card:hover img { transform: scale(1.07); }
.photo-card--wide { aspect-ratio: 3 / 2; }
.photo-card--poster { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }

/* ---------- 14. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 20px 10px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px; background: var(--line-light); }
.stat-num { font-family: var(--font-display); font-size: clamp(44px, 5.5vw, 72px); font-weight: 500; line-height: 1; display: block; margin-bottom: 10px; }
.stat-label { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }

/* ---------- 15. Testimonials ---------- */
.testimonial { flex: 0 0 100%; scroll-snap-align: center; text-align: center; padding: 0 clamp(10px, 6vw, 80px); }
.testimonial .stars { color: var(--gold); display: flex; gap: 6px; justify-content: center; margin-bottom: 26px; font-size: 14px; }
.testimonial blockquote { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.45; color: var(--ink); font-style: italic; margin-bottom: 30px; }
.testimonial cite { font-style: normal; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); }
.testimonial-wrap { position: relative; max-width: 960px; margin-inline: auto; }
.testimonial-wrap::before { content: '\201C'; position: absolute; top: -105px; left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-size: 200px; line-height: 1; color: var(--gold); opacity: .18; pointer-events: none; }
.testimonial-wrap .carousel-nav { justify-content: center; margin-top: 40px; }

/* ---------- 16. Partners marquee ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: clamp(50px, 7vw, 100px); width: max-content; animation: marquee 30s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: clamp(70px, 9vw, 110px); width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .5s, opacity .5s, transform .5s var(--ease); }
.marquee-track img:hover { filter: none; opacity: 1; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(25px, 3.5vw, 50px))); } }

/* ---------- 17. Info cards / CTA ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.info-card {
  padding: 40px 34px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.info-card .icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-light); font-size: 19px; margin-bottom: 24px; transition: transform .6s var(--ease), background .6s; }
.info-card:hover .icon { transform: rotate(-10deg); background: var(--gold); color: var(--ink); }
.info-card h3 { font-size: 22px; margin-bottom: 14px; }
.info-card p, .info-card li { color: var(--muted); font-size: 15px; }
.info-card ul { display: grid; gap: 10px; }
.info-card li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.info-card li i { color: var(--gold-deep); margin-top: 6px; font-size: 13px; }
.info-card a:hover { color: var(--gold-deep); }

.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(50px, 7vw, 90px) clamp(28px, 6vw, 80px);
  background: var(--ink); color: #fff; text-align: center; isolation: isolate;
}
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('../assets/img/0f32cbd956adb7989d223fe629952e3b6e46396e.jpg') center / cover; opacity: .28; transform: scale(1.1); transition: transform 2s var(--ease); }
.cta-band:hover::before { transform: scale(1); }
.cta-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 120%, rgba(201, 162, 74, .35), transparent 60%); }
.cta-band h2 { color: #fff; font-size: clamp(30px, 4.4vw, 54px); font-weight: 500; margin-bottom: 18px; }
.cta-band p { color: rgba(255, 255, 255, .72); max-width: 560px; margin: 0 auto 36px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- 18. Events page ---------- */
.event-list { display: grid; gap: clamp(60px, 8vw, 110px); }
.event-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.event-row:nth-child(even) .event-media { order: 2; }
.event-media { position: relative; }
.event-media .reveal-img { border-radius: var(--radius-lg); aspect-ratio: 4 / 4.2; box-shadow: var(--shadow-lg); }
.event-media .reveal-img img { width: 100%; height: 100%; object-fit: cover; }
.date-badge {
  position: absolute; top: 24px; left: 24px; z-index: 2; background: #fff; border-radius: 16px; padding: 12px 18px; text-align: center; box-shadow: var(--shadow);
}
.date-badge strong { display: block; font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--ink); }
.date-badge span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.event-index { font-family: var(--font-display); font-style: italic; font-size: 18px; color: var(--gold-deep); margin-bottom: 14px; display: block; }
.event-body h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 18px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 22px; font-size: 13px; color: var(--muted); }
.event-meta i { color: var(--gold-deep); margin-right: 8px; }
.event-body p { color: var(--muted); margin-bottom: 32px; }

/* ---------- 19. Gallery page ---------- */
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry .tile { aspect-ratio: auto; margin-bottom: 16px; break-inside: avoid; display: block; }
.filter-note { color: var(--muted); }

.video-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; cursor: pointer; background: var(--ink-3); }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); filter: brightness(.75); }
.video-card:hover img { transform: scale(1.07); }
.play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .15); backdrop-filter: blur(8px); color: #fff; font-size: 18px;
  border: 1px solid rgba(255, 255, 255, .5); transition: transform .5s var(--ease), background .5s;
}
.play::before { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); animation: ripple 2.4s var(--ease) infinite; }
.video-card:hover .play { transform: scale(1.1); background: var(--gold); color: var(--ink); border-color: var(--gold); }
@keyframes ripple { from { transform: scale(1); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }

.story-slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story-slide .photo-card { aspect-ratio: 4 / 4.6; }

/* ---------- 20. FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .5s var(--ease), border-color .5s; }
.faq-item.is-open { box-shadow: var(--shadow); border-color: transparent; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left;
  padding: 24px 28px; font-family: var(--font-display); font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; color: var(--ink);
}
.faq-q .n { font-family: var(--font-body); font-size: 12px; color: var(--gold-deep); font-weight: 600; letter-spacing: .1em; margin-right: 16px; }
.faq-q .plus { flex: 0 0 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.faq-q .plus::before, .faq-q .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.faq-q .plus::after { transform: rotate(90deg); }
.faq-item.is-open .plus { background: var(--ink); border-color: var(--ink); color: var(--gold-light); transform: rotate(180deg); }
.faq-item.is-open .plus::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 28px 26px 28px; color: var(--muted); max-width: 760px; }

/* ---------- 21. Contact ---------- */
.contact-panel { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.contact-form-wrap { padding: clamp(36px, 5vw, 64px); }
.contact-media { position: relative; min-height: 420px; }
.contact-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 12, 10, .85), transparent 55%); }
.contact-media-caption { position: absolute; left: 36px; right: 36px; bottom: 36px; z-index: 2; color: #fff; }
.contact-media-caption p { font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.4; margin-bottom: 18px; }
.contact-media-caption .socials .social { border-color: rgba(255, 255, 255, .35); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--ivory);
  border: 1px solid var(--line); border-radius: 14px; padding: 26px 18px 10px; outline: none;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field label { position: absolute; left: 19px; top: 18px; font-size: 15px; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s; transform-origin: left top; }
.field input:focus, .field textarea:focus { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(201, 162, 74, .15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c0392b; }
.form-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-status { margin-top: 18px; font-size: 14px; border-radius: 12px; padding: 0 16px; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease), padding .5s var(--ease); }
.form-status.is-shown { max-height: 120px; padding: 14px 16px; }
.form-status.ok { background: #eef7ee; color: #2c6e33; }
.form-status.err { background: #fbeeee; color: #a3302a; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--cream-2); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }

/* ---------- 22. Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .62); padding-top: clamp(70px, 9vw, 110px); position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; left: 50%; top: 0; width: min(80%, 900px); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(40px, 6vw, 80px); padding-bottom: clamp(50px, 7vw, 80px); }
.footer-brand img { height: 92px; width: auto; margin-bottom: 24px; }
.footer-brand p { font-size: 15px; max-width: 380px; margin-bottom: 28px; }
.footer-col h4 { color: #fff; font-size: 20px; font-weight: 500; margin-bottom: 26px; }
.footer-col ul { display: grid; gap: 14px; font-size: 15px; }
.footer-col li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.footer-col li i { color: var(--gold); margin-top: 6px; font-size: 13px; }
.footer-links { grid-template-columns: 1fr 1fr !important; column-gap: 24px; }
.footer-links li { display: block !important; }
.footer-links a { position: relative; transition: color .3s, padding-left .4s var(--ease); }
.footer-links a::before { content: ''; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--gold); transition: width .4s var(--ease); }
.footer-links a:hover { color: var(--gold-light); padding-left: 18px; }
.footer-links a:hover::before { width: 10px; }
.site-footer a:hover { color: var(--gold-light); }
.footer-giant { font-family: var(--font-display); font-size: clamp(64px, 17vw, 250px); line-height: .8; text-align: center; letter-spacing: -.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(201, 162, 74, .28); user-select: none; margin-bottom: -.06em; }
.footer-bottom { border-top: 1px solid var(--line-light); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; flex-wrap: wrap; }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 54px; height: 54px; border-radius: 50%;
  background: var(--ink); color: var(--gold-light); display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease), background .3s;
}
.to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: var(--off, 151); }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold); color: var(--ink); }

.whatsapp {
  position: fixed; left: 24px; bottom: 24px; z-index: 90; width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; font-size: 26px; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .7);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.whatsapp.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.whatsapp.is-shown:hover { transform: scale(1.1); }

/* ---------- 23. Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 7, 6, .94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; backdrop-filter: blur(6px); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-stage { max-width: min(92vw, 1400px); max-height: 86vh; transform: scale(.94); transition: transform .6s var(--ease); }
.lightbox.is-open .lightbox-stage { transform: none; }
.lightbox-stage img, .lightbox-stage video { max-width: 100%; max-height: 86vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb-btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, .25); transition: background .3s, color .3s, border-color .3s; }
.lb-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; margin-top: -27px; }
.lb-next { right: 24px; top: 50%; margin-top: -27px; }
.lb-count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .7); font-size: 13px; letter-spacing: .2em; }

/* ---------- 24. Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav, .header-actions .socials { display: none; }
  .burger { display: block; }
  .header-actions .btn { display: none; }
}
@media (min-width: 1181px) { .mobile-menu { display: none; } }

@media (max-width: 991px) {
  .split, .event-row, .contact-panel { grid-template-columns: 1fr; }
  .event-row:nth-child(even) .event-media { order: 0; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .cards-3 > :last-child { grid-column: 1 / -1; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .stat:nth-child(3)::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .carousel-item { --w: calc((100% - var(--gap, 20px)) / 2.2); }
  .sticky-media { position: relative; top: 0; }
  .media-frame { max-width: 560px; }
  .contact-media { min-height: 360px; order: -1; }
  .hero-ring { display: none; }
  .reveal--left, .reveal--right { transform: translateY(40px); }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .brand img { height: 46px; }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-3 > :last-child { grid-column: auto; }
  .service-card { padding: 36px 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .carousel-item { --w: 82%; }
  .story-slide { grid-template-columns: 1fr; }
  .story-slide .photo-card:nth-child(2) { display: none; }
  .carousel-head { flex-direction: column; align-items: flex-start; }
  .hero-meta strong { font-size: 22px; }
  .media-badge { right: 0; padding: 16px 20px; }
  .media-badge strong { font-size: 30px; }
  .media-frame { padding: 0 0 24px 24px; }
  .faq-q { padding: 20px; }
  .faq-a p { padding: 0 20px 22px; }
  .faq-q .n { display: none; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; margin: 0; }
  .lb-count { bottom: 34px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .btn { padding: 15px 26px; }
  .to-top { right: 16px; bottom: 16px; }
  .whatsapp { left: 16px; bottom: 16px; }
}

/* ---------- 25. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-img img { opacity: 1; transform: none; }
  .reveal-img::after { display: none; }
}

/* =========================================================
   v2.1 — Sliders pro, catalogue, mobile
   ========================================================= */

/* ---------- Hero slideshow ---------- */
.hero { padding-bottom: 160px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease-in-out); }
.hero-slide.is-active { opacity: 1; }
.hero-media .hero-slide img { animation: none; transform: scale(1.12); transition: transform 0s 1.7s; }
.hero-media .hero-slide.is-active img { transform: scale(1); transition: transform 8s linear; }
.hero-pager { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3; opacity: 0; animation: fadeUp 1s var(--ease) 1.1s forwards; }
.hero-pager .container { max-width: 1400px; }
.hero-pager-inner { display: flex; gap: 26px; max-width: 680px; }
.hero-dot { flex: 1; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 6px 10px; text-align: left; color: rgba(255, 255, 255, .5); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; transition: color .4s; }
.hero-dot .n { font-family: var(--font-display); font-size: 15px; letter-spacing: 0; }
.hero-dot .bar { grid-column: 1 / -1; height: 2px; background: rgba(255, 255, 255, .18); position: relative; overflow: hidden; border-radius: 2px; }
.hero-dot .bar i { position: absolute; inset: 0; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }
.hero-dot:hover, .hero-dot.is-active { color: #fff; }
.hero-dot.is-active .bar i { animation: heroBar var(--dur, 7s) linear forwards; }
.hero.is-paused .hero-dot.is-active .bar i { animation-play-state: paused; }
@keyframes heroBar { to { transform: scaleX(1); } }

/* ---------- Horizontal scroll gallery ---------- */
.hscroll { position: relative; background: var(--ivory); padding-block: var(--section); }
.hscroll-sticky { position: relative; }
.hscroll-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(32px, 4vw, 48px); }
.hscroll-head .title { margin-bottom: 0; }
.hscroll-count { font-family: var(--font-display); font-size: 22px; color: var(--muted); white-space: nowrap; }
.hscroll-count span { color: var(--ink); font-size: 44px; font-style: italic; }
.hscroll-track {
  display: flex; align-items: center; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.hscroll-track::-webkit-scrollbar { display: none; }
.hs-card { position: relative; flex: none; height: min(58vh, 540px); aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; background: var(--ink-3); scroll-snap-align: start; box-shadow: var(--shadow); }
.hs-card--wide { aspect-ratio: 4 / 5; }
.hs-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1.4s var(--ease); }
.hs-card:hover img { transform: scale(1.08); }
.hs-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 12, 10, .55), transparent 40%); pointer-events: none; }
.hs-card figcaption { position: absolute; left: 22px; bottom: 16px; z-index: 2; color: #fff; font-family: var(--font-display); font-style: italic; font-size: 26px; }
.hs-more {
  flex: none; height: min(58vh, 540px); width: 260px; border-radius: var(--radius-lg); border: 1px solid rgba(201, 162, 74, .5);
  display: grid; place-content: center; justify-items: center; gap: 18px; font-family: var(--font-display); font-size: 24px; color: var(--ink);
  transition: background .5s var(--ease), color .5s; scroll-snap-align: start;
}
.hs-more i { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-light); font-size: 16px; transition: transform .5s var(--ease); }
.hs-more:hover { background: var(--ink); color: #fff; }
.hs-more:hover i { transform: rotate(-45deg); background: var(--gold); color: var(--ink); }
.hscroll-progress { height: 2px; background: var(--line); margin-top: clamp(32px, 4vw, 48px); position: relative; overflow: hidden; border-radius: 2px; }
.hscroll-progress span { position: absolute; inset: 0; background: var(--gold-grad); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* pinned mode (desktop, set by JS) */
.hscroll.is-pinned { padding-block: 0; }
.hscroll.is-pinned .hscroll-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 40px; }
.hscroll.is-pinned .hscroll-track { overflow: visible; width: max-content; will-change: transform; scroll-snap-type: none; }

/* ---------- Focus carousel (center mode) ---------- */
.carousel--focus { --fw: clamp(270px, 28vw, 380px); }
.carousel--focus .carousel-track { --gap: 28px; padding: 24px calc(50% - var(--fw) / 2) 30px; }
.carousel--focus .carousel-item { flex: 0 0 var(--fw); scroll-snap-align: center; }
.carousel--focus .carousel-item > * { transform: scale(var(--s, 1)); opacity: var(--o, 1); transition: transform .2s linear, opacity .2s linear; transform-origin: center 40%; }
.carousel--focus .carousel-dots { margin-top: 18px; }
.focus-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; cursor: zoom-in; background: var(--ink-3); box-shadow: var(--shadow-lg); }
.focus-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.focus-media:hover img { transform: scale(1.06); }
.focus-media .date-badge { top: 18px; left: 18px; padding: 10px 14px; }
.focus-media .date-badge strong { font-size: 26px; }
.focus-body { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 6px 0; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.carousel-item.is-current .focus-body { opacity: 1; transform: none; }
.focus-body h3 { font-size: 22px; }
.carousel--video { --fw: clamp(290px, 46vw, 660px); }
.carousel--video .video-card { aspect-ratio: 16 / 10; box-shadow: var(--shadow-lg); }
.carousel--video .carousel-dots button { background: var(--line-light); }
.carousel--video .carousel-dots button.is-active { background: var(--gold); }

/* ---------- Memories parallax ---------- */
.memories { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 28px; align-items: start; }
.memory { will-change: transform; }
.memory:nth-child(2) { margin-top: 80px; }
.memory .photo-card { aspect-ratio: 3 / 4; box-shadow: var(--shadow); }

/* ---------- Testimonials author ---------- */
.t-author { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.avatar { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--ink); font-family: var(--font-display); font-size: 17px; font-weight: 600; box-shadow: 0 10px 24px -10px rgba(201, 162, 74, .8); }
.t-author cite { display: block; }
.t-author small { display: block; font-size: 12px; color: var(--muted); }

/* ---------- Gallery tile caption ---------- */
.tile-cap { position: absolute; left: 16px; bottom: 12px; z-index: 2; color: #fff; font-family: var(--font-display); font-style: italic; font-size: 20px; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.tile:hover .tile-cap { opacity: 1; transform: none; }

/* ---------- Services catalogue ---------- */
.catalog { display: grid; grid-template-columns: minmax(270px, .78fr) 2fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.catalog-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; box-shadow: var(--shadow-sm); }
.catalog-tab { display: grid; grid-template-columns: 32px 1fr 14px; align-items: center; gap: 10px; padding: 15px 16px; border-radius: 14px; text-align: left; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: background .4s var(--ease), color .3s; }
.catalog-tab .n { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--gold-deep); transition: color .3s; }
.catalog-tab i { font-size: 11px; opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .4s var(--ease); }
.catalog-tab:hover { background: var(--ivory); color: var(--ink); }
.catalog-tab.is-active { background: var(--ink); color: #fff; }
.catalog-tab.is-active .n, .catalog-tab.is-active i { color: var(--gold-light); }
.catalog-tab.is-active i { opacity: 1; transform: none; }
.catalog-panel { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.catalog-panel.is-active { animation: panelIn .7s var(--ease); }
.catalog-panel.is-active .catalog-media img { animation: imgIn 1.3s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(24px); } }
@keyframes imgIn { from { transform: scale(1.18); clip-path: inset(0 0 100% 0); } }
.catalog-media { position: relative; aspect-ratio: 16 / 8.5; overflow: hidden; cursor: zoom-in; background: var(--ink-3); }
.catalog-media img { width: 100%; height: 100%; object-fit: cover; }
.catalog-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 12, 10, .65), transparent 50%); pointer-events: none; }
.catalog-num { position: absolute; left: 30px; bottom: 20px; z-index: 2; color: #fff; font-family: var(--font-display); font-style: italic; font-size: 64px; line-height: 1; }
.catalog-num small { font-size: 16px; opacity: .7; margin-left: 6px; font-style: normal; }
.catalog-body { padding: clamp(26px, 4vw, 46px); }
.catalog-title { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.catalog-title .icon { flex: none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--gold-light); font-size: 19px; }
.catalog-title h3 { font-size: clamp(24px, 2.4vw, 32px); }
.check-list--2 { grid-template-columns: 1fr 1fr; column-gap: 32px; row-gap: 12px; }
.catalog-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.catalog-arrows { display: flex; gap: 10px; }
.catalog-arrows .carousel-btn { width: 46px; height: 46px; }

/* ---------- Lightbox thumbnails ---------- */
.lightbox.has-thumbs .lightbox-stage img { max-height: 72vh; }
.lightbox.has-thumbs .lightbox-stage { margin-bottom: 70px; }
.lb-thumbs { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; max-width: 90vw; overflow-x: auto; padding: 4px; scrollbar-width: none; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumbs button { flex: none; width: 66px; height: 48px; border-radius: 8px; overflow: hidden; opacity: .4; outline: 2px solid transparent; outline-offset: 1px; transition: opacity .3s, outline-color .3s; }
.lb-thumbs button:hover { opacity: .8; }
.lb-thumbs button.is-active { opacity: 1; outline-color: var(--gold); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb-count { bottom: auto; top: 38px; left: 32px; transform: none; }

/* ---------- Mobile action bar & swipe ---------- */
.mobile-bar { display: none; }
.more-link { display: none; }
.swipe-hint { display: none; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }

@media (max-width: 991px) {
  .catalog { grid-template-columns: 1fr; }
  .catalog-nav { position: relative; top: 0; display: flex; overflow-x: auto; scrollbar-width: none; padding: 8px; border-radius: 100px; gap: 4px; scroll-snap-type: x proximity; }
  .catalog-nav::-webkit-scrollbar { display: none; }
  .catalog-tab { flex: none; grid-template-columns: auto auto; padding: 11px 18px; border-radius: 100px; white-space: nowrap; scroll-snap-align: start; font-size: 14px; }
  .catalog-tab i { display: none; }
  .hero-pager-inner { max-width: none; }
}

@media (max-width: 767px) {
  :root { --section: 76px; }
  .swipe-mobile {
    display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 14px;
    margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter) 18px; scroll-padding-inline: var(--gutter);
  }
  .swipe-mobile::-webkit-scrollbar { display: none; }
  .swipe-mobile > * { flex: 0 0 84%; scroll-snap-align: start; grid-column: auto !important; }
  .memory, .memory:nth-child(2) { margin-top: 0; transform: none !important; }
  .swipe-mobile .service-card li:nth-child(n+6) { display: none; }
  .more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); }
  .swipe-hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .section--dark .swipe-hint { color: rgba(255, 255, 255, .5); }
  .swipe-hint i { color: var(--gold); animation: nudge 1.6s var(--ease-in-out) infinite; }

  .hero { padding-bottom: 120px; }
  .hero .btn-row { flex-direction: column; }
  .hero .btn-row .btn { width: 100%; }
  .hero-text { font-size: 18px; margin-bottom: 30px; }
  .hero-meta { margin-top: 36px; padding-top: 22px; }
  .hero-pager { bottom: 26px; }
  .hero-pager-inner { gap: 10px; }
  .hero-dot .t { display: none; }
  .page-hero { min-height: 340px; }

  .hscroll-head { flex-direction: row; align-items: flex-end; }
  .hscroll-count { font-size: 16px; }
  .hscroll-count span { font-size: 30px; }
  .hs-card, .hs-more { height: 112vw; max-height: 480px; }
  .hs-card { aspect-ratio: 3 / 4; }
  .hs-card--wide { aspect-ratio: 3 / 4; }
  .hs-more { width: 70vw; }
  .hscroll-track { gap: 14px; }

  .carousel--focus { --fw: 72vw; }
  .carousel--focus .carousel-track { --gap: 14px; }
  .carousel--video { --fw: 84vw; }
  .carousel-btn { width: 46px; height: 46px; }
  .carousel-head .carousel-nav { display: none; }
  .focus-body h3 { font-size: 19px; }

  .testimonial blockquote { font-size: 21px; }
  .cta-band .btn-row { flex-direction: column; }
  .cta-band .btn { width: 100%; }
  .media-badge { top: 18px; }

  .catalog-media { aspect-ratio: 4 / 3; }
  .catalog-num { font-size: 46px; left: 20px; }
  .check-list--2 { grid-template-columns: 1fr; }
  .catalog-actions .btn { flex: 1; }

  .lb-thumbs { bottom: 84px; }
  .lb-thumbs button { width: 52px; height: 40px; }
  .lightbox.has-thumbs .lightbox-stage { margin-bottom: 130px; }
  .lb-count { top: 36px; left: 24px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 6px; position: fixed; z-index: 95;
    left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); padding: 6px;
    background: rgba(13, 12, 10, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line-light); border-radius: 20px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .55);
    transform: translateY(160%); transition: transform .6s var(--ease);
  }
  .mobile-bar.is-shown { transform: none; }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 4px; border-radius: 14px; color: #fff; font-size: 11px; font-weight: 500; letter-spacing: .03em; }
  .mobile-bar a i { font-size: 17px; color: var(--gold-light); }
  .mobile-bar a:active { background: rgba(255, 255, 255, .08); }
  .mobile-bar a.is-primary { flex-direction: row; gap: 8px; background: var(--gold-grad); color: var(--ink); font-size: 13px; font-weight: 600; }
  .mobile-bar a.is-primary i { color: var(--ink); font-size: 15px; }
  .whatsapp { display: none; }
  .to-top { bottom: calc(92px + env(safe-area-inset-bottom)); width: 46px; height: 46px; }
  .site-footer { padding-bottom: 86px; }
}

/* ---------- "En images" autoplay slider ---------- */
.hs-slider { background: var(--ivory); }
.hs-controls { display: flex; align-items: center; gap: 28px; }
.hs-slider .hscroll-track { padding-block: 6px 24px; }
.hs-slider .hs-card { transition: transform .6s var(--ease); }
.hs-slider .hs-card:hover { transform: translateY(-6px); }
@media (max-width: 767px) {
  .hs-slider .carousel-head { flex-direction: row; align-items: flex-end; flex-wrap: wrap; }
  .hs-slider .carousel-head .carousel-nav { display: flex; }
  .hs-controls { width: 100%; justify-content: space-between; gap: 16px; }
}
