:root {
  --ink: #18212d;
  --muted: #667386;
  --line: #dfe7ef;
  --soft: #f5f8fb;
  --blue: #1676b8;
  --blue-dark: #0d4163;
  --steel: #6b7886;
  --white: #ffffff;
  --shadow: 0 20px 54px rgba(15, 41, 64, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

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

figure {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(223, 231, 239, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  color: #2c3949;
  font-size: 15px;
  font-weight: 700;
}

.primary-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.primary-nav a:hover {
  color: var(--blue);
}

.header-cta,
.button,
.contact-form button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  font-weight: 800;
}

.header-cta {
  flex: 0 0 auto;
  padding: 0 18px;
  color: var(--white);
  background: var(--blue);
}

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  overflow: hidden;
  color: var(--white);
  background: #0c263a;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  display: grid;
  align-items: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 900ms ease, transform 7200ms ease;
  background-position: center;
  background-size: cover;
}

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

.hero-slide-one {
  background-image: url("https://images.unsplash.com/photo-1513828583688-c52646db42da?auto=format&fit=crop&w=2200&q=88");
}

.hero-slide-two {
  background-image: url("https://images.unsplash.com/photo-1600566752355-35792bedcfea?auto=format&fit=crop&w=2200&q=88");
}

.hero-slide-three {
  background-image: url("https://images.unsplash.com/photo-1581092335397-9583eb92d232?auto=format&fit=crop&w=2200&q=88");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 26, 41, 0.82) 0%, rgba(10, 46, 70, 0.62) 46%, rgba(10, 46, 70, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 26, 41, 0.15) 0%, rgba(7, 26, 41, 0.42) 100%);
}

.hero-copy {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 6vw, 92px);
  padding: 72px 0 190px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-section .eyebrow {
  color: #9ed7ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 660px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

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

.button {
  padding: 0 24px;
}

.wp-block-button.button {
  padding: 0;
}

.wp-block-button.button .wp-block-button__link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font-weight: 800;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(3, 17, 28, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-arrow:hover {
  color: #fff;
  background: rgba(22, 118, 184, 0.52);
}

.hero-prev {
  left: clamp(14px, 2.3vw, 34px);
}

.hero-next {
  right: clamp(14px, 2.3vw, 34px);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 34px;
  z-index: 5;
  width: min(620px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero-panel div {
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-panel div:last-child {
  border-right: 0;
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  margin-bottom: 5px;
  font-size: 28px;
  line-height: 1;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.hero-dots {
  position: absolute;
  left: clamp(20px, 6vw, 92px);
  bottom: 56px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 36px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dots button.is-active {
  width: 52px;
  background: #fff;
}

.section {
  padding: 92px clamp(20px, 5vw, 72px);
}

.section-head {
  max-width: 790px;
  margin-bottom: 40px;
}

.section-head h2,
.about-content h2,
.contact-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.14;
  letter-spacing: 0;
}

.section-head p,
.about-content p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
}

.product-section {
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

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

.category-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(15, 41, 64, 0.08);
}

.category-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.category-card > div,
.category-card-content {
  padding: 22px;
}

.category-card span,
.category-label {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.category-card h3 {
  margin-bottom: 9px;
  font-size: 22px;
  line-height: 1.24;
}

.category-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.category-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue-dark);
  font-weight: 900;
}

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

.featured-card img {
  aspect-ratio: 16 / 9;
}

.featured-card h3 {
  font-size: 30px;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
  padding: 96px clamp(20px, 5vw, 72px);
  background: #fff;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  min-width: 210px;
  padding: 22px;
  color: #fff;
  border-radius: 8px;
  background: rgba(13, 65, 99, 0.88);
  backdrop-filter: blur(10px);
}

.about-badge strong,
.about-badge span {
  display: block;
}

.about-badge strong {
  font-size: 26px;
}

.about-badge span {
  color: rgba(255, 255, 255, 0.76);
}

.about-points {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.about-points div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.about-points strong {
  color: var(--blue);
  font-size: 20px;
}

.about-points span {
  color: #3c4a5a;
  font-weight: 700;
}

.case-section {
  background: var(--soft);
}

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

.case-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 8px;
  background: #0d4163;
  box-shadow: var(--shadow);
}

.case-card img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  transition: transform 400ms ease;
}

.case-card figure {
  height: 100%;
}

.case-card:hover img {
  transform: scale(1.04);
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 41, 0.05), rgba(7, 26, 41, 0.78));
}

.case-card > div,
.case-card-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
}

