/* ============================================================
   JOOSTECH MEDIA — REBUILD STYLESHEET (light-first)
   Shared across: index.html, new-approach.html, new-work.html, new-contact.html
   Palette: white/light-blue backgrounds + navy shades for headings/nav/footer + pink accent
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700;800&display=swap');

:root {
  /* Navy — reserved for headings, nav, footer, borders on dark bands */
  --navy-950: #04081a;
  --navy-900: #070f28;
  --navy-800: #0d1936;
  --navy-700: #142446;
  --navy-600: #1c335c;
  --blue-600: #244fc2;
  --blue-500: #2f5fd6;
  --blue-400: #5484ea;
  --blue-300: #8fb0f2;

  /* Pink — the single accent */
  --pink-600: #e42f8f;
  --pink-500: #ec4899;
  --pink-400: #f472b6;
  --pink-ink: #b81971;   /* darker pink for small text on light washes (contrast-safe) */
  --blue-ink: #1d4ed8;   /* darker blue for small text on light washes (contrast-safe) */

  /* Light-theme surface tokens */
  --bg: #ffffff;
  --bg-alt: #f1f6ff;         /* soft blue-white banding for alternate sections */
  --ink: var(--navy-900);    /* heading color on light bg */
  --white: #ffffff;          /* literal white — button labels, text explicitly on dark bands */
  --ice: var(--navy-800);    /* repointed: dark ink for badges/labels on light bg */
  --border: #dbe4f7;         /* light border for cards/inputs/dividers */
  --border-dark: #1e2c50;    /* border for nav/footer dark bands */

  /* Secondary text — redefined for light backgrounds; nav/footer override back to light-on-dark below */
  --muted: #55648a;
  --muted-dim: #7180a3;

  --radius: 22px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
section { position: relative; }

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 900px 500px at 15% -5%, rgba(47,95,214,0.07), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(228,47,143,0.05), transparent 60%);
}

.wrap { max-width: 1180px; margin: 0 auto; padding-left: 28px; padding-right: 28px; position: relative; z-index: 1; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding-left: 28px; padding-right: 28px; position: relative; z-index: 1; }

/* Alternate light-blue section band, used to create rhythm without going dark */
.bg-alt { background: var(--bg-alt); }

/* ── Type ── */
.eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--pink-ink); margin: 0 0 14px;
}
h1, h2, h3, h4 { font-weight: 800; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
.h-display { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.h-section { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.15; }
.lede { color: var(--muted); font-size: 15px; max-width: 540px; }
.grad-text {
  background: linear-gradient(90deg, var(--pink-600), var(--blue-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── Nav (dark band — bookend #1) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(7,15,40,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  --muted: #a9b6d6;      /* local override: readable on dark nav */
  --muted-dim: #7d8ab0;
}
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 0 28px; height: 68px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 17px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-logo .a { color: var(--white); }
.nav-logo .b { color: var(--pink-400); }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.nav-links a { transition: color .2s; padding: 4px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { color: var(--pink-400); border-bottom: 2px solid var(--pink-500); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-social { color: var(--muted); font-size: 14px; transition: color .2s; }
.nav-social:hover { color: var(--blue-300); }
.nav-cta {
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--pink-600); color: var(--white); padding: 10px 20px; border-radius: 999px;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--pink-500); transform: translateY(-1px); }
.nav-burger { display: none; color: var(--white); font-size: 18px; background: none; border: none; cursor: pointer; padding: 6px; }
@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--navy-900); border-bottom: 1px solid var(--border-dark);
    padding: 18px 28px 22px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; width: 100%; }
  .nav-burger { display: block; }
  .nav-cta { display: none; }
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 999px;
  font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--pink-600); color: var(--white); border: none; cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--pink-500); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 999px;
  font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1.5px solid var(--blue-500); color: var(--ink); background: transparent;
  transition: border-color .2s, background .2s;
}
.btn-ghost:hover { background: rgba(47,95,214,0.08); border-color: var(--blue-600); }

