/* ==========================================================================
   Summit Solution — Design System
   Dark Navy / Electric Blue / Solar Orange · Glassmorphism · Futuristic Corporate
   ========================================================================== */

:root {
	/* Primary palette */
	--navy: #071B34;
	--navy-light: #0E2A4D;
	--solar-blue: #0B5FFF;
	--energy-cyan: #00F2FF;

	/* Accent */
	--solar-orange: #FFB800;
	--white: #FFFFFF;
	--light-gray: #F5F7FA;

	/* Derived */
	--navy-glass: rgba(14, 42, 77, 0.55);
	--border-glass: rgba(255, 255, 255, 0.12);
	--text-on-dark: rgba(255, 255, 255, 0.92);
	--text-on-dark-muted: rgba(255, 255, 255, 0.65);
	--text-on-light: #0B1726;
	--text-on-light-muted: #4A5A6E;

	/* Gradients */
	--gradient-hero: linear-gradient(135deg, #071B34 0%, #0E2A4D 50%, #0B5FFF 130%);
	--gradient-accent: linear-gradient(135deg, var(--solar-blue), var(--energy-cyan));
	--gradient-orange: linear-gradient(135deg, #FFB800, #FF8A00);

	/* Typography */
	--font-heading: 'Sora', 'Space Grotesk', sans-serif;
	--font-body: 'Inter', 'Open Sans', sans-serif;

	/* Layout */
	--container-width: 1320px;
	--radius-sm: 8px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--header-height: 84px;
	--header-height-actual: 84px; /* overwritten by JS with the real measured height — see initMobileMenu() in main.js. Needed because the header's height isn't fixed (a wrapped two-line company name on narrow phones makes it taller), so a hardcoded offset would leave the mobile menu starting underneath the header instead of flush below it. */

	/* Shadows */
	--shadow-glow-blue: 0 8px 40px rgba(11, 95, 255, 0.25);
	--shadow-glow-orange: 0 8px 30px rgba(255, 184, 0, 0.25);
	--shadow-card: 0 10px 30px rgba(7, 27, 52, 0.12);
}

/* ---------------------------------------------------------------------- */
/* Reset & base                                                           */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--text-on-light);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
	position: fixed; top: 10px; left: 10px; z-index: 9999;
	background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--text-on-light);
	line-height: 1.2;
	margin: 0 0 16px;
	font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.35rem; }
p { line-height: 1.7; margin: 0 0 16px; color: var(--text-on-light-muted); }

.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 24px;
}

.section { padding: 88px 0; }
@media (max-width: 768px) { .section { padding: 56px 0; } }

.eyebrow {
	display: inline-block;
	font-family: var(--font-heading);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--solar-blue);
	margin-bottom: 14px;
}

.section-heading { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-heading p { margin: 0 auto; }

/* ---------------------------------------------------------------------- */
/* Glassmorphism                                                          */
/* ---------------------------------------------------------------------- */
.glass-card {
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.5);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.summit-home .glass-card:hover,
.glass-card:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(7, 27, 52, 0.16); }

/* Glass card on dark backgrounds (hero, footer CTA, stats, calculator) */
.hero .glass-card,
.summit-footer .glass-card,
.stats-section .glass-card,
.summit-stats .glass-card,
.final-cta {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid var(--border-glass);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	color: var(--text-on-dark);
}

/* Standalone glass-card variants for Elementor-built pages, where the
   exact PHP DOM nesting (.hero .glass-card etc.) can't be relied on.
   These carry their own padding since, unlike .glass-card, they're used
   without a separate manual padding setting alongside them. */
