:root {
  --black: #05070a;
  --ink: #121820;
  --muted: #617080;
  --white: #ffffff;
  --soft: #f5f7fa;
  --line: rgba(18, 24, 32, 0.1);
  --red: #d71920;
  --red-dark: #a90f15;
  --solar-blue: #0f8ccf;
  --energy: #f8b400;
  --shadow: 0 22px 60px rgba(5, 7, 10, 0.14);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(16px);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(5, 7, 10, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 32px rgba(5, 7, 10, 0.22);
}

.nav {
  width: min(calc(100% - 40px), var(--container));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  min-width: 250px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: 0 10px 22px rgba(215, 25, 32, 0.28);
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.69rem;
  font-weight: 700;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  padding: 10px 12px;
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 96vh;
  position: relative;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.92), rgba(5, 7, 10, 0.66) 48%, rgba(5, 7, 10, 0.44)),
    url("https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 24%, rgba(15, 140, 207, 0.34), transparent 28%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.06), rgba(5, 7, 10, 0.72));
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 146px 0 76px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.86);
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.section-kicker::before,
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(3.15rem, 7vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 16px 32px rgba(215, 25, 32, 0.26);
}

.btn-primary:hover {
  box-shadow: 0 18px 42px rgba(215, 25, 32, 0.34);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 780px;
  margin-top: 58px;
}

.hero-stats article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-stats strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.91rem;
}

.section {
  padding: 104px 0;
}

.intro-strip {
  padding: 0;
  background: var(--black);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-44px);
  box-shadow: var(--shadow);
}

.intro-card {
  min-height: 210px;
  padding: 34px;
  background: var(--white);
}

.intro-card span,
.service-number,
.timeline-item span,
.model-topline span {
  color: var(--red);
  font-weight: 900;
  font-size: 0.8rem;
}

.intro-card h2,
.value-card h3,
.service-card h3,
.model-card h3,
.timeline-item h3 {
  margin: 12px 0 10px;
  line-height: 1.2;
  letter-spacing: 0;
}

.intro-card p,
.value-card p,
.service-card p,
.model-card p,
.timeline-item p,
.section-copy p,
.section-heading p,
.contact-copy p {
  color: var(--muted);
  margin: 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.7fr);
  gap: 70px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.contact-copy h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-copy p + p {
  margin-top: 16px;
}

.about-panel {
  border-radius: 8px;
  overflow: hidden;
  background: var(--black);
  box-shadow: var(--shadow);
}

.panel-image {
  min-height: 310px;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.04), rgba(5, 7, 10, 0.22)),
    url("https://images.unsplash.com/photo-1497440001374-f26997328c1b?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.panel-content {
  padding: 30px;
  color: var(--white);
}

.panel-content h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 72px;
}

.value-card,
.service-card,
.model-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(5, 7, 10, 0.07);
}

.value-card {
  padding: 30px;
}

.icon-dot {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.98), rgba(248, 180, 0, 0.92)),
    var(--red);
}

.services-section {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.92), rgba(5, 7, 10, 0.96)),
    url("https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?auto=format&fit=crop&w=1800&q=80") center/cover fixed;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.services-section .section-heading h2,
.models-section .section-heading h2 {
  color: var(--white);
}

.services-section .section-heading p,
.models-section .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(215, 25, 32, 0.7);
  background: rgba(255, 255, 255, 0.13);
}

.service-card p {
  color: rgba(255, 255, 255, 0.68);
}

.service-card-wide {
  grid-column: span 2;
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.92), rgba(169, 15, 21, 0.78)),
    rgba(255, 255, 255, 0.08);
}

.service-card-wide .service-number,
.service-card-wide p {
  color: rgba(255, 255, 255, 0.8);
}

.models-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(15, 140, 207, 0.18), transparent 28%),
    linear-gradient(135deg, #08111b, #05070a);
}

.model-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 22px;
}

.model-card {
  position: relative;
  overflow: hidden;
  padding: 36px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: none;
}

.model-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -90px auto;
  width: 210px;
  height: 210px;
  background: rgba(15, 140, 207, 0.16);
  transform: rotate(18deg);
}

.model-card-featured {
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.95), rgba(5, 7, 10, 0.88)),
    rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 22px 54px rgba(215, 25, 32, 0.2);
}

.model-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.model-topline span {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  height: 38px;
  border-radius: 8px;
  color: var(--white);
  background: var(--red);
}

.model-topline strong {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
}

.model-card h3 {
  margin-top: 0;
  font-size: 1.8rem;
}

.model-card p,
.model-card li {
  color: rgba(255, 255, 255, 0.72);
}

.model-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.model-card li {
  position: relative;
  padding-left: 24px;
}

.model-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--energy);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(var(--red), var(--solar-blue));
}

.timeline-item {
  position: relative;
  padding: 26px 28px 26px 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(5, 7, 10, 0.06);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 30px;
  width: 20px;
  height: 20px;
  border: 5px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 1px rgba(215, 25, 32, 0.18);
}

.timeline-item h3 {
  margin-top: 4px;
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.94), rgba(5, 7, 10, 0.72)),
    url("https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(320px, 1fr);
  gap: 58px;
  align-items: start;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-list a {
  display: block;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-list a:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.14);
}

.contact-list span {
  display: block;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 30px;
  color: var(--ink);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row-full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #f9fafb;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(215, 25, 32, 0.55);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.1);
}

.form-submit {
  grid-column: 1 / -1;
  width: 100%;
}

.form-note {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--white);
  font-weight: 800;
}

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

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

@media (max-width: 1040px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card-wide {
    grid-column: span 2;
  }

  .two-column,
  .process-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    height: calc(100vh - 78px);
    display: grid;
    align-content: start;
    gap: 0;
    padding: 12px 20px 24px;
    overflow-y: auto;
    background: var(--black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  }

  .nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 15px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 132px 0 66px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 11vw, 4.6rem);
  }

  .hero-stats,
  .intro-grid,
  .values-grid,
  .model-comparison {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    transform: none;
    width: 100%;
  }

  .intro-strip {
    padding: 1px 0;
  }

  .section {
    padding: 78px 0;
  }
}

@media (max-width: 620px) {
  .container,
  .nav {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero-actions,
  .footer-content {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-stats article,
  .intro-card,
  .value-card,
  .service-card,
  .model-card,
  .timeline-item,
  .contact-form {
    padding: 24px;
  }

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

  .service-card,
  .service-card-wide {
    min-height: auto;
    grid-column: span 1;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 12px;
  }

  .timeline-item {
    padding-left: 48px;
  }

  .timeline-item::before {
    left: 3px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
