/* ============================================
   NWGC — Northwest General Contractors
   Premium Dark Theme — Inspired by modern
   industrial construction aesthetics
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Colors — Dark dominant with neon amber accent */
  --color-bg: #111111;
  --color-bg-alt: #1a1a1a;
  --color-bg-light: #262626;
  --color-bg-lighter: #343434;
  --color-surface: #1e1e1e;
  --color-accent: #F4A828;
  --color-accent-glow: rgba(244, 168, 40, 0.25);
  --color-accent-hover: #ffb83d;
  --color-white: #ffffff;
  --color-text: rgba(255, 255, 255, 0.85);
  --color-text-muted: rgba(255, 255, 255, 0.5);
  --color-text-dim: rgba(255, 255, 255, 0.3);
  --color-divider: rgba(255, 255, 255, 0.08);
  --color-overlay: rgba(0, 0, 0, 0.6);

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 140px 0;
  --container-width: 1280px;
  --container-padding: 0 7.6vw;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);
  --transition-fast: 0.3s var(--ease-out-expo);
  --transition-med: 0.6s var(--ease-out-expo);
  --transition-slow: 1.2s var(--ease-out-expo);

  /* Header */
  --header-height: 90px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track {
  background: var(--color-bg);
}

html::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 4px;
}

html::-webkit-scrollbar-thumb:hover {
  background: #d4911f;
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) var(--color-bg);
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

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

ul, ol {
  list-style: none;
}

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

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

::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* --- Skip to Content --- */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 12px 24px;
  z-index: 10000;
  font-weight: 700;
  transition: top var(--transition-fast);
}

.skip-to-content:focus {
  top: 0;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(42px, 5.5vw, 80px); }
h2 { font-size: clamp(32px, 4vw, 56px); }
h3 { font-size: clamp(22px, 2.2vw, 30px); }

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
  position: relative;
  padding-left: 40px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--color-accent);
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 16px auto 0;
  line-height: 1.7;
}

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

.text-center .section-tag {
  padding-left: 0;
}

.text-center .section-tag::before {
  display: none;
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

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

.reveal-3d {
  opacity: 0;
  transform: perspective(1500px) translateY(140px) rotateX(10deg);
  transition: opacity 1.4s var(--ease-out-expo), transform 1.4s var(--ease-out-expo);
}

.reveal-3d.revealed {
  opacity: 1;
  transform: perspective(1500px) translateY(0) rotateX(0);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.5s; }
.stagger-children .reveal:nth-child(7) { transition-delay: 0.6s; }
.stagger-children .reveal:nth-child(8) { transition-delay: 0.7s; }
.stagger-children .reveal:nth-child(9) { transition-delay: 0.8s; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 18px 36px;
  border-radius: 0;
  transition: all 0.5s var(--ease-in-out-quart);
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-in-out-quart);
  z-index: 0;
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn span,
.btn i {
  position: relative;
  z-index: 1;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-bg);
}

.btn-primary:hover {
  color: var(--color-bg);
}

.btn-primary::before {
  background: var(--color-accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  color: var(--color-bg);
  border-color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

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

.btn-outline::before {
  background: var(--color-accent);
}

/* Arrow icon in button */
.btn .arrow-icon {
  transition: transform 0.5s var(--ease-in-out-quart);
}

.btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.5s var(--ease-out-expo),
              backdrop-filter 0.5s var(--ease-out-expo),
              padding 0.5s var(--ease-out-expo);
  padding: 0 7.6vw;
}

.site-header.transparent {
  background-color: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}

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

.header-logo img {
  height: 63px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-bg);
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  opacity: 0.75;
  transition: opacity var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.5s var(--ease-in-out-quart);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-phone {
  color: var(--color-bg);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  opacity: 0.75;
  transition: opacity var(--transition-fast);
}

.header-phone:hover {
  opacity: 1;
  color: var(--color-accent);
}

.header-cta {
  padding: 12px 28px;
  font-size: 11px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: 8px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-bg);
  transition: all 0.4s var(--ease-in-out-quart);
  transform-origin: center;
}

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-bg);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.7s var(--ease-in-out-quart);
  padding: 120px 7.6vw 48px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--color-white);
  padding: 16px 0;
  border-bottom: 1px solid var(--color-divider);
  letter-spacing: -0.02em;
  opacity: 0.6;
  transition: opacity var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-nav a:hover {
  opacity: 1;
  color: var(--color-accent);
  padding-left: 16px;
}

