/*
Theme Name: Adrisiya Nirman Sewa Theme
Theme URI: https://adrisiyanirmansewa.com
Author: Adrisiya Nirman Sewa
Author URI: https://adrisiyanirmansewa.com
Description: Modern construction and engineering company theme for Adrisiya Nirman Sewa (ANS). Features luxury design with dark backgrounds, gold accents, and professional layouts.
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: adrisiya-nirman-sewa-theme
Domain Path: /languages
Tags: business, construction, dark-mode, responsive, custom-logo, featured-images
*/

:root {
  --black: #0a0a0a;
  --dark: #111318;
  --dark2: #1a1d24;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --white: #f5f3ee;
  --grey: #6b7280;
  --light-grey: #d1cec8;
  --red-accent: #c0392b;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Image Modal */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}

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

.image-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-image-display {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  animation: zoomIn 0.3s ease-in-out;
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: transform 0.2s ease;
  padding: 0;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-modal-close:hover {
  transform: scale(1.2);
  color: var(--gold);
}

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

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Image Lightbox Modal */
#gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95) !important;
  z-index: 9999 !important;
  display: none !important;
  justify-content: center;
  align-items: center;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

#gallery-modal.gallery-active {
  display: flex !important;
}

#modal-image {
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  animation: zoomIn 0.3s ease-in-out;
}

.modal-image-display {
  max-width: 85% !important;
  max-height: 85% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.image-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none !important;
  border: none !important;
  color: #c9a84c;
  font-size: 50px;
  cursor: pointer;
  z-index: 10001;
  padding: 0 !important;
  width: 50px;
  height: 50px;
  line-height: 1;
  transition: transform 0.2s ease;
}

#modal-close:hover {
  transform: scale(1.2);
}

.image-modal-nav {
  position: absolute !important;
  top: 50% !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border: none !important;
  color: #c9a84c !important;
  font-size: 50px !important;
  cursor: pointer !important;
  z-index: 10000 !important;
  padding: 0 !important;
  width: 60px !important;
  height: 60px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  transform: translateY(-50%) !important;
}

.image-modal-nav:hover {
  background: rgba(255, 255, 255, 0.4) !important;
}

#modal-prev {
  left: 30px !important;
}

#modal-next {
  right: 30px !important;
}

.image-modal-counter {
  position: fixed !important;
  bottom: 30px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  color: #c9a84c !important;
  font-size: 18px !important;
  font-weight: bold !important;
  z-index: 10000 !important;
}


/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

h1 { font-size: clamp(48px, 6vw, 80px); line-height: 1; }
h2 { font-size: clamp(32px, 3.5vw, 52px); line-height: 1.1; }
h3 { font-size: 28px; line-height: 1.2; }
h4 { font-size: 22px; line-height: 1.3; }
h5 { font-size: 18px; line-height: 1.4; }
h6 { font-size: 16px; line-height: 1.5; }

p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 16px;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold-light);
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 60px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: all 0.3s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
}

.nav-logo-mark {
  width: 42px;
  height: 42px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 14px;
  color: var(--black);
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text span:first-child {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.nav-logo-text span:last-child {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light-grey);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--black) !important;
  padding: 10px 24px;
  font-weight: 600 !important;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--black) !important;
}

/* ===== HERO ===== */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: clip;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 10, 10, 0.92) 45%, rgba(10, 10, 10, 0.4) 100%),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1800&q=80') center/cover;
  animation: subtle-zoom 20s ease-in-out infinite alternate;
}

@keyframes subtle-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.04);
  }
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px 100px;
  max-width: 780px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fade-up 0.8s ease 0.3s forwards;
}

.hero-eyebrow-line {
  width: 50px;
  height: 1px;
  background: var(--gold);
}

.hero-eyebrow span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fade-up 0.8s ease 0.4s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--light-grey);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 0;
  opacity: 0;
  animation: fade-up 0.8s ease 0.5s forwards;
}

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

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  opacity: 0;
  animation: fade-up 0.8s ease 0.6s forwards;
}

.hero-actions .btn-primary,
.hero-actions .btn-outline {
  position: relative;
  z-index: 10;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding-top: 80px;
  min-height: 460px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 10, 10, 0.93) 50%, rgba(10, 10, 10, 0.6) 100%),
    url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1800&q=80') center/cover;
  animation: zoom 20s ease-in-out infinite alternate;
}

@keyframes zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.04);
  }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px 80px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.2s forwards;
}

.breadcrumb a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  text-decoration: none;
}

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

.breadcrumb span {
  color: var(--grey);
  font-size: 11px;
}

.breadcrumb .current {
  color: var(--gold);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.page-hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--light-grey);
  max-width: 560px;
  margin-top: 20px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.6s forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SECTIONS & SHARED ===== */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.section-label-line {
  width: 36px;
  height: 2px;
  background: var(--gold);
}

