:root {
  --primary: #005eb8;
  --primary-dark: #064a8f;
  --primary-deep: #0d2f57;
  --secondary: #00a876;
  --secondary-dark: #00885f;
  --accent: #2c8bdc;
  --gold: #d7a84a;
  --dark: #17212b;
  --ink: #243244;
  --muted: #667789;
  --light: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f3f8fc;
  --surface-tint: #edf6f8;
  --border: #d8e5ee;
  --shadow-sm: 0 10px 26px rgba(14, 45, 78, 0.08);
  --shadow-md: 0 18px 46px rgba(14, 45, 78, 0.14);
  --shadow-lg: 0 28px 80px rgba(8, 30, 56, 0.22);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  overflow-x: hidden;
}

body {
  min-width: 320px;
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  line-height: 1.7;
  opacity: 0;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

body.site-loaded {
  animation: pageFade 520ms ease forwards;
}

body.menu-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
  touch-action: none;
}

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

a {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  touch-action: manipulation;
}

input,
textarea,
select {
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}

main {
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 94, 184, 0.08), transparent 25rem),
    radial-gradient(circle at 92% 34%, rgba(0, 168, 118, 0.08), transparent 22rem),
    linear-gradient(180deg, #fff 0%, #fff 34%, #f7fafc 100%);
}

section {
  padding: 92px 0;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: linear-gradient(90deg, rgba(7, 65, 123, 0.96), rgba(0, 94, 184, 0.94));
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 32px rgba(0, 46, 92, 0.14);
  backdrop-filter: blur(14px);
  transition: background 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.site-header.is-scrolled {
  background: linear-gradient(90deg, rgba(8, 54, 101, 0.98), rgba(0, 92, 176, 0.98));
  box-shadow: 0 14px 36px rgba(0, 42, 84, 0.2);
}

.site-header::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.46), transparent);
  content: "";
}

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

.logo-container {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: #fff;
}

.logo-img {
  width: auto;
  height: 44px;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 10px rgba(0, 34, 68, 0.16));
}

.logo-text {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logo-text span {
  color: var(--secondary);
}

.nav-desktop ul,
.footer-links {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-desktop ul {
  gap: clamp(16px, 2vw, 30px);
}

.nav-desktop a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 15px;
  font-weight: 650;
  transition: color 180ms ease;
}

.nav-desktop a::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 3px;
  background: var(--secondary);
  border-radius: 999px;
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  color: #fff;
}

.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after,
.nav-desktop a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle span {
  position: absolute;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: transform 220ms ease, opacity 220ms ease;
}

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

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

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

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

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

.back-home {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  color: #fff;
  font-weight: 750;
  line-height: 1.2;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.back-home:hover,
.back-home:focus-visible {
  background: #fff;
  color: var(--primary);
  transform: translateY(-1px);
}

.back-home:active {
  transform: translateY(0) scale(0.98);
}

.mobile-menu {
  position: fixed;
  top: var(--header-height);
  right: 16px;
  left: 16px;
  z-index: 999;
  display: none;
  overflow: hidden;
  background: rgba(0, 102, 204, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  visibility: hidden;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(3, 14, 25, 0.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

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

.mobile-menu a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(740px, 92vh, 900px);
  padding: 0;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(5, 20, 36, 0.58));
  content: "";
  pointer-events: none;
}

.hero-slider,
.hero-slide,
.hero-slide img,
.hero::after {
  position: absolute;
  inset: 0;
}

.hero-slider {
  z-index: -2;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 3600ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide.is-active img {
  animation: heroDrift 10s ease-in-out infinite alternate;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 36, 68, 0.88) 0%, rgba(0, 79, 145, 0.64) 47%, rgba(7, 18, 32, 0.56) 100%),
    radial-gradient(circle at 75% 20%, rgba(0, 168, 118, 0.22), transparent 28rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42));
  content: "";
}

.hero-content {
  display: grid;
  width: min(100% - 40px, 1000px);
  min-height: clamp(740px, 92vh, 900px);
  align-content: center;
  margin: 0 auto;
  padding-top: var(--header-height);
}

.hero-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  background: rgba(0, 168, 107, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #eafff6;
  font-weight: 700;
}

