/* ==========================================================================
   StreetSmart Driving Academy — Luxury Minimal design system
   Brand: black / gold / white, applied with restraint — white & cream
   backgrounds, serif headlines, gold reserved for fine accents.
   ========================================================================== */

:root {
	--c-ink: #1a1a18;
	--c-ink-soft: #4a4844;
	--c-charcoal: #17161a;
	--c-charcoal-2: #211f24;
	--c-white: #ffffff;
	--c-cream: #faf7f1;
	--c-cream-2: #f2ede1;
	--c-gold: #b8912f;
	--c-gold-bright: #f0c20c;
	--c-gold-wash: rgba(184, 145, 47, .08);
	--c-grey-500: #8c887f;
	--c-grey-600: #6f6b63;
	--c-border: #e6e0d2;

	--font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--container: 1200px;
	--container-narrow: 860px;
	--radius: 4px;
	--shadow-card: 0 4px 24px rgba(26, 26, 24, 0.06);
	--shadow-card-hover: 0 18px 44px rgba(26, 26, 24, 0.12);
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--c-ink-soft);
	background: var(--c-white);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.75;
	overflow-wrap: break-word;
	overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
.icon { width: 18px; height: 18px; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 18px;
	color: var(--c-ink);
	letter-spacing: 0.005em;
}
p { margin: 0 0 16px; }
button { font-family: inherit; cursor: pointer; }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 9999; width: auto; height: auto;
	background: var(--c-gold-bright); color: var(--c-ink); padding: 10px 16px; border-radius: 4px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 32px; }
.section { padding: 128px 0; }
.text-center { text-align: center; }

.section-eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 12px;
	color: var(--c-gold);
	margin-bottom: 18px;
}
.section-eyebrow::before {
	content: "";
	width: 28px; height: 1px; background: var(--c-gold);
}
.section-heading { max-width: 640px; margin: 0 auto 64px; }
.section-heading.text-center { margin-left: auto; margin-right: auto; }
.section-heading.text-center .section-eyebrow { justify-content: center; }
.section-heading.text-center .section-eyebrow::before { display: none; }
.section-heading h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; }

.empty-state { text-align: center; color: var(--c-grey-500); padding: 32px 0; font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 12.5px;
	padding: 15px 30px;
	border-radius: 2px;
	border: 1px solid transparent;
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
	white-space: nowrap;
}
.btn .icon { width: 15px; height: 15px; }
.btn-primary { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.btn-primary:hover { background: var(--c-gold-bright); border-color: var(--c-gold-bright); color: var(--c-ink); }
.btn-gold { background: transparent; color: var(--c-ink); border-color: var(--c-gold); }
.btn-gold:hover { background: var(--c-gold-bright); border-color: var(--c-gold-bright); color: var(--c-ink); }
.btn-black { background: var(--c-ink); color: var(--c-white); border-color: var(--c-ink); }
.btn-black:hover { background: transparent; border-color: var(--c-ink); color: var(--c-ink); }
.btn-outline-ink { background: transparent; color: var(--c-ink); border-color: var(--c-border); }
.btn-outline-ink:hover { border-color: var(--c-ink); }
.btn-outline-white { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,.4); }
.btn-outline-white:hover { background: var(--c-white); color: var(--c-ink); border-color: var(--c-white); }
.btn-lg { padding: 18px 36px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 500; }
.topbar { background: var(--c-charcoal); color: rgba(255,255,255,.65); font-size: 12.5px; letter-spacing: .02em; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; min-width: 0; }
.topbar-contact { display: flex; align-items: center; gap: 24px; min-width: 0; }
.topbar-contact a, .topbar-portals a { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.65); transition: color .2s; white-space: nowrap; }
.topbar-contact a:hover, .topbar-portals a:hover { color: var(--c-gold-bright); }
.topbar .icon { width: 13px; height: 13px; }
.topbar-portals { display: flex; align-items: center; gap: 20px; }

