/*
Theme Name: ZAD MEP
Theme URI: https://zadmep.com
Author: ZAD MEP Team
Author URI: https://zadmep.com
Description: Premium MEP Engineering Company WordPress Theme - Integrated MEP Solutions for a Sustainable Future. Features WebGL Blueprint Tunnel hero, GSAP scroll animations, project portfolio with custom post type, services showcase, and contact form.
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zadmep
Tags: engineering, mep, corporate, portfolio, responsive, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   ZAD MEP - MAIN STYLESHEET
   ============================================ */

/* --- CSS Variables --- */
:root {
  --deep-slate: #1C1F2E;
  --amber-gold: #D4A017;
  --warm-white: #F5F1E8;
  --blueprint-blue: #2C3E6B;
  --muted-slate: #4A4D5C;
  --light-border: #C9C5BB;
  --dark-text: #F5F1E8;
  --container-max: 1440px;
  --section-padding: 120px;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--deep-slate);
  background-color: var(--warm-white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

input, textarea, button {
  font-family: inherit;
}

/* --- Typography --- */
.font-display {
  font-family: 'Space Grotesk', sans-serif;
}

.font-body {
  font-family: 'Inter', sans-serif;
}

.font-accent {
  font-family: 'Cormorant Garamond', serif;
}

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

@media (min-width: 768px) {
  .container {
    padding-left: 48px;
    padding-right: 48px;
  }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 80px;
  display: flex;
  align-items: center;
  transition: all 0.5s ease;
  background: transparent;
}

.site-header.scrolled,
.site-header.inner-page {
  background: var(--warm-white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .header-inner {
    padding: 0 48px;
  }
}

.site-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--dark-text);
  transition: color 0.5s ease;
}

.site-logo .logo-accent {
  color: var(--amber-gold);
}

.site-header.scrolled .site-logo,
.site-header.inner-page .site-logo {
  color: var(--deep-slate);
}

/* --- Main Navigation --- */
.main-nav {
  display: none;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }
}

.main-nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-text);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.site-header.scrolled .main-nav a,
.site-header.inner-page .main-nav a {
  color: var(--deep-slate);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--amber-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav a:hover {
  color: var(--amber-gold);
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 120;
}

.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-text);
  transition: all 0.3s ease;
}

.site-header.scrolled .menu-toggle .bar,
.site-header.inner-page .menu-toggle .bar {
  background: var(--deep-slate);
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

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

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* --- Mobile Menu Overlay --- */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--deep-slate);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-overlay nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu-overlay nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dark-text);
  transition: color 0.3s ease;
}

.mobile-menu-overlay nav a:hover {
  color: var(--amber-gold);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: var(--deep-slate);
  display: flex;
  align-items: flex-end;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-repeat: repeat;
  mix-blend-mode: overlay;
  opacity: 0.12;
  backdrop-filter: blur(0.5px);
}

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

@media (min-width: 768px) {
  .hero-content {
    padding: 100px 48px;
  }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  color: var(--dark-text);
  max-width: 720px;
  opacity: 0;
  transform: translateY(60px);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 56px;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 72px;
    line-height: 0.92;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 96px;
    letter-spacing: -4px;
  }
}

.hero-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: rgba(245, 241, 232, 0.7);
  max-width: 520px;
  margin-top: 32px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(60px);
}

@media (min-width: 768px) {
  .hero-desc {
    font-size: 18px;
  }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  padding: 16px 32px;
  border: 1px solid var(--amber-gold);
  color: var(--amber-gold);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(60px);
}

.hero-cta:hover {
  background: var(--amber-gold);
  color: var(--deep-slate);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-scroll-indicator {
    right: 48px;
  }
}

.scroll-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(245, 241, 232, 0.6);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: var(--amber-gold);
  opacity: 0.6;
}

/* ============================================
   SECTION LABEL
   ============================================ */
.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
}

.section-label--gold {
  color: var(--amber-gold);
}

.section-label--muted {
  color: var(--muted-slate);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  background: var(--warm-white);
  padding: 80px 0;
}

@media (min-width: 768px) {
  .services-section {
    padding: var(--section-padding) 0;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  border: 1px solid var(--light-border);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.5s ease;
}

.service-card:hover {
  border-color: rgba(212, 160, 23, 0.4);
}

@media (min-width: 768px) {
  .service-card {
    padding: 60px 32px;
  }
}

.service-icon {
  width: 64px;
  height: 64px;
  color: var(--amber-gold);
  margin-bottom: 32px;
}

.service-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: var(--deep-slate);
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .service-title {
    font-size: 32px;
  }
}

.service-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--muted-slate);
  margin-top: 24px;
  max-width: 320px;
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--amber-gold);
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 12px;
}

/* ============================================
   FEATURED PROJECTS SECTION
   ============================================ */
.projects-section {
  background: var(--warm-white);
  padding: 80px 0;
  border-top: 1px solid var(--light-border);
}

@media (min-width: 768px) {
  .projects-section {
    padding: var(--section-padding) 0;
  }
}

