/* ============================================
   RED TIGER HEAVY EQUIPMENT RENTAL LLC
   DESIGN SYSTEM  BRAND RED #C8102E
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* === TOKENS === */
:root {
  --bg-main: #fcfcfc;
  --bg-surface: #ffffff;
  --bg-elevated: #f4f5f7;

  /* Brand red extracted from Red Tiger logo  #C8102E */
  --primary-950: rgba(200,16,46,0.03); /* subtle red tint for backgrounds */
  --primary-900: rgba(200,16,46,0.06); /* subtle red, card/icon backgrounds */
  --primary-800: rgba(200,16,46,0.12); /* light red, icon boxes/accents */
  --primary-700: #a80d24;   /* strong red, borders & dividers */
  --primary-600: #c8102e;   /* PRIMARY BRAND RED from logo */
  --primary-500: #e0243f;   /* bright hover red */

  --text-light: #111111; /* Dark charcoal text for light mode */
  --text-muted: #555555;
  --text-dim: #888888;

  --border: rgba(0,0,0,0.1);
  --border-red: rgba(200,16,46,0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 8px 32px rgba(0,0,0,0.06);
  --shadow-red: 0 8px 48px rgba(200,16,46,0.15);
  --shadow-hover: 0 16px 48px rgba(200,16,46,0.2);

  --transition: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 72px;
  --max-w: 1280px;
  --section-py: clamp(64px, 10vw, 120px);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg-main);
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text-light);
}
h1 { font-size: clamp(52px, 8vw, 110px); }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: clamp(24px, 3vw, 36px); }
h4 { font-size: clamp(20px, 2.5vw, 28px); }

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-600);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--primary-700);
}

/* === LAYOUT === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}
section { padding: var(--section-py) 0; }

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 12px rgba(200,16,46,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-700);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.logo-icon svg { width: 24px; height: 24px; fill: #fff; }
.logo-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}
.logo-text span {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-600);
  background: var(--primary-900);
}
.nav-links .nav-dropdown {
  position: relative;
}
.nav-links .nav-dropdown > a::after {
  content: '';
  margin-left: 4px;
  font-size: 10px;
}
.nav-links .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}
.nav-links .nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-links .dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary-600);
  color: #fff;
  box-shadow: 0 2px 20px rgba(200,16,46,0.45);
}
.btn-primary:hover {
  background: var(--primary-500);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--primary-600);
}
.btn-outline:hover {
  border-color: var(--primary-700);
  background: var(--primary-600);
  color: #fff;
  transform: translateY(-2px);
}
.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
  border-radius: 16px;
}
.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

/* === HAMBURGER === */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: transparent;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--primary-950); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE NAV */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity var(--transition);
}
.mobile-nav.open {
  display: flex;
  opacity: 1;
}
.mobile-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  padding: 8px 24px;
}
.mobile-nav a:hover { color: var(--primary-600); }

/* === FOOTER === */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 64px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  padding: 5px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text-light); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
}
.footer-contact-item svg { width: 16px; height: 16px; fill: var(--primary-600); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a {
  display: inline-block;
  padding: 0;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { color: var(--text-dim); font-size: 13px; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--text-dim); font-size: 13px; transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--text-muted); }

/* === CARDS === */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-red);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* Icon Cards */
.icon-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.icon-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(200,16,46,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.icon-card:hover::before { opacity: 1; }
.icon-card:hover {
  border-color: var(--border-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.icon-card-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-800);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--primary-700);
}
.icon-card-icon svg { width: 24px; height: 24px; fill: var(--primary-600); }
.icon-card h3 { font-size: 22px; margin-bottom: 10px; }
.icon-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-main);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transform-origin: center center;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.85) 0%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: var(--header-h);
  padding-bottom: 80px;
  width: 100%;
  text-align: left;
}
.hero-content.container {
  margin-left: 0;
  margin-right: auto;
}
.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary-600);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--primary-700);
}
.hero h1 { margin-bottom: 24px; font-size: clamp(58px, 9vw, 120px); }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line-inner { display: block; }
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 40px;
  margin-left: 0;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-start; }

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary-700), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* Red dot accent */
.red-dot { color: var(--primary-600); }

/* === SECTION HEADERS === */
.section-header {
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-header.centered { text-align: center; }
.section-header.centered .section-label {
  justify-content: center;
}
.section-header.centered .section-label::before { display: none; }
.section-header p {
  color: var(--text-muted);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
  max-width: 600px;
  margin-top: 16px;
}
.section-header.centered p { margin: 16px auto 0; }

/* === GRIDS === */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all var(--transition);
  cursor: pointer;
  display: block;
}
.service-card:hover {
  border-color: var(--border-red);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.service-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity var(--transition), transform var(--transition);
}
.service-card:hover .service-card-img {
  opacity: 0.9;
  transform: scale(1.04);
}
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.6) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.service-card-overlay h3 { font-size: 22px; margin-bottom: 8px; }
.service-card-overlay p { color: var(--text-muted); font-size: 13px; line-height: 1.6; }
.service-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(200,16,46,0.38) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover .service-card-glow { opacity: 1; }