.navbar { background: var(--c-white); border-bottom: 1px solid var(--c-border); }
.navbar-inner { display: flex; align-items: center; gap: 40px; height: 92px; }
.brand { flex-shrink: 0; display: flex; align-items: center; min-width: 0; max-width: 100%; }
.brand-logo,
.brand .custom-logo-link,
.brand img { height: 48px; width: auto; max-width: 100%; }
.primary-nav { flex: 1; }
.primary-menu { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.primary-menu > li { position: relative; }
.primary-menu > li > a {
	display: flex; align-items: center; gap: 6px;
	color: var(--c-ink);
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 12.5px;
	padding: 12px 14px;
	position: relative;
	transition: color .2s;
}
.primary-menu > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 7px; height: 1px;
	background: var(--c-gold-bright); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a { color: var(--c-ink); }
.primary-menu > li > a:hover::after,
.primary-menu > li.current-menu-item > a::after { transform: scaleX(1); }

.primary-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px;
	background: var(--c-white); border: 1px solid var(--c-border); border-radius: 2px; box-shadow: var(--shadow-card-hover);
	padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
	z-index: 50;
}
.primary-menu li.menu-item-has-children:hover > .sub-menu,
.primary-menu li.menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-menu .sub-menu a {
	display: block; padding: 10px 14px; color: var(--c-ink);
	font-family: var(--font-body); text-transform: none; font-weight: 400; font-size: 14px; letter-spacing: 0;
}
.primary-menu .sub-menu a:hover { background: var(--c-cream); color: var(--c-gold); }
.menu-item-has-children > a::after { bottom: -2px; }
.menu-item-has-children > a { padding-right: 20px; }
.menu-item-has-children > a::before {
	content: "\25BE"; position: absolute; right: 4px; top: 50%; transform: translateY(-55%);
	font-size: 10px; line-height: 1; color: currentColor;
}

.navbar-cta { flex-shrink: 0; }
.nav-toggle {
	display: none; background: transparent; border: 0; color: var(--c-ink);
	width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
	position: relative; padding: 100px 0 120px; overflow: hidden;
	background:
		radial-gradient(900px circle at 88% 8%, var(--c-gold-wash), transparent 60%),
		radial-gradient(700px circle at 4% 96%, var(--c-gold-wash), transparent 55%),
		var(--c-white);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 0.92fr; gap: 72px; align-items: center; }
.hero-divider {
	position: absolute; top: 4%; bottom: 4%; left: 50.5%; width: 1px;
	background: linear-gradient(180deg, transparent 0%, var(--c-border) 20%, var(--c-border) 80%, transparent 100%);
}
.hero-copy { max-width: 540px; }
.hero .eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--font-body); font-weight: 500; letter-spacing: 0.22em;
	text-transform: uppercase; color: var(--c-gold); font-size: 12px; margin-bottom: 22px;
}
.hero .eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--c-gold); }
.hero-heading { font-size: clamp(36px, 4.6vw, 58px); font-weight: 700; margin-bottom: 24px; color: var(--c-ink); }
.hero-sub { font-family: var(--font-body); font-weight: 300; font-size: 17px; color: var(--c-grey-600); max-width: 480px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero-media { position: relative; }
.hero-image-frame {
	position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5;
	box-shadow: var(--shadow-card-hover);
}
.hero-image-frame::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	box-shadow: inset 0 0 0 1px rgba(26,26,24,.06);
}
.hero-fallback-image, .hero-image-frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.hero-media::before {
	content: ""; position: absolute; left: -28px; bottom: -28px; width: 62%; height: 62%;
	background: var(--c-cream-2); border-radius: var(--radius); z-index: -1;
}
.hero-media::after {
	content: ""; position: absolute; top: -18px; right: -18px; width: 84px; height: 84px;
	border: 1px solid var(--c-gold); border-radius: var(--radius); z-index: -1;
	animation: heroFrameFloat 6s ease-in-out infinite;
}

