:root {
  --charcoal: #1e1e1e;
  --charcoal-mid: #2e2e2e;
  --charcoal-light: #3d3d3d;
  --red: #7d1e1e;
  --red-dark: #4b1212;
  --red-light: #af2a2a;
  --white: #f5f5f5;
  --gray: #aaa;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', sans-serif; background: var(--charcoal); color: var(--white); }

/* NAV */
nav {
  position: fixed; top:0; width:100%; z-index:100;
  background: rgba(20,20,20,0.95);
  border-bottom: 3px solid var(--red);
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 3rem;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 41px; width: auto; display: block; }
nav ul { list-style:none; display:flex; gap:2rem; align-items:center; }
nav ul li a { color: var(--gray); text-decoration:none; font-size:.9rem; letter-spacing:.5px; text-transform:uppercase; transition:.2s; }
nav ul li a:hover { color: var(--red); }
nav ul li a.active { color: var(--white); }
.nav-cta { background: var(--red) !important; color: var(--white) !important; padding: .45rem 1.2rem; font-weight: 700 !important; transition: background .2s !important; }
.nav-cta:hover { background: var(--red-dark) !important; }

/* HERO */
#hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 0 1.5rem;
}
.hero-content { max-width: 800px; }
.eyebrow { text-transform: uppercase; letter-spacing: 4px; font-size: .85rem; color: var(--red-light); margin-bottom: 1.2rem; display:block; }
.hero-content h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; line-height: 1.05; margin-bottom: 1.5rem; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.hero-content h1 span { color: var(--red-light); }
.hero-content p { font-size: 1.15rem; color: #ccc; max-width: 580px; margin: 0 auto 2.5rem; line-height: 1.7; }

/* BUTTONS */
.btn { display: inline-block; padding: .9rem 2.2rem; background: var(--red); color: var(--white); text-decoration: none; font-weight: 700; font-size: 1rem; letter-spacing: 1px; text-transform: uppercase; border: 2px solid var(--red); transition: .25s; cursor: pointer; }
.btn:hover { background: transparent; color: var(--red-light); }
.btn.outline { background: transparent; border-color: var(--white); color: var(--white); margin-left:1rem; }
.btn.outline:hover { background: var(--white); color: var(--charcoal); }

/* PAGE HERO (interior pages) */
.page-hero {
  padding: 160px 2rem 80px;
  background: var(--charcoal-mid);
  border-bottom: 4px solid var(--red);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 1rem; }
.page-hero p.intro { color: #bbb; font-size: 1.05rem; max-width: 640px; margin: 0 auto; line-height: 1.7; }

/* SECTIONS */
section { padding: 90px 2rem; }
.section-label { text-transform: uppercase; letter-spacing: 4px; font-size: .8rem; color: var(--red); margin-bottom: .5rem; display: block; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 1rem; }
.divider { width: 60px; height: 4px; background: var(--red); margin: 1rem 0 2rem; }
.container { max-width: 1100px; margin: 0 auto; }

/* ABOUT */
#about { background: var(--charcoal-mid); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text p { color: #bbb; line-height: 1.8; font-size: 1.05rem; margin-bottom: 1rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-box { background: var(--charcoal-light); padding: 1.5rem; text-align: center; border-bottom: 3px solid var(--red); }
.stat-box .num { font-size: 2.5rem; font-weight: 900; color: var(--red-light); }
.stat-box p { font-size: .85rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }

/* SERVICES OVERVIEW (home page) */
#services-overview { background: var(--charcoal); }
#services-overview h2, #services-overview .section-label { text-align: center; }
#services-overview .divider { margin: 1rem auto 3rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--charcoal-mid); padding: 2rem 1.5rem; border-top: 4px solid var(--red); transition: transform .25s, box-shadow .25s; text-decoration: none; color: inherit; display: block; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(204,0,0,.25); }
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .75rem; }
.service-card p { color: #aaa; font-size: .9rem; line-height: 1.6; margin-bottom: 1.25rem; }
.card-link { color: var(--red-light); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }

/* SERVICE DETAIL (services.html) */
#services-detail { background: var(--charcoal); }
.service-section { padding: 56px 0; border-bottom: 1px solid var(--charcoal-light); }
.service-section:last-of-type { border-bottom: none; padding-bottom: 0; }
.service-section-inner { display: grid; grid-template-columns: 90px 1fr; gap: 2rem; align-items: start; }
.service-icon-lg { font-size: 3.5rem; padding-top: .3rem; }
.service-body h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 1rem; }
.service-body p { color: #bbb; line-height: 1.8; font-size: 1rem; margin-bottom: 1rem; }
.process-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--red-light); font-weight: 700; text-decoration: none; font-size: .9rem; letter-spacing: .5px; margin-top: .5rem; transition: color .2s; }
.process-link:hover { color: var(--white); }

