/* ============================================
   BLOOVA — Creative Growth Studio
   Design tokens
   ============================================ */

:root {
  --ink: #0B0B0F;
  --paper: #FAFAF7;
  --teal: #0F766E;
  --teal-bright: #14A398;
  --slate: #6B7280;
  --line: #E5E7EB;
  --tint: #EAF4F2;

  --font-display: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max: 1180px;
  --pad: clamp(20px, 5vw, 64px);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--teal); color: var(--paper); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
p { color: var(--slate); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  display: inline-flex;
}
.wordmark .a { color: var(--teal-bright); }
.wordmark.on-dark { color: var(--paper); }
.wordmark.on-light { color: var(--ink); }

/* ---------- Eyebrow / label ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-bright);
  flex-shrink: 0;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--teal-bright);
  transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--teal); }

.nav-cta {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  background: var(--ink);
  color: var(--paper) !important;
  padding: 11px 22px;
  border-radius: 100px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--teal); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--pad) 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 14px; text-align: center; }
  .nav-toggle { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 15px 28px;
  border-radius: 100px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--teal); color: var(--paper); }
.btn-primary:hover { background: var(--ink); transform: translateY(-2px); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(250,250,247,0.4); color: var(--paper); }
.btn-outline-light:hover { background: var(--paper); color: var(--ink); transform: translateY(-2px); }
.btn-white { background: var(--paper); color: var(--ink); }
.btn-white:hover { background: var(--teal-bright); color: var(--paper); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  background: var(--paper);
  padding: clamp(80px, 14vw, 150px) 0 clamp(50px, 8vw, 90px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 8%; right: -8%;
  width: 520px; height: 520px;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; }
.hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.2rem);
  color: var(--slate);
  margin-bottom: 26px;
}
.hero h1 .accent { color: var(--teal-bright); }
.hero p.lede {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--slate);
  max-width: 600px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-tags {
  margin-top: 64px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero-tags .on { color: var(--teal-bright); }
.hero-tags .off { color: var(--line); }
.hero-tags .dot { color: var(--line); }

/* subpage hero (shorter, dark) */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 7vw, 72px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; left: 60%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(15,118,110,0.3) 0%, rgba(15,118,110,0) 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 720px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero p.lede {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(250,250,247,0.7);
  margin-top: 18px;
  max-width: 560px;
}

/* ---------- Sections ---------- */
section { padding: clamp(60px, 9vw, 110px) 0; }
.section-tight { padding: clamp(40px, 6vw, 70px) 0; }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink p { color: rgba(250,250,247,0.68); }
.bg-tint { background: var(--tint); }
.bg-teal { background: var(--teal); color: var(--paper); }
.bg-teal p { color: rgba(250,250,247,0.82); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; color: var(--ink); }
.section-head p { font-size: 1.05rem; }
.bg-ink .section-head h2, .bg-teal .section-head h2 { color: var(--paper); }

/* ---------- Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,11,15,0.08); border-color: var(--teal); }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { font-size: 0.95rem; }

.card-dark { background: #16161C; border: 1px solid rgba(250,250,247,0.1); }
.card-dark h3 { color: var(--paper); }
.card-dark p { color: rgba(250,250,247,0.6); }
.card-dark .icon { background: rgba(15,118,110,0.25); color: var(--teal-bright); }

.numbered-card { position: relative; padding-top: 46px; }
.numbered-card .num {
  position: absolute;
  top: 26px; left: 30px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--teal);
}

/* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--teal-bright);
  line-height: 1;
  margin-bottom: 8px;
}
.stat span { font-size: 0.85rem; color: rgba(250,250,247,0.6); font-family: var(--font-display); font-weight: 600; }

/* ---------- Big stat cards (results grid) ---------- */
.bigstat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 640px) { .bigstat-grid { grid-template-columns: 1fr; } }
.bigstat-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 30px; }
.bigstat-card b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  color: var(--ink);
  line-height: 1;
  margin-bottom: 10px;
}
.bigstat-card span { font-size: 0.92rem; color: var(--slate); }

/* ---------- Case study card ---------- */
.case-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 40px); margin-bottom: 24px; }
.case-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--teal-bright);
  line-height: 1;
  margin-bottom: 6px;
}
.case-sub { color: var(--slate); font-size: 0.98rem; margin-bottom: 24px; }
.case-mini-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.case-mini-stats div b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.case-mini-stats div span { font-size: 0.82rem; color: var(--slate); }
.case-card .eyebrow { margin-bottom: 10px; }
.case-card h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin-bottom: 12px; }
.case-card p.desc { font-size: 1rem; margin-bottom: 20px; }
.case-check { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: var(--teal); margin-bottom: 20px; }
.case-links { display: flex; gap: 12px; flex-wrap: wrap; }
.case-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  color: var(--ink);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.case-links a:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- Client numbered list ---------- */
.client-list { border-top: 1px solid var(--line); }
.client-row { display: flex; align-items: baseline; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.client-num { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--teal); min-width: 28px; }
.client-row div h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.client-row div span { font-size: 0.88rem; color: var(--slate); }

/* ---------- Testimonial card ---------- */
.testi-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 30px; margin-bottom: 20px; }
.testi-card p { font-size: 1.02rem; color: var(--ink); margin-bottom: 20px; line-height: 1.55; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  flex-shrink: 0;
}
.testi-person div b { display: block; font-family: var(--font-display); font-size: 0.95rem; }
.testi-person div span { font-size: 0.85rem; color: var(--slate); }

/* ---------- Portfolio placeholders ---------- */
.work-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #16161C 0%, #0B0B0F 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  border: 1px solid rgba(250,250,247,0.08);
}
.work-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 25% 20%, rgba(15,118,110,0.35), transparent 55%); opacity: 0.9; }
.work-card .work-label { position: relative; z-index: 1; }
.work-card .work-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 6px;
  display: block;
}
.work-card .work-title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--paper); }

/* ---------- Process list ---------- */
.process-item { display: flex; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.process-item:last-child { border-bottom: none; }
.process-num { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--teal); min-width: 52px; }
.process-text h3 { font-size: 1.2rem; margin-bottom: 8px; }
.process-text p { font-size: 0.98rem; max-width: 560px; }

/* ---------- Testimonial / quote ---------- */
.quote-block { max-width: 760px; }
.quote-block blockquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.bg-ink .quote-block blockquote, .bg-teal .quote-block blockquote { color: var(--paper); }
.quote-block cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal-bright);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: 28px;
  padding: clamp(40px, 7vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(15,118,110,0.4), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.cta-band p { color: rgba(250,250,247,0.7); max-width: 480px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(250,250,247,0.7); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(250,250,247,0.12); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-brand p { color: rgba(250,250,247,0.55); margin: 16px 0 20px; max-width: 260px; font-size: 0.92rem; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; font-size: 0.92rem; color: rgba(250,250,247,0.6); margin-bottom: 12px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--teal-bright); }
.footer-social { display: flex; gap: 12px; margin-top: 4px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(250,250,247,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  margin-bottom: 0;
}
.footer-social a:hover { border-color: var(--teal-bright); background: rgba(15,118,110,0.15); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 0.82rem; color: rgba(250,250,247,0.4); flex-wrap: wrap; gap: 12px; }

/* ---------- WhatsApp float button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0 !important; }
.tag-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--tint);
  color: var(--teal);
  margin: 0 8px 8px 0;
}
