/*
Theme Name: eZpassClip Clean
Theme URI: https://ezpassclip.com
Author: eZpassClip
Description: Minimal look for ezpassclip.com: white, centered and quiet, with the brand navy as the only color. Child theme of "eZpassClip": it shares that theme's store locator and settings, and has its own navy tab icon, so the eZpassClip theme must stay installed.
Template: ezpassclip
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: ezpassclip-clean
*/

:root {
	--font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-head: var(--font);
	--head-weight: 700;
	--head-tracking: -0.025em;
	--bg: #ffffff;
	--surface: #ffffff;
	--alt-bg: #f5f6f8;
	--ink: #111827;
	--muted: #586174;
	--line: #e6e8ec;
	--line-strong: #cdd2da;
	--accent: #23246b;
	--accent-dark: #17184d;
	--accent-soft: #ececf6;
	--radius: 16px;
	--radius-sm: 10px;
	--btn-radius: 999px;
	--header-bg: #ffffff;
	--band-bg: #111827;
	--band-ink: #ffffff;
	--band-muted: rgba(255, 255, 255, .74);
	--footer-bg: #ffffff;
	--footer-ink: #111827;
	--footer-muted: #586174;
	--footer-line: #e6e8ec;
	--footer-hover: #23246b;
}

/* ==========================================================================
   Shared minimal layer. The same block is in all five minimal themes
   (Clean, Classic, Highway, Soft, Split); only the tokens above differ.
   It calms the parent theme's shared parts (header, buttons, inner pages,
   store locator, contact form, footer): flat colours, no glows, no lifting
   on hover, nothing that looks clickable unless it is.
   ========================================================================== */
:root {
	--grad: var(--accent);
	--indigo: var(--accent);
	--violet: var(--accent);
	--pink: var(--accent);
	--pink-soft: var(--accent-soft);
	--navy: var(--ink);
	--shadow-sm: none;
	--shadow-md: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .06);
	--shadow-lg: 0 1px 2px rgba(16, 24, 40, .05), 0 16px 40px rgba(16, 24, 40, .08);
}
body { font-family: var(--font); background: var(--bg); color: var(--ink); }
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.15; }
h3 { font-size: 1.12rem; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline-color: var(--accent); }
.hero-glow { display: none; }
.lead { color: var(--muted); }
.grad { background: none; color: var(--accent); -webkit-text-fill-color: currentColor; }

