/* ============================================
   RENATA BEAUTY ATELIER — Experience Demo
   SchwabSolutions Experience Engine
   ============================================ */

/* --- TOKENS --- */
:root {
  /* Flächen */
  --cream:        #FBF8F3;
  --champagne:    #F4ECDF;
  --rose-mist:    #F3E7E0;
  --white:        #FAFAFA;

  /* Akzente */
  --rose:         #D9B8A6;
  --gold:         #C2A075;
  --gold-light:   #EBDCC2;
  --bronze:       #9A7352;
  --wa-green:     #25D366;

  /* Dunkeltöne */
  --brown:        #5A3D2E;
  --brown-mid:    #7A5240;
  --espresso:     #2B1B13;
  --ink:          #241511;
  --text-mid:     #6B4C3B;
  --text-light:   #97806F;

  /* Aliase (Altnamen bleiben gültig) */
  --beige:        var(--champagne);
  --brown-dark:   var(--espresso);
  --text-dark:    var(--ink);

  --font-serif:   'Fraunces', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;

  /* Motion */
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft:    cubic-bezier(0.45, 0, 0.15, 1);
  --dur-fast:     .35s;
  --dur-med:      .7s;
  --dur-slow:     1.1s;

  --hairline:     1px solid rgba(194, 160, 117, 0.28);
  --radius:       6px;
  --gap:          24px;
  --section-pad:  clamp(64px, 11vw, 140px);
  --max-w:        1100px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
button { font: inherit; background: none; border: none; cursor: pointer; }

/* Dezentes Papier-Grain über der ganzen Seite */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--rose); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- TYPOGRAPHY --- */
.label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(42px, 7.5vw, 78px); letter-spacing: -0.015em; }
h2 { font-size: clamp(30px, 5vw, 50px); letter-spacing: -0.01em; }
h3 { font-size: clamp(22px, 3.5vw, 30px); }
p  {
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-mid);
}

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: var(--section-pad) 0; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--hairline);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.nav.scrolled {
  height: 58px;
  background: rgba(251, 248, 243, 0.97);
  box-shadow: 0 1px 0 rgba(194, 160, 117, 0.25), 0 8px 32px rgba(43, 27, 19, 0.06);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  transition: width var(--dur-fast) var(--ease-out), height var(--dur-fast) var(--ease-out);
}
.nav.scrolled .nav-logo img { width: 36px; height: 36px; }
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.03em;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--wa-green);
  color: white;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-sans);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}
.nav-cta svg { width: 16px; height: 16px; }

/* ============================================
   HERO — VERWANDLUNG
   ============================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 75% 15%, rgba(243, 231, 224, 0.8), transparent 55%),
    var(--cream);
  padding-top: 64px;
  overflow: hidden;
}

/* Transformation Reveal — interaktiver Vorher/Nachher-Slider */
.transform-reveal {
  --pos: 100%;
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 24px 64px rgba(90, 61, 46, 0.22);
  cursor: ns-resize;
}
.transform-reveal .img-before,
.transform-reveal .img-after {
  position: absolute;
  inset: 0;
}
.transform-reveal .img-before {
  z-index: 1;
}
.transform-reveal .img-after {
  z-index: 2;
  clip-path: inset(var(--pos) 0 0 0);
  transition: clip-path 1.4s var(--ease-out);
}
.transform-reveal.dragging .img-after { will-change: clip-path; }

/* Divider mit Drag-Handle */
.transform-divider {
  position: absolute;
  left: 0; right: 0;
  top: var(--pos);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.95), transparent);
  z-index: 3;
  transform: translateY(-50%);
  opacity: 0;
  transition: top 1.4s var(--ease-out), opacity 0.4s ease 0.8s;
}
.transform-reveal.revealed .transform-divider { opacity: 1; }
.transform-reveal.dragging .img-after,
.transform-reveal.dragging .transform-divider { transition: none; }
.transform-reveal.stepping .img-after,
.transform-reveal.stepping .transform-divider { transition-duration: var(--dur-fast); transition-delay: 0s; }

