/* =====================================================================
   RIO CLUB — Premium site stylesheet
   ===================================================================== */
:root {
  --ink: #0e0d0c;
  --ink-2: #171513;
  --ink-3: #221f1c;
  --paper: #f6f1e9;
  --paper-2: #efe8dc;
  --cream: #e8dfd0;
  --text: #1c1a18;
  --text-soft: #5f5a53;
  --muted: #8d867c;
  --line: rgba(28, 26, 24, .12);
  --line-light: rgba(246, 241, 233, .14);
  --accent: #a3213d;
  --accent-2: #c0304f;
  --gold: #c9a86a;
  --gold-2: #e2c88f;
  --white: #fff;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(80px, 10vw, 140px);
  --header-h: 92px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; }
p { margin: 0 0 1em; }
address { font-style: normal; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 860px; }

/* Icons */
.ico { width: 22px; height: 22px; flex: 0 0 auto; }
.ico-xs { width: 14px; height: 14px; }
.ico-sm { width: 18px; height: 18px; }
.ico-md { width: 26px; height: 26px; }
.ico-lg { width: 36px; height: 36px; }

/* Typography */
.display-xl { font-family: var(--serif); font-size: clamp(52px, 9vw, 128px); font-weight: 500; line-height: .95; letter-spacing: -.01em; }
.display    { font-family: var(--serif); font-size: clamp(36px, 4.6vw, 62px); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; }
.display-sm { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; line-height: 1.1; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--text-soft); max-width: 60ch; }
.lead-text { font-size: 17px; color: var(--text-soft); max-width: 58ch; }
.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.kicker .line { width: 40px; height: 1px; background: currentColor; opacity: .7; }
.kicker.light { color: var(--gold-2); }
.rich p { margin-bottom: 1.1em; color: var(--text-soft); font-size: 16.5px; }
.rich strong { color: var(--text); font-weight: 600; }
.rich h2, .rich h3 { font-family: var(--serif); margin: 1.4em 0 .5em; }
.rich ul { padding-left: 20px; list-style: disc; color: var(--text-soft); }
.rich blockquote { border-left: 2px solid var(--gold); margin: 1.5em 0; padding: .2em 0 .2em 1.4em; font-family: var(--serif); font-size: 1.35em; font-style: italic; }
.rich img { border-radius: var(--radius); margin: 1.5em 0; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px; border-radius: 2px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid transparent; transition: all .45s var(--ease); white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.14); transform: translateX(-101%); transition: transform .5s var(--ease); z-index: -1; }
.btn:hover::after { transform: translateX(0); }
.btn .ico { transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn-sm { padding: 12px 20px; font-size: 11.5px; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); box-shadow: 0 18px 40px -16px rgba(163, 33, 61, .7); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline-dark { color: var(--ink); border-color: rgba(28,26,24,.35); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--accent); border-color: var(--accent); }

.logo-invert .brand img, .logo-invert .footer-logo { filter: invert(1); }

/* Page curtain (load) */
.page-curtain { position: fixed; inset: 0; background: var(--ink); z-index: 9999; transform-origin: top; animation: curtain 1.1s var(--ease-io) .1s forwards; pointer-events: none; }
@keyframes curtain { to { transform: scaleY(0); } }