.section-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--deep-slate);
  line-height: 1.1;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  .section-heading {
    font-size: 64px;
    letter-spacing: -2.5px;
  }
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.project-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card__image img {
  transform: scale(1.05);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 31, 46, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.project-card__category {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--amber-gold);
}

.project-card__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--dark-text);
  margin-bottom: 4px;
}

.project-card__location {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(245, 241, 232, 0.7);
}

/* Mobile: always show info */
.project-card__mobile-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(28, 31, 46, 0.8), transparent);
}

@media (min-width: 768px) {
  .project-card__mobile-info {
    display: none;
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background: var(--deep-slate);
  padding: 80px 0;
}

@media (min-width: 768px) {
  .about-section {
    padding: 160px 0;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 45% 55%;
    gap: 80px;
  }
}

.about-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--dark-text);
  line-height: 1.1;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .about-heading {
    font-size: 40px;
  }
}

@media (min-width: 1024px) {
  .about-heading {
    font-size: 56px;
  }
}

.about-image {
  border-radius: 4px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.about-text {
  margin-top: 48px;
}

.about-text p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: rgba(245, 241, 232, 0.8);
  line-height: 1.75;
}

@media (min-width: 768px) {
  .about-text p {
    font-size: 18px;
  }
}

.about-text p + p {
  margin-top: 24px;
}

/* --- Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 40px;
  color: var(--amber-gold);
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 48px;
  }
}

.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.6);
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: var(--warm-white);
  padding: 80px 0;
}

@media (min-width: 768px) {
  .contact-section {
    padding: var(--section-padding) 0;
  }
}

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

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 40% 60%;
    gap: 80px;
  }
}

.contact-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--deep-slate);
  line-height: 1.1;
}

@media (min-width: 768px) {
  .contact-heading {
    font-size: 40px;
  }
}

@media (min-width: 1024px) {
  .contact-heading {
    font-size: 48px;
  }
}

.contact-info {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--amber-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--muted-slate);
}

.contact-text--gold {
  color: var(--amber-gold);
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.contact-social a {
  color: var(--muted-slate);
  transition: color 0.3s ease;
}

.contact-social a:hover {
  color: var(--amber-gold);
}

/* --- Contact Form --- */
.contact-form {
  margin-top: 0;
}

@media (min-width: 1024px) {
  .contact-form {
    margin-top: 0;
  }
}

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

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.form-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--light-border);
  background: transparent;
  padding: 16px 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--deep-slate);
  outline: none;
  transition: border-color 0.3s ease;
  border-radius: 0;
}

.form-input::placeholder {
  color: rgba(74, 77, 92, 0.5);
}

.form-input:focus {
  border-color: var(--amber-gold);
}

.form-textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--light-border);
  background: transparent;
  padding: 16px 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--deep-slate);
  outline: none;
  resize: none;
  transition: border-color 0.3s ease;
  border-radius: 0;
}

.form-textarea::placeholder {
  color: rgba(74, 77, 92, 0.5);
}

.form-textarea:focus {
  border-color: var(--amber-gold);
}

.form-submit {
  width: 100%;
  background: var(--deep-slate);
  color: var(--dark-text);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 18px;
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
  margin-top: 32px;
}

.form-submit:hover {
  background: var(--amber-gold);
  color: var(--deep-slate);
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--amber-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-icon svg {
  width: 32px;
  height: 32px;
  color: var(--amber-gold);
}

.form-success h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--deep-slate);
  margin-bottom: 8px;
}

.form-success p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--muted-slate);
  text-align: center;
  max-width: 400px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--deep-slate);
  color: var(--dark-text);
  padding-top: 80px;
  padding-bottom: 40px;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--dark-text);
}

.footer-logo .logo-accent {
  color: var(--amber-gold);
}

.footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(245, 241, 232, 0.5);
  margin-top: 16px;
}

.footer-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(245, 241, 232, 0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--dark-text);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  margin-top: 48px;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(245, 241, 232, 0.4);
}

.back-to-top {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--amber-gold);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.back-to-top:hover {
  color: var(--dark-text);
}

/* ============================================
   INNER PAGE HERO
   ============================================ */
.page-hero {
  background: var(--deep-slate);
  padding: 120px 0 80px;
  padding-top: 160px;
}

@media (min-width: 768px) {
  .page-hero {
    padding: 200px 0 120px;
  }
}

.page-hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--dark-text);
  line-height: 1.05;
  max-width: 900px;
}

@media (min-width: 640px) {
  .page-hero__title {
    font-size: 48px;
  }
}

@media (min-width: 768px) {
  .page-hero__title {
    font-size: 56px;
  }
}

@media (min-width: 1024px) {
  .page-hero__title {
    font-size: 72px;
  }
}

