/* ================================
   Polaris Fire Protection
   Dark Industrial Redesign
   Font: Barlow Condensed + Barlow
   Accent: Ember #E05020
   ================================ */

:root {
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Barlow", sans-serif;
  --font-sans: var(--font-body); /* alias for employment.html inline styles */

  /* Core palette */
  --c-bg: #090909;
  --c-surface: #101013;
  --c-surface-2: #17171C;
  --c-surface-3: #1E1E25;

  /* Legacy aliases (used in employment.html inline styles) */
  --c-bg-alt: #101013;
  --c-bg-dark: #060607;
  --c-bg-dark-2: #17171C;

  --c-accent: #CC2936;
  --c-accent-hover: #A8202C;
  --c-accent-dim: rgba(204, 41, 54, 0.12);

  /* Legacy color aliases */
  --c-red: #CC2936;
  --c-red-hover: #A8202C;
  --c-red-soft: rgba(204, 41, 54, 0.12);
  --c-blue: #CC2936;
  --c-blue-soft: rgba(204, 41, 54, 0.1);

  --c-text: #EDE9DF;
  --c-text-muted: #6A6675;
  --c-text-on-dark: rgba(237, 233, 223, .82);
  --c-white: #ffffff;

  --c-border: rgba(255,255,255,0.07);
  --c-border-dark: rgba(255,255,255,0.06);
  --c-border-strong: rgba(255,255,255,0.13);

  --nav-height: 72px;
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 5vw, 2.5rem);
  --radius: 2px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.5);
  --shadow-md: 0 8px 32px rgba(0,0,0,.6);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.7);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.08;
  font-weight: 700;
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ================================
   BUTTONS
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--c-accent-hover);
  border-color: var(--c-accent-hover);
  box-shadow: 0 4px 24px rgba(224,80,32,.4);
  transform: translateY(-1px);
}

.btn-ghost-white {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255, 255, 255, .3);
}

.btn-ghost-white:hover {
  background: var(--c-white);
  color: var(--c-bg);
  border-color: var(--c-white);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border-strong);
}

.btn-ghost-dark:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: .875rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--c-accent);
  flex-shrink: 0;
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes revealUp {
  0%   { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes revealFade {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes heroBgZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.06); }
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%) translateY(0); }
  50%       { transform: translate(-50%) translateY(6px); }
}

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

@media (prefers-reduced-motion: no-preference) {
  .reveal-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s cubic-bezier(.22, 1, .36, 1),
                transform .65s cubic-bezier(.22, 1, .36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal-up.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ================================
   HEADER / NAV
   ================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: var(--nav-height);
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}

header.scrolled {
  background: rgba(9,9,9,.96);
  border-bottom-color: var(--c-border-strong);
  backdrop-filter: blur(16px);
}

header.transparent {
  background: rgba(9,9,9,.72);
  border-bottom-color: transparent;
  backdrop-filter: blur(8px);
}

header.transparent .desktop-nav a {
  color: rgba(237, 233, 223, .65);
}

header.transparent .desktop-nav a:hover,
header.transparent .desktop-nav a.active {
  color: var(--c-text);
}

header.transparent .phone-link {
  color: rgba(237, 233, 223, .5);
}

header.transparent .phone-link:hover {
  color: var(--c-accent);
}

header.transparent .hamburger span {
  background: var(--c-text);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--nav-height);
  flex-shrink: 0;
}

.logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

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

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.desktop-nav a {
  display: block;
  padding: .5rem .875rem;
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  position: relative;
  transition: color .2s;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: .875rem;
  right: .875rem;
  height: 1.5px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--c-text);
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--c-text-muted);
  transition: color .2s;
}

.phone-link:hover {
  color: var(--c-accent);
}

.phone-link svg {
  width: 14px;
  height: 14px;
}

.nav-cta {
  padding: .5rem 1.25rem;
  font-size: .8rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .375rem;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  transition: background .15s;
}