.transform-handle {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
  cursor: ns-resize;
}
.transform-handle::before {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(251, 248, 243, 0.92);
  border: 1px solid var(--gold);
  box-shadow: 0 4px 16px rgba(43, 27, 19, 0.3);
  transition: transform var(--dur-fast) var(--ease-out);
}
.transform-reveal:hover .transform-handle::before,
.transform-reveal.dragging .transform-handle::before { transform: scale(1.12); }
.transform-handle svg {
  position: relative;
  width: 16px;
  height: 16px;
  color: var(--brown);
}

/* Labels */
.transform-label {
  position: absolute;
  z-index: 4;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: white;
  background: rgba(36, 21, 17, 0.4);
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.label-before { top: 14px; left: 14px; }
.label-after  { bottom: 14px; right: 14px; }
.transform-reveal.revealed .transform-label { opacity: 1; }

/* Hero text */
.hero-content {
  text-align: center;
  padding: 40px 24px 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-content h1 {
  font-style: italic;
  margin-bottom: 12px;
}
.hero-content .subtitle {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 10px;
}
.hero-content .location {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 32px;
}
.hero-content .location span {
  color: var(--bronze);
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wa-green);
  color: white;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-sans);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.28);
}
.btn-whatsapp svg { width: 20px; height: 20px; }

/* ============================================
   SECTION HEADER (shared)
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header::before {
  content: '';
  display: block;
  width: 1px;
  height: 36px;
  background: var(--gold);
  opacity: 0.6;
  margin: 0 auto 20px;
}
.section-header .label { margin-bottom: 12px; display: block; }
.section-header h2 { margin-bottom: 14px; }
.section-header p  { max-width: 480px; margin: 0 auto; }

/* ============================================
   LEISTUNGEN — SERVICES
   ============================================ */
.services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
@media (min-width: 601px) {
  .services-grid {
    gap: var(--gap);
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
  }
  .service-card { border-radius: 8px; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; gap: 2px; }
}

.service-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: default;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.service-card:hover img { transform: scale(1.05); }

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(36,21,17,0.82) 0%, rgba(36,21,17,0.1) 50%, transparent 100%);
  z-index: 1;
}
.service-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(36,21,17,0.94) 0%, rgba(36,21,17,0.3) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-soft);
}
.service-card:hover .service-overlay::after { opacity: 1; }

/* Hairline-Ring auf der Karte */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(235, 220, 194, 0.18);
  pointer-events: none;
}

.service-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 26px 22px;
  z-index: 2;
  color: white;
  transition: transform 0.5s var(--ease-out);
}
.service-card:hover .service-info { transform: translateY(-4px); }
.service-info .label {
  color: var(--gold-light);
  margin-bottom: 6px;
  display: block;
}
.service-info h3 {
  color: white;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 8px;
}
.service-info p {
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}
.service-brand {
  display: inline-block;
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(235, 220, 194, 0.4);
  padding: 4px 10px;
  border-radius: 100px;
  transition: border-color 0.4s var(--ease-soft), background 0.4s var(--ease-soft);
}
.service-card:hover .service-brand {
  border-color: var(--gold);
  background: rgba(194, 160, 117, 0.18);
}

/* ============================================
   ÜBER RENATA
   ============================================ */
.about {
  background:
    radial-gradient(circle at 18% 45%, rgba(243, 231, 224, 0.9), transparent 55%),
    var(--champagne);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 768px) {
  .about-inner { grid-template-columns: 1fr; }
}

.about-image {
  position: relative;
  aspect-ratio: 4/5;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.about-image.visible {
  opacity: 1;
  transform: translateX(0);
}
.about-image img {
  border-radius: 8px;
  clip-path: inset(0 0 12% 0 round 8px);
  transition: clip-path 1.1s var(--ease-out) 0.1s;
}
.about-image.visible img {
  clip-path: inset(0 0 0 0 round 8px);
}
/* Versetzter Goldrahmen hinter dem Foto */
.about-image::before {
  content: '';
  position: absolute;
  top: -14px; left: -14px;
  right: 14px; bottom: 14px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  opacity: 0;
  transform: translate(8px, 8px);
  transition: opacity 0.9s var(--ease-out) 0.25s, transform 0.9s var(--ease-out) 0.25s;
  pointer-events: none;
}
.about-image.visible::before {
  opacity: 0.7;
  transform: translate(0, 0);
}
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(194, 160, 117, 0.3);
  pointer-events: none;
}

