/* ============================================================
   SetUp Stories — Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ── Tokens ── */
:root {
  --champagne: #F5E6C8;
  --beige: #EDE0C8;
  --blush: #E8C4B0;
  --ivory: #FAF7F2;
  --rose: #C9927A;
  --charcoal: #2A2825;
  --charcoal-soft: #3D3A36;
  --warm-white: #FDFAF5;
  --muted: #7A746C;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --container: 1280px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-pad: clamp(4rem, 10vw, 9rem);

  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
}

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

/* ── Loader ── */
#loader {
  position: fixed; inset: 0;
  background: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-wordmark {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--champagne);
  overflow: hidden;
}
.loader-wordmark span {
  display: inline-block;
  transform: translateY(100%);
  animation: loaderReveal 0.9s var(--ease-out) 0.2s forwards;
}
@keyframes loaderReveal {
  to { transform: translateY(0); }
}
.loader-line {
  position: absolute; bottom: 0; left: 0;
  height: 2px; background: var(--rose);
  animation: loaderBar 1.1s var(--ease-in-out) forwards;
}
@keyframes loaderBar {
  from { width: 0; }
  to { width: 100%; }
}

/* ── Custom Cursor ── */
#cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--rose);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s var(--ease-out), width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
  mix-blend-mode: multiply;
}
#cursor.cursor-hover {
  width: 44px; height: 44px;
  background: rgba(201, 146, 122, 0.25);
}
@media (pointer: coarse) { #cursor { display: none; } }

/* ── Navigation ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.25rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}
.site-nav.scrolled {
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.85rem var(--gutter);
  box-shadow: 0 1px 0 rgba(42,40,37,0.08);
}
.nav-logo {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  line-height: 1;
}
.nav-logo span { color: var(--rose); }
.nav-logo em { font-style: italic; font-weight: 300; }

.nav-links {
  display: flex; align-items: center; gap: 2.25rem;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--charcoal-soft);
  position: relative;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--rose);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover { color: var(--charcoal); }

.nav-cta {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.65rem 1.4rem;
  border: 1.5px solid var(--charcoal);
  border-radius: var(--radius-pill);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.nav-cta:hover { background: var(--charcoal); color: var(--ivory); }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 4px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  position: fixed; inset: 0; top: 0;
  background: var(--charcoal);
  z-index: 850;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2.5rem;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out);
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 300;
  color: var(--champagne);
  letter-spacing: 0.04em;
  transition: color 0.25s;
}
.nav-drawer a:hover { color: var(--rose); }
.nav-drawer .drawer-cta {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid var(--rose);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-pill);
  color: var(--rose);
}

/* ── Footer ── */
.site-footer {
  background: var(--charcoal);
  color: var(--champagne);
  padding: clamp(3rem, 8vw, 6rem) var(--gutter) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--container);
  margin: 0 auto;
}
.footer-brand .footer-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.footer-brand .footer-logo span { color: var(--rose); }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(245,230,200,0.65);
  max-width: 260px;
}
.footer-social {
  display: flex; gap: 1rem; margin-top: 1.5rem;
}
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(245,230,200,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s, background 0.3s;
}
.footer-social a:hover { border-color: var(--rose); background: rgba(201,146,122,0.15); }
.footer-social svg { width: 15px; height: 15px; stroke: var(--champagne); }
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(245,230,200,0.65);
  transition: color 0.25s;
}
.footer-col ul li a:hover { color: var(--champagne); }
.footer-bottom {
  max-width: var(--container);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245,230,200,0.1);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(245,230,200,0.4);
}
.footer-bottom a { color: var(--rose); }

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  transition: all 0.35s var(--ease-out);
  position: relative; overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out);
}
.btn:hover::before { transform: translateX(0); }
.btn-primary {
  background: var(--charcoal);
  color: var(--ivory);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(42,40,37,0.22); }
.btn-outline {
  border: 1.5px solid var(--charcoal);
  color: var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--ivory); }
.btn-rose {
  background: var(--rose);
  color: var(--ivory);
}
.btn-rose:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201,146,122,0.35); }
.btn-light {
  background: var(--ivory);
  color: var(--charcoal);
}
.btn-light:hover { background: var(--champagne); }
.btn svg { width: 16px; height: 16px; transition: transform 0.3s; }
.btn:hover svg { transform: translateX(3px); }

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: none; }

/* delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.45s; }
.delay-5 { transition-delay: 0.6s; }

/* ── Overline / eyebrow ── */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--rose);
  display: flex; align-items: center; gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--rose);
}

/* ── Section headings ── */
.section-heading {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}
.section-heading em {
  font-style: italic;
  color: var(--rose);
}
.section-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 520px;
}

/* ── WhatsApp sticky ── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 800;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.5); }
.whatsapp-fab svg { width: 28px; height: 28px; fill: #fff; }

/* ── Responsive nav ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── Prefers reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Horizontal rule ── */
.hr { width: 60px; height: 1px; background: var(--blush); margin: 0; }