.hamburger:hover {
  background: var(--c-surface-2);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--c-text);
  border-radius: 0;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  overflow: hidden;
  max-height: 0;
  transition: max-height .28s ease;
}

.mobile-nav.open {
  max-height: 380px;
}

.mobile-nav ul {
  list-style: none;
  padding: .75rem var(--container-pad) 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav a {
  display: block;
  padding: .75rem 0;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  border-bottom: 1px solid var(--c-border);
  transition: color .2s;
}

.mobile-nav li:last-child a {
  border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--c-accent);
}

.mobile-phone {
  color: var(--c-accent) !important;
}

@media (max-width: 900px) {
  .phone-link span { display: none; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .desktop-nav { display: none; }
}

@media (min-width: 769px) {
  .mobile-nav { display: none; }
}

/* ================================
   HERO
   ================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: grayscale(25%) brightness(.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(9,9,9,.96) 0%,
    rgba(9,9,9,.84) 40%,
    rgba(9,9,9,.55) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 8rem 5rem;
  max-width: 820px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--c-accent);
  flex-shrink: 0;
}

.hero-title {
  color: var(--c-text);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8.5vw, 7.5rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-sub {
  color: rgba(237, 233, 223, .58);
  font-family: var(--font-body);
  font-size: clamp(.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.78;
  max-width: 500px;
  margin-bottom: 2.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translate(-50%);
  z-index: 2;
  color: rgba(237, 233, 223, .22);
  animation: bounce 2.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bg      { animation: heroBgZoom 22s ease-in-out forwards; }
  .hero-eyebrow { animation: revealUp .75s cubic-bezier(.22,1,.36,1) .05s both; }
  .hero-title   { animation: revealUp .9s cubic-bezier(.22,1,.36,1) .18s both; }
  .hero-sub     { animation: revealUp .7s cubic-bezier(.22,1,.36,1) .38s both; }
  .hero-actions { animation: revealUp .7s cubic-bezier(.22,1,.36,1) .54s both; }
  .hero-scroll  { animation: bounce 2.5s ease-in-out infinite,
                             revealFade .5s ease .88s both; }
}

/* ================================
   SERVICE STRIP / MARQUEE
   ================================ */
.service-strip {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
  padding: 0;
}

/* Override .container max-width inside strip */
.service-strip .container,
.service-strip .strip-inner {
  max-width: none;
  padding: 0;
  margin: 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
}

.strip-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.strip-item {
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  padding: 1.1rem 2.25rem;
}

.strip-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
  opacity: .55;
}

/* ================================
   SERVICES SECTION
   ================================ */
.services {
  background: var(--c-bg);
  padding: 7rem 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--c-text);
  margin-bottom: .875rem;
}

.section-sub {
  color: var(--c-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* CSS counter on services grid */
.services-grid {
  counter-reset: service-counter;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
}

@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  counter-increment: service-counter;
  background: var(--c-surface);
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem 2.5rem;
  border-left: 3px solid transparent;
  position: relative;
  transition: background .25s, border-color .25s;
  overflow: hidden;
}

.service-card::before {
  content: "0" counter(service-counter);
  display: block;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: .18;
  transition: opacity .3s;
  letter-spacing: -.02em;
}

.service-card:hover {
  background: var(--c-surface-2);
  border-left-color: var(--c-accent);
}

.service-card:hover::before {
  opacity: .45;
}

/* Hide the photo images — replaced by numbered cards */
.service-img {
  display: none;
}

.service-body {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.service-icon {
  color: var(--c-accent);
  width: 26px;
  height: 26px;
  margin-bottom: .375rem;
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--c-text);
}

.service-desc {
  color: var(--c-text-muted);
  font-size: .9375rem;
  line-height: 1.65;
}

/* ================================
   STATS SECTION
   ================================ */
.stats-section {
  background: #060607;
  padding: 4rem 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

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

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 3rem 1rem;
  border-right: 1px solid var(--c-border);
}

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

@media (max-width: 640px) {
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1),
  .stat:nth-child(2) { border-bottom: 1px solid var(--c-border); }
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.75rem);
  font-weight: 800;
  color: var(--c-accent);
  letter-spacing: -.01em;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-display);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

