:root {
  color-scheme: dark;
  --bg: #07131f;
  --bg-deep: #040b13;
  --bg-soft: #0d1d2e;
  --panel: #102439;
  --panel-2: #152d45;
  --line: rgba(201, 216, 232, 0.14);
  --text: #edf4fb;
  --muted: #9eb1c4;
  --accent: #c7393f;
  --accent-strong: #e45e53;
  --accent-2: #2e6ea6;
  --white-panel: #f7fafc;
  --white-panel-2: #ffffff;
  --white-line: rgba(16, 27, 43, 0.08);
  --white-text: #0f1f32;
  --white-muted: #5f7288;
  --shadow: 0 28px 60px rgba(1, 9, 19, 0.28);
  --shadow-soft: 0 20px 45px rgba(8, 19, 31, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100vw - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(46, 110, 166, 0.25), transparent 28%),
    radial-gradient(circle at 88% 6%, rgba(199, 57, 63, 0.14), transparent 24%),
    linear-gradient(180deg, #07131f 0%, #0b1826 42%, #08111a 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 14, 24, 0.78);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  padding: 0.35rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.brand-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.brand-kicker,
.section-label,
.section-index,
.product-model {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-kicker {
  color: #8eb5db;
  font-size: 0.72rem;
  font-weight: 700;
}

.brand-copy strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.86rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.site-nav a,
.lang-switch button,
.ghost-button,
.primary-button {
  transition: 180ms ease;
}

.site-nav a {
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.lang-switch {
  display: inline-flex;
  padding: 0.22rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.lang-switch button {
  color: var(--muted);
  background: transparent;
  border-radius: 999px;
  padding: 0.62rem 0.92rem;
  cursor: pointer;
}

.lang-switch button.is-on {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.hero-section {
  padding: 2rem 0 3.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 1rem;
  align-items: stretch;
}

.hero-copy,
.hero-media,
.capability-card,
.summary-card,
.profile-facts,
.catalog-layout,
.contact-card,
.form-card,
.cert-card,
.modal-panel,
.sector-card {
  border-radius: var(--radius-xl);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  padding: 1.85rem;
  min-height: 560px;
  height: 100%;
  background:
    radial-gradient(circle at top right, rgba(199, 57, 63, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(18, 37, 58, 0.94), rgba(10, 24, 39, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.section-label {
  color: #9ac2e8;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-copy h1,
.section-head h2,
.catalog-copy h3,
.product-card h3,
.summary-card h3,
.capability-card h3,
.sector-card h3,
.modal-dialog h2,
.contact-card strong,
.form-card h3,
.cert-copy h3,
.site-footer h3 {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  font-size: clamp(2.35rem, 4vw, 3.9rem);
  line-height: 1.03;
  margin: 0.7rem 0 0.95rem;
  max-width: 12ch;
}

.hero-copy p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.76;
  margin: 0;
}

.hero-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: #b7c8d9;
}

.hero-actions,
.product-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions {
  margin-top: 1.25rem;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border: 1px solid transparent;
  box-shadow: 0 18px 35px rgba(199, 57, 63, 0.25);
}

.primary-button:hover {
  transform: translateY(-1px);
}

.ghost-button {
  color: var(--white-text);
  background: rgba(15, 31, 50, 0.06);
  border: 1px solid rgba(15, 31, 50, 0.09);
}

.hero-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.ghost-button:hover {
  background: rgba(15, 31, 50, 0.1);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.metric-card {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.metric-card strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.hero-media {
  display: block;
  min-height: 560px;
  height: 100%;
}

.hero-image {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  background: #0b1520;
}

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

.hero-image-large {
  height: 100%;
  min-height: 560px;
}

.hero-industrial .hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 18, 31, 0.1), rgba(7, 18, 31, 0.54)),
    linear-gradient(90deg, rgba(7, 18, 31, 0.1), rgba(7, 18, 31, 0.45));
}

.hero-overlay-card {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1;
  padding: 1rem 1.1rem;
  border-radius: 24px;
  background: rgba(9, 22, 36, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-overlay-card span {
  display: block;
  color: #9ac2e8;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  min-height: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  color: #eef5fb;
  font-size: 0.88rem;
  line-height: 1.6;
}

.section-dark,
.section-light {
  padding: 4rem 0;
}

.section-dark {
  background: rgba(3, 11, 20, 0.52);
}

.section-light {
  background: linear-gradient(180deg, #f6f9fc 0%, #edf3f8 100%);
  color: var(--white-text);
}

.section-profile {
  background:
    linear-gradient(180deg, #eff5fa 0%, #f7fafc 100%);
}

.section-head {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1rem 1.4rem;
  align-items: start;
  margin-bottom: 1.6rem;
}

.section-index {
  color: var(--accent);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.section-head p {
  max-width: 56rem;
  line-height: 1.75;
}

.section-dark .section-head p,
.capability-card p,
.site-footer p {
  color: var(--muted);
}

.section-light .section-head p,
.summary-card p,
.catalog-copy p,
.contact-card small,
.contact-card a,
.contact-card span,
.form-card p,
.product-summary,
.spec-row span,
.spec-row strong,
.fact-item span,
.fact-item strong,
.sector-card p {
  color: var(--white-muted);
}

.capability-grid,
.summary-grid,
.cert-grid,
.contact-grid,
.product-grid,
.sector-grid {
  display: grid;
  gap: 1rem;
}

.capability-grid,
.sector-grid,
.summary-grid,
.cert-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 36, 57, 0.96), rgba(10, 24, 39, 0.96));
  box-shadow: var(--shadow);
}

.card-accent {
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #ff8c63);
  margin-bottom: 1rem;
}

.capability-card h3,
.summary-card h3,
.catalog-copy h3,
.contact-card strong,
.form-card h3,
.cert-copy h3,
.sector-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.cert-copy h3 {
  color: var(--white-text);
}

.sector-card {
  overflow: hidden;
  background: var(--white-panel-2);
  border: 1px solid var(--white-line);
  box-shadow: var(--shadow-soft);
}

.sector-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.sector-card-copy {
  padding: 1.1rem;
}

.sector-card .ghost-button {
  margin-top: 1rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
}

.summary-grid {
  margin-top: 1.5rem;
}

.summary-card,
.profile-facts,
.catalog-sidebar,
.catalog-main,
.contact-card,
.form-card,
.cert-card,
.modal-panel {
  background: var(--white-panel);
  border: 1px solid var(--white-line);
  box-shadow: var(--shadow-soft);
}

.summary-card {
  padding: 1.3rem;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.fact-item {
  padding: 1rem 1.1rem;
  border: 1px solid var(--white-line);
  border-radius: var(--radius-lg);
  background: var(--white-panel);
  box-shadow: var(--shadow-soft);
}

.fact-wide {
  grid-column: 1 / -1;
}

.fact-item span {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.fact-item strong {
  display: block;
  font-size: 1rem;
  line-height: 1.7;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1rem;
  padding: 1rem;
}

.catalog-sidebar {
  padding: 1.2rem;
}

.catalog-sidebar h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.category-tabs {
  display: grid;
  gap: 0.8rem;
}

.category-tab {
  text-align: left;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--white-line);
  background: #fff;
  cursor: pointer;
}

.category-tab.is-on {
  border-color: rgba(199, 57, 63, 0.25);
  background: linear-gradient(180deg, #fff, #fff2f1);
  box-shadow: inset 0 0 0 1px rgba(199, 57, 63, 0.08);
}

.category-tab strong {
  display: block;
  color: var(--white-text);
  font-size: 1rem;
}

.category-tab span {
  display: block;
  color: var(--white-muted);
  font-size: 0.86rem;
  margin-top: 0.35rem;
  line-height: 1.6;
}

.catalog-main {
  padding: 1.2rem;
}

.catalog-hero {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 1rem;
}

.catalog-copy {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--white-line);
}

.catalog-copy p {
  margin: 0;
  line-height: 1.85;
}

.catalog-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-panel {
  margin-top: 1.1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(46, 110, 166, 0.1), rgba(199, 57, 63, 0.08));
}

.quote-panel strong {
  display: block;
  color: var(--white-text);
  margin-bottom: 0.35rem;
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.product-card {
  padding: 1.2rem;
  border: 1px solid var(--white-line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.product-head {
  display: grid;
  gap: 0.45rem;
}

.product-model {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
}

.product-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.02;
  color: var(--white-text);
}

.product-summary {
  margin: 0.8rem 0 1rem;
  line-height: 1.8;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.spec-pill {
  padding: 0.52rem 0.72rem;
  border-radius: 999px;
  background: rgba(15, 31, 50, 0.05);
  color: var(--white-muted);
  font-size: 0.82rem;
}

.product-actions {
  margin-top: 1rem;
}

.cert-card {
  overflow: hidden;
}

.cert-frame {
  padding: 1rem 1rem 0;
}

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

.cert-copy {
  padding: 1.1rem;
}

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

.contact-card,
.form-card {
  padding: 1.3rem;
}

.contact-group {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--white-line);
}

.contact-group:last-child {
  border-bottom: 0;
}

.contact-group span,
.contact-group small {
  display: block;
  font-size: 0.82rem;
}

.contact-group strong,
.contact-group a {
  display: block;
  font-size: 1rem;
  line-height: 1.8;
}

.mail-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
  margin-top: 1rem;
}

.mail-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--white-text);
  font-size: 0.92rem;
}

.mail-form input,
.mail-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 31, 50, 0.12);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0.85rem 0.95rem;
  color: var(--white-text);
}

.mail-form textarea {
  min-height: 148px;
  resize: vertical;
}

.field-wide {
  grid-column: 1 / -1;
}

.site-footer {
  padding: 2rem 0 1.2rem;
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
}

.site-footer h3 {
  margin: 0.45rem 0;
  font-size: 2rem;
}

.site-footer p {
  margin: 0;
  max-width: 44rem;
  line-height: 1.8;
}

.footer-links {
  align-items: center;
}

.footer-links a {
  color: var(--muted);
}

.footer-bottom {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 1rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 13, 22, 0.72);
  z-index: 80;
}

.modal.is-open {
  display: grid;
}

.modal-dialog {
  width: min(980px, calc(100vw - 1.2rem));
  max-height: calc(100vh - 1.2rem);
  overflow: auto;
  padding: 1.2rem;
  border-radius: 28px;
  background: #f6f9fc;
  color: var(--white-text);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.3);
}

.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.modal-head h2 {
  margin: 0.45rem 0 0;
  font-size: 2.1rem;
  line-height: 0.98;
}

.modal-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 31, 50, 0.08);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.modal-panel {
  padding: 1.2rem;
}

.modal-panel h3 {
  margin: 0 0 0.5rem;
  color: var(--white-text);
}

.modal-panel p {
  margin: 0 0 1rem;
  color: var(--white-muted);
  line-height: 1.8;
}

.spec-list {
  display: grid;
  gap: 0.7rem;
}

.spec-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0.8rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--white-line);
}

.cert-modal img {
  width: 100%;
  margin-top: 1rem;
  border-radius: var(--radius-lg);
}

@media (max-width: 1080px) {
  .header-inner,
  .hero-grid,
  .profile-grid,
  .catalog-layout,
  .catalog-hero,
  .contact-grid,
  .footer-inner,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 0.85rem 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .capability-grid,
  .sector-grid,
  .summary-grid,
  .cert-grid,
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-points,
  .profile-facts {
    grid-template-columns: 1fr;
  }

  .catalog-layout {
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: 0;
  }
}

@media (max-width: 760px) {
  .brand {
    width: 100%;
  }

  .brand-copy strong {
    font-size: 1.24rem;
    line-height: 1.05;
  }

  .hero-section {
    padding-top: 1.2rem;
  }

  .hero-copy,
  .catalog-main,
  .catalog-sidebar,
  .contact-card,
  .form-card {
    padding: 1.1rem;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    max-width: 9ch;
  }

  .metric-grid,
  .capability-grid,
  .sector-grid,
  .summary-grid,
  .cert-grid,
  .product-grid,
  .mail-form {
    grid-template-columns: 1fr;
  }

  .hero-media {
    display: block;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .hero-image-large {
    height: auto;
    min-height: 420px;
  }

  .hero-copy,
  .hero-media {
    min-height: auto;
  }

  .hero-overlay-card {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    padding: 0.9rem;
  }

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

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