/* ==========================================================================
   LAWU VANILLA INDONESIA — Luxury Design System
   Shared stylesheet for the full static site (home, about, services,
   service articles, gallery, contact, shop).
   Palette: deep espresso brown · warm cream · gold
   Fonts:   Playfair Display (serif) · Jost (sans)
   ========================================================================== */

:root {
  /* Color tokens */
  --cocoa-900: #1a1108;
  --cocoa-850: #20150b;
  --cocoa-800: #2a1c0f;
  --cocoa-700: #3d2b1a;
  --cocoa-600: #4e3823;
  --gold: #b4874f;
  --gold-bright: #c9a227;
  --gold-soft: rgba(180, 135, 79, 0.35);
  --cream: #f5efe4;
  --cream-100: #faf6ec;
  --cream-200: #efe6d4;
  --ink: #241a10;
  --muted: #6e5f4e;
  --muted-dark: #b3a48d;
  --white-soft: rgba(250, 246, 236, 0.92);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 5rem;
  --sp-10: 6rem;
  --sp-12: 8rem;

  /* Layout */
  --container: 1200px;
  --container-wide: 1360px;

  /* Shape & motion */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;
  --shadow-soft: 0 18px 40px -22px rgba(26, 17, 8, 0.35);
  --shadow-lift: 0 26px 50px -24px rgba(26, 17, 8, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t: 0.3s var(--ease);
  --header-h: 84px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; }

input, button, textarea, select { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

ul[class], ol[class] { list-style: none; padding: 0; }

::selection { background: var(--gold); color: var(--cocoa-900); }

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.16;
  color: var(--cocoa-900);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

.dark h1, .dark h2, .dark h3, .dark h4,
.section-dark h2, .section-dark h3,
.hero h1, .page-hero h1, .site-footer h4 { color: var(--cream); }

p { margin: 0; }

.lead {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--muted);
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-4);
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
  transform: translateY(-1px);
}

.dark .section-label::before, .section-dark .section-label::before { background: var(--gold-bright); }

.section-title { margin-bottom: var(--sp-4); }

.section-sub {
  color: var(--muted);
  max-width: 640px;
  font-size: 1.05rem;
}

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .section-sub { margin-inline: auto; }

.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

.gold-text { color: var(--gold); }
.serif { font-family: var(--font-serif); }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-dark { background-color: var(--cocoa-900); color: var(--cream); }
.section-dark .section-sub { color: var(--muted-dark); }
.section-cream { background-color: var(--cream); }
.section-cream-100 { background-color: var(--cream-100); }

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(250, 246, 236, 0.35);
  border-radius: var(--r-md);
  pointer-events: none;
}

.split-media--frame::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 55%;
  height: 55%;
  border-top: 1px solid var(--gold-soft);
  border-right: 1px solid var(--gold-soft);
  z-index: -1;
  pointer-events: none;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding-block: 1.1rem;
  background: linear-gradient(to bottom, rgba(26, 17, 8, 0.72), rgba(26, 17, 8, 0));
  transition: background var(--t), padding var(--t), box-shadow var(--t);
}

.site-header.scrolled {
  background: var(--cocoa-900);
  padding-block: 0.65rem;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  z-index: 1101;
}

.logo-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--cream);
}

.logo-name span { color: var(--gold); }

.logo-sub {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 4px;
}

.nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.6rem);
}

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-soft);
  padding-block: 0.5rem;
  position: relative;
  transition: color var(--t);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}

.nav-link:hover { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--gold-bright); }

.nav-link .caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--t);
}

.nav-item:hover .caret { transform: rotate(225deg) translate(-2px, 2px); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: var(--cocoa-800);
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-md);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t), visibility var(--t);
  z-index: 1000;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown a {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  color: var(--cream-100);
  transition: background var(--t), color var(--t), padding-left var(--t);
}

.dropdown a:hover { background: rgba(180, 135, 79, 0.14); color: var(--gold-bright); padding-left: 1.2rem; }

.header-cta {
  display: none;
  align-items: center;
  gap: var(--sp-4);
  z-index: 1101;
}