/* ---------- Hero entrance animation ---------- */
@keyframes heroFadeUp {
	from { opacity: 0; transform: translateY(30px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroZoomOut {
	from { transform: scale(1.09); }
	to   { transform: scale(1); }
}
@keyframes heroLineGrow {
	from { transform: scaleY(0); }
	to   { transform: scaleY(1); }
}
@keyframes heroFrameFloat {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-12px); }
}

.hero-anim { opacity: 0; animation: heroFadeUp .9s var(--ease) forwards; }
.hero-anim-1 { animation-delay: .15s; }
.hero-anim-2 { animation-delay: .3s; }
.hero-anim-3 { animation-delay: .45s; }
.hero-anim-4 { animation-delay: .6s; }

.hero-anim-media { opacity: 0; animation: heroFadeUp 1.1s var(--ease) .4s forwards; }
.hero-anim-media .hero-fallback-image,
.hero-anim-media .hero-image-frame iframe { animation: heroZoomOut 1.8s var(--ease) .4s both; }

.hero-anim-line { transform-origin: top; animation: heroLineGrow .8s var(--ease) .55s both; }

/* ---------- Hero decorative particles ---------- */
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.particle-wrap { position: absolute; animation: particleDrift ease-in-out infinite; }
.particle { display: block; border-radius: 50%; will-change: transform; }
.particle-dot { background: var(--c-gold-bright); box-shadow: 0 0 14px 1px rgba(240,194,12,.35); }
.particle-dot-lg { box-shadow: 0 0 20px 2px rgba(240,194,12,.4); }
.particle-ring { background: transparent; border: 1.5px solid var(--c-gold); border-radius: 50%; }
.particle-ring-lg { border-color: var(--c-gold-bright); }
.particle-diamond { background: transparent; border: 1.5px solid var(--c-gold); border-radius: 3px; transform: rotate(45deg); }
.particle-plus { display: flex; align-items: center; justify-content: center; color: var(--c-gold-bright); }
.particle-plus .icon { width: 100%; height: 100%; }

.molecule-line {
	position: absolute; height: 1px; background: linear-gradient(90deg, var(--c-gold), transparent);
	transform-origin: left center; opacity: .3; z-index: 0;
}
.molecule-line-1 { top: 80%; left: 5%;  width: 150px; transform: rotate(30deg); }
.molecule-line-2 { top: 10%; left: 84%; width: 128px; transform: rotate(-132deg); }

.particle-wrap-1 { top: 80%; left: 5%;  animation-duration: 7s; }
.particle-wrap-2 { top: 88%; left: 14%; animation-duration: 9s;  animation-delay: -2s; }
.particle-wrap-3 { top: 60%; left: 2%;  animation-duration: 8s;  animation-delay: -4s; }
.particle-wrap-4 { top: 93%; left: 24%; animation-duration: 11s; animation-delay: -1s; }
.particle-wrap-5 { top: 10%; left: 90%; animation-duration: 6s;  animation-delay: -3s; }
.particle-wrap-6 { top: 20%; left: 84%; animation-duration: 10s; animation-delay: -5s; }
.particle-wrap-7 { top: 45%; left: 2%;  animation-duration: 8.5s; animation-delay: -2.5s; }
.particle-wrap-8 { top: 88%; left: 38%; animation-duration: 7.5s; animation-delay: -1.5s; }
.particle-wrap-9 { top: 15%; left: 6%;  animation-duration: 9.5s; animation-delay: -3.5s; }

.particle-wrap-1 .particle-dot  { width: 16px; height: 16px; opacity: .8; }
.particle-wrap-2 .particle-dot  { width: 9px;  height: 9px;  opacity: .85; }
.particle-wrap-3 .particle-ring { width: 30px; height: 30px; opacity: .5; }
.particle-wrap-4 .particle-ring { width: 22px; height: 22px; opacity: .3; }
.particle-wrap-5 .particle-dot  { width: 14px; height: 14px; opacity: .75; }
.particle-wrap-6 .particle-dot  { width: 8px;  height: 8px;  opacity: .8; }
.particle-wrap-7 .particle-diamond { width: 16px; height: 16px; opacity: .45; }
.particle-wrap-8 .particle-plus { width: 18px; height: 18px; opacity: .55; }
.particle-wrap-9 .particle-ring { width: 34px; height: 34px; opacity: .28; }

@keyframes particleDrift {
	0%, 100% { transform: translate(0, 0); }
	50%      { transform: translate(8px, -18px); }
}

@media (max-width: 991px) {
	.hero-particles { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.hero-anim, .hero-anim-media, .hero-anim-line,
	.hero-anim-media .hero-fallback-image, .hero-anim-media .hero-image-frame iframe,
	.hero-media::after, .particle-wrap, .particle {
		animation: none !important; opacity: 1 !important; transform: none !important;
	}
	.hero-particles { display: none; }
}

/* ---------- Award strip ---------- */
.award-strip { background: var(--c-cream); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); padding: 30px 0; }
.award-strip-inner { display: flex; align-items: center; justify-content: center; gap: 20px; text-align: center; }
.award-badge { flex-shrink: 0; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--c-gold); border-radius: 50%; color: var(--c-gold); }
.award-badge .icon { width: 20px; height: 20px; }
.award-text { display: flex; flex-wrap: wrap; gap: 3px 12px; align-items: baseline; justify-content: center; font-family: var(--font-display); }
.award-text strong { font-size: 17px; font-weight: 600; color: var(--c-ink); letter-spacing: .01em; }
.award-text span { font-size: 14.5px; color: var(--c-grey-600); font-family: var(--font-body); font-weight: 300; }

