/* ============================================================
   Dutch Painting Services — Main Stylesheet
   Color Theme: Orange (#E8701A), White (#FFFFFF), Black (#1A1A1A)
   ============================================================ */

/* ----- CSS Custom Properties ----- */
:root {
  --orange: #E8701A;
  --orange-dark: #CC6217;
  --orange-light: #FFF4EB;
  --orange-glow: rgba(232, 112, 26, 0.15);
  --black: #1A1A1A;
  --dark-gray: #333333;
  --medium-gray: #666666;
  --light-gray: #999999;
  --border-gray: #E0E0E0;
  --bg-light: #F7F7F7;
  --bg-white: #FFFFFF;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --container-width: 1200px;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--orange);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--orange-dark);
}

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

h1 { font-size: 3.25rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--medium-gray);
  max-width: 640px;
  line-height: 1.7;
}

.section-subtitle.centered {
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

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

.section {
  padding: 100px 0;
}

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

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.5px;
}

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

.btn-primary:hover {
  background-color: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232, 112, 26, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

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

.btn-outline:hover {
  background-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232, 112, 26, 0.35);
}

.btn-dark {
  background-color: var(--black);
  color: var(--white);
  border-color: var(--black);
}

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

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--transition);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(26, 26, 26, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.logo-mark {
  height: 3.4rem;
  width: auto;
  display: block;
  position: relative;
  top: 3px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-dutch {
  font-family: var(--font-heading);
  font-size: 3.075rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  transition: color var(--transition);
}

.logo-painting {
  font-family: var(--font-heading);
  font-size: 0.765rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 3.6px;
  transition: color var(--transition);
}

/* Nudge "Painting Services" right so the back of the P lines up with the back of the D */
.site-header .logo-painting {
  margin-left: 2px;
}

.site-header.scrolled .logo-dutch {
  color: var(--white);
}

.site-header.scrolled .logo-painting {
  color: var(--orange);
}

/* Main Navigation */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav > ul > li > a {
  display: block;
  padding: 8px 18px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.site-header.scrolled .main-nav > ul > li > a {
  color: var(--white);
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  color: var(--orange);
  background: rgba(255, 255, 255, 0.1);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  display: flex !important;
  align-items: center;
  gap: 6px;
}

.has-dropdown > a::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--transition);
}

.has-dropdown:hover > a::after,
.has-dropdown.open > a::after {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  padding: 8px 0;
  z-index: 100;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark-gray);
  transition: all var(--transition);
}

.dropdown li a:hover {
  color: var(--orange);
  background: var(--orange-light);
  padding-left: 24px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.site-header.scrolled .mobile-menu-toggle span {
  background: var(--white);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* In-drawer close button (mobile only) */
.mobile-nav-close {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: var(--bg-light);
  color: var(--black);
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition);
}

.mobile-nav-close:hover {
  background: var(--orange);
  color: var(--white);
}

/* Mobile Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Inner-page header (non-homepage) */
.page-has-hero .site-header {
  background: transparent;
}

/* ============================================================
   HERO SECTION (HOME)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 50%, #3D3D3D 100%);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.86) 0%, rgba(26, 26, 26, 0.6) 100%);
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero_lighthouse_background.jpg');
  background-size: cover;
  background-position: center;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 112, 26, 0.15);
  border: 1px solid rgba(232, 112, 26, 0.3);
  color: var(--orange);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--orange);
}

.hero h1 {
  font-size: 3.75rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero h1 span {
  color: var(--orange);
}

.hero-text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--orange);
}

.hero-stat-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Decorative element */
.hero-decoration {
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 500px;
  height: 500px;
  border: 2px solid rgba(232, 112, 26, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.hero-decoration::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  bottom: 40px;
  border: 2px solid rgba(232, 112, 26, 0.06);
  border-radius: 50%;
}

/* Hero two-column layout: text left, featured image right */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 460px;
}

.hero-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}