/* Text-Choreografie: Label → Headline → Absätze → Zitat */
.about-text > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.about-text.visible > * { opacity: 1; transform: translateY(0); }
.about-text.visible > *:nth-child(2) { transition-delay: 0.09s; }
.about-text.visible > *:nth-child(3) { transition-delay: 0.18s; }
.about-text.visible > *:nth-child(4) { transition-delay: 0.27s; }
.about-text.visible > *:nth-child(5) { transition-delay: 0.36s; }

.about-text .label { margin-bottom: 12px; display: block; }
.about-text h2 { margin-bottom: 24px; font-style: italic; }
.about-text p  { margin-bottom: 20px; }
.about-quote {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--brown);
  padding-top: 34px;
  margin-top: 28px;
  line-height: 1.45;
}
.about-quote::before {
  content: '„';
  position: absolute;
  top: -28px;
  left: -6px;
  font-size: 84px;
  line-height: 1;
  color: var(--rose);
  opacity: 0.55;
  font-style: normal;
}
.about-quote::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
  margin-top: 20px;
}

/* ============================================
   PREMIUM PRODUKTE
   ============================================ */
.brands { background: var(--white); }

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: var(--hairline);
  border-bottom: var(--hairline);
}

.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 20px;
  background: transparent;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.brand-card.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Vertikale Separatoren, die beim Reveal wachsen */
.brand-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: rgba(194, 160, 117, 0.28);
  transform: scaleY(0);
  transition: transform 0.9s var(--ease-out) 0.3s;
}
.brand-card:first-child::before { display: none; }
.brand-card.visible::before { transform: scaleY(1); }

.brand-name {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.4vw, 25px);
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.brand-name::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 44px;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.45s var(--ease-out);
}
.brand-tagline {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
}