.ele-card-light, .ele-card-dark {
	border-radius: var(--radius-md);
	padding: 28px;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ele-card-light {
	background: #FFFFFF;
	border: 1px solid rgba(7, 27, 52, 0.08);
	box-shadow: 0 4px 24px rgba(7, 27, 52, 0.08);
}
.ele-card-dark {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid var(--border-glass);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	color: var(--text-on-dark);
}
.ele-card-dark, .ele-card-dark p, .ele-card-dark h1, .ele-card-dark h2, .ele-card-dark h3, .ele-card-dark h4 { color: var(--text-on-dark); }
.ele-card-light:hover, .ele-card-dark:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(7, 27, 52, 0.16); }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                */
/* ---------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 14px 28px;
	border-radius: 999px;
	border: 1px solid transparent;
	transition: all 0.3s ease;
	white-space: nowrap;
}
.btn--primary {
	background: var(--gradient-accent);
	color: var(--white);
	box-shadow: var(--shadow-glow-blue);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(11, 95, 255, 0.4); }

.btn--outline {
	background: transparent;
	color: var(--navy);
	border-color: rgba(7, 27, 52, 0.25);
}
.btn--outline:hover { border-color: var(--solar-blue); color: var(--solar-blue); }

.btn--ghost {
	background: rgba(255, 255, 255, 0.08);
	color: var(--white);
	border-color: var(--border-glass);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.16); }

.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--lg { padding: 17px 34px; font-size: 1.02rem; }

/* ---------------------------------------------------------------------- */
/* Header                                                                 */
/* ---------------------------------------------------------------------- */
.summit-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: rgba(7, 27, 52, 0.96);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	transition: background 0.3s ease, box-shadow 0.3s ease;
}
.summit-header.is-scrolled { background: rgba(5, 18, 36, 0.98); box-shadow: 0 8px 30px rgba(0,0,0,0.25); }
.summit-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-height);
	padding: 12px 0;
	gap: 24px;
}
.summit-logo-text { display: flex; align-items: center; gap: 10px; line-height: 1.1; }
.summit-logo-text__img { height: 42px; width: auto; display: block; }
.summit-logo-text__words { display: flex; flex-direction: column; }
.summit-logo-text__main { font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; color: var(--white); }
.summit-logo-text__tag { font-size: 0.7rem; color: var(--energy-cyan); letter-spacing: 0.05em; }
.summit-logo-text--footer { display: flex; align-items: center; gap: 10px; }
.summit-logo-text--footer .summit-logo-text__main { color: var(--white); }

.summit-nav__menu { display: flex; align-items: center; gap: 32px; }
.summit-nav__menu a {
	font-family: var(--font-heading);
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--text-on-dark);
	position: relative;
	padding: 6px 0;
}
.summit-nav__menu a::after {
	content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
	background: var(--gradient-accent); transition: width 0.3s ease;
}
.summit-nav__menu a:hover::after,
.summit-nav__menu .current-menu-item a::after { width: 100%; }

.summit-header__actions { display: flex; align-items: center; gap: 16px; }
.summit-mobile-toggle {
	display: none; flex-direction: column; justify-content: center; gap: 5px;
	width: 38px; height: 38px; background: transparent; border: none;
}
.summit-mobile-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }

.summit-mobile-menu {
	display: none;
	position: fixed; inset: var(--header-height-actual) 0 0 0; z-index: 998;
	width: 100%;
	height: calc(100vh - var(--header-height-actual));
	background: rgba(7, 27, 52, 0.98);
	backdrop-filter: blur(20px);
	padding: 40px 24px;
	overflow-y: auto;
}
.summit-mobile-menu.is-open { display: block; }
.summit-mobile-menu__list { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.summit-mobile-menu__list a { font-family: var(--font-heading); font-size: 1.4rem; color: var(--white); }
.summit-mobile-menu__cta { width: 100%; }

@media (max-width: 900px) {
	.summit-nav { display: none; }
	.summit-mobile-toggle { display: flex; }
	.summit-header__cta { display: none; }
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                   */
/* ---------------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: center;
	padding: 160px 0 100px;
	overflow: hidden;
	background: var(--navy);
}
.hero--page { min-height: 56vh; padding: 140px 0 80px; }
.hero--simple { min-height: 40vh; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-image {
	position: absolute; inset: 0;
	background: var(--gradient-hero);
	opacity: 0.9;
}
.hero__bg-image--solar { background: linear-gradient(135deg, #071B34 0%, #0B5FFF 70%, #FFB800 140%); }
.hero__bg-image--mep { background: linear-gradient(135deg, #071B34 0%, #0E2A4D 60%, #00F2FF 150%); }
.hero__bg-grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 70%);
}
.hero__bg-glow {
	position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
}
.hero__bg-glow--1 { width: 480px; height: 480px; background: var(--solar-blue); top: -120px; right: -120px; }
.hero__bg-glow--2 { width: 360px; height: 360px; background: var(--solar-orange); bottom: -100px; left: -80px; opacity: 0.25; }

.hero__content { position: relative; z-index: 1; max-width: 760px; }
.hero__content--page { max-width: 820px; }
.hero .eyebrow { color: var(--energy-cyan); }
.hero h1, .hero__title {
	color: var(--white);
	margin-bottom: 20px;
}
.hero__subtitle, .hero p { color: var(--text-on-dark-muted); font-size: 1.1rem; max-width: 600px; }
.hero__actions { display: flex; gap: 18px; margin-top: 36px; flex-wrap: wrap; }

.hero__scroll-cue {
	position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
	width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.4); border-radius: 16px;
}
.hero__scroll-cue span {
	display: block; width: 4px; height: 8px; background: var(--energy-cyan); border-radius: 2px;
	margin: 8px auto; animation: scrollCue 1.6s infinite;
}
@keyframes scrollCue { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------------------------------------------------------------------- */
/* Stats counters                                                         */
/* ---------------------------------------------------------------------- */
.stats-section { padding-top: 0; margin-top: -64px; position: relative; z-index: 2; }
.summit-stats {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
	background: var(--navy); border-radius: var(--radius-lg); padding: 12px;
}
.summit-stats__item { text-align: center; padding: 32px 16px; }
.summit-stats__value {
	display: block; font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700;
	background: var(--gradient-accent); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.summit-stats__label { display: block; margin-top: 8px; font-size: 0.85rem; color: var(--text-on-dark-muted); }
@media (max-width: 768px) { .summit-stats { grid-template-columns: repeat(2, 1fr); } .stats-section { margin-top: -40px; } }

/* ---------------------------------------------------------------------- */
/* Services grid                                                          */
/* ---------------------------------------------------------------------- */
.services-grid, .solar-services-grid, .mep-services-grid, .hvac-services-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.solar-services-grid, .mep-services-grid, .hvac-services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card, .solar-service-card, .mep-service-card, .hvac-service-card {
	padding: 36px 28px; position: relative;
}
.service-card--featured { border: 1px solid rgba(11,95,255,0.3); box-shadow: var(--shadow-glow-blue); }
.service-card__icon {
	width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px;
	background: var(--gradient-accent);
}
.service-card__icon--mep { background: var(--gradient-orange); }
.service-card__icon--hvac { background: linear-gradient(135deg, var(--energy-cyan), var(--solar-blue)); }
.service-card__list { margin: 18px 0; display: flex; flex-direction: column; gap: 8px; }
.service-card__list li { font-size: 0.92rem; color: var(--text-on-light-muted); padding-left: 18px; position: relative; }
.service-card__list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--solar-blue); }
.service-card__link { color: var(--solar-blue); font-weight: 600; font-family: var(--font-heading); }

/* ---------------------------------------------------------------------- */
/* Why choose us                                                          */
/* ---------------------------------------------------------------------- */
.why-section { background: var(--light-gray); }
.why-section__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-section__list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why-section__item { display: flex; align-items: center; gap: 12px; font-weight: 600; font-family: var(--font-heading); font-size: 0.95rem; }
.why-section__check {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
	background: var(--gradient-accent); color: var(--white); font-size: 0.8rem;
}

/* ---------------------------------------------------------------------- */
/* Projects grid                                                          */
/* ---------------------------------------------------------------------- */
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.project-card { overflow: hidden; display: block; }
.project-card__image { aspect-ratio: 4/3; overflow: hidden; background: var(--light-gray); }
.project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-card__image img { transform: scale(1.08); }
.project-card__image-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #0E2A4D, #0B5FFF); }
.project-card__body { padding: 20px; }
.project-card__title { font-size: 1.05rem; margin-bottom: 6px; }
.project-card__meta { font-size: 0.8rem; color: var(--solar-blue); font-weight: 600; margin-bottom: 4px; }
.project-card__excerpt { font-size: 0.88rem; margin: 0; }
.projects-section__footer { text-align: center; margin-top: 40px; }

/* ---------------------------------------------------------------------- */
/* Testimonials                                                           */
/* ---------------------------------------------------------------------- */
.testimonials-slider { position: relative; }
.testimonials-slider__track {
	display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
	scrollbar-width: none; padding-bottom: 8px;
}
.testimonials-slider__track::-webkit-scrollbar { display: none; }
.testimonial-card {
	flex: 0 0 calc(33.333% - 16px); scroll-snap-align: start; padding: 32px;
}
.testimonial-card__quote { font-size: 1.02rem; font-style: italic; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.testimonial-card__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-card__author span { display: block; font-size: 0.8rem; color: var(--text-on-light-muted); }
.testimonials-slider__nav { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.testimonials-slider__prev, .testimonials-slider__next {
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(7,27,52,0.15);
	background: var(--white); font-size: 1.1rem;
}
.testimonials-slider__prev:hover, .testimonials-slider__next:hover { background: var(--solar-blue); color: var(--white); }

/* ---------------------------------------------------------------------- */
/* Final CTA                                                              */
/* ---------------------------------------------------------------------- */
.final-cta-section { background: var(--navy); }
.final-cta {
	padding: 64px; text-align: center; border-radius: var(--radius-lg);
	background: var(--gradient-hero);
}
.final-cta h2 { color: var(--white); }
.final-cta p { color: var(--text-on-dark-muted); max-width: 560px; margin: 0 auto 28px; }
.final-cta__actions { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                 */
/* ---------------------------------------------------------------------- */
.summit-footer { background: var(--navy); color: var(--text-on-dark); padding-top: 80px; }

.summit-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 56px; }
.summit-footer__desc { font-size: 0.9rem; margin: 16px 0; }
.footer-widget-title { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.summit-footer__links, .summit-footer__contact { display: flex; flex-direction: column; gap: 12px; font-size: 0.9rem; }
.summit-footer__contact li { color: var(--text-on-dark-muted); }

.summit-footer__social { display: flex; gap: 12px; margin-top: 16px; }
.summit-social-icon {
	width: 38px; height: 38px; border-radius: 50%;
	background: rgba(255,255,255,0.08); border: 1px solid var(--border-glass);
	display: inline-flex; align-items: center; justify-content: center;
	position: relative;
}
.summit-social-icon:hover { background: var(--gradient-accent); }
.summit-social-icon::before {
	content: ''; width: 16px; height: 16px; background: currentColor; opacity: 0.9;
}


/* "Follow Us" card on the Contact page sits on a light background, so the
   icon badge needs the dark-on-light treatment instead of the footer's
   light-on-dark one. */
.contact-info__card .summit-social-icon {
	background: var(--light-gray); border-color: rgba(7,27,52,0.1); color: var(--navy);
}
.contact-info__card .summit-social-icon:hover { background: var(--gradient-accent); color: var(--white); }

.summit-newsletter { display: flex; gap: 8px; margin-top: 16px; }
.summit-newsletter input {
	flex: 1; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--border-glass);
	background: rgba(255,255,255,0.06); color: var(--white); font-size: 0.85rem;
}
.summit-newsletter input::placeholder { color: var(--text-on-dark-muted); }

.summit-footer__bottom { border-top: 1px solid var(--border-glass); padding: 22px 0; }
.summit-footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.82rem; color: var(--text-on-dark-muted); }

/* ---------------------------------------------------------------------- */
/* Solar Calculator                                                       */
/* ---------------------------------------------------------------------- */
.calculator-section { background: var(--light-gray); }
.summit-calc { max-width: 720px; margin: 0 auto; padding: 44px; background: var(--navy); color: var(--text-on-dark); border-radius: var(--radius-lg); }
.summit-calc__title { color: var(--white); }
.summit-calc__subtitle { color: var(--text-on-dark-muted); }
.summit-calc__field { margin-bottom: 22px; }
.summit-calc__field label { display: block; font-size: 0.85rem; margin-bottom: 8px; color: var(--text-on-dark-muted); }
.summit-calc__field input[type="number"],
.summit-calc__field select {
	width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
	border: 1px solid var(--border-glass); background: rgba(255,255,255,0.06); color: var(--white);
}
.summit-calc__field input[type="range"] { width: 100%; margin-bottom: 10px; accent-color: var(--energy-cyan); }
#summit-calc-submit { width: 100%; margin-top: 8px; }

.summit-calc__results { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border-glass); }
.summit-calc__result { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--border-glass); }
.summit-calc__result-label { color: var(--text-on-dark-muted); font-size: 0.9rem; }
.summit-calc__result-value { font-family: var(--font-heading); font-weight: 700; color: var(--energy-cyan); }
.summit-calc__cta { display: block; text-align: center; margin-top: 22px; }
.summit-calc__disclaimer { font-size: 0.75rem; color: var(--text-on-dark-muted); margin-top: 16px; }