/* ============================================================
   PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 180px 0 80px;
  background: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 100%);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(232, 112, 26, 0.06) 100%);
}

.page-hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
  color: var(--orange);
  font-weight: 600;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border-gray);
  padding: 30px 0;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  border-right: 1px solid var(--border-gray);
}

.trust-item:last-child {
  border-right: none;
}

.trust-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--orange-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--orange);
}

.trust-text {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
}

.trust-text small {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--medium-gray);
  margin-top: 2px;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--border-gray);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}

.service-card-image {
  height: 220px;
  background: linear-gradient(135deg, var(--orange-light) 0%, #FFE7D2 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-image .service-card-icon {
  width: 140px;
  height: 140px;
  object-fit: contain;
  transition: transform var(--transition);
}

.service-card:hover .service-card-image .service-card-icon {
  transform: scale(1.06);
}

.service-card-image .placeholder-text {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.service-card-content {
  padding: 30px;
}

.service-card-content h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-card-content p {
  font-size: 0.95rem;
  color: var(--medium-gray);
  margin-bottom: 20px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  transition: gap var(--transition);
}

.service-card-link:hover {
  gap: 12px;
  color: var(--orange-dark);
}

.service-card-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Detailed service cards (Services overview page) */
.service-card-detailed {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-gray);
  transition: all var(--transition);
}

.service-card-detailed:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}

.service-card-detailed .card-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.service-card-detailed .card-image {
  height: 100%;
  min-height: 280px;
  background: linear-gradient(135deg, var(--orange-light) 0%, #FFE7D2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-detailed .card-image .service-card-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  transition: transform var(--transition);
}

.service-card-detailed:hover .card-image .service-card-icon {
  transform: scale(1.05);
}

.service-card-detailed .card-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-detailed .card-body h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.service-card-detailed .card-body p {
  margin-bottom: 24px;
}

.service-card-detailed .card-body ul {
  margin-bottom: 24px;
}

.service-card-detailed .card-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--dark-gray);
}

.service-card-detailed .card-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--medium-gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.testimonial-slider {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 800px;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 20px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 6rem;
  color: var(--orange);
  opacity: 0.15;
  position: absolute;
  top: 10px;
  left: 30px;
  line-height: 1;
}

.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--dark-gray);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--black);
  font-size: 1rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--medium-gray);
  margin-top: 4px;
  margin-bottom: 0;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border-gray);
  background: var(--white);
  color: var(--dark-gray);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  padding: 0;
  flex-shrink: 0;
}

.slider-arrow:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.slider-dots {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 16px;
}

/* The dot stays 10px visually, but the button itself is 24px square so it
   can actually be tapped on a phone. The dot is drawn with an inset shadow
   so the extra area stays invisible. */
.slider-dot {
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.slider-dot::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-gray);
  transition: all var(--transition);
}

.slider-dot.active::before {
  background: var(--orange);
  transform: scale(1.2);
}

.slider-dot:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ============================================================
   PORTFOLIO / GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #E8E8E8 0%, #D0D0D0 100%);
  cursor: pointer;
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  transform: translateY(100%);
  transition: transform var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
  transform: translateY(0);
}

.gallery-item-overlay h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.gallery-item-overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Real project photos filling the gallery tiles, before/after slots and modal */
.gallery-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

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

.ba-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.ba-image .ba-label {
  z-index: 2;
}

.modal-image-area > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Photo slideshow */
.slideshow {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-light);
}

.slideshow-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}

.slideshow-slide {
  min-width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #E0E0E0 0%, #CCCCCC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slideshow-slide .slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.slideshow-slide .slide-info h4 {
  color: var(--white);
  margin-bottom: 4px;
}

.slideshow-slide .slide-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.slideshow-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.slideshow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.slideshow-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.slideshow-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

/* ============================================================
   BEFORE & AFTER
   ============================================================ */
.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.before-after-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-gray);
}

.before-after-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ba-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #E0E0E0 0%, #CCCCCC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ba-image .ba-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
}