@media (hover: hover) {
  .brand-card:hover .brand-name::after { transform: translateX(-50%) scaleX(1); }
  .brand-card:hover .brand-name {
    background: linear-gradient(100deg, var(--brown) 20%, var(--gold) 50%, var(--brown) 80%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 1.4s var(--ease-soft) 1 both;
  }
}
@keyframes shimmer {
  from { background-position: 120% 0; }
  to   { background-position: -40% 0; }
}

@media (max-width: 640px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-card { padding: 38px 16px; }
  .brands-grid .brand-card:nth-child(3)::before { display: none; }
  .brands-grid .brand-card:nth-child(n+3) { border-top: var(--hairline); }
}

/* ============================================
   GALERIE — MASONRY
   ============================================ */
.gallery { background: var(--cream); }

.gallery-grid {
  columns: 3;
  column-gap: 10px;
}
@media (max-width: 640px) {
  .gallery-grid { columns: 2; column-gap: 8px; }
  .gallery-item { margin-bottom: 8px; }
}

.gallery-item {
  position: relative;
  margin-bottom: 10px;
  break-inside: avoid;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.gallery-item:nth-child(3n+1) { aspect-ratio: 4/5; }
.gallery-item:nth-child(3n+2) { aspect-ratio: 1/1; }
.gallery-item:nth-child(3n)   { aspect-ratio: 3/4; }
.gallery-item.visible {
  opacity: 1;
  transform: scale(1);
}
.gallery-item img {
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
/* Hairline-Ring + "+"-Affordance */
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(235, 220, 194, 0.0);
  background: linear-gradient(to top, rgba(36,21,17,0.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.45s var(--ease-soft);
  pointer-events: none;
}
.gallery-item::after {
  content: '+';
  position: absolute;
  right: 14px;
  bottom: 10px;
  z-index: 3;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  color: var(--gold-light);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  pointer-events: none;
}
@media (hover: hover) {
  .gallery-item:hover img,
  .gallery-item:focus-visible img { transform: scale(1.05); }
  .gallery-item:hover::before,
  .gallery-item:focus-visible::before { opacity: 1; }
  .gallery-item:hover::after,
  .gallery-item:focus-visible::after { opacity: 0.95; transform: translateY(0); }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 21, 17, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
  cursor: zoom-out;
}
.lightbox.open .lb-backdrop { opacity: 1; }

.lb-stage {
  position: relative;
  z-index: 1;
  max-width: min(88vw, 920px);
  max-height: 80vh;
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  touch-action: none;
}
.lightbox.open .lb-stage {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.lb-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.5);
  user-select: none;
  -webkit-user-drag: none;
}
.lb-stage.switching img {
  animation: lbSwitch var(--dur-fast) var(--ease-out);
}
@keyframes lbSwitch {
  from { opacity: 0; transform: translateX(var(--lb-dx, 24px)); }
  to   { opacity: 1; transform: translateX(0); }
}

.lb-btn {
  position: fixed;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(235, 220, 194, 0.35);
  background: rgba(36, 21, 17, 0.45);
  color: var(--gold-light);
  transition: background var(--dur-fast) var(--ease-soft), border-color var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-out);
}
.lb-btn:hover {
  background: rgba(194, 160, 117, 0.25);
  border-color: var(--gold);
}
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev  { left: 18px; top: 50%; margin-top: -22px; }
.lb-next  { right: 18px; top: 50%; margin-top: -22px; }
@media (max-width: 640px) {
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

.lb-counter {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(235, 220, 194, 0.8);
}

body.lb-lock { overflow: hidden; }

/* ============================================
   TERMIN / CTA
   ============================================ */
.cta-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(194, 160, 117, 0.14), transparent 55%),
    var(--espresso);
  text-align: center;
  padding: var(--section-pad) 24px;
}
.cta-section h2 {
  color: var(--white);
  font-style: italic;
  margin-bottom: 14px;
}
.cta-section h2::before {
  content: '';
  display: block;
  width: 1px;
  height: 36px;
  background: var(--gold);
  opacity: 0.6;
  margin: 0 auto 24px;
}
.cta-section .subtitle {
  color: rgba(255,255,255,0.6);
  font-size: clamp(14px, 2vw, 16px);
  margin-bottom: 44px;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
}
.btn-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--wa-green);
  color: white;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-sans);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.btn-cta-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.25);
}
.btn-cta-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: white;
  border: 1px solid rgba(235, 220, 194, 0.3);
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 400;
  font-family: var(--font-sans);
  transition: background var(--dur-fast) var(--ease-soft), border-color var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-out);
}
.btn-cta-call:hover {
  background: rgba(235, 220, 194, 0.08);
  border-color: rgba(235, 220, 194, 0.55);
  transform: translateY(-2px);
}
.btn-cta-call svg, .btn-cta-wa svg { width: 18px; height: 18px; }
.cta-note {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
}
.cta-note a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-fast) var(--ease-soft);
}
.cta-note a:hover { color: var(--gold); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--espresso);
  border-top: 1px solid rgba(235, 220, 194, 0.08);
  padding: 48px 24px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.8;
}
.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}
.footer-address {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.footer-links a {
  position: relative;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  transition: color var(--dur-fast) var(--ease-soft);
}
.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--gold-light);
  opacity: 0.7;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur-fast) var(--ease-out);
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-links a:hover::after { transform: scaleX(1); }
.footer-divider {
  width: 40px;
  height: 1px;
  background: rgba(235, 220, 194, 0.15);
}
.footer-credit {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.footer-credit a {
  color: var(--gold);
  opacity: 0.7;
  transition: opacity var(--dur-fast) var(--ease-soft);
}
.footer-credit a:hover { opacity: 1; }

/* ============================================
   STICKY WHATSAPP MOBILE
   ============================================ */
.sticky-wa {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  width: 52px;
  height: 52px;
  background: var(--wa-green);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-soft);
}
.sticky-wa:hover { transform: scale(1.08); }
.sticky-wa svg { width: 24px; height: 24px; color: white; }

@media (max-width: 768px) {
  .sticky-wa { display: flex; }
  .nav-cta span { display: none; }
}

/* ============================================
   DESKTOP HERO — SPLIT LAYOUT
   ============================================ */
@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    height: 100svh;
    min-height: 100svh;
    padding-top: 0;
    align-items: stretch;
  }
  .transform-reveal {
    flex: 0 0 55%;
    max-width: none;
    aspect-ratio: unset;
    height: 100%;
    border-radius: 0;
    margin: 0;
    box-shadow: inset -1px 0 0 rgba(194, 160, 117, 0.25);
  }
  .hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: 80px 60px;
    padding-top: 124px;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================
   SCROLL ANIMATION BASE
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity var(--dur-med) var(--ease-out),
              transform var(--dur-med) var(--ease-out),
              filter var(--dur-med) var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  html { scroll-behavior: auto; }
}
