/* ═══════════════════════════════════════════════
   wiboo — Shared Stylesheet
   ═══════════════════════════════════════════════ */

:root {
  --black:       #0a0a0a;
  --white:       #fafaf9;
  --cream:       #f5f0eb;
  --accent:      #c8a97e;
  --accent-dark: #b08d5e;
  --gray-100:    #f3f3f3;
  --gray-200:    #e5e5e5;
  --gray-400:    #a3a3a3;
  --gray-600:    #525252;
  --gray-800:    #262626;
  --success:     #16a34a;
  --radius:      12px;
  --radius-lg:   20px;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* ─── CUSTOM CURSOR ─── */
#cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--accent); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, background .25s;
}
#cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid rgba(200,169,126,.5);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s, opacity .3s;
}
body.cursor-hover #cursor { width: 16px; height: 16px; }
body.cursor-hover #cursor-ring { width: 52px; height: 52px; border-color: var(--accent); opacity: .6; }

/* ─── SCROLL PROGRESS ─── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), #e8c99e);
  z-index: 10001; width: 0%; transition: width .1s linear;
}

/* ─── UTILITIES ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.serif { font-family: 'Playfair Display', Georgia, serif; }
.text-accent { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ─── KEYFRAMES ─── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes badgeEnter { from { opacity:0; transform:translateY(16px) scale(.95); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes lineReveal { from { transform:translateY(110%); opacity:0; } to { transform:translateY(0); opacity:1; } }
@keyframes dotPulse { 0%,100% { transform:scale(1); opacity:1; } 50% { transform:scale(1.6); opacity:0; } }
@keyframes orbFloat1 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(-40px,30px) scale(1.05)} 66%{transform:translate(20px,-25px) scale(.97)} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(30px,-40px) scale(1.08)} }
@keyframes gridPan { from{background-position:0 0} to{background-position:80px 80px} }

/* ─── REVEAL SYSTEM ─── */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }
.reveal.delay-4 { transition-delay: .4s; }
.reveal.delay-5 { transition-delay: .5s; }
.reveal-clip {
  clip-path: inset(0 0 100% 0);
  transition: clip-path .9s cubic-bezier(.22,1,.36,1);
}
.reveal-clip.revealed { clip-path: inset(0 0 0% 0); }
.reveal-left {
  opacity: 0; transform: translateX(-50px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0; transform: scale(.88);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal-scale.revealed { opacity: 1; transform: scale(1); }

/* ─── PAGE HERO (non-homepage) ─── */
.page-hero {
  background: var(--black);
  min-height: 50vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 140px 0 80px;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,169,126,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,169,126,.04) 1px, transparent 1px);
  background-size: 80px 80px; pointer-events: none;
  animation: gridPan 30s linear infinite;
}
.page-hero-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(80px);
}
.page-hero-orb-1 {
  top: -30%; right: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,169,126,.12) 0%, transparent 70%);
  animation: orbFloat1 14s ease-in-out infinite;
}
.page-hero-orb-2 {
  bottom: -20%; left: -5%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,169,126,.06) 0%, transparent 70%);
  animation: orbFloat2 18s ease-in-out infinite;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(200,169,126,.1); border: 1px solid rgba(200,169,126,.25);
  padding: 8px 20px; border-radius: 100px;
  font-size: .8rem; font-weight: 600; color: var(--accent);
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 28px;
  opacity: 0; animation: badgeEnter .9s cubic-bezier(.22,1,.36,1) .1s forwards;
}
.page-hero-badge-dot {
  width: 8px; height: 8px; background: var(--accent); border-radius: 50%; position: relative;
}
.page-hero-badge-dot::after {
  content: ''; position: absolute; inset: -3px; border-radius: 50%;
  background: rgba(200,169,126,.35); animation: dotPulse 2s ease-in-out infinite;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700; color: var(--white);
  line-height: 1.1; letter-spacing: -1px; margin-bottom: 24px;
}
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero-line { display: block; overflow: hidden; padding-bottom: .08em; }
.page-hero-line-inner {
  display: block; transform: translateY(110%); opacity: 0;
  animation: lineReveal 1s cubic-bezier(.22,1,.36,1) forwards;
}
.page-hero-line:nth-child(1) .page-hero-line-inner { animation-delay: .3s; }
.page-hero-line:nth-child(2) .page-hero-line-inner { animation-delay: .5s; }
.page-hero-line:nth-child(3) .page-hero-line-inner { animation-delay: .65s; }
.page-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem); color: rgba(255,255,255,.55);
  max-width: 560px; line-height: 1.75;
  opacity: 0; animation: fadeUp .9s cubic-bezier(.22,1,.36,1) .85s forwards;
}
.page-hero-sub--center { margin: 0 auto; text-align: center; }
.page-hero-center { text-align: center; }

