/*
Theme Name:  Indigo Sign Solutions
Theme URI:   https://indigosignsolutions.co.uk
Author:      Indigo Sign Solutions
Author URI:  https://indigosignsolutions.co.uk
Description: Custom WordPress theme for Indigo Sign Solutions — full-service commercial signage company.
Version:     1.2.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: indigo-signs
Tags:        full-width-template, custom-menu, custom-logo, featured-images, threaded-comments
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --indigo-blue:    #1a9cd8;
  --indigo-dark:    #0e6fa0;
  --indigo-deeper:  #0a4f72;
  --grey:           #8a9099;
  --dark:           #1a1d21;
  --mid:            #2d3139;
  --light-grey:     #f4f5f7;
  --white:          #ffffff;
  --border:         #e2e5ea;
  --transition:     0.25s ease;
  --radius:         2px;
  --max-width:      1300px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Barlow', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.font-condensed {
  font-family: 'Barlow Condensed', sans-serif;
}

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--indigo-blue);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--indigo-blue);
  flex-shrink: 0;
}

.section-label--center {
  justify-content: center;
}

.section-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.0;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 24px;
}

.section-heading em {
  color: var(--indigo-blue);
  font-style: normal;
}

.section-heading--white {
  color: var(--white);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

.section-pad {
  padding: 120px 48px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--indigo-blue);
  color: var(--white);
  border-color: var(--indigo-blue);
}

.btn--primary:hover {
  background: var(--indigo-dark);
  border-color: var(--indigo-dark);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}

.btn--outline-dark:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: #2b2d30;
  transition: box-shadow var(--transition);
}

#site-header.is-scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* Logo */
.site-logo img {
  height: 52px;
  width: auto;
}

.site-logo .logo-fallback {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--indigo-blue);
  letter-spacing: -0.5px;
}

.site-logo .logo-fallback span {
  color: rgba(255,255,255,0.7);
}

/* Primary Nav */
#primary-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

#primary-nav .nav-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  transition: color var(--transition);
}

#primary-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--indigo-blue);
  transition: right var(--transition);
}

#primary-nav .nav-link:hover {
  color: var(--indigo-blue);
}

#primary-nav .nav-link:hover::after {
  right: 0;
}

#primary-nav .nav-link--cta {
  background: var(--indigo-blue);
  color: var(--white);
  padding: 11px 26px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  letter-spacing: 1.5px;
}

#primary-nav .nav-link--cta::after {
  display: none;
}

#primary-nav .nav-link--cta:hover {
  background: var(--indigo-dark);
  color: var(--white);
  transform: translateY(-1px);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav open state */
body.nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

/* Dark blue-tinted overlay matching the screenshot */
.hero__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 38, 0.72);
}

/* Slide backgrounds are set via inline style in index.php using indigo_hero_slide_url().
   Customise them at: Appearance → Customise → Indigo Theme Options → Hero Slider Images */
.hero__slide--1,
.hero__slide--2,
.hero__slide--3 {
  background-position: center center;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 48px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Tag pill — bordered, matches screenshot */
.hero__tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 7px 20px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}

/* Main headline — very large, bold, centred, all-caps */
.hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(60px, 8.5vw, 118px);
  font-weight: 800;
  line-height: 0.92;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 0;
  animation: fadeUp 0.9s 0.1s ease both;
}

/* "BRAND" accent word — Indigo blue */
.hero__title--accent {
  color: var(--indigo-blue);
  display: block;
}

/* Subtitle paragraph */
.hero__subtitle {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  line-height: 1.7;
  margin: 28px 0 36px;
  animation: fadeUp 0.9s 0.2s ease both;
}

/* CTA buttons row */
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  animation: fadeUp 0.9s 0.3s ease both;
}

/* Italic tagline below buttons */
.hero__tagline {
  font-size: 14px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 20px;
  animation: fadeUp 0.9s 0.4s ease both;
}

/* Dot controls */
.hero__dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border: none;
}

.hero__dot.is-active {
  background: var(--indigo-blue);
  transform: scale(1.35);
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  right: 48px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll-hint span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--indigo-blue), transparent);
  animation: scrollPulse 2s infinite;
}

/* ============================================================
   INTRO PILLARS STRIP
   ============================================================ */
#intro-pillars {
  background: var(--dark);
  padding: 0;
}

.pillars-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.pillar {
  padding: 52px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  display: block;
  transition: background var(--transition);
}

.pillar:last-child {
  border-right: none;
}

.pillar:hover {
  background: rgba(26, 156, 216, 0.1);
}