/* ---------------------------------------------------------------------- */
/* Process steps                                                          */
/* ---------------------------------------------------------------------- */
.process-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: step; }
.process-steps__item { text-align: center; padding: 24px 12px; border-radius: var(--radius-md); background: var(--light-gray); }
.process-steps__number { display: block; font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--solar-blue); margin-bottom: 8px; }
.process-steps__label { font-weight: 600; font-size: 0.9rem; }

/* ---------------------------------------------------------------------- */
/* Benefits / FAQ                                                         */
/* ---------------------------------------------------------------------- */
.benefits-section__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.benefits-list { display: flex; flex-direction: column; gap: 16px; }
.benefits-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-family: var(--font-heading); }

.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { padding: 20px 24px; border-radius: var(--radius-md); background: var(--light-gray); }
.faq-item summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); }
.faq-item__answer { margin-top: 12px; }

/* ---------------------------------------------------------------------- */
/* Contact page                                                           */
/* ---------------------------------------------------------------------- */
.contact-section__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; }
.contact-form-wrap { padding: 44px; }
.contact-form-wrap__intro { font-size: 0.92rem; margin-bottom: 24px; }
.contact-form__field--consent { margin-bottom: 24px; }
.contact-form__checkbox {
	display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem;
	font-weight: 500; cursor: pointer; color: var(--text-on-light-muted);
}
.contact-form__checkbox input[type="checkbox"] { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--solar-blue); flex-shrink: 0; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form__field { margin-bottom: 20px; }
.contact-form__field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.contact-form__field input, .contact-form__field select, .contact-form__field textarea {
	width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(7,27,52,0.15);
	font-family: var(--font-body); font-size: 0.95rem;
}
.contact-form__status { margin-top: 14px; font-size: 0.9rem; font-weight: 600; }
.contact-form__status.is-success { color: #1a8a4c; }
.contact-form__status.is-error { color: #d23b3b; }

.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info__card { padding: 26px; }
.contact-info__card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--solar-blue); }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------------------------------------------------------------------- */
/* 404                                                                    */
/* ---------------------------------------------------------------------- */
.error-404 { text-align: center; padding: 80px 0; max-width: 600px; margin: 0 auto; }
.error-404__actions { display: flex; justify-content: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

/* ---------------------------------------------------------------------- */
/* Tags / blog grid / pagination                                         */
/* ---------------------------------------------------------------------- */
.tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--light-gray); font-size: 0.8rem; font-weight: 600; margin: 4px 4px 0 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%; background: var(--light-gray); font-weight: 600;
}
.pagination .page-numbers.current { background: var(--gradient-accent); color: var(--white); }