/* ---------- Services ---------- */
.services-section { background: var(--c-white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.service-card {
	background: var(--c-white); border: 1px solid var(--c-border); overflow: hidden;
	transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
	display: flex; flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-card-hover); border-color: transparent; }
.service-card-media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.05); }
.service-card-body { padding: 36px 32px 38px; display: flex; flex-direction: column; flex: 1; }
.service-card-body h3 { font-size: 21px; font-weight: 600; margin-bottom: 6px; }
.service-card-body h3::after { content: ""; display: block; width: 32px; height: 1px; background: var(--c-gold); margin: 14px 0 0; }
.service-card-text { color: var(--c-grey-600); font-size: 14.5px; flex: 1; margin: 18px 0 22px; }
.service-card-text p { margin: 0; }
.service-card .btn { align-self: flex-start; }

/* ---------- About blurb ---------- */
.about-blurb { background: var(--c-cream); }
.about-blurb-grid { display: grid; grid-template-columns: 0.92fr 1fr; gap: 80px; align-items: center; }
.about-blurb-copy p { color: var(--c-grey-600); font-size: 16px; font-weight: 300; }
.shadow-frame { border-radius: var(--radius); box-shadow: var(--shadow-card-hover); }

/* ---------- Full-width parallax banner ---------- */
.section-banner {
	position: relative; padding: 150px 0; background-size: cover; background-position: center;
	background-attachment: fixed; color: var(--c-white); text-align: center;
}
.section-banner-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,22,26,.55) 0%, rgba(23,22,26,.82) 100%); }
.section-banner-inner { position: relative; z-index: 1; }
.section-banner-inner h2 { font-size: clamp(28px, 4vw, 44px); color: var(--c-white); margin-bottom: 10px; font-weight: 600; }
.section-banner-inner h3 {
	font-family: var(--font-body); font-weight: 500; font-size: 12.5px; color: var(--c-gold-bright);
	margin-bottom: 18px; letter-spacing: .24em; text-transform: uppercase;
}
.section-banner-inner p { color: rgba(255,255,255,.7); margin: 0; font-weight: 300; }

/* ---------- Locations preview (homepage) ---------- */
.locations-preview { background: var(--c-white); }
.locations-preview-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 80px; align-items: start; }
.locations-preview-copy { position: sticky; top: 140px; }
.locations-preview-copy h2 { margin-bottom: 28px; }
.locations-preview-list { counter-reset: loc; border-top: 1px solid var(--c-border); }
.locations-preview-item a {
	counter-increment: loc;
	display: flex; align-items: center; gap: 24px; padding: 24px 6px;
	border-bottom: 1px solid var(--c-border);
	transition: padding-left .35s var(--ease), background-color .35s var(--ease);
}
.locations-preview-item a::before {
	content: counter(loc, decimal-leading-zero);
	font-family: var(--font-display); font-size: 13px; color: var(--c-gold); flex-shrink: 0; width: 26px;
}
.locations-preview-item a:hover { padding-left: 18px; background: var(--c-cream); }
.loc-preview-name { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--c-ink); flex: 1; }
.loc-preview-address { color: var(--c-grey-600); font-size: 13.5px; font-weight: 300; text-align: right; }
.locations-preview-item .icon {
	color: var(--c-gold); flex-shrink: 0; opacity: 0; transform: translateX(-8px);
	transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.locations-preview-item a:hover .icon { opacity: 1; transform: translateX(0); }

/* ---------- Testimonials ---------- */
.testimonials-section { background: var(--c-white); }
.elfsight-widget-wrap { margin-bottom: 8px; }
/* Elfsight Google Reviews: force equal-height cards. The carousel runs
   Swiper.js in autoHeight mode, which sets .swiper-wrapper's height via
   JS to match only the active slide's natural content height — by
   design, cards are meant to be different heights. To get an equal-height
   row instead, we neutralize Swiper's own JS-driven height and let plain
   flexbox stretch (align-items:stretch, the default) size every slide to
   match the tallest one, then propagate height:100% down through
   Elfsight's own documented es-* class hooks so the review body can grow
   and pin the "Posted on Google" footer to a consistent bottom position.
   !important is needed since Elfsight injects its own stylesheet at
   runtime, after ours, so normal cascade order can't be relied on. */
.elfsight-widget-wrap .swiper-wrapper { height: auto !important; align-items: stretch !important; }
.elfsight-widget-wrap .swiper-slide { height: auto !important; }
.elfsight-widget-wrap .es-carousel-layout-item,
.elfsight-widget-wrap .es-review-container,
.elfsight-widget-wrap .es-review-background-container {
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
}
.elfsight-widget-wrap .es-review-content-container { flex: 1 1 auto !important; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin-top: 40px; }
.testimonial-card {
	margin: 0; background: var(--c-cream); border-radius: var(--radius); padding: 40px 36px;
	border-top: 2px solid var(--c-gold); position: relative;
}
.testimonial-card .icon-quote { width: 26px; height: 26px; color: var(--c-gold); margin-bottom: 18px; }
.testimonial-card p { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--c-ink); }
.testimonial-card cite { font-style: normal; font-weight: 500; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--c-gold); }