.section-label span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
}

.btn-primary {
  position: relative;
  background: var(--gold);
  color: var(--black);
  padding: 16px 45px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 0% 100%);
  transition: background 0.2s, transform 0.2s;
  z-index: 1;
  white-space: nowrap;
  line-height: 1.2;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(245, 243, 238, 0.3);
  color: var(--white);
  padding: 15px 36px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  padding: 16px 40px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: opacity 0.2s;
}

.btn-dark:hover {
  opacity: 0.8;
}

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

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

/* ===== STORY SECTION ===== */
.story-section {
  padding: 100px 60px;
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.story-content p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--light-grey);
  margin-top: 24px;
}

.story-content p + p {
  margin-top: 18px;
}

.story-visual {
  position: relative;
}

.story-img-main {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
}

.story-img-accent {
  position: absolute;
  bottom: -36px;
  left: -36px;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 3px solid var(--gold);
}

/* ===== SERVICES SECTION ===== */
.services-intro-section {
  padding: 100px 60px;
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.services-intro-left p {
  font-size: 15px;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.85;
  margin-top: 20px;
}

.services-intro-right {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 40px;
  align-items: center;
  background: var(--dark2);
  padding: 36px 40px;
  cursor: pointer;
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.service-row:hover {
  background: #1e2129;
  border-left-color: var(--gold);
}

.service-row-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: rgba(201, 168, 76, 0.2);
}

.service-row-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--white);
}

.service-row-body p {
  font-size: 14px;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.6;
  margin-top: 6px;
  max-width: 520px;
}

.service-row-arrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-8px);
}

.service-row:hover .service-row-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ===== SERVICE DEEP DIVES ===== */
.service-deep {
  padding: 0;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

.service-block:nth-child(even) {
  direction: rtl;
}

.service-block:nth-child(even) > * {
  direction: ltr;
}

.service-block-img {
  position: relative;
  overflow: hidden;
}

.service-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7);
  transition: transform 0.6s, filter 0.4s;
}

.service-block:hover .service-block-img img {
  transform: scale(1.04);
  filter: brightness(0.6);
}

.service-block-img-label {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: var(--gold);
  color: var(--black);
  padding: 8px 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.service-block-content {
  padding: 80px 70px;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-block-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.service-block-content h2 em {
  font-style: italic;
  color: var(--gold);
}

.service-block-content p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--light-grey);
  margin-bottom: 14px;
}

.service-features {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.service-feature-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 0;
  flex-shrink: 0;
  margin-top: 7px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.service-feature span {
  font-size: 14px;
  color: var(--light-grey);
  line-height: 1.5;
}

/* ===== PROCESS SECTION ===== */
.process-section {
  padding: 100px 60px;
  background: var(--dark2);
}

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

.process-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 168, 76, 0.3), transparent);
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.process-step-num {
  width: 60px;
  height: 60px;
  background: var(--gold);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 24px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 1;
}

.process-step h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 13px;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact-main {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  background: var(--dark);
}

.contact-info-panel {
  padding: 90px 70px;
  background: var(--black);
  display: flex;
  flex-direction: column;
}

.contact-details {
  margin-top: 46px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.contact-detail-body strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.contact-detail-body span {
  font-size: 15px;
  color: var(--light-grey);
  font-weight: 300;
  line-height: 1.5;
  display: block;
}

.contact-detail-body a {
  color: var(--light-grey);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 15px;
  font-weight: 300;
}

.contact-detail-body a:hover {
  color: var(--gold);
}

.quick-links {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.quick-links h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 20px;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.quick-link {
  background: rgba(201, 168, 76, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.1);
  padding: 14px 16px;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
}

.quick-link:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.3);
}

.quick-link span {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.quick-link small {
  display: block;
  font-size: 12px;
  color: var(--grey);
  margin-top: 2px;
}

.social-row {
  margin-top: 40px;
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--grey);
  text-decoration: none;
  transition: all 0.2s;
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
}

.social-btn:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ===== FORM ===== */
.contact-form-panel {
  padding: 90px 80px;
  background: var(--dark2);
}

.form-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  margin-top: 30px;
}

.form-tab {
  flex: 1;
  padding: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--grey);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.form-tab.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  font-weight: 700;
}

.form-tab:hover:not(.active) {
  color: var(--white);
}

.form-body {
  display: none;
}

