/* ===== NexGen Marketers – shared styles ===== */
:root {
  --accent: #D5121E;        /* logo red, slightly darkened for readable white text */
  --accent-hover: #B00E18;
  --logo-red: #EE1A26;
  --ink: #022A68;           /* logo navy */
  --ink-2: #0C3A82;
  --ink-deep: #011B45;
  --bg: #F5F7FB;
  --line: #DCE3EF;
  --muted: #4A5570;
  --muted-dark: #C3CEE4;
  --tint: #E9EEF7;
  --red-tint: #FDE8E9;
  --highlight: #FF6B72;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.section { padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 104px); }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 50px); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: 18px; color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head > div { max-width: 720px; }
.section-head .h2 { margin-top: 16px; }
.section-head > p { max-width: 440px; }
.dark { background: var(--ink); color: #F5F7FB; }
.dark .kicker { color: var(--highlight); }
.dark .lead, .dark .section-head > p { color: var(--muted-dark); }
.tint { background: var(--tint); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: background-color .15s, color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tint); }
.btn-dark { background: var(--ink); color: #fff; min-height: 46px; padding: 0 22px; font-size: 16px; }
.btn-dark:hover { background: var(--ink-deep); color: #fff; }
.text-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 16px; }
.logo img { height: 44px; width: auto; }
.menu { display: flex; align-items: center; gap: 32px; font-weight: 500; }
.menu > a, .dropdown > button { text-decoration: none; background: none; border: 0; font: inherit; color: var(--ink); cursor: pointer; padding: 8px 0; }
.menu > a:hover, .dropdown > button:hover, .menu a[aria-current="page"] { color: var(--accent); }
.dropdown { position: relative; }
.dropdown > button::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.dropdown-panel { position: absolute; top: calc(100% + 12px); left: -20px; width: 300px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(2, 42, 104, .12); display: none; }
.dropdown:hover .dropdown-panel, .dropdown:focus-within .dropdown-panel, .dropdown.open .dropdown-panel { display: block; }
.dropdown-panel::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.dropdown-panel a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.dropdown-panel a:hover { background: var(--tint); }
.dropdown-panel small { display: block; color: var(--muted); font-size: 14px; }
.dropdown-panel hr { border: 0; border-top: 1px solid var(--line); margin: 8px 6px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 980px) {
  .burger { display: inline-flex; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(2, 42, 104, .08); max-height: calc(100vh - 80px); overflow-y: auto; }
  .menu.open { display: flex; }
  .menu > a, .dropdown > button { padding: 14px 0; width: 100%; text-align: left; border-bottom: 1px solid var(--line); }
  .dropdown-panel { position: static; width: auto; display: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; }
  .dropdown:hover .dropdown-panel { display: none; }
  .dropdown.open .dropdown-panel { display: block; }
  .menu .btn { margin-top: 16px; }
}
@media (max-width: 480px) { .logo img { height: 36px; } }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.pill { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--tint); color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.hero h1, .page-hero h1 { font-family: var(--serif); font-size: clamp(40px, 5.4vw, 72px); line-height: 1.04; font-weight: 600; letter-spacing: -0.02em; margin: 24px 0; }
.hero .lead, .page-hero .lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 580px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.panel { background: var(--ink); color: #F5F7FB; border-radius: 28px; padding: clamp(28px, 3vw, 40px); }
.panel-label { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #AFC0E0; }
.panel h2 { font-family: var(--serif); font-size: clamp(24px, 2.3vw, 30px); line-height: 1.2; font-weight: 600; margin: 14px 0 22px; }
.panel-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; background: var(--ink-2); margin-top: 12px; }
.panel-row span:first-child { color: #AFC0E0; font-size: 15px; }
.panel-row span:last-child { font-weight: 700; text-align: right; }
.panel-row .big { font-family: var(--serif); font-size: 26px; color: #fff; }
.panel-row .hl { color: var(--highlight); }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; } }

/* Page hero (inner pages) */
.page-hero { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.page-hero.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.crumbs { font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); }
@media (max-width: 960px) { .page-hero.split { grid-template-columns: 1fr; } }

/* Cards & grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 21px; font-weight: 600; line-height: 1.3; }
.card p { color: var(--muted); font-size: 16px; }
a.card { text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
a.card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(2, 42, 104, .08); }
.card .more { margin-top: auto; padding-top: 8px; color: var(--accent); font-weight: 600; font-size: 16px; }
.icon { width: 56px; height: 56px; border-radius: 16px; background: var(--red-tint); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon svg { width: 28px; height: 28px; stroke: var(--accent); }
.dark-card { background: var(--ink-2); border-radius: 22px; padding: 32px; }
.dark-card .num { font-family: var(--serif); font-size: 52px; font-weight: 700; line-height: 1; color: var(--highlight); }
.dark-card h3 { font-size: 21px; line-height: 1.35; font-weight: 600; margin: 18px 0 10px; }
.dark-card p { color: var(--muted-dark); font-size: 16px; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ''; flex-shrink: 0; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.stat strong { display: block; font-family: var(--serif); font-size: 36px; line-height: 1.1; color: var(--ink); }
.stat span { font-size: 15px; color: var(--muted); }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* Photo */
.about { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-text > * + * { margin-top: 22px; }
.photo { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; }
.photo::before { content: ''; position: absolute; inset: 7% -5% -5% 7%; border-radius: 50%; background: var(--ink); }
.photo::after { content: ''; position: absolute; width: 16%; aspect-ratio: 1; top: 2%; right: 4%; border-radius: 50%; background: var(--logo-red); }
.photo img { position: relative; width: 100%; height: 100%; border-radius: 50%; border: 8px solid #fff; background: #fff; object-fit: cover; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .photo { max-width: 300px; width: calc(100% - 24px); } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Video testimonials */
.video-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.video { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%); display: flex; align-items: center; justify-content: center; color: #fff; }
.video .play { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.video .play svg { width: 28px; height: 28px; margin-left: 4px; fill: #fff; }
.video .soon { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 14px; color: #AFC0E0; }
.video button { all: unset; position: absolute; inset: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.video button:focus-visible { outline: 3px solid var(--logo-red); outline-offset: -3px; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-meta { padding: 20px 24px; }
.video-meta b { display: block; font-size: 18px; }
.video-meta span { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 32px 20px 0; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* Two-column feature */
.split { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: clamp(40px, 6vw, 88px); }
.split-intro > * + * { margin-top: 20px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--accent); color: #fff; border-radius: 32px; padding: clamp(32px, 5.5vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 32px 56px; align-items: center; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); line-height: 1.08; font-weight: 600; }
.cta-band p { margin-top: 16px; max-width: 560px; font-size: 19px; color: #FFECEC; }
.cta-band .ctas { margin-top: 0; }
.cta-band .btn-outline { border-color: #fff; color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--accent); }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-weight: 400; color: var(--ink); padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.form textarea { min-height: 140px; resize: vertical; }
.form .note { font-size: 14px; color: var(--muted); }
.contact-link { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: 20px; padding: 20px 24px; text-decoration: none; }
.contact-link + .contact-link { margin-top: 14px; }
.contact-link:hover { border-color: var(--ink); }
.contact-link small { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #5A6480; }
.contact-link b { display: block; font-size: 19px; word-break: break-word; }
.contact-link svg { width: 26px; height: 26px; stroke: var(--accent); flex-shrink: 0; }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-size: 28px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }

/* Footer */
footer.site { background: var(--ink-deep); color: #C3CEE4; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.foot-grid h3 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid a { color: #C3CEE4; text-decoration: none; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-brand img { height: 40px; width: auto; background: #fff; padding: 8px 12px; border-radius: 10px; box-sizing: content-box; }
.foot-brand p { margin-top: 18px; max-width: 320px; font-size: 16px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; padding-top: 24px; padding-bottom: 28px; font-size: 15px; }
.foot-bottom a { color: #C3CEE4; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
