@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
:root {
  --sky: #1e9cd7;
  --navy: #1f3864;
  --navy-dark: #14284a;
  --indigo: #2e3192;
  --text: #333;
  --muted: #777;
  --border: #e8ecf0;
  --bg-light: #f6f8fa;
  --shadow-sm: 0 1px 2px rgba(15, 35, 60, 0.05), 0 0 0 1px rgba(15, 35, 60, 0.04);
  --shadow-lg: 0 18px 44px rgba(15, 35, 60, 0.13);
}

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

body {
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.25; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #fff;
  padding: 9px 0;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.topbar svg { width: 16px; height: 16px; fill: rgba(255, 255, 255, 0.9); }

/* ---------- Header / Nav ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(15, 35, 60, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.25s;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(15, 35, 60, 0.1); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 30px;
  transition: min-height 0.25s;
}
.site-header.scrolled .header-inner { min-height: 68px; }
.logo img { height: 58px; width: auto; transition: height 0.25s; }
.site-header.scrolled .logo img { height: 48px; }

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: #222;
  transition: color 0.2s;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.current > a { color: var(--sky); }

.main-nav .has-sub > a::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 5px solid transparent;
  border-top-color: currentColor;
  vertical-align: middle;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
  z-index: 200;
}
.main-nav li:hover > .dropdown,
.main-nav li.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav > ul > li.has-sub > .dropdown {
  left: auto;
  right: 0;
}
.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.dropdown li:last-child > a { border-bottom: none; }
.dropdown a:hover { background: var(--bg-light); color: var(--sky); }
.dropdown .has-sub > a::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #999;
}
.dropdown .dropdown {
  top: 0;
  left: auto;
  right: 100%;
  transform: translateX(-8px);
}
.dropdown .dropdown.open,
.dropdown li:hover > .dropdown {
  transform: translateX(0);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  overflow: hidden;
  height: 500px;
}
.carousel .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.carousel .slide.active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}
.carousel .slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(238, 244, 248, 0.35);
}
.carousel .slide-caption {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 620px;
  color: #1f3864;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.5);
}
.carousel .slide-caption h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.carousel .slide-caption p { font-size: 18px; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--sky);
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  padding: 10px 14px;
  user-select: none;
  z-index: 10;
}
.carousel-arrow.prev { left: 8px; }
.carousel-arrow.next { right: 8px; }
.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #b9c6cc;
  cursor: pointer;
  padding: 0;
}
.carousel-dots button.active { background: var(--sky); }

/* ---------- About section (home) ---------- */
.about-section {
  background-color: #fff;
  background-image: radial-gradient(#eef2f6 1px, transparent 1px);
  background-size: 18px 18px;
  padding: 110px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}
.about-text .eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--sky);
  margin-bottom: 18px;
}
.about-text h1 {
  font-size: 40px;
  color: #0f2038;
  line-height: 1.2;
  margin-bottom: 26px;
}
.about-text p { margin-bottom: 20px; color: #4a5560; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { background: var(--navy-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(15, 35, 60, 0.25); }
.btn svg { width: 18px; height: 18px; fill: #fff; }
.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* ---------- Contact banner ---------- */
.contact-banner {
  position: relative;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.contact-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 32, 56, 0.55), rgba(15, 32, 56, 0.1));
}
.contact-banner h2 {
  position: relative;
  color: rgba(255, 255, 255, 0.95);
  font-size: 56px;
  font-weight: 300;
  letter-spacing: 0;
  padding-left: 8%;
}