/* === PROCESS SECTION === */
.process-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
}
.process-sticky-wrapper {
  position: relative;
}
.process-steps {
  display: flex;
  gap: clamp(80px, 15vw, 250px);
  padding: 0 clamp(16px, 4vw, 48px);
}
.process-step {
  flex: 0 0 clamp(300px, 40vw, 550px);
  padding: clamp(40px, 6vw, 80px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 60vh;
}
.process-step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(100px, 15vw, 200px);
  font-weight: 900;
  color: var(--primary-600);
  line-height: 1;
  margin-bottom: -20px;
  letter-spacing: -0.04em;
  user-select: none;
}
.process-step h3 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 16px; }
.process-step p { color: var(--text-muted); font-size: 16px; line-height: 1.7; max-width: 420px; }
.process-progress {
  display: flex;
  gap: 8px;
  margin-top: 48px;
}
.process-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.process-dot.active {
  background: var(--primary-700);
  border-color: var(--primary-600);
  transform: scale(1.4);
  animation: dotBlink 1.5s ease-in-out infinite;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; transform: scale(1.4); }
  50% { opacity: 0.4; transform: scale(1.1); }
}

/* === PROJECTS GRID === */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}
.project-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.project-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.project-item:nth-child(2) { grid-column: span 5; }
.project-item:nth-child(3) { grid-column: span 5; }
.project-item:nth-child(4) { grid-column: span 4; }
.project-item:nth-child(5) { grid-column: span 4; }
.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-item:hover img { transform: scale(1.06); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}
.project-item:hover .project-overlay { opacity: 1; }
.project-overlay h4 { font-size: 20px; margin-bottom: 6px; }
.project-overlay span { font-size: 12px; color: var(--primary-600); letter-spacing: 0.1em; text-transform: uppercase; }

/* === TESTIMONIALS === */
.testimonials-section { background: var(--bg-main); }
.testimonials-wrapper {
  position: relative;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
}
.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  margin-right: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 100px;
  color: var(--primary-800);
  position: absolute;
  top: 16px;
  left: 28px;
  line-height: 1;
}
.testimonial-text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
  margin-top: 32px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-600);
  border: 2px solid var(--primary-700);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 15px; }
.testimonial-company { color: var(--text-dim); font-size: 13px; margin-top: 2px; }
.stars { color: #c8a84b; font-size: 13px; margin-bottom: 4px; letter-spacing: 2px; }

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-muted);
}
.carousel-btn:hover {
  background: var(--primary-700);
  border-color: var(--primary-700);
  color: #fff;
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.carousel-dot.active {
  background: var(--primary-700);
  transform: scale(1.5);
}

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(40px, 6vw, 80px); margin-bottom: 20px; color: #fff; }
.cta-section p { color: rgba(255,255,255,0.65); font-size: clamp(16px, 2vw, 20px); max-width: 560px; margin: 0 auto 40px; line-height: 1.6; }
.cta-section .btn-primary {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
}
.cta-section .btn-primary:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}

/* === INNER PAGE HERO === */
.page-hero {
  padding: calc(var(--header-h) + 64px) 0 64px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--primary-900), var(--primary-700), var(--primary-900));
}
.page-hero h1 { font-size: clamp(42px, 6vw, 80px); margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); font-size: clamp(16px, 2vw, 20px); max-width: 560px; line-height: 1.6; margin-top: 16px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-dim);
}
.breadcrumb a { color: var(--text-dim); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary-600); }
.breadcrumb span { color: var(--text-dim); }

/* === ACCORDION / FAQ === */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--border-red); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  cursor: pointer;
  background: var(--bg-surface);
  transition: background var(--transition);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light);
  gap: 16px;
}
.faq-question:hover { background: var(--bg-elevated); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  font-size: 18px;
  line-height: 1;
  color: var(--text-muted);
}
.faq-item.open .faq-icon {
  background: var(--primary-700);
  border-color: var(--primary-600);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--bg-surface);
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 24px 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

/* === FORM === */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.form-control {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 15px;
  color: var(--text-light);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-control::placeholder { color: var(--text-dim); }
.form-control:focus {
  outline: none;
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(74,13,18,0.2);
}
textarea.form-control { resize: vertical; min-height: 140px; }



/* === BADGE === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.badge-red { background: var(--primary-800); color: var(--primary-600); border: 1px solid var(--primary-700); }
.badge-muted { background: var(--bg-elevated); color: var(--text-muted); border: 1px solid var(--border); }

/* === DIVIDER === */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* === STATS BAR === */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--bg-surface);
  padding: 32px;
  text-align: center;
}
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num .accent { color: var(--primary-600); }
.stat-label { font-size: 13px; color: var(--text-muted); letter-spacing: 0.06em; }