.pillar__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--indigo-blue);
  margin-bottom: 16px;
}

.pillar__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.pillar__text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
}

.pillar__arrow {
  display: inline-block;
  margin-top: 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--indigo-blue);
  text-transform: uppercase;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about {
  padding: 120px 48px;
}

.about__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__body p {
  font-size: 16px;
  line-height: 1.75;
  color: #555;
  margin-bottom: 20px;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 40px;
}

.stat {
  background: var(--light-grey);
  padding: 28px 24px;
  transition: background var(--transition);
}

.stat:hover {
  background: var(--indigo-blue);
}

.stat:hover .stat__num,
.stat:hover .stat__label {
  color: var(--white);
}

.stat__num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--indigo-blue);
  line-height: 1;
  transition: color var(--transition);
}

.stat__label {
  font-size: 13px;
  font-weight: 500;
  color: #666;
  margin-top: 4px;
  transition: color var(--transition);
}

.about__image {
  position: relative;
}

.about__img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--indigo-blue);
  padding: 28px 32px;
  color: var(--white);
}

.about__badge p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--white);
}

.about__badge strong {
  font-size: 36px;
  font-weight: 800;
  display: block;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
#services {
  background: var(--light-grey);
  padding: 120px 48px;
}

.services__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.services__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--white);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;
  height: 3px;
  background: var(--indigo-blue);
  transition: right 0.3s ease;
}

.service-card:hover::before {
  right: 0;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(26, 156, 216, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--indigo-blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dark);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.service-card__text {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
}

/* ============================================================
   GALLERY / SIGN SOLUTIONS SECTION
   ============================================================ */
#gallery {
  padding: 120px 48px;
  background: var(--dark);
}

.gallery__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Header row — text left, CTA right */
.gallery__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.gallery__header-text {
  max-width: 600px;
}

.gallery__header-text .section-label {
  color: var(--indigo-blue);
}

.gallery__header-text .section-heading {
  color: var(--white);
  margin-top: 12px;
  line-height: 1;
}

/* "For Your Brand" sub-line beneath Sign Solutions */
.gallery__header-sub {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  font-style: normal;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Intro paragraph */
.gallery__intro {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-top: 20px;
  max-width: 520px;
}

.gallery__header-cta {
  flex-shrink: 0;
  margin-bottom: 4px;
}

/* ── Grid ── */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 340px 260px;
  gap: 6px;
  margin-top: 0;
}

.gallery__item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  display: block;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

/* Permanent gradient overlay — darker at bottom */
.gallery__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 15, 35, 0.85) 0%,
    rgba(5, 15, 35, 0.3)  40%,
    transparent           70%
  );
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* On hover deepen the overlay slightly */
.gallery__item:hover::before {
  background: linear-gradient(
    to top,
    rgba(10, 79, 114, 0.88) 0%,
    rgba(10, 79, 114, 0.45) 45%,
    transparent             72%
  );
}

/* Label — ALWAYS visible at bottom of each tile */
.gallery__item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 22px;
  z-index: 2;
  transform: translateY(0);
}

.gallery__item-label span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Small "→" arrow that slides in on hover */
.gallery__item-label span::after {
  content: '→';
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  color: var(--indigo-blue);
}

.gallery__item:hover .gallery__item-label span::after {
  opacity: 1;
  transform: translateX(0);
}

/* Blue accent line at bottom of each tile on hover */
.gallery__item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--indigo-blue);
  z-index: 3;
  transition: width 0.35s ease;
}

.gallery__item:hover::after {
  width: 100%;
}

/* Grid placement — original 6 slots */
.gallery__item--1 { grid-column: span 5; grid-row: span 1; }
.gallery__item--2 { grid-column: span 4; grid-row: span 1; }
.gallery__item--3 { grid-column: span 3; grid-row: span 2; }
.gallery__item--4 { grid-column: span 3; grid-row: span 1; }
.gallery__item--5 { grid-column: span 3; grid-row: span 1; }
.gallery__item--6 { grid-column: span 6; grid-row: span 1; }
/* Optional extra slots 7-9 auto-place */
.gallery__item--auto { grid-column: span 4; grid-row: span 1; }

/* ============================================================
   PROCESS SECTION
   ============================================================ */
#process {
  background: var(--dark);
  padding: 120px 48px;
}

.process__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}

.process__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(26, 156, 216, 0.3);
}

.process__step {
  padding: 0 24px;
  text-align: center;
  position: relative;
}

.process__step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--indigo-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
}

.process__step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
  margin-bottom: 12px;
}

