@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  --brand: #e31e24;
  --brand-deep: #c4181e;
  --brand-soft: #fff0f0;
  --brand-mist: #ffe3e3;
  --ink: #1c2430;
  --graphite: #3a4552;
  --muted: #66707c;
  --line: #e6ebf0;
  --surface: #ffffff;
  --bg: #f7f9fb;
  --bg-soft: #eef3f7;
  --sky-wash: #e8f4f8;
  --shadow: 0 18px 48px rgba(28, 36, 48, 0.08);
  --shadow-sm: 0 8px 24px rgba(28, 36, 48, 0.06);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(227, 30, 36, 0.06), transparent 55%),
    radial-gradient(900px 420px at 95% 5%, rgba(142, 201, 218, 0.18), transparent 50%),
    var(--bg);
  font-family: "Source Sans 3", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
.brand-word {
  font-family: Outfit, "Source Sans 3", sans-serif;
  letter-spacing: -0.02em;
}

.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;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  min-height: var(--header-h);
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: background 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  justify-self: start;
  width: fit-content;
  align-items: center;
}

.brand-logo {
  display: block;
  width: auto;
  height: 60px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 6px;
}

.site-nav a {
  position: relative;
  padding: 10px 16px;
  color: var(--ink);
  font-family: Outfit, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 0;
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--brand);
  background: transparent;
}

.site-nav a.is-active {
  color: var(--brand);
  background: transparent;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  transition: opacity 180ms ease;
}

.header-contact:hover {
  opacity: 0.85;
}

.header-contact.is-active .header-contact-label,
.header-contact.is-active strong {
  color: var(--brand);
}

.header-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--bg-soft);
  border-radius: 50%;
  flex-shrink: 0;
}

.header-contact-icon svg {
  width: 18px;
  height: 18px;
}

.header-contact-text {
  display: grid;
  gap: 1px;
}

.header-contact-label {
  color: var(--brand-deep);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.header-contact strong {
  color: var(--ink);
  font-family: Outfit, sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-mobile-contact {
  display: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  justify-self: end;
  grid-column: 3;
  grid-row: 1;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: Outfit, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 200ms var(--ease), background 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--surface);
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(227, 30, 36, 0.28);
}

.button-primary:hover {
  background: var(--brand-deep);
}

.button-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.button-secondary:hover {
  border-color: rgba(227, 30, 36, 0.35);
  color: var(--brand);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  padding: calc(var(--header-h) + 48px) 0 72px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  
  background:linear-gradient(105deg, rgb(247 249 251 / 0%) 0%, rgba(247, 249, 251, 0.88) 42%, rgb(247 249 251 / 0%) 68%, rgb(247 249 251 / 2%) 100%), linear-gradient(180deg, rgb(255 255 255 / 12%), rgb(247 249 251 / 11%));
   
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  max-width: 1020px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  width: fit-content;
  color: black;
  background: var(--brand-soft);
  border: 1px solid var(--brand-mist);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.18);
  animation: pulse 1.8s ease infinite;
}

@keyframes pulse {
  50% {
    transform: scale(0.85);
    opacity: 0.7;
  }
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1.02;
  font-weight: 800;
}

.hero h1 .accent {
  color: var(--brand);
}

.hero-copy {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(28, 36, 48, 0.08);
}

.hero-trust strong {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}

.hero-trust span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Proof / stats */
.proof-band {
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.proof-item {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--bg), var(--surface));
  border: 1px solid var(--line);
  transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms ease;
}

.proof-item:hover {
  transform: translateY(-3px);
  border-color: rgba(227, 30, 36, 0.28);
  box-shadow: var(--shadow-sm);
}

.proof-item strong {
  color: var(--brand);
  font-family: Outfit, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--surface), var(--bg));
}

.section-soft {
  background:
    radial-gradient(700px 280px at 80% 0%, rgba(227, 30, 36, 0.05), transparent 60%),
    var(--bg-soft);
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-heading.center,
.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.page-hero h1,
.cta-panel h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  font-weight: 800;
}