/* Buttons: flat, no lift */
.btn { border-radius: var(--btn-radius); font-weight: 600; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn:hover, .btn:active { transform: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #eef0f3; color: var(--ink); box-shadow: none; }

/* Header */
.site-header { background: var(--header-bg); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--line); }
.site-header.is-stuck { box-shadow: none; border-color: var(--line); }
.brand img { height: 46px; }
.nav-list a { border-radius: var(--btn-radius); font-weight: 500; color: var(--ink); }
.nav-list a:hover { background: var(--accent-soft); color: var(--ink); }
.nav-list .current-menu-item > a, .nav-list .current_page_item > a { background: transparent; color: var(--accent); font-weight: 600; }
.nav-toggle { border-color: var(--line); border-radius: var(--btn-radius); background: var(--surface); }

/* Inner pages */
.page-hero { padding: clamp(40px, 5vw, 64px) 0 clamp(20px, 3vw, 32px); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.card { border-radius: var(--radius); box-shadow: none; border-color: var(--line); background: var(--surface); }
.eyebrow { color: var(--accent); letter-spacing: .12em; font-weight: 700; }
.contact-card-alt { background: var(--accent-soft); border-color: transparent; }
.photo-pair figure { border: 0; border-radius: var(--radius); box-shadow: none; }
.photo-pair figure:hover img { transform: none; }
.photo-pair figcaption { border-radius: var(--btn-radius); background: rgba(0, 0, 0, .62); }
.js .reveal { transform: none; }

/* Find-a-store band */
.band-inner { background: var(--band-bg); color: var(--band-ink); box-shadow: none; border-radius: var(--radius); }
.band h2 { color: var(--band-ink); }
.band p { color: var(--band-muted); }
.zip-form input { border-radius: var(--btn-radius); }

/* Store locator */
.locator-search input { border-radius: var(--btn-radius); box-shadow: none; border: 1px solid var(--line-strong); background: var(--surface); }
.locator-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.store { border-radius: var(--radius); box-shadow: none; border-width: 1px; background: var(--surface); }
.store:hover { transform: none; box-shadow: none; border-color: var(--line-strong); }
.store.is-active { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.store-name { color: var(--ink); }
.store-dist { background: var(--accent-soft); color: var(--accent-dark); }
.store-links a { border-radius: var(--btn-radius); background: var(--surface); }
.locator-map { border-radius: var(--radius); box-shadow: none; }
.locator-empty { border-radius: var(--radius); background: var(--surface); }
.ezp-pin path { fill: var(--accent); }
.ezp-you { background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.leaflet-container { font-family: var(--font); }
.leaflet-popup-content-wrapper { border-radius: var(--radius-sm); }

/* Contact form (WPForms ships its own CSS, so these are forced) */
.entry-content div.wpforms-container-full .wpforms-form input[type="text"],
.entry-content div.wpforms-container-full .wpforms-form input[type="email"],
.entry-content div.wpforms-container-full .wpforms-form input[type="tel"],
.entry-content div.wpforms-container-full .wpforms-form input[type="url"],
.entry-content div.wpforms-container-full .wpforms-form select,
.entry-content div.wpforms-container-full .wpforms-form textarea { border: 1px solid var(--line-strong) !important; border-radius: var(--radius-sm) !important; background: var(--surface) !important; font-family: var(--font) !important; }
.entry-content div.wpforms-container-full .wpforms-form input:focus,
.entry-content div.wpforms-container-full .wpforms-form select:focus,
.entry-content div.wpforms-container-full .wpforms-form textarea:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px var(--accent-soft) !important; }
.entry-content .wpforms-container button[type="submit"],
.entry-content .wpforms-container .wpforms-submit { border-radius: var(--btn-radius) !important; background: var(--accent) !important; box-shadow: none !important; font-weight: 600 !important; }
.entry-content .wpforms-container button[type="submit"]:hover { transform: none !important; background: var(--accent-dark) !important; box-shadow: none !important; }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-muted); border-top: 1px solid var(--footer-line); }
.site-footer a, .footer-name { color: var(--footer-ink); }
.site-footer a:hover { color: var(--footer-hover); }
.footer-name { font-family: var(--font-head); font-weight: var(--head-weight); }
.site-footer h2 { color: var(--footer-muted); font-family: var(--font); }
.footer-social a { background: var(--footer-line); }
.footer-social a:hover { background: var(--accent); color: #fff; transform: none; }
.footer-legal { border-top-color: var(--footer-line); color: var(--footer-muted); }

@media (max-width: 900px) {
	.site-nav { background: var(--surface); border-bottom-color: var(--line); box-shadow: 0 16px 32px rgba(16, 24, 40, .08); }
	.nav-list a { border-radius: var(--radius-sm); }
	.brand img { height: 36px; }
}

/* ==========================================================================
   Homepage (this theme's own front-page.php)
   ========================================================================== */
.m-section { padding: clamp(56px, 8vw, 96px) 0; }
.m-alt { background: var(--alt-bg); }
.m-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.m-head p { color: var(--muted); margin: 0; }
.m-note { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: .92rem; font-weight: 600; color: var(--muted); }
.m-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.m-figure { margin: 0; overflow: hidden; }
.m-figure img { width: 100%; object-fit: cover; }
.m-benefit h3 { margin-bottom: .35em; }
.m-benefit p, .m-step p { margin: 0; color: var(--muted); }
.m-color { margin: 0; }
.m-color img { width: 100%; height: auto; }
.m-color figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.m-color h3 { margin: 0; }
.m-buy { font-weight: 600; text-decoration: none; }
.m-buy:hover { text-decoration: underline; }
.m-states { color: var(--muted); }
.m-quote { margin: 0; }
.m-quote p { margin: 0; }
.m-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: .9rem; color: var(--muted); }

/* ---------- Clean: centered layout ---------- */
.m-hero { padding: clamp(56px, 8vw, 104px) 0 0; text-align: center; }
.m-hero-inner { max-width: 780px; }
.m-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
.m-hero .lead { margin-inline: auto; }
.m-hero .cta-row { justify-content: center; }
.m-hero-photo { max-width: 1000px; margin: clamp(40px, 6vw, 64px) auto 0; border-radius: var(--radius); }
.m-hero-photo img { aspect-ratio: 16 / 9; }

.m-head { margin-inline: auto; text-align: center; }

.m-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.m-benefit { padding-top: 20px; border-top: 1px solid var(--line); }

.m-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin-inline: auto; }
.m-color { padding: 28px; border-radius: var(--radius); background: var(--surface); }
.m-color-img { display: grid; place-items: center; aspect-ratio: 2 / 1; margin-bottom: 20px; }

.m-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.m-step-num { display: block; margin-bottom: 12px; font-size: 2.2rem; font-weight: 700; line-height: 1; color: var(--accent); }

.m-states { display: flex; flex-wrap: wrap; justify-content: center; max-width: 840px; margin-inline: auto; row-gap: 6px; font-weight: 500; text-align: center; }
.m-states li:not(:last-child)::after { content: "\00b7"; margin: 0 12px; color: var(--line-strong); }

.m-quote { max-width: 780px; margin-inline: auto; text-align: center; }
.m-quote p { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }

@media (max-width: 900px) {
	.m-benefits { grid-template-columns: 1fr 1fr; }
	.m-steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; text-align: center; }
}
@media (max-width: 600px) {
	.m-benefits, .m-colors { grid-template-columns: 1fr; }
	.m-color { padding: 20px; }
}