.process__step-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
#testimonials {
  background: var(--indigo-blue);
  padding: 100px 48px;
  overflow: hidden;
}

.testimonials__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: center;
}

.testimonials__heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 52px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 24px;
}

.testimonials__intro {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.testimonial-slider {
  position: relative;
}

.testimonial {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 48px;
  display: none;
}

.testimonial.is-active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.testimonial__quote-mark {
  font-size: 80px;
  color: rgba(255, 255, 255, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 16px;
}

.testimonial__text {
  font-size: 18px;
  color: var(--white);
  line-height: 1.7;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 32px;
}

.testimonial__author {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-dots {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  padding: 0;
}

.testimonial-dot.is-active {
  background: var(--white);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
#cta-banner {
  background: linear-gradient(135deg, var(--indigo-deeper) 0%, var(--indigo-blue) 100%);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?w=1920&q=30') center/cover;
  opacity: 0.06;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner__heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 20px;
}

.cta-banner__text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin-bottom: 36px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact {
  background: var(--light-grey);
  padding: 120px 48px;
}

.contact__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact__intro p {
  font-size: 16px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 40px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--indigo-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}

.contact-detail__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail__body a,
.contact-detail__body span {
  font-size: 15px;
  color: var(--dark);
  font-weight: 500;
  transition: color var(--transition);
}

.contact-detail__body a:hover {
  color: var(--indigo-blue);
}

.contact-detail__body small {
  display: block;
  font-size: 12px;
  color: #999;
  font-weight: 400;
  margin-top: 2px;
}

/* Contact Form */
.contact__form {
  background: var(--white);
  padding: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: var(--dark);
  background: var(--light-grey);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  border-radius: var(--radius);
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--indigo-blue);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* File upload drop zone */
.form-upload {
  width: 100%;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--light-grey);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  position: relative;
}

.form-upload:hover,
.form-upload.is-dragover {
  border-color: var(--indigo-blue);
  background: rgba(26, 156, 216, 0.04);
}

.form-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.form-upload__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  stroke: var(--indigo-blue);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-upload__text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--dark);
  margin-bottom: 4px;
}

.form-upload__hint {
  font-size: 12px;
  color: #999;
}

.form-upload__filename {
  margin-top: 10px;
  font-size: 13px;
  color: var(--indigo-blue);
  font-weight: 500;
  display: none;
}

.form-upload__filename.is-visible {
  display: block;
}

.form-submit {
  background: var(--indigo-blue);
  color: var(--white);
  padding: 16px 40px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background var(--transition);
  border-radius: var(--radius);
}

.form-submit:hover {
  background: var(--indigo-dark);
}

.form-submit:disabled {
  background: #2ecc71;
  cursor: not-allowed;
}

/* ============================================================
   POLICY PAGE TEMPLATE  (page-policy.php)
   ============================================================ */

/* Hero banner */
.policy-hero {
  background: linear-gradient(135deg, #1a3a5c 0%, #0d2235 100%);
  padding: 72px 48px;
  margin-top: 80px; /* clear fixed header */
}

.policy-hero__inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.policy-hero__download-wrap {
  position: absolute;
  top: 0;
  right: 0;
}

.policy-hero__tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--indigo-blue);
  border: 1px solid rgba(26, 156, 216, 0.4);
  padding: 5px 14px;
  margin-bottom: 20px;
}

.policy-hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 16px;
}

.policy-hero__line {
  width: 50px;
  height: 3px;
  background: var(--indigo-blue);
  margin: 16px 0;
}

.policy-hero__meta {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Download button (H&S page) */
.btn--download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--indigo-blue);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}

.btn--download:hover {
  background: var(--indigo-dark);
  transform: translateY(-1px);
  color: var(--white);
  text-decoration: none;
}

.btn__icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Policy body content */
.policy-body {
  padding: 72px 48px;
}

.policy-body__inner {
  max-width: 900px;
  margin: 0 auto;
}

/* WordPress-generated content styles */
.policy-content h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #1a3a5c;
  margin: 2.5rem 0 0.8rem;
  border-left: 4px solid var(--indigo-blue);
  padding-left: 1rem;
}

.policy-content h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a3a5c;
  margin: 1.5rem 0 0.5rem;
}

.policy-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #3d3d3d;
  margin-bottom: 1rem;
}

.policy-content ul {
  margin: 0.5rem 0 1rem 1.5rem;
}

.policy-content ul li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #3d3d3d;
  margin-bottom: 0.35rem;
}

.policy-content strong {
  color: #1a3a5c;
}

