@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap");

:root {
  --ink: #101820;
  --muted: #5f6973;
  --line: #d8dde2;
  --paper: #f6f7f8;
  --white: #ffffff;
  --steel: #273746;
  --blue: #005d8f;
  --cyan: #11a3c7;
  --green: #5c8a2d;
  --orange: #d86f28;
  --shadow: 0 18px 50px rgba(16, 24, 32, 0.14);
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-weight: 400;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(16, 24, 32, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  width: 174px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #25313b;
  font-size: 15px;
  font-weight: 500;
}

.site-nav a,
.site-nav button {
  text-decoration: none;
}

.site-nav button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav button:hover {
  color: var(--blue);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.nav-dropdown-trigger::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 8px;
  border-top: 5px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.nav-dropdown::after {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  width: 270px;
  height: 18px;
  content: "";
}

.nav-dropdown:hover::after {
  display: block;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  display: none;
  min-width: 270px;
  padding: 18px 10px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: transform 180ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: grid;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  padding: 12px 14px;
  color: var(--ink);
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
}

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

.nav-dropdown-menu a:hover {
  background: var(--paper);
}

.nav-cta {
  padding: 12px 18px;
  background: var(--blue);
  color: var(--white);
}

.nav-cta:hover {
  color: var(--white) !important;
  background: #00476d;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.lang-button {
  min-width: 38px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.lang-button.is-active {
  background: var(--blue);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--ink);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  min-height: 620px;
  padding: 110px 7vw 120px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.hero-slide::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 13, 21, 0.88) 0%, rgba(4, 13, 21, 0.7) 38%, rgba(4, 13, 21, 0.25) 100%),
    var(--hero-image) center / cover;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-content {
  position: relative;
  width: min(680px, 100%);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 400;
}

.hero p:not(.eyebrow) {
  width: min(580px, 100%);
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: var(--cyan);
  color: var(--ink);
}

.button.secondary {
  background: var(--ink);
  color: var(--white);
}

.hero-controls {
  position: absolute;
  left: 7vw;
  bottom: 38px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 44px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--cyan);
}

.section {
  padding: 90px 7vw;
}

.page-hero {
  display: grid;
  min-height: 360px;
  align-items: end;
  padding: 96px 7vw 70px;
  background:
    linear-gradient(90deg, rgba(4, 13, 21, 0.9), rgba(4, 13, 21, 0.58)),
    var(--page-image) center / cover;
  color: var(--white);
}

.page-hero h1 {
  width: min(850px, 100%);
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 400;
}

.page-hero p:not(.eyebrow) {
  width: min(720px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.55;
}

.text-block {
  max-width: 850px;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.detail-item {
  padding: 28px;
  background: var(--white);
  border-left: 5px solid var(--blue);
  box-shadow: 0 1px 0 rgba(16, 24, 32, 0.08);
}

.detail-item h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 500;
}

.detail-item p,
.detail-item ul {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.detail-item ul {
  padding-left: 18px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading.split {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: end;
}

.section-heading h2,
.support-copy h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 400;
}

.section-heading p:not(.eyebrow),
.support-copy p,
.contact-section p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.explore-section {
  background: var(--paper);
}

.explore-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.feature-tile {
  min-height: 236px;
  padding: 28px;
  background: var(--white);
  border-top: 4px solid var(--blue);
  box-shadow: 0 1px 0 rgba(16, 24, 32, 0.08);
}

.feature-tile.large {
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
}

.feature-tile.large img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.feature-tile.large div {
  padding: 30px;
}

.feature-tile h3,
.product-card h3,
.support-steps h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 500;
}

.feature-tile p,
.product-card p,
.support-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-tile a {
  display: inline-block;
  margin-top: 20px;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.product-card {
  min-height: 246px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.product-card:hover {
  background: #f7fbfd;
}

.product-select-card {
  display: block;
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.product-select-card.is-active {
  position: relative;
  background: #eef8fb;
  box-shadow: inset 0 0 0 2px var(--cyan);
}

.product-select-card.is-active::after {
  position: absolute;
  right: 24px;
  bottom: 24px;
  content: "View";
  padding: 7px 10px;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-number {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--orange);
  font-weight: 700;
}

.product-visuals-section {
  background: var(--paper);
}

.product-category-list {
  display: grid;
  gap: 28px;
}

.product-category {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(16, 24, 32, 0.08);
  box-shadow: 0 1px 0 rgba(16, 24, 32, 0.08);
}

.product-category[hidden] {
  display: none;
}

.single-category {
  max-width: 1180px;
  margin: 0 auto;
}

.category-heading {
  display: grid;
  align-content: start;
}

.category-heading .product-number {
  margin-bottom: 48px;
}

.category-heading h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  font-weight: 400;
}

.category-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.category-product-card {
  display: grid;
  min-height: 150px;
  align-content: end;
  gap: 12px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(0, 93, 143, 0.05), rgba(17, 163, 199, 0.035)),
    var(--white);
  border: 1px solid var(--line);
}

.category-product-card.with-image {
  min-height: 260px;
}

.category-product-card.no-image {
  background:
    linear-gradient(135deg, rgba(0, 93, 143, 0.06), rgba(216, 111, 40, 0.05)),
    var(--white);
}

.category-product-card.no-image::before {
  content: "";
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border: 3px solid rgba(0, 93, 143, 0.28);
}

.category-product-image {
  display: grid;
  min-height: 178px;
  place-items: center;
}

.category-product-image img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(16, 24, 32, 0.16));
}