.ba-image.before .ba-label {
  background: var(--black);
  color: var(--white);
}

.ba-image.after .ba-label {
  background: var(--orange);
  color: var(--white);
}

.before-after-info {
  padding: 24px;
}

.before-after-info h3 {
  /* pinned: these were h4 before, keep the same size */
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.before-after-info p {
  font-size: 0.9rem;
  color: var(--medium-gray);
  margin-bottom: 0;
}

.before-after-info .project-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.before-after-info .project-tag {
  padding: 4px 12px;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  font-family: var(--font-heading);
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps {
  counter-reset: step;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-gray);
  align-items: start;
}

.process-step:last-child {
  border-bottom: none;
}

.step-number {
  width: 70px;
  height: 70px;
  background: var(--orange-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--medium-gray);
  margin-bottom: 0;
}

/* ============================================================
   SCOPE OF WORK
   ============================================================ */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.scope-item {
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gray);
  transition: all var(--transition);
}

.scope-item:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}

.scope-icon {
  width: 56px;
  height: 56px;
  background: var(--orange-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.scope-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--orange);
}

.scope-item h3 {
  /* pinned: these were h4 before, keep the same size */
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.scope-item p {
  font-size: 0.9rem;
  color: var(--medium-gray);
  margin-bottom: 0;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ============================================================
   CLIENTS / PARTNERS
   ============================================================ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: center;
}

a.client-logo {
  text-decoration: none;
}

.client-logo {
  aspect-ratio: 5 / 3;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.client-logo:hover {
  border-color: var(--border-gray);
  box-shadow: var(--shadow-sm);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.client-logo span {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-image {
  aspect-ratio: 3 / 4;
  max-width: 440px;
  background: linear-gradient(135deg, #E8E8E8 0%, #D0D0D0 100%);
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
}

.story-image .year-badge {
  position: absolute;
  bottom: -20px;
  right: 30px;
  background: var(--orange);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.year-badge .year-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.year-badge .year-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  opacity: 0.9;
}

.story-text h2 {
  margin-bottom: 20px;
}

.story-text p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-gray);
  transition: all var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-photo {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #E8E8E8 0%, #D0D0D0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Headshots are pre-cropped to matching 800x800 squares, so they drop into
   the square card box at identical size and framing. cover + centre keeps
   that true if a future photo arrives at a different ratio. */
.team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.placeholder-text {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  padding: 0 12px;
}

.team-card-info {
  padding: 24px;
}

.team-card-info h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.team-card-info p {
  font-size: 0.9rem;
  color: var(--medium-gray);
  margin-bottom: 0;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gray);
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: var(--orange-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--orange);
}

.value-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--medium-gray);
  margin-bottom: 0;
}

/* Recognition */
.recognition-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--orange);
}

.recognition-icon {
  width: 80px;
  height: 80px;
  background: var(--orange-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recognition-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--orange);
}

.recognition-content h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.recognition-content p {
  color: var(--medium-gray);
  margin-bottom: 0;
}

/* ============================================================
   FACILITY SECTION
   ============================================================ */
.facility-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.facility-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #E8E8E8 0%, #D0D0D0 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.facility-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-text h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.facility-features {
  margin-top: 20px;
}

.facility-feature {
  display: flex;
  align-items: start;
  gap: 14px;
  padding: 12px 0;
}

.facility-feature svg {
  width: 22px;
  height: 22px;
  fill: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.facility-feature p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ============================================================
   PROJECT MODAL / LIGHTBOX (Desktop Only)
   ============================================================ */
.project-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.project-modal.active {
  display: flex;
}

.project-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.project-modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  z-index: 1;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--dark-gray);
  cursor: pointer;
  z-index: 2;
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.modal-image-area {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #E8E8E8 0%, #D0D0D0 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.modal-ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
}

.modal-ba-images .ba-image {
  aspect-ratio: auto;
  height: 100%;
}

.modal-info {
  padding: 32px;
}

