/* ═══════════════════════════════════════════════════════
   PEXOVIA AGENCY — SHARED DESIGN SYSTEM
   Production-grade CSS. Mobile-first. Zero dependencies.
   ═══════════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --ink:    #0f0f0f;
  --white:  #ffffff;
  --off:    #f7f6f4;
  --off2:   #ede9e3;
  --border: #e8e4de;
  --gray:   #6b6560;
  --gray2:  #9e9892;
  --amber:  #ffae4b;
  --amber2: #e8890a;
  --amber4: #fff8ee;

  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans:  'Sora', 'Segoe UI', system-ui, sans-serif;

  --max: 1260px;
  --nav-h: 64px;
  --pad: clamp(1.5rem, 4%, 4rem);
  --section-pad: clamp(3.5rem, 7vw, 6rem);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--sans); }
ul { list-style: none; }

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Sora:wght@400;500;600;700;800&display=swap');

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

/* ── TYPOGRAPHY SYSTEM ── */
.eyebrow {
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--gray2);
  font-weight: 800;
  display: block;
  margin-bottom: 1.2rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.0;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.section-title em { font-style: italic; color: var(--amber2); }
.section-sub {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.8;
  max-width: 440px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding: .9rem 1.8rem;
  border: 2px solid var(--ink);
  transition: background .25s, color .25s;
  white-space: nowrap;
}
.btn-primary:hover { background: #1a1a1a; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding: .9rem 1.8rem;
  border: 1.5px solid var(--border);
  transition: border-color .25s, color .25s;
  white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

.btn-amber {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding: .9rem 1.8rem;
  border: 2px solid var(--amber);
  transition: background .25s;
  white-space: nowrap;
}
.btn-amber:hover { background: var(--amber2); border-color: var(--amber2); color: var(--white); }

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}
.reveal.up { opacity: 1; transform: none; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  gap: 2rem;
}
.logo {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.03em;
  flex-shrink: 0;
}
.logo em { font-style: normal; color: var(--amber2); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray);
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--ink);
  color: var(--white);
  font-size: .67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
  padding: .6rem 1.3rem;
  border: 2px solid var(--ink);
  transition: background .25s;
  flex-shrink: 0;
}
.nav-cta:hover { background: #1a1a1a; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .3rem;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── MOBILE MENU ── */
.mob-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 2rem var(--pad);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.mob-menu.open { transform: none; }
.mob-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--ink);
  align-self: flex-end;
  padding: .4rem;
  margin-bottom: 2.5rem;
}
.mob-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.mob-links a {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--serif);
  color: var(--ink);
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mob-links a::after { content: '→'; font-size: 1rem; color: var(--gray2); }
.mob-cta {
  margin-top: 2.5rem;
  display: block;
  text-align: center;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding: 1.1rem;
}

/* ── TICKER ── */
.ticker-wrap { overflow: hidden; padding: .75rem 0; background: var(--ink); }
.ticker-inner {
  display: inline-flex;
  animation: tick 32s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: rgba(255,255,255,.55);
  padding: 0 .4rem;
}
.ticker-sep { color: var(--amber); margin: 0 .4rem; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 5rem var(--pad) 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  line-height: 1.85;
  margin-top: 1.2rem;
  max-width: 280px;
}
.f-brand-logo {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
}
.f-brand-logo em { font-style: normal; color: var(--amber); }
.fsoc {
  display: flex;
  gap: .85rem;
  margin-top: 2rem;
}
.fsoc a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  transition: all .25s;
}
.fsoc a:hover { border-color: var(--amber); color: var(--amber); }
.fsoc svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.footer-col h4 {
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: rgba(255,255,255,.3);
  font-weight: 700;
  margin-bottom: 1.4rem;
}
.footer-col a {
  display: block;
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  margin-bottom: .85rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--amber); }
.footer-bot {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-bot p {
  font-size: .7rem;
  color: rgba(255,255,255,.25);
  letter-spacing: .04em;
}
.fbot-links {
  display: flex;
  gap: 2rem;
}
.fbot-links a {
  font-size: .67rem;
  color: rgba(255,255,255,.25);
  text-transform: uppercase;
  letter-spacing: .12em;
  transition: color .2s;
}
.fbot-links a:hover { color: rgba(255,255,255,.6); }

/* ── FOOT PHILOSOPHY STRIP ── */
.foot-phil {
  background: var(--off);
  padding: 2.5rem var(--pad);
  text-align: center;
  border-top: 1px solid var(--border);
}
.foot-phil p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--gray);
  font-style: italic;
  letter-spacing: -.01em;
}
.foot-phil em { color: var(--ink); font-style: italic; }

/* ── WA FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 99;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .25s, box-shadow .25s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.5); }
.wa-float svg {
  width: 26px;
  height: 26px;
  fill: white;
}

/* ── RESPONSIVE NAV ── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bot { flex-direction: column; text-align: center; }
}
@media (max-width: 400px) {
  .footer-top { grid-template-columns: 1fr; }
}