.hamburger {
  z-index: 1101;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cream);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t), background var(--t);
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: var(--cocoa-900);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem clamp(1.5rem, 8vw, 4rem) 3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.mobile-menu.open { opacity: 1; visibility: visible; }

.mobile-nav-list { display: flex; flex-direction: column; gap: 0.4rem; }

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  color: var(--cream);
  padding-block: 0.35rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color var(--t);
}

.mobile-menu.open .mobile-nav-link { opacity: 1; transform: translateY(0); }
.mobile-menu.open .mobile-nav-link:nth-child(2) { transition-delay: 0.06s; }
.mobile-menu.open .mobile-nav-link:nth-child(3) { transition-delay: 0.12s; }
.mobile-menu.open .mobile-nav-link:nth-child(4) { transition-delay: 0.18s; }
.mobile-menu.open .mobile-nav-link:nth-child(5) { transition-delay: 0.24s; }
.mobile-menu.open .mobile-nav-link:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu.open .mobile-nav-link:nth-child(7) { transition-delay: 0.36s; }

.mobile-nav-link:hover { color: var(--gold-bright); }

.mobile-menu .mobile-cta {
  margin-top: var(--sp-6);
  align-self: flex-start;
}

.mobile-menu .mobile-contact {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(180, 135, 79, 0.3);
  font-size: 0.92rem;
  color: var(--muted-dark);
  display: grid;
  gap: 0.4rem;
}

.mobile-menu .mobile-contact a { color: var(--gold-bright); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 2.1em;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: var(--cocoa-900);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  box-shadow: 0 14px 30px -14px rgba(201, 162, 39, 0.5);
}

.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.btn-outline:hover { background: var(--gold); color: var(--cocoa-900); }

.btn-outline-light {
  border-color: rgba(250, 246, 236, 0.55);
  color: var(--cream);
  background: transparent;
}

.btn-outline-light:hover { background: var(--cream); color: var(--cocoa-900); border-color: var(--cream); }

.btn-sm { padding: 0.7em 1.5em; font-size: 0.74rem; }

/* ==========================================================================
   HERO (homepage)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 38%;
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

/* Slideshow: 4 slides, each visible 3s in a 12s infinite loop.
   --slide-delay staggers them; the fade-out window (20%→30%) overruns the
   3s boundary so the next slide fades in while the previous fades out —
   seamless crossfade including the loop back to the first slide. */
.hero-bg.hero-slide {
  opacity: 0;
  animation-name: heroCrossfade;
  animation-duration: 12s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-delay: var(--slide-delay, 0s);
  animation-fill-mode: both;
}

@keyframes heroCrossfade {
  0%    { opacity: 0; transform: scale(1.08); }
  4%    { opacity: 1; }
  20%   { opacity: 1; transform: scale(1.02); }
  30%   { opacity: 0; transform: scale(1); }
  100%  { opacity: 0; transform: scale(1); }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(26, 17, 8, 0.55), rgba(26, 17, 8, 0.34) 45%, rgba(26, 17, 8, 0.82)),
    radial-gradient(ellipse at center, rgba(26, 17, 8, 0.15), rgba(26, 17, 8, 0.55));
}

.hero-inner { max-width: 860px; }

.hero-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: var(--sp-5);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hero-label::before, .hero-label::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--cream);
  margin-bottom: var(--sp-5);
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.4);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--cream-100);
  max-width: 640px;
  margin: 0 auto var(--sp-7);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid rgba(250, 246, 236, 0.5);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero-scroll::before {
  content: "";
  width: 3px;
  height: 9px;
  border-radius: 2px;
  background: var(--gold);
  animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ==========================================================================
   PAGE HERO (subpages)
   ========================================================================== */
.page-hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 1.5rem clamp(3rem, 6vw, 4.5rem);
  text-align: center;
  background: var(--cocoa-900);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(26, 17, 8, 0.55), rgba(26, 17, 8, 0.34) 45%, rgba(26, 17, 8, 0.82)),
    radial-gradient(ellipse at center, rgba(26, 17, 8, 0.15), rgba(26, 17, 8, 0.55));
  pointer-events: none;
}

