/*
Theme Name:   GeneratePress Child
Template:     generatepress
Version:      1.0.0
Description:  Child theme for Innovate Structural
*/

/* ─── Brand Tokens ─────────────────────────────────────────── */
:root {
	--color-header-bg:  #1B2122;
	--color-heading:    #599CCE;
	--color-page-bg:    #FFFFFF;
	--color-card-bg:    #F5F5F5;
	--color-text-dark:  #1B2122;
	--color-text-light: #FFFFFF;
	--color-text-muted: #555555;
	--color-overlay:    rgba(27, 33, 34, 0.72);

	--font-base:        'Montserrat', sans-serif;
	--font-weight-body: 400;
	--font-weight-head: 700;

	--max-width:        1200px;
	--section-padding:  80px 20px;
}

/* ─── Reset / Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
	font-family: var(--font-base);
	font-weight: var(--font-weight-body);
	background:  var(--color-page-bg);
	color:       var(--color-text-dark);
	margin:      0;
	padding:     0;
}

img { max-width: 100%; display: block; }

/* ─── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-base);
	font-weight: var(--font-weight-head);
	color:       var(--color-heading);
	margin:      0 0 1rem;
	line-height: 1.2;
}

p { line-height: 1.7; margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--color-heading); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Layout ────────────────────────────────────────────────── */
.container {
	max-width: var(--max-width);
	margin:    0 auto;
	padding:   0 24px;
}

.section { padding: var(--section-padding); }

