/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: #1a1a1a;
  color: #f7f7f7;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  letter-spacing: -0.02em;
}

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  --primary: #e85d3a;
  --primary-foreground: #1a1a1a;
  --background: #1a1a1a;
  --foreground: #f7f7f7;
  --card: #333;
  --card-foreground: #f7f7f7;
  --muted: #3d3d3d;
  --muted-foreground: #b3b3b3;
  --border: #4d4d4d;
  --gradient-ember: linear-gradient(135deg, #e85d3a, #d44d2a);
  --gradient-charcoal: linear-gradient(180deg, #333, #212121);
  --gradient-hero: linear-gradient(180deg, rgba(26,26,26,0.3), rgba(26,26,26,0.85));
  --shadow-ember: 0 20px 60px -20px rgba(232,93,58,0.5);
  --shadow-elevated: 0 30px 80px -30px rgba(0,0,0,0.8);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 0.5rem;
}

/* ===== UTILITY ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

.font-display { font-family: 'Space Grotesk', system-ui, sans-serif; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-balance { text-wrap: balance; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-tight { letter-spacing: -0.02em; }
.tracking-tighter { letter-spacing: -0.04em; }
.uppercase { text-transform: uppercase; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }
.shrink-0 { flex-shrink: 0; }
.leading-relaxed { line-height: 1.625; }

.bg-gradient-ember { background: var(--gradient-ember); }
.bg-gradient-charcoal { background: var(--gradient-charcoal); }

.shadow-ember { box-shadow: var(--shadow-ember); }
.shadow-elevated { box-shadow: var(--shadow-elevated); }
.transition-smooth { transition: var(--transition-smooth); }
.border-border { border-color: var(--border); }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 4rem; transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(12px);
  background: rgba(26,26,26,0.35);
  border-bottom: 1px solid rgba(77,77,77,0.3);
}
.site-header.scrolled {
  backdrop-filter: blur(16px);
  background: rgba(26,26,26,0.7);
  border-bottom: 1px solid rgba(77,77,77,0.6);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 1024px) { .header-inner { padding: 0 2.5rem; } }

.logo { display: flex; align-items: center; gap: 0.625rem; }
.logo-icon {
  width: 2.25rem; height: 2.25rem; border-radius: 0.375rem;
  background: var(--gradient-ember);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-ember);
}
.logo-icon svg { width: 1rem; height: 1rem; color: var(--primary-foreground); }
.logo-text { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; }

.nav-desktop { display: none; }
@media (min-width: 768px) { .nav-desktop { display: flex; align-items: center; gap: 0.25rem; } }
.nav-desktop a {
  padding: 0.5rem 1rem; border-radius: var(--radius);
  font-size: 0.875rem; font-weight: 500; transition: var(--transition-smooth);
  color: var(--muted-foreground);
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--foreground); }
.nav-desktop a.active { color: var(--primary); }

.header-actions { display: none; }
@media (min-width: 768px) { .header-actions { display: flex; align-items: center; gap: 0.75rem; } }
.header-actions a { font-size: 0.875rem; }
.track-link { color: var(--muted-foreground); transition: var(--transition-smooth); }
.track-link:hover { color: var(--foreground); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.875rem; transition: var(--transition-smooth);
  cursor: pointer; border: none; font-family: inherit;
}
.btn-primary {
  padding: 0.6rem 1.25rem; border-radius: var(--radius);
  background: var(--gradient-ember); color: var(--primary-foreground);
  box-shadow: var(--shadow-ember);
}
.btn-primary:hover { transform: scale(1.02); }
.btn-outline {
  padding: 0.6rem 1.25rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: rgba(51,51,51,0.4);
  backdrop-filter: blur(4px); color: var(--foreground);
}
.btn-outline:hover { background: rgba(51,51,51,0.7); }
.btn-lg {
  padding: 0.875rem 1.75rem; border-radius: var(--radius);
}
.btn-block { width: 100%; }

.menu-toggle { display: block; padding: 0.5rem; color: var(--foreground); background: none; border: none; cursor: pointer; }
@media (min-width: 768px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 1.25rem; height: 1.25rem; }

.mobile-nav {
  display: none; border-top: 1px solid rgba(77,77,77,0.6);
  background: rgba(26,26,26,0.95);
}
.mobile-nav.open { display: block; }
.mobile-nav-inner { padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-nav a { padding: 0.5rem 0; font-size: 0.875rem; font-weight: 500; color: var(--foreground); }
.mobile-nav .btn { margin-top: 0.5rem; text-align: center; }
.mobile-accordion-trigger {
  display:flex; align-items:center; justify-content:space-between; width:100%;
  padding:0.5rem 0; font-size:0.875rem; font-weight:500; color:var(--foreground);
  background:none; border:none; cursor:pointer;
}
.mobile-accordion-trigger svg { width:1rem; height:1rem; transition:transform 0.3s ease; }
.mobile-accordion-trigger.open svg { transform:rotate(180deg); }
.mobile-accordion-content {
  max-height:0; overflow:hidden; transition:max-height 0.3s ease;
  display:flex; flex-direction:column; gap:0.25rem; padding-left:1rem;
}
.mobile-accordion-content a { font-size:0.8125rem; opacity:0.85; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 95vh; display: flex; align-items: center; overflow: hidden;
  margin-top: -4rem;
}
.hero .slideshow-container {
  top: 0; height: 100%;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: var(--gradient-hero);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px; opacity: 0.4;
}
.hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 8rem 1.5rem 0; width: 100%; }
@media (min-width: 1024px) { .hero-content { padding: 8rem 2.5rem 0; } }
.hero-text { max-width: 48rem; opacity: 1; visibility: visible; transition: opacity 0.6s ease, transform 0.6s ease; transform: translateY(0); }
.hero-text.hidden-slide { opacity: 0; visibility: hidden; position: absolute; transform: translateY(24px); pointer-events: none; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.75rem; border-radius: 9999px;
  background: rgba(232,93,58,0.1); border: 1px solid rgba(232,93,58,0.3);
  color: var(--primary); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-badge-dot {
  width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}
.hero-title {
  margin-top: 1.5rem; font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem; line-height: 0.95; font-weight: 700; letter-spacing: -0.04em;
}
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 5.5rem; } }
.hero-desc {
  margin-top: 1.75rem; font-size: 1.125rem; color: rgba(247,247,247,0.8);
  max-width: 36rem; line-height: 1.625;
}
@media (min-width: 768px) { .hero-desc { font-size: 1.25rem; } }
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* Tracking card */
.track-card {
  margin-top: 4rem; max-width: 32rem;
  background: rgba(51,51,51,0.7); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: 1rem;
  padding: 1.5rem; box-shadow: var(--shadow-elevated);
  animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.2s;
}
.track-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.track-header svg { width: 1rem; height: 1rem; color: var(--primary); }
.track-header span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); }
.track-form { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .track-form { flex-direction: row; } }
.track-input-wrap {
  flex: 1; display: flex; align-items: center; gap: 0.75rem;
  background: rgba(26,26,26,0.6); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 1rem;
}
.track-input-wrap svg { width: 1rem; height: 1rem; color: var(--muted-foreground); }
.track-input {
  flex: 1; padding: 0.75rem 0; background: transparent; border: none;
  outline: none; font-size: 0.875rem; color: var(--foreground); font-family: inherit;
}
.track-input::placeholder { color: var(--muted-foreground); }

