:root {
  --red: #E8432D;
  --red-dark: #C7321D;
  --black: #0D0D0D;
  --white: #FFFFFF;
  --grey-light: #F5F4F2;
  --grey-mid: #E8E6E1;
  --grey-text: #6B6860;
  --font-display: 'Segoe UI', 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: 'Segoe UI', 'SF Pro Text', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--white); color: var(--black); line-height: 1.6; overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 4rem;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--grey-mid);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }

.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo img { height: 43px; width: auto; mix-blend-mode: multiply; }
.nav-logo-text { font-weight: 800; font-size: 1.1rem; color: var(--black); letter-spacing: -0.02em; }
.nav-logo-text span { color: var(--red); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--black); text-decoration: none;
  position: relative; padding-bottom: 2px; transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--red); transition: width 0.25s;
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--red); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--red) !important; color: var(--white) !important;
  padding: 0.55rem 1.4rem !important; border-radius: 4px;
  transition: background 0.2s !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-dark) !important; }
.nav-cta::after { display: none !important; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--black); transition: all 0.3s; }

/* ── FOOTER ── */
footer {
  background: var(--black); color: rgba(255,255,255,0.45); padding: 2.5rem 4rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.footer-logo img { height: 30px; filter: brightness(0) invert(1); }
.footer-logo-text { font-weight: 700; font-size: 0.95rem; color: var(--white); }
.footer-logo-text span { color: var(--red); }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-size: 0.75rem; color: rgba(255,255,255,0.35); text-decoration: none; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-linkedin { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 6px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); transition: background 0.2s; }
.footer-linkedin:hover { background: #0077b5; }
.footer-linkedin svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.7); }
.footer-linkedin:hover svg { fill: #fff; }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 8rem 4rem 5rem; position: relative; overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 70% 50%, rgba(232,67,45,0.14) 0%, transparent 60%),
              radial-gradient(ellipse 40% 40% at 15% 80%, rgba(232,67,45,0.07) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 2px; background: var(--red); }
.hero h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); font-weight: 800; line-height: 1.08; color: var(--white); margin-bottom: 1.5rem; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-sub { font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 2.5rem; max-width: 460px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--red); color: var(--white);
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em;
  padding: 0.9rem 2rem; border-radius: 4px; text-decoration: none;
  border: 2px solid var(--red); transition: all 0.2s;
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,67,45,0.35); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--white);
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em;
  padding: 0.9rem 2rem; border-radius: 4px; text-decoration: none;
  border: 2px solid rgba(255,255,255,0.25); transition: all 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.07); }

/* Stats grid */
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.stat-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 1.75rem; position: relative; overflow: hidden; transition: border-color 0.3s, transform 0.3s; }
.stat-card:hover { border-color: rgba(232,67,45,0.45); transform: translateY(-4px); }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(0); transition: transform 0.3s; }
.stat-card:hover::before { transform: scaleX(1); }
.stat-number { font-size: 2.6rem; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 0.5rem; letter-spacing: -0.03em; }
.stat-number span { color: var(--red); }
.stat-label { font-size: 0.72rem; font-weight: 400; color: rgba(255,255,255,0.45); letter-spacing: 0.06em; text-transform: uppercase; }

/* ── SECTIONS ── */
.section { padding: 6rem 4rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.section-eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--red); }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.12; margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.section-lead { font-size: 1.05rem; font-weight: 300; color: var(--grey-text); line-height: 1.75; max-width: 600px; }