.form-body.active {
  display: block;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 13px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  font-weight: 300;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

.form-group select option {
  background: var(--dark2);
}

.form-group textarea {
  height: 110px;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-note {
  font-size: 12px;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 20px;
}

.form-note a {
  color: var(--gold);
  text-decoration: none;
}

.submit-btn {
  width: 100%;
  background: var(--gold);
  color: var(--black);
  padding: 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  cursor: pointer;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: background 0.2s;
  margin-top: 8px;
}

.submit-btn:hover {
  background: var(--gold-light);
}

/* ===== CTA STRIP ===== */
.cta-strip {
  background: var(--gold);
  padding: 70px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-strip h3 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--black);
}

.cta-strip p {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 6px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding: 70px 60px 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--grey);
  margin-top: 18px;
  max-width: 280px;
}

.footer-col h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  text-decoration: none;
  font-size: 14px;
  color: var(--grey);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

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

.footer-bottom p {
  font-size: 12px;
  color: var(--grey);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--grey);
  text-decoration: none;
  transition: all 0.2s;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}

.social-link:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ===== PROJECTS SECTION ===== */
.filter-bar {
  padding: 40px 60px;
  background: var(--dark);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.filter-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey);
  margin-right: 8px;
}

.filter-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--grey);
  cursor: pointer;
  transition: all 0.2s;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ===== GRID ===== */
.projects-section {
  padding: 60px 60px 100px;
  background: var(--dark);
}

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

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.project-card.featured {
  grid-column: span 2;
  aspect-ratio: unset;
  min-height: 500px;
}

.project-card.hidden {
    display: none;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.65) saturate(0.75);
  transition: transform 0.6s, filter 0.4s;
}

.project-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.45) saturate(0.5);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.97) 30%, transparent 70%);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-type {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.project-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.project-card.featured h3 {
  font-size: 32px;
}

.project-meta {
  display: flex;
  gap: 24px;
  margin-top: 10px;
}

.project-meta span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey);
}

.project-desc {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 300;
  color: var(--light-grey);
  line-height: 1.6;
  max-width: 420px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
}

.project-card:hover .project-desc {
  opacity: 1;
  transform: translateY(0);
}

.project-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.35s 0.05s;
  text-decoration: none;
}

.project-card:hover .project-link {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CASE STUDY ===== */
.case-study {
  padding: 0;
  background: var(--black);
}

.case-study-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.case-study-img {
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.case-study-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.75);
}

.case-study-badge {
  position: absolute;
  top: 40px;
  left: 40px;
  background: var(--gold);
  color: var(--black);
  padding: 10px 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.case-study-content {
  padding: 90px 80px;
  background: var(--dark2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-study-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.case-study-content h2 em {
  font-style: italic;
  color: var(--gold);
}

.case-study-content p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--light-grey);
  margin-bottom: 12px;
}

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 36px 0;
}

.case-stat {
  background: rgba(201, 168, 76, 0.06);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid rgba(201, 168, 76, 0.1);
}

.case-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--gold);
}

.case-stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 4px;
}

/* ===== STATS ROW ===== */
.stats-row {
  background: var(--gold);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-row-item {
  padding: 40px 20px;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
}

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

.stats-row-num {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}

.stats-row-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  margin-top: 4px;
}

/* ===== EQUIPMENT SECTION ===== */
.equip-intro {
  padding: 90px 60px;
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: center;
}

.equip-intro-right p {
  font-size: 16px;
  font-weight: 300;
  color: var(--light-grey);
  line-height: 1.85;
  margin-top: 16px;
}

.equip-intro-right p + p {
  margin-top: 14px;
}

.equip-featured {
  padding: 0 60px 20px;
  background: var(--dark);
}

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

.equip-big-card {
  position: relative;
  overflow: hidden;
  cursor: default;
}

.equip-big-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  filter: brightness(0.6) saturate(0.7);
  transition: transform 0.6s, filter 0.4s;
}

.equip-big-card:hover img {
  transform: scale(1.04);
  filter: brightness(0.5) saturate(0.5);
}

.equip-big-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.97) 35%, transparent 65%);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.equip-big-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.equip-big-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
}

.equip-big-specs {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.equip-big-spec {
  display: flex;
  align-items: center;
  gap: 8px;
}

.equip-big-spec-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
}

.equip-big-spec-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 700;
}

.equip-big-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--light-grey);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 400px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s;
}

.equip-big-card:hover .equip-big-desc {
  opacity: 1;
  transform: translateY(0);
}

.equip-section {
  padding: 80px 60px;
  background: var(--black);
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-top: 60px;
}

.equip-card {
  background: var(--dark2);
  padding: 44px 34px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: default;
}

.equip-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s;
}

.equip-card:hover::after {
  height: 100%;
}

.equip-card:hover {
  background: #1e2129;
}

.equip-card-icon {
  font-size: 36px;
  margin-bottom: 18px;
}

.equip-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.equip-card p {
  font-size: 13px;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 16px;
}