/* OUR PROCESS */
#our-process { background: var(--charcoal); }
.process-list { display: flex; flex-direction: column; }
.process-step { display: grid; grid-template-columns: 80px 1fr; gap: 2.5rem; align-items: start; padding: 2.75rem 0; border-bottom: 1px solid var(--charcoal-light); }
.process-step:last-child { border-bottom: none; }
.step-left { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.step-num-badge { width: 60px; height: 60px; background: var(--red); color: var(--white); font-size: 1.4rem; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-applicable { font-size: .65rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); text-align: center; line-height: 1.4; }
.step-content h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .75rem; }
.step-content p { color: #bbb; line-height: 1.8; font-size: 1rem; }

/* PORTFOLIO */
#portfolio { background: var(--charcoal-mid); }
#portfolio h2, #portfolio .section-label { text-align: center; }
#portfolio .divider { margin: 1rem auto 2.5rem; }
.site-tabs { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.site-tab-btn { display: flex; flex-direction: column; align-items: flex-start; padding: .85rem 1.5rem; background: var(--charcoal); border: 2px solid var(--charcoal-light); color: var(--gray); cursor: pointer; transition: .2s; text-align: left; }
.site-tab-btn:hover, .site-tab-btn.active { border-color: var(--red); background: var(--charcoal-light); color: var(--white); }
.site-tab-btn.active .site-tab-name { color: var(--red-light); }
.site-tab-name { font-size: 1rem; font-weight: 700; margin-bottom: .2rem; }
.site-tab-type { font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); }
.site-panel { display: none; }
.site-panel.active { display: block; }
.site-info { margin-bottom: 1.5rem; }
.site-meta { display: flex; gap: 1.5rem; margin-bottom: .75rem; }
.site-meta span { font-size: .85rem; color: var(--red-light); font-weight: 600; letter-spacing: .5px; }
.site-desc { color: #bbb; line-height: 1.7; max-width: 750px; }
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.portfolio-item { position: relative; overflow: hidden; aspect-ratio: 16/9; cursor: pointer; }
.portfolio-item.wide { grid-column: span 2; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 55%); opacity: 0; transition: opacity .3s; display: flex; align-items: flex-end; padding: 1.25rem; }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span { font-weight: 700; font-size: .95rem; color: var(--white); border-left: 3px solid var(--red); padding-left: .75rem; }

/* LIGHTBOX */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; box-shadow: 0 0 60px rgba(0,0,0,.8); }
.lightbox-close { position: absolute; top: 1.5rem; right: 2rem; font-size: 2rem; color: var(--white); cursor: pointer; background: none; border: none; line-height: 1; }
.lightbox-close:hover { color: var(--red); }
.lightbox-caption { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: #ccc; font-size: .9rem; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }

/* WHY US */
#why { background: var(--red-dark); }
#why h2, #why .section-label { color: var(--white); }
#why .section-label { color: rgba(255,255,255,.7); }
#why .divider { background: rgba(255,255,255,.5); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 1rem; }
.why-item { text-align: center; padding: 1.5rem; }
.why-item .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.why-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.why-item p { font-size: .9rem; color: rgba(255,255,255,.8); line-height: 1.6; }

/* TESTIMONIALS */
#testimonials { background: var(--charcoal); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 1rem; }
.testimonial { background: var(--charcoal-mid); padding: 2rem; border-left: 4px solid var(--red); }
.testimonial p { color: #ccc; line-height: 1.7; font-size: .95rem; margin-bottom: 1.25rem; font-style: italic; }
.testimonial .author { font-weight: 700; color: var(--red-light); font-style: normal; }
.testimonial .role { font-size: .8rem; color: var(--gray); }
.quote-mark { font-size: 4rem; color: var(--red); line-height: .5; margin-bottom: 1rem; opacity: .5; }

/* CTA BAND */
#cta { background: var(--charcoal-mid); text-align: center; }
#cta h2 { margin-bottom: 1rem; }
#cta p { color: #bbb; max-width: 540px; margin: 0 auto 2.5rem; line-height: 1.7; font-size: 1.05rem; }

/* CONTACT */
#contact { background: var(--charcoal-mid); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info p { color: #bbb; line-height: 1.8; margin-bottom: 2rem; }
.contact-detail { display:flex; align-items:center; gap:.75rem; margin-bottom:1rem; color:#ccc; }
.contact-detail .icon { font-size:1.3rem; }
.contact-form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input, textarea, select { width: 100%; padding: .85rem 1rem; background: var(--charcoal); border: 1px solid var(--charcoal-light); color: var(--white); font-size: .95rem; font-family: inherit; outline: none; transition: border .2s; }
input:focus, textarea:focus, select:focus { border-color: var(--red); }
textarea { min-height: 130px; resize: vertical; }
select option { background: var(--charcoal); }
.submit-btn { background: var(--red); color: var(--white); border: 2px solid var(--red); padding: .9rem 2rem; font-weight: 700; font-size: 1rem; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: .25s; }
.submit-btn:hover { background: transparent; color: var(--red-light); }

/* FOOTER */
footer { background: #111; text-align: center; padding: 2rem; color: var(--gray); font-size: .85rem; border-top: 3px solid var(--red); }
footer strong { color: var(--white); }

/* RESPONSIVE */
@media(max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-wrap { grid-template-columns: 1fr; }
}
/* STEP SECTIONS (our-process.html) */
.step-section {
  padding: 90px 2rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.step-section .container {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}
.step-num-badge {
  width: 64px;
  height: 64px;
  background: var(--red);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-applicable {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.45);
  text-align: center;
  line-height: 1.4;
}
.step-content h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  margin-bottom: .75rem;
}
.step-content p { color: #ccc; line-height: 1.8; max-width: 700px; }

/* PORTFOLIO CATEGORY LINK (services.html) */
.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--gray);
  font-size: .9rem;
  text-decoration: none;
  letter-spacing: .5px;
  margin-top: .4rem;
  transition: color .2s;
}
.portfolio-link:hover { color: var(--white); }

/* COMING SOON PANEL (portfolio.html) */
.coming-soon {
  padding: 4rem 2rem;
  background: var(--charcoal-light);
  text-align: center;
}
.coming-soon p { color: var(--gray); font-size: .9rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: .5rem; }

/* PROCESS PREVIEW (home page) */
#process-preview { background: var(--charcoal-mid); }
#process-preview h2, #process-preview .section-label { text-align: center; }
#process-preview .divider { margin: 1rem auto 2rem; }
.process-preview-intro { color: #bbb; font-size: 1.05rem; max-width: 600px; margin: 0 auto 2.5rem; text-align: center; line-height: 1.7; }
.process-steps-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 2.5rem; }
.process-step-tile { display: flex; align-items: center; gap: 1rem; background: var(--charcoal); padding: 1rem 1.5rem; border-left: 3px solid var(--red); flex: 1 1 180px; max-width: 240px; }
.process-step-tile .tile-num { font-size: 1.6rem; font-weight: 900; color: var(--red); line-height: 1; flex-shrink: 0; }
.process-step-tile .tile-name { font-size: .9rem; font-weight: 700; color: var(--white); }
.process-step-tile .tile-sub { font-size: .7rem; color: var(--gray); text-transform: uppercase; letter-spacing: .5px; margin-top: .2rem; }
.process-preview-cta { text-align: center; }

/* EQUIPMENT PAGE */
#equipment-fleet { background: var(--charcoal); }
#equipment-fleet h2, #equipment-fleet .section-label { text-align: center; }
#equipment-fleet .divider { margin: 1rem auto 2.5rem; }
.equip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.equip-card { background: var(--charcoal-mid); border-top: 4px solid var(--red); overflow: hidden; }

/* Equipment thumbnail */
.equip-thumb { position: relative; cursor: pointer; overflow: hidden; aspect-ratio: 16/9; }
.equip-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.equip-thumb:hover img { transform: scale(1.04); }
.equip-thumb-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: .85rem 1rem; gap: .2rem; transition: background .3s; }
.equip-thumb:hover .equip-thumb-overlay { background: rgba(0,0,0,0.52); }
.equip-thumb-overlay .thumb-count { color: rgba(255,255,255,0.7); font-size: .7rem; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .3s .05s, transform .3s .05s; }
.equip-thumb-overlay .thumb-cta { color: var(--white); font-size: .8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.equip-thumb:hover .equip-thumb-overlay .thumb-count,
.equip-thumb:hover .equip-thumb-overlay .thumb-cta { opacity: 1; transform: translateY(0); }

/* Equipment album lightbox */
.equip-lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.96); z-index: 1000; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem 2rem; }
.equip-lb-close { position: absolute; top: 1.25rem; right: 1.5rem; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; opacity: .5; transition: opacity .2s; }
.equip-lb-close:hover { opacity: 1; }
.equip-lb-header { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.equip-lb-title { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; color: var(--white); }
.equip-lb-counter { font-size: .75rem; color: var(--gray); letter-spacing: 1px; }
.equip-lb-main { display: flex; align-items: center; gap: 1rem; }
.equip-lb-img { max-height: 65vh; max-width: 78vw; object-fit: contain; display: block; }
.equip-lb-prev, .equip-lb-next { background: none; border: none; color: var(--white); font-size: 3.5rem; cursor: pointer; opacity: .35; transition: opacity .2s; line-height: 1; padding: 0 .25rem; flex-shrink: 0; }
.equip-lb-prev:hover, .equip-lb-next:hover { opacity: 1; }
.equip-lb-thumbs { display: flex; gap: .5rem; margin-top: 1.25rem; flex-wrap: wrap; justify-content: center; max-width: 80vw; }
.equip-lb-thumb { width: 72px; height: 50px; object-fit: cover; cursor: pointer; opacity: .4; border: 2px solid transparent; transition: opacity .2s, border-color .2s; }
.equip-lb-thumb.active { opacity: 1; border-color: var(--red); }
.equip-lb-thumb:hover { opacity: .8; }
.equip-photo-placeholder { background: var(--charcoal-light); aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; border-bottom: 1px solid rgba(255,255,255,.04); }
.equip-photo-placeholder .ph-icon { font-size: 3rem; opacity: .3; }
.equip-photo-placeholder .ph-label { font-size: .65rem; text-transform: uppercase; letter-spacing: 2.5px; color: var(--gray); opacity: .55; }
.equip-body { padding: 1.5rem; }
.equip-badge { display: inline-block; font-size: .68rem; text-transform: uppercase; letter-spacing: 1px; color: var(--red-light); font-weight: 700; border: 1px solid var(--red-dark); padding: .2rem .65rem; margin-bottom: .75rem; }
.equip-body h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .6rem; }
.equip-body p { color: #aaa; font-size: .9rem; line-height: 1.65; }

/* TECHNOLOGY FEATURE BAND (equipment page) */
#tech-feature { background: var(--charcoal-mid); border-top: 1px solid var(--charcoal-light); }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.tech-item .tech-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.tech-item h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 800; margin-bottom: 1rem; }
.tech-item p { color: #bbb; line-height: 1.8; font-size: 1rem; }

@media(max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  nav ul { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item.wide { grid-column: span 1; }
  .service-section-inner { grid-template-columns: 60px 1fr; gap: 1.25rem; }
  .service-icon-lg { font-size: 2.5rem; }
  .step-section .container { grid-template-columns: 64px 1fr; gap: 1.5rem; }
  .step-num-badge { width: 52px; height: 52px; font-size: 1.2rem; }
  .tech-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-step-tile { max-width: 100%; }
}
