/**
 * Supplementary theme CSS - only for things theme.json / block supports
 * cannot express (hover states, sticky positioning details, focus
 * outlines, small structural rules for this theme's patterns). Colors,
 * fonts, spacing, and button styling are controlled by theme.json, not
 * here - keep additions here structural, not stylistic, wherever possible.
 */

html { scroll-behavior: smooth; }

/* Accessibility: visible focus states everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--wp--preset--color--blue);
	outline-offset: 2px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--navy);
	padding: 10px 16px;
	z-index: 999999;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Header */
.pe-site-header { position: sticky; top: 0; z-index: 200; }
.pe-header-inner .wp-block-site-logo img { height: auto; }
.pe-main-nav a { color: #cfd8e6; }
.pe-main-nav a:hover,
.pe-main-nav .current-menu-item > a { color: var(--wp--preset--color--white); }

/* Footer link lists */
.pe-footer-nav a { color: #c3ccdb; font-size: 13px; }
.pe-footer-nav a:hover { color: var(--wp--preset--color--white); }
.pe-footer-nav .wp-block-navigation__container { flex-direction: column; gap: 10px; }

/* Keep embeds (maps, GHL forms) well-behaved on all screens */
.pe-map-frame iframe,
.pe-ghl-form-slot iframe { max-width: 100%; }

/* Generic image radius for content images (matches brand radius) */
.wp-block-post-content img,
.pe-location-photo,
.pe-team-photo { border-radius: var(--wp--custom--radius, 6px); }

@media (max-width: 600px) {
	.pe-header-inner { padding-left: 16px !important; padding-right: 16px !important; }
}

/* =========================================================
   Pattern section styling (ported from the v7 design mockup,
   using theme.json color/spacing tokens instead of hardcoded values)
   ========================================================= */

.pe-hero-home { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); position: relative; overflow: hidden; }
.pe-trust-bar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 13px; color: #cfd8e6; }
.pe-trust-chip { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); padding: 8px 14px; border-radius: 20px; }
.pe-trust-chip svg { width: 14px; height: 14px; fill: #4dd07a; }
.pe-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.pe-hero-copy h1 { font-size: 38px; line-height: 1.15; }
.pe-hero-copy h1 .pe-accent { color: var(--wp--preset--color--blue); display: block; }
.pe-hero-copy p { color: #c3ccdb; max-width: 480px; }
.pe-brand-hook { color: var(--wp--preset--color--blue); font-weight: 700; }
.pe-hero-form-row { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.pe-hero-benefits { display: flex; flex-direction: column; gap: 18px; flex: 1 1 180px; min-width: 180px; list-style: none; margin: 0; padding: 0; }
.pe-hero-benefit { display: flex; gap: 12px; align-items: flex-start; }
.pe-hero-benefit .pe-ico { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pe-hero-benefit .pe-ico svg { width: 16px; height: 16px; fill: #fff; }
.pe-hero-benefit strong { display: block; font-size: 12.5px; letter-spacing: .03em; text-transform: uppercase; }
.pe-hero-benefit span { font-size: 13px; color: #aab5c6; }
.pe-hero-phone-box { border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 12px 16px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.pe-hero-phone-box svg { width: 16px; height: 16px; fill: #fff; }
.pe-hero-media { position: relative; border-radius: 10px; overflow: hidden; min-height: 420px; }
.pe-hero-media img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
@media (max-width: 900px) { .pe-hero-grid { grid-template-columns: 1fr; } .pe-hero-media { min-height: 280px; order: -1; } .pe-hero-copy h1 { font-size: 30px; } }

.pe-section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.pe-kicker { display: flex; align-items: center; justify-content: center; gap: 14px; font-weight: 800; font-size: 20px; letter-spacing: .03em; text-transform: uppercase; }
.pe-kicker::before, .pe-kicker::after { content: ""; height: 2px; width: 36px; background: var(--wp--preset--color--blue); }
.pe-kicker.is-left { justify-content: flex-start; text-align: left; }
.pe-kicker.is-left::before { display: none; }

.pe-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.pe-service-card { background: var(--wp--preset--color--off-white); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.pe-service-card:hover { transform: translateY(-4px); box-shadow: var(--wp--custom--shadow); }
.pe-service-card .pe-thumb { height: 130px; overflow: hidden; }
.pe-service-card .pe-thumb img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
.pe-service-card .pe-ico-badge { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; margin: -26px auto 0; position: relative; z-index: 2; }
.pe-service-card .pe-ico-badge svg { width: 22px; height: 22px; fill: var(--wp--preset--color--blue); }
.pe-service-card .pe-body { padding: 16px 18px 20px; text-align: center; }
@media (max-width: 900px) { .pe-service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pe-service-grid { grid-template-columns: 1fr; } }

.pe-credentials { background: var(--wp--preset--color--navy); color: #fff; text-align: center; }
.pe-credentials .pe-eyebrow { font-size: 12px; letter-spacing: .1em; color: #9fabbe; text-transform: uppercase; margin-bottom: 26px; }
.pe-credentials-row { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.pe-credential-item { display: flex; align-items: center; gap: 14px; text-align: left; max-width: 340px; }
.pe-credential-item .pe-icon-circle { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pe-credential-item .pe-icon-circle svg { width: 24px; height: 24px; fill: #fff; }
.pe-credential-divider { width: 1px; height: 54px; background: rgba(255,255,255,.15); }
@media (max-width: 480px) { .pe-credentials-row { flex-direction: column; align-items: flex-start; } .pe-credential-divider { display: none; } }

.pe-transformations { background: var(--wp--preset--color--navy); color: #fff; }

.pe-trust-section { background: var(--wp--preset--color--gray-bg); }
.pe-trust-grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 48px; align-items: start; }
.pe-stat-row { display: flex; gap: 28px; flex-wrap: wrap; }
.pe-stat .pe-num { color: var(--wp--preset--color--navy); font-size: 26px; font-weight: 800; }
.pe-stat .pe-label { font-size: 11px; color: var(--wp--preset--color--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.pe-stat.is-rating .pe-num { color: var(--wp--preset--color--gold); font-size: 16px; letter-spacing: 1px; }
.pe-area-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 30px; list-style: none; margin: 0 0 20px; padding: 0; }
.pe-area-cols li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.pe-area-cols svg { width: 12px; height: 12px; fill: var(--wp--preset--color--blue); flex-shrink: 0; }
@media (max-width: 900px) { .pe-trust-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .pe-area-cols { grid-template-columns: 1fr; } }

.pe-app-testimonial-row { display: grid; grid-template-columns: 1fr 1.4fr; }
.pe-app-block { background: var(--wp--preset--color--navy); color: #fff; padding: 44px; display: flex; gap: 24px; align-items: center; }
.pe-app-block img { width: 220px; flex-shrink: 0; border-radius: 10px; margin: 0; }
.pe-app-block ul { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; list-style: none; padding: 0; }
.pe-app-block li { font-size: 13px; display: flex; align-items: center; gap: 8px; color: #cfd8e6; }
.pe-app-block li svg { width: 13px; height: 13px; fill: var(--wp--preset--color--blue); }
.pe-testimonial-block { background: var(--wp--preset--color--off-white); padding: 44px; }
@media (max-width: 900px) { .pe-app-testimonial-row { grid-template-columns: 1fr; } .pe-app-block { flex-direction: column; text-align: center; } }
@media (max-width: 560px) { .pe-app-block img { width: 170px; } }

.pe-offer-band { background: var(--wp--preset--color--blue); color: #fff; text-align: center; padding: 22px 24px; font-weight: 700; font-size: 14px; }
.pe-offer-band a { text-decoration: underline; color: #fff; }

.pe-page-hero { background: var(--wp--preset--color--navy); color: #fff; padding: 70px 0 50px; text-align: center; }
.pe-page-hero h1 { font-size: 34px; }
.pe-page-hero p { color: #c3ccdb; max-width: 620px; margin: 10px auto 0; font-size: 15px; }
.pe-breadcrumb { font-size: 12px; color: #9fabbe; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em; }

.pe-content-block { padding: 60px 0; }
.pe-content-block.bg-gray { background: var(--wp--preset--color--gray-bg); }
.pe-content-block img { border-radius: var(--wp--custom--radius); }
.pe-content-block p { color: var(--wp--preset--color--text-muted); }

.pe-team-cta { background: var(--wp--preset--color--gray-bg); text-align: center; padding: 60px 24px; border-radius: var(--wp--custom--radius); }

.pe-checklist { list-style: none; margin: 0; padding: 0; }
.pe-checklist li { display: flex; gap: 10px; font-size: 14px; margin-bottom: 8px; }
.pe-checklist li svg { width: 14px; height: 14px; fill: var(--wp--preset--color--blue); flex-shrink: 0; margin-top: 3px; }

.pe-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pe-contact-info-card { background: var(--wp--preset--color--navy); color: #fff; border-radius: var(--wp--custom--radius); padding: 30px; }
.pe-contact-info-card p { color: #cfd8e6; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.pe-contact-info-card svg { width: 16px; height: 16px; fill: var(--wp--preset--color--blue); flex-shrink: 0; margin-top: 2px; }
.pe-contact-form-card { background: var(--wp--preset--color--off-white); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius); padding: 30px; }
@media (max-width: 800px) { .pe-contact-grid { grid-template-columns: 1fr; } }

.pe-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .pe-two-col { grid-template-columns: 1fr; } }