.section-heading p,
.lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--header-h) + 56px) 0 56px;
  background:
    radial-gradient(800px 320px at 0% 0%, rgba(227, 30, 36, 0.08), transparent 55%),
    radial-gradient(700px 280px at 100% 20%, rgba(142, 201, 218, 0.2), transparent 50%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-hero .breadcrumb a:hover {
  color: var(--brand);
}

.page-hero p {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Cards & grids */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .split-media {
  order: -1;
}

.split-copy p {
  color: var(--muted);
  margin: 14px 0 0;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chip {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--graphite);
  font-size: 0.88rem;
  font-weight: 700;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.chip:hover {
  border-color: rgba(227, 30, 36, 0.35);
  color: var(--brand);
  transform: translateY(-1px);
}

.media-frame {
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.media-frame:hover img {
  transform: scale(1.04);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 240ms var(--ease), box-shadow 240ms ease, border-color 240ms ease;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #ff7a7e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 30, 36, 0.22);
  box-shadow: var(--shadow);
}

.card:hover::after {
  transform: scaleX(1);
}

.card-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand);
  font-family: Outfit, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.3;
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mission-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.mission-card h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.mission-card p,
.mission-card li {
  color: var(--muted);
}

.mission-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.industry-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--graphite);
  transition: transform 200ms var(--ease), border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

.industry-tile:hover {
  transform: translateY(-3px);
  color: var(--brand);
  border-color: rgba(227, 30, 36, 0.3);
  box-shadow: var(--shadow-sm);
}

.industry-tile .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
  box-shadow: 0 0 0 5px var(--brand-soft);
}

.note-banner {
  margin-top: 36px;
  padding: 18px 22px;
  text-align: center;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border: 1px solid var(--brand-mist);
  border-radius: var(--radius);
  font-weight: 700;
}

/* CTA panel */
.cta-panel {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 24px;
  align-items: center;
  padding: 36px 40px;
  background:
    linear-gradient(120deg, #fff 0%, var(--brand-soft) 100%);
  border: 1px solid var(--brand-mist);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-sm);
}

.cta-panel p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.contact-card,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-card {
  padding: 28px;
}

.contact-card address {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  font-style: normal;
  color: var(--muted);
}

.contact-card a {
  color: var(--ink);
  font-weight: 600;
  transition: color 160ms ease;
}

.contact-card a:hover {
  color: var(--brand);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--graphite);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: var(--surface);
  border-color: rgba(227, 30, 36, 0.45);
  box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.1);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 700;
}

/* Footer */
.site-footer {
  padding: 48px 0 28px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.footer-brand img {
  height: 56px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand p,
.footer-col p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.5;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-family: Outfit, sans-serif;
  font-size: 0.95rem;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  transition: color 160ms ease;
}

.footer-col a:hover {
  color: var(--brand);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

/* Feature list */
.feature-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--graphite);
}

.feature-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, var(--brand), #ff8a8e) border-box;
  border: 2px solid transparent;
  box-shadow: inset 0 0 0 5px var(--brand-soft);
}

/* Responsive */
@media (max-width: 1060px) {
  .header-inner {
    width: min(100% - 32px, 1180px);
    gap: 12px;
  }

  .site-nav a {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .header-contact-label {
    display: none;
  }

  .header-contact {
    padding-left: 16px;
  }

  .split,
  .split.reverse,
  .contact-layout,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .card-grid,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: block;
  }

  .header-contact {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-h) - 8px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 4px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
    justify-self: stretch;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
  }

  .site-nav .nav-mobile-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    padding: 14px 16px;
    color: var(--ink);
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    font-weight: 700;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    object-position: 85% center;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 72px;
  }

  .container {
    width: min(100% - 32px, 1180px);
  }

  .brand-logo {
    height: 48px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 48px;
  }

  .hero-overlay {
    background: linear-gradient(150deg, rgb(247 249 251 / 38%) 35%, rgba(247, 249, 251, 0.78) 100%), linear-gradient(90deg, rgb(0 0 0 / 26%), rgb(247 249 251 / 14%));
    /* background:
      linear-gradient(180deg, rgba(247, 249, 251, 0.92) 35%, rgba(247, 249, 251, 0.78) 100%),
      linear-gradient(90deg, rgba(247, 249, 251, 0.9), rgba(247, 249, 251, 0.55)); */
  }
  .hero-copy{
    color: #000;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .proof-grid,
  .card-grid,
  .industry-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .cta-panel {
    padding: 28px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