/* Track result */
.track-result {
  margin-top: 1rem; padding: 1rem; border-radius: var(--radius);
  background: rgba(232,93,58,0.1); border: 1px solid rgba(232,93,58,0.3);
}

/* ===== SLIDESHOW ===== */
.slideshow-container {
  position: absolute; inset: 0; overflow: hidden;
}
.slideshow-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease-in-out; z-index: 0;
}
.slideshow-slide.active { opacity: 1; z-index: 1; }
.slideshow-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.slideshow-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0.3) 0%, rgba(26,26,26,0.85) 100%);
}
.hero .slideshow-overlay {
  top: 4rem; height: calc(100% - 4rem);
}
.slideshow-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px; opacity: 0.4;
}
.slideshow-dots {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.625rem; z-index: 3;
}
.slideshow-dot {
  width: 0.625rem; height: 0.625rem; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none; cursor: pointer;
  transition: all 0.3s ease; padding: 0;
}
.slideshow-dot.active { background: var(--primary); transform: scale(1.3); }
.slideshow-dot:hover { background: rgba(255,255,255,0.6); }

.slideshow-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  background: rgba(0,0,0,0.4); border: none; cursor: pointer;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: all 0.3s ease;
}
.slideshow-arrow:hover { background: rgba(232,93,58,0.7); }
.slideshow-arrow.prev { left: 1.5rem; }
.slideshow-arrow.next { right: 1.5rem; }
.slideshow-arrow svg { width: 1.25rem; height: 1.25rem; }