.hero-kicker i {
  animation: pulseDrop 2.4s ease-in-out infinite;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(40px, 7vw, 78px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.12;
}

.hero p {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions,
.product-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.home-page .hero::marker {
  display: none;
}

.home-page .hero-content::after {
  position: absolute;
  right: 50%;
  bottom: 24px;
  width: 22px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  content: "";
  transform: translateX(50%);
  opacity: 0.72;
}

.home-page .hero-content::before {
  position: absolute;
  right: 50%;
  bottom: 47px;
  z-index: 1;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 999px;
  content: "";
  transform: translateX(50%);
  animation: scrollCue 1.7s ease-in-out infinite;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  background: var(--secondary);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0, 168, 107, 0.26);
  color: #fff;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  overflow: hidden;
}

.btn::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 45%, transparent 72%);
  content: "";
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--secondary-dark);
  box-shadow: 0 18px 38px rgba(0, 168, 107, 0.32);
  transform: translateY(-2px);
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(120%);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.54);
  box-shadow: none;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 750;
}

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

.section-title {
  position: relative;
  display: inline-block;
  color: var(--primary);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
}

.section-title::before {
  display: block;
  width: 28px;
  height: 3px;
  margin: 0 auto 14px;
  background: var(--gold);
  border-radius: 999px;
  content: "";
}

.section-title::after {
  display: block;
  width: 72px;
  height: 4px;
  margin: 18px auto 0;
  background: var(--secondary);
  border-radius: 999px;
  content: "";
}

.section-heading p {
  margin-top: 18px;
  color: var(--muted);
}

.surface-section {
  background: linear-gradient(180deg, var(--surface-soft), #fff);
}

.about-grid,
.contact-grid,
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.about-slider,
.product-detail-image,
.map-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-slider::after,
.product-detail-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 36%, rgba(0, 94, 184, 0.12));
  content: "";
  pointer-events: none;
}

.about-slider {
  min-height: 440px;
  background: var(--surface-soft);
}

.about-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.about-slide.is-active {
  opacity: 1;
}

.about-slide img,
.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy h3,
.product-copy h3,
.product-specs h3 {
  color: var(--primary);
  font-size: 24px;
  line-height: 1.35;
}

.about-copy p,
.product-copy p,
.product-specs p {
  margin-top: 14px;
}

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

.stat-item {
  position: relative;
  padding: 20px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.stat-item::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  content: "";
}

.stat-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.stat-number {
  color: var(--primary);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 850;
  line-height: 1.1;
}

.stat-item p {
  margin-top: 6px;
  color: var(--muted);
}

.services-grid,
.products-grid {
  display: grid;
  gap: 24px;
}

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

.products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.product-card,
.product-detail-content {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  overflow: hidden;
}

.service-card::before,
.product-card::before,
.product-detail-content::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 94, 184, 0.08), transparent 36%, rgba(0, 168, 118, 0.08));
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.service-card {
  padding: 34px 28px;
  text-align: center;
}

.service-card i {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(0, 168, 107, 0.11);
  border-radius: 999px;
  color: var(--secondary);
  font-size: 30px;
  transition: transform 220ms ease, background 220ms ease;
}

.service-card:hover i {
  background: rgba(0, 168, 118, 0.16);
  transform: translateY(-2px) rotate(-4deg);
}

.service-card h3,
.product-card h3 {
  color: var(--primary);
  font-size: 21px;
  line-height: 1.35;
}

.service-card p,
.product-card p {
  margin-top: 12px;
  color: var(--muted);
}

.service-card:hover,
.product-card:hover {
  border-color: rgba(0, 94, 184, 0.28);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.service-card:hover::before,
.product-card:hover::before,
.product-detail-content:hover::before {
  opacity: 1;
}

.product-card {
  display: grid;
  overflow: hidden;
}

.product-card:focus-visible {
  outline: 3px solid rgba(0, 168, 107, 0.34);
  outline-offset: 4px;
}

.product-card-image {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card-content {
  display: grid;
  align-content: start;
  padding: 22px;
}

.product-tag {
  display: inline-flex;
  width: fit-content;
  margin: 12px 0 2px;
  padding: 4px 11px;
  background: rgba(0, 102, 204, 0.08);
  border-radius: 999px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 750;
}

.certificates {
  background: #f8f9fa;
}

.cert-slider-container {
  position: relative;
}

.cert-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.cert-slider {
  display: flex;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.cert-slide {
  flex: 0 0 33.333%;
  padding: 14px;
}

.cert-card {
  position: relative;
  display: grid;
  min-height: 100%;
  align-content: start;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  overflow: hidden;
}

.cert-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 94, 184, 0.08), transparent 48%);
  content: "";
  pointer-events: none;
}

