/* ============================================================
   index.css â€” Home page styles
   ============================================================ */


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

:root {
  --red:      #D30100;
  --red-dark: #A50000;
  --ink:      #0E0E0E;
  --marine:   #0A2540;
  --bone:     #F4F1EC;
  --amber:    #FEBD59;
  --steel:    #6E7479;
  --white:    #FFFFFF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: clip;
}


/* Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #D30100 0%, #A50000 50%, #0A2540 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 85% 40%, rgba(255, 255, 255, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 5% 90%, rgba(0, 0, 0, 0.18) 0%, transparent 55%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-accent-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, transparent 0%, var(--amber) 30%, var(--amber) 70%, transparent 100%);
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 28px 80px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-eyebrow-line {
  width: 32px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

.hero-eyebrow-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}

h1.hero-headline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 28px;
  max-width: 720px;
}

h1.hero-headline em {
  font-style: normal;
  color: var(--amber);
}

h1.hero-headline .red {
  color: var(--amber);
}

.hero-sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 44px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  background: var(--red);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.18s, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 24px rgba(211, 1, 0, 0.35);
}

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

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}


/* Hero Right Panel
   ------------------------------------------------------------ */
.hero-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(8px);
}

.hero-panel-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-stat-row:last-child {
  border-bottom: none;
}

.hero-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  min-width: 80px;
}

.hero-stat-num sup {
  font-size: 18px;
  font-weight: 700;
}

.hero-stat-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  line-height: 1.45;
}

.hero-stat-label strong {
  color: #fff;
  font-weight: 500;
  display: block;
}


/* Stats Bar
   ------------------------------------------------------------ */
.stats-bar {
  background: var(--amber);
  padding: 0 28px;
}

.stats-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid rgba(10, 37, 64, 0.12);
}

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

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: var(--marine);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(10, 37, 64, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Desktop: size the hero so the amber stats bar lands exactly at the bottom of
   the viewport on first paint — sticky header (71px) + hero + stats bar = 100vh.
   Below 900px the stats bar wraps to two rows and the hero fills the screen on
   its own, so mobile is intentionally left untouched. */
:root {
  --smpc-header-h: 71px;   /* 70px bar + 1px border */
  --stats-bar-h:   112px;  /* 56px padding + 56px content */
}

@media (min-width: 901px) {
  .hero {
    /* Drop the generic section 100px top/bottom padding here — the hero-content
       carries its own — so the hero can shrink to the viewport height. */
    padding: 0;
    min-height: calc(100vh - var(--smpc-header-h) - var(--stats-bar-h));
  }

  .hero-content {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}


/* Section Base
   ------------------------------------------------------------ */
section {
  padding: 100px 28px;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

h2.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 18px;
}

h2.section-title span {
  color: var(--red);
}

.section-desc {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15.5px;
  font-weight: 300;
  color: var(--steel);
  line-height: 1.75;
  max-width: 540px;
}


/* About Section
   ------------------------------------------------------------ */
.about-section {
  background: var(--bone);
}

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

.about-img-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
  position: relative;
  z-index: 1;
  background: #ccc;
}

.about-img-badge {
  position: absolute;
  top: 24px;
  left: -24px;
  background: var(--red);
  color: #fff;
  padding: 18px 22px;
  border-radius: 12px;
  z-index: 2;
  box-shadow: 0 12px 40px rgba(10, 37, 64, 0.35);
}

.about-img-badge strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 900;
  display: block;
  line-height: 1;
  color: var(--amber);
}

.about-img-badge span {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
}

.about-amber-bar {
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--amber);
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}

.about-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(211, 1, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 13.5px;
  color: var(--steel);
  line-height: 1.65;
}


/* Industries Section
   ------------------------------------------------------------ */
.industries-section {
  background: #fff;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.industry-card {
  background: var(--bone);
  border-radius: 12px;
  padding: 26px 22px;
  text-decoration: none;
  color: var(--ink);
  border: 1.5px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.industry-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s;
}

.industry-card:hover {
  border-color: rgba(211, 1, 0, 0.15);
  box-shadow: 0 8px 32px rgba(10, 37, 64, 0.10);
  transform: translateY(-3px);
}

