:root {
  --brand-red: #ed2419;
  --brand-red-dark: #b7140b;
  --brand-black: #0c0c0c;
  --brand-ink: #17181c;
  --brand-cream: #f5f2ee;
  --brand-white: #ffffff;
  --brand-muted: #5d6068;
  --brand-line: rgba(12, 12, 12, 0.08);
  --shadow-soft: 0 22px 60px rgba(12, 12, 12, 0.12);
  --shadow-card: 0 16px 40px rgba(12, 12, 12, 0.08);
  --container: min(1160px, calc(100vw - 2rem));
  --header-height: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--brand-ink);
  background:
    radial-gradient(circle at top left, rgba(237, 36, 25, 0.08), transparent 32%),
    linear-gradient(180deg, #fffdfb 0%, var(--brand-cream) 100%);
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto auto 12% -8rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(237, 36, 25, 0.08), transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.site-shell::after {
  inset: 10rem -7rem auto auto;
  background: radial-gradient(circle, rgba(12, 12, 12, 0.07), transparent 68%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(12, 12, 12, 0.06);
}

.nav-bar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand img {
  width: min(210px, 46vw);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.96rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--brand-red);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: var(--brand-black);
  color: var(--brand-white);
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: var(--brand-black);
  padding: 0.75rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--brand-white);
  margin: 0.3rem 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  padding: clamp(3rem, 9vw, 7rem) 0 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 1rem auto auto -8rem;
  width: 26rem;
  height: 26rem;
  background: url("img/logo-mark.png") center/contain no-repeat;
  opacity: 0.04;
  transform: rotate(-15deg);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.03em;
  line-height: 0.96;
}

.hero h1 {
  font-size: clamp(3.8rem, 9vw, 6.8rem);
  max-width: 10ch;
}

.hero-text,
.section-copy p,
.section-heading p,
.service-card p,
.product-card p,
.process-step p,
.contact p,
.site-footer p,
.trust-band p {
  color: var(--brand-muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 62ch;
  margin-top: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  color: var(--brand-white);
  box-shadow: 0 14px 24px rgba(237, 36, 25, 0.24);
}

.button-secondary {
  background: rgba(12, 12, 12, 0.06);
  color: var(--brand-black);
}

.button-full {
  width: 100%;
  margin-top: 0.6rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 2.4rem 0 0;
  list-style: none;
}

.hero-stats li {
  padding: 1.25rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(12, 12, 12, 0.05);
  box-shadow: var(--shadow-card);
}

.hero-stats strong {
  display: block;
  color: var(--brand-black);
  font-size: 1.8rem;
}

.hero-stats span {
  display: block;
  margin-top: 0.35rem;
  color: var(--brand-muted);
  line-height: 1.5;
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 1.2rem;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 3rem -2rem auto auto;
  width: 12rem;
  height: 12rem;
  border: 2rem solid rgba(237, 36, 25, 0.12);
  border-right-width: 0.5rem;
  border-bottom-width: 0.5rem;
  border-radius: 50%;
  transform: rotate(18deg);
  pointer-events: none;
}

.hero-card {
  position: relative;
  padding: 1.8rem;
  border-radius: 1.8rem;
  background: var(--brand-white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-card-main {
  min-height: 22rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    linear-gradient(135deg, rgba(237, 36, 25, 0.12), rgba(12, 12, 12, 0.03));
}

.hero-mark {
  width: 4.6rem;
  margin-bottom: 1.2rem;
}

.panel-tag {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.06);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-card-main h2 {
  margin: 1rem 0 0.8rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
}

.hero-card-main p {
  max-width: 34ch;
  color: var(--brand-muted);
  line-height: 1.75;
}

.hero-card-list {
  background: var(--brand-black);
  color: var(--brand-white);
}

.hero-card-list div {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 0;
}

.hero-card-list div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card-list i {
  color: var(--brand-red);
  font-size: 1.15rem;
}

.trust-band {
  padding-bottom: 1rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem 1.7rem;
  border-radius: 1.5rem;
  background: var(--brand-black);
  color: var(--brand-white);
}

.trust-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.trust-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.trust-points i {
  color: var(--brand-red);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section h2 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  max-width: 11ch;
}

.about-grid,
.maintenance-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}

.principles {
  display: grid;
  gap: 1rem;
}

.principles article,
.service-card,
.product-card,
.process-step,
.contact-card {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--brand-line);
  box-shadow: var(--shadow-card);
}

.principles span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--brand-red);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.principles p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.75;
}