.policy-content a {
  color: var(--indigo-blue);
}

.policy-content a:hover {
  color: var(--indigo-dark);
}

/* Highlight / callout box */
.policy-content .wp-block-group,
.highlight-box {
  background: rgba(26, 156, 216, 0.07);
  border-left: 4px solid var(--indigo-blue);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
}

/* PDF CTA block (bottom of H&S page) */
.policy-pdf-cta {
  margin-top: 48px;
  padding: 32px 36px;
  background: rgba(26, 156, 216, 0.06);
  border: 1px solid rgba(26, 156, 216, 0.25);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.policy-pdf-cta p {
  margin: 0;
  font-size: 0.95rem;
  color: #1a3a5c;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 860px) {
  .policy-hero { padding: 56px 24px; margin-top: 80px; }
  .policy-hero__download-wrap { position: static; margin-bottom: 20px; }
  .policy-body { padding: 48px 24px; }
  .policy-pdf-cta { flex-direction: column; }
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--dark);
  padding: 80px 48px 40px;
}

.footer__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand-logo img {
  height: 42px;
  margin-bottom: 20px;
  filter: brightness(10);
}

.footer__brand-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 28px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.footer__social-btn:hover {
  border-color: var(--indigo-blue);
  background: rgba(26, 156, 216, 0.1);
}

.footer__social-btn svg {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.6);
}

.footer__col-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--indigo-blue);
  margin-bottom: 20px;
}

.footer__col-links li {
  margin-bottom: 10px;
}

.footer__col-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer__col-links a:hover {
  color: var(--white);
}

.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom p,
.footer__bottom a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer__bottom a:hover {
  color: var(--indigo-blue);
}

.footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

/* Policy page not yet created — dim the text, no pointer */
.footer__policy-placeholder {
  color: rgba(255, 255, 255, 0.15);
  cursor: default;
  font-size: 13px;
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ============================================================
   RESPONSIVE — TABLET  (max 1100px)
   ============================================================ */
@media (max-width: 1100px) {
  .services__grid    { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid      { grid-template-columns: repeat(2, 1fr); }
  .process__steps    { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .process__steps::before { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE  (max 860px)
   ============================================================ */
@media (max-width: 860px) {

  /* Nav */
  #site-header {
    padding: 0 24px;
  }

  .nav-toggle {
    display: flex;
  }

  #primary-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #2b2d30;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 999;
  }

  body.nav-open #primary-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  #primary-nav .nav-link {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
    font-size: 15px;
    color: var(--white);
  }

  #primary-nav .nav-link--cta {
    margin: 16px 24px;
    width: calc(100% - 48px);
    text-align: center;
    padding: 14px 24px;
  }

  /* Hero */
  .hero__content { padding: 80px 24px 0; }
  .hero__actions { flex-direction: column; gap: 12px; }
  .hero__scroll-hint { display: none; }

  /* Sections */
  #about,
  #services,
  #gallery,
  #process,
  #contact { padding: 80px 24px; }

  .about__inner  { grid-template-columns: 1fr; gap: 48px; }
  .about__image  { padding-bottom: 24px; }
  .about__badge  { bottom: 0; left: 0; }

  .services__header  { flex-direction: column; align-items: flex-start; gap: 20px; }
  .services__grid    { grid-template-columns: repeat(2, 1fr); }

  /* Gallery */
  .gallery__header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .gallery__header-cta { align-self: flex-start; }
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery__item--1,
  .gallery__item--2,
  .gallery__item--3,
  .gallery__item--4,
  .gallery__item--5,
  .gallery__item--6,
  .gallery__item--auto {
    grid-column: span 1;
    grid-row: span 1;
    height: 240px;
  }

  .process__steps   { grid-template-columns: 1fr 1fr; }

  .testimonials__inner { grid-template-columns: 1fr; gap: 40px; }

  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .contact__form  { padding: 32px 24px; }

  /* Footer */
  #site-footer    { padding: 60px 24px 32px; }
  .footer__grid   { grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 40px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  /* Pillars */
  .pillar { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }

  /* CTA */
  #cta-banner { padding: 60px 24px; }
  #testimonials { padding: 60px 24px; }
}

@media (max-width: 480px) {
  .services__grid { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .about__stats   { grid-template-columns: 1fr 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .footer__grid   { grid-template-columns: 1fr; }
}

/* ============================================================
   PROJECT GALLERY PAGE  (page-gallery.php)
   ============================================================ */

/* ── Hero ── */
.gallery-page-hero {
  background: linear-gradient(135deg, #1a3a5c 0%, #0d2235 100%);
  padding: 120px 48px 80px;
  text-align: center;
  margin-top: 80px;
}

.gallery-page-hero__inner {
  max-width: 760px;
  margin: 0 auto;
}

.gallery-page-hero__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 20px;
}

.gallery-page-hero__sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Grid wrapper ── */
.project-gallery {
  padding: 80px 48px 120px;
  background: var(--light-grey);
}

.project-gallery__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ── Project grid ── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Project card ── */
.project-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  outline: none;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
}

.project-card:focus-visible {
  box-shadow: 0 0 0 3px var(--indigo-blue), 0 20px 60px rgba(0, 0, 0, 0.14);
}

/* Image slideshow area */
.project-card__images {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a1d21;
}

.project-card__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.project-card__slide.is-active {
  opacity: 1;
}

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

/* Image count badge */
.project-card__count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.project-card__count svg {
  width: 13px;
  height: 13px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hover overlay with "View Project" */
.project-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 79, 114, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.project-card:hover .project-card__overlay,
.project-card:focus-visible .project-card__overlay {
  opacity: 1;
}

.project-card__view-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
  padding: 10px 24px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.project-card__view-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-card:hover .project-card__view-btn {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Card info panel */
.project-card__info {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-card__category {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--indigo-blue);
}

.project-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.1;
}

.project-card__location {
  font-size: 13px;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 4px;
}

.project-card__location svg {
  width: 13px;
  height: 13px;
  stroke: var(--grey);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.project-card__excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-top: 4px;
  flex: 1;
}

.project-card__cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--indigo-blue);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.project-card__cta svg {
  width: 14px;
  height: 14px;
  stroke: var(--indigo-blue);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}

.project-card:hover .project-card__cta svg {
  transform: translateX(3px);
}

/* Empty state */
.project-gallery__empty {
  text-align: center;
  padding: 80px 24px;
  max-width: 520px;
  margin: 0 auto;
}

.project-gallery__empty svg {
  width: 56px;
  height: 56px;
  stroke: rgba(26, 156, 216, 0.4);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 24px;
}

.project-gallery__empty h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 12px;
}

.project-gallery__empty p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */

/* Prevent body scroll when open */
body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

/* Dark backdrop */
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, 0.92);
  cursor: pointer;
}