.industry-card:hover::after {
  transform: scaleX(1);
}

.industry-icon {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  box-shadow: 0 2px 8px rgba(211, 1, 0, 0.1);
}

.industry-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
}

.industry-card p {
  font-size: 12.5px;
  color: var(--steel);
  line-height: 1.55;
}

.industry-card-arrow {
  margin-top: auto;
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.18s, transform 0.18s;
}

.industry-card:hover .industry-card-arrow {
  opacity: 1;
  transform: translateX(0);
}


/* Brands Strip
   ------------------------------------------------------------ */
.brands-strip {
  background: #0E0E0E;
  padding: 56px 28px;
}

.brands-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.brands-label {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 36px;
}

.brands-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
}

.brand-pill {
  padding: 11px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.06em;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
  text-decoration: none;
}

.brand-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}


/* Featured Projects Section
   ------------------------------------------------------------ */
.projects-section {
  background: var(--marine);
  position: relative;
  overflow: hidden;
}

.projects-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 90% 0%, rgba(211, 1, 0, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(254, 189, 89, 0.07) 0%, transparent 55%);
  pointer-events: none;
}

.projects-section .section-inner {
  position: relative;
  z-index: 1;
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 52px;
}

.projects-section .section-label { color: var(--amber); }
.projects-section .section-label::before { background: var(--amber); }
.projects-section h2.section-title { color: #fff; }
.projects-section h2.section-title span { color: var(--amber); }
.projects-section .section-desc { color: rgba(255, 255, 255, 0.55); max-width: 420px; }

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

.project-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.project-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--red);
  opacity: 0;
  transition: opacity 0.2s;
}

.project-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

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

.project-client {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.project-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #fff;
}

.project-scope {
  margin-top: auto;
  align-self: flex-start;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 11px;
  border-radius: 100px;
}

.projects-note {
  margin-top: 28px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}


/* Services Section
   ------------------------------------------------------------ */
.services-section {
  background: var(--bone);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.service-card {
  background: #fff;
  border-radius: 14px;
  padding: 36px 30px;
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  box-shadow: 0 12px 40px rgba(10, 37, 64, 0.1);
  transform: translateY(-3px);
}

.service-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--steel);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(211, 1, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--red);
}

.service-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}

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

.service-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s;
}

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

.service-card-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: var(--red);
  opacity: 0.06;
  border-radius: 0 0 0 60px;
}


/* CTA Band
   ------------------------------------------------------------ */
.cta-band {
  background: var(--red);
  padding: 80px 28px;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
}

.cta-band-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1.1;
  max-width: 560px;
}

.cta-band h2 em {
  font-style: normal;
  color: var(--amber);
}

.cta-band-sub {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 12px;
  max-width: 440px;
  line-height: 1.65;
}

.btn-amber {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--amber);
  color: var(--marine);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: opacity 0.18s, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 24px rgba(254, 189, 89, 0.25);
  white-space: nowrap;
}

.btn-amber:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}


/* Industries Section Header
   ------------------------------------------------------------ */
.industries-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}


/* "View All" Industry Card Variant
   ------------------------------------------------------------ */
.industry-card--view-all {
  border-style: dashed;
  border-color: rgba(211, 1, 0, 0.2);
  background: transparent;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.industry-card--view-all .industry-icon-muted {
  color: var(--steel);
}


/* CTA Band Actions
   ------------------------------------------------------------ */
.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.cta-phone-link {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  padding-left: 4px;
}


/* Stat Num Superscript
   ------------------------------------------------------------ */
.stat-num sup {
  font-size: 22px;
}


/* Responsive
   ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-panel {
    display: none;
  }

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

  .about-img-badge {
    left: 16px;
  }
}

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

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

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

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

  .stat-item {
    border-bottom: 1px solid rgba(10, 37, 64, 0.12);
  }

  .cta-band-inner {
    flex-direction: column;
    text-align: center;
  }
}

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

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

  .hero-ctas {
    flex-direction: column;
  }
}