/* ===== DROPDOWN NAV ===== */
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-trigger {
  display: inline-flex; align-items: center; gap: 0.25rem;
}
.dropdown-chevron { width: 0.875rem; height: 0.875rem; transition: transform 0.3s ease; }
.nav-dropdown:hover .dropdown-chevron { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; margin-top: 0.25rem;
  min-width: 200px; background: #2a2a2a; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.5rem; opacity: 0;
  visibility: hidden; transform: translateY(8px); transition: all 0.25s ease;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5); z-index: 100;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem; border-radius: 0.25rem;
  color: var(--muted-foreground) !important; white-space: nowrap;
}
.dropdown-menu a:hover { background: rgba(232,93,58,0.15); color: var(--primary) !important; }
.dropdown-icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.dropdown-divider { height: 1px; background: var(--border); margin: 0.25rem 0; }

/* ===== MARQUEE ===== */
.marquee-section {
  border-top: 1px solid rgba(77,77,77,0.6);
  border-bottom: 1px solid rgba(77,77,77,0.6);
  background: rgba(51,51,51,0.3);
  padding: 1.5rem 0; overflow: hidden;
}
.marquee-track {
  display: flex; white-space: nowrap; gap: 4rem;
  animation: marquee 40s linear infinite;
  color: var(--muted-foreground); font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem; letter-spacing: 0.05em;
}

/* ===== SECTIONS ===== */
.section { padding: 6rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.section-dark { background: var(--gradient-charcoal); }

.section-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--primary);
}
.section-title {
  margin-top: 0.75rem; font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem; font-weight: 700; letter-spacing: -0.02em;
}
@media (min-width: 768px) { .section-title { font-size: 3rem; } }
.section-desc {
  margin-top: 1.25rem; color: var(--muted-foreground); line-height: 1.625;
}