/* ─── SECTION LABELS & TITLES ─── */
section { padding: 100px 0; }
.section-label {
  font-size: .72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.section-label--center { text-align: center; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--gray-800);
  line-height: 1.15; letter-spacing: -.5px; margin-bottom: 20px;
}
.section-title--center { text-align: center; }
.section-title--white { color: var(--white); }
.section-subtitle {
  font-size: 1.05rem; color: var(--gray-600); max-width: 560px; line-height: 1.75; margin-bottom: 56px;
}
.section-subtitle--center { text-align: center; margin: 0 auto 56px; }
.section-subtitle--white { color: rgba(255,255,255,.55); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--black);
  padding: 14px 28px; border-radius: 100px;
  font-weight: 700; font-size: .95rem; letter-spacing: .2px;
  transition: all .3s; cursor: none; border: none;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,169,126,.3); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--gray-800);
  padding: 14px 28px; border-radius: 100px;
  font-weight: 600; font-size: .95rem;
  border: 1.5px solid var(--gray-200);
  transition: all .3s; cursor: none;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: rgba(255,255,255,.7);
  padding: 14px 28px; border-radius: 100px;
  font-weight: 600; font-size: .95rem;
  border: 1.5px solid rgba(255,255,255,.2);
  transition: all .3s; cursor: none;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ─── NAV ─── */
@keyframes navShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 20px 0; transition: all .4s ease;
}
nav.scrolled {
  background: rgba(10,10,10,.95); backdrop-filter: blur(20px);
  padding: 14px 0; box-shadow: 0 4px 30px rgba(0,0,0,.15);
}
nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: 'Playfair Display', serif; font-size: 1.75rem;
  font-weight: 700; color: var(--white); letter-spacing: -.5px; cursor: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  position: relative;
  color: rgba(255,255,255,.75); font-size: .9rem; font-weight: 500;
  letter-spacing: .3px; transition: color .3s; cursor: none;
}
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after {
  transform: scaleX(1); transform-origin: left;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
a.nav-cta {
  background: linear-gradient(90deg,
    var(--accent-dark) 0%,
    var(--accent) 35%,
    #e8c99e 50%,
    var(--accent) 65%,
    var(--accent-dark) 100%
  );
  background-size: 250% 100%;
  color: var(--black) !important;
  padding: 10px 24px; border-radius: 100px; font-weight: 600;
  transition: box-shadow .3s, transform .3s;
}
a.nav-cta:hover {
  animation: navShimmer .8s linear;
  box-shadow: 0 4px 22px rgba(200,169,126,.45);
  transform: translateY(-2px) scale(1.03);
}
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: all .3s; }
.nav-links.mobile-open {
  display: flex !important; flex-direction: column; position: fixed; inset: 0;
  background: rgba(10,10,10,.98); backdrop-filter: blur(20px); z-index: 999;
  justify-content: center; align-items: center; gap: 32px;
  animation: fadeIn .3s ease forwards;
}
.nav-links.mobile-open a { font-size: 1.3rem; color: var(--white); }
.nav-links.mobile-open .nav-cta { font-size: 1.1rem; padding: 14px 32px; }
.nav-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ─── CONTACT FORM ─── */
.contact-form-wrapper {
  background: var(--gray-800); border-radius: var(--radius-lg);
  padding: 40px; border: 1px solid rgba(255,255,255,.06);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.5); letter-spacing: .5px; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 14px 16px; color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: .95rem;
  transition: border-color .3s, box-shadow .3s; outline: none; cursor: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: rgba(200,169,126,.5); box-shadow: 0 0 0 3px rgba(200,169,126,.1);
}
.form-group select { cursor: none; }
.form-group select option { background: var(--gray-800); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.visible { display: block; animation: fadeUp .6s ease forwards; }
.form-success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { font-family: 'Playfair Display', serif; color: var(--white); font-size: 1.5rem; margin-bottom: 8px; }
.form-success p { color: rgba(255,255,255,.5); font-size: .95rem; }

/* ─── FAQ ─── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; background: none; border: none; cursor: none;
  font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; color: var(--gray-800);
  text-align: left; gap: 16px; transition: color .3s;
}
.faq-question:hover { color: var(--accent); }
.faq-icon { font-size: 1.4rem; font-weight: 300; color: var(--accent); flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.22,1,.36,1); }
.faq-answer-inner { padding: 0 0 22px; color: var(--gray-600); line-height: 1.75; font-size: .95rem; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ─── FOOTER ─── */
footer { background: var(--black); border-top: 1px solid rgba(255,255,255,.06); padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-brand .nav-logo { display: inline-block; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.4); line-height: 1.7; max-width: 300px; }
.footer-col h5 { font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.footer-col a { display: block; color: rgba(255,255,255,.45); font-size: .9rem; margin-bottom: 12px; transition: all .3s; cursor: none; }
.footer-col a:hover { color: var(--accent); transform: translateX(4px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.25); }
.footer-location { font-size: .8rem; color: rgba(255,255,255,.25); }

/* ─── CTA BAND ─── */
.cta-band {
  background: var(--black); padding: 100px 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(200,169,126,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; text-align: center; }
.cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white); margin-bottom: 20px; line-height: 1.2;
}
.cta-band p { font-size: 1.05rem; color: rgba(255,255,255,.5); margin-bottom: 40px; }
.cta-band-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  section { padding: 72px 0; }
  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { min-height: 40vh; padding: 120px 0 60px; }
}