.cert-card img {
  width: 100%;
  height: 330px;
  object-fit: contain;
  background: #f3f5f7;
  border-radius: var(--radius-sm);
}

.cert-card p {
  color: var(--ink);
  font-weight: 700;
}

.cert-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(0, 102, 204, 0.94);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  color: #fff;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.cert-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-50%) scale(1.05);
}

.cert-nav.prev {
  left: -10px;
}

.cert-nav.next {
  right: -10px;
}

.cert-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

.cert-dot {
  width: 7px;
  height: 7px;
  min-width: 7px;
  min-height: 7px;
  background: #c2cbd4;
  border-radius: 999px;
  transition: width 180ms ease, background 180ms ease;
}

.cert-dot.is-active {
  width: 18px;
  background: var(--primary);
}

.contact-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 22%, rgba(0, 168, 118, 0.16), transparent 22rem),
    radial-gradient(circle at 86% 18%, rgba(44, 139, 220, 0.18), transparent 24rem),
    linear-gradient(135deg, #071827 0%, #0b2236 48%, #08131f 100%);
  color: #fff;
}

.contact-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  content: "";
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 78%);
  pointer-events: none;
}

.contact-section-final {
  padding-top: 64px;
  padding-bottom: 52px;
}

.contact-section .section-heading {
  margin-bottom: 30px;
}

.contact-section .section-title {
  color: #fff;
}

.contact-section .section-title::before {
  background: var(--secondary);
}

.contact-section .section-title::after {
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.contact-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 22px;
  background: rgba(7, 26, 43, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.contact-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--secondary), var(--accent));
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  content: "";
}

.contact-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 13px;
  align-items: start;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  transition: background 180ms ease, transform 180ms ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.055);
  transform: translateX(3px);
}

.contact-item i {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(0, 168, 118, 0.12);
  border: 1px solid rgba(0, 168, 118, 0.22);
  border-radius: 10px;
  color: var(--secondary);
  font-size: 17px;
}

.contact-item strong,
.contact-item a {
  color: #fff;
}

.contact-item div {
  color: rgba(255, 255, 255, 0.72);
}

.contact-item a:hover {
  color: var(--secondary);
}

.contact-phone {
  color: var(--secondary) !important;
  font-size: 22px;
  font-weight: 850;
}

.contact-section .contact-actions {
  margin-top: 18px;
}

.contact-section .btn-outline {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.contact-section .btn-outline:hover,
.contact-section .btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(0, 168, 118, 0.36);
}

.map-card {
  min-height: 300px;
  background: #0b1824;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  transform: translateZ(0);
}

#mapContainer {
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(7, 24, 39, 0.92), rgba(0, 79, 145, 0.72)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 16px);
  color: #fff;
  text-align: center;
}

.map-fallback.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  background: #0f1720;
  color: rgba(255, 255, 255, 0.74);
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-bottom a:hover {
  color: var(--secondary);
}

.footer-bottom {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  min-height: 24px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  scrollbar-width: none;
}

.footer-bottom::-webkit-scrollbar {
  display: none;
}

.footer-bottom p {
  margin: 0;
  white-space: nowrap;
}

.footer-bottom a {
  display: inline;
  margin-left: 12px;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
  visibility: hidden;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
}

.product-page main {
  padding-top: var(--header-height);
}

.product-detail {
  padding: 62px 0 86px;
}

.product-detail-header {
  margin-bottom: 34px;
  text-align: center;
}

.product-detail-header h1 {
  color: var(--primary);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.16;
}

.product-detail-header p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 18px;
}

.product-detail-content {
  padding: clamp(24px, 4vw, 42px);
}

.product-detail-grid {
  align-items: start;
}

.product-detail-image {
  aspect-ratio: 4 / 3;
}

.product-copy h4,
.product-specs h4 {
  margin-top: 24px;
  color: var(--ink);
  font-size: 17px;
}

.product-specs {
  margin-top: 42px;
  padding: 0;
}

.feature-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
}

.feature-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--secondary);
  content: "✓";
  font-weight: 900;
}

.table-wrap {
  width: 100%;
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  table-layout: auto;
}

.specs-table th,
.specs-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.specs-table th {
  background: rgba(0, 102, 204, 0.08);
  color: var(--primary);
  font-weight: 800;
}

.specs-table tr:last-child td {
  border-bottom: 0;
}

.note {
  color: var(--muted);
  font-size: 14px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

@keyframes pageFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.01) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.06) translate3d(-1.2%, -1%, 0);
  }
}