.mobile-nav .mobile-nav-footer {
  margin-top: auto;
  padding-top: 40px;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

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

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background: var(--color-bg);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: var(--color-bg);
  transform: scaleX(1);
  z-index: 0;
}

.hero-slider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.3) 0%, rgba(17,17,17,0.85) 100%);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 7.6vw 130px;
}

.hero-slide-content .section-tag {
  margin-bottom: 24px;
}

.hero-slide-content h1 {
  color: var(--color-white);
  margin-bottom: 24px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 0 100px rgba(0, 0, 0, 0.4);
}

.hero-slide-content p {
  color: var(--color-text-muted);
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 560px;
}

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


/* ============================================
   PAGE HERO (Interior Pages)
   ============================================ */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  background: var(--color-bg);
  background-size: cover;
  background-position: center;
  padding: 0 7.6vw 80px;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.45) 0%, rgba(17,17,17,0.75) 100%);
  z-index: 1;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-divider);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  width: 100%;
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.breadcrumb {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .separator {
  margin: 0 8px;
  opacity: 0.4;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--color-bg);
  padding: 80px 7.6vw;
  border-bottom: 1px solid var(--color-divider);
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.stat-item {
  text-align: center;
  flex: 1;
  padding: 0 40px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 56px;
  width: 1px;
  background: var(--color-divider);
}

.stat-item h3 {
  font-size: clamp(36px, 4vw, 60px);
  color: var(--color-white);
  margin-bottom: 8px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-item h3 .accent {
  color: var(--color-accent);
}

.stat-item p {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-section {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 64px 0 48px;
  background: var(--color-divider);
}

.service-card {
  background: var(--color-bg);
  padding: 48px 36px;
  transition: all 0.6s var(--ease-in-out-quart);
  position: relative;
  overflow: hidden;
}

.service-card .card-thumb {
  height: 200px;
  background-size: cover;
  background-position: center;
  margin: -48px -36px 32px;
  transition: transform 1s var(--ease-out-expo);
}

.service-card:hover .card-thumb {
  transform: scale(1.05);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-in-out-quart);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  background: var(--color-bg-alt);
}

.service-card .icon {
  font-size: 28px;
  color: var(--color-accent);
  margin-bottom: 24px;
  transition: transform var(--transition-med);
}

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

.service-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-card .learn-more {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.5s var(--ease-in-out-quart);
}

.service-card:hover .learn-more {
  gap: 14px;
}

/* Service Cards for Overview Page */
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--color-divider);
  margin-top: 64px;
}

.service-overview-card {
  position: relative;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.service-overview-card .card-bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-bg-alt);
  background-size: cover;
  background-position: center;
  transition: transform 1s var(--ease-out-expo);
}

.service-overview-card:hover .card-bg {
  transform: scale(1.08);
}

.service-overview-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(17, 17, 17, 0.95) 100%);
  z-index: 1;
}

.service-overview-card .card-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px;
}

.service-overview-card h3 {
  color: var(--color-white);
  margin-bottom: 8px;
  font-size: 22px;
}

.service-overview-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.service-overview-card .learn-more {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.5s var(--ease-in-out-quart);
}

.service-overview-card:hover .learn-more {
  gap: 14px;
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */
.why-choose {
  padding: var(--section-padding);
  background: var(--color-bg-alt);
}

.why-choose-grid {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.why-choose-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.why-choose-image {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 340px 280px;
  gap: 6px;
  overflow: hidden;
}

.why-choose-image .team-photo {
  overflow: hidden;
  background: var(--color-bg-light);
  position: relative;
}

.why-choose-image .team-photo.main {
  grid-column: auto;
  grid-row: auto;
}

.why-choose-image .team-photo.wide {
  grid-column: auto;
  grid-row: auto;
}

.why-choose-image .team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-out-expo);
}

.why-choose-image .team-photo:hover img {
  transform: scale(1.06);
}

.why-choose-content h2 {
  margin-bottom: 24px;
}

.why-choose-content > p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.why-choose-list {
  margin-top: 32px;
}

.why-choose-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  font-size: 15px;
  color: var(--color-text);
}

.why-choose-list li .check-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 12px;
  transition: all var(--transition-fast);
}

