/* ==========================================================================
   Exact Fit — Summer Offer campaign landing page
   Mobile-first. Standalone: the main theme stylesheet is dequeued here.
   Navy #1F2A37 · Amber #B45309 · Off-white #F5F6F8 · Near-black #1A1A1A
   ========================================================================== */

:root {
	--navy: #1F2A37;
	--navy-deep: #16202B;
	--navy-line: #33414F;
	--amber: #B45309;
	--amber-dark: #92400E;
	--offwhite: #F5F6F8;
	--ink: #1A1A1A;
	--muted: #5B6470;
	--line: #E2E5EA;
	--tint: #F7F8FA;
	--white: #FFFFFF;
	--wa: #1FA855;
	--radius: 10px;
	--wrap: 1180px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	/* room for the sticky CTA bar so it never covers content */
	padding-bottom: 84px;
}

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

h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(1.85rem, 7vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 5.2vw, 2.5rem); }
h3 { font-size: 1.0625rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 52px 0; }
.section-dark { background: var(--navy); color: var(--offwhite); }
.section-dark h2, .section-dark h3 { color: var(--offwhite); }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: 28px; max-width: 640px; }
.section-head p { color: var(--muted); margin: 0; }
.section-dark .section-head p { color: #B9C2CD; }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--navy); color: var(--white); padding: 12px 18px;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* --- Buttons --- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.2;
	padding: 16px 22px; border: 2px solid transparent; border-radius: var(--radius);
	cursor: pointer; text-align: center; min-height: 52px;
	transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-block { width: 100%; }
.btn-cta { background: var(--amber); color: var(--white); border-color: var(--amber); }
.btn-cta:hover { background: var(--amber-dark); border-color: var(--amber-dark); }
.btn-wa { background: var(--wa); color: var(--white); border-color: var(--wa); }
.btn-wa:hover { background: #178a45; border-color: #178a45; }
.btn-wa svg { width: 20px; height: 20px; }

/* --- Logo bar (only outbound link on the page) --- */
.lp-bar {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 12px 20px; background: var(--white);
	border-bottom: 1px solid var(--line);
}
.lp-logo img { max-height: 30px; width: auto; }
.lp-logo-text { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.lp-logo-text span { color: var(--amber); }
.lp-bar-call {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: 14px; font-weight: 700; color: var(--navy);
	white-space: nowrap;
}
.lp-bar-call svg { width: 17px; height: 17px; color: var(--amber); }

/* --- Hero --- */
.hero {
	background: var(--navy);
	background-image: linear-gradient(180deg, rgba(31,42,55,0.94), rgba(22,32,43,0.97)),
		url('../img/summer/hero-apartment-interior.png');
	background-size: cover; background-position: center;
	color: var(--offwhite);
	padding: 32px 0 40px;
}
.hero-copy { margin-bottom: 26px; }
.eyebrow {
	font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em;
	text-transform: uppercase; color: #F0A868; margin: 0 0 12px;
}
.hero h1 { color: var(--white); margin-bottom: 12px; }
.hero-sub {
	font-size: clamp(1.05rem, 3.6vw, 1.35rem); font-weight: 600;
	color: #E3E7EC; margin-bottom: 14px;
}
.hero-body { color: #C2CAD4; margin-bottom: 20px; font-size: 15.5px; }

.trust-row { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.trust-row li {
	display: flex; align-items: center; gap: 9px;
	font-size: 13.5px; color: #D7DDE4;
}
.trust-row svg { width: 17px; height: 17px; color: #F0A868; flex-shrink: 0; }

/* --- Lead form card --- */
.lead-card {
	background: var(--white); color: var(--ink);
	border-radius: 14px; padding: 22px 18px;
	box-shadow: 0 18px 40px -18px rgba(9, 16, 25, 0.55);
}
.lead-head { margin-bottom: 16px; }
.lead-title { font-size: 1.3rem; margin: 0 0 4px; color: var(--navy); }
.lead-sub { font-size: 13.5px; color: var(--muted); margin: 0; }

.field { margin-bottom: 14px; }
.field label {
	display: block; font-size: 13.5px; font-weight: 700;
	color: var(--navy); margin-bottom: 6px;
}
.req { color: var(--amber); }
.field input, .field select {
	width: 100%; font-family: inherit; font-size: 16px; /* 16px = no iOS zoom */
	padding: 13px 14px; color: var(--ink); background: var(--white);
	border: 1.5px solid var(--line); border-radius: var(--radius);
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
	min-height: 50px; appearance: none;
}
.field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6470' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
	padding-right: 38px;
}
.field input:focus, .field select:focus {
	outline: none; border-color: var(--amber);
	box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.15);
}
.field.has-error input, .field.has-error select { border-color: #B42318; background: #FEF6F5; }
.field-error {
	display: none; font-size: 12.5px; font-weight: 600; color: #B42318; margin: 5px 0 0;
}
.field.has-error .field-error { display: block; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lead-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.form-error {
	display: none; font-size: 13.5px; font-weight: 600; color: #B42318;
	text-align: center; margin: 10px 0 0;
}
.form-error.is-shown { display: block; }

.lead-success { text-align: center; padding: 8px 0 4px; }
.lead-success-mark {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 50%;
	background: rgba(31, 168, 85, 0.12); color: var(--wa); margin-bottom: 14px;
}
.lead-success-mark svg { width: 26px; height: 26px; }
.lead-success h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 16px; }

/* --- Packages --- */
.pkg-cards { display: grid; gap: 16px; }
.pkg-card {
	position: relative; background: var(--white);
	border: 1.5px solid var(--line); border-radius: 14px;
	padding: 22px 18px;
}
.pkg-card.is-popular {
	border: 2px solid var(--amber);
	box-shadow: 0 14px 34px -20px rgba(180, 83, 9, 0.55);
}
.pkg-badge {
	position: absolute; top: -11px; left: 18px;
	background: var(--amber); color: var(--white);
	font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
	padding: 5px 11px; border-radius: 99px;
}
.pkg-name { font-size: 1.25rem; color: var(--navy); margin: 0 0 2px; }
.pkg-price { font-size: 1.5rem; font-weight: 800; color: var(--amber); margin: 0 0 2px; letter-spacing: -0.02em; }
.pkg-tagline { font-size: 14px; color: var(--muted); margin: 0 0 16px; }

.pkg-list { list-style: none; margin: 0 0 20px; padding: 0; }
.pkg-list li {
	display: flex; align-items: flex-start; gap: 10px;
	padding: 9px 0; border-bottom: 1px solid var(--line);
	font-size: 14.5px;
}
.pkg-list li:last-child { border-bottom: 0; }
.pkg-list li.is-off { color: #98A1AD; }
.pkg-label { flex: 1; }
.tick {
	display: inline-flex; align-items: center; justify-content: center;
	width: 19px; height: 19px; border-radius: 50%; flex-shrink: 0;
	background: rgba(31, 168, 85, 0.14); color: #157F44; margin-top: 1px;
}
.tick svg { width: 12px; height: 12px; }
.dash { width: 19px; text-align: center; color: #B4BCC6; flex-shrink: 0; }
.val {
	font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
	color: var(--amber); background: rgba(180, 83, 9, 0.1);
	padding: 3px 7px; border-radius: 5px; flex-shrink: 0; margin-top: 1px;
}

.pkg-table-wrap { display: none; }

.pkg-note {
	margin: 22px 0 0; padding: 16px 18px;
	background: var(--tint); border-left: 3px solid var(--amber); border-radius: 0 8px 8px 0;
	font-size: 14px; color: #3E4854;
}

/* --- Steps --- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: step; }
.step { padding-left: 46px; position: relative; }
.step-num {
	position: absolute; left: 0; top: 0;
	font-size: 13px; font-weight: 800; color: var(--navy);
	background: #F0A868; width: 32px; height: 32px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
}
.step h3 { color: var(--offwhite); margin: 4px 0 4px; }
.step p { color: #B9C2CD; margin: 0; font-size: 14.5px; }

/* --- Before / after --- */
.ba-grid { display: grid; gap: 22px; }
.ba { margin: 0; }
.ba-slider {
	position: relative; overflow: hidden; border-radius: 12px;
	background: var(--tint); aspect-ratio: 4 / 3; touch-action: pan-y;
	user-select: none;
}
.ba-slider img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-before-wrap {
	position: absolute; inset: 0;
	clip-path: inset(0 50% 0 0);
}
.ba-before-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag {
	position: absolute; top: 10px; z-index: 3;
	font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
	padding: 5px 9px; border-radius: 5px;
}
.ba-tag-before { left: 10px; background: rgba(26,26,26,0.78); color: var(--white); }
.ba-tag-after { right: 10px; background: var(--amber); color: var(--white); }
.ba-range {
	position: absolute; inset: 0; width: 100%; height: 100%;
	margin: 0; opacity: 0; cursor: ew-resize; z-index: 5;
}
.ba-handle {
	position: absolute; top: 50%; left: 50%; z-index: 4;
	width: 40px; height: 40px; border-radius: 50%;
	transform: translate(-50%, -50%); pointer-events: none;
	background: var(--white);
	box-shadow: 0 3px 12px rgba(0,0,0,0.28),
		0 -600px 0 -19px var(--white), 0 600px 0 -19px var(--white);
}
.ba-handle::before, .ba-handle::after {
	content: ''; position: absolute; top: 50%; width: 0; height: 0;
	border-top: 5px solid transparent; border-bottom: 5px solid transparent;
	transform: translateY(-50%);
}
.ba-handle::before { left: 10px; border-right: 6px solid var(--navy); }
.ba-handle::after { right: 10px; border-left: 6px solid var(--navy); }
.ba figcaption { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-top: 9px; }

/* --- Testimonials --- */
.quotes { display: grid; gap: 14px; margin-top: 34px; }
.quote {
	margin: 0; background: var(--white); border: 1px solid var(--line);
	border-radius: 12px; padding: 20px 18px;
}
.quote p { font-size: 15px; color: #37404C; margin: 0 0 12px; }
.quote cite { font-style: normal; display: flex; flex-direction: column; gap: 1px; }
.quote-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.quote-role { font-size: 12.5px; color: var(--muted); }

/* --- Divisions --- */
.divisions { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.division { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.division-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 9px;
	background: rgba(31, 42, 55, 0.07); color: var(--navy); margin-bottom: 11px;
}
.division-icon svg { width: 21px; height: 21px; }
.division h3 { font-size: 15.5px; color: var(--navy); margin: 0 0 3px; }
.division p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* --- Second form section --- */
.form-section { padding: 44px 0; }
.form-wrap { max-width: 560px; }

/* --- FAQ --- */
.faq-wrap { max-width: 780px; }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
	position: relative; list-style: none; cursor: pointer;
	padding: 17px 40px 17px 0;
	font-size: 15.5px; font-weight: 700; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon {
	position: absolute; right: 2px; top: 50%; width: 16px; height: 16px;
	transform: translateY(-50%);
}
.faq-icon::before, .faq-icon::after {
	content: ''; position: absolute; background: var(--amber);
	top: 50%; left: 50%; transition: transform 0.25s var(--ease);
}
.faq-icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq p { margin: 0 0 18px; color: #4A5361; font-size: 15px; }

/* --- Footer --- */
.lp-footer {
	background: var(--navy); color: #AEB8C4;
	padding: 34px 0 30px; font-size: 14px;
}
.lp-footer p { margin: 0 0 6px; }
.lp-footer a { color: var(--offwhite); }
.lp-footer a:hover { color: #F0A868; }
.lp-footer-name { font-weight: 700; color: var(--white); font-size: 15px; }
.lp-footer-links { margin-top: 14px; display: flex; gap: 18px; }
.lp-footer-links a { font-size: 13px; }
.lp-tagline {
	margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--navy-line);
	font-weight: 700; color: var(--white); letter-spacing: -0.01em;
}

/* --- Sticky mobile CTA --- */
.sticky-cta {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
	display: flex; align-items: center; gap: 10px;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
	background: rgba(255, 255, 255, 0.97);
	border-top: 1px solid var(--line);
	box-shadow: 0 -6px 22px -14px rgba(9, 16, 25, 0.5);
}
.sticky-cta .btn { flex: 1; font-size: 15px; padding: 14px 16px; min-height: 50px; }
.sticky-wa {
	display: inline-flex; align-items: center; justify-content: center;
	width: 50px; height: 50px; flex-shrink: 0;
	border-radius: var(--radius); background: var(--wa); color: var(--white);
}
.sticky-wa svg { width: 24px; height: 24px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Tablet and up
   ========================================================================== */

@media (min-width: 640px) {
	.section { padding: 64px 0; }
	.trust-row { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
	.pkg-cards { grid-template-columns: 1fr 1fr; }
	.pkg-cards .pkg-card:last-child { grid-column: span 2; }
	.ba-grid { grid-template-columns: 1fr 1fr; }
	.quotes { grid-template-columns: repeat(3, 1fr); }
	.divisions { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: 1fr 1fr; gap: 26px; }
	.lead-card { padding: 26px 24px; }
	.lp-bar { padding: 14px 28px; }
}

/* ==========================================================================
   Desktop
   ========================================================================== */

@media (min-width: 960px) {
	body { padding-bottom: 0; }          /* sticky bar is mobile-only */
	.sticky-cta { display: none; }

	.section { padding: 88px 0; }
	.wrap { padding: 0 32px; }

	.hero { padding: 60px 0 72px; }
	.hero-grid {
		display: grid; grid-template-columns: 1.05fr 0.95fr;
		gap: 56px; align-items: start;
	}
	.hero-copy { margin-bottom: 0; }
	.hero-form-col { position: sticky; top: 24px; }

	.steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
	.divisions { grid-template-columns: repeat(3, 1fr); gap: 18px; }
	.ba-grid { gap: 28px; }

	/* Comparison grid replaces the stacked cards */
	.pkg-cards .pkg-list { display: none; }
	.pkg-cards {
		grid-template-columns: repeat(3, 1fr); gap: 20px;
		margin-bottom: 26px; align-items: stretch;
	}
	.pkg-cards .pkg-card:last-child { grid-column: auto; }

	.pkg-table-wrap { display: block; }
	.pkg-table {
		width: 100%; border-collapse: collapse;
		border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
		background: var(--white);
	}
	.pkg-table th, .pkg-table td {
		padding: 13px 16px; text-align: left;
		border-bottom: 1px solid var(--line); font-size: 14.5px;
	}
	.pkg-table thead th {
		background: var(--navy); color: var(--offwhite);
		vertical-align: bottom; padding: 16px;
	}
	.pkg-table thead th.is-popular { background: var(--amber); }
	.th-name { display: block; font-size: 15px; font-weight: 800; }
	.th-price { display: block; font-size: 12.5px; opacity: 0.85; font-weight: 600; }
	.pkg-table tbody th {
		font-weight: 600; color: var(--ink); width: 34%;
	}
	.pkg-table td { text-align: center; }
	.pkg-table td.is-popular { background: rgba(180, 83, 9, 0.05); }
	.pkg-table tbody tr:last-child th,
	.pkg-table tbody tr:last-child td { border-bottom: 0; }
	.pkg-table .tick, .pkg-table .dash, .pkg-table .val { margin: 0 auto; }
	.pkg-table .val { display: inline-block; }

	.form-wrap { max-width: 620px; }
	.lead-card { padding: 30px 28px; }
	.lp-footer { padding: 48px 0 40px; }
}

@media (min-width: 1200px) {
	.hero-grid { gap: 72px; }
}