/* ================================
   WHY SECTION
   ================================ */
.why-section {
  background: var(--c-bg);
  padding: 7rem 0;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

@media (max-width: 860px) {
  .why-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .why-media { order: -1; }
}

.why-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--c-text);
  margin-bottom: 1.25rem;
  line-height: 1.03;
}

.why-body {
  color: var(--c-text-muted);
  font-size: 1.0625rem;
  line-height: 1.78;
  margin-bottom: 2rem;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin-bottom: 2.5rem;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  font-size: 1rem;
  color: var(--c-text);
  line-height: 1.55;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--c-accent-dim);
  border: 1px solid var(--c-accent);
  color: var(--c-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.check svg {
  width: 10px;
  height: 10px;
}

.why-media {
  overflow: hidden;
  position: relative;
}

.why-media::after {
  content: '';
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: -1rem;
  bottom: -1rem;
  border: 1px solid var(--c-border);
  z-index: 0;
  pointer-events: none;
}

.why-media img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  filter: grayscale(15%);
}

/* ================================
   CONTACT SECTION (homepage)
   ================================ */
.contact-section {
  background: var(--c-surface);
  padding: 7rem 0;
  border-top: 1px solid var(--c-border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--c-text);
  margin-bottom: 1rem;
  line-height: 1.03;
}

.contact-body {
  color: var(--c-text-muted);
  font-size: 1rem;
  line-height: 1.72;
  margin-bottom: 2rem;
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .625rem;
  font-size: .875rem;
}

.meta-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-accent);
  transition: opacity .2s;
}

.meta-link:hover { opacity: .8; }

.meta-link svg {
  width: 15px;
  height: 15px;
}

.meta-sep {
  color: var(--c-border-strong);
  font-weight: 300;
}

.meta-text {
  color: var(--c-text-muted);
}

.form-wrap {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  padding: 2.5rem;
}

@media (max-width: 480px) {
  .form-wrap { padding: 1.5rem; }
}

/* ================================
   CONTACT FORM
   ================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.field label {
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.req {
  color: var(--c-accent);
}

.field input,
.field textarea,
.field select {
  background: var(--c-surface);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--c-text);
  transition: border-color .18s, box-shadow .18s;
  width: 100%;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--c-text-muted);
  opacity: .45;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(224,80,32,.12);
}

.field select {
  appearance: none;
  cursor: pointer;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.submit-btn {
  align-self: flex-start;
  padding: .875rem 2.5rem;
  margin-top: .25rem;
}

/* ================================
   PAGE HERO (inner pages)
   ================================ */
.page-hero {
  padding: 11rem 0 5rem;
  background: var(--c-surface);
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--c-accent);
}

.page-hero h1 {
  color: var(--c-text);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  line-height: .98;
}

.page-hero p {
  color: var(--c-text-muted);
  font-size: 1.0625rem;
  max-width: 540px;
  line-height: 1.7;
  margin-left: auto;
  margin-right: auto;
}

/* ================================
   ABOUT PAGE
   ================================ */
.about-section {
  padding: 7rem 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--c-text);
  margin-bottom: 1.5rem;
  line-height: 1.03;
}

.about-text p {
  color: var(--c-text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.125rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-media {
  overflow: hidden;
  position: relative;
}

.about-media::after {
  content: '';
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: -1rem;
  bottom: -1rem;
  border: 1px solid var(--c-border);
  z-index: 0;
  pointer-events: none;
}

.about-media img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  filter: grayscale(15%);
}

.capabilities {
  background: var(--c-surface);
  padding: 6rem 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.capabilities-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.capabilities-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--c-text);
  margin-bottom: 1.25rem;
}