/* ── Cards ── */
.card {
  background: linear-gradient(180deg, #ffffff, var(--bg-alt));
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(15,35,90,0.05);
  transition: border-color .25s, transform .22s, box-shadow .25s;
}
.card:hover { border-color: var(--blue-400); transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,35,90,0.1); }
.pill { display: inline-block; padding: 4px 13px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.pill-pink { background: rgba(228,47,143,0.12); color: var(--pink-ink); border: 1px solid rgba(228,47,143,0.3); }
.pill-blue { background: rgba(47,95,214,0.12); color: var(--blue-ink); border: 1px solid rgba(47,95,214,0.32); }

/* ── Divider ── */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); max-width: 1180px; margin: 0 auto; }

/* ── Stat tile ── */
.stat-n { font-size: 2.3rem; font-weight: 800; color: var(--ink); line-height: 1; }
.stat-n .accent { color: var(--pink-600); }
.stat-l { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dim); margin-top: 6px; }

/* ── Step number ── */
.step-num {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--pink-600), var(--blue-500));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: var(--white);
}

/* ── Editable placeholder blocks ── */
.editable-placeholder {
  border: 1.5px dashed var(--pink-500);
  border-radius: var(--radius-sm);
  background: rgba(228,47,143,0.045);
  position: relative;
}
.editable-tag {
  position: absolute; top: -13px; left: 18px;
  background: var(--pink-600); color: var(--white);
  font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.editable-note { color: var(--muted); font-size: 12px; font-style: italic; }

/* ── Video / media containers ── */
.media-16-9 { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); }
.media-16-9 iframe, .media-16-9 video { position: absolute; inset: 0; width: 100%; height: 100%; }
.compare { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); cursor: ew-resize; }
.compare video { width: 100%; height: 100%; object-fit: cover; display: block; }
.compare-mask { position: absolute; top: 0; left: 0; height: 100%; z-index: 5; border-right: 3px solid var(--pink-500); overflow: hidden; will-change: width; }
.compare-mask video { min-width: 100%; max-width: none; height: 100%; object-fit: cover; }
.compare-tag { position: absolute; bottom: 16px; z-index: 10; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.compare-tag.left { left: 16px; background: rgba(7,15,40,0.75); color: #fff; border: 1px solid var(--border-dark); backdrop-filter: blur(6px); }
.compare-tag.right { right: 16px; background: var(--pink-600); color: var(--white); }

/* ── Forms ── */
label.field-label { display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dim); margin-bottom: 8px; }
input, textarea, select {
  width: 100%; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--ink); padding: 13px 16px; font-family: inherit; font-size: 13px; outline: none;
  transition: border-color .2s;
}
input::placeholder, textarea::placeholder { color: var(--muted-dim); }
input:focus, textarea:focus, select:focus { border-color: var(--pink-500); }
select option { background: var(--bg); color: var(--ink); }

/* ── Footer (dark band — bookend #2) ── */
footer {
  border-top: 1px solid var(--border-dark); padding: 56px 24px 36px;
  background: var(--navy-900);
  --muted: #a9b6d6;
  --muted-dim: #7d8ab0;
}
.footer-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h5 { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dim); margin: 0 0 14px; }
.footer-grid p, .footer-grid a { color: var(--muted); font-size: 13px; }
.footer-grid a:hover { color: var(--pink-400); }
.footer-social { display: flex; gap: 18px; margin-top: 16px; }
.footer-social a { font-size: 16px; color: var(--muted); transition: color .2s; }
.footer-social a:hover { color: var(--pink-400); }
.footer-bottom { max-width: 1180px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--border-dark); font-size: 11px; color: var(--muted-dim); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── WhatsApp floating button ── */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 400; }
.wa-float a {
  background: #25d366; color: #fff; padding: 14px 20px 14px 16px; border-radius: 999px;
  display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 13px;
  box-shadow: 0 8px 30px rgba(37,211,102,0.35); transition: transform .15s, background .2s;
}
.wa-float a:hover { transform: scale(1.04); background: #1ebe5e; }

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ── Section spacing ── */
.section { padding: 100px 0; }
.section-tight { padding: 64px 0; }
@media (max-width: 700px) { .section { padding: 72px 0; } }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-400); }

/* ── Logo strip (editable / powered-by badges) ── */
.logo-strip { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.logo-slot {
  width: 140px; height: 70px; display: flex; align-items: center; justify-content: center;
  color: var(--muted-dim); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1.5px dashed var(--border); border-radius: var(--radius-sm); text-align: center; padding: 8px;
  background: var(--bg);
}
.logo-slot.solid { border-style: solid; border-color: var(--blue-300); color: var(--ink); background: var(--bg-alt); }
