/* ===========================================================
   Wes Marketing — shared design system
   Modern black & white. Vanilla CSS, no build step.
   =========================================================== */

:root {
  --black: #0a0a0a;
  --black-soft: #121214;
  --white: #ffffff;
  --grey: #a0a0a8;
  --grey-dim: #6b6b73;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);

  --max: 1180px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.02em; font-weight: 800; }

.display {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
  margin-bottom: 18px;
}

.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--grey); max-width: 60ch; }

.section-title { font-size: clamp(2rem, 4.5vw, 3.2rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1.5px solid var(--white);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover { transform: translateY(-2px); background: var(--grey); border-color: var(--grey); }
.btn-ghost { background: transparent; color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); transform: translateY(-2px); }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 10, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand-logo { height: 26px; width: auto; display: block; }
.brand-text { font-weight: 800; letter-spacing: -0.02em; font-size: 1.1rem; }
.brand .muted { color: var(--grey); font-weight: 500; }
.footer .brand-logo { height: 30px; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a.link {
  font-size: 0.95rem; color: var(--grey); font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a.link:hover, .nav-links a.link.active { color: var(--white); }
.nav-links a.link.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--white); border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--white);
  margin: 5px auto; transition: 0.3s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(70px, 12vw, 150px) 0 clamp(60px, 9vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 70% -10%, rgba(255,255,255,0.10), transparent 60%);
  pointer-events: none;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 38px; }
.hero-meta { margin-top: 46px; display: flex; gap: 40px; flex-wrap: wrap; }
.hero-meta .stat .num { font-size: 1.9rem; font-weight: 800; }
.hero-meta .stat .label { font-size: 0.85rem; color: var(--grey); letter-spacing: 0.04em; }

/* ---------- Sections ---------- */
section { padding: clamp(60px, 9vw, 110px) 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }

/* ---------- Service cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); background: rgba(255,255,255,0.05); }
.card .icon {
  width: 50px; height: 50px; border-radius: 12px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center; margin-bottom: 22px;
  font-size: 1.4rem;
}
.card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.card p { color: var(--grey); font-size: 0.98rem; }

/* ---------- Detailed offer blocks ---------- */
.offer-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.offer-block:last-child { border-bottom: 1px solid var(--line); }
.offer-block .num-tag {
  font-size: 0.8rem; letter-spacing: 0.2em; color: var(--grey-dim);
  font-weight: 600; text-transform: uppercase;
}
.offer-block h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 10px 0 16px; }
.offer-block p { color: var(--grey); margin-bottom: 24px; }
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: #d8d8dc; }
.check-list li::before {
  content: "→"; color: var(--white); font-weight: 700; flex-shrink: 0;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.photo-frame {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 12px, transparent 12px 24px),
    var(--black-soft);
  display: grid; place-items: center; text-align: center;
  color: var(--grey-dim);
  position: relative;
}
.photo-frame span { font-size: 0.85rem; letter-spacing: 0.1em; padding: 0 20px; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 40px; }
.value h4 { font-size: 1.05rem; margin-bottom: 6px; }
.value p { color: var(--grey); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(44px, 7vw, 80px);
  text-align: center;
  background: radial-gradient(700px 320px at 50% 0%, rgba(255,255,255,0.08), transparent 70%);
}
.cta-band h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 18px; }
.cta-band p { color: var(--grey); max-width: 50ch; margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 54px 0 40px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
.footer .brand { font-size: 1.05rem; }
.footer p { color: var(--grey-dim); font-size: 0.88rem; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--grey); font-size: 0.92rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* ---------- Apply / form ---------- */
.apply-wrap {
  min-height: calc(100vh - 70px);
  display: grid;
  place-items: center;
  padding: 60px 0;
}
.form-card {
  width: 100%;
  max-width: 540px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(32px, 5vw, 50px);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
}
.form-card .eyebrow { margin-bottom: 12px; }
.form-card h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.form-card .sub { color: var(--grey); margin-bottom: 34px; }

.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 9px; color: #e6e6ea; }
.field input, .field select {
  width: 100%;
  background: var(--black-soft);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  padding: 14px 16px;
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.field input::placeholder { color: var(--grey-dim); }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.10);
}
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23a0a0a8' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field .err { color: #ff6b6b; font-size: 0.82rem; margin-top: 7px; display: none; }
.field.invalid input, .field.invalid select { border-color: #ff6b6b; }
.field.invalid .err { display: block; }

.form-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { text-align: center; color: var(--grey-dim); font-size: 0.82rem; margin-top: 18px; }

/* ---------- Success state ---------- */
.success { text-align: center; display: none; }
.success.show { display: block; animation: rise 0.5s var(--ease); }
.success .tick {
  width: 76px; height: 76px; border-radius: 50%;
  border: 2px solid var(--white); display: grid; place-items: center;
  margin: 0 auto 26px; font-size: 2rem;
}
.success h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 14px; }
.success p { color: var(--grey); margin-bottom: 32px; }
.ig-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px; border-radius: 100px;
  background: var(--white); color: var(--black); font-weight: 700;
  transition: transform 0.25s var(--ease);
}
.ig-btn:hover { transform: translateY(-2px) scale(1.02); }
.ig-btn svg { width: 22px; height: 22px; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .grid-3 { grid-template-columns: 1fr; }
  .offer-block { grid-template-columns: 1fr; gap: 20px; padding: 44px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .values { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 8px 0 18px;
    transform: translateY(-130%);
    transition: transform 0.35s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a.link { padding: 16px 24px; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a.link.active::after { display: none; }
  .nav-links .btn { margin: 16px 24px 0; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