.section-heading {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: none;
}

.section-heading p:last-child {
  max-width: 68ch;
  margin: 0;
}

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

.service-card,
.product-card {
  min-height: 100%;
}

.service-card i {
  font-size: 1.35rem;
  color: var(--brand-red);
}

.service-card h3,
.product-card h3,
.process-step h3 {
  margin: 1rem 0 0.55rem;
  font-size: 1.12rem;
}

.service-card p,
.product-card p,
.process-step p {
  margin: 0;
}

.products {
  position: relative;
}

.products::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(237, 36, 25, 0.04), transparent 35%),
    linear-gradient(330deg, rgba(12, 12, 12, 0.04), transparent 30%);
  pointer-events: none;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.industry-list span {
  padding: 0.95rem 1.15rem;
  border-radius: 999px;
  background: var(--brand-white);
  border: 1px solid var(--brand-line);
  box-shadow: var(--shadow-card);
  font-weight: 700;
}

.maintenance {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.85)),
    radial-gradient(circle at top right, rgba(237, 36, 25, 0.09), transparent 26%);
}

.maintenance-copy h2 {
  max-width: 12ch;
}

.maintenance-list {
  padding-left: 1.1rem;
  margin: 1.3rem 0;
  color: var(--brand-muted);
}

.maintenance-list li {
  margin-bottom: 0.7rem;
  line-height: 1.7;
}

.maintenance-note {
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--brand-red);
  border-radius: 0.8rem;
  background: rgba(237, 36, 25, 0.06);
  line-height: 1.7;
}

.maintenance-visual img {
  width: 100%;
  border-radius: 2rem;
  box-shadow: var(--shadow-soft);
}

.process-step {
  position: relative;
  overflow: hidden;
}

.process-step span {
  display: inline-block;
  color: rgba(237, 36, 25, 0.16);
  font-family: "Bebas Neue", sans-serif;
  font-size: 4rem;
  line-height: 1;
}

.contact {
  padding-top: 2rem;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.form-status {
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1.6;
}

.form-status--success {
  background: rgba(29, 161, 95, 0.12);
  border-color: rgba(29, 161, 95, 0.2);
  color: #16633f;
}

.form-status--error {
  background: rgba(237, 36, 25, 0.08);
  border-color: rgba(237, 36, 25, 0.15);
  color: #8b1e18;
}

.form-status--info {
  background: rgba(12, 12, 12, 0.06);
  border-color: rgba(12, 12, 12, 0.08);
  color: var(--brand-ink);
}

.contact-form {
  position: relative;
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--brand-line);
  box-shadow: var(--shadow-card);
}

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

.field {
  display: grid;
  gap: 0.45rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field span {
  font-size: 0.92rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(12, 12, 12, 0.1);
  border-radius: 1rem;
  background: var(--brand-white);
  color: var(--brand-ink);
  padding: 0.95rem 1rem;
  font: inherit;
}

.field textarea {
  min-height: 11rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(237, 36, 25, 0.65);
  box-shadow: 0 0 0 4px rgba(237, 36, 25, 0.12);
}

.field select {
  appearance: none;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.form-note {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.7;
}

.contact-card {
  background: var(--brand-black);
  color: var(--brand-white);
}

.contact-card a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 0;
  font-weight: 700;
}

.contact-card a + a {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-card i {
  width: 1.35rem;
  color: var(--brand-red);
  text-align: center;
}

.contact-card .button {
  margin-top: 1rem;
  border-top: 0;
}

.site-footer {
  padding: 2rem 0 1.25rem;
  background: var(--brand-black);
  color: var(--brand-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 1.2rem;
  align-items: start;
}

.footer-grid img {
  width: min(200px, 44vw);
  margin-bottom: 1rem;
}

.footer-grid strong {
  display: block;
  margin-bottom: 0.75rem;
}

.footer-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .maintenance-grid,
  .contact-grid,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .trust-points {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 74px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 1rem auto 1rem;
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--brand-line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(12, 12, 12, 0.05);
  }

  .nav-cta {
    justify-content: center;
  }

  .hero h1 {
    max-width: 100%;
  }

  .card-grid,
  .product-grid,
  .process-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
