/* ==========================================================================
   Pro-Care header, navigation and homepage hero
   Loaded after pc-content.css (uses its --pc-* variables).
   Markup: includes/header-nav.php (.pc-top, .pc-nav) and index.php (.pc-home-hero)
   ========================================================================== */

:root {
	--pc-display: 'Sora', 'Open Sans', Arial, sans-serif;
	--pc-nav-h: 72px;
}

/* Keep in-page anchors clear of the sticky bar */
html { scroll-padding-top: 84px; }

/* The theme wraps the header in .header; flatten it so .pc-nav can stick to the whole page */
.header { display: contents; }

/* ---------- Utility strip ---------- */
.pc-top { background: var(--pc-dark); color: #cfd8dc; font-size: 12.5px; line-height: 1; }
.pc-top-inner { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.pc-top-inner::before, .pc-top-inner::after { display: none; }
.pc-top-contact { display: flex; align-items: center; gap: 22px; }
.pc-top-link { display: inline-flex; align-items: center; gap: 8px; color: #cfd8dc; text-decoration: none; transition: color .15s; }
.pc-top-link i { color: var(--pc-teal); font-size: 12px; }
.pc-top-link:hover, .pc-top-link:focus { color: #fff; text-decoration: none; }
.pc-top-phone { color: #fff; font-weight: 700; letter-spacing: .02em; }
.pc-top-social { display: flex; align-items: center; gap: 6px; }
.pc-top-social a {
	display: flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; border-radius: 50%;
	color: #cfd8dc; font-size: 13px; text-decoration: none;
	background: rgba(255, 255, 255, .08);
	transition: background-color .15s, color .15s;
}
.pc-top-social a:hover, .pc-top-social a:focus { background: var(--pc-teal); color: #fff; }

/* ---------- Main bar (sticky) ---------- */
.pc-nav {
	position: sticky; top: 0; z-index: 1020;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid #e6eef0;
	transition: box-shadow .2s ease;
}
.pc-nav.is-stuck { box-shadow: 0 12px 30px -18px rgba(11, 16, 18, .4); }
.pc-nav-inner { display: flex; align-items: center; height: var(--pc-nav-h); }
.pc-nav-inner::before, .pc-nav-inner::after { display: none; }
.pc-logo { display: flex; align-items: center; flex: 0 0 auto; margin: 0; }
.pc-logo img { display: block; height: 45px; width: auto; }
.pc-nav-toggle { display: none; }
.pc-nav-collapse { margin-left: auto; }

.pc-menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.pc-menu > li { position: relative; margin: 0; padding: 0; }
.pc-menu > li > a {
	display: block;
	padding: 10px 14px;
	font-family: var(--pc-display);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1.2;
	color: #1c2428;
	text-decoration: none;
	border-radius: 10px;
	transition: background-color .2s ease, color .2s ease;
}
.pc-menu > li.dropdown > a.dropdown-toggle::after {
	content: "\f107";
	font-family: FontAwesome;
	margin-left: 7px;
	font-size: 12px;
	display: inline-block;
	transition: transform .2s ease;
}
.pc-menu > li.open > a.dropdown-toggle::after { transform: rotate(180deg); }
.pc-menu > li.active > a,
.pc-menu > li.open > a { background: var(--pc-teal-deep); color: #fff; }

/* Quote button */
.pc-menu > li.pc-menu-cta { margin-left: 10px; }
.pc-menu > li.pc-menu-cta > a { background: var(--pc-dark); color: #fff; border-radius: 999px; padding: 12px 22px; }
.pc-menu > li.pc-menu-cta.active > a { background: var(--pc-teal-deep); }

/* Dropdown panels */
.pc-menu .dropdown-menu {
	display: none;
	position: absolute; top: 100%; left: 0; float: none;
	min-width: 250px;
	margin: 8px 0 0; padding: 8px;
	list-style: none; text-align: left;
	background: #fff;
	border: 1px solid #e6eef0;
	border-radius: 14px;
	box-shadow: 0 28px 50px -18px rgba(11, 16, 18, .35);
}
.pc-menu .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 9px; } /* hover bridge */
.pc-menu .dropdown-menu li { margin: 0; padding: 0; }
.pc-menu .dropdown-menu a {
	display: block;
	padding: 9px 14px;
	font-size: 14px; font-weight: 400; line-height: 1.35;
	color: #2b3438;
	text-decoration: none;
	border-radius: 9px;
	transition: background-color .15s ease, color .15s ease;
}
.pc-menu .dropdown-menu a:hover,
.pc-menu .dropdown-menu a:focus,
.pc-menu .dropdown-menu li:hover > a,
.pc-menu .dropdown-menu li:focus > a {
	/* !important: header-default.css has an unscoped `.dropdown-menu>li:hover>a { color:#fff !important }` */
	background: var(--pc-teal-soft) !important;
	color: var(--pc-teal-deep) !important;
}
.pc-dd-wide > .dropdown-menu { min-width: 560px; left: 50%; margin-left: -280px; }

@keyframes pcDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (min-width: 992px) {
	/* Desktop: always visible, not collapsible */
	.pc-nav-collapse { display: block !important; height: auto !important; overflow: visible !important; visibility: visible !important; }
	.pc-menu > li:not(.pc-menu-cta):hover > a { background: var(--pc-teal-deep); color: #fff; }
	.pc-menu > li.pc-menu-cta:hover > a { background: var(--pc-teal-deep); }
	.pc-menu > li.dropdown:hover > .dropdown-menu,
	.pc-menu > li.dropdown.open > .dropdown-menu { display: block; animation: pcDrop .18s ease-out; }
	.pc-menu > li.dropdown:hover > a.dropdown-toggle::after { transform: rotate(180deg); }
	.pc-menu > li.pc-dd-wide:hover > .dropdown-menu,
	.pc-menu > li.pc-dd-wide.open > .dropdown-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; }
}

/* ---------- Tablet / mobile bar ---------- */
@media (max-width: 991px) {
	:root { --pc-nav-h: 60px; }
	.pc-logo img { height: 36px; }
	.pc-nav-toggle {
		display: flex; align-items: center; justify-content: center;
		margin-left: auto;
		width: 44px; height: 44px;
		border: 0; border-radius: 12px;
		background: var(--pc-dark); color: #fff;
		font-size: 20px; line-height: 1;
		transition: background-color .15s;
	}
	.pc-nav-toggle:hover, .pc-nav-toggle:focus { background: var(--pc-teal-deep); outline: 0; }
	.pc-nav-toggle[aria-expanded="true"] .fa-bars::before { content: "\f00d"; }

	.pc-nav-collapse {
		position: absolute; left: 0; right: 0; top: 100%;
		margin: 0;
		background: #fff;
		border-top: 1px solid #e6eef0;
		box-shadow: 0 26px 40px -20px rgba(11, 16, 18, .4);
		max-height: calc(100vh - var(--pc-nav-h) - 40px);
		overflow-y: auto;
	}
	.pc-menu { display: block; padding: 10px 16px 18px; }
	.pc-menu > li { margin: 0 0 2px; }
	.pc-menu > li > a { padding: 14px 14px; font-size: 13.5px; }
	.pc-menu > li.dropdown > a.dropdown-toggle { display: flex; align-items: center; justify-content: space-between; }
	.pc-menu .dropdown-menu,
	.pc-dd-wide > .dropdown-menu {
		position: static;
		min-width: 0; margin: 4px 0 8px; padding: 6px;
		border: 0; border-radius: 12px; box-shadow: none;
		background: #f4fbfb;
	}
	.pc-menu .dropdown-menu::before { display: none; }
	.pc-menu .dropdown-menu a { padding: 11px 14px; }
	.pc-menu > li.open > .dropdown-menu { display: block; }
	.pc-menu > li.pc-menu-cta { margin: 12px 0 0; }
	.pc-menu > li.pc-menu-cta > a { text-align: center; border-radius: 12px; padding: 15px 14px; }
}

@media (max-width: 575px) {
	.pc-top-email { display: none; }
	.pc-top-contact { gap: 16px; }
}

/* ---------- Homepage hero ---------- */
.pc-btn-outline {
	background: transparent;
	color: #fff !important;
	border: 2px solid rgba(255, 255, 255, .55);
	padding: 11px 24px;
}
.pc-btn-outline:hover,
.pc-btn-outline:focus { border-color: var(--pc-teal); background: rgba(0, 191, 200, .14); color: #fff !important; }
.pc-btn-outline i { color: var(--pc-teal); }

.pc-home-hero {
	position: relative;
	overflow: hidden;
	padding: 60px 0 76px;
	color: #fff;
	background:
		radial-gradient(900px 480px at 88% 8%, rgba(0, 191, 200, .30), transparent 65%),
		radial-gradient(640px 420px at -4% 104%, rgba(173, 82, 81, .22), transparent 70%),
		var(--pc-dark);
}
.pc-home-hero::before { /* blueprint grid */
	content: "";
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
	mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
	pointer-events: none;
}
.pc-hh-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: 48px;
	align-items: center;
}
.pc-hh-grid::before, .pc-hh-grid::after { display: none; }

.pc-hh-texts { display: grid; }
.pc-hh-text {
	grid-area: 1 / 1;
	opacity: 0; visibility: hidden;
	transform: translateY(14px);
	transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s;
}
.pc-hh-text.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.pc-hh-text p { margin: 0; }
.pc-hh-eyebrow {
	display: flex; align-items: center; gap: 12px;
	color: #7fe3e8; font-size: 15px; font-weight: 600; letter-spacing: .02em; line-height: 1.4;
}
.pc-hh-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--pc-teal); flex: 0 0 auto; }
.pc-hh-title {
	margin: 14px 0 18px !important;
	font-family: var(--pc-display);
	font-size: clamp(40px, 5.2vw, 70px);
	font-weight: 800; line-height: 1.04; letter-spacing: -.02em;
	color: #fff;
}
.pc-hh-sub { max-width: 34em; color: #b9c8cb; font-size: 17px; line-height: 1.6; }

.pc-hh-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.pc-hh-nav { display: flex; align-items: center; gap: 12px; margin-top: 36px; }
.pc-hh-arrow {
	appearance: none; -webkit-appearance: none;
	display: flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; padding: 0;
	border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 50%;
	background: transparent; color: #fff;
	font-size: 17px; line-height: 1; cursor: pointer;
	transition: background-color .2s, border-color .2s;
}
.pc-hh-arrow:hover, .pc-hh-arrow:focus { background: var(--pc-teal); border-color: var(--pc-teal); outline: 0; }
.pc-hh-dots { display: flex; align-items: center; gap: 6px; }
.pc-hh-dots button {
	appearance: none; -webkit-appearance: none;
	position: relative; overflow: hidden;
	width: 7px; height: 7px; padding: 0;
	border: 0; border-radius: 7px;
	background: rgba(255, 255, 255, .3);
	cursor: pointer;
	transition: width .3s ease, background-color .2s;
}
.pc-hh-dots button:hover { background: rgba(255, 255, 255, .55); }
.pc-hh-dots button.is-on { width: 26px; }
.pc-hh-dots button::after { content: ""; position: absolute; inset: 0; background: var(--pc-teal); transform: scaleX(0); transform-origin: left; }
.pc-hh-dots .is-on::after { animation: pcHeroFill 5s linear forwards; }
.pc-home-hero:hover .pc-hh-dots .is-on::after,
.pc-home-hero:focus-within .pc-hh-dots .is-on::after { animation-play-state: paused; }
@keyframes pcHeroFill { to { transform: scaleX(1); } }

.pc-hh-visual { position: relative; }
.pc-hh-visual::before { /* teal glow behind the photo */
	content: "";
	position: absolute; inset: 8% 4% 6%;
	background: radial-gradient(closest-side, rgba(0, 191, 200, .38), transparent);
	filter: blur(30px);
}
.pc-hh-imgs { position: relative; display: grid; }
.pc-hh-imgs img {
	grid-area: 1 / 1;
	display: block; width: 100%; height: auto;
	opacity: 0;
	transform: translateX(18px) scale(.97);
	transition: opacity .6s ease, transform .6s ease;
}
.pc-hh-imgs img.is-on { opacity: 1; transform: none; }

.pc-hh-reviews {
	position: absolute; left: -20px; bottom: -22px;
	padding: 4px 22px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 22px 44px -14px rgba(0, 0, 0, .55);
}
.pc-hh-reviews #g-Reviews { width: 220px; height: 110px; }

@media (prefers-reduced-motion: reduce) {
	.pc-hh-text, .pc-hh-imgs img { transition: none; }
	.pc-hh-dots .is-on::after { animation: none; transform: scaleX(1); }
}

@media (max-width: 991px) {
	.pc-home-hero { padding: 40px 0 44px; }
	.pc-hh-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.pc-hh-title { font-size: clamp(38px, 9vw, 56px); }
	.pc-hh-nav { margin-top: 30px; }
	.pc-hh-visual { width: 100%; max-width: 560px; margin: 0 auto; }
	/* The PNGs carry ~45px of transparent padding; oversize them so the photo itself fills the width */
	.pc-hh-imgs img { width: 114%; max-width: none; margin-left: -7%; }
	/* Reviews card sits below the photo instead of overlapping it, and is smaller */
	.pc-hh-reviews { position: static; width: max-content; margin: 8px auto 0; zoom: .8; white-space: nowrap; }
}
@media (max-width: 575px) {
	.pc-hh-sub { font-size: 15.5px; }
	.pc-hh-actions .pc-btn { flex: 1 1 100%; }
	.pc-hh-visual { max-width: none; }
	.pc-hh-imgs img { width: 124%; margin-left: -12%; }
}

/* ---------- Reviews badge strip (inner pages) ---------- */
.pc-reviews-bar { background: #fff; border-bottom: 1px solid #e6eef0; padding: 6px 0; }
.pc-reviews-bar #g-Reviews { width: 100%; max-width: 280px; height: 110px; margin: 0 auto; }
