/* ============================================================
   ROI Construction & Engineering — Main Stylesheet
   Brand: Red (#C0392B), Black (#111111), Grey (#888888, #F2F2F2)
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --red:       #C0392B;
  --red-dark:  #961C10;
  --red-light: #E74C3C;
  --black:     #111111;
  --black-2:   #1A1A1A;
  --black-3:   #222222;
  --grey-dark: #444444;
  --grey-mid:  #888888;
  --grey-light:#CCCCCC;
  --grey-bg:   #F2F2F2;
  --white:     #FFFFFF;
  --border:    rgba(255,255,255,0.08);
  --shadow:    0 4px 32px rgba(0,0,0,0.18);
  --shadow-lg: 0 12px 60px rgba(0,0,0,0.28);
  --radius:    4px;
  --radius-lg: 8px;
  --transition:all 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
.display-font { font-family: 'Barlow Condensed', 'Oswald', sans-serif; }
h1,h2,h3,h4,h5,h6 { font-family: 'Barlow Condensed', 'Oswald', 'Inter', sans-serif; letter-spacing: -0.01em; line-height: 1.15; }
p { color: var(--grey-dark); line-height: 1.75; }

/* ── Page Loader ────────────────────────────────────────────── */
#roi-loader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#roi-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-logo {
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
  font-size: 2.2rem; font-weight: 800;
  color: var(--white); letter-spacing: 0.06em;
  text-transform: uppercase;
}
.loader-logo span { color: var(--red); }

.loader-bar-wrap {
  width: 200px; height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px; overflow: hidden;
}
.loader-bar {
  height: 100%; width: 0;
  background: var(--red);
  border-radius: 2px;
  animation: loaderFill 1.4s cubic-bezier(0.25,0.46,0.45,0.94) forwards 0.2s;
}
@keyframes loaderFill {
  to { width: 100%; }
}

/* ── Navbar ─────────────────────────────────────────────────── */
.roi-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  background: transparent;
  transition: var(--transition);
  padding: 0 5%;
}
.roi-nav.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex; align-items: center;
  height: 80px; gap: 0;
}
.nav-logo {
  flex-shrink: 0; margin-right: auto;
}
.nav-logo img {
  height: 54px; width: auto;
  filter: brightness(0) invert(1);
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-links a {
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
  font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 8px 18px; border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 2px; background: var(--red);
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { left: 18px; right: 18px; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-download {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 9px 20px; border-radius: var(--radius);
  margin-left: 20px;
  transition: var(--transition);
  flex-shrink: 0;
}
.nav-download:hover { background: var(--red-dark); transform: translateY(-1px); }
.nav-download svg { width: 14px; height: 14px; }

.nav-hamburger {
  display: none; color: white; font-size: 1.4rem;
  padding: 8px; margin-left: 12px;
}

/* Mobile menu */
.mobile-nav {
  display: none; position: fixed;
  top: 80px; left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 8999;
  flex-direction: column; padding: 32px 5%;
  gap: 8px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--red); padding-left: 8px; }
.mobile-nav .mobile-download {
  margin-top: 20px;
  display: flex; align-items: center; gap: 10px;
  background: var(--red); color: white;
  padding: 14px 20px; border-radius: var(--radius);
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
  font-size: 1rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; justify-content: center;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-roi {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 32px; border-radius: var(--radius);
  transition: var(--transition);
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(192,57,43,0.4); }
.btn-outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.btn-outline-dark:hover { background: var(--black); color: white; }

/* ── Shared Section Styles ──────────────────────────────────── */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
}
.section-tag::before {
  content: ''; width: 28px; height: 2px; background: var(--red);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--black); line-height: 1.1;
  margin-bottom: 16px;
}
.section-title-light { color: var(--white); }
.section-sub {
  font-size: 1rem; color: var(--grey-mid); max-width: 560px;
  line-height: 1.75;
}

/* ── Page Hero Banner ───────────────────────────────────────── */
.page-hero {
  position: relative; height: 380px;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--black-2);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.35;
  transform: scale(1.05);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(192,57,43,0.2) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  padding-top: 80px;
}
.page-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; color: white; text-transform: uppercase;
  letter-spacing: 0.04em;
}
.page-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px;
}
.page-breadcrumb a, .page-breadcrumb span {
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.1em;
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
}
.page-breadcrumb a:hover { color: var(--red); }
.page-breadcrumb .sep { color: var(--red); }
.page-breadcrumb .current { color: var(--red); }

/* ── Footer ─────────────────────────────────────────────────── */
.roi-footer {
  background: var(--black-2);
  border-top: 1px solid rgba(192,57,43,0.3);
}
.footer-top {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
}
.footer-brand img { height: 50px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-brand p {
  font-size: 0.875rem; color: rgba(255,255,255,0.45);
  line-height: 1.75; max-width: 280px;
}
.footer-col h4 {
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem; color: rgba(255,255,255,0.6);
  transition: var(--transition); display: flex; align-items: center; gap: 8px;
}
.footer-links a:hover { color: var(--red); padding-left: 4px; }
.footer-links a::before { content: '›'; color: var(--red); font-size: 1.1rem; }
.footer-contact-item {
  display: flex; gap: 12px; margin-bottom: 16px;
}
.footer-contact-icon {
  width: 36px; height: 36px; border-radius: var(--radius);
  background: rgba(192,57,43,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 0.9rem; flex-shrink: 0;
}
.footer-contact-label {
  font-size: 0.68rem; color: rgba(255,255,255,0.3);
  text-transform: uppercase; letter-spacing: 0.1em;
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
  margin-bottom: 2px;
}
.footer-contact-val { font-size: 0.875rem; color: rgba(255,255,255,0.75); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.75rem; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--red); }

/* ── Scroll-reveal animation ────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

/* ── Scroll-to-top ──────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 8000;
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--red); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; opacity: 0; pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(192,57,43,0.4);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--red-dark); transform: translateY(-3px); }

/* ── Counter strip ──────────────────────────────────────────── */
.stats-strip {
  background: var(--red);
  padding: 48px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; text-align: center;
}
.stat-item {
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
  font-size: 3.5rem; font-weight: 800;
  color: white; line-height: 1;
  display: flex; align-items: flex-start; justify-content: center; gap: 2px;
}
.stat-num sub { font-size: 1.5rem; margin-top: 12px; }
.stat-label {
  font-size: 0.78rem; color: rgba(255,255,255,0.7);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-top: 8px;
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
}

/* ── CTA Band ───────────────────────────────────────────────── */
.cta-band {
  background: var(--black-2);
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem); color: white; font-weight: 800;
  text-transform: uppercase;
}
.cta-band p { color: rgba(255,255,255,0.5); margin-top: 8px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding: 24px; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.2); }
  .stat-item:last-child { border-bottom: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-download { display: none; }
  .nav-hamburger { display: block; }
  .section { padding: 70px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-inner { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}