.capabilities-inner p {
  color: var(--c-text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.capabilities-inner strong {
  color: var(--c-accent);
  font-weight: 700;
}

/* ================================
   PROJECT GALLERY
   ================================ */
.gallery-section {
  padding: 5rem 0;
}

.gallery-intro {
  text-align: center;
  color: var(--c-text-muted);
  font-size: 1.0625rem;
  margin-bottom: 3rem;
  max-width: 540px;
  margin-inline: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
  background: var(--c-border);
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .35s ease;
  filter: grayscale(25%) brightness(.92);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(224,80,32,0);
  transition: background .3s ease;
}

.gallery-item:hover::after {
  background: rgba(224,80,32,.07);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .96);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: .45;
  transition: opacity .2s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  opacity: .55;
}

.lightbox-nav:hover {
  background: rgba(224,80,32,.25);
  opacity: 1;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ================================
   CONTACT PAGE - LOCATIONS
   ================================ */
.locations-section {
  padding: 6rem 0;
}

.locations-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--c-text);
  margin-bottom: 2.5rem;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
}

.location-card {
  padding: 2rem;
  background: var(--c-surface);
  border-left: 3px solid transparent;
  transition: border-color .2s, background .2s;
}

.location-card:hover {
  border-left-color: var(--c-accent);
  background: var(--c-surface-2);
}

.location-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-text);
  margin-bottom: .875rem;
}

.location-card p {
  color: var(--c-text-muted);
  font-size: .875rem;
  line-height: 1.65;
}

.location-card a {
  color: var(--c-accent);
  font-weight: 500;
  transition: opacity .2s;
}

.location-card a:hover {
  opacity: .8;
}

/* ================================
   CTA BANNER
   ================================ */
.cta-banner {
  background: var(--c-accent);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(0,0,0,.05) 20px,
    rgba(0,0,0,.05) 21px
  );
  pointer-events: none;
}

.cta-banner > .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: .875rem;
  line-height: 1.03;
}

.cta-banner p {
  color: rgba(255, 255, 255, .8);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 2.25rem;
  line-height: 1.72;
}

.cta-banner .btn-primary {
  background: var(--c-white);
  color: var(--c-accent);
  border-color: var(--c-white);
}

.cta-banner .btn-primary:hover {
  background: var(--c-bg);
  color: var(--c-accent);
  border-color: var(--c-bg);
  box-shadow: none;
}

/* ================================
   FOOTER
   ================================ */
footer {
  background: #060607;
  color: var(--c-text-on-dark);
  padding-top: 5rem;
  border-top: 1px solid var(--c-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--c-border);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

.footer-brand .logo-text {
  color: var(--c-white);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.footer-tagline {
  color: rgba(237, 233, 223, .38);
  font-size: .875rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--c-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .06em;
  transition: color .2s;
}

.footer-phone:hover {
  color: var(--c-accent);
}

.footer-phone svg {
  width: 14px;
  height: 14px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(237, 233, 223, .28);
  margin-bottom: 1.25rem;
}

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

.footer-col a {
  color: rgba(237, 233, 223, .48);
  font-size: .875rem;
  transition: color .2s;
}

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.detail-label {
  font-family: var(--font-display);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(237, 233, 223, .26);
}

.detail span:not(.detail-label),
.detail a {
  color: rgba(237, 233, 223, .56);
  font-size: .875rem;
  transition: color .2s;
}

.detail a:hover {
  color: var(--c-accent);
}

.footer-bottom {
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: .78rem;
  color: rgba(237, 233, 223, .22);
}

.footer-badges {
  display: flex;
  gap: .625rem;
  flex-wrap: wrap;
}

.badge {
  font-family: var(--font-display);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(237, 233, 223, .28);
  border: 1px solid rgba(237, 233, 223, .1);
  padding: .25rem .625rem;
}