/* ── FOR WHOM ── */
.for-whom { background: var(--grey-light); }
.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.problem-card { background: var(--white); border-radius: 12px; padding: 2rem; border: 1px solid var(--grey-mid); transition: all 0.3s; }
.problem-card:hover { border-color: var(--red); box-shadow: 0 12px 40px rgba(0,0,0,0.07); transform: translateY(-4px); }
.problem-icon { width: 48px; height: 48px; background: rgba(232,67,45,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.4rem; }
.problem-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
.problem-card p { font-size: 0.875rem; color: var(--grey-text); line-height: 1.65; }
.solution-tag { display: inline-block; margin-top: 1rem; font-size: 0.75rem; font-weight: 600; color: var(--red); background: rgba(232,67,45,0.08); padding: 0.3rem 0.75rem; border-radius: 20px; }

/* ── SERVICES ── */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.services-grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.service-card { border: 1px solid var(--grey-mid); border-radius: 12px; padding: 2.25rem; position: relative; overflow: hidden; transition: all 0.3s; text-decoration: none; color: inherit; display: block; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--red); transform: scaleX(0); transition: transform 0.3s; }
.service-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.09); transform: translateY(-4px); }
.service-card:hover::after { transform: scaleX(1); }
.service-number { font-size: 3rem; font-weight: 800; color: var(--grey-mid); line-height: 1; margin-bottom: 1.25rem; transition: color 0.3s; }
.service-card:hover .service-number { color: rgba(232,67,45,0.2); }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.875rem; color: var(--grey-text); line-height: 1.65; }
.service-tag { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.25rem; font-size: 0.75rem; font-weight: 700; color: var(--red); letter-spacing: 0.04em; text-transform: uppercase; }

/* ── MODELS ── */
.models-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.model-card { border-radius: 16px; padding: 2.25rem; border: 1px solid var(--grey-mid); transition: all 0.3s; position: relative; }
.model-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.09); transform: translateY(-4px); border-color: var(--red); }
.model-card.featured { background: var(--black); border-color: var(--red); color: var(--white); }
.model-icon { font-size: 2rem; margin-bottom: 1.25rem; }
.model-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; }
.model-card p { font-size: 0.875rem; color: var(--grey-text); line-height: 1.65; }
.model-card.featured p { color: rgba(255,255,255,0.6); }
.model-tag { display: inline-block; margin-top: 1rem; font-size: 0.72rem; font-weight: 700; color: var(--red); background: rgba(232,67,45,0.08); padding: 0.3rem 0.75rem; border-radius: 20px; letter-spacing: 0.03em; text-transform: uppercase; }
.model-card.featured .model-tag { background: rgba(232,67,45,0.2); }

/* ── GRANT ── */
.grant-section { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.grant-section::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(232,67,45,0.12) 0%, transparent 70%); }
.grant-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: center; }
.grant-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; margin-bottom: 2rem; }
.grant-badge { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); font-size: 0.8rem; font-weight: 600; padding: 0.4rem 0.9rem; border-radius: 20px; letter-spacing: 0.03em; }
.grant-highlight { background: rgba(232,67,45,0.12); border: 1px solid rgba(232,67,45,0.25); border-radius: 12px; padding: 2rem; }
.grant-highlight h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.grant-highlight p { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 1.25rem; }
.grant-steps { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.grant-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.step-num { width: 28px; height: 28px; background: var(--red); color: var(--white); font-weight: 700; font-size: 0.8rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.step-text { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.5; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-wrap img { width: 100%; max-width: 266px; border-radius: 16px; display: block; }
.about-image-wrap::before { content: ''; position: absolute; top: -8px; left: -8px; right: 8px; bottom: 8px; border: 2px solid var(--red); border-radius: 16px; z-index: -1; }
.about-label { position: absolute; bottom: -1rem; right: -1rem; background: var(--red); color: var(--white); font-weight: 700; font-size: 0.78rem; padding: 0.7rem 1.2rem; border-radius: 8px; letter-spacing: 0.04em; text-transform: uppercase; }
.about-text p { font-size: 0.975rem; color: var(--grey-text); line-height: 1.8; margin-bottom: 1.25rem; }
.about-text p strong { color: var(--black); font-weight: 600; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--red); padding: 5rem 4rem; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 80% at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 60%); }
.cta-banner h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--white); margin-bottom: 1rem; position: relative; letter-spacing: -0.02em; }
.cta-banner p { font-size: 1.05rem; color: rgba(255,255,255,0.8); margin-bottom: 2.25rem; position: relative; }
.btn-white { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--white); color: var(--red); font-weight: 700; font-size: 0.95rem; padding: 0.95rem 2.25rem; border-radius: 4px; text-decoration: none; border: 2px solid var(--white); transition: all 0.2s; position: relative; }
.btn-white:hover { background: transparent; color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ── PAGE HERO ── */
.page-hero { padding: 9rem 4rem 5rem; background: var(--black); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(232,67,45,0.1) 0%, transparent 60%); }
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; color: var(--white); margin-bottom: 1.25rem; line-height: 1.08; letter-spacing: -0.03em; }
.page-hero h1 em { font-style: normal; color: var(--red); }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.55); max-width: 680px; line-height: 1.7; font-weight: 300; }