.why-choose-list li:hover .check-icon {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* ============================================
   AWARDS STRIP
   ============================================ */
.awards-strip {
  background: var(--color-accent);
  padding: 60px 7.6vw;
}

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

.award-item {
  color: var(--color-bg);
}

.award-item .award-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.award-item h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-bg);
  margin-bottom: 4px;
}

.award-item p {
  font-size: 13px;
  opacity: 0.7;
  color: var(--color-bg);
}

/* ============================================
   CLIENTS LOGO STRIP
   ============================================ */
.clients-strip {
  padding: 120px 7.6vw;
  text-align: center;
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
}

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}

.client-badge {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-divider);
  padding: 16px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  transition: all 0.5s var(--ease-in-out-quart);
}

.client-badge:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}

.client-logo-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-divider);
  padding: 16px 28px;
  transition: all 0.5s var(--ease-in-out-quart);
  min-width: 160px;
}

.client-logo-img img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: filter 0.4s ease;
}

.client-logo-img:hover {
  background: #ffffff;
  border-color: var(--color-accent);
}

.client-logo-img:hover img {
  filter: grayscale(0%) brightness(1);
}

/* Clients category grid */
.clients-category {
  margin-top: 64px;
}

.clients-cat-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-divider);
  display: flex;
  align-items: center;
  gap: 10px;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-divider);
  padding: 24px 16px 18px;
  width: 160px;
  transition: border-color 0.3s ease, transform 0.3s ease;
  text-align: center;
}

.client-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

.client-card-logo {
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.client-card-logo img {
  width: 120px;
  height: 60px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.client-card:hover .client-card-logo img {
  filter: none;
}

.client-card-logo.no-logo {
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  width: 120px;
  height: 60px;
  border-radius: 4px;
}

.client-card-logo.no-logo i {
  font-size: 24px;
  color: var(--color-accent);
  opacity: 0.6;
}

.client-card-name {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .client-card { width: 140px; }
  .client-card-logo,
  .client-card-logo img,
  .client-card-logo.no-logo { width: 100px; height: 50px; }
}

@media (max-width: 480px) {
  .client-card { width: calc(50% - 10px); }
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: var(--color-bg-alt);
  padding: 120px 7.6vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 60%);
  pointer-events: none;
}

.cta-band h2 {
  color: var(--color-white);
  margin-bottom: 16px;
  position: relative;
}

.cta-band p {
  color: var(--color-text-muted);
  font-size: 16px;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-band .btn {
  position: relative;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-bg);
  padding: 100px 7.6vw 0;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-divider);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 11px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
}

.footer-about .footer-logo {
  height: 36px;
  margin-bottom: 20px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

.footer-about .footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
}

.footer-about .footer-contact-item i {
  color: var(--color-accent);
  width: 16px;
  font-size: 12px;
}

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

.footer-col ul li a {
  font-size: 13px;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

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

.footer-certifications li {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-certifications li i {
  color: var(--color-accent);
  font-size: 10px;
}

.footer-bottom {
  border-top: 1px solid var(--color-divider);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--color-text-dim);
}

.footer-bottom a {
  color: var(--color-text-dim);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

/* Mosora branding highlight */
.footer-bottom a[href="https://mosora.ai"] {
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.4px;
}

.footer-bottom a[href="https://mosora.ai"]:hover {
  color: #ffffff;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-overview {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.about-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-overview-content h2 {
  margin-bottom: 32px;
}

.about-overview-content p {
  margin-bottom: 20px;
  line-height: 1.9;
  color: var(--color-text-muted);
}

.about-overview-image {
  height: 560px;
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-bg-light));
  overflow: hidden;
}

.about-overview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mission Vision Values */
.mvv-section {
  padding: var(--section-padding);
  background: var(--color-bg-alt);
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--color-divider);
  margin-top: 64px;
}

.mvv-card {
  background: var(--color-bg-alt);
  padding: 48px 40px;
  position: relative;
}

.mvv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
}

.mvv-card h3 {
  margin-bottom: 20px;
  font-size: 22px;
}

.mvv-card p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-muted);
}

.values-list {
  margin-top: 20px;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--color-text);
}

.values-list li i {
  color: var(--color-accent);
  font-size: 14px;
  width: 16px;
}

/* President's Message */
.president-section {
  padding: var(--section-padding);
  background: var(--color-bg);
  position: relative;
}

