/* ═══════════════════════════════════════════════
   KONAMASH CONSULT — SHARED STYLES
   Aesthetic: Luxury Editorial / Refined Dark
   Fonts: Cormorant Garamond (display) + Cabinet Grotesk (UI)
═══════════════════════════════════════════════ */

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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette */
  --ink:        #0B0D13;
  --ink2:       #12151F;
  --ink3:       #181C29;
  --ink4:       #1E2334;
  --line:       rgba(255,255,255,0.055);
  --line2:      rgba(255,255,255,0.10);
  --line3:      rgba(255,255,255,0.18);
  --paper:      #EDE8DF;
  --paper2:     #D6CFBF;
  --text:       #E8E2D8;
  --muted:      #5C637A;
  --muted2:     #8891A6;
  --crimson:    #B02B22;
  --crimson2:   #D03228;
  --crimson-lo: rgba(176,43,34,0.10);
  --crimson-md: rgba(176,43,34,0.20);
  --amber:      #C4963A;
  --amber-lo:   rgba(196,150,58,0.10);

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

  /* Spacing */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-2xl: 48px;

  /* Nav height */
  --nav-h: 66px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── GRAIN OVERLAY ── */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 9000;
}

/* ══════════════════════════════
   NAVIGATION
══════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  background: rgba(11,13,19,0.82);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 0.5px solid var(--line);
  transition: background 0.3s;
}

.nav__logo {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; flex-shrink: 0;
}

.nav__mark {
  width: 32px; height: 32px;
  background: var(--crimson);
  border-radius: 7px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.nav__name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.nav__name small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px;
}

.nav__links {
  display: flex; align-items: center; gap: 1.8rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted2);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 0.5px;
  background: var(--crimson);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}

.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }
.nav__links a.active { color: var(--text); }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.btn-ghost {
  padding: 8px 18px;
  background: transparent;
  border: 0.5px solid var(--line2);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
}

.btn-ghost:hover {
  border-color: var(--line3);
  background: rgba(255,255,255,0.04);
}

.btn-crim {
  padding: 8px 20px;
  background: var(--crimson);
  border: none;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
}

.btn-crim:hover {
  background: var(--crimson2);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(176,43,34,0.35);
}

/* ══════════════════════════════
   LAYOUT UTILITIES
══════════════════════════════ */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  width: 100%;
}

.section {
  padding: clamp(5rem, 9vw, 8rem) clamp(1.5rem, 4vw, 3rem);
}

/* ══════════════════════════════
   SECTION LABELS / HEADINGS
══════════════════════════════ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crimson2);
  margin-bottom: 1.2rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 22px; height: 1px;
  background: var(--crimson);
  flex-shrink: 0;
}

.h-display {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
}

.h-display em {
  font-style: italic;
  color: var(--paper2);
}

.h-section {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text);
}

.h-section em { font-style: italic; color: var(--paper2); }

.lead {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 300;
  color: var(--muted2);
  line-height: 1.8;
  max-width: 480px;
}

/* ══════════════════════════════
   DIVIDER
══════════════════════════════ */
.hr { height: 0.5px; background: var(--line); }

/* ══════════════════════════════
   BUTTONS (full-size)
══════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px;
  background: var(--crimson);
  border: none;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s;
  position: relative; overflow: hidden;
}

.btn-primary:hover {
  background: var(--crimson2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(176,43,34,0.4);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px;
  background: transparent;
  border: 0.5px solid var(--line2);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s;
}

.btn-secondary:hover {
  border-color: var(--line3);
  background: rgba(255,255,255,0.04);
}

.btn-wa {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px;
  background: transparent;
  border: 0.5px solid rgba(37,211,102,0.25);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: #4ADE80;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s;
}

.btn-wa:hover {
  border-color: rgba(37,211,102,0.5);
  background: rgba(37,211,102,0.05);
}

/* ══════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════ */
.wa-float {
  position: fixed; bottom: 26px; right: 26px;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 400;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3), 0 0 0 0 rgba(37,211,102,0.3);
  text-decoration: none;
  animation: waPop 0.5s cubic-bezier(0.175,0.885,0.32,1.275) 0.8s both,
             waPulse 3s ease 2s infinite;
  transition: transform 0.2s;
}

.wa-float:hover { transform: scale(1.1); }

@keyframes waPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.3), 0 0 0 0 rgba(37,211,102,0.25); }
  50%       { box-shadow: 0 4px 20px rgba(37,211,102,0.3), 0 0 0 12px rgba(37,211,102,0); }
}

/* ══════════════════════════════
   SCROLL REVEAL
══════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
              transform 0.75s cubic-bezier(0.22,1,0.36,1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }
.reveal-d6 { transition-delay: 0.6s; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer {
  background: var(--ink2);
  border-top: 0.5px solid var(--line);
  padding: clamp(3rem,6vw,5rem) clamp(1.5rem,4vw,3rem) 2.5rem;
}

.footer__inner {
  max-width: 1120px; margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: clamp(2rem,4vw,4rem);
  padding-bottom: 3rem;
  border-bottom: 0.5px solid var(--line);
  margin-bottom: 2rem;
}

.footer__brand-text {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 1.2rem;
  max-width: 280px;
}

.footer__col-head {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.footer__links { list-style: none; display: flex; flex-direction: column; gap: 9px; }

.footer__links a {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--muted2);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--text); }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}

.footer__copy {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.footer__socials { display: flex; gap: 8px; }

.social-pill {
  width: 30px; height: 30px;
  border: 0.5px solid var(--line);
  border-radius: 7px;
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s;
  font-family: var(--sans);
}

.social-pill:hover {
  border-color: var(--line2);
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

/* ══════════════════════════════
   SHARED NAV JS (inline)
══════════════════════════════ */
