:root {
  --brand: #d31820;
  --brand-dark: #9f1117;
  --brand-soft: #fff1f2;
  --ink: #18202a;
  --muted: #687383;
  --line: #eceff3;
  --surface: #ffffff;
  --surface-alt: #faf7f5;
  --shadow: 0 18px 45px rgba(24, 32, 42, 0.09);
  --shadow-soft: 0 10px 30px rgba(24, 32, 42, 0.07);
  --radius: 24px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--surface);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe 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 {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 56px 0;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: var(--surface);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loader.hidden {
  visibility: hidden;
  opacity: 0;
}

.loader-mark {
  color: var(--ink);
  font-size: clamp(2rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  animation: pulseMark 1.1s ease-in-out infinite;
}

.loader-mark span,
.footer-logo span {
  color: var(--brand);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(236, 239, 243, 0.8);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(24, 32, 42, 0.08);
}

.navbar {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: auto;
  height: 44px;
  object-fit: contain;
}

.footer-logo {
  color: var(--ink);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  border-radius: 999px;
  padding: 10px 15px;
  color: #424b57;
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--brand-soft);
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
}

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

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

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

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

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 84px;
  background:
    radial-gradient(circle at 10% 12%, rgba(211, 24, 32, 0.08), transparent 30%),
    linear-gradient(180deg, #fffafa 0%, #ffffff 64%);
}

.hero::after {
  position: absolute;
  right: -160px;
  bottom: -220px;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  background: rgba(211, 24, 32, 0.06);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
}

h1 {
  max-width: 700px;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  font-weight: 800;
  letter-spacing: -0.07em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

h3 {
  font-size: 1.18rem;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.2rem);
}

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

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

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

.btn-primary {
  background: var(--brand);
  box-shadow: 0 16px 30px rgba(211, 24, 32, 0.24);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  border-color: rgba(211, 24, 32, 0.22);
  background: #ffffff;
  color: var(--brand);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 560px;
  margin-top: 42px;
}

.hero-proof div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: var(--brand);
  font-size: 1.05rem;
}

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

.hero-visual {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.product-orbit {
  position: absolute;
  inset: 10% 4%;
  z-index: -2;
  border: 1px solid rgba(211, 24, 32, 0.12);
  border-radius: 42px;
  background: linear-gradient(145deg, #ffffff, #fff5f5);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.hero-image {
  width: min(480px, 100%);
  animation: floatProduct 5.5s ease-in-out infinite;
  filter: drop-shadow(0 24px 34px rgba(24, 32, 42, 0.18));
}

.floating-card {
  position: absolute;
  border: 1px solid rgba(236, 239, 243, 0.9);
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.floating-card-top {
  top: 20%;
  right: 2%;
}

.floating-card-bottom {
  bottom: 18%;
  left: 0;
}

.trust {
  background: var(--surface);
}

.trust-grid,
.cert-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.trust-card,
.cert-card,
.product-card,
.about-panel,
.timeline-card,
.contact-form,
.contact-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.trust-card {
  border-radius: 20px;
  padding: 22px 16px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 900;
}

.trust-card h3 {
  font-size: 0.96rem;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.03rem;
}

.products {
  background: var(--surface-alt);
}

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

.product-card {
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  border-color: rgba(211, 24, 32, 0.24);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.product-image-wrap {
  height: 190px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(211, 24, 32, 0.1), transparent 55%),
    #fffafa;
}

.product-image {
  width: 330px;
  max-width: none;
  filter: drop-shadow(0 16px 22px rgba(24, 32, 42, 0.15));
}

.product-pos-1 {
  transform: translateX(24%) scale(1.1);
}

.product-pos-2 {
  transform: translateX(9%) scale(1.1);
}

.product-pos-3 {
  transform: translateX(-5%) scale(1.1);
}

.product-pos-4 {
  transform: translateX(-18%) scale(1.1);
}

.product-pos-5 {
  transform: translateX(-31%) scale(1.1);
}

.product-body {
  padding: 22px;
}

.product-body p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.strength {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--brand-soft);
  color: var(--brand) !important;
  font-size: 0.78rem !important;
  font-weight: 800;
}

.product-body ul {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding-left: 18px;
  color: #4c5663;
  font-size: 0.9rem;
}

.product-body li::marker {
  color: var(--brand);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 56px;
}

.about-content p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.about-panel {
  border-radius: var(--radius);
  padding: 32px;
}

.about-panel h3 {
  margin-bottom: 22px;
}

.principle {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.principle span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
}

.principle p {
  color: var(--muted);
}

.manufacturing {
  background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
}

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

.timeline-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 26px;
}

.timeline-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--brand);
  content: "";
}

