:root {
  --bg: #081114;
  --bg-soft: #0d1d21;
  --panel: rgba(15, 33, 38, 0.9);
  --panel-strong: rgba(19, 42, 47, 0.94);
  --line: rgba(138, 240, 230, 0.16);
  --line-strong: rgba(138, 240, 230, 0.28);
  --text: #eef9fa;
  --text-soft: #c4dadd;
  --text-muted: #92a9ad;
  --teal: #18d1c2;
  --teal-deep: #0e7f82;
  --teal-soft: #8af0e6;
  --shadow: 0 28px 64px rgba(1, 7, 9, 0.34);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(24, 209, 194, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(24, 209, 194, 0.06), transparent 22%),
    linear-gradient(180deg, #091316 0%, #0c1a1e 50%, #091114 100%);
}

body.has-sidebar {
  padding-left: 280px;
  transition: padding-left 260ms ease;
}

body.has-sidebar.sidebar-collapsed {
  padding-left: 108px;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 280px;
  height: 100vh;
  backdrop-filter: blur(14px);
  background: rgba(5, 12, 14, 0.94);
  border-right: 1px solid rgba(138, 240, 230, 0.08);
  transition: width 260ms ease;
}

body.has-sidebar.sidebar-collapsed .site-header {
  width: 108px;
}

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 28px;
  min-height: 100vh;
  padding: 28px 24px;
  transition: padding 260ms ease;
}

body.has-sidebar.sidebar-collapsed .header-inner {
  padding: 20px 14px;
}

.brand img {
  width: 132px;
  transition: width 260ms ease, transform 260ms ease;
}

body.has-sidebar.sidebar-collapsed .brand img {
  width: 72px;
}

.site-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
}

.site-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  transition: padding 260ms ease, font-size 260ms ease, color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal-soft);
  background: rgba(18, 40, 44, 0.88);
}

.site-nav a.is-current {
  color: var(--teal-soft);
  background: rgba(18, 40, 44, 0.88);
}

body.has-sidebar.sidebar-collapsed .site-nav a {
  padding: 12px 8px;
  font-size: 0;
  text-align: center;
}

body.has-sidebar.sidebar-collapsed .site-nav a::before {
  content: "•";
  font-size: 20px;
  line-height: 1;
  color: currentColor;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
  border-color: rgba(138, 240, 230, 0.42);
}

.header-cta,
.button-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #041113;
}

.header-cta {
  margin-top: auto;
  width: 100%;
  transition: min-height 260ms ease, padding 260ms ease, font-size 260ms ease;
}

body.has-sidebar.sidebar-collapsed .header-cta {
  min-height: 46px;
  padding: 0;
  font-size: 0;
}

body.has-sidebar.sidebar-collapsed .header-cta::before {
  content: "+";
  font-size: 26px;
  line-height: 1;
}

.sidebar-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(13, 29, 33, 0.82);
  cursor: pointer;
}

.sidebar-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

body.has-sidebar.sidebar-collapsed .sidebar-toggle {
  align-self: center;
}

.button-secondary {
  background: rgba(13, 29, 33, 0.8);
  color: var(--text);
}

.hero-section {
  padding: 40px 0 28px;
}

.hero-layout,
.about-layout,
.services-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 28px;
  align-items: start;
}