/* Stats grid */
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(77,77,77,0.6); border-radius: 1rem; overflow: hidden;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item {
  background: var(--background); padding: 2rem 2.5rem;
  border-right: 1px solid rgba(77,77,77,0.6);
  border-bottom: 1px solid rgba(77,77,77,0.6);
}
@media (min-width: 768px) { .stat-item { border-bottom: none; } }
.stat-item:nth-child(2n) { border-right: none; }
@media (min-width: 768px) { .stat-item:nth-child(4n) { border-right: none; } }
.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem; font-weight: 700; color: var(--primary); letter-spacing: -0.02em;
}
@media (min-width: 768px) { .stat-value { font-size: 3rem; } }
.stat-label { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* Section header with link */
.section-header {
  display: flex; flex-direction: column; gap: 1.5rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 768px) {
  .section-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.section-header-content { max-width: 36rem; }
.section-link {
  font-size: 0.875rem; color: var(--primary); display: inline-flex; align-items: center; gap: 0.5rem;
}
.section-link:hover { text-decoration: underline; }
.section-link svg { width: 1rem; height: 1rem; }

/* Services grid */
.services-grid {
  display: grid; gap: 1.5rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  position: relative; border-radius: 1rem; overflow: hidden;
  border: 1px solid var(--border); background: var(--card);
  transition: var(--transition-smooth);
}
.service-card:hover { border-color: rgba(232,93,58,0.5); }
.service-card-img-wrap {
  position: relative; height: 13rem; overflow: hidden;
}
.service-card-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-card-img { transform: scale(1.1); }
.service-card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--card), rgba(51,51,51,0.4), transparent);
}
.service-card-icon {
  position: absolute; top: 1rem; left: 1rem;
  width: 2.5rem; height: 2.5rem; border-radius: 0.375rem;
  background: var(--gradient-ember); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-ember);
}
.service-card-icon svg { width: 1.25rem; height: 1.25rem; color: var(--primary-foreground); }
.service-card-body { padding: 1.5rem; }
.service-card-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 600; }
.service-card-desc { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.625; }
.service-card-link {
  margin-top: 1.25rem; display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.875rem; color: var(--primary); font-weight: 500;
  transition: var(--transition-smooth);
}
.service-card:hover .service-card-link { gap: 0.625rem; }
.service-card-link svg { width: 0.875rem; height: 0.875rem; }

/* Features layout */
.features-layout {
  display: grid; gap: 4rem; align-items: center;
}
@media (min-width: 1024px) { .features-layout { grid-template-columns: 1fr 1fr; } }

.bullet-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.bullet-item {
  display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem;
}
.bullet-item svg { width: 1.25rem; height: 1.25rem; color: var(--primary); flex-shrink: 0; margin-top: 0.125rem; }
.bullet-item span { color: rgba(247,247,247,0.9); }

.features-grid {
  display: grid; gap: 1.25rem;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
.feature-card {
  padding: 1.5rem; border-radius: 1rem; border: 1px solid var(--border);
  background: var(--card); transition: var(--transition-smooth);
}
.feature-card:hover { border-color: rgba(232,93,58,0.4); }
.feature-card-icon {
  width: 2.75rem; height: 2.75rem; border-radius: 0.375rem;
  background: rgba(232,93,58,0.15); border: 1px solid rgba(232,93,58,0.3);
  display: flex; align-items: center; justify-content: center;
}
.feature-card-icon svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.feature-card-title { margin-top: 1.25rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.125rem; font-weight: 600; }
.feature-card-desc { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.625; }

.offset-y { margin-top: 0; }
@media (min-width: 640px) { .offset-y:nth-child(even) { margin-top: 2rem; } }

/* ===== CTA ===== */
.cta-card {
  position: relative; border-radius: 1.5rem; overflow: hidden;
  border: 1px solid rgba(232,93,58,0.3);
  background: var(--card); padding: 2.5rem 2.5rem;
  box-shadow: var(--shadow-elevated);
}
@media (min-width: 768px) { .cta-card { padding: 4rem; } }
.cta-bg-glow {
  position: absolute; inset: 0; background: var(--gradient-ember); opacity: 0.1;
}
.cta-glow-circle {
  position: absolute; top: -8rem; right: -8rem;
  width: 24rem; height: 24rem; border-radius: 50%;
  background: rgba(232,93,58,0.3); filter: blur(64px);
}
.cta-inner {
  position: relative; display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 768px) { .cta-inner { grid-template-columns: 1.3fr 1fr; } }
.cta-icon { width: 2.5rem; height: 2.5rem; color: var(--primary); }
.cta-title {
  margin-top: 1.25rem; font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem; font-weight: 700; letter-spacing: -0.02em;
}
@media (min-width: 768px) { .cta-title { font-size: 3rem; } }
.cta-desc { margin-top: 1rem; color: var(--muted-foreground); max-width: 28rem; }

.quote-form { display: flex; flex-direction: column; gap: 0.75rem; }
.form-input {
  width: 100%; padding: 0.75rem 1rem; border-radius: var(--radius);
  background: var(--background); border: 1px solid var(--border);
  outline: none; font-size: 0.875rem; color: var(--foreground);
  font-family: inherit; transition: var(--transition-smooth);
}
.form-input:focus { border-color: var(--primary); }
.form-input::placeholder { color: var(--muted-foreground); }
textarea.form-input { resize: none; }

/* ===== PAGE HEADERS ===== */
.page-header {
  position: relative; padding: 8rem 0 6rem; overflow: hidden;
}
@media (min-width: 768px) { .page-header { padding: 10rem 0 6rem; } }
.page-header-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3;
}
.page-header-overlay { position: absolute; inset: 0; background: var(--gradient-hero); }