.page-hero-inner { position: relative; max-width: 820px; margin-inline: auto; }

.page-hero h1 {
  color: var(--cream);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: var(--sp-4);
}

.page-hero .hero-sub { margin-bottom: 0; }

.page-hero .section-label { margin-bottom: var(--sp-4); }

.breadcrumb {
  margin-top: var(--sp-5);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.breadcrumb a { color: var(--gold-bright); transition: color var(--t); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span.sep { margin-inline: 8px; color: var(--gold-soft); }

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
  background: var(--cream-100);
  border: 1px solid rgba(61, 43, 26, 0.08);
  border-radius: var(--r-md);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(180, 135, 79, 0.35);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  color: var(--gold);
  margin-bottom: var(--sp-5);
  transition: background var(--t), color var(--t);
}

.card-icon svg { width: 24px; height: 24px; }

.card:hover .card-icon { background: var(--gold); color: var(--cocoa-900); }

.card h3 { margin-bottom: var(--sp-3); font-size: 1.25rem; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* Dark variant (Why Choose on cocoa bg) */
.feature-card {
  background: rgba(250, 246, 236, 0.045);
  border: 1px solid rgba(250, 246, 236, 0.09);
  border-top: 2px solid rgba(180, 135, 79, 0.5);
  border-radius: var(--r-md);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  transition: transform var(--t), background var(--t), border-color var(--t);
}

.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(250, 246, 236, 0.08);
  border-top-color: var(--gold-bright);
}

.feature-card .card-icon {
  border-color: rgba(180, 135, 79, 0.45);
  color: var(--gold-bright);
  margin-bottom: var(--sp-5);
}

.feature-card:hover .card-icon { background: var(--gold-bright); color: var(--cocoa-900); }

.feature-card h3 { color: var(--cream); font-size: 1.2rem; margin-bottom: var(--sp-3); }
.feature-card p { color: var(--muted-dark); font-size: 0.95rem; }

/* Product card */
.product-card {
  background: var(--cream-100);
  border: 1px solid rgba(61, 43, 26, 0.08);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}

.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.product-card:hover .product-media img { transform: scale(1.06); }

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 17, 8, 0.28), transparent 45%);
}

.product-body {
  padding: clamp(1.2rem, 2.5vw, 1.6rem);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}

.product-body h3 { font-size: 1.2rem; }
.product-body p { color: var(--muted); font-size: 0.93rem; flex: 1; }

.product-body .btn { align-self: flex-start; margin-top: var(--sp-3); }

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  counter-reset: step;
}

.step {
  counter-increment: step;
  padding: clamp(1.4rem, 2.5vw, 1.8rem) 0;
  border-bottom: 1px solid rgba(250, 246, 236, 0.09);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.6rem;
  align-items: start;
  position: relative;
}

.step:last-child { border-bottom: 0; }

.step::before {
  content: "0" counter(step);
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  grid-row: span 2;
  min-width: 3.2ch;
  opacity: 0.85;
}

.step:nth-of-type(n + 10)::before { content: counter(step); }

.step h3 {
  color: var(--cream);
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.step p { color: var(--muted-dark); font-size: 0.95rem; max-width: 56ch; }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem);
  text-align: center;
}

.stat { position: relative; }

.stat + .stat::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(0.5rem, 1.5vw, 1rem));
  top: 50%;
  transform: translateY(-50%);
  height: 64%;
  width: 1px;
  background: rgba(180, 135, 79, 0.25);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1.05;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* ==========================================================================
   TESTIMONIAL SLIDER
   ========================================================================== */
.testimonial-slider {
  position: relative;
  max-width: 780px;
  margin-inline: auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}

.testimonial-slide {
  flex: 0 0 100%;
  padding-inline: clamp(0.5rem, 3vw, 2rem);
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-style: italic;
  line-height: 1.65;
  color: var(--cocoa-800);
  margin-bottom: var(--sp-5);
  position: relative;
}

.testimonial-quote::before {
  content: "“";
  font-family: var(--font-serif);
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.55;
  display: block;
  margin-bottom: var(--sp-4);
}

.dark .testimonial-quote { color: var(--cream); }

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
}