/* === UTILITY === */
.text-red { color: var(--primary-600); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.gap-12 > * + * { margin-top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(32px);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-line { display: none; }
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-item { grid-column: span 1 !important; grid-row: span 1 !important; }
  .testimonial-card { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .nav-links { display: none; }
  .header-cta .btn { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .testimonial-card { flex: 0 0 100%; margin-right: 0; }
  .hero-ctas .btn { flex: 1; min-width: 0; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
  .btn-lg { padding: 16px 28px; font-size: 15px; }
}

/* =============================================
   STATIC SITE PATCH  header nav & responsive
   ============================================= */

/* Desktop nav using .desktop-nav and .nav-list */
.desktop-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list li a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #111111;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  display: block;
  text-decoration: none;
}
.nav-list li a:hover,
.nav-list li a.active {
  color: var(--primary-600);
  background: var(--primary-900);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid rgba(200,16,46,0.3);
  padding: 2px;
  background: #fff;
}

/* Mobile nav overrides */
.mobile-nav-content {
  text-align: center;
}
.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav-list li a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  color: #111111;
  display: block;
  padding: 10px 24px;
  transition: color var(--transition);
}
.mobile-nav-list li a:hover,
.mobile-nav-list li a.active { color: var(--primary-600); }

/* Why Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.why-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .2s, border-color .2s;
}
.why-card:hover { transform: translateY(-4px); border-color: var(--border-red); }
.why-icon { font-size: 32px; margin-bottom: 16px; }
.why-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* Service cards (new structure) */
.service-card-body { padding: 24px; }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card-body h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.service-card-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom:12px; }
.link-arrow { font-size: 13px; font-weight: 700; color: var(--primary-600); text-transform: uppercase; letter-spacing: .05em; }

/* Stats bar */
.stats-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: var(--shadow-card);
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: var(--primary-600);
  line-height: 1;
}
.stat-label { font-size: 13px; color: var(--text-dim); margin-top: 8px; text-transform: uppercase; letter-spacing: .05em; }

/* CTA Section */
.cta-section {
  background: var(--primary-700);
  color: #fff;
  padding: var(--section-py) 0;
  text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 32px; font-size: 17px; line-height: 1.7; }

/* Section intro */
.section-intro {
  color: var(--text-muted);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
  max-width: 600px;
  margin: 16px auto 0;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

/* text colors */
.text-red { color: var(--primary-600); }
.text-center { text-align: center; }

/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-item { grid-column: span 1 !important; grid-row: span 1 !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 0; }
  .process-step { flex: none; width: 100%; min-height: auto; }
  .testimonial-card { flex: 0 0 85vw; margin-right: 16px; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 20px; }
  .hero h1 { font-size: clamp(48px, 12vw, 80px); }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
  .stat-num { font-size: clamp(28px, 8vw, 44px); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* =============================================
   CRITICAL BUG FIXES
   ============================================= */

/* 1. Mobile nav must NEVER show on desktop */
.mobile-nav {
  display: none !important;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mobile-nav.open {
  display: flex !important;
}

/* 2. Reveal class - content must be visible even without GSAP */
.reveal {
  opacity: 1;
  transform: none;
}

/* 3. Desktop nav always visible on desktop */
@media (min-width: 769px) {
  .desktop-nav { display: flex !important; }
  .hamburger { display: none !important; }
  .mobile-nav { display: none !important; }
  .mobile-nav.open { display: none !important; }
}

/* 4. Hamburger only on mobile */
@media (max-width: 768px) {
  .desktop-nav { display: none !important; }
  .hamburger { display: flex !important; }
}

/* =============================================
   FORCE CONTENT VISIBILITY  FINAL FIX
   Prevents GSAP from hiding anything permanently
   ============================================= */

/* All content must always be visible by default */
.reveal,
.why-card,
.service-card,
.stat-item,
.why-grid > *,
.services-grid > *,
.features-grid > *,
.values-grid > *,
.team-grid > *,
.svc-grid > *,
.projects-grid > *,
.related-grid > * {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Stats bar fix */
.stats-bar {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Fix large empty gaps from sections */
section {
  min-height: unset;
}

/* =============================================
   PROCESS SECTION  Static grid layout
   (replaces the horizontal scroll animation)
   ============================================= */
.process-section {
  background: var(--bg-surface);
  overflow: visible;
}
.process-sticky-wrapper {
  position: static;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  padding: 0 clamp(16px, 4vw, 48px);
  overflow: visible;
}
.process-step {
  flex: none;
  width: auto;
  min-height: auto;
  padding: clamp(32px, 4vw, 48px) 0;
}
.process-step-num {
  font-size: clamp(64px, 10vw, 120px);
  margin-bottom: -10px;
}
.process-progress {
  margin-top: 24px;
}
@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}