.page-hero__desc {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: rgba(245, 241, 232, 0.7);
  margin-top: 24px;
  max-width: 700px;
  line-height: 1.6;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-detail-section {
  background: var(--warm-white);
  padding: 80px 0;
}

@media (min-width: 768px) {
  .services-detail-section {
    padding: var(--section-padding) 0;
  }
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
}

@media (min-width: 1024px) {
  .service-detail {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 80px 0;
  }
}

.service-detail--reverse .service-detail__content {
  order: 2;
}

.service-detail--reverse .service-detail__capabilities {
  order: 1;
}

@media (max-width: 1023px) {
  .service-detail--reverse .service-detail__content {
    order: 1;
  }
  .service-detail--reverse .service-detail__capabilities {
    order: 2;
  }
}

.service-detail__icon {
  width: 80px;
  height: 80px;
  color: var(--amber-gold);
  margin-bottom: 32px;
}

.service-detail__subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--amber-gold);
  margin-bottom: 16px;
}

.service-detail__title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--deep-slate);
  line-height: 1.1;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .service-detail__title {
    font-size: 40px;
  }
}

.service-detail__desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--muted-slate);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .service-detail__desc {
    font-size: 18px;
  }
}

.service-detail__capabilities {
  background: rgba(28, 31, 46, 0.05);
  border: 1px solid var(--light-border);
  padding: 32px;
}

@media (min-width: 768px) {
  .service-detail__capabilities {
    padding: 40px;
  }
}

.service-detail__capabilities h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--deep-slate);
  margin-bottom: 24px;
}

.service-detail__capabilities ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-detail__capabilities li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.service-detail__capabilities .bullet {
  width: 8px;
  height: 8px;
  background: var(--amber-gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.service-detail__capabilities span {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--muted-slate);
}

/* ============================================
   PROJECTS PAGE - FILTER
   ============================================ */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

.filter-tab {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 20px;
  border: 1px solid rgba(245, 241, 232, 0.3);
  background: transparent;
  color: rgba(245, 241, 232, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab:hover {
  border-color: var(--amber-gold);
  color: var(--amber-gold);
}

.filter-tab.active {
  background: var(--amber-gold);
  border-color: var(--amber-gold);
  color: var(--deep-slate);
}

/* ============================================
   PROJECT DETAIL PAGE
   ============================================ */
.project-detail-hero {
  background: var(--deep-slate);
  padding: 160px 0 0;
}

@media (min-width: 768px) {
  .project-detail-hero {
    padding: 200px 0 0;
  }
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--amber-gold);
  margin-bottom: 32px;
  transition: gap 0.3s ease;
}

.back-link:hover {
  gap: 12px;
}

.project-detail-image {
  margin-top: -64px;
  position: relative;
  z-index: 2;
}

.project-detail-image img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 4px;
}

.project-detail-content {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .project-detail-content {
    padding: var(--section-padding) 0;
  }
}

.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .project-detail-grid {
    grid-template-columns: 2fr 1fr;
    gap: 80px;
  }
}

.project-detail-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--deep-slate);
  margin-bottom: 24px;
}

.project-detail-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--deep-slate);
  margin-top: 48px;
  margin-bottom: 16px;
}

.project-detail-content p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--muted-slate);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .project-detail-content p {
    font-size: 18px;
  }
}

.scope-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

@media (min-width: 640px) {
  .scope-list {
    grid-template-columns: 1fr 1fr;
  }
}

.scope-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scope-list .bullet {
  width: 8px;
  height: 8px;
  background: var(--amber-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.project-specs h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--deep-slate);
  margin-bottom: 24px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--light-border);
}

.spec-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted-slate);
}

.spec-value {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--deep-slate);
}

.project-inquiry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 32px;
  padding: 16px 32px;
  background: var(--deep-slate);
  color: var(--dark-text);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
}

.project-inquiry-btn:hover {
  background: var(--amber-gold);
  color: var(--deep-slate);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.story-section,
.values-section {
  background: var(--warm-white);
  padding: 80px 0;
}

@media (min-width: 768px) {
  .story-section,
  .values-section {
    padding: var(--section-padding) 0;
  }
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.story-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--deep-slate);
  line-height: 1.1;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .story-content h2 {
    font-size: 36px;
  }
}

@media (min-width: 1024px) {
  .story-content h2 {
    font-size: 48px;
  }
}

.story-content p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--muted-slate);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .story-content p {
    font-size: 18px;
  }
}

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

.story-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
}

/* Values */
.values-section {
  border-top: 1px solid var(--light-border);
}

.values-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--deep-slate);
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .values-heading {
    font-size: 48px;
  }
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  border: 1px solid var(--light-border);
  padding: 32px;
  transition: all 0.5s ease;
}

.value-card:hover {
  border-color: rgba(212, 160, 23, 0.4);
}

.value-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--deep-slate);
  margin-bottom: 16px;
}

.value-card p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--muted-slate);
  line-height: 1.6;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.33, 1, 0.68, 1),
              transform 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}

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

.reveal--left {
  transform: translateX(-40px);
}

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

.reveal--right {
  transform: translateX(40px);
}

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

/* Stagger children */
.stagger-children .reveal {
  transition-delay: calc(var(--i, 0) * 0.1s);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .show-mobile {
    display: none !important;
  }
}

/* ============================================
   WORDPRESS DEFAULTS
   ============================================ */
.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Admin bar fix */
.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