/* ---------------------------------------------------------------------- */
/* Scroll animations (toggled via JS by adding .is-visible)               */
/* ---------------------------------------------------------------------- */
[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------------- */
/* Responsive                                                             */
/* ---------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.services-grid, .solar-services-grid, .mep-services-grid, .hvac-services-grid,
	.projects-grid { grid-template-columns: repeat(2, 1fr); }
	.process-steps { grid-template-columns: repeat(3, 1fr); }
	.testimonial-card { flex: 0 0 calc(50% - 12px); }
	.why-section__grid, .benefits-section__grid, .contact-section__grid { grid-template-columns: 1fr; }
	.summit-footer__grid { grid-template-columns: 1fr 1fr; }
	.blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.services-grid, .solar-services-grid, .mep-services-grid, .hvac-services-grid,
	.projects-grid, .blog-grid { grid-template-columns: 1fr; }
	.process-steps { grid-template-columns: repeat(2, 1fr); }
	.testimonial-card { flex: 0 0 100%; }
	.why-section__list { grid-template-columns: 1fr; }
	.summit-footer__grid { grid-template-columns: 1fr; text-align: left; }
	.contact-form__row { grid-template-columns: 1fr; }
	.summit-footer__cta-inner { flex-direction: column; text-align: center; }
	.hero { padding: 130px 0 64px; min-height: auto; }
	.final-cta { padding: 40px 24px; }
	.summit-logo-text__main { font-size: 1.05rem; }
	.summit-logo-text__tag { font-size: 0.62rem; }
}

@media (max-width: 380px) {
	/* Below this width even the shrunk logo can still wrap on a long
	   company name — the dynamic header-height JS (initHeaderHeightTracking
	   in main.js) handles that case correctly either way, but shrinking
	   further here reduces how often it actually needs to. */
	.summit-logo-text__main { font-size: 0.92rem; }
}