/* ---------- Contact section ---------- */
.contact-section {
  background: var(--navy);
  background-image: linear-gradient(160deg, #22406f 0%, #1a2f54 60%, #14284a 100%);
  color: #fff;
  padding: 110px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-size: 34px;
  margin-bottom: 60px;
  color: #fff;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 45px;
}
.contact-item svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  flex-shrink: 0;
  margin-top: 6px;
}
.contact-item h3 { font-size: 22px; margin-bottom: 12px; }
.contact-item p, .contact-item a { color: #e8ecf5; font-size: 17px; }

.inquiry-card {
  background: #fff;
  border-radius: 14px;
  padding: 45px 40px;
  color: var(--text);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.inquiry-card h2 {
  font-size: 30px;
  color: #111;
  margin-bottom: 28px;
}
.inquiry-card input,
.inquiry-card textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d6dbe0;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 18px;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.inquiry-card input:focus,
.inquiry-card textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(30, 156, 215, 0.15);
}
.inquiry-card textarea { min-height: 110px; resize: vertical; }
.inquiry-card .btn { width: auto; }
.form-status { margin-top: 14px; font-weight: 600; display: none; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: #c0392b; }

/* ---------- Page title band ---------- */
.page-title {
  background: var(--navy);
  background-image: linear-gradient(135deg, #26497e 0%, #1f3864 55%, #16305a 100%);
  color: #fff;
  text-align: center;
  padding: 90px 20px;
}
.page-title .small {
  font-size: 20px;
  font-weight: 400;
  opacity: 0.85;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.page-title h1 { font-size: 40px; overflow-wrap: break-word; }

/* ---------- About page ---------- */
.intro-section { padding: 100px 0 60px; }
.intro-section h1 {
  font-size: 34px;
  color: #0f2038;
  margin-bottom: 8px;
}
.intro-section .sub {
  font-size: 26px;
  color: #0f2038;
  margin-bottom: 26px;
}
.intro-section p { margin-bottom: 18px; max-width: 900px; color: #4a5560; }

.vision-section { padding: 30px 0 70px; }
.vision-section h2 { font-size: 28px; color: #0f2038; margin-bottom: 14px; }
.vision-section p { max-width: 900px; color: #4a5560; }

.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 30px 0 110px;
}
.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 38px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-card .icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(30, 156, 215, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.feature-card .icon svg { width: 26px; height: 26px; fill: var(--sky); }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; color: #0f2038; }
.feature-card p { font-size: 15px; color: #5a6673; }

.values-section {
  background: var(--bg-light);
  padding: 110px 0;
}
.values-section h2 {
  text-align: center;
  font-size: 32px;
  color: #0f2038;
  margin-bottom: 60px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.value-item {
  text-align: center;
  padding: 0 12px;
}
.value-item .num {
  width: 66px;
  height: 66px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(30, 156, 215, 0.12);
  color: var(--sky);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-item h3 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #0f2038;
  margin-bottom: 12px;
}
.value-item p { font-size: 15px; color: #5a6673; }

/* ---------- Product listing ---------- */
.product-page {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
  padding: 90px 20px 110px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card .thumb {
  aspect-ratio: 1;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card h3 {
  font-size: 16px;
  text-align: center;
  padding: 18px 12px 22px;
  color: #0f2038;
}
.product-card h3 a:hover { color: var(--sky); }

.sidebar .widget {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.sidebar .widget h3 {
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #0f2038;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--sky);
}
.sidebar .widget ul li {
  border-bottom: 1px dashed var(--border);
}
.sidebar .widget ul li:last-child { border-bottom: none; }
.sidebar .widget ul a {
  display: block;
  padding: 9px 0;
  font-size: 15px;
  color: #444;
}
.sidebar .widget ul a:hover { color: var(--sky); }
.sidebar .widget .contact-line {
  display: flex;
  gap: 10px;
  font-size: 15px;
  margin-bottom: 12px;
  color: #444;
  word-break: break-all;
}
.sidebar .widget .contact-line svg {
  width: 17px;
  height: 17px;
  fill: var(--sky);
  flex-shrink: 0;
  margin-top: 5px;
}

/* ---------- Product detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 60px;
  padding: 90px 20px 50px;
  align-items: start;
}
.product-gallery {
  background: var(--bg-light);
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
  box-shadow: var(--shadow-sm);
}
.product-gallery img { width: 100%; max-width: 100%; height: auto; display: block; }
.product-summary { min-width: 0; overflow-wrap: break-word; }
.product-summary h1 {
  font-size: 34px;
  color: #0f2038;
  margin-bottom: 16px;
}
.product-summary .spec-brief {
  color: #5a6673;
  margin-bottom: 26px;
}
.related h2 {
  font-size: 22px;
  color: #0f2038;
  margin: 8px 0 6px;
}
.related .note { font-size: 13px; color: #999; margin-bottom: 16px; }
.related-list { display: grid; gap: 12px; margin-bottom: 26px; }
.related-list a {
  display: block;
  min-width: 0;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.related-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.related-list .r-title { font-weight: 600; color: #0f2038; font-size: 15px; }
.related-list .r-spec {
  font-size: 13px;
  color: #7a8794;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.description-section { padding: 20px 20px 110px; }
.description-section .tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 30px;
}
.description-section .tab {
  padding: 13px 26px;
  font-weight: 600;
  font-size: 15px;
  color: #7a8794;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color 0.2s;
}
.description-section .tab.active {
  color: var(--navy);
  border-bottom-color: var(--sky);
}
.spec-table-wrap { overflow-x: auto; }
table.spec-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.spec-table th,
.spec-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.spec-table th { background: var(--bg-light); color: #111; white-space: nowrap; }
.spec-table td { max-width: 320px; }
.props { margin-top: 34px; }
.props h3 { font-size: 20px; color: #111; margin-bottom: 12px; }
.props ul { list-style: disc; padding-left: 22px; }
.props li { margin-bottom: 8px; }
.props p { margin-bottom: 12px; }

.empty-note {
  background: var(--bg-light);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  color: #777;
}

/* ---------- Text page (privacy) ---------- */
.text-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 90px 20px 110px;
}
.text-page h1 { font-size: 34px; color: #0f2038; margin-bottom: 24px; }
.text-page h2 {
  font-size: 22px;
  color: #0f2038;
  margin: 34px 0 12px;
}
.text-page h3 { font-size: 18px; color: #0f2038; margin: 24px 0 10px; }
.text-page p, .text-page ul { margin-bottom: 14px; }
.text-page ul { list-style: disc; padding-left: 22px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #101f38;
  color: #b9c4d6;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr;
  gap: 50px;
  padding: 70px 20px 55px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 20px;
}
.footer-col p { font-size: 14.5px; line-height: 1.8; }
.footer-col ul a {
  display: inline-block;
  padding: 5px 0;
  font-size: 14.5px;
  color: #9dafc7;
  transition: color 0.2s, transform 0.2s;
}
.footer-col ul a:hover { color: #fff; transform: translateX(3px); }
.footer-brand .f-name {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14.5px;
  color: #9dafc7;
}
.footer-contact svg { width: 16px; height: 16px; fill: var(--sky); flex-shrink: 0; margin-top: 4px; }
.footer-contact a { color: #9dafc7; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  text-align: center;
  font-size: 13.5px;
  color: #7f92ad;
}
.footer-bottom a { color: #a9bad2; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .carousel .slide.active { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
  .product-gallery { max-width: 460px; }
  .feature-cards, .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 10px 20px 20px; }
  .main-nav > ul > li > a { padding: 12px 0; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    padding-left: 16px;
  }
  .dropdown .dropdown { position: static; padding-left: 16px; transform: none; }
  .main-nav li.open > .dropdown { display: block; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-page { grid-template-columns: 1fr; }
  .carousel { height: 380px; }
  .carousel .slide-caption h2 { font-size: 30px; }
  .contact-banner h2 { font-size: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; padding: 55px 20px 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .product-grid, .feature-cards, .values-grid { grid-template-columns: 1fr; }
  .about-text h1 { font-size: 30px; }
  .about-section, .contact-section { padding: 70px 0; }
  .page-title { padding: 55px 20px; }
  .product-page, .product-detail, .description-section, .text-page { padding-top: 55px; padding-bottom: 70px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