.modal-info h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.modal-info p {
  font-size: 0.95rem;
  color: var(--medium-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.modal-info p:last-child {
  margin-bottom: 0;
}

.modal-info .project-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-info .project-tag {
  padding: 4px 12px;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  font-family: var(--font-heading);
}

.modal-info .modal-location {
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 600;
  font-family: var(--font-heading);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding-top: 40px;
}

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

.contact-form-section { order: 1; }
.contact-info-card { order: 2; }

.contact-info-card {
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: var(--white);
}

.contact-info-card h2 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-info-card > p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-detail:last-child {
  margin-bottom: 0;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(232, 112, 26, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--orange);
}

.contact-detail-text h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-detail-text p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-detail-text a {
  color: var(--orange);
}

.contact-detail-text a:hover {
  text-decoration: underline;
}

/* Business hours */
.business-hours {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.business-hours h4 {
  color: var(--white);
  margin-bottom: 16px;
}

/* Contact socials */
.contact-socials {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-socials h4 {
  color: var(--white);
  margin-bottom: 16px;
}

/* Landscape row of contact details under the intro */
.contact-details-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-top: 8px;
}

.contact-details-row .contact-detail {
  margin-bottom: 0;
  flex: 1 1 220px;
}

.contact-details-row .contact-socials {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  flex: 1 1 220px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
}

.hours-row .day {
  color: rgba(255, 255, 255, 0.6);
}

.hours-row .time {
  color: var(--white);
  font-weight: 600;
}

/* Contact Form Placeholder */
.contact-form-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-gray);
}

.contact-form-section h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form-section > p {
  color: var(--medium-gray);
  margin-bottom: 32px;
}

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

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

.contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 8px;
}

.contact-form .required {
  color: var(--orange);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  color: var(--dark-gray);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--light-gray);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form .form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-error {
  color: #B23B2E;
  background: #FBEAE8;
  border: 1px solid #F1C4BE;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success svg {
  width: 56px;
  height: 56px;
  fill: var(--orange);
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--medium-gray);
  margin-bottom: 0;
}

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.area-tag {
  padding: 8px 20px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark-gray);
  transition: all var(--transition);
}