.president-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(244, 168, 40, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.president-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
}

.president-photo {
  width: 100%;
  height: 440px;
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-bg-light));
  overflow: hidden;
}

.president-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.president-content {
  color: var(--color-text-muted);
}

.president-content .quote-mark {
  font-size: 100px;
  color: var(--color-accent);
  font-family: Georgia, serif;
  line-height: 0.5;
  margin-bottom: 32px;
  opacity: 0.6;
}

.president-content p {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 20px;
}

.president-content .president-name {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-accent);
  font-size: 16px;
  margin-top: 40px;
  letter-spacing: -0.01em;
}

.president-content .president-title {
  color: var(--color-text-muted);
  font-size: 13px;
  margin-top: 4px;
}

/* Certifications Grid */
.certifications-section {
  padding: var(--section-padding);
  background: var(--color-bg-alt);
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--color-divider);
  margin-top: 64px;
}

.cert-card {
  background: var(--color-bg-alt);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.5s var(--ease-in-out-quart);
}

.cert-card:hover {
  background: var(--color-bg-light);
}

.cert-card i {
  font-size: 28px;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.cert-card h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

/* Awards Timeline */
.awards-section {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.awards-timeline {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  margin-top: 64px;
}

.award-timeline-item {
  text-align: center;
  max-width: 280px;
}

.award-timeline-item .year {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.award-timeline-item h4 {
  margin: 16px 0 8px;
  font-size: 16px;
}

.award-timeline-item p {
  color: var(--color-text-muted);
  font-size: 13px;
}

/* ============================================
   SERVICE DETAIL PAGE
   ============================================ */
.service-detail {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.service-detail-image {
  height: 480px;
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-bg-light));
  overflow: hidden;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-content h2 {
  margin-bottom: 28px;
}

.service-detail-content p {
  line-height: 2;
  margin-bottom: 20px;
  color: var(--color-text-muted);
  font-size: 15px;
}

/* Alias classes from agent-generated service pages */
.service-image {
  height: 480px;
  background: var(--color-bg-alt);
  overflow: hidden;
}

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

.service-image .image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--color-text-dim);
}

.service-content h2 {
  margin-bottom: 28px;
}

.service-content p {
  line-height: 2;
  margin-bottom: 20px;
  color: var(--color-text-muted);
  font-size: 15px;
}

.service-icon {
  font-size: 28px;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.related-services {
  padding: 100px 7.6vw;
  background: var(--color-bg-alt);
}

.related-services h2 {
  text-align: center;
  margin-bottom: 64px;
}

.related-services .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--color-divider);
}

.related-services .service-card {
  background: var(--color-bg-alt);
}

.related-services .service-card .btn-secondary {
  margin-top: 12px;
  font-size: 11px;
  padding: 12px 24px;
}

/* ============================================
   SHOWCASE / GALLERY
   ============================================ */
.showcase-section {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 48px 0;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--color-divider);
  color: var(--color-text-muted);
  transition: all 0.5s var(--ease-in-out-quart);
  cursor: pointer;
}

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

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

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg-alt);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out-expo), filter 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(17, 17, 17, 0.9) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay .category-badge {
  background: var(--color-accent);
  color: var(--color-bg);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
}

.gallery-item .overlay p {
  color: var(--color-white);
  margin-top: 8px;
  font-size: 13px;
}

.gallery-item .placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dim);
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gallery-item .placeholder-label i {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--color-text-dim);
}

/* ============================================
   CLIENTS PAGE
   ============================================ */
.clients-section {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.accordion {
  max-width: 900px;
  margin: 48px auto 0;
}

.accordion-item {
  border: 1px solid var(--color-divider);
  margin-bottom: -1px;
  overflow: hidden;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  background: var(--color-bg);
  cursor: pointer;
  transition: background 0.5s var(--ease-out-expo);
  width: 100%;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.accordion-header:hover {
  background: var(--color-bg-alt);
}

.accordion-header i {
  transition: transform 0.5s var(--ease-in-out-quart);
  color: var(--color-accent);
  font-size: 14px;
}

.accordion-item.open .accordion-header {
  background: var(--color-bg-alt);
}

.accordion-item.open .accordion-header i {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo);
}

.accordion-body-inner {
  padding: 8px 32px 28px;
  background: var(--color-bg-alt);
}

.accordion-body ul li {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-divider);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--color-text);
}

