/*
 * Sonic campaign landing pages — scoped styles (sonic-lp- namespace)
 * Ported from SonicLanding Creator design: Pancetta Pro, Sonic Red #E30613,
 * white/light-grey surfaces, dark support band #2B2E30.
 * Bump the enqueue version in functions.php on EVERY change (cache lesson).
 * v1.0.0 — Oct 22 2026, dealership campaign.
 */

@font-face {
	font-family: 'Pancetta Pro';
	src: url('../fonts/PancettaPro-Regular.woff2') format('woff2'),
	     url('../fonts/PancettaPro-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Pancetta Pro';
	src: url('../fonts/PancettaPro-Medium.woff2') format('woff2'),
	     url('../fonts/PancettaPro-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Pancetta Pro';
	src: url('../fonts/PancettaPro-SemiBold.woff2') format('woff2'),
	     url('../fonts/PancettaPro-SemiBold.woff') format('woff');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Pancetta Pro';
	src: url('../fonts/PancettaPro-Bold.woff2') format('woff2'),
	     url('../fonts/PancettaPro-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

.sonic-lp-body { margin: 0; }

.sonic-lp {
	font-family: 'Pancetta Pro', 'Open Sans', Arial, sans-serif;
	color: #000;
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
.sonic-lp * { box-sizing: border-box; }
.sonic-lp img { max-width: 100%; height: auto; display: block; }
.sonic-lp a { text-decoration: none; }

.sonic-lp-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Type scale ---------- */
.sonic-lp-eyebrow {
	color: #E30613;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 12px;
}
.sonic-lp-h1 { font-size: 44px; line-height: 1.08; font-weight: 700; margin: 0 0 18px; }
.sonic-lp-h2 { font-size: 34px; line-height: 1.15; font-weight: 700; margin: 0 0 16px; }
.sonic-lp-h2-light { color: #fff; }
.sonic-lp-section-body { font-size: 17px; line-height: 1.6; color: #333; max-width: 720px; margin: 0 0 28px; }
.sonic-lp-section-body-light { color: rgba(255,255,255,0.85); }
.sonic-lp-prompt { font-size: 24px; font-weight: 600; margin: 8px 0 28px; }

/* ---------- Buttons ---------- */
.sonic-lp-btn {
	display: inline-block;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 14px 26px;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	white-space: nowrap;
}
.sonic-lp-btn-red { background: #E30613; color: #fff; }
.sonic-lp-btn-red:hover { background: #B92025; color: #fff; }
.sonic-lp-btn-white { background: #fff; color: #000; }
.sonic-lp-btn-white:hover { background: #F2F2F2; }
.sonic-lp-btn-sm { padding: 9px 18px; font-size: 14px; }
.sonic-lp-btn-lg { padding: 16px 32px; font-size: 16px; width: 100%; }
.sonic-lp-btn-block { display: block; width: 100%; text-align: center; margin-top: auto; }
.sonic-lp-link-arrow { color: #000; font-weight: 700; font-size: 15px; border-bottom: 2px solid #E30613; padding-bottom: 2px; }
.sonic-lp-link-arrow:hover { color: #E30613; }

/* ---------- Header ---------- */
.sonic-lp-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid #E5E7EB;
}
.sonic-lp-header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.sonic-lp-logo svg, .sonic-lp-logo img { height: 30px; width: auto; }
.sonic-lp-nav { display: flex; align-items: center; gap: 28px; }
.sonic-lp-nav a:not(.sonic-lp-btn) { color: #000; font-weight: 500; font-size: 15px; }
.sonic-lp-nav a:not(.sonic-lp-btn):hover { color: #E30613; }

/* ---------- Hero ---------- */
.sonic-lp-hero { padding: 56px 0 64px; }
.sonic-lp-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.sonic-lp-hero-body { font-size: 16px; line-height: 1.65; color: #333; margin: 0 0 26px; }
.sonic-lp-cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.sonic-lp-hero-footnote { font-size: 13px; color: #9CA3AF; margin: 0; }
.sonic-lp-hero-media img { width: 100%; border-radius: 12px; }

/* ---------- Pillars ---------- */
.sonic-lp-pillars { padding: 56px 0 64px; background: #F8F8F8; }
.sonic-lp-pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sonic-lp-pillar {
	background: #fff;
	border: 1px solid #E0E0E0;
	border-radius: 12px;
	padding: 26px 24px;
}
.sonic-lp-pillar-icon { color: #E30613; display: block; margin-bottom: 14px; }
.sonic-lp-pillar h3 { font-size: 19px; font-weight: 600; margin: 0 0 12px; }
.sonic-lp-pillar ul { list-style: none; margin: 0; padding: 0; }
.sonic-lp-pillar li { font-size: 15px; color: #333; line-height: 1.55; padding-left: 16px; position: relative; }
.sonic-lp-pillar li + li { margin-top: 6px; }
.sonic-lp-pillar li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: #E30613; }

/* ---------- Solutions / products ---------- */
.sonic-lp-solutions { padding: 64px 0; background: #fff; }
.sonic-lp-product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.sonic-lp-product {
	grid-column: span 2;
	background: #F4F4F4;
	border-radius: 12px;
	overflow: hidden;
	color: #000;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.15s ease;
}
.sonic-lp-product:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.10); color: #000; }
.sonic-lp-product-wide { grid-column: span 3; }
.sonic-lp-product-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.sonic-lp-product-copy { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.sonic-lp-product-title { display: block; font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.sonic-lp-product-desc { display: block; font-size: 15px; color: #333; line-height: 1.55; margin-bottom: 10px; }
.sonic-lp-product-meta { display: block; font-size: 13px; font-weight: 600; color: #70706F; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }

/* ---------- Expert steps ---------- */
.sonic-lp-expert { padding: 64px 0; background: #F8F8F8; }
.sonic-lp-step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.sonic-lp-step { background: #fff; border: 1px solid #E0E0E0; border-radius: 12px; padding: 24px; }
.sonic-lp-step-num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 50%;
	background: #E30613; color: #fff; font-weight: 700; font-size: 16px;
	margin-bottom: 14px;
}
.sonic-lp-step h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.sonic-lp-step p { font-size: 15px; color: #333; line-height: 1.55; margin: 0; }
.sonic-lp-center { text-align: center; }

/* ---------- Testimonials ---------- */
.sonic-lp-testimonials { padding: 64px 0; background: #fff; }
.sonic-lp-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sonic-lp-testimonial { margin: 0; background: #F4F4F4; border-radius: 12px; overflow: hidden; }
.sonic-lp-testimonial-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.sonic-lp-testimonial blockquote {
	font-size: 17px; font-weight: 500; line-height: 1.5; margin: 0; padding: 20px 22px 8px;
}
.sonic-lp-testimonial figcaption { font-size: 14px; font-weight: 600; color: #70706F; padding: 0 22px 20px; }

/* ---------- People behind ---------- */
.sonic-lp-people { background: #2B2E30; padding: 64px 0; }
.sonic-lp-people-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.sonic-lp-people-media img { border-radius: 12px; width: 100%; }
.sonic-lp-eyebrow-light { color: #E30613; }

/* ---------- Contact ---------- */
.sonic-lp-contact { background: #F2F2F2; padding: 64px 0 72px; }
.sonic-lp-contact-card {
	background: #fff;
	border-radius: 16px;
	padding: 40px 40px 44px;
	max-width: 780px;
	margin: 0 auto;
}
.sonic-lp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin: 24px 0 20px; }
.sonic-lp-form label { display: block; font-size: 14px; font-weight: 600; color: #333; }
.sonic-lp-form-full { grid-column: 1 / -1; }
.sonic-lp-form input, .sonic-lp-form textarea {
	display: block; width: 100%; margin-top: 6px;
	padding: 12px 14px;
	font-family: inherit; font-size: 15px;
	border: 1px solid #C3C3C5; border-radius: 8px;
	background: #fff; color: #000;
}
.sonic-lp-form input:focus, .sonic-lp-form textarea:focus {
	outline: none; border-color: #E30613; box-shadow: 0 0 0 2px rgba(227,6,19,0.15);
}
.sonic-lp-form textarea { resize: vertical; }
.sonic-lp-form-error { color: #B92025; font-weight: 600; font-size: 15px; margin: 14px 0 0; }
.sonic-lp-form-success { margin-top: 24px; padding: 22px; background: #F8F8F8; border-radius: 10px; }
.sonic-lp-form-success h3 { margin: 0 0 8px; font-size: 20px; }
.sonic-lp-form-success p { margin: 0; color: #333; font-size: 15px; line-height: 1.55; }

/* ---------- Footer ---------- */
.sonic-lp-footer { background: #000; padding: 22px 0; }
.sonic-lp-footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.sonic-lp-footer span { color: #fff; font-size: 14px; }
.sonic-lp-footer nav { display: flex; gap: 22px; }
.sonic-lp-footer a { color: #fff; font-size: 14px; }
.sonic-lp-footer a:hover { color: #E30613; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.sonic-lp-pillar-grid, .sonic-lp-step-grid { grid-template-columns: repeat(2, 1fr); }
	.sonic-lp-testimonial-grid { grid-template-columns: 1fr; }
	.sonic-lp-product, .sonic-lp-product-wide { grid-column: span 3; }
}
@media (max-width: 860px) {
	.sonic-lp-hero-grid, .sonic-lp-people-grid { grid-template-columns: 1fr; gap: 28px; }
	.sonic-lp-h1 { font-size: 34px; }
	.sonic-lp-h2 { font-size: 27px; }
	.sonic-lp-nav a:not(.sonic-lp-btn) { display: none; }
}
@media (max-width: 640px) {
	.sonic-lp-pillar-grid, .sonic-lp-step-grid, .sonic-lp-product-grid { grid-template-columns: 1fr; }
	.sonic-lp-product, .sonic-lp-product-wide { grid-column: span 1; }
	.sonic-lp-form-grid { grid-template-columns: 1fr; }
	.sonic-lp-contact-card { padding: 28px 22px 32px; }
	.sonic-lp-btn-lg { white-space: normal; }
	.sonic-lp-cta-row .sonic-lp-btn { width: 100%; text-align: center; }
}

/* ==========================================================================
   v1.0.1 (Oct 22 2026): contact form modal + outline CTA (app parity)
   ========================================================================== */
.sonic-lp-modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; }
.sonic-lp-modal[hidden] { display: none; }
.sonic-lp-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.sonic-lp-modal-card { position: relative; width: 100%; max-width: 512px; max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.sonic-lp-modal-close { position: absolute; top: 12px; right: 12px; z-index: 10; padding: 8px; background: none; border: none; font-size: 22px; line-height: 1; color: rgba(0, 0, 0, 0.4); cursor: pointer; }
.sonic-lp-modal-close:hover { color: #000; }
.sonic-lp-modal-form { padding: 28px; }
.sonic-lp-modal-form h3 { margin: 10px 0 6px; font-size: 22px; line-height: 1.25; }
.sonic-lp-modal-body { font-size: 14px; color: #4A4A4A; line-height: 1.55; }
.sonic-lp-modal-form .sonic-lp-form-grid { margin: 18px 0 14px; }
.sonic-lp-modal-success { padding: 48px 32px; text-align: center; }
.sonic-lp-modal-success h3 { margin: 12px 0 6px; font-size: 22px; }
.sonic-lp-modal-success p { margin: 0 0 24px; color: #4A4A4A; font-size: 15px; line-height: 1.55; }
.sonic-lp-modal-check { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; background: #E30613; color: #fff; align-items: center; justify-content: center; font-size: 24px; }
.sonic-lp-btn-outline { background: #fff; color: #000; border: 1px solid #CCCCCC; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); }
.sonic-lp-btn-outline:hover { background: #000; color: #fff; }
.sonic-lp-btn-block { width: 100%; }
.sonic-lp-card-cta { margin-top: 28px; }
@media (max-width: 640px) {
	.sonic-lp-modal-form { padding: 22px 20px; }
	.sonic-lp-modal { padding: 10px; }
}