.eyebrow,
.trust-kicker,
.highlight-title,
.metric-label,
.product-tag {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1,
h2 {
  font-family: "DM Serif Display", serif;
}

h1 {
  max-width: 15ch;
  font-size: clamp(30px, 3.8vw, 44px);
}

h2 {
  max-width: 16ch;
  font-size: clamp(34px, 4vw, 54px);
}

h3 {
  font-size: 22px;
}

p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-lead,
.section-heading p:last-child {
  color: var(--text-soft);
}

.hero-lead {
  max-width: 62ch;
  margin-top: 16px;
  font-size: 16px;
}

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

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

.hero-highlights article,
.metric-card,
.trust-grid > div,
.product-card,
.about-panels article,
.application-grid article,
.service-grid article,
.process-grid article,
.contact-cards article,
.contact-form,
.service-note {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(21, 44, 49, 0.92), rgba(13, 28, 32, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero-highlights article,
.metric-card,
.about-panels article,
.application-grid article,
.service-grid article,
.process-grid article,
.contact-cards article {
  padding: 16px;
}

.highlight-title,
.metric-label,
.trust-kicker,
.product-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}

.hero-visual {
  display: grid;
  gap: 16px;
}

.hero-image-card,
.product-card img,
.service-visual img {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.hero-image-card {
  position: relative;
  min-height: 500px;
  box-shadow: var(--shadow);
}

.hero-image-card::after,
.service-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 8, 9, 0.1), rgba(3, 8, 9, 0.56)),
    linear-gradient(135deg, rgba(24, 209, 194, 0.1), rgba(24, 209, 194, 0));
}

.hero-image-card img,
.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(2, 12, 14, 0.86);
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-aside {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric-card strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
}

.trust-strip,
.site-footer {
  border-top: 1px solid rgba(138, 240, 230, 0.08);
  border-bottom: 1px solid rgba(138, 240, 230, 0.08);
  background: rgba(7, 17, 19, 0.7);
}

.trust-strip {
  padding: 18px 0;
}

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

.trust-grid > div {
  padding: 16px 18px;
}

.section {
  padding: 92px 0;
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(24, 209, 194, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(8, 16, 18, 0.82), rgba(9, 18, 20, 0.86));
}

.section-accent {
  background:
    radial-gradient(circle at center, rgba(24, 209, 194, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(8, 20, 23, 0.92), rgba(8, 17, 19, 0.92));
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.section-heading p:last-child {
  max-width: 66ch;
}

.section-heading-centered {
  justify-items: center;
  text-align: center;
}

.section-heading-centered h2,
.section-heading-centered p:last-child {
  max-width: 20ch;
}

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

.product-card {
  overflow: hidden;
}

.product-link {
  display: block;
  color: inherit;
}

.product-link:hover .product-copy h3,
.product-link:focus-visible .product-copy h3 {
  color: var(--teal-soft);
}

.product-card.featured {
  grid-column: span 2;
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0;
  border: 0;
}

.product-copy {
  padding: 20px;
}

.product-card-action {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--teal-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-copy h3,
.about-panels h3,
.application-grid h3,
.service-grid h3,
.process-grid h3,
.service-note h3,
.contact-cards h3 {
  margin-bottom: 10px;
  color: var(--text);
}

.about-panels {
  display: grid;
  gap: 14px;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.services-layout {
  align-items: stretch;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.service-grid article {
  position: relative;
  min-height: 170px;
  padding-top: 52px;
}

.service-grid span {
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.service-visual {
  position: relative;
  min-height: 100%;
}

.service-visual img {
  height: 100%;
  min-height: 580px;
}

.service-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  max-width: 72%;
  padding: 18px;
  background: rgba(4, 14, 16, 0.88);
}

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

.process-grid strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #041113;
  font-size: 18px;
  font-weight: 800;
}

.contact-cards {
  display: grid;
  gap: 14px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

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

.contact-form span {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(138, 240, 230, 0.14);
  border-radius: 14px;
  background: rgba(8, 18, 20, 0.92);
  color: var(--text);
  padding: 14px 15px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7f989d;
}

.site-footer {
  padding: 18px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  color: var(--text-soft);
  font-size: 14px;
}

.footer-column {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-title {
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--teal-soft);
}

.product-hero {
  padding: 44px 0 28px;
}

.page-shell {
  padding-top: 18px;
}

.animate-text {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1200ms cubic-bezier(0.22, 1, 0.36, 1), transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.animate-hero-title {
  opacity: 1;
  transform: none;
}

.animate-hero-title .hero-word {
  display: inline-block;
  margin-right: 0.18em;
  opacity: 0;
  transform: translateY(0.9em);
  filter: blur(6px);
  transition:
    opacity 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 1100ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.animate-hero-title.is-visible .hero-word {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--teal-soft);
}

.product-hero-layout,
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: start;
}

.page-title {
  max-width: 16ch;
  font-size: clamp(30px, 3.6vw, 42px);
}

.product-hero-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  min-height: 480px;
  box-shadow: var(--shadow);
}

.product-hero-card img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.spec-grid,
.feature-columns,
.benefit-band {
  display: grid;
  gap: 16px;
}

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

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

.spec-grid article,
.feature-columns article,
.benefit-band article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(21, 44, 49, 0.92), rgba(13, 28, 32, 0.92));
}

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

.overview-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(21, 44, 49, 0.92), rgba(13, 28, 32, 0.92));
}