/* ===== ABOUT VALUES ===== */
.values-grid {
  display: grid; gap: 1.25rem; margin-top: 3.5rem;
}
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card {
  padding: 1.75rem; border-radius: 1rem; border: 1px solid var(--border);
  background: var(--card); transition: var(--transition-smooth);
}
.value-card:hover { border-color: rgba(232,93,58,0.4); }
.value-card-icon {
  width: 2.75rem; height: 2.75rem; border-radius: 0.375rem;
  background: rgba(232,93,58,0.15); border: 1px solid rgba(232,93,58,0.3);
  display: flex; align-items: center; justify-content: center;
}
.value-card-icon svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.value-card-title { margin-top: 1.25rem; font-family: 'Space Grotesk', sans-serif; font-size: 1.125rem; font-weight: 600; }
.value-card-desc { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.625; }

/* Story layout */
.story-layout {
  display: grid; gap: 4rem;
}
@media (min-width: 1024px) { .story-layout { grid-template-columns: 1fr 1fr; } }
.story-text { display: flex; flex-direction: column; gap: 1.25rem; color: var(--muted-foreground); line-height: 1.625; }

/* ===== SERVICE DETAIL ===== */
.service-detail {
  display: grid; gap: 2.5rem; align-items: center; margin-bottom: 4rem;
}
@media (min-width: 1024px) { .service-detail { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.service-detail:last-child { margin-bottom: 0; }
.service-detail-reverse.lg-only {}
@media (min-width: 1024px) { .service-detail-reverse .service-detail-img { order: 2; } }

.service-detail-img .img-wrap {
  position: relative; border-radius: 1rem; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-elevated);
}
.service-detail-img img {
  width: 100%; height: 420px; object-fit: cover;
}
.service-detail-img .img-icon {
  position: absolute; top: 1.25rem; left: 1.25rem;
  width: 3rem; height: 3rem; border-radius: 0.375rem;
  background: var(--gradient-ember); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-ember);
}
.service-detail-img .img-icon svg { width: 1.5rem; height: 1.5rem; color: var(--primary-foreground); }

.service-info .service-number {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--primary);
}
.service-info .service-name {
  margin-top: 0.75rem; font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem; font-weight: 700; letter-spacing: -0.02em;
}
@media (min-width: 768px) { .service-info .service-name { font-size: 3rem; } }
.service-info .service-desc-text { margin-top: 1.25rem; color: var(--muted-foreground); line-height: 1.625; }

.service-points {
  margin-top: 1.75rem; display: grid; gap: 0.75rem;
}
@media (min-width: 640px) { .service-points { grid-template-columns: repeat(2, 1fr); } }
.service-point {
  display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem;
}
.service-point svg { width: 1rem; height: 1rem; color: var(--primary); flex-shrink: 0; margin-top: 0.125rem; }
.service-point span { color: rgba(247,247,247,0.9); }

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid rgba(77,77,77,0.6);
  background: var(--gradient-charcoal);
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 4rem 1.5rem; }
@media (min-width: 1024px) { .footer-inner { padding: 4rem 2.5rem; } }
.footer-grid {
  display: grid; gap: 2.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; } }