.testimonial-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-soft);
}

.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--cocoa-900);
}

.dark .testimonial-name { color: var(--cream); }

.testimonial-role {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.dark .testimonial-role { color: var(--muted-dark); }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}

.slider-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: background var(--t), color var(--t), border-color var(--t);
}

.slider-btn:hover { background: var(--gold); color: var(--cocoa-900); border-color: var(--gold); }

.slider-btn svg { width: 16px; height: 16px; }

.slider-dots { display: flex; gap: 8px; }

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(180, 135, 79, 0.3);
  transition: background var(--t), transform var(--t);
}

.slider-dot.active { background: var(--gold); transform: scale(1.25); }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list { max-width: 820px; margin-inline: auto; }

.faq-item {
  border-bottom: 1px solid rgba(61, 43, 26, 0.14);
}

.faq-item:first-child { border-top: 1px solid rgba(61, 43, 26, 0.14); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 1.25rem 0.25rem;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--cocoa-900);
  transition: color var(--t);
}

.faq-q:hover { color: var(--gold); }

.dark .faq-q { color: var(--cream); }
.dark .faq-q:hover { color: var(--gold-bright); }

.faq-icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  position: relative;
  transition: transform var(--t), background var(--t), border-color var(--t);
}

.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold);
  transition: background var(--t);
}

.faq-icon::before { width: 11px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 11px; }

.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: var(--cocoa-900); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.faq-a-inner {
  padding: 0 0.25rem 1.4rem;
  color: var(--muted);
  max-width: 70ch;
}

.dark .faq-a-inner { color: var(--muted-dark); }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  grid-auto-rows: 210px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  cursor: pointer;
}

.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
}

.gallery-item:hover img { transform: scale(1.07); filter: brightness(0.78); }

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(26, 17, 8, 0.85), transparent);
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t), transform var(--t);
}

.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 13, 6, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
  padding: 2rem;
}

.lightbox.open { opacity: 1; visibility: visible; }

.lightbox-img {
  max-width: min(92vw, 1100px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--r-sm);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted-dark);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-align: center;
  max-width: 80vw;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(250, 246, 236, 0.3);
  border-radius: 50%;
  color: var(--cream);
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background var(--t), border-color var(--t), transform var(--t);
}

.lightbox-close:hover { background: var(--gold); border-color: var(--gold); color: var(--cocoa-900); transform: rotate(90deg); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(250, 246, 236, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cream);
  transition: background var(--t), color var(--t), border-color var(--t);
}

.lightbox-nav:hover { background: var(--gold); color: var(--cocoa-900); border-color: var(--gold); }

.lightbox-nav svg { width: 18px; height: 18px; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Gallery section blocks */
.gallery-section + .gallery-section { margin-top: var(--sp-8); }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

.form-field { display: flex; flex-direction: column; gap: 0.5rem; }

.form-field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cocoa-700);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--cream-100);
  border: 1px solid rgba(61, 43, 26, 0.18);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color var(--t), box-shadow var(--t);
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); opacity: 0.7; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(180, 135, 79, 0.15);
}

.form-field textarea { min-height: 140px; resize: vertical; }

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: var(--sp-3);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.4rem);
}

.contact-card {
  background: var(--cream-100);
  border: 1px solid rgba(61, 43, 26, 0.08);
  border-radius: var(--r-md);
  padding: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(180, 135, 79, 0.35);
}

.contact-card .card-icon { margin-inline: auto; }

.contact-card h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }

.contact-card .contact-value {
  font-size: 0.95rem;
  color: var(--muted);
  word-break: break-word;
}

.contact-card a.contact-value { color: var(--cocoa-700); font-weight: 500; transition: color var(--t); }
.contact-card a.contact-value:hover { color: var(--gold); }

.map-frame {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: var(--r-md);
  filter: grayscale(1) contrast(1.04);
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */
.cta-banner {
  position: relative;
  text-align: center;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background-color: var(--cocoa-900);
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(26, 17, 8, 0.88), rgba(26, 17, 8, 0.78)),
    var(--cta-bg, none) center / cover no-repeat;
  pointer-events: none;
}