.area-tag:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-col ul li a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.footer-logo .logo-dutch {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

.footer-logo .logo-painting {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
/* .reveal-left / .reveal-right sit offset by 30px until they scroll into
   view. On narrow screens the container is edge-to-edge, so that offset
   pushed elements past the right edge and gave the page a sideways scroll.
   Clip it: `clip` contains the overflow without making body a scroll
   container (which `hidden` would, breaking any future sticky element). */
html,
body {
  overflow-x: hidden;
}

@supports (overflow-x: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.5s; }

.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   MEDIA QUERIES — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  h1 { font-size: 2.75rem; }
  h2, .section-title { font-size: 2rem; }

  .section { padding: 70px 0; }

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

  .hero h1 { font-size: 3rem; }

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

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
    min-height: 0;
  }

  /* On mobile let the image flow naturally so it always renders
     (absolute fill is only needed on desktop to stop it ballooning) */
  .hero-photo {
    position: static;
    height: auto;
  }

  /* Keep hero image visible on mobile regardless of scroll-reveal */
  .hero-visual.reveal-right {
    opacity: 1;
    transform: none;
  }

  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .trust-item {
    border-right: none;
    padding: 15px 0;
  }

  .hero-stats { gap: 30px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .story-content { gap: 40px; }

  .scope-grid { grid-template-columns: repeat(2, 1fr); }

  .before-after-grid { grid-template-columns: 1fr; }

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

  .service-card-detailed .card-top {
    grid-template-columns: 1fr;
  }

  .service-card-detailed .card-image {
    min-height: 220px;
  }

  .facility-content { gap: 40px; }
}

/* ============================================================
   MEDIA QUERIES — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  body { font-size: 15px; }

  h1 { font-size: 2.25rem; }
  h2, .section-title { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }

  .section { padding: 60px 0; }
  .container { padding: 0 20px; }

  /* Mobile Navigation */
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    padding: 80px 30px 30px;
    transition: right var(--transition);
    overflow-y: auto;
  }

  .main-nav.open {
    right: 0;
  }

  .mobile-nav-close {
    display: flex;
    position: absolute;
    top: 18px;
    right: 18px;
  }

  /* Hide the hamburger while the drawer is open — the close button takes over */
  .mobile-menu-toggle.active {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .mobile-overlay {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav > ul > li > a,
  .site-header.scrolled .main-nav > ul > li > a {
    color: var(--black);
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--bg-light);
  }

  .main-nav > ul > li > a:hover,
  .main-nav > ul > li > a.active,
  .site-header.scrolled .main-nav > ul > li > a:hover,
  .site-header.scrolled .main-nav > ul > li > a.active {
    color: var(--orange);
  }

  /* Mobile Dropdown */
  .has-dropdown > a {
    justify-content: center;
  }

  .has-dropdown > a::after {
    margin-left: 6px;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    min-width: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
  }

  .has-dropdown:hover .dropdown {
    max-height: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .has-dropdown.open .dropdown {
    max-height: 300px;
  }

  .dropdown li a {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
  }

  .hero-decoration { display: none; }

  /* Page Hero */
  .page-hero {
    padding: 140px 0 60px;
  }

  .page-hero h1 {
    font-size: 2.25rem;
  }

  /* Trust Bar */
  .trust-bar-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-item {
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border-right: none;
  }

  /* Grid adjustments */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-item { padding: 24px 10px; }
  .stat-number { font-size: 2.25rem; }

  /* Service cards */
  .service-card-image { height: 180px; }

  /* Testimonials */
  .slider-arrow {
    display: none;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .testimonial-quote {
    font-size: 1rem;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Before/After */
  .before-after-images {
    grid-template-columns: 1fr;
  }

  /* Process */
  .process-step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  .step-number {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
  }

  /* Scope */
  .scope-grid {
    grid-template-columns: 1fr;
  }

  /* Story */
  .story-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story-image {
    margin: 0 auto;
  }

  .story-image .year-badge {
    bottom: -16px;
    right: 16px;
    padding: 12px 18px;
  }

  .year-badge .year-number { font-size: 1.5rem; }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Values */
  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Recognition */
  .recognition-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px;
  }

  .recognition-icon { margin: 0 auto; }

  /* Facility */
  .facility-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info-card { padding: 30px; }
  .contact-form-section { padding: 30px; }

  .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }

  /* CTA Banner */
  .cta-banner { padding: 60px 0; }
  .cta-banner h2 { font-size: 1.75rem; }

  /* Clients */
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Footer */
  .site-footer { padding: 60px 0 0; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Areas */
  .areas-list { gap: 8px; }
  .area-tag {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  /* Service Detailed */
  .service-card-detailed .card-body {
    padding: 24px;
  }

  .service-card-detailed .card-body h2 {
    font-size: 1.35rem;
  }
}

/* ============================================================
   MEDIA QUERIES — SMALL MOBILE
   ============================================================ */
@media (max-width: 480px) {
  h1 { font-size: 1.85rem; }
  h2, .section-title { font-size: 1.5rem; }

  .hero h1 { font-size: 1.85rem; }
  .hero { padding: 120px 0 60px; }

  .page-hero { padding: 120px 0 50px; }
  .page-hero h1 { font-size: 1.85rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2rem; }

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

  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .btn-lg { padding: 14px 28px; }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .site-header,
  .site-footer,
  .mobile-menu-toggle,
  .mobile-overlay,
  .slideshow-controls,
  .slider-dots,
  .slider-arrow,
  .cta-banner,
  .hero-decoration {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
    background: #f5f5f5 !important;
  }

  .hero h1 { color: #000; }
  .hero-text { color: #333; }

  a { color: #000; text-decoration: underline; }

  .section { padding: 30px 0; }
}