/* Announce */
.announce { background: var(--accent); color: #fff; font-size: 13px; text-align: center; padding: 8px 0; letter-spacing: .04em; position: relative; z-index: 60; }

/* =========================== HEADER =========================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .5s var(--ease), box-shadow .5s, transform .5s var(--ease), padding .4s;
  color: #fff;
}
.site-header::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.55), transparent); pointer-events: none; opacity: 1; transition: opacity .4s; }
.site-header.is-scrolled { background: rgba(14, 13, 12, .88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-light); }
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; transition: height .4s; }
.site-header.is-scrolled .header-inner { height: 72px; }
.brand img { height: 50px; width: auto; transition: height .4s; }
.site-header.is-scrolled .brand img { height: 40px; }
.brand-text { font-family: var(--serif); font-size: 30px; letter-spacing: .1em; }

.main-nav > ul { display: flex; gap: 6px; }
.main-nav > ul > li { position: relative; }
.main-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; position: relative; }
.main-nav > ul > li > a::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1px; background: var(--gold-2); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.main-nav > ul > li:hover > a::after, .main-nav > ul > li.is-active > a::after { transform: scaleX(1); transform-origin: left; }
.main-nav .sub {
  position: absolute; top: 100%; left: 8px; min-width: 220px; padding: 10px 0;
  background: var(--ink-2); border: 1px solid var(--line-light); border-radius: var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .35s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.main-nav .sub a { padding: 10px 20px; display: block; font-size: 12px; letter-spacing: .12em; color: rgba(255,255,255,.75); }
.main-nav .sub a:hover { color: #fff; background: rgba(255,255,255,.05); padding-left: 26px; }
.main-nav li.has-sub:hover .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; opacity: .9; }
.header-phone:hover { opacity: 1; color: var(--gold-2); }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: #fff; transition: transform .4s var(--ease), opacity .3s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; padding-top: 100px; transform: translateY(-100%); transition: transform .6s var(--ease-io); overflow: auto; }
body.nav-open .mobile-nav { transform: translateY(0); }
body.nav-open { overflow: hidden; }
.mobile-nav-inner { padding: 20px var(--gutter) 40px; }
.mobile-nav > .mobile-nav-inner > ul > li > a { display: block; font-family: var(--serif); font-size: clamp(34px, 8vw, 54px); padding: 10px 0; border-bottom: 1px solid var(--line-light); opacity: 0; transform: translateY(20px); transition: all .6s var(--ease); }
.mobile-nav ul ul a { display: block; padding: 8px 0 8px 20px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
body.nav-open .mobile-nav > .mobile-nav-inner > ul > li > a { opacity: 1; transform: none; }
.mobile-nav > .mobile-nav-inner > ul > li:nth-child(n) > a { transition-delay: calc(.15s + var(--i, 0) * .07s); }
.mobile-nav-foot { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; color: rgba(255,255,255,.7); font-size: 14px; }
.mobile-nav-foot a { display: inline-flex; align-items: center; gap: 10px; }
.socials { display: flex; gap: 8px; margin-top: 10px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line-light); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: all .35s var(--ease); color: rgba(255,255,255,.75); }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }
.socials .ico { width: 17px; height: 17px; }

/* =========================== HERO =========================== */
.hero { position: relative; height: 100vh; min-height: 640px; max-height: 1080px; overflow: hidden; background: var(--ink); color: #fff; }
.hero-slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 1.4s var(--ease-io), visibility 0s 1.4s; }
.slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 2; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); transition: transform 8s linear; }
.slide.is-active .slide-bg { transform: scale(1); }
.slide-shade { position: absolute; inset: 0; background:
  linear-gradient(to right, rgba(10,9,8,.78) 0%, rgba(10,9,8,.45) 50%, rgba(10,9,8,.2) 100%),
  linear-gradient(to top, rgba(10,9,8,.85) 0%, transparent 45%); }
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
.slide-content > * { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.slide.is-active .slide-content > * { opacity: 1; transform: none; }
.slide.is-active .slide-content > *:nth-child(1) { transition-delay: .35s; }
.slide.is-active .slide-content > *:nth-child(2) { transition-delay: .5s; }
.slide.is-active .slide-content > *:nth-child(3) { transition-delay: .65s; }
.slide.is-active .slide-content > *:nth-child(4) { transition-delay: .8s; }
.slide-content .kicker { color: var(--gold-2); }
.slide-content .lead { color: rgba(255,255,255,.78); margin: 26px 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-nav { position: absolute; left: 0; right: 0; bottom: 44px; z-index: 5; display: flex; align-items: center; justify-content: space-between; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button { width: 44px; height: 24px; display: flex; align-items: center; }
.hero-dots button i { display: block; width: 100%; height: 2px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero-dots button i::after { content: ''; position: absolute; inset: 0; background: var(--gold-2); transform: scaleX(0); transform-origin: left; }
.hero-dots button.is-active i::after { animation: dotfill var(--hero-dur, 7s) linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero-count { font-family: var(--serif); font-size: 22px; color: rgba(255,255,255,.7); display: flex; gap: 8px; align-items: baseline; }
.hero-count span:first-child { color: #fff; font-size: 30px; }
.scroll-hint { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 5; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 14px; display: none; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--gold-2); border-radius: 2px; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1 } 70% { transform: translateY(14px); opacity: 0 } 100% { opacity: 0 } }

/* Marquee */
.marquee { background: var(--ink); color: rgba(255,255,255,.55); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 36px; white-space: nowrap; width: max-content; animation: marquee 40s linear infinite; font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.marquee-track i { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================== SECTIONS =========================== */
.section { padding: var(--sec) 0; position: relative; }
.section.alt { background: var(--paper-2); }
.section-head { margin-bottom: clamp(40px, 5vw, 70px); max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .page-curtain { display: none; } }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: var(--paper); padding: clamp(34px, 3.5vw, 54px); position: relative; overflow: hidden; transition: background .5s var(--ease); }
.service-card .num { font-family: var(--serif); font-size: 15px; color: var(--muted); letter-spacing: .1em; }
.service-icon { margin: 34px 0 26px; color: var(--accent); transition: transform .5s var(--ease); }
.service-card h3 { font-family: var(--serif); font-size: 32px; margin-bottom: 14px; }
.service-card p { color: var(--text-soft); font-size: 15.5px; margin: 0; }
.service-line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.service-card:hover { background: #fff; }
.service-card:hover .service-line { transform: scaleX(1); }
.service-card:hover .service-icon { transform: translateY(-6px) rotate(-6deg); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.about-media { position: relative; }
.about-frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; }
.about-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-media:hover .about-frame img { transform: scale(1.05); }
.about-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.35), transparent 50%); pointer-events: none; }
.about-badge { position: absolute; right: -18px; bottom: -22px; background: var(--ink); color: #fff; padding: 22px 28px; border-radius: var(--radius); box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); }
.about-badge strong { display: block; font-family: var(--serif); font-size: 46px; font-weight: 500; line-height: 1; color: var(--gold-2); }
.about-badge span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.about-text .display { margin-bottom: 24px; }
.check-list { margin: 28px 0 36px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.check-list .ico { color: var(--accent); margin-top: 4px; }

/* Play button */
.play-btn { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; position: relative; transition: transform .4s var(--ease), background .3s; }
.play-btn .ico { width: 20px; height: 20px; margin-left: 3px; }
.play-btn::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.8); opacity: 1 } 100% { transform: scale(1.5); opacity: 0 } }
.play-btn-lg { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; transform: translate(-50%, -50%); z-index: 2; }
.play-btn-lg .ico { width: 28px; height: 28px; }
.play-btn-lg:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--accent-2); }

