/* =========================================================
   Vafinity — Vantage Marketing Inc.
   Redesign. Palette & type preserved from original brand.
   ========================================================= */

:root {
  /* Brand palette (carried over from original site) */
  --navy-900: #0e1622;
  --navy-800: #131c2d;
  --navy-700: #1b2740;
  --navy-600: #20303c;
  --steel:    #5d6a83;
  --steel-200:#adc0d8;
  --coral:    #f96770;
  --coral-600:#fc5c65;
  --coral-700:#e94e57;
  --peach:    #f5d0c6;
  --ink:      #131c2d;
  --muted:    #6f757f;
  --line:     #e7eaf0;
  --bg:       #ffffff;
  --bg-soft:  #f6f8fc;
  --white:    #ffffff;

  --grad-coral: linear-gradient(135deg, #f96770 0%, #fc5c65 100%);
  --grad-navy:  linear-gradient(160deg, #131c2d 0%, #0e1622 60%, #1b2740 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(19, 28, 45, .06);
  --shadow:    0 18px 50px rgba(19, 28, 45, .12);
  --shadow-coral: 0 14px 30px rgba(249, 103, 112, .35);

  --container: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.bg-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--coral);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--grad-coral);
}
.eyebrow--center { justify-content: center; }

h1, h2, h3 { font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--navy-800); }
h2.section-title { font-size: clamp(30px, 4.4vw, 48px); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--steel); max-width: 56ch; }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  padding: 15px 28px; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-coral); color: #fff; box-shadow: var(--shadow-coral); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(249, 103, 112, .45); }
.btn--ghost { background: transparent; color: var(--navy-800); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--navy-800); transform: translateY(-3px); }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.btn--outline-light:hover { border-color: #fff; transform: translateY(-3px); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(19,28,45,.05); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
/* On desktop the wrapper is transparent — its children flow into nav__inner
   exactly as before. On mobile it becomes the collapsible dropdown panel. */
.nav__menu { display: contents; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: var(--navy-800); }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad-coral);
  display: grid; place-items: center; color: #fff; font-size: 17px; box-shadow: var(--shadow-coral);
}
.brand__mark svg { width: 19px; height: 19px; }
.nav__links { display: flex; align-items: center; gap: 8px; }
.nav__links a {
  font-weight: 600; font-size: 15px; color: var(--steel);
  padding: 9px 16px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--navy-800); background: var(--bg-soft); }
.nav__links a.active { color: var(--navy-800); }
.nav__social {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--steel);
  transition: color .2s, background .2s;
}
.nav__social:hover { color: var(--coral); background: var(--bg-soft); }
.nav__social svg { width: 17px; height: 17px; }
.nav__cta { margin-left: 4px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); }
.nav__toggle span { display:block; width: 20px; height: 2px; background: var(--navy-800); margin: 4px auto; border-radius: 2px; transition: .3s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background: var(--grad-navy);
  padding: 132px 0 124px;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none;
}
.hero__blob1 { position:absolute; width: 560px; height: 560px; right: -160px; top: -180px;
  background: radial-gradient(circle at 30% 30%, rgba(249,103,112,.55), rgba(249,103,112,0) 60%);
  pointer-events:none; }
.hero__blob2 { position:absolute; width: 520px; height: 520px; left: -200px; bottom: -220px;
  background: radial-gradient(circle at 50% 50%, rgba(173,192,216,.30), rgba(173,192,216,0) 60%);
  pointer-events:none; }
.hero__grid {
  position:absolute; inset:0; opacity:.5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 820px; }
.hero__badge {
  display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600;
  padding: 7px 15px 7px 11px; border-radius: 999px; margin-bottom: 26px;
  background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); color: var(--steel-200);
}
.hero__badge .dot { width:7px; height:7px; border-radius:50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(249,103,112,.25); }
.hero h1 {
  color: #fff; font-size: clamp(40px, 6.4vw, 74px); line-height: 1.02; letter-spacing: -.03em;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--coral) 0%, var(--peach) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: rgba(255,255,255,.74); margin-top: 24px; max-width: 50ch; }

/* inline capture form */
.capture { margin-top: 40px; max-width: 520px; }
.capture__row { display: flex; gap: 10px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14); padding: 8px; border-radius: 999px; }
.capture__row input {
  flex: 1; background: transparent; border: 0; outline: none; color: #fff;
  font-family: inherit; font-size: 15px; padding-left: 16px;
}
.capture__row input::placeholder { color: rgba(255,255,255,.5); }
.capture__note { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 14px; padding-left: 6px; }
.capture__success { display:none; margin-top: 16px; color: var(--peach); font-weight:600; }
.capture.is-done .capture__success { display:block; }