.cta-banner-inner { position: relative; max-width: 720px; margin-inline: auto; }

.cta-banner h2 {
  color: var(--cream);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: var(--sp-4);
}

.cta-banner p {
  color: var(--muted-dark);
  margin-bottom: var(--sp-6);
  font-size: 1.05rem;
}

.cta-banner .cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--cocoa-850);
  color: var(--muted-dark);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
}

.footer-brand p { margin-top: var(--sp-4); max-width: 34ch; font-size: 0.92rem; }

.footer-social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(180, 135, 79, 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: background var(--t), color var(--t), transform var(--t);
}

.footer-social a:hover { background: var(--gold); color: var(--cocoa-900); transform: translateY(-3px); }

.footer-social svg { width: 17px; height: 17px; }

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: var(--sp-5);
  position: relative;
  padding-bottom: var(--sp-3);
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.footer-col ul { display: grid; gap: 0.7rem; }

.footer-col a {
  color: var(--muted-dark);
  transition: color var(--t), padding-left var(--t);
}

.footer-col a:hover { color: var(--gold-bright); padding-left: 6px; }

.footer-contact-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.92rem;
}

.footer-contact-list svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--gold);
  margin-top: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 246, 236, 0.08);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted-dark);
}

.footer-bottom a { color: var(--gold-bright); }

/* ==========================================================================
   PROSE (long-form article pages)
   ========================================================================== */
.prose { max-width: 760px; }

.prose p {
  color: var(--ink);
  margin-bottom: var(--sp-5);
  font-size: 1.06rem;
  line-height: 1.8;
}

.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin: var(--sp-8) 0 var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(180, 135, 79, 0.3);
}

.prose h3 {
  font-size: 1.25rem;
  margin: var(--sp-6) 0 var(--sp-3);
  color: var(--cocoa-700);
}

.prose ul, .prose ol { margin: 0 0 var(--sp-5) 0; padding-left: 1.4rem; color: var(--ink); }
.prose li { margin-bottom: 0.6rem; }
.prose ul li::marker { color: var(--gold); }

.prose blockquote {
  border-left: 2px solid var(--gold);
  padding: var(--sp-3) 0 var(--sp-3) var(--sp-5);
  margin: var(--sp-6) 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--cocoa-700);
  background: rgba(180, 135, 79, 0.06);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.prose .prose-meta {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--sp-6);
}

.article-cta {
  margin-top: var(--sp-8);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  background: var(--cream-100);
  border: 1px solid rgba(180, 135, 79, 0.3);
  border-radius: var(--r-md);
  text-align: center;
}

.article-cta h3 { margin-bottom: var(--sp-2); }
.article-cta p { color: var(--muted); margin-bottom: var(--sp-5); }
.article-cta .btn + .btn { margin-left: var(--sp-3); }

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform;
}

.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--sp-4); }
.mt-2 { margin-top: var(--sp-5); }
.mt-3 { margin-top: var(--sp-6); }
.mt-4 { margin-top: var(--sp-7); }
.mt-5 { margin-top: var(--sp-8); }
.mb-1 { margin-bottom: var(--sp-4); }
.mb-2 { margin-bottom: var(--sp-5); }
.mb-3 { margin-bottom: var(--sp-6); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2 { grid-column: span 2; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4rem); }
  .step:nth-last-child(-n + 2) { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(5, 1fr); }
  .stat + .stat::before { display: block; }
  .hero-scroll { display: flex; }
}

@media (min-width: 1024px) {
  .nav { display: block; }
  .hamburger { display: none; }
  .header-cta { display: flex; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
  .mobile-menu { display: none; }
}

@media (max-width: 767px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before, .stat:nth-child(4)::before, .stat:nth-child(5)::before { display: none; }
  .lightbox-nav { display: none; }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.wa-float:hover, .wa-float:focus-visible {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
  color: #fff;
}

.wa-float svg {
  width: 30px;
  height: 30px;
  display: block;
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  z-index: -1;
  animation: wa-pulse 2.4s var(--ease) infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; }
}

@media (max-width: 480px) {
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 27px; height: 27px; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-bg { animation: none; }
}