/* ---------------------------------------------------------------------- */
/* Projects archive page                                                  */
/* ---------------------------------------------------------------------- */
.project-filters {
	display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px;
}
.project-filter {
	padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(7,27,52,0.15);
	background: var(--white); font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem;
	color: var(--text-on-light); transition: all 0.25s ease;
}
.project-filter:hover { border-color: var(--solar-blue); color: var(--solar-blue); }
.project-filter.is-active { background: var(--gradient-accent); color: var(--white); border-color: transparent; }

.projects-table-wrap { overflow-x: auto; }
.projects-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.projects-table th {
	text-align: left; padding: 14px 16px; background: var(--navy); color: var(--white);
	font-family: var(--font-heading); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.projects-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.projects-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.projects-table td { padding: 14px 16px; border-bottom: 1px solid rgba(7,27,52,0.08); }
.projects-table tbody tr:hover { background: var(--light-gray); }
.project-row__client { font-weight: 600; font-family: var(--font-heading); }
.project-row.is-hidden { display: none; }

.projects-cards-wrap { display: none; flex-direction: column; gap: 16px; }
.project-row-card { padding: 22px; }
.project-row-card h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.project-row-card__scope { margin: 0 0 6px; font-size: 0.9rem; }
.project-row-card__location { margin: 0; font-size: 0.82rem; color: var(--solar-blue); font-weight: 600; }
.project-row-card.is-hidden { display: none; }

.projects-empty-state { text-align: center; padding: 40px 0; font-weight: 600; }

@media (max-width: 900px) {
	.projects-table-wrap { display: none; }
	.projects-cards-wrap { display: flex; }
}