.hero__stats { display:flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero__stat .n { font-size: 34px; font-weight: 800; color:#fff; letter-spacing:-.02em; }
.hero__stat .l { font-size: 13.5px; color: var(--steel-200); }

/* ---------- Logos / trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust__inner { display:flex; align-items:center; gap: 40px; flex-wrap: wrap; justify-content: space-between; padding: 30px 0; }
.trust__label { font-size: 13px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color: var(--muted); }
.trust__items { display:flex; gap: 34px; flex-wrap: wrap; align-items:center; }
.trust__items span { font-weight: 800; font-size: 18px; color: var(--steel); letter-spacing:-.01em; opacity:.7; }

/* ---------- Cards / services ---------- */
.grid { display:grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(249,103,112,.12), rgba(252,92,101,.12));
  color: var(--coral); margin-bottom: 22px;
}
.card__icon svg { width: 27px; height: 27px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--steel); font-size: 15.5px; }
.card__num { position:absolute; top: 20px; right: 24px; font-size: 52px; font-weight: 800; color: var(--bg-soft); letter-spacing:-.04em; }
.card__link { display:inline-flex; align-items:center; gap:7px; margin-top:18px; font-weight:700; font-size:14.5px; color: var(--coral); }
.card__link svg { width:16px; height:16px; transition: transform .25s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* ---------- Split / about ---------- */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:center; }
.split__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 440px;
  background: var(--grad-navy); box-shadow: var(--shadow);
}
.split__media .glow { position:absolute; width: 360px; height:360px; border-radius:50%;
  background: radial-gradient(circle, rgba(249,103,112,.5), transparent 65%); top:-80px; right:-80px; }
.split__media .glow2 { position:absolute; width: 300px; height:300px; border-radius:50%;
  background: radial-gradient(circle, rgba(173,192,216,.35), transparent 65%); bottom:-70px; left:-70px; }
.profile-card {
  position:absolute; inset: 0; display:flex; flex-direction:column; justify-content:flex-end;
  padding: 38px; color:#fff; z-index: 3;
}
.profile-card .avatar {
  width: 88px; height: 88px; border-radius: 50%; background: var(--grad-coral);
  display:grid; place-items:center; font-size: 34px; font-weight:800; color:#fff;
  box-shadow: var(--shadow-coral); margin-bottom: auto;
}
.profile-card h3 { color:#fff; font-size: 26px; }
.profile-card .role { color: var(--steel-200); font-weight:600; font-size:14.5px; margin-top:4px; }

/* Photo variant — branded client illustration */
.split__media--photo { background: #171a21; }
.split__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 18%; z-index: 1;
}
.split__media--photo .profile-card {
  background: linear-gradient(180deg, transparent 45%, rgba(14,22,34,.55) 70%, rgba(14,22,34,.94) 100%);
}

.checklist { margin-top: 26px; display:grid; gap: 14px; }
.checklist li { display:flex; gap: 13px; align-items:flex-start; font-size: 16px; color: var(--ink); font-weight:500; }
.checklist .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(249,103,112,.12);
  color: var(--coral); display:grid; place-items:center; margin-top: 2px;
}
.checklist .tick svg { width: 13px; height:13px; }

/* ---------- Process steps ---------- */
.steps { display:grid; grid-template-columns: repeat(4,1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 20px; }
.step__n {
  width: 46px; height: 46px; border-radius: 13px; background: var(--navy-800); color:#fff;
  display:grid; place-items:center; font-weight:800; font-size: 18px; margin-bottom: 18px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--steel); font-size: 15px; }

/* ---------- Testimonial ---------- */
.quote {
  max-width: 860px; margin-inline:auto; text-align:center;
}
.quote__stars { color: var(--coral); letter-spacing: 4px; font-size: 18px; margin-bottom: 22px; }
.quote blockquote { font-size: clamp(22px, 3vw, 30px); font-weight: 700; line-height: 1.4; color: var(--navy-800); letter-spacing:-.01em; }
.quote__author { margin-top: 26px; font-weight:700; }
.quote__author span { display:block; color: var(--muted); font-weight:500; font-size:14.5px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow:hidden; color:#fff; border-radius: var(--radius-lg);
  background: var(--grad-navy); padding: 64px 56px; box-shadow: var(--shadow); }
.cta-band__blob { position:absolute; width:440px; height:440px; border-radius:50%; right:-120px; top:-160px;
  background: radial-gradient(circle, rgba(249,103,112,.45), transparent 62%); }
