/* ============================================================
   WEXSEY — shared design system
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500;1,9..144,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #150F26;
  --ink-soft: #524C71;
  --paper: #FCFBFE;
  --paper2: #F5F2FC;
  --paper3: #EFEAFA;
  --line: #E6E1F3;
  --line2: #D5CEEA;
  --magenta: #E800B0;
  --violet: #7C3AED;
  --teal: #00B899;
  --grad: linear-gradient(135deg, #E800B0 0%, #8A2FE0 52%, #00C9A7 100%);
  --grad-text: linear-gradient(120deg, #E800B0, #7C3AED, #00B899);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(21,15,38,.09);
  --shadow-sm: 0 10px 28px rgba(21,15,38,.07);
  --serif: 'Fraunces', serif;
  --sans: 'Plus Jakarta Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2.5px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
}

.g { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 6%; }
.eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .9rem; }

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 600; }
h2.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: .9rem; }
h3 { font-size: 1.25rem; font-weight: 600; }
.section-sub { font-size: 1rem; color: var(--ink-soft); line-height: 1.8; }
.section-center { text-align: center; max-width: 640px; margin: 0 auto 3.2rem; }

section { padding: 6rem 0; }
.tight { padding: 3.5rem 0; }
.on-paper2 { background: var(--paper2); }
.on-paper3 { background: var(--paper3); }

/* ---------- Nav ---------- */
header.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(252,251,254,.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
header.site-nav.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(21,15,38,.05); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 68px;
  position: relative;
}
.logo {
  font-family: var(--serif);
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
}
.logo img { width: auto; display: block; }
.logo em { font-style: italic; }
.logo-mobile {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.logo-mobile img { height: 80px; }
.logo-desktop { display: none; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
@media (min-width: 861px) {
  .nav-inner { justify-content: center; }
  .logo-mobile { display: none; }
  .logo-desktop { display: flex; }
  .logo-desktop img { height: 80px; }
  .nav-links { gap: 2rem; }
}
.nav-links a { font-size: .87rem; font-weight: 500; text-decoration: none; color: var(--ink-soft); position: relative; padding: 4px 0; transition: color .2s; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--grad); transition: width .25s; border-radius: 2px; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { background: var(--grad); border-radius: 9px; padding: .85rem 16rem; font-size: 5rem; font-weight: 700; color: #fff !important; text-decoration: none; transition: opacity .2s, transform .2s; display: inline-block; }
.nav-cta:hover { opacity: .9; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 501; background: none; border: none; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s ease; transform-origin: left; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn-grad, .btn-ghost, .wa-btn {
  font-family: var(--sans); font-size: .95rem; font-weight: 700; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  border-radius: 11px; padding: .95rem 2rem; transition: opacity .2s, transform .2s, box-shadow .2s;
}
.btn-grad { background: var(--grad); border: none; color: #fff; box-shadow: 0 10px 30px rgba(124,58,237,.25); }
.btn-grad:hover { opacity: .9; transform: translateY(-2px); }
.btn-ghost { background: #fff; border: 1.5px solid var(--line2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--violet); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.wa-btn { background: #25D366; border: none; color: #fff; box-shadow: 0 10px 28px rgba(37,211,102,.3); }
.wa-btn:hover { opacity: .9; transform: translateY(-2px); }
.btn-sm { padding: .6rem 1.2rem; font-size: .82rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 10.5rem 0 4rem; background: var(--paper2); position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 520px 380px at 12% 20%, rgba(232,0,176,.07) 0%, transparent 70%),
              radial-gradient(ellipse 480px 380px at 90% 60%, rgba(0,201,167,.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 720px; }
.page-hero p { color: var(--ink-soft); max-width: 560px; margin-top: 1.1rem; font-size: 1.02rem; }
.crumb { font-size: .8rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.crumb a { text-decoration: none; color: var(--violet); font-weight: 600; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--ink); color: #E9E5F5; padding: 4rem 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .logo { color: #fff; }
.footer-tag { font-size: .85rem; color: rgba(233,229,245,.6); margin-top: .6rem; max-width: 260px; line-height: 1.7; }
.footer-col h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: rgba(233,229,245,.9); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.footer-col a { font-size: .87rem; color: rgba(233,229,245,.65); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.6rem; flex-wrap: wrap; gap: 1rem; font-size: .78rem; color: rgba(233,229,245,.5); }

/* ---------- WA float ---------- */
.wa-float { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 400; background: #25D366; color: #fff; width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 8px 26px rgba(37,211,102,.45); transition: transform .3s; }
.wa-float:hover { transform: scale(1.1); }

/* ---------- Cards shared ---------- */
.card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); transition: border-color .3s, transform .3s, box-shadow .3s; }
.card:hover { border-color: var(--violet); transform: translateY(-5px); box-shadow: var(--shadow-sm); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-logo-item { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: 68px; left: 0; right: 0; background: #fff;
    padding: 1.5rem 6% 2.2rem; gap: 1.3rem; border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(0,0,0,.08); animation: slideDown .3s ease forwards;
  }
  .nav-links.open .nav-cta { width: 100%; text-align: center; margin-top: .3rem; }
  @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 4.5rem 0; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .btn-grad, .btn-ghost, .wa-btn { width: 100%; }
}