/* Container */
.lightbox__container {
  position: relative;
  z-index: 1;
  width: min(92vw, 1200px);
  max-height: 96vh;
  display: flex;
  flex-direction: column;
  background: #111318;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8);
}

/* Close button */
.lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__close svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Stage (image area + nav arrows) */
.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
  background: #000;
}

.lightbox__image-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  max-height: 62vh;
  transition: opacity 0.2s;
}

.lightbox__image-wrap.is-loading {
  opacity: 0.4;
}

.lightbox__img {
  max-width: 100%;
  max-height: 62vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease;
}

/* Nav arrows */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.lightbox__nav:hover {
  background: var(--indigo-blue);
  border-color: var(--indigo-blue);
}

.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

.lightbox__nav svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Info panel (title + counter) */
.lightbox__info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 20px 10px;
  gap: 16px;
  background: #111318;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin: 0 0 4px;
}

.lightbox__excerpt {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  margin: 0;
}

.lightbox__counter {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  padding-top: 2px;
}

/* Thumbnail strip */
.lightbox__thumbs {
  display: flex;
  gap: 6px;
  padding: 10px 16px;
  overflow-x: auto;
  background: #0a0c10;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.lightbox__thumbs::-webkit-scrollbar { height: 4px; }
.lightbox__thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

.lightbox__thumb {
  flex-shrink: 0;
  width: 60px;
  height: 44px;
  border-radius: 2px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: #222;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.55;
}

.lightbox__thumb:hover { opacity: 0.85; }

.lightbox__thumb.is-active {
  border-color: var(--indigo-blue);
  opacity: 1;
}

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

/* ── Gallery page responsive ── */
@media (max-width: 1100px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .gallery-page-hero { padding: 100px 24px 60px; }
  .project-gallery   { padding: 60px 24px 80px; }
  .project-grid      { grid-template-columns: 1fr; gap: 20px; }

  .lightbox__container { width: 100vw; max-height: 100vh; border-radius: 0; }
  .lightbox__image-wrap { max-height: 55vh; }
  .lightbox__img { max-height: 55vh; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__nav { width: 38px; height: 38px; }
}

@media (max-width: 480px) {
  .project-grid { grid-template-columns: 1fr; }
  .lightbox__thumb { width: 48px; height: 36px; }
}