.footer-brand {
  max-width: 24rem;
}
.footer-brand-text { margin-top: 1.25rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.625; }

.footer-heading {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.875rem; font-weight: 600;
  margin-bottom: 1rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted-foreground);
}
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; }
.footer-links a { color: rgba(247,247,247,0.8); transition: var(--transition-smooth); }
.footer-links a:hover { color: var(--primary); }

.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; }
.footer-contact-item {
  display: flex; align-items: center; gap: 0.625rem; color: rgba(247,247,247,0.8);
}
.footer-contact-item svg { width: 1rem; height: 1rem; color: var(--primary); }

.footer-bottom {
  margin-top: 3.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(77,77,77,0.6);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p { font-size: 0.75rem; color: var(--muted-foreground); }

/* Footer CTA */
.footer-cta {
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(232,93,58,0.12), rgba(232,93,58,0.04));
  border-bottom: 1px solid rgba(77,77,77,0.6);
}

/* Certification badges */
.cert-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.25rem 0.625rem; border-radius: 0.25rem;
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.05em;
  background: rgba(51,51,51,0.8); border: 1px solid var(--border);
  color: var(--muted-foreground); text-transform: uppercase;
}

/* Social links */
.social-link {
  width: 2.25rem; height: 2.25rem; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(51,51,51,0.8); border: 1px solid var(--border);
  color: var(--muted-foreground); transition: var(--transition-smooth);
}
.social-link:hover { background: rgba(232,93,58,0.15); border-color: rgba(232,93,58,0.4); color: var(--primary); }
.social-link svg { width: 1rem; height: 1rem; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 40;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(51,51,51,0.8); border: 1px solid var(--border);
  color: var(--foreground); cursor: pointer; transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
}
.back-to-top:hover { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.back-to-top svg { width: 1.125rem; height: 1.125rem; }

/* Chatbot injected by JS has its own inline styles, no static CSS needed */

/* ===== ANIMATIONS ===== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== SUCCESS MESSAGE ===== */
.success-msg {
  padding: 1rem; border-radius: var(--radius);
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3);
  color: #22c55e; font-size: 0.875rem; text-align: center;
}

/* ===== 404 ===== */
.not-found {
  display: flex; min-height: 100vh; align-items: center; justify-content: center;
  background: var(--background); padding: 0 1rem;
}
.not-found-inner { max-width: 28rem; text-align: center; }
.not-found-code { font-size: 4.5rem; font-weight: 700; color: var(--foreground); }
.not-found-title { margin-top: 1rem; font-size: 1.25rem; font-weight: 600; color: var(--foreground); }
.not-found-desc { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.not-found .btn { margin-top: 1.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .hero-title { font-size: 2.5rem; }
  .hero-content { padding: 4.5rem 1.25rem 0; }
  .hero { min-height: 92vh; }
  .section-title { font-size: 2rem; }
  .stat-value { font-size: 2rem; }
  .cta-title { font-size: 1.75rem; }
  .service-detail { gap: 1.5rem; }
  .service-detail-img img { height: 240px; }
  .service-info .service-name { font-size: 1.75rem; }
  .track-card { margin-top: 2.5rem; padding: 1.25rem; }
  .track-form { flex-direction: column; }
  .track-form .btn { width: 100%; }
  .slideshow-arrow { display: none; }
  .slideshow-dots { bottom: 1rem; gap: 0.5rem; }
  .footer-grid { gap: 2rem; }
  .footer-cta { padding: 2rem 0; }
  .footer-cta .container { flex-direction: column; text-align: center; }
  .footer-cta .btn-lg { width: 100%; }
  .hero-text { max-width: 100%; }
  .hero-desc { max-width: 100%; }
}