.timeline-card span {
  color: rgba(211, 24, 32, 0.18);
  font-size: 2.9rem;
  font-weight: 900;
  line-height: 1;
}

.timeline-card h3 {
  margin: 18px 0 12px;
}

.timeline-card p,
.cert-card p,
.contact-info p {
  color: var(--muted);
}

.cert-grid {
  grid-template-columns: repeat(5, 1fr);
}

.cert-card {
  border-radius: var(--radius);
  padding: 28px;
}

.cert-card span {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 900;
}

.disclaimer {
  max-width: 760px;
  margin: 32px auto 0;
  border: 1px solid rgba(211, 24, 32, 0.14);
  border-radius: 18px;
  padding: 16px 18px;
  background: var(--brand-soft);
  color: #72353a;
  text-align: center;
  font-weight: 600;
}

.contact {
  background: var(--surface-alt);
}

.contact-info p:not(.eyebrow) {
  margin-top: 16px;
  font-size: 1.03rem;
}

.contact-card {
  margin-top: 18px;
  border-radius: 18px;
  padding: 18px;
}

.contact-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

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

.contact-form {
  border-radius: var(--radius);
  padding: 34px;
}

.contact-form label {
  display: block;
  margin: 16px 0 8px;
  color: #303946;
  font-weight: 800;
}

.contact-form label:first-child {
  margin-top: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dfe4ea;
  border-radius: 15px;
  padding: 14px 15px;
  outline: none;
  background: #ffffff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(211, 24, 32, 0.55);
  box-shadow: 0 0 0 4px rgba(211, 24, 32, 0.1);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: 100%;
  margin-top: 22px;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--brand);
  font-size: 0.94rem;
  font-weight: 700;
  text-align: center;
}

.footer {
  padding-top: 64px;
  background: #15191f;
  color: #d8dde5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 44px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
  color: #ffffff;
}

.footer p {
  color: #aeb6c2;
}

.footer h3 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 1rem;
}

.footer a:not(.footer-logo) {
  display: block;
  margin-top: 10px;
  color: #aeb6c2;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #ffffff;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.social-links a {
  display: grid !important;
  width: 38px;
  height: 38px;
  margin-top: 0 !important;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 12px 26px rgba(211, 24, 32, 0.28);
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

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

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

@keyframes floatProduct {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

@keyframes pulseMark {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.68;
    transform: scale(0.98);
  }
}

@media (max-width: 1100px) {
  .product-grid,
  .timeline,
  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .section {
    padding: 72px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 78px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 14px;
    background: #ffffff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .nav-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    justify-content: center;
    padding: 13px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-text,
  .hero-proof {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 420px;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .navbar {
    min-height: 70px;
  }

  .nav-menu {
    top: 70px;
  }

  .hero-proof,
  .trust-grid,
  .product-grid,
  .timeline,
  .cert-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    max-width: 360px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .floating-card {
    display: none;
  }

  .product-orbit {
    inset: 8% 0;
  }

  .product-image-wrap {
    height: 220px;
  }

  .product-image {
    width: 380px;
  }

  .about-panel,
  .contact-form {
    padding: 24px;
  }

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

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