.accordion-body ul li:last-child {
  border-bottom: none;
}

.accordion-body ul li i {
  color: var(--color-accent);
  font-size: 6px;
}

/* ============================================
   CAREERS PAGE
   ============================================ */
.careers-section {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.careers-content {
  max-width: 760px;
  margin: 0 auto;
}

.careers-content h2 {
  margin-bottom: 28px;
}

.careers-content h3 {
  margin-top: 48px;
  margin-bottom: 20px;
  font-size: 22px;
}

.careers-content p {
  margin-bottom: 20px;
  line-height: 1.9;
  color: var(--color-text-muted);
}

.careers-content .benefits-list {
  margin: 16px 0 32px;
}

.careers-content .benefits-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--color-text);
}

.careers-content .benefits-list li i {
  color: var(--color-accent);
  font-size: 14px;
}

.careers-content .contact-highlight {
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-accent);
  padding: 28px 32px;
  margin: 32px 0;
}

.careers-content .contact-highlight p {
  margin-bottom: 8px;
  color: var(--color-text);
}

.careers-content .contact-highlight strong {
  color: var(--color-accent);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: var(--section-padding);
  background: #ffffff;
}

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

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

.contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #555555;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 16px 0;
  border: none;
  border-bottom: 1px solid #cccccc;
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.5s var(--ease-out-expo);
  background: transparent;
  color: #111111;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaaaaa;
}

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

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23F4A828' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  cursor: pointer;
}

.contact-form select option {
  background: #ffffff;
  color: #111111;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  border: 1px solid #cccccc;
  padding: 16px;
  margin-top: 4px;
  color: #111111;
  background: #f9f9f9;
}

.contact-form textarea:focus {
  border-color: var(--color-accent);
}

.contact-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.contact-form .form-success {
  display: none;
  background: rgba(244, 168, 40, 0.1);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  padding: 20px 24px;
  margin-top: 20px;
  font-weight: 500;
  font-size: 14px;
}

.contact-info {
  padding-top: 16px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-info-item .icon-box {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border: 1px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 18px;
  transition: all var(--transition-fast);
}

.contact-info-item:hover .icon-box {
  background: var(--color-accent);
  color: var(--color-bg);
}

.contact-info-item h4 {
  font-size: 14px;
  margin-bottom: 6px;
  font-weight: 700;
  color: #111111;
}

.contact-info-item p {
  color: #555555;
  font-size: 14px;
  line-height: 1.6;
}

.contact-map {
  margin-top: 40px;
  overflow: hidden;
  height: 280px;
  border: 1px solid #e0e0e0;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: none;
  transition: filter var(--transition-med);
}

.contact-map:hover iframe {
  filter: none;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

@media (max-width: 1024px) {
  :root {
    --section-padding: 100px 0;
    --container-padding: 0 32px;
  }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .header-phone { display: none; }
  .header-cta { display: none; }

  .hero-slide {
    padding: 0 32px 100px;
  }

  .stats-grid {
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 0 0 50%;
    padding: 20px;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

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

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

  .about-overview-grid { grid-template-columns: 1fr; gap: 48px; }
  .mvv-grid { grid-template-columns: 1fr; }
  .president-grid { grid-template-columns: 1fr; gap: 48px; }
  .president-photo { max-width: 320px; }

  .certifications-grid { grid-template-columns: repeat(2, 1fr); }
  .services-overview-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 48px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }

  .page-hero { padding: 0 32px 60px; }
  .stats-bar { padding: 60px 32px; }
  .awards-strip { padding: 48px 32px; }
  .clients-strip { padding: 80px 32px; }
  .cta-band { padding: 80px 32px; }
  .site-footer { padding: 80px 32px 0; }
  .site-header { padding: 0 32px; }
  .related-services { padding: 80px 32px; }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
    --header-height: 72px;
  }

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

  .hero-slide {
    padding: 0 24px 80px;
    align-items: center;
  }

  .hero-slide-content h1 {
    font-size: clamp(32px, 8vw, 48px);
  }

  .page-hero { min-height: 320px; padding: 0 24px 48px; }

  .stat-item:not(:last-child)::after { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .certifications-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .awards-timeline { gap: 48px; }

  .service-overview-card { height: 320px; }
}

@media (max-width: 375px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

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

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

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