@keyframes pulseDrop {
  0%,
  100% {
    opacity: 0.82;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateY(-1px) scale(1.08);
  }
}

@keyframes scrollCue {
  0% {
    opacity: 0;
    transform: translate(50%, 0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(50%, 13px);
  }
}

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

@media (max-width: 1120px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cert-slide {
    flex-basis: 50%;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  section {
    padding: 72px 0;
  }

  .nav-desktop {
    display: none;
  }

  .nav-toggle,
  .mobile-menu {
    display: flex;
  }

  .mobile-menu {
    flex-direction: column;
  }

  .logo-img {
    height: 38px;
  }

  .logo-text {
    font-size: 18px;
  }

  .hero,
  .hero-content {
    min-height: 620px;
  }

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

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

  .about-slider {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .container,
  .nav-container,
  .hero-content {
    width: 100%;
  }

  .logo-text {
    max-width: calc(100vw - 118px);
    font-size: 15px;
  }

  .back-home span {
    display: none;
  }

  .back-home {
    width: 42px;
    height: 42px;
    padding: 0;
  }

  .hero,
  .hero-content {
    min-height: 560px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-actions,
  .product-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .cert-slide {
    flex-basis: 100%;
    padding: 8px;
  }

  .cert-nav {
    display: none;
  }

  .cert-card img {
    height: 300px;
  }

  .contact-item {
    grid-template-columns: 40px 1fr;
  }

  .contact-item i {
    width: 40px;
    height: 40px;
  }

  .contact-card {
    padding: 22px;
  }

  .product-detail-content {
    border-radius: var(--radius-md);
  }

  .product-detail {
    padding: 42px 0 64px;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: calc(var(--header-height) + 10px);
  }

  body {
    font-size: 16px;
    line-height: 1.5;
  }

  p,
  li,
  td,
  th {
    font-size: 16px;
    line-height: 1.5;
  }

  p + p {
    margin-top: 1rem;
  }

  main,
  section,
  .container,
  .nav-container,
  .hero-content,
  .product-detail-content,
  .contact-card,
  .service-card,
  .product-card,
  .cert-card,
  .table-wrap {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .nav-container {
    width: 100%;
    padding: 0 16px;
    gap: 12px;
  }

  .site-header .back-home {
    display: none;
  }

  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .mobile-menu {
    top: calc(var(--header-height) + 8px);
    right: 16px;
    left: 16px;
    z-index: 1001;
    max-height: calc(100vh - var(--header-height) - 24px);
    overflow-y: auto;
    border-radius: 10px;
    transform: translateY(-18px);
  }

  .mobile-menu a {
    min-height: 48px;
    padding: 0 18px;
    font-size: 16px;
    line-height: 1.5;
  }

  section {
    padding: 62px 0;
  }

  .container,
  .hero-content {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-title {
    font-size: clamp(26px, 7vw, 34px);
  }

  .hero,
  .hero-content {
    min-height: 520px;
  }

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

  .hero-kicker {
    margin-bottom: 14px;
    padding: 7px 12px;
    font-size: 13px;
  }

  .hero h1 {
    max-width: 10em;
    font-size: clamp(32px, 9vw, 44px);
    line-height: 1.16;
  }

  .hero p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions,
  .product-actions,
  .contact-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .btn {
    min-height: 46px;
    padding: 12px 18px;
    font-size: 16px;
  }

  .btn,
  .product-card,
  .nav-desktop a,
  .mobile-menu a,
  .back-to-top,
  .cert-nav {
    min-width: 44px;
    min-height: 44px;
  }

  .cert-dot {
    width: 6px;
    height: 6px;
    min-width: 6px;
    min-height: 6px;
  }

  .cert-dot.is-active {
    width: 16px;
  }

  .about-slider {
    min-height: 280px;
  }

  .stats {
    gap: 10px;
  }

  .stat-item {
    padding: 16px 12px;
  }

  .service-card,
  .product-card-content {
    padding: 20px;
  }

  .products-grid,
  .services-grid {
    gap: 16px;
  }

  .product-card h3,
  .service-card h3 {
    font-size: 19px;
  }

  .product-card p,
  .service-card p {
    font-size: 16px;
  }

  .cert-card {
    padding: 14px;
  }

  .cert-card img {
    height: 250px;
  }

  .contact-section-final {
    padding-top: 54px;
    padding-bottom: 42px;
  }

  .contact-section .section-heading {
    margin-bottom: 24px;
  }

  .contact-card {
    gap: 8px;
    padding: 18px;
  }

  .contact-item {
    grid-template-columns: 36px 1fr;
    gap: 11px;
    padding: 8px;
  }

  .contact-item i {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    font-size: 15px;
  }

  .contact-item div {
    font-size: 16px;
  }

  .contact-phone {
    font-size: 20px;
  }

  .map-card,
  #mapContainer {
    min-height: 240px;
  }

  .product-detail {
    padding: 34px 0 52px;
  }

  .product-detail-header {
    margin-bottom: 24px;
  }

  .product-detail-header h1 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .product-detail-header p {
    font-size: 15px;
  }

  .product-detail-content {
    padding: 18px;
  }

  .product-copy h3,
  .product-specs h3 {
    font-size: 21px;
  }

  .product-copy h4,
  .product-specs h4 {
    font-size: 16px;
  }

  .table-wrap {
    position: relative;
    margin-top: 14px;
  }

  .table-wrap::after {
    display: none;
  }

  .specs-table {
    min-width: 0;
    table-layout: auto;
  }

  .specs-table th,
  .specs-table td {
    padding: 11px 12px;
    font-size: 15px;
  }

  .site-footer {
    padding: 12px 0;
  }

  .footer-bottom {
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    font-size: clamp(10px, 2.65vw, 12px);
  }

  .footer-bottom::-webkit-scrollbar {
    display: none;
  }

  .footer-bottom p {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .home-doc {
    scroll-snap-type: y proximity;
    scroll-padding-top: var(--header-height);
  }

  .home-page main > section {
    min-height: calc(100svh - var(--header-height));
    scroll-snap-align: start;
    scroll-margin-top: var(--header-height);
    display: flex;
    align-items: center;
  }

  .home-page main > section > .container {
    width: 100%;
  }

  .home-page .hero {
    min-height: 100svh;
  }

  .home-page .hero-content {
    min-height: 100svh;
    padding-top: calc(var(--header-height) + 12px);
    padding-bottom: 64px;
  }

  .home-page .hero-slide img {
    object-position: center center;
  }

  .home-page #about,
  .home-page #services,
  .home-page #products,
  .home-page #certificates,
  .home-page #contact {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .home-page #about .about-grid,
  .home-page #contact .contact-grid {
    width: 100%;
  }

  .home-page #about .about-slider {
    min-height: 34svh;
  }

  .home-page #products .product-card:nth-child(n + 4),
  .home-page #certificates .cert-slide:nth-child(n + 3) {
    display: none;
  }

  .home-page #products .products-grid {
    max-height: 62svh;
    overflow-y: auto;
    padding-bottom: 2px;
    overscroll-behavior: contain;
  }

  .home-page #certificates .cert-card img {
    height: min(32svh, 240px);
  }

  .home-page #contact .map-card,
  .home-page #contact #mapContainer {
    min-height: 28svh;
  }

  .btn:hover,
  .btn:focus-visible,
  .service-card:hover,
  .product-card:hover,
  .stat-item:hover,
  .contact-item:hover,
  .footer-contact-item:hover,
  .cert-nav:hover {
    transform: none;
  }

  .product-card:hover img {
    transform: none;
  }

  .btn:active,
  .mobile-menu a:active,
  .product-card:active,
  .back-home:active,
  .nav-toggle:active {
    opacity: 0.78;
    transform: scale(0.98);
  }
}

@media (max-width: 420px) {
  :root {
    --header-height: 62px;
  }

  .container,
  .nav-container,
  .hero-content {
    width: 100%;
  }

  .logo-img {
    height: 34px;
  }

  .logo-text {
    max-width: calc(100vw - 104px);
    font-size: 13px;
  }

  .nav-toggle,
  .back-home {
    width: 40px;
    height: 40px;
  }

  .hero,
  .hero-content {
    min-height: 486px;
  }

  .home-page .hero,
  .home-page .hero-content {
    min-height: 100svh;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-kicker {
    max-width: 100%;
    white-space: normal;
  }

  .about-slider {
    min-height: 240px;
  }

  .cert-card img {
    height: 220px;
  }

  .map-card,
  #mapContainer {
    min-height: 220px;
  }

  .contact-card {
    padding: 16px;
  }

  .contact-actions .btn {
    justify-content: center;
  }

  .product-detail-content {
    padding: 16px;
  }

  .footer-bottom {
    font-size: 10px;
  }
}