/* ── TEAM ── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.team-card { background: var(--white); border: 1px solid var(--grey-mid); border-radius: 16px; overflow: hidden; transition: all 0.3s; }
.team-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.1); transform: translateY(-4px); }
.team-photo { width: 100%; height: 260px; object-fit: cover; object-position: top; display: block; }
.team-photo-placeholder { width: 100%; height: 260px; background: var(--grey-light); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--grey-text); font-weight: 700; }
.team-info { padding: 1.5rem; }
.team-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
.team-role { font-size: 0.78rem; color: var(--red); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.75rem; }
.team-bio { font-size: 0.875rem; color: var(--grey-text); line-height: 1.65; }
.team-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.team-tag { font-size: 0.72rem; background: var(--grey-light); color: var(--grey-text); padding: 0.25rem 0.6rem; border-radius: 20px; font-weight: 600; letter-spacing: 0.03em; }

/* ── VALUES ── */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.value-item { padding: 2rem; border-top: 3px solid var(--grey-mid); transition: border-color 0.3s; }
.value-item:hover { border-color: var(--red); }
.value-item h3 { font-weight: 700; font-size: 1rem; margin-bottom: 0.75rem; margin-top: 0.5rem; }
.value-item p { font-size: 0.875rem; color: var(--grey-text); line-height: 1.65; }
.value-icon { font-size: 1.5rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.fade-up-1 { animation-delay: 0.08s; }
.fade-up-2 { animation-delay: 0.18s; }
.fade-up-3 { animation-delay: 0.28s; }
.fade-up-4 { animation-delay: 0.38s; }
.fade-up-5 { animation-delay: 0.5s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 1rem 2rem; }
  .nav-links { gap: 1.25rem; }
  .section { padding: 4.5rem 2rem; }
  .hero { padding: 7rem 2rem 4rem; }
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .problems-grid { grid-template-columns: 1fr 1fr; }
  .services-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .models-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .grant-inner { grid-template-columns: 1fr; gap: 3rem; }
  .cta-banner { padding: 4rem 2rem; }
  footer { padding: 2rem 2rem; }
  .page-hero { padding: 8rem 2rem 4rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 62px; left: 0; right: 0; background: var(--white); padding: 2rem; border-bottom: 1px solid var(--grey-mid); gap: 1.25rem; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid-6 { grid-template-columns: 1fr; }
  .problems-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .models-grid { grid-template-columns: 1fr; }
  .model-card { padding: 1.5rem; }
  .model-tag { display: inline-block; margin-top: 0.75rem; }
  .footer-links { display: none; }
  .service-detail-inner { grid-template-columns: 1fr !important; gap: 2rem; }
  .service-detail.reverse .service-detail-inner > *:first-child { order: 0 !important; }
  .service-detail.reverse .service-detail-inner > *:last-child { order: 0 !important; }
  .service-highlight-box { position: static; }
  .service-big-number { font-size: 5rem; }
}

/* ── SCROLL ANIMATIONS ── */
.will-animate { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.will-animate.is-visible { opacity: 1; transform: translateY(0); }
@media print { .will-animate { opacity: 1 !important; transform: none !important; } }

/* Logo text fix */
.logo-sales { font-style: normal; font-weight: 800; color: var(--black); }
.logo-experts { font-style: normal; font-weight: 800; color: var(--red); }
.nav-logo-text .logo-sales { color: var(--black); }
.nav-logo-text .logo-experts { color: var(--red); }
.footer-logo-text .logo-sales { color: var(--white); }
.footer-logo-text .logo-experts { color: var(--red); }

/* Dark service sections */
.dark-section h2 { color: var(--white); }
.dark-section p { color: rgba(255,255,255,0.6); }
.dark-section .includes-list li { color: rgba(255,255,255,0.8); }
.dark-section .service-includes h4 { color: rgba(255,255,255,0.4); }
.dark-section .service-big-number { color: rgba(255,255,255,0.08); }