/* ---------- Page banner (interior pages) ---------- */
.page-banner {
	position: relative; min-height: 42vh; display: flex; align-items: flex-end;
	background: var(--c-charcoal) center/cover no-repeat; color: var(--c-white); padding-bottom: 60px;
}
.page-banner-compact { min-height: 30vh; }
.page-banner-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,22,26,.35) 0%, rgba(23,22,26,.88) 100%); }
.page-banner .container { position: relative; z-index: 1; width: 100%; }
.page-banner h1 { font-size: clamp(30px, 4.2vw, 48px); margin: 0; color: var(--c-white); font-weight: 600; }
.page-banner .section-eyebrow { color: var(--c-gold-bright); }
.page-banner .section-eyebrow::before { background: var(--c-gold-bright); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; margin-bottom: 64px; }
.contact-form-col h2 { font-size: 26px; margin-bottom: 24px; }
.contact-form-embed {
	background: var(--c-cream); border: 1px solid var(--c-border); border-radius: var(--radius);
	padding: 36px 32px; min-height: 420px; overflow: hidden; position: relative;
}

/* Contact Form 7 output */
.contact-form-embed .wpcf7-form label { display: block; font-family: var(--font-body); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--c-ink); margin-bottom: 22px; }
.contact-form-embed .wpcf7-form-control {
	display: block; width: 100%; margin-top: 8px; padding: 13px 16px;
	font-family: var(--font-body); font-weight: 300; font-size: 15px; color: var(--c-ink);
	background: var(--c-white); border: 1px solid var(--c-border); border-radius: 2px;
	transition: border-color .2s;
}
.contact-form-embed .wpcf7-form-control:focus { outline: none; border-color: var(--c-gold); }
.contact-form-embed textarea.wpcf7-form-control { min-height: 140px; resize: vertical; }
.contact-form-embed select.wpcf7-form-control {
	-webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8912f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
}
.contact-form-embed .wpcf7-submit {
	margin-top: 4px; background: var(--c-ink); color: var(--c-white); border: 1px solid var(--c-ink);
	padding: 15px 34px; font-family: var(--font-body); font-weight: 500; text-transform: uppercase;
	letter-spacing: .12em; font-size: 12.5px; border-radius: 2px; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease);
}
.contact-form-embed .wpcf7-submit:hover { background: var(--c-gold-bright); border-color: var(--c-gold-bright); color: var(--c-ink); }
.contact-form-embed .wpcf7-spinner { margin-left: 12px; }
.contact-form-embed .wpcf7-not-valid-tip { display: block; color: #b3261e; font-size: 12.5px; font-weight: 400; text-transform: none; letter-spacing: 0; margin-top: 6px; }
.contact-form-embed .wpcf7-response-output { margin: 20px 0 0; padding: 14px 18px; border-radius: 2px; font-size: 14px; }
.contact-form-embed form.sent .wpcf7-response-output { border-color: var(--c-gold); background: var(--c-gold-wash); }
.contact-form-embed form.invalid .wpcf7-response-output,
.contact-form-embed form.failed .wpcf7-response-output { border-color: #b3261e; background: rgba(179,38,30,.06); color: #b3261e; }
.contact-sidebar-card { background: var(--c-charcoal); color: rgba(255,255,255,.8); border-radius: var(--radius); padding: 44px 36px; }
.contact-sidebar-card h3 { color: var(--c-white); font-size: 15px; text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-body); font-weight: 500; margin-bottom: 20px; }
.contact-sidebar-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 28px 0; }
.contact-line { font-size: 14.5px; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.contact-line strong { display: flex; align-items: center; gap: 8px; color: var(--c-white); margin-bottom: 5px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.contact-line a { color: rgba(255,255,255,.85); }
.contact-line a:hover { color: var(--c-gold-bright); }
.contact-line .icon { width: 14px; height: 14px; color: var(--c-gold-bright); }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); line-height: 0; }