.case-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #bde5ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-card h3 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.22;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: start;
  padding: 96px clamp(20px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 26, 41, 0.94), rgba(13, 65, 99, 0.88)),
    url("https://images.unsplash.com/photo-1581092160562-40aa08e78837?auto=format&fit=crop&w=1800&q=86") center / cover;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

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

.contact-form label span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 6px;
  background: #fff;
}

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

.full-field,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form button {
  color: #fff;
  border: 0;
  background: var(--blue);
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: #c8d5df;
  background: #071a29;
}

.site-footer span {
  color: #8fa4b5;
}

@media (max-width: 1100px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .case-card,
  .case-card img {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: auto;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .primary-nav {
    order: 3;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero {
    min-height: 760px;
  }

  .hero-copy {
    margin-left: 20px;
    padding-top: 80px;
    padding-bottom: 260px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-panel {
    left: 20px;
    right: 20px;
    grid-template-columns: 1fr;
  }

  .hero-panel div {
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-panel div:last-child {
    border-bottom: 0;
  }

  .hero-dots {
    bottom: 232px;
  }

  .section,
  .about-section,
  .contact-section {
    padding-top: 66px;
    padding-bottom: 66px;
  }

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

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

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

  .site-footer {
    flex-direction: column;
  }
}

.product-hero {
  padding: 74px clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(16, 43, 64, 0.86), rgba(47, 143, 216, 0.52)),
    linear-gradient(135deg, #f7fcff 0%, #dff4ff 52%, #b6e6ff 100%);
  color: #fff;
}

.product-hero h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
}

.product-hero p {
  max-width: 820px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.catalog-overview {
  display: grid;
  gap: 24px;
}

.catalog-category-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(24, 60, 92, 0.07);
}

.catalog-category-card img,
.catalog-card img,
.detail-image,
.thumb-row img {
  background: #f6fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.catalog-category-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.catalog-category-card h2 {
  margin-bottom: 10px;
  font-size: 32px;
  line-height: 1.16;
}

.catalog-category-card p {
  color: var(--muted);
}

.product-layout,
.product-detail-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.product-sidebar {
  position: sticky;
  top: 112px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(24, 60, 92, 0.06);
}

.product-sidebar h3 {
  margin-bottom: 16px;
  font-size: 20px;
}

.product-sidebar a {
  display: block;
  padding: 13px 14px;
  border-top: 1px solid var(--line);
  color: #334155;
  font-weight: 700;
}

.product-sidebar a:hover,
.product-sidebar a.is-active {
  color: var(--blue-dark);
  background: #eef8ff;
}

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

.catalog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(24, 60, 92, 0.07);
}

.catalog-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-width: 0 0 1px;
  border-radius: 0;
}

.catalog-card div {
  padding: 20px;
}

.catalog-card span,
.product-code {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.catalog-card p {
  color: var(--muted);
  font-size: 15px;
}

.text-link {
  color: var(--blue-dark);
  font-weight: 800;
}

.product-detail {
  min-width: 0;
}

.detail-main {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 42px;
}

.detail-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.thumb-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.detail-summary {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(24, 60, 92, 0.07);
}

.detail-summary h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
}

.detail-summary p {
  color: var(--muted);
}

.detail-points {
  margin: 20px 0 26px;
  padding-left: 20px;
  color: #405164;
}

.detail-points li {
  margin-bottom: 9px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-section {
  margin-bottom: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-section h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

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

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

.feature-list div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef8ff;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  margin-bottom: 8px;
  color: var(--blue-dark);
}

.feature-list span {
  color: var(--muted);
  font-size: 15px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 220px;
  color: #253244;
  background: #f6fbff;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

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

.product-inquiry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 48px clamp(20px, 5vw, 72px);
  color: #fff;
  background: #102b40;
}

.product-inquiry h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 40px);
}

.product-inquiry p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.product-contact {
  display: grid;
  gap: 10px;
}

.product-contact a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .catalog-grid,
  .catalog-category-card,
  .product-layout,
  .product-detail-layout,
  .detail-main,
  .feature-list,
  .product-inquiry {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .catalog-grid,
  .feature-list,
  .thumb-row {
    grid-template-columns: 1fr;
  }
}