.category-product-card span {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.22;
}

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 64px;
  background: var(--paper);
}

.support-copy {
  align-self: start;
}

.support-steps {
  display: grid;
  gap: 16px;
}

.support-steps div {
  padding: 28px;
  background: var(--white);
  border-left: 5px solid var(--green);
  box-shadow: 0 1px 0 rgba(16, 24, 32, 0.08);
}

.support-steps strong {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 60px;
  padding: 90px 7vw;
  background: var(--steel);
  color: var(--white);
}

.contact-page-section {
  display: block;
  background: var(--paper);
  color: var(--ink);
}

.contact-intro {
  max-width: 840px;
  margin-bottom: 42px;
}

.contact-page-section .eyebrow {
  color: var(--blue);
}

.contact-page-section p {
  color: var(--muted);
}

.contact-box-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.contact-box {
  background: var(--white);
  border: 1px solid rgba(16, 24, 32, 0.09);
  box-shadow: 0 1px 0 rgba(16, 24, 32, 0.08);
}

.inquiry-form {
  display: grid;
  gap: 18px;
  padding: 34px;
}

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

.form-row label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fbfcfd;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 93, 143, 0.12);
}

.form-submit {
  justify-self: start;
  min-width: 140px;
  border: 0;
  cursor: pointer;
}

.contact-info-stack {
  display: grid;
  gap: 18px;
}

.contact-note,
.contact-office,
.contact-service {
  display: grid;
  gap: 12px;
  padding: 28px;
}

.contact-office h3,
.contact-service h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
}

.contact-note p,
.contact-office p,
.contact-service p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-office a {
  overflow-wrap: anywhere;
  color: var(--blue);
  font-weight: 500;
  text-decoration: none;
}

.contact-office a:hover {
  text-decoration: underline;
}

.contact-section .eyebrow,
.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-page-section .eyebrow {
  color: var(--blue);
}

.contact-page-section p {
  color: var(--muted);
}

.contact-card {
  display: grid;
  gap: 18px;
  align-self: start;
  padding: 34px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-card a,
.contact-card span {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 7vw;
  background: #07111b;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 24px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 24px;
    left: 24px;
    display: none;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .nav-dropdown {
    display: grid;
    gap: 8px;
  }

  .nav-dropdown::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 8px;
    box-shadow: none;
    transform: none;
  }

  .nav-dropdown-menu a {
    padding: 10px 12px;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
  }

  .explore-grid,
  .product-grid,
  .product-category,
  .category-items,
  .detail-list,
  .support-section,
  .contact-section,
  .contact-box-grid,
  .section-heading.split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 0 16px;
  }

  .brand-logo {
    width: 138px;
    max-height: 44px;
  }

  .site-nav {
    top: 68px;
    right: 16px;
    left: 16px;
  }

  .hero,
  .hero-slide {
    min-height: 590px;
  }

  .hero-slide {
    padding: 88px 22px 96px;
  }

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

  .hero p:not(.eyebrow) {
    font-size: 17px;
  }

  .hero-controls {
    left: 22px;
  }

  .section,
  .contact-section {
    padding: 68px 22px;
  }

  .feature-tile,
  .product-card,
  .support-steps div,
  .contact-card,
  .inquiry-form,
  .contact-note,
  .contact-office,
  .contact-service {
    padding: 24px;
  }

  .feature-tile.large img {
    height: 240px;
  }

  .site-footer {
    display: grid;
    padding: 24px 22px;
  }
}

/* Final dropdown guard: keep product menu hidden unless explicitly opened. */
.nav-dropdown-menu {
  display: none;
}

@media (min-width: 981px) {
  .nav-dropdown:hover > .nav-dropdown-menu {
    display: grid;
  }
}

@media (max-width: 980px) {
  .nav-dropdown:hover > .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown.is-open > .nav-dropdown-menu {
    display: grid;
  }
}