/* ---------- Accordions (FAQ + Packages) ---------- */
.accordion-item {
	border-bottom: 1px solid var(--c-border); margin-bottom: 0; overflow: hidden;
	background: var(--c-white);
}
.accordion-item:first-child { border-top: 1px solid var(--c-border); }
.accordion-trigger {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	background: var(--c-white); border: 0; padding: 26px 4px; text-align: left;
	font-family: var(--font-display); font-weight: 600; font-size: 18px;
	transition: color .2s;
}
.accordion-trigger:hover { color: var(--c-gold); }
.accordion-trigger .icon { width: 16px; height: 16px; flex-shrink: 0; transition: transform .3s var(--ease); color: var(--c-gold); }
.accordion-item.is-open .accordion-trigger .icon { transform: rotate(45deg); }
.accordion-item.is-open .accordion-trigger { color: var(--c-gold); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.accordion-panel-inner { padding: 0 4px 28px; color: var(--c-grey-600); font-weight: 300; }
.accordion-panel-inner ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.accordion-panel-inner li { margin-bottom: 6px; }

.package-title { flex: 1; font-size: 17px; }
.package-price { font-family: var(--font-display); font-weight: 600; color: var(--c-gold); font-size: 18px; }
.enroll-note { margin-top: 40px; padding: 26px 30px; background: var(--c-cream); border-left: 2px solid var(--c-gold); }
.enroll-note p { margin: 0 0 8px; font-size: 14.5px; color: var(--c-grey-600); font-weight: 300; }
.enroll-note p:last-child { margin-bottom: 0; }

/* ---------- Locations ---------- */
.locations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.location-card { background: var(--c-white); border: 1px solid var(--c-border); overflow: hidden; transition: box-shadow .3s var(--ease); }
.location-card:hover { box-shadow: var(--shadow-card-hover); border-color: transparent; }
.location-card-map iframe { display: block; width: 100%; filter: grayscale(.4) contrast(1.02); }
.location-card-body { padding: 30px 32px 32px; }
.location-card-body h3 { font-size: 19px; margin-bottom: 12px; }
.location-address { display: flex; gap: 9px; align-items: flex-start; color: var(--c-grey-600); font-size: 14.5px; margin-bottom: 22px; font-weight: 300; }
.location-address .icon { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--c-gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-charcoal); color: rgba(255,255,255,.55); }
.footer-cta { border-bottom: 1px solid rgba(255,255,255,.08); padding: 84px 0; text-align: center; }
.footer-cta-eyebrow {
	display: inline-flex; align-items: center; gap: 14px;
	font-family: var(--font-body); font-weight: 500; text-transform: uppercase; letter-spacing: 0.24em;
	font-size: 12px; color: var(--c-gold-bright); margin-bottom: 20px;
}
.footer-cta-eyebrow::before, .footer-cta-eyebrow::after { content: ""; width: 28px; height: 1px; background: rgba(240, 194, 12, .5); }
.footer-cta-heading { color: var(--c-white); font-size: clamp(24px, 3.2vw, 38px); font-weight: 600; margin: 0 0 36px; }
.footer-cta-phone {
	display: inline-flex; align-items: center; gap: 14px; padding: 18px 40px;
	border: 1px solid var(--c-gold-bright); border-radius: 2px; color: var(--c-gold-bright);
	font-family: var(--font-display); font-size: 21px; font-weight: 600; white-space: nowrap;
	transition: background .3s var(--ease), color .3s var(--ease);
}
.footer-cta-phone .icon { width: 19px; height: 19px; flex-shrink: 0; }
.footer-cta-phone:hover { background: var(--c-gold-bright); color: var(--c-ink); }
.footer-main { padding: 72px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 48px; }
.footer-col h3 { color: var(--c-white); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; font-family: var(--font-body); font-weight: 500; margin-bottom: 24px; }
.footer-menu li, .footer-col p { margin-bottom: 12px; }
.footer-menu a { color: rgba(255,255,255,.55); font-size: 14px; font-weight: 300; transition: color .2s; }
.footer-menu a:hover { color: var(--c-gold-bright); }
.footer-line strong { display: flex; align-items: center; gap: 8px; color: var(--c-white); margin-bottom: 5px; font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.footer-line { font-weight: 300; }
.footer-line .icon { width: 13px; height: 13px; color: var(--c-gold-bright); }
.footer-line a:hover { color: var(--c-gold-bright); }
.payment-badges { display: flex; gap: 10px; margin-bottom: 22px; }
.payment-badges span {
	font-family: var(--font-body); font-size: 10.5px; font-weight: 500; letter-spacing: .06em;
	border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.55); padding: 6px 10px; border-radius: 2px;
}
.ferpa-badge { display: inline-block; margin-bottom: 18px; opacity: .85; }
.social-links { display: flex; gap: 10px; }
.social-links a {
	width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
	display: flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s;
}
.social-links a:hover { border-color: var(--c-gold-bright); color: var(--c-gold-bright); }
.social-links .icon { width: 15px; height: 15px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 12.5px; text-align: center; color: rgba(255,255,255,.35); }
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: underline; }

