:root {
  --primary: #f0132d;
  --primary-dark: #c81024;
  --secondary: #4b7db3;
  --secondary-soft: #7299c5;
  --accent: #1f5fa7;
  --text: #1b2430;
  --muted: #5a6472;
  --white: #ffffff;
  --soft: #f4f8fa;
  --shadow: 0 20px 45px rgba(17, 24, 39, 0.12);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.alt-bg {
  background: var(--soft);
}

.section-tag,
.eyebrow {
  display: inline-block;
  background: rgba(78, 137, 194, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(78, 137, 194, 0.2);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 3rem;
}

.section-heading.center {
  text-align: center;
}

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin-bottom: 1.2rem;
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

p {
  color: var(--muted);
  font-size: 1.02rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  color: var(--secondary);
}

.brand strong,
.brand span {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 1.1rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--secondary);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-weight: 600;
  color: var(--secondary);
}

.main-nav a {
  position: relative;
  padding: 0.3rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 14px 28px rgba(225, 29, 43, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary);
  border-color: rgba(78, 137, 194, 0.35);
}

.nav-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  padding: 0.3rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--secondary);
  margin: 6px 0;
  border-radius: 2px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(244, 248, 250, 0.98));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 3rem;
  padding: 5rem 0 4rem;
}

.hero-copy {
  max-width: 650px;
}

.hero-copy p {
  font-size: 1.08rem;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.hero-stats div {
  min-width: 140px;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 14px;
  box-shadow: 0 12px 22px rgba(17, 24, 39, 0.04);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 800;
}

.hero-stats span {
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #edf3f6 0%, #dfeaf1 100%);
}

.card-main {
  width: min(100%, 520px);
  height: 540px;
}

.card-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #edf3f6 0%, #dfeaf1 100%);
}

.floating-badge {
  position: absolute;
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--secondary);
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  box-shadow: 0 18px 28px rgba(17, 24, 39, 0.12);
}

.badge-title {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-top {
  left: 0;
  top: 30px;
}

.badge-bottom {
  right: 10px;
  bottom: 25px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.about-content p {
  font-size: 1.08rem;
  margin-bottom: 2rem;
  line-height: 1.8;
  max-width: 980px;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  width: min(100%, 900px);
}

.about-image {
  overflow: visible;
  border-radius: 28px;
  box-shadow: none;
  background: transparent;
  width: min(100%, 1100px);
  margin: 0 auto;
}

.about-image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #e9eef1;
  object-fit: contain;
}

.about-points div {
  background: var(--soft);
  border-radius: 18px;
  padding: 1.3rem;
  border: 1px solid rgba(17, 24, 39, 0.05);
}

.about-points strong,
.about-points span {
  display: block;
}

.about-points strong {
  margin-bottom: 0.35rem;
  color: var(--secondary);
}

.services {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 22px;
  padding: 1.8rem 1.5rem;
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.05);
}

.icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0, 166, 184, 0.12);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.18rem;
  margin-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--white);
  padding: 1.3rem 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.05);
  box-shadow: 0 10px 25px rgba(17, 24, 39, 0.03);
  font-weight: 600;
  color: var(--secondary);
}

.feature-item span {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 166, 184, 0.12);
  color: var(--primary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 360px));
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
}

.product-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 30px rgba(17, 24, 39, 0.08);
  border: 1px solid rgba(17, 24, 39, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 35px rgba(17, 24, 39, 0.12);
  outline: none;
}

.product-card img {
  height: 250px;
  width: 100%;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #edf3f6 0%, #dfeaf1 100%);
  padding: 0.6rem;
}

.product-info {
  padding: 1.2rem 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.product-info h3 {
  margin: 0 0 0.5rem;
  text-align: center;
}

.product-info p {
  margin: 0;
  text-align: center;
}

.product-modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  z-index: 100;
}

.product-modal.is-open {
  display: grid;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.5);
}

.product-modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 2rem));
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(17, 24, 39, 0.2);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
}

.product-modal-image {
  min-height: 420px;
  background: linear-gradient(180deg, #edf3f6 0%, #dfeaf1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
}

.product-modal-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-modal-body h3 {
  margin: 1rem 0 0.5rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.product-modal-meta {
  margin: 0 0 1rem;
  color: var(--secondary);
  font-weight: 700;
}

.product-modal-body ul {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.product-modal-body li + li {
  margin-top: 0.5rem;
}

.product-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.industries {
  padding-top: 0;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.industry-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 16px;
  padding: 1rem;
  color: var(--secondary);
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(17, 24, 39, 0.04);
}

.contact {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-card,
.quote-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
}

.contact-card .section-tag {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.contact-card h2,
.contact-card p,
.contact-card li,
.contact-card a {
  color: var(--white);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 2rem;
  display: grid;
  gap: 0.85rem;
}

.quote-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.6rem;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-radius: 12px;
  padding: 0.95rem 1rem;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.full-width {
  width: 100%;
}

.site-footer {
  background: #0a0f1a;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr);
  align-items: start;
  gap: 3rem;
  padding: 2rem 0;
}

.footer-brand {
  display: grid;
  gap: 0.5rem;
  align-content: center;
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
}

.site-footer h3 {
  font-size: clamp(2rem, 2.6vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin-bottom: 0;
  font-weight: 800;
}

.site-footer h4 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  text-align: left;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.6;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
  justify-items: start;
}

.site-footer li {
  width: 100%;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 1rem 0 2rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .main-nav,
  .nav-cta {
    display: none;
  }

  .main-nav.mobile-open {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.97);
    padding: 1.25rem 1rem 1.5rem;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  }

  .section {
    padding: 80px 0;
  }

  .hero-grid {
    padding-top: 4rem;
  }

  .services-grid,
  .product-grid,
  .features-grid,
  .about-points,
  .industry-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
  }
}

