:root {
  --red: #e00000;
  --red-dark: #b90000;
  --black: #111214;
  --charcoal: #1b1d20;
  --gray: #6c7077;
  --line: #e5e7eb;
  --light: #f5f6f7;
  --white: #ffffff;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(16, 18, 20, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 112px 0; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; display: inline-block; width: 38px; height: 3px; background: currentColor; margin: 0 12px 3px 0; }
.eyebrow.light { color: #fff; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: "Barlow Condensed", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: -.025em;
  line-height: .95;
}
h1 { font-size: clamp(4.4rem, 8vw, 7.8rem); margin-bottom: 28px; }
h2 { font-size: clamp(3rem, 5.5vw, 5.4rem); margin-bottom: 28px; }
h1 span, h2 span { color: var(--red); }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: .25s ease;
  text-decoration: none;
}
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(224,0,0,.25); }
.button-secondary { border-color: var(--black); background: #fff; }
.button-secondary:hover { background: var(--black); color: #fff; }
.button-small {
  min-height: auto;
  padding: 8px 12px;
  font-size: .85rem;
  color: var(--red);
  background: transparent;
  border: none;
  font-weight: 700;
  padding: 0;
  display: inline-flex;
  gap: 6px;
}
.button-small:hover { gap: 10px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(17,18,20,.08);
  backdrop-filter: blur(14px);
}
.header-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-family: "Barlow Condensed"; font-size: 1.55rem; letter-spacing: .02em; }
.brand-copy strong span { color: var(--red); }
.brand-copy small { margin-top: 5px; color: var(--gray); font-size: .68rem; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .9rem; font-weight: 700; }
.main-nav a:not(.nav-cta):hover { color: var(--red); }
.nav-cta { padding: 12px 18px; background: var(--black); color: #fff; }
.menu-button { display: none; border: 0; background: none; padding: 8px; }
.menu-button span { display: block; width: 26px; height: 2px; background: var(--black); margin: 5px; }

.hero {
  min-height: 860px;
  padding: 180px 0 100px;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, #fff 58%, #f2f3f4 58%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 75px; align-items: center; position: relative; z-index: 2; }
.hero-text { max-width: 650px; font-size: 1.17rem; color: #4f5359; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; gap: 36px; margin-top: 54px; }
.hero-trust div { display: flex; flex-direction: column; border-left: 3px solid var(--red); padding-left: 13px; }
.hero-trust strong { font-size: .94rem; }
.hero-trust span { color: var(--gray); font-size: .75rem; }

.hero-visual { min-height: 500px; position: relative; }
.dashboard-card {
  position: absolute;
  width: 92%;
  right: -7%;
  top: 46px;
  border-radius: 12px;
  background: #15171a;
  padding: 14px;
  transform: perspective(1100px) rotateY(-7deg) rotateX(3deg);
  box-shadow: var(--shadow);
}
.window-bar { height: 25px; display: flex; gap: 7px; align-items: center; padding-left: 4px; }
.window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #555; }
.dashboard-content { display: grid; grid-template-columns: 70px 1fr; min-height: 375px; background: #f8f8f9; }
.dashboard-content aside { background: #202226; padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.mini-logo { display: grid; place-items: center; width: 34px; height: 34px; background: var(--red); color: #fff; font-weight: 900; }
.dashboard-content aside span { width: 25px; height: 5px; background: #5a5d62; }
.dashboard-content aside span.active { background: var(--red); }
.dashboard-main { padding: 28px; }
.dashboard-main > p { font-weight: 800; }
.dashboard-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.dashboard-row div { padding: 18px; background: white; border: 1px solid var(--line); display: flex; justify-content: space-between; }
.dashboard-row b { font-size: .75rem; }
.dashboard-row strong { color: var(--red); }
.dashboard-chart { height: 145px; display: flex; align-items: end; gap: 13px; padding: 22px; margin: 18px 0; background: #fff; border: 1px solid var(--line); }
.dashboard-chart span { flex: 1; background: linear-gradient(var(--red), #ff5c5c); }
.dashboard-modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dashboard-modules div { background: #eceef0; text-align: center; padding: 12px 5px; font-size: .68rem; font-weight: 700; }
.floating-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 13px; width: 245px; padding: 16px; background: #fff; box-shadow: 0 16px 45px rgba(0,0,0,.12); }
.floating-card-top { top: 0; left: -5%; }
.floating-card-bottom { bottom: 20px; right: -4%; }
.floating-card .icon { display: grid; place-items: center; min-width: 40px; height: 40px; background: var(--red); color: #fff; font-weight: 800; }
.floating-card div { display: flex; flex-direction: column; }
.floating-card strong { font-size: .82rem; }
.floating-card small { font-size: .66rem; color: var(--gray); }
.hero-shape { position: absolute; background: var(--red); z-index: 1; }
.hero-shape-one { width: 480px; height: 120px; right: -130px; bottom: 65px; transform: skewX(-28deg); }
.hero-shape-two { width: 180px; height: 18px; left: 6%; bottom: 0; }

.value-strip { color: #fff; background: var(--black); }
.value-grid { min-height: 150px; display: grid; grid-template-columns: repeat(4,1fr); }
.value-grid article { display: flex; align-items: center; gap: 20px; padding: 30px; border-right: 1px solid #36383c; }
.value-grid article:last-child { border-right: 0; }
.value-grid article > span { font-family: "Barlow Condensed"; font-size: 2.5rem; color: var(--red); }
.value-grid h3 { margin: 0; font-family: "Barlow Condensed"; font-size: 1.5rem; text-transform: uppercase; }
.value-grid p { margin: 2px 0 0; color: #adb0b5; font-size: .8rem; }

.section-heading { max-width: 820px; margin-bottom: 55px; }
.section-heading > p:last-child { max-width: 710px; color: var(--gray); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 40px; }
.service-card {
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: .25s ease;
  min-height: 520px;
}
.service-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(224,0,0,.12); }
.service-image { display: none; }
.service-number { display: none !important; }
.service-icon {
  width: 60px;
  height: 60px;
  background: var(--red);
  color: #fff;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.8rem;
  margin: 20px 0 0 20px;
  padding: 0;
  flex-shrink: 0;
}
.service-card h3 { margin: 16px 20px 0 20px; padding: 0; font-size: 0.95rem; font-weight: 800; flex-shrink: 0; line-height: 1.2; }
.service-card p { margin: 12px 20px 0; padding: 0; color: var(--black); font-size: .9rem; flex: 1; line-height: 1.6; }
.service-card > a { margin: 20px !important; margin-top: auto !important; color: var(--red); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: .2s ease; }
.service-card a:hover { gap: 10px; }
.service-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 30px; background: var(--red); color: #fff; font-weight: 800; font-size: 1.4rem; }
.service-card h3 { margin-bottom: 15px; font-family: "Barlow Condensed"; text-transform: uppercase; font-size: 2rem; }
.service-card a { position: absolute; bottom: 36px; font-weight: 800; font-size: .85rem; }
.service-card a span { color: var(--red); margin-left: 7px; }

.process { background: #f5f5f5; }
.process-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 100px; align-items: center; }
.process-copy > p:not(.eyebrow) { max-width: 620px; color: var(--gray); font-size: 1.05rem; }
.text-link { display: inline-flex; margin-top: 18px; font-weight: 800; border-bottom: 2px solid var(--red); padding-bottom: 6px; }
.text-link span { color: var(--red); margin-left: 10px; }
.process-steps { display: grid; gap: 1px; background: #d9dbde; }
.process-steps article { display: grid; grid-template-columns: 80px 1fr; padding: 28px; background: #fff; transition: .25s; }
.process-steps article:hover { background: var(--black); color: #fff; transform: translateX(-10px); }
.process-steps article > span { font-family: "Barlow Condensed"; font-size: 2.4rem; font-weight: 800; color: var(--red); }
.process-steps h3 { margin: 0 0 4px; text-transform: uppercase; }
.process-steps p { margin: 0; color: var(--gray); font-size: .88rem; }

.about { padding-top: 0; background: #f5f5f5; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; }
.about-panel { min-height: 520px; padding: 70px; color: #fff; background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.about-panel p { color: rgba(255,255,255,.8); }
.about-panel h2 { color: #fff; }
.about-stat { display: flex; align-items: center; gap: 20px; margin-top: 50px; border-top: 1px solid rgba(255,255,255,.25); padding-top: 30px; }
.about-stat strong { font-family: "Barlow Condensed"; font-size: 4.5rem; line-height: 1; }
.about-stat span { max-width: 310px; font-size: .82rem; }
.about-content { display: flex; flex-direction: column; justify-content: center; padding: 70px; background: #fff; }
.about-content h3 { font-family: "Barlow Condensed"; font-size: 2.4rem; text-transform: uppercase; }
.about-content ul { list-style: none; padding: 0; margin: 15px 0 35px; }
.about-content li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.about-content li span { color: var(--red); font-weight: 900; margin-right: 12px; }
blockquote { margin: 0; padding-left: 22px; border-left: 4px solid var(--red); font-size: 1.1rem; font-weight: 700; }

.contact-section { padding: 110px 0; color: #fff; background: var(--black); position: relative; overflow: hidden; }
.contact-section::after { content: ""; position: absolute; width: 500px; height: 150%; top: -25%; right: -260px; background: var(--red); transform: rotate(20deg); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.contact-copy h2 { color: #fff; }
.contact-copy > p { color: #b7bac0; }
.contact-links { display: grid; gap: 14px; margin-top: 42px; }
.contact-links > * { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #34363a; }
.contact-links > * > span { display: grid; place-items: center; width: 42px; height: 42px; background: var(--red); }
.contact-links div div, .contact-links a div { display: flex; flex-direction: column; }
.contact-links small { color: #8e9299; }
.contact-form { padding: 42px; color: var(--black); background: #fff; box-shadow: var(--shadow); }
.contact-form label { display: flex; flex-direction: column; margin-bottom: 16px; font-size: .78rem; font-weight: 800; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
input, select, textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #d8dade;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(224,0,0,.2); border-color: var(--red); }
textarea { resize: vertical; }
.contact-form .button { width: 100%; border: 0; cursor: pointer; }
.form-note { display: block; margin-top: 12px; color: var(--gray); font-size: .68rem; }

footer { padding: 70px 0 25px; color: #d8dadd; background: #090a0b; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 50px; }
.footer-brand .brand-mark-logo { height: 200px; }
.footer-brand .brand-copy strong { color: #fff; }
.footer-grid > div:not(.brand) { display: flex; flex-direction: column; gap: 9px; font-size: .82rem; }
.footer-grid > div > strong { margin-bottom: 8px; color: #fff; text-transform: uppercase; font-size: .78rem; }
.footer-grid a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 20px; border-top: 1px solid #242629; color: #767a80; font-size: .74rem; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: .25s ease;
  cursor: pointer;
}
.team-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(224,0,0,.12); }
.team-image-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #f0f0f0 0%, #e5e5e5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-avatar {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  font-family: "Barlow Condensed";
  font-size: 3.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-header { padding: 20px; }
.team-header h3 { margin: 0 0 8px; font-family: "Barlow Condensed"; font-size: 1.3rem; text-transform: uppercase; }
.team-role { margin: 0 0 6px; padding: 0 20px; color: var(--red); font-weight: 700; font-size: .85rem; }
.team-expertise { margin: 0 0 0 0; padding: 0 20px 20px; color: var(--gray); font-size: .9rem; }

.team-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.team-modal.active { display: flex; }
.team-modal-content {
  background: #fff;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.team-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 0;
  background: #f0f0f0;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  color: var(--black);
  transition: .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.team-modal-close:hover { background: var(--red); color: #fff; }
.team-modal-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
}
.team-modal-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 500px;
  display: none;
}
.team-modal-image img[src]:not([src=""]) {
  display: block;
}
.team-modal-info h2 { margin-top: 0; font-size: 2rem; text-transform: uppercase; }
.team-modal-info .team-role { padding: 0; margin: 8px 0 4px; font-size: 1rem; }
.team-modal-info .team-expertise { padding: 0; margin: 0 0 20px; font-size: 1rem; }
.team-modal-info p { line-height: 1.6; }

.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.partner-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: .25s ease;
  display: flex;
  flex-direction: column;
}
.partner-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(224,0,0,.12); }
.partner-icon { font-size: 2.5rem; margin-bottom: 12px; }
.partner-card h3 { margin: 0 0 12px; font-family: "Barlow Condensed"; font-size: 1.3rem; text-transform: uppercase; }
.partner-description { margin: 0 0 16px; color: var(--gray); font-size: .9rem; flex-grow: 1; }
.partner-card a { color: var(--red); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: .2s ease; }
.partner-card a:hover { gap: 10px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .main-nav { position: absolute; left: 0; right: 0; top: 84px; display: none; flex-direction: column; align-items: stretch; padding: 25px 20px; background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,.1); }
  .main-nav.open { display: flex; }
  .menu-button { display: block; }
  .hero { padding-top: 145px; }
  .hero-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 530px; margin-top: 20px; }
  .dashboard-card { right: 0; width: 95%; }
  .value-grid { grid-template-columns: repeat(2,1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .team-modal-content { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .partner-grid { grid-template-columns: 1fr; }
  .process-grid { gap: 55px; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 650px) {
  .container { width: 100%; padding: 0 14px; }
  .section { padding: 80px 0; }
  h1 { font-size: clamp(3.6rem, 18vw, 5.2rem); }
  h2 { font-size: clamp(2.8rem, 14vw, 4.2rem); }
  .brand-copy small { display: none; }
  .hero { min-height: auto; padding-bottom: 75px; }
  .hero-actions, .hero-trust { flex-direction: column; }
  .hero-trust { gap: 16px; }
  .hero-visual { min-height: 410px; }
  .dashboard-card { width: 108%; right: -10%; transform: none; }
  .dashboard-content { grid-template-columns: 48px 1fr; min-height: 310px; }
  .dashboard-main { padding: 15px; }
  .dashboard-chart { height: 100px; padding: 12px; }
  .floating-card { width: 210px; }
  .floating-card-top { left: 0; }
  .floating-card-bottom { right: 0; bottom: -10px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid article { border-right: 0; border-bottom: 1px solid #36383c; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 390px; padding: 30px; }
  .service-image { display: none; }
  .process-steps article { grid-template-columns: 60px 1fr; padding: 22px; }
  .about-panel, .about-content, .contact-form { padding: 34px 26px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