.overview-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.overview-copy {
  padding: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(21, 44, 49, 0.92), rgba(13, 28, 32, 0.92));
}

.related-card:hover,
.related-card:focus-visible {
  border-color: var(--line-strong);
}

.related-card p:first-child {
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.gallery-filter-group {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.gallery-filter-label {
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-filter {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 29, 33, 0.78);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.gallery-filter:hover,
.gallery-filter:focus-visible,
.gallery-filter.is-active {
  background: rgba(24, 209, 194, 0.16);
  border-color: var(--line-strong);
  color: var(--teal-soft);
}

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

.gallery-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(21, 44, 49, 0.92), rgba(13, 28, 32, 0.92));
}

.gallery-card[hidden] {
  display: none;
}

.gallery-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-copy {
  padding: 18px;
}

.gallery-copy h3 {
  margin-bottom: 10px;
  color: var(--text);
}

.gallery-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.gallery-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(24, 209, 194, 0.12);
  color: var(--teal-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-badge.media-video {
  background: rgba(255, 208, 77, 0.12);
  color: #ffd766;
}

.gallery-video-thumb {
  display: grid;
  place-items: center;
  width: 100%;
  height: 250px;
  background:
    linear-gradient(180deg, rgba(10, 20, 23, 0.6), rgba(10, 20, 23, 0.82)),
    radial-gradient(circle at center, rgba(24, 209, 194, 0.18), rgba(24, 209, 194, 0.02));
  color: var(--text);
}

.gallery-video-thumb span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(8, 18, 20, 0.86);
  font-size: 22px;
}

@media (max-width: 1080px) {
  h1 {
    max-width: 16ch;
    font-size: clamp(32px, 5.4vw, 42px);
  }

  body.has-sidebar {
    padding-left: 0;
  }

  .site-header {
    position: sticky;
    top: 0;
    left: auto;
    width: auto;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(138, 240, 230, 0.08);
    background: rgba(5, 12, 14, 0.84);
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 84px;
    padding: 0;
  }

  .sidebar-toggle {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .header-cta {
    margin-top: 0;
    width: auto;
  }

  .site-nav {
    display: none;
  }

  .hero-layout,
  .about-layout,
  .services-layout,
  .contact-layout,
  .product-hero-layout,
  .detail-grid,
  .application-grid,
  .process-grid,
  .hero-highlights,
  .hero-aside,
  .trust-grid,
  .product-grid,
  .overview-grid,
  .gallery-grid,
  .feature-columns,
  .benefit-band,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .product-card.featured {
    grid-column: auto;
  }

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

  .section-heading-centered h2,
  .section-heading-centered p:last-child {
    max-width: none;
  }
}

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

  .header-inner {
    min-height: 74px;
  }

  .brand img {
    width: 104px;
  }

  .header-cta {
    display: none;
  }

  .hero-section,
  .section {
    padding: 72px 0;
  }

  h1 {
    max-width: none;
    font-size: clamp(28px, 8.5vw, 36px);
  }

  .hero-image-card {
    min-height: 360px;
  }

  .hero-highlights,
  .hero-aside,
  .trust-grid,
  .application-grid,
  .process-grid,
  .service-grid,
  .feature-columns,
  .benefit-band {
    grid-template-columns: 1fr;
  }

  .service-visual img {
    min-height: 360px;
  }

  .product-hero-card,
  .product-hero-card img {
    min-height: 340px;
  }

  .service-note {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