.equip-card-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.equip-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.equip-spec-row span:first-child {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey);
}

.equip-spec-row span:last-child {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 700;
}

/* ===== SAFETY SECTION ===== */
.safety-section {
  padding: 90px 60px;
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.safety-content p {
  font-size: 15px;
  font-weight: 300;
  color: var(--light-grey);
  line-height: 1.85;
  margin-top: 20px;
}

.safety-items {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.safety-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  background: rgba(201, 168, 76, 0.04);
  border-left: 3px solid var(--gold);
}

.safety-item-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.safety-item h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.safety-item p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
  margin: 0;
}

.safety-visual {
  position: relative;
}

.safety-visual img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  filter: brightness(0.8);
}

.safety-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: var(--gold);
  color: var(--black);
  padding: 18px 24px;
  text-align: center;
}

.safety-badge strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
}

.safety-badge span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== TICKER ===== */
.ticker-bar {
  background: var(--gold);
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-right: 60px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 600;
}

.ticker-item::after {
  content: '';
  width: 4px;
  height: 4px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  display: inline-block;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== POSTS & SINGLE ===== */
.entry-header {
  margin-bottom: 30px;
}

.entry-meta {
  font-size: 12px;
  color: var(--grey);
  margin-bottom: 15px;
}

.entry-meta a {
  color: var(--gold);
}

.entry-content {
  max-width: 800px;
  margin: 0 auto 60px;
}

.entry-content p {
  margin-bottom: 20px;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
}

/* ===== SEARCH, 404, ARCHIVE ===== */
.search-form {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
}

.search-form button {
  padding: 12px 30px;
  background: var(--gold);
  color: var(--black);
  border: none;
  cursor: pointer;
  font-weight: 700;
}

.error-404 {
  padding: 100px 60px;
  text-align: center;
}

.error-404 .page-content {
  max-width: 600px;
  margin: 0 auto;
}

.error-404 h1 {
  font-size: 120px;
  color: var(--gold);
  margin-bottom: 20px;
}

/* ===== PROJECT GALLERY GRID ===== */
.project-img-block {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  position: relative;
  width: 100%;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--dark2);
  aspect-ratio: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.2);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

/* ===== PROJECT SINGLE LAYOUT ===== */
.project-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.project-gallery-wrapper {
  width: 100%;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.project-details-wrapper {
  width: 100%;
}

.project-details-sticky {
  position: sticky;
  top: 100px;
  padding-top: 20px;
}

.project-details-sticky .entry-content {
  background: var(--dark2);
  padding: 40px;
  border-radius: 6px;
  border-left: 3px solid var(--gold);
}

.project-details-sticky .entry-content p {
  margin-bottom: 20px;
}

.project-details-sticky .entry-content h2,
.project-details-sticky .entry-content h3 {
  color: var(--gold);
  margin-top: 30px;
  margin-bottom: 15px;
}

.project-details-sticky .entry-content a {
  color: var(--gold);
  text-decoration: underline;
}

.project-details-sticky .entry-content a:hover {
  color: var(--gold-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .project-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .project-details-sticky {
    position: static;
    top: auto;
  }

  .project-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }

  nav {
    padding: 0 30px;
  }

  .hero-content,
  .page-hero-content,
  .story-section,
  .services-intro-section,
  .process-section,
  .contact-main,
  .projects-section,
  .equip-intro,
  .equip-featured,
  .equip-section,
  .safety-section,
  .cta-strip,
  footer {
    padding-left: 30px;
    padding-right: 30px;
  }

  .story-section,
  .services-intro-section,
  .contact-main,
  .safety-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .equip-featured-grid {
    grid-template-columns: 1fr;
  }

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

  .project-card.featured {
    grid-column: span 1;
  }

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

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-strip {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

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

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

@media (max-width: 768px) {
  .project-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-details-sticky {
    position: static;
    top: auto;
  }

  .project-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
  }

  nav {
    height: 60px;
    padding: 0 20px;
  }

  .nav-logo-mark {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .nav-logo-text span:first-child {
    font-size: 14px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-content {
    padding: 0 20px 50px;
  }

  .page-hero-content,
  .story-section,
  .services-intro-section,
  .process-section,
  .contact-main,
  .projects-section,
  .equip-intro,
  .equip-featured,
  .equip-section,
  .safety-section,
  .cta-strip,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .project-card {
    aspect-ratio: 16/9;
  }

  .project-card.featured {
    min-height: auto;
    aspect-ratio: 16/9;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .project-gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  h1 {
    font-size: clamp(32px, 5vw, 48px);
  }

  h2 {
    font-size: clamp(24px, 4vw, 32px);
  }

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

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

  .process-steps::before {
    display: none;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
  }
}