.back-to-top {
	position: fixed; right: 28px; bottom: 28px; width: 46px; height: 46px; border-radius: 50%;
	background: var(--c-ink); color: var(--c-gold-bright); display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-card-hover); opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .25s, transform .25s, visibility .25s; z-index: 400;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top .icon { width: 18px; height: 18px; transform: rotate(180deg); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.hero-grid { grid-template-columns: 1fr; gap: 48px; }
	.hero-divider { display: none; }
	.hero-copy { max-width: none; }
	.hero-media { order: -1; max-width: 460px; margin: 0 auto 20px; width: 100%; }
	.hero-media::before { display: none; }
	.hero-media::after { width: 56px; height: 56px; top: -12px; right: -12px; }
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.about-blurb-grid { grid-template-columns: 1fr; gap: 40px; }
	.about-blurb-image { order: -1; }
	.contact-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.locations-grid { grid-template-columns: 1fr; }
	.locations-preview-grid { grid-template-columns: 1fr; gap: 36px; }
	.locations-preview-copy { position: static; }
}

@media (max-width: 560px) {
	.locations-preview-item a { flex-wrap: wrap; row-gap: 6px; }
	.loc-preview-address { width: 100%; text-align: left; padding-left: 50px; order: 3; }
	.locations-preview-item .icon { display: none; }
}

@media (max-width: 860px) {
	.topbar-portals { display: none; }
	.topbar-contact a[href^="mailto:"] { display: none; }
	.topbar-inner { justify-content: center; }
	.primary-nav {
		position: fixed; inset: 84px 0 0 0; background: var(--c-white); flex: none;
		transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto;
		padding: 24px 32px; z-index: 450; border-top: 1px solid var(--c-border);
	}
	.primary-nav.is-open { transform: translateX(0); }
	.primary-menu { flex-direction: column; align-items: stretch; gap: 4px; }
	.primary-menu > li > a { padding: 18px 4px; font-size: 15px; border-bottom: 1px solid var(--c-border); }
	.primary-menu > li > a::after { display: none; }
	.primary-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: var(--c-cream); display: none; }
	.primary-menu li.menu-item-has-children.is-open .sub-menu { display: block; }
	.section { padding: 76px 0; }
	.hero { padding: 48px 0 64px; }
	.nav-toggle { display: flex; }
	.navbar-cta { display: none; }
	.services-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
	.hero-heading { font-size: 32px; }
	.section-banner-inner h2 { font-size: 24px; }
	.btn { padding: 13px 20px; font-size: 11.5px; }
	.btn-lg { padding: 15px 24px; font-size: 12px; }
	.award-text strong { font-size: 15px; }
	.award-text span { font-size: 13px; }
	.award-strip-inner { flex-direction: column; gap: 12px; }
}