.cta-band__inner { position:relative; z-index:2; display:flex; align-items:center; justify-content:space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { color:#fff; font-size: clamp(26px, 3.4vw, 40px); max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.72); margin-top: 12px; max-width: 46ch; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display:block; font-size: 13px; font-weight:700; color: var(--navy-800); margin-bottom: 8px; letter-spacing:.01em; }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 15.5px; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-soft); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--coral); background: #fff; box-shadow: 0 0 0 4px rgba(249,103,112,.12);
}
.field--row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
  display:none; align-items:center; gap:12px; margin-top: 6px; padding: 14px 16px;
  background: rgba(249,103,112,.10); color: var(--coral-700); border-radius: var(--radius-sm); font-weight:600; font-size:14.5px;
}
.form-success.show { display:flex; }

/* ---------- Contact info ---------- */
.info-list { display:grid; gap: 14px; }
.info-item { display:flex; gap: 16px; align-items:flex-start; padding: 20px 22px; border:1px solid var(--line);
  border-radius: var(--radius); background:#fff; transition: border-color .25s, transform .25s; box-shadow: var(--shadow-sm); }
.info-item:hover { border-color: var(--coral); transform: translateY(-3px); }
.info-item__ic { flex:none; width: 46px; height:46px; border-radius: 12px; background: var(--grad-coral); color:#fff; display:grid; place-items:center; }
.info-item__ic svg { width: 20px; height:20px; }
.info-item .k { font-size: 12.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color: var(--muted); }
.info-item .v { font-weight:600; color: var(--navy-800); font-size: 16px; }
.info-item .v a:hover { color: var(--coral); }

/* page hero (interior) */
.page-hero { background: var(--grad-navy); color:#fff; padding: 116px 0 80px; position:relative; overflow:hidden; }
.page-hero__blob { position:absolute; width:480px; height:480px; right:-140px; top:-160px; border-radius:50%;
  background: radial-gradient(circle, rgba(249,103,112,.40), transparent 62%); }
.page-hero .container { position:relative; z-index:2; }
.page-hero h1 { color:#fff; font-size: clamp(36px, 5.4vw, 60px); }
.page-hero p { color: rgba(255,255,255,.72); margin-top: 16px; max-width: 54ch; font-size: 18px; }
.crumbs { font-size: 13.5px; color: var(--steel-200); margin-bottom: 18px; font-weight:600; }
.crumbs a:hover { color:#fff; }
.crumbs span { opacity:.5; margin: 0 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 72px 0 32px; }
.footer__top { display:grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .brand { color:#fff; margin-bottom: 16px; }
.footer__about { max-width: 38ch; font-size: 15px; }
.footer h4 { color:#fff; font-size: 14px; letter-spacing:.06em; text-transform:uppercase; margin-bottom: 18px; }
.footer__links li { margin-bottom: 11px; }
.footer__links a { font-size: 15px; transition: color .2s; }
.footer__links a:hover { color: var(--coral); }
.footer__bottom { display:flex; align-items:center; justify-content:space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13.5px; }
.footer__social { display:flex; gap: 10px; }
.footer__social a { width: 38px; height:38px; border-radius: 10px; background: rgba(255,255,255,.06); display:grid; place-items:center; color:#fff; transition: background .25s, transform .25s; }
.footer__social a:hover { background: var(--grad-coral); transform: translateY(-3px); }
.footer__social svg { width: 17px; height:17px; }

/* ---------- Reveal on scroll ----------
   Only hide when JS is active (.js on <html>). With no JS — or if the
   scroll observer ever misses — content stays fully visible. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split__media { min-height: 360px; order: -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 76px 0; }
  /* Collapse the entire menu (links + LinkedIn + CTA) behind the toggle. */
  .nav__menu { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px; box-shadow: var(--shadow);
  }
  .nav.open .nav__links { flex-direction: column; gap: 2px; width: 100%; }
  .nav.open .nav__links a { width: 100%; }
  .nav.open .nav__social { width: 100%; justify-content: flex-start; margin: 4px 0; }
  .nav.open .nav__cta { width: 100%; justify-content: center; margin: 8px 0 0; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .capture__row { flex-direction: column; background: transparent; border: 0; padding: 0; gap: 12px; }
  .capture__row input { background: rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 15px 20px; }
  .capture__row .btn { width: 100%; }
  .cta-band { padding: 44px 28px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .hero__stats { gap: 26px; }
  .footer__top { grid-template-columns: 1fr; }
  .form-card { padding: 26px; }
}