/* Stats */
.stats-band { background: var(--ink); color: #fff; padding: clamp(50px, 6vw, 80px) 0; position: relative; overflow: hidden; }
.stats-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 100% at 50% 0%, rgba(201,168,106,.12), transparent 70%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.stat { text-align: center; padding: 10px 20px; border-left: 1px solid var(--line-light); }
.stat:first-child { border-left: 0; }
.stat-value { font-family: var(--serif); font-size: clamp(44px, 5vw, 76px); line-height: 1; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; opacity: .6; margin-top: 10px; }

/* Feature */
.feature { color: #fff; background: var(--ink); overflow: hidden; }
.feature-bg { position: absolute; inset: -12% 0; background: var(--bg) center/cover no-repeat; opacity: .32; will-change: transform; }
.feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--ink) 0%, transparent 30%, transparent 70%, var(--ink) 100%); }
.feature .container { position: relative; z-index: 1; }
.feature-head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 80px); }
.feature-head .lead { color: rgba(255,255,255,.72); max-width: 70ch; }
.feature .display { margin-bottom: 22px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.pillar { padding: clamp(28px, 3vw, 44px); background: rgba(255,255,255,.04); border: 1px solid var(--line-light); backdrop-filter: blur(8px); transition: background .4s, transform .5s var(--ease); }
.pillar:hover { background: rgba(255,255,255,.08); transform: translateY(-6px); }
.pillar .ico { color: var(--gold-2); margin-bottom: 22px; }
.pillar h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 12px; }
.pillar p { color: rgba(255,255,255,.66); font-size: 15px; margin: 0; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); position: relative; }
.process-grid::before { content: ''; position: absolute; left: 10%; right: 10%; top: 70px; height: 1px; background: linear-gradient(to right, transparent, var(--line) 15%, var(--line) 85%, transparent); }
.step { text-align: center; position: relative; }
.step-media { width: 140px; height: 140px; margin: 0 auto 26px; border-radius: 50%; position: relative; padding: 6px; background: var(--paper); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .4s; }
.step-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: saturate(.85); transition: filter .4s; }
.step:hover .step-media { transform: translateY(-6px); border-color: var(--accent); }
.step:hover .step-media img { filter: saturate(1.05); }
.step-num { position: absolute; right: -2px; bottom: 4px; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--serif); font-size: 17px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px -6px rgba(163,33,61,.6); }
.step h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 10px; }
.step p { color: var(--text-soft); font-size: 15px; margin: 0; padding: 0 6px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid.ratio-landscape { grid-template-columns: repeat(3, 1fr); }
.g-item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--cream); aspect-ratio: 9/13; }
.ratio-landscape .g-item { aspect-ratio: 16/10; }
.ratio-square .g-item { aspect-ratio: 1; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.g-item:hover img { transform: scale(1.07); }
.g-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(to top, rgba(10,9,8,.7), rgba(10,9,8,.1) 60%); opacity: 0; transition: opacity .5s var(--ease); }
.g-item:hover .g-overlay { opacity: 1; }
.ratio-landscape .g-overlay { opacity: 1; background: linear-gradient(to top, rgba(10,9,8,.65), transparent 55%); }
.g-zoom { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); color: #fff; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); transform: scale(.7); transition: transform .5s var(--ease); }
.g-item:hover .g-zoom { transform: scale(1); }
.g-title { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fff; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.g-overlay .play-btn { transform: scale(.85); transition: transform .4s var(--ease); }
.g-item:hover .play-btn { transform: scale(1); }

/* Collection preview, seg tabs */
.seg-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 100px; padding: 4px; }
.seg-tabs a { padding: 10px 24px; border-radius: 100px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: all .3s; }
.seg-tabs a.is-active { background: var(--ink); color: #fff; }

/* CTA */
.cta { position: relative; padding: clamp(100px, 14vw, 180px) 0; color: #fff; background: var(--ink); overflow: hidden; text-align: center; }
.cta-bg { position: absolute; inset: 0; background: var(--bg) center/cover fixed no-repeat; opacity: .35; }
.cta::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 80% at 50% 50%, transparent, rgba(10,9,8,.75)); }
.cta-inner { position: relative; z-index: 1; max-width: 820px; }
.cta .lead { color: rgba(255,255,255,.75); margin: 24px auto 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-strip { background: var(--ink); color: #fff; padding: clamp(50px, 6vw, 80px) 0; border-top: 1px solid var(--line-light); }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-strip .kicker { margin-bottom: 10px; }

/* =========================== INNER PAGES =========================== */
.page-hero { position: relative; min-height: clamp(420px, 55vh, 620px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background: var(--hero) center/cover no-repeat; opacity: .55; transform: scale(1.08); animation: heroIn 2.4s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,9,8,.95) 0%, rgba(10,9,8,.35) 60%, rgba(10,9,8,.5) 100%); }
.page-hero-inner { position: relative; z-index: 1; padding-top: 160px; padding-bottom: clamp(50px, 6vw, 80px); }
.page-hero .display { margin-bottom: 14px; }
.page-hero .lead { color: rgba(255,255,255,.72); }
.crumbs { display: flex; gap: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs em { font-style: normal; color: var(--gold-2); }

/* Content sections */
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.layout-image-right .cs-media { order: 2; }
.layout-text .cs-grid { grid-template-columns: 1fr; max-width: 860px; }
.cs-media { position: relative; }
.cs-frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/4.6; }
.cs-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cs-media:hover .cs-frame img { transform: scale(1.05); }
.cs-num { position: absolute; top: -24px; left: -14px; font-family: var(--serif); font-size: 120px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(28,26,24,.22); pointer-events: none; }
.layout-image-right .cs-num { left: auto; right: -14px; }
.cs-text .display { margin-bottom: 24px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-info .display { margin-bottom: 20px; }
.contact-cards { display: grid; gap: 16px; margin-top: 36px; }
.contact-card { border: 1px solid var(--line); padding: 28px 30px; border-radius: var(--radius); background: #fff; transition: transform .4s var(--ease), box-shadow .4s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(0,0,0,.25); }
.contact-card h3 { font-family: var(--serif); font-size: 28px; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.contact-card h3 .ico { color: var(--accent); }
.contact-card p, .footer-col address p { display: flex; gap: 12px; margin: 0 0 12px; font-size: 15px; color: var(--text-soft); }
.contact-card p .ico { color: var(--gold); margin-top: 3px; }
.contact-card a:hover { color: var(--accent); }
.contact-form-wrap { position: sticky; top: 100px; }
.contact-form { background: var(--ink); color: #fff; padding: clamp(30px, 4vw, 50px); border-radius: var(--radius); position: relative; overflow: hidden; }
.contact-form::before { content: ''; position: absolute; width: 400px; height: 400px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(163,33,61,.35), transparent 65%); pointer-events: none; }
.contact-form h3 { font-family: var(--serif); font-size: 34px; margin-bottom: 26px; position: relative; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; position: relative; }
.field label { display: block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; background: rgba(255,255,255,.05); border: 1px solid var(--line-light); color: #fff; padding: 14px 16px; font: inherit; font-size: 15px; border-radius: 2px; transition: border-color .3s, background .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.08); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--accent-2); }
.field .err { font-size: 12px; color: #ff8a9e; margin-top: 6px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-note { margin: 0; font-size: 14px; color: rgba(255,255,255,.7); }
.form-note.ok { color: #8fe0a8; }
.form-note.err { color: #ff8a9e; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.map-section iframe { display: block; filter: grayscale(1) contrast(1.05); transition: filter .6s; }
.map-section:hover iframe { filter: none; }

/* 404 */
.not-found { min-height: 100vh; display: flex; align-items: center; background: var(--ink); color: #fff; text-align: center; padding: 160px 0 100px; }
.not-found .lead { margin: 20px auto 36px; color: rgba(255,255,255,.7); }
.not-found .hero-actions { justify-content: center; }
.not-found .kicker { justify-content: center; }

/* =========================== FOOTER =========================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: clamp(60px, 8vw, 100px) 0 0; border-top: 1px solid var(--line-light); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.3fr; gap: clamp(30px, 4vw, 60px); padding-bottom: clamp(40px, 6vw, 70px); }
.footer-logo { height: 54px; width: auto; margin-bottom: 22px; }
.footer-brand p { font-size: 14.5px; max-width: 42ch; }
.footer-col h4 { color: #fff; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 22px; font-weight: 600; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14.5px; transition: color .3s, padding-left .3s; }
.footer-col ul a:hover { color: var(--gold-2); padding-left: 6px; }
.footer-col address p { color: rgba(255,255,255,.7); font-size: 14px; }
.footer-col address .ico { color: var(--gold); margin-top: 3px; }
.footer-col address a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line-light); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; }
.footer-bottom p { margin: 0; }
.to-top { width: 44px; height: 44px; border: 1px solid var(--line-light); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: all .35s var(--ease); }
.to-top:hover { background: var(--gold-2); color: var(--ink); border-color: var(--gold-2); transform: translateY(-3px); }

/* WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #fff; padding: 12px 18px 12px 14px; border-radius: 100px; font-size: 13px; font-weight: 600; letter-spacing: .04em; box-shadow: 0 16px 36px -12px rgba(37,211,102,.7); transition: transform .4s var(--ease), box-shadow .4s; }
.wa-float:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -12px rgba(37,211,102,.8); }
.wa-float .ico { width: 22px; height: 22px; }

/* =========================== LIGHTBOX / MODAL =========================== */
.lb { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
.lb.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
body.lb-open { overflow: hidden; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(8, 7, 6, .94); backdrop-filter: blur(6px); }
.lb-stage { position: relative; margin: 0; max-width: min(1200px, 92vw); max-height: 90vh; display: flex; flex-direction: column; align-items: center; transform: scale(.96) translateY(10px); transition: transform .45s var(--ease); }
.lb.is-open .lb-stage { transform: none; }
.lb-media { position: relative; display: flex; align-items: center; justify-content: center; }
.lb-media img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; border-radius: 4px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9); animation: lbIn .45s var(--ease); }
.lb-media.is-video { width: min(1100px, 92vw); aspect-ratio: 16/9; background: #000; border-radius: 4px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0,0,0,.9); }
.lb-media iframe { width: 100%; height: 100%; border: 0; display: block; }
.lb-media.is-loading::before { content: ''; position: absolute; width: 36px; height: 36px; border: 2px solid rgba(255,255,255,.25); border-top-color: var(--gold-2); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } }
.lb-cap { margin-top: 14px; color: rgba(255,255,255,.8); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; text-align: center; min-height: 1em; }
.lb-count { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: rgba(255,255,255,.5); font-family: var(--serif); font-size: 18px; letter-spacing: .1em; }
.lb-btn { position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; display: flex; align-items: center; justify-content: center; transition: all .3s var(--ease); backdrop-filter: blur(6px); }
.lb-btn:hover { background: var(--accent); border-color: var(--accent); }
.lb-btn:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.lb-close { top: 22px; right: 22px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); display: none; }
.lb.has-nav .lb-prev, .lb.has-nav .lb-next { display: flex; }
.lb-prev { left: 22px; } .lb-prev .ico { transform: rotate(180deg); }
.lb-next { right: 22px; }
@media (max-width: 760px) {
  .lb-btn { width: 44px; height: 44px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; } .lb-close { top: 12px; right: 12px; }
  .lb-media img { max-height: 76vh; }
  .lb-count { bottom: 14px; font-size: 15px; }
}

/* =========================== RESPONSIVE =========================== */
@media (min-width: 1100px) { .scroll-hint { display: block; } }
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .main-nav a { padding: 10px 12px; font-size: 12px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .main-nav, .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-badge { right: 16px; bottom: -22px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .stat:nth-child(3) { border-left: 0; }
  .pillars { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .process-grid::before { display: none; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid.ratio-landscape { grid-template-columns: repeat(2, 1fr); }
  .cs-grid, .contact-grid { grid-template-columns: 1fr; }
  .layout-image-right .cs-media { order: 0; }
  .cs-frame { aspect-ratio: 4/3; }
  .contact-form-wrap { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 560px; }
  .hero-count { display: none; }
}
@media (max-width: 640px) {
  :root { --sec: 70px; }
  body { font-size: 15px; }
  .hero { height: 92vh; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .gallery-grid, .gallery-grid.ratio-landscape { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .seg-tabs { width: 100%; }
  .seg-tabs a { flex: 1; text-align: center; }
  .brand img { height: 38px; }
  .cs-num { display: none; }
}