.section--dark {
	background: var(--color-header-bg);
	color:      var(--color-text-light);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark p { color: var(--color-text-light); }

.section--dark .section-label { color: rgba(255,255,255,0.45); }

.section--grey { background: var(--color-card-bg); }

.section--blue {
	background: var(--color-heading);
	color:      var(--color-text-light);
}

.section--blue h1,
.section--blue h2,
.section--blue h3,
.section--blue p { color: var(--color-text-light); }

/* ─── Section Headings ──────────────────────────────────────── */
.section-label {
	display:        block;
	font-size:      0.75rem;
	font-weight:    var(--font-weight-head);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color:          var(--color-text-muted);
	margin-bottom:  0.4rem;
}

.section-label--light { color: rgba(255,255,255,0.7); }

.section-title {
	font-size:      2rem;
	color:          var(--color-heading);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom:  2.5rem;
}

.section-title--light { color: var(--color-text-light); }

/* Optional intro copy under a section title; whatever follows the last
   intro paragraph gets the gap the title's own margin would have given. */
.section-title--has-intro { margin-bottom: 1.25rem; }

.section-intro {
	max-width:     720px;
	color:         var(--color-text-muted);
	margin-bottom: 1rem;
}

.section-intro--light { color: rgba(255,255,255,0.9); }

.section-intro + :not(.section-intro) { margin-top: 2.5rem; }

/* Pull-out line for a key sentence (blue on light sections, white on dark). */
.section-statement {
	font-size:   1.5rem;
	font-weight: var(--font-weight-head);
	line-height: 1.35;
	color:       var(--color-heading);
	margin-top:  1.5rem;
}

.section-statement--light { color: var(--color-text-light); margin-top: 0; }


/* ─── Process steps ─────────────────────────────────────────── */
.steps-grid {
	display:               grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap:                   28px;
}

.step-card {
	background: var(--color-page-bg);
	border-top: 3px solid var(--color-heading);
	padding:    32px 28px;
}

.step-card__number {
	display:       block;
	font-size:     2.5rem;
	font-weight:   var(--font-weight-head);
	line-height:   1;
	color:         var(--color-heading);
	margin-bottom: 1rem;
}

.step-card__title {
	font-size:      1.05rem;
	color:          var(--color-text-dark);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom:  0.75rem;
}

.step-card__text { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }

/* ─── "Why Innovate" pillars (dark section) ─────────────────── */
/* Five items: three across the top, two wider underneath (no orphan). */
.pillars {
	display:               grid;
	grid-template-columns: repeat(6, 1fr);
	gap:                   32px;
}

.pillar:nth-child(-n+3) { grid-column: span 2; }
.pillar:nth-child(n+4)  { grid-column: span 3; }

.pillar {
	border-top:  2px solid var(--color-heading);
	padding-top: 20px;
}

.pillar__title {
	font-size:      1rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom:  0.6rem;
}

.pillar__text { font-size: 0.88rem; margin: 0; }

/* ─── "Our Approach" ────────────────────────────────────────── */
.approach__layout {
	display:               grid;
	grid-template-columns: 1fr 1fr;
	gap:                   60px;
	align-items:           start;
}

.approach__list { list-style: none; margin: 0; padding: 0; }

.approach__list li {
	position:      relative;
	padding:       16px 0 16px 28px;
	font-weight:   var(--font-weight-head);
	border-bottom: 1px solid rgba(27, 33, 34, 0.12);
}

.approach__list li:first-child { border-top: 1px solid rgba(27, 33, 34, 0.12); }

.approach__list li::before {
	content:    "";
	position:   absolute;
	left:       0;
	top:        50%;
	width:      10px;
	height:     10px;
	background: var(--color-heading);
	transform:  translateY(-50%);
}

/* ─── "The Innovate Difference" principles ──────────────────── */
.principles {
	display:               grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap:                   20px;
}

.principle {
	background:  var(--color-card-bg);
	border-top:  3px solid var(--color-heading);
	padding:     28px 24px;
	font-size:   1.15rem;
	font-weight: var(--font-weight-head);
	line-height: 1.3;
	color:       var(--color-text-dark);
}

.principles + .section-statement { margin-top: 2.5rem; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
	display:         inline-block;
	padding:         12px 28px;
	font-family:     var(--font-base);
	font-weight:     var(--font-weight-head);
	font-size:       0.85rem;
	text-transform:  uppercase;
	letter-spacing:  0.08em;
	border:          none;
	cursor:          pointer;
	transition:      background 0.2s, color 0.2s;
	text-decoration: none;
}

.btn--primary {
	background: var(--color-heading);
	color:      var(--color-text-light);
}

.btn--primary:hover {
	background:      var(--color-header-bg);
	color:           var(--color-text-light);
	text-decoration: none;
}

.btn--light {
	background: var(--color-text-light);
	color:      var(--color-heading);
}

.btn--light:hover {
	background:      var(--color-header-bg);
	color:           var(--color-text-light);
	text-decoration: none;
}

/* ─── Header ────────────────────────────────────────────────── */
.site-header {
	background: var(--color-header-bg);
	position:   sticky;
	top:        0;
	z-index:    200;
	transition: transform 0.3s ease;
}

.site-header.nav-hidden { transform: translateY(-100%); }

.site-header__inner {
	display:               grid;
	grid-template-columns: 1fr auto 1fr;
	align-items:           center;
	gap:                   16px;
	padding-top:           18px;
	padding-bottom:        18px;
}

.site-header__logo { justify-self: start; }
.site-header__logo img { height: 54px; width: auto; }

/* Nav is mobile-dropdown-only now — its content is mirrored in
   .site-header__center / .site-header__actions for desktop. */
.site-nav { display: none; }

.site-nav__list {
	list-style: none;
	margin:     0;
	padding:    0;
	display:    flex;
	gap:        28px;
}

.site-nav__list a {
	color:          var(--color-text-light);
	font-size:      0.82rem;
	font-weight:    var(--font-weight-head);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	transition:     color 0.2s;
}

.site-nav__list a:hover {
	color:           var(--color-heading);
	text-decoration: none;
}

/* Centered nav group: Contact / Phone / Get a Quote. Sits in the
   middle grid column, which is auto-width and flanked by two
   equal 1fr columns (logo, actions) — that's what centers it
   regardless of how wide the logo vs. actions column are. */
.site-header__center {
	display:      flex;
	align-items:  center;
	justify-self: center;
	gap:          40px;
}

.site-header__center-link {
	color:          var(--color-text-light);
	font-size:      0.82rem;
	font-weight:    var(--font-weight-head);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	white-space:    nowrap;
	transition:     color 0.2s;
}

.site-header__center-link:hover {
	color:           var(--color-heading);
	text-decoration: none;
}

.site-header__actions {
	display:      flex;
	align-items:  center;
	justify-self: end;
	gap:          16px;
}

.site-header__phone {
	color:          var(--color-text-light);
	font-weight:    var(--font-weight-head);
	font-size:      0.9rem;
	white-space:    nowrap;
	flex-shrink:    0;
}

.site-header__phone:hover {
	color:           var(--color-heading);
	text-decoration: none;
}

/* ─── Site Switcher (Residential / Commercial) ─────────────────
   Deliberately styled as a segmented toggle rather than a text
   link, so it reads as "pick a mode" and not another nav item. ── */
.site-switcher {
	display:      flex;
	align-items:  center;
	gap:          2px;
	padding:      4px;
	border:       1px solid rgba(255,255,255,0.22);
	border-radius: 999px;
	background:   rgba(255,255,255,0.05);
	flex-shrink:  0;
}

.site-switcher__option {
	padding:        7px 16px;
	border-radius:  999px;
	font-size:      0.72rem;
	font-weight:    var(--font-weight-head);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color:          rgba(255,255,255,0.6);
	white-space:    nowrap;
	transition:     background 0.2s, color 0.2s;
}

.site-switcher__option:hover {
	color:           var(--color-text-light);
	text-decoration: none;
	background:      rgba(255,255,255,0.1);
}

.site-switcher__option.is-active {
	background: var(--color-heading);
	color:      var(--color-text-light);
}

.site-switcher__option.is-active:hover { background: var(--color-heading); }

.nav-toggle {
	display:    none;
	background: none;
	border:     none;
	cursor:     pointer;
	padding:    4px;
}

.nav-toggle__bar {
	display:    block;
	width:      24px;
	height:     2px;
	background: var(--color-text-light);
	margin:     5px 0;
	transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
	position:    relative;
	min-height:  100vh;
	display:     flex;
	align-items: center;
}

.hero__bg { position: absolute; inset: 0; overflow: hidden; }

.hero__bg img { width: 100%; height: 100%; object-fit: cover; }

.hero__overlay { position: absolute; inset: 0; background: var(--color-overlay); }

.hero__content {
	position:       relative;
	z-index:        1;
	padding-top:    120px;
	padding-bottom: 80px;
}

.hero__title {
	font-size:      3rem;
	color:          var(--color-text-light);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	max-width:      700px;
	margin-bottom:  2rem;
}

.hero__title--tight { margin-bottom: 1.25rem; }

.hero__lead {
	color:         var(--color-text-light);
	font-size:     1.1rem;
	max-width:     560px;
	margin-bottom: 1rem;
}

.hero__tagline {
	color:          var(--color-heading);
	font-size:      0.95rem;
	font-weight:    var(--font-weight-head);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	margin-bottom:  2rem;
}

.hero__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.hero__phone { color: var(--color-text-light); font-weight: var(--font-weight-head); font-size: 1rem; }
.hero__phone:hover { color: var(--color-heading); text-decoration: none; }

/* ─── Logo Carousel ─────────────────────────────────────────── */
.logos-section {
	padding:       40px 0 100px;
	background:    var(--color-page-bg);
	border-top:    1px solid #EBEBEB;
	border-bottom: 1px solid #EBEBEB;
}

.logos-section .container { margin-bottom: 48px; }

.logos-wrapper { overflow: hidden; }

.logos-track {
	display:   flex;
	width:     max-content;
	animation: logos-scroll 28s linear infinite;
}

.logos-track:hover { animation-play-state: paused; }

.logos-item {
	flex:            0 0 auto;
	padding:         0 48px;
	display:         flex;
	align-items:     center;
	justify-content: center;
}

.logos-item img {
	height:     52px;
	width:      auto;
	object-fit: contain;
	filter:     grayscale(1);
	opacity:    0.55;
	transition: filter 0.3s, opacity 0.3s;
}

.logos-item img:hover { filter: none; opacity: 1; }

@keyframes logos-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* ─── Services ──────────────────────────────────────────────── */
.services-grid {
	display:               grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap:                   28px;
}

.service-card { background: var(--color-card-bg); overflow: hidden; }

.service-card__image img { width: 100%; height: 220px; object-fit: cover; }

.service-card__body { padding: 24px; }

.service-card__title {
	color:          var(--color-heading);
	font-size:      0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom:  0.75rem;
}

.service-card__text { color: var(--color-text-muted); font-size: 0.88rem; margin: 0; }

/* ─── About ─────────────────────────────────────────────────── */
.about__layout {
	display:               grid;
	grid-template-columns: 1fr 1fr;
	gap:                   60px;
	align-items:           start;
	margin-bottom:         60px;
}

.about__body { color: var(--color-text-light); }

.about__image img { width: 100%; height: 400px; object-fit: cover; }

.team {
	margin-top:    48px;
	margin-bottom: 60px;
}

.team__heading {
	font-size:      0.75rem;
	font-weight:    var(--font-weight-head);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color:          rgba(255,255,255,0.45);
	margin-bottom:  1.5rem;
}

.team__grid {
	display:               grid;
	grid-template-columns: 1fr 1fr;
	gap:                   32px;
	align-items:           stretch;
}

.team-member__name { font-size: 1rem; color: var(--color-heading); margin-bottom: 0.25rem; }

.team-member__role {
	font-size:      0.8rem;
	color:          rgba(255,255,255,0.55);
	font-weight:    var(--font-weight-head);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom:  0.75rem;
}

.team-member__bio { font-size: 0.88rem; color: rgba(255,255,255,0.8); }

.stats {
	display:               grid;
	grid-template-columns: repeat(4, 1fr);
	gap:                   20px;
	text-align:            left;
	border-top:            1px solid rgba(255,255,255,0.15);
	padding-top:           48px;
}

.stat__number { display: block; font-size: 2.875rem; font-weight: var(--font-weight-head); color: var(--color-heading); }
.stat__label  { font-size: 0.8rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.1em; }

/* ─── Project Carousel ──────────────────────────────────────── */
.project-carousel {
	position:      relative;
	margin-bottom: 48px;
}

.project-carousel__slides {
	position: relative;
	height:   520px;
	overflow: hidden;
}

.project-slide {
	position:       absolute;
	inset:          0;
	opacity:        0;
	transition:     opacity 0.7s ease;
	pointer-events: none;
}

.project-slide.is-active {
	opacity:        1;
	pointer-events: auto;
	z-index:        1;
}

.project-slide__image {
	position: relative;
	overflow: hidden;
	height:   100%;
}

.project-slide__image img {
	width:      100%;
	height:     100%;
	object-fit: cover;
	display:    block;
}

.project-slide__caption-overlay {
	position:   absolute;
	bottom:     0;
	right:      0;
	background: rgba(89, 156, 206, 0.88);
	padding:    20px 28px;
	max-width:  380px;
}

.project-slide__name {
	font-size:      1.3rem;
	font-weight:    var(--font-weight-head);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color:          var(--color-text-light);
	margin:         0 0 12px;
}

.project-slide__divider {
	border:     none;
	border-top: 1px solid rgba(255,255,255,0.5);
	margin:     0 0 12px;
}

.project-slide__desc {
	font-size:      0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	line-height:    1.5;
	color:          rgba(255,255,255,0.92);
	margin:         0;
}

.carousel-btn {
	position:   absolute;
	top:        50%;
	transform:  translateY(-50%);
	background: none;
	border:     none;
	cursor:     pointer;
	padding:    8px;
	z-index:    10;
	color:      rgba(255,255,255,0.85);
	line-height: 0;
	transition: color 0.2s, opacity 0.2s;
}

.carousel-btn:hover { color: #ffffff; opacity: 1; }

.carousel-btn--prev { left: 8px; }
.carousel-btn--next { right: 8px; }

/* ─── Gallery Grid + Lightbox ───────────────────────────────── */
.gallery-grid {
	display:               grid;
	grid-template-columns: repeat(3, 1fr);
	gap:                   12px;
	margin-top:            12px;
}

.gallery-item {
	cursor:   pointer;
	overflow: hidden;
}

.gallery-item img {
	width:      100%;
	height:     220px;
	object-fit: cover;
	transition: transform 0.4s;
}

.gallery-item:hover img { transform: scale(1.05); }

.lightbox {
	position:        fixed;
	inset:           0;
	background:      rgba(0, 0, 0, 0.92);
	z-index:         500;
	display:         none;
	align-items:     center;
	justify-content: center;
}

.lightbox.is-open { display: flex; }

.lightbox__img {
	max-width:  90vw;
	max-height: 90vh;
	object-fit: contain;
}

.lightbox__close {
	position:   absolute;
	top:        20px;
	right:      24px;
	background: none;
	border:     none;
	color:      var(--color-text-light);
	font-size:  2.5rem;
	line-height: 1;
	cursor:     pointer;
	padding:    0;
}

/* ─── Testimonials ──────────────────────────────────────────── */
.testimonials-section { position: relative; }

.testimonial-carousel {
	position:  relative;
	max-width: 100%;
	margin:    0 auto;
	padding:   0 64px;
}

.testimonial-slide { display: none; }

.testimonial-slide.is-active {
	display:   block;
	animation: testimonial-fade 0.5s ease forwards;
}

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

.testimonial {
	margin:     0;
	text-align: left;
}

.testimonial__quote {
	font-size:     1.2rem;
	line-height:   1.8;
	color:         var(--color-text-light);
	font-style:    normal;
	margin-bottom: 2rem;
}

.testimonial__footer { margin: 0; text-align: left; }

.testimonial__author {
	font-style:     normal;
	font-weight:    var(--font-weight-head);
	font-size:      0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color:          var(--color-heading);
}

.testimonial-carousel .carousel-btn--prev { left: 0; }
.testimonial-carousel .carousel-btn--next { right: 0; }

/* ─── Contact ───────────────────────────────────────────────── */
.section--blue .section-label { color: rgba(255,255,255,0.7); }
.section--blue .section-title { color: var(--color-text-light); }

.contact__layout {
	display:               grid;
	grid-template-columns: 1fr 2fr;
	gap:                   60px;
	align-items:           start;
}

.contact__form {
	padding-top: 0;
	margin-top:  0;
}

.contact__form .wpforms-form,
.contact__form .wpforms-container { margin-top: 0 !important; padding-top: 0 !important; }

.contact__form .basic-form { margin-top: 0; }

.contact__info-label {
	font-size:      0.75rem;
	font-weight:    var(--font-weight-head);
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color:          rgba(255,255,255,0.7);
	margin-bottom:  0.3rem;
}

.contact__info-value { color: var(--color-text-light); margin-bottom: 1.5rem; }

.contact__info-value a { color: var(--color-text-light); }
.contact__info-value a:hover { color: var(--color-header-bg); text-decoration: none; }

/* Basic form (WPForms fallback) */
.basic-form__field { margin-bottom: 20px; }

/* Spam trap: off-screen for people, still present for bots */
.basic-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact__notice {
	margin:      0 0 20px;
	padding:     14px 18px;
	font-size:   0.92rem;
	font-weight: var(--font-weight-head);
	color:       var(--color-text-light);
	border:      1px solid rgba(255,255,255,0.6);
	background:  rgba(255,255,255,0.16);
}

.contact__notice--error { background: var(--color-header-bg); border-color: var(--color-header-bg); }

.basic-form__field label {
	display:        block;
	font-size:      0.8rem;
	font-weight:    var(--font-weight-head);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color:          rgba(255,255,255,0.8);
	margin-bottom:  6px;
}

.basic-form__field input,
.basic-form__field textarea {
	width:       100%;
	padding:     12px 16px;
	font-family: var(--font-base);
	font-size:   0.9rem;
	background:  rgba(255,255,255,0.15);
	border:      1px solid rgba(255,255,255,0.3);
	color:       var(--color-text-light);
	outline:     none;
	transition:  border-color 0.2s;
}

.basic-form__field input::placeholder,
.basic-form__field textarea::placeholder { color: rgba(255,255,255,0.45); }

.basic-form__field input:focus,
.basic-form__field textarea:focus { border-color: var(--color-text-light); }

/* WPForms overrides on blue background */
.section--blue .wpforms-form .wpforms-field input,
.section--blue .wpforms-form .wpforms-field textarea,
.section--blue .wpforms-form .wpforms-field select {
	background:  rgba(255,255,255,0.15);
	border:      1px solid rgba(255,255,255,0.35);
	color:       var(--color-text-light);
	font-family: var(--font-base);
}

.section--blue .wpforms-form .wpforms-field label {
	color:          rgba(255,255,255,0.85);
	font-family:    var(--font-base);
	font-size:      0.8rem;
	font-weight:    var(--font-weight-head);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.section--blue .wpforms-form button[type=submit] {
	background:     var(--color-text-light);
	color:          var(--color-heading);
	font-family:    var(--font-base);
	font-weight:    var(--font-weight-head);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border:         none;
	padding:        12px 28px;
	cursor:         pointer;
	transition:     background 0.2s, color 0.2s;
}

.section--blue .wpforms-form button[type=submit]:hover {
	background: var(--color-header-bg);
	color:      var(--color-text-light);
}

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
	background: var(--color-header-bg);
	padding:    48px 0 24px;
	border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer__inner {
	display:         flex;
	flex-wrap:       wrap;
	gap:             40px;
	align-items:     flex-start;
	justify-content: space-between;
	margin-bottom:   32px;
}

.site-footer__right {
	display:     flex;
	gap:         60px;
	align-items: flex-start;
	text-align:  left;
}

.site-footer__brand img { height: 56px; width: auto; }

.site-footer__slogan {
	margin:         14px 0 0;
	font-size:      0.85rem;
	font-weight:    var(--font-weight-head);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color:          var(--color-heading);
}

/* Services line and social buttons — full-width row above the copyright */
.site-footer__details {
	display:         flex;
	flex-wrap:       wrap;
	align-items:     center;
	justify-content: space-between;
	gap:             20px 32px;
	width:           100%;
	padding-top:     28px;
	border-top:      1px solid rgba(255,255,255,0.08);
}

.site-footer__services {
	list-style: none;
	margin:     0;
	padding:    0;
	display:    flex;
	flex-wrap:  wrap;
	gap:        4px 0;
	font-size:  0.85rem;
	color:      rgba(255,255,255,0.75);
}

.site-footer__services li:not(:last-child)::after {
	content: "|";
	margin:  0 14px;
	color:   rgba(255,255,255,0.3);
}


.site-footer__social { display: flex; flex-wrap: wrap; gap: 12px; }

.social-btn {
	display:        inline-block;
	padding:        9px 22px;
	border:         1px solid rgba(255,255,255,0.3);
	border-radius:  999px;
	font-size:      0.75rem;
	font-weight:    var(--font-weight-head);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color:          var(--color-text-light);
	transition:     background 0.2s, border-color 0.2s;
}

.social-btn:hover {
	background:      var(--color-heading);
	border-color:    var(--color-heading);
	color:           var(--color-text-light);
	text-decoration: none;
}

.site-footer__label {
	font-size:      0.7rem;
	font-weight:    var(--font-weight-head);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color:          rgba(255,255,255,0.4);
	margin-bottom:  0.5rem;
}

.site-footer__address address {
	font-style: normal;
	font-size:  0.88rem;
	color:      rgba(255,255,255,0.65);
	line-height: 1.8;
}

.site-footer__address a { color: rgba(255,255,255,0.65); }
.site-footer__address a:hover { color: var(--color-heading); text-decoration: none; }

.site-footer__employment {
	max-width: 280px;
}

.site-footer__employment p:not(.site-footer__label) {
	font-size:   0.88rem;
	color:       rgba(255,255,255,0.65);
	line-height: 1.7;
	margin:      0;
}

.site-footer__employment a { color: rgba(255,255,255,0.65); }
.site-footer__employment a:hover { color: var(--color-heading); text-decoration: none; }

.site-footer__copy {
	font-size:  0.78rem;
	color:      rgba(255,255,255,0.3);
	text-align: center;
	padding-top: 24px;
	border-top: 1px solid rgba(255,255,255,0.06);
	margin:     0;
	width:      100%;
}

/* ─── Scroll Fade-in ────────────────────────────────────────── */
.fade-in {
	opacity:    0;
	transform:  translateY(30px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
	opacity:   1;
	transform: translateY(0);
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
	.about__layout       { grid-template-columns: 1fr; }
	.approach__layout    { grid-template-columns: 1fr; gap: 32px; }
	.pillars             { grid-template-columns: 1fr 1fr; }
	.pillars .pillar     { grid-column: auto; }
	.about__image        { display: none; }
	.team__grid          { grid-template-columns: 1fr; }
	.stats               { grid-template-columns: repeat(2, 1fr); }
	.contact__layout     { grid-template-columns: 1fr; }
	.project-gallery     { grid-template-columns: repeat(2, 1fr); }
	.gallery-grid        { grid-template-columns: repeat(2, 1fr); }
}

/* Phone item hidden on desktop, shown in mobile dropdown */
.site-nav__phone-item { display: none; }

/* Mobile-only switcher copy hidden on desktop (desktop uses the one in .site-header__actions) */
.site-nav__switcher-item { display: none; }

/* Header collapses to the hamburger below 1060px: the desktop layout
   (logo / centred Contact·Phone·Quote / switcher) needs ~1020px, and
   squeezing it any tighter crushes the logo. */
@media (max-width: 1060px) {
	.site-nav {
		display:    none;
		position:   absolute;
		top:        100%;
		left:       0;
		right:      0;
		background: var(--color-header-bg);
		padding:    16px 24px 24px;
		border-top: 1px solid rgba(255,255,255,0.08);
	}

	.site-nav.is-open  { display: block; }
	.site-nav__list    { flex-direction: column; gap: 20px; }
	.nav-toggle        { display: block; }

	/* Grid layout assumes 3 visible columns (logo/center/actions); once
	   collapsed only logo + hamburger remain, so fall back to a plain
	   2-item flex row. The dropdown (.site-nav) carries everything
	   else and isn't part of this row (it's positioned absolutely). */
	.site-header__inner { display: flex; justify-content: space-between; }

	/* Hide the desktop center group and actions bar — their content
	   is mirrored in the dropdown instead. */
	.site-header__center  { display: none; }
	.site-header__actions { display: none; }

	.site-header__logo img { height: 44px; }

	/* Show phone as first item in the dropdown */
	.site-nav__phone-item { display: list-item; }

	/* Show switcher at the top of the dropdown, set apart with a divider */
	.site-nav__switcher-item {
		display:       block;
		margin-bottom: 16px;
		padding-bottom: 16px;
		border-bottom: 1px solid rgba(255,255,255,0.1);
	}

	.site-nav__switcher-item .site-switcher { width: fit-content; }

	.site-nav__phone-item a {
		color:          var(--color-heading);
		font-size:      0.9rem;
		font-weight:    var(--font-weight-head);
		letter-spacing: 0.03em;
		text-transform: none;
	}
}

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

	.hero__title   { font-size: 2rem; }
	.section-title { font-size: 1.5rem; }

	/* Smaller logo on phones (~65% of desktop 54px) */
	.site-header__logo img { height: 36px; }

	.project-carousel__slides        { height: 320px; }
	.project-slide__caption-overlay  { max-width: 100%; }

	.testimonial-carousel { padding: 0 52px; }
	.testimonial__quote   { font-size: 1rem; }

	.site-footer__inner { flex-direction: column; gap: 24px; }
	.site-footer__details { flex-direction: column; align-items: flex-start; }
	.site-footer__right { flex-direction: column; gap: 24px; text-align: left; }
}

@media (max-width: 480px) {
	.hero__title     { font-size: 1.6rem; }
	.stats           { grid-template-columns: 1fr; }
	.gallery-grid    { grid-template-columns: 1fr; }
	.services-grid   { grid-template-columns: 1fr; }
	.steps-grid      { grid-template-columns: 1fr; }
	.pillars         { grid-template-columns: 1fr; }
	.principles      { grid-template-columns: 1fr; }

	/* Footer services stack on phones (no dangling "|" at wrapped line ends) */
	.site-footer__services { flex-direction: column; gap: 6px; }
	.site-footer__services li:not(:last-child)::after { content: none; }

	.project-carousel__slides        { height: 240px; }
	.project-slide__caption-overlay  { padding: 14px 16px; }
	.project-slide__name             { font-size: 1rem; }

	.testimonial-carousel { padding: 0 44px; }
}
