/*
Theme Name: LeadNet
Description: Marketing site for the LeadNet pay-per-call network. Pairs with the LeadNet plugin (partner panels at /panel/).
Version: 1.2.0
Requires PHP: 8.0
Text Domain: leadnet-theme
*/

:root {
	--navy: #0f1b2d;
	--navy-2: #17283f;
	--ink: #142033;
	--text: #3a4757;
	--muted: #6b7684;
	--line: #e3e8ef;
	--bg-soft: #f5f7fb;
	--accent: #15803d;
	--accent-600: #166534;
	--blue: #1e6fd9;
	--green: #17895b;
	--radius: 14px;
	--wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: #fff; }
a { color: var(--blue); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 750; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.ms { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; display: inline-block; vertical-align: middle; -webkit-font-smoothing: antialiased; font-feature-settings: "liga"; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: background .15s, transform .15s, border-color .15s; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-600); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline { border-color: #cfd7e1; color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand-mark { width: 42px; height: 42px; flex: none; background: url(assets/img/logo-icon.png) center / contain no-repeat; }
.main-nav { flex: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.main-nav a { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--accent); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .login { color: var(--ink); font-weight: 600; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 480px at 92% 0%, rgba(30,111,217,.09), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(22,163,74,.08), transparent 60%), linear-gradient(180deg, #f5f8fd 0%, #fff 100%); color: var(--text); padding: 80px 0 96px; }
.hero h1 { color: var(--ink); max-width: 820px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 20px; max-width: 640px; color: var(--text); margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-visual { position: relative; }
.hero-photo { display: block; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px rgba(15,27,45,.14); }
.hero-visual.has-photo .hero-card { position: absolute; left: -36px; bottom: -28px; width: min(340px, 82%); }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; color: var(--text); box-shadow: 0 18px 44px rgba(15,27,45,.12); }
.hero-card h3 { color: var(--ink); font-size: 15px; letter-spacing: 0; margin-bottom: 10px; display: flex; justify-content: space-between; }
.call-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.35; }
.call-row .ms { color: var(--green); }
.call-row strong { color: var(--ink); font-weight: 600; }
.call-row span:last-child { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--muted); }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: #e3f5ec; color: var(--green); }
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.badge { border-top: 2px solid var(--line); padding-top: 14px; }
.badge strong { display: block; color: var(--ink); font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.badge span { font-size: 14px; }

/* Sections */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: #f4f8fd; color: var(--text); }
.section-dark h2, .section-dark h3 { color: var(--ink); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { font-size: 18px; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .ms { font-size: 30px; color: var(--accent); margin-bottom: 14px; }
.card p { color: var(--muted); margin: 0; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.industry { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 600; color: var(--ink); }
.ind-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.ind-photo { position: relative; margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.ind-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s ease; }
.ind-photo:hover img { transform: scale(1.04); }
.ind-photo figcaption { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 700; color: var(--ink); }
.ind-photo figcaption .ms { color: var(--blue); }
.industry .ms { color: var(--blue); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-card { border-radius: 18px; padding: 40px; color: var(--text); background: #f4f8fd; border: 1px solid #dce7f6; }
.split-card.alt { background: #f0fdf4; border-color: #bbf7d0; color: var(--text); }
.split-card h3 { color: var(--ink); font-size: 28px; }
.split-card ul { padding: 0; list-style: none; margin: 18px 0 26px; }
.split-card li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.split-card li .ms { font-size: 20px; color: var(--green); }
.split-card.alt li .ms { color: var(--accent); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 22px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.plan.popular { border: 2px solid var(--accent); box-shadow: 0 18px 40px rgba(21,128,61,.14); }
.plan-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; white-space: nowrap; }
.plan-name { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plan-calls { font-size: 46px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.plan-calls small { font-size: 16px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan-price { font-size: 24px; font-weight: 800; color: var(--ink); }
.plan-rate { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 14px; }
.plan-rate b { color: var(--green); }
.fine { font-size: 14px; color: var(--muted); text-align: center; margin-top: 24px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, #eef5ff, #edfbf2); border: 1px solid var(--line); border-radius: 22px; padding: 56px; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--ink); margin: 0 0 8px; }

/* Content pages */
.page-hero { background: radial-gradient(800px 400px at 95% 0%, rgba(30,111,217,.08), transparent 60%), linear-gradient(180deg, #f5f8fd 0%, #fff 100%); color: var(--text); padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.page-hero-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 50px rgba(15,27,45,.12); }
.page-hero h1 { color: var(--ink); font-size: clamp(32px, 4.4vw, 52px); }
.page-hero p { font-size: 19px; max-width: 680px; }
.entry { padding: 64px 0; }
.entry-content { max-width: 760px; }
.entry-content h2 { font-size: 28px; margin-top: 1.6em; }
.post-list article { padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-list h2 { font-size: 24px; margin: 4px 0 8px; }
.post-list h2 a { color: var(--ink); text-decoration: none; }
.meta { font-size: 14px; color: var(--muted); }

/* Contact form */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: 0 20px 50px rgba(15,27,45,.08); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd7e1; border-radius: 10px; font: inherit; font-size: 15px; background: #fff; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #e6f0fd; }
.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; }
.notice-ok { background: #e3f5ec; color: #0f5f3f; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { display: flex; gap: 12px; margin-bottom: 14px; align-items: center; }
.contact-list .ms { color: var(--accent); }

/* Footer */
.site-footer { background: #f7f9fc; border-top: 1px solid var(--line); color: var(--muted); padding: 64px 0 28px; font-size: 15px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--ink); font-size: 15px; letter-spacing: 0; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.site-footer .brand { color: var(--ink); margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }

@media (max-width: 980px) {
	.hero-grid, .split, .grid-2, .page-hero-grid { grid-template-columns: 1fr; }
	.ind-photos { grid-template-columns: repeat(2, 1fr); }
	.hero-visual { max-width: 560px; }
	.hero-visual.has-photo .hero-card { left: 16px; }
	.grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
	.badges { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.main-nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; padding: 12px 16px 18px; }
	.main-nav.open { display: block; }
	.main-nav ul { flex-direction: column; gap: 14px; }
	.nav-toggle { display: inline-flex; margin-left: auto; }
	.header-cta .btn { display: none; }
}
@media (max-width: 600px) {
	.section { padding: 64px 0; }
	.hero { padding: 64px 0 72px; }
	.grid-3, .grid-4, .footer-grid, .ind-photos { grid-template-columns: 1fr; }
	.hero-visual.has-photo .hero-card { position: static; width: 100%; margin-top: 16px; }
	.cta-band { padding: 32px 24px; }
	.split-card { padding: 28px; }
	.header-cta .login { display: none; }
}
