/* ============================================
   CURATED FACILITY SOLUTIONS
   Visual-driven. Black/white structure.
   Teal depth. Electric lime accent.
   ============================================ */

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

:root {
  --black:        #0F0F0F;
  --teal:         #0C2B30;
  --lime:         #39E058;
  --white:        #FFFFFF;
  --warm-white:   #F7F5F2;
  --muted:        #6B6B6B;
  --border:       #D1D1D1;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max-width: 1100px;

  --xs: 0.5rem;
  --sm: 1rem;
  --md: 2rem;
  --lg: 4rem;
  --xl: 7rem;
}

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

body {
  font-family: var(--font);
  background: var(--warm-white);
  color: var(--black);
  line-height: 1.65;
}

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

/* ---- Container ---- */

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

/* ---- Nav ---- */

.nav {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--md);
}

.nav__logo {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.nav__logo span {
  font-weight: 400;
  opacity: 0.5;
}

.nav__links {
  display: flex;
  gap: var(--md);
  list-style: none;
}

.nav__links a {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--white);
}

.nav__cta {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.55rem 1.25rem;
  background: var(--lime);
  color: var(--black);
  transition: opacity 0.15s;
}

.nav__cta:hover { opacity: 0.85; }

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('public/aerial-commercial-buildings.jpg');
  background-size: cover;
  background-position: center 60%;
  opacity: 0.45;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--xl) 0;
  width: 100%;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--lime);
  margin-bottom: var(--sm);
}

.hero__heading {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  max-width: 860px;
  margin-bottom: var(--md);
}

.hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-bottom: var(--md);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: var(--sm);
  flex-wrap: wrap;
}

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: opacity 0.15s, background 0.15s, color 0.15s;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
}

.btn--primary:hover { opacity: 0.85; }

/* Lime button — used as accent on teal backgrounds */
.btn--accent {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
}

.btn--accent:hover { opacity: 0.85; }

.btn--secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.btn--secondary:hover {
  background: rgba(255,255,255,0.1);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn--dark:hover { opacity: 0.8; }

/* ---- Section base ---- */

.section {
  padding: var(--lg) 0;
}

.section--light {
  background: var(--warm-white);
}

.section--dark {
  background: var(--black);
  color: var(--white);
}

.section--teal {
  background: var(--teal);
  color: var(--white);
}

.section--image {
  position: relative;
  overflow: hidden;
}

.section--image .section__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.section--image .container {
  position: relative;
  z-index: 1;
}

/* ---- Section typography ---- */

.section__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--lime);
  margin-bottom: var(--xs);
}

.section__heading {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--sm);
}

.section--light .section__heading { color: var(--black); }
.section--dark .section__heading,
.section--teal .section__heading { color: var(--white); }

.section__subheading {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--md);
  max-width: 600px;
}

.section--light .section__subheading { color: var(--muted); }

.section__body {
  font-size: 1rem;
  max-width: 680px;
  margin-bottom: var(--sm);
  line-height: 1.7;
}

.section--light .section__body { color: var(--muted); }
.section--dark .section__body,
.section--teal .section__body { color: rgba(255,255,255,0.7); }

/* ---- Grid layouts ---- */

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--md);
}

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

@media (max-width: 800px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; gap: var(--sm); }
  .grid-2 { grid-template-columns: 1fr; }
}

/* ---- Cards ---- */

.card {
  padding: var(--md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.card--light {
  background: var(--white);
  border: 1px solid var(--border);
}

.card--accent {
  border-top: 3px solid var(--lime);
}

.card__number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--lime);
  line-height: 1;
  margin-bottom: var(--xs);
}

.card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--xs);
  color: var(--white);
}

.card--light .card__title { color: var(--black); }

.card__body {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

.card--light .card__body { color: var(--muted); }

/* ---- Services image strip ---- */

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

.services-strip__item {
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: var(--md);
}

.services-strip__item .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.services-strip__item:hover .bg {
  transform: scale(1.04);
}

.services-strip__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.services-strip__content {
  position: relative;
  z-index: 1;
}

.services-strip__num {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--lime);
  margin-bottom: 0.4rem;
}

.services-strip__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.services-strip__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
}

@media (max-width: 800px) {
  .services-strip { grid-template-columns: 1fr; }
  .services-strip__item { min-height: 280px; }
}

/* ---- Who We Serve strip ---- */

.serve-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
}

.serve-strip__item {
  padding: var(--md) var(--sm);
  text-align: center;
  background: var(--teal);
}

.serve-strip__icon {
  font-size: 1.75rem;
  margin-bottom: var(--xs);
}

.serve-strip__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.serve-strip__desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

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

/* ---- Check list ---- */

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.check-list li {
  font-size: 0.95rem;
  padding-left: 1.5rem;
  position: relative;
  color: rgba(255,255,255,0.75);
}

.section--light .check-list li { color: var(--muted); }

.check-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
}

/* ---- CTA Banner ---- */

.cta-banner {
  background: var(--teal);
  padding: var(--lg) 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.cta-banner__heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--xs);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.cta-banner__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--md);
}

/* ---- Page header (inner pages) ---- */

.page-header {
  background: var(--black);
  padding: var(--lg) 0;
  position: relative;
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.page-header .container { position: relative; z-index: 1; }

.page-header__heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: var(--xs);
}

.page-header__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
}

/* ---- Service blocks (services page) ---- */

.service-block {
  padding: var(--lg) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.service-block:last-child { border-bottom: none; }

.service-block__num {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--lime);
  margin-bottom: var(--xs);
}

.service-block__heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--sm);
}

.service-block__body {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin-bottom: var(--sm);
  line-height: 1.7;
}

.service-block__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--md);
  margin-top: var(--md);
}

@media (max-width: 700px) {
  .service-block__cols { grid-template-columns: 1fr; }
}

.service-block__col-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.75rem;
}

.service-block__quote {
  margin-top: var(--md);
  padding: var(--sm) var(--md);
  border-left: 3px solid var(--lime);
  background: rgba(57,224,88,0.05);
}

.service-block__quote p {
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255,255,255,0.75);
}

/* ---- About split ---- */

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--lg);
  align-items: start;
}

.about-split__image {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  display: block;
}

.about-split__image-placeholder {
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.15);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.3);
}

@media (max-width: 700px) {
  .about-split { grid-template-columns: 1fr; }
}

/* ---- Testimonial ---- */

.testimonial {
  border-left: 3px solid var(--lime);
  padding-left: var(--sm);
  margin: var(--md) 0;
}

.testimonial__quote {
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.5rem;
}

.testimonial__attr {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- Footer ---- */

.footer {
  background: var(--black);
  color: var(--white);
  padding: var(--md) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--md);
  flex-wrap: wrap;
  gap: var(--sm);
}

.footer__logo {
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer__logo span {
  font-weight: 400;
  opacity: 0.4;
}

.footer__links {
  display: flex;
  gap: var(--md);
  list-style: none;
}

.footer__links a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  transition: color 0.15s;
}

.footer__links a:hover { color: var(--white); }

.footer__copy {
  font-size: 0.75rem;
  opacity: 0.25;
  width: 100%;
  text-align: center;
  margin-top: var(--sm);
  padding-top: var(--sm);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ---- Responsive nav ---- */

@media (max-width: 700px) {
  .nav__links { display: none; }
  .hero__heading { font-size: 2.2rem; }
  .hero { min-height: 480px; }
}
