:root {
  --primary: #359bff;
  --accent: #2292ff;
  --primary-dark: #1078df;
  --primary-deep: #0f4f87;
  --primary-pale: #f1f8ff;
  --ink: #17324b;
  --muted: #607487;
  --line: #dceaf6;
  --white: #fff;
  --shell: min(1180px, calc(100% - 80px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Serif TC", serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 50;
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(40px, calc((100vw - 1400px) / 2));
  background: rgba(255, 255, 255, 0.97);
  border-top: 4px solid var(--accent);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.site-header .wordmark {
  font-size: 22px;
  font-weight: 700;
  align-items: baseline;
}

.wordmark-main,
.wordmark-suffix {
  font-family: "PingFang TC", "Microsoft JhengHei", "Heiti TC", "Noto Sans TC", sans-serif;
  letter-spacing: 0;
}

.wordmark-main {
  font-size: 1.3em;
  font-weight: 900;
  color: var(--primary);
}

.wordmark-suffix {
  font-size: 0.72em;
  font-weight: 700;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.main-nav > a:not(.nav-contact) {
  position: relative;
}

.main-nav > a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav > a:hover::after {
  transform: scaleX(1);
}

.main-nav > a.is-active:not(.nav-contact)::after {
  transform: scaleX(1);
}

.nav-contact.is-active {
  background: var(--primary-dark);
}

.nav-contact {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 22px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--white);
  background: var(--primary);
}

.nav-contact:hover {
  background: var(--primary-dark);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d8ebfa;
}

@media (min-width: 1600px) {
  .hero {
    aspect-ratio: unset;
    height: 700px;
  }
}

.hero-track,
.hero-slide {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.025);
  transition: opacity 0.8s ease, transform 1.2s ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-panel {
  position: relative;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.hero-panel:first-child::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(53, 155, 255, 0.08), transparent 60%);
  content: "";
}

.hero-panel img {
  height: 100%;
  object-fit: cover;
}

.hero-panel-team img {
  object-position: center 48%;
}

.hero-panel-partnership img {
  object-position: center;
}

.hero-controls {
  position: absolute;
  z-index: 5;
  right: 50px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.circle-control {
  display: inline-grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(23, 50, 75, 0.28);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.circle-control:hover {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 4px;
}

.hero-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot.is-active {
  width: 26px;
  background: var(--accent);
}

.hero-index {
  position: absolute;
  z-index: 5;
  bottom: 32px;
  left: 50px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(16, 48, 74, 0.25);
}

.hero-index strong {
  font-size: 32px;
  font-weight: 500;
}

.hero-index span {
  font-size: 13px;
  letter-spacing: 0.1em;
}

.intro-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(70px, 10vw, 150px);
  align-items: center;
  padding-block: 125px 135px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.section-heading h1,
.section-heading h2,
.about-panel h2,
.contact-inner h2 {
  margin: 0;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.section-heading h1 {
  font-size: clamp(38px, 4vw, 58px);
}

.section-heading h1 span {
  color: var(--primary);
}

.section-heading h2 {
  font-size: clamp(34px, 3.4vw, 52px);
}

.intro-copy {
  max-width: 600px;
}

.intro-copy p {
  margin: 0 0 32px;
  color: var(--muted);
  line-height: 2.1;
}

.text-button,
.light-button {
  display: inline-flex;
  min-width: 190px;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.text-button {
  color: var(--white);
  background: var(--ink);
}

.text-button:hover,
.light-button:hover {
  background: var(--primary-dark);
}

.products-section {
  padding: 100px 0 120px;
  background: linear-gradient(180deg, var(--primary-pale) 0 74%, var(--white) 74%);
}

.products-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 42px;
}

.product-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-counter {
  min-width: 82px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.product-counter strong {
  color: var(--accent);
  font-size: 20px;
  font-weight: 500;
}

.product-viewport {
  width: calc(100% - max(40px, calc((100vw - 1180px) / 2)));
  margin-left: max(40px, calc((100vw - 1180px) / 2));
  overflow: hidden;
}

.product-track {
  display: flex;
  gap: 22px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.product-card {
  position: relative;
  flex: 0 0 min(350px, calc((100vw - 130px) / 3.25));
  min-width: 0;
  padding-bottom: 26px;
  background: var(--white);
}

.product-image {
  height: 350px;
  overflow: hidden;
}

.product-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.045);
}

.product-card h3 {
  margin: 24px 26px 8px;
  font-size: 22px;
  font-weight: 600;
}

.product-card p {
  min-height: 55px;
  margin: 0 60px 0 26px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.product-card > a {
  position: absolute;
  right: 22px;
  bottom: 28px;
  color: var(--accent);
}

.about-section {
  position: relative;
  padding: 135px 0 155px;
  overflow: hidden;
  background: var(--primary-pale);
}

.orbit {
  position: absolute;
  border: 2px solid rgba(53, 155, 255, 0.12);
  border-radius: 50%;
}

.orbit-one {
  top: 10%;
  left: -9%;
  width: 880px;
  height: 880px;
}

.orbit-two {
  right: -18%;
  bottom: -30%;
  width: 760px;
  height: 760px;
}

.about-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  grid-template-rows: auto auto;
  align-items: end;
}

.about-photo {
  grid-column: 1 / -1;
  height: 500px;
  margin-left: 13%;
  overflow: hidden;
}

.about-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.about-panel {
  z-index: 2;
  min-height: 460px;
  margin-top: -240px;
  padding: 66px 64px 60px;
  color: var(--white);
  background: var(--primary);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.76);
}

.about-panel h2 {
  font-size: clamp(32px, 3vw, 46px);
}

.about-panel > p:not(.eyebrow) {
  max-width: 480px;
  margin: 24px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.about-tags span {
  padding: 7px 15px;
  color: var(--white);
  background: var(--primary-deep);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.light-button {
  color: var(--ink);
  background: var(--white);
}

.light-button:hover {
  color: var(--white);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
}

.about-values article {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: center;
  padding: 25px 28px;
  border-right: 1px solid var(--line);
}

.about-values article:last-child {
  border-right: 0;
}

.about-values i {
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 20px;
}

.about-values span {
  font-size: 15px;
  font-weight: 600;
}

.about-values small {
  color: #8ca0b1;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-section {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: var(--white);
  background: var(--primary);
}

.contact-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 42, 75, 0.98), rgba(15, 79, 135, 0.94)),
    url("../images/banner-partnership.jpg") center / cover;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 430px;
  grid-template-columns: 1fr 0.85fr auto;
  gap: 70px;
  align-items: center;
}

.contact-inner h2 {
  font-size: clamp(38px, 4vw, 58px);
}

.contact-inner > p {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.contact-link {
  display: grid;
  width: 145px;
  height: 145px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  font-size: 13px;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.contact-link i {
  margin-top: -34px;
}

.contact-link:hover {
  color: var(--primary);
  background: var(--white);
  transform: translateX(6px);
}

.site-footer {
  color: var(--white);
  background: #0f4f87;
}

.footer-main {
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.footer-brand p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.footer-nav {
  display: flex;
  gap: 54px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer-nav a:hover,
.footer-bottom a:hover {
  color: #d8edff;
}

.footer-bottom {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--white);
}

.inner-page {
  min-height: 70vh;
}

.page-hero {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  background: linear-gradient(120deg, #f6fbff 0%, var(--primary-pale) 100%);
}

.page-hero::after {
  position: absolute;
  top: 0;
  right: 7%;
  width: 1px;
  height: 100%;
  background: rgba(34, 146, 255, 0.22);
  content: "";
}

.page-hero-orbit {
  position: absolute;
  top: -485px;
  right: -80px;
  width: 720px;
  height: 720px;
  border: 2px solid rgba(34, 146, 255, 0.14);
  border-radius: 50%;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 250px;
  align-items: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.25;
}

.page-hero-inner > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.breadcrumb {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 13px;
  color: #8195a6;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.breadcrumb a {
  color: var(--ink);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb i {
  color: var(--accent);
  font-size: 8px;
}

.catalog-section {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(52px, 7vw, 92px);
  align-items: start;
  padding-block: 100px 140px;
}

.catalog-sidebar {
  position: sticky;
  top: 28px;
}

.catalog-sidebar-heading {
  margin-bottom: 34px;
}

.catalog-sidebar-heading h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
}

.category-toggle {
  display: none;
}

.category-list {
  border-top: 1px solid var(--line);
}

.category-item {
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  padding: 0 4px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-size: 14px;
}

.category-item::before {
  width: 0;
  height: 2px;
  background: var(--accent);
  content: "";
}

.category-item.is-active {
  color: var(--primary-deep);
}

.category-item.is-active::before {
  width: 20px;
  margin-right: 12px;
}

.catalog-support {
  margin-top: 42px;
  padding: 30px 26px;
  color: var(--white);
  background: var(--primary-deep);
}

.catalog-support i {
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 21px;
}

.catalog-support p {
  margin: 0 0 5px;
  font-size: 13px;
}

.catalog-support a {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 15px;
}

.catalog-toolbar {
  display: flex;
  min-height: 68px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.catalog-toolbar h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
}

.catalog-toolbar p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 62px 30px;
}

.catalog-card {
  position: relative;
  min-width: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.catalog-card-image {
  display: block;
  height: 340px;
  overflow: hidden;
  background: var(--primary-pale);
}

.catalog-card-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.catalog-card-image-alt img {
  transform: scale(1.12);
}

.catalog-card:hover .catalog-card-image img {
  transform: scale(1.045);
}

.catalog-card:hover .catalog-card-image-alt img {
  transform: scale(1.17);
}

.catalog-card-copy {
  padding: 24px 54px 0 2px;
}

.catalog-card-copy h3 {
  margin: 0 0 9px;
  font-size: 21px;
  font-weight: 600;
}

.catalog-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.catalog-card-link {
  position: absolute;
  right: 2px;
  bottom: 34px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(34, 146, 255, 0.45);
  border-radius: 50%;
  font-size: 12px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.catalog-card-link:hover {
  color: var(--white);
  background: var(--accent);
  transform: translateX(3px);
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 72px;
}

.pagination-page,
.pagination-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
}

.pagination-page.is-current {
  color: var(--white);
  border-color: var(--primary-deep);
  background: var(--primary-deep);
}

.pagination-arrow {
  color: var(--accent);
}

.pagination-arrow.is-disabled {
  color: #aebdc5;
  background: var(--primary-pale);
}

.detail-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(52px, 7vw, 92px);
  align-items: start;
  padding-block: 100px 140px;
}

.detail-category-list {
  border-top: 1px solid var(--line);
}

.detail-category-list a {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  transition: color 0.25s ease, padding 0.25s ease;
}

.detail-category-list a i {
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.detail-category-list a:hover,
.detail-category-list a.is-active {
  padding-left: 10px;
  color: var(--primary-deep);
}

.detail-category-list a:hover i,
.detail-category-list a.is-active i {
  opacity: 1;
  transform: translateX(0);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.96fr);
  gap: clamp(40px, 5vw, 68px);
  align-items: center;
}

.product-detail-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--primary-pale);
}

.product-detail-photo img {
  height: 100%;
  object-fit: cover;
}

.product-detail-info h2 {
  margin: 0 0 24px;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.product-detail-lead {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.product-features {
  display: grid;
  gap: 14px;
  margin: 34px 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
}

.product-features i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--accent);
  font-size: 9px;
}

.detail-inquiry-button,
.back-list-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.detail-inquiry-button {
  min-width: 205px;
  color: var(--white);
  background: var(--primary-deep);
}

.detail-inquiry-button:hover {
  background: var(--accent);
}

.detail-description {
  margin-top: 100px;
  padding-top: 70px;
  border-top: 1px solid var(--line);
}

.detail-section-heading {
  margin-bottom: 28px;
}

.detail-section-heading h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
}

.detail-description > p {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.back-list-button {
  margin-top: 55px;
  color: var(--primary-deep);
  border: 1px solid var(--primary-deep);
}

.back-list-button:hover {
  color: var(--white);
  background: var(--primary-deep);
}

.story-section {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 80px;
  align-items: center;
  padding-block: 110px 140px;
}

.story-image {
  height: 560px;
  overflow: hidden;
}

.story-image img {
  height: 100%;
  object-fit: cover;
}

.story-copy h2,
.contact-page-section h2 {
  margin: 0 0 28px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.45;
}

.story-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(65px, 8vw, 120px);
  align-items: start;
  padding-block: 95px 140px;
}

.contact-column-heading {
  margin-bottom: 42px;
}

.contact-column-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
}

.company-contact-list {
  display: grid;
  gap: 18px;
  margin-bottom: 42px;
}

.company-branch {
  padding: 24px;
  border-top: 2px solid var(--accent);
  background: var(--primary-pale);
}

.company-branch-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.company-branch-heading > i,
.company-contact-extra > div > i {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(34, 146, 255, 0.35);
  border-radius: 50%;
  font-size: 13px;
}

.company-branch-heading span {
  display: block;
  color: var(--accent);
  font-size: 10px;
}

.company-branch-heading h3 {
  margin: 2px 0 0;
  font-size: 19px;
  font-weight: 600;
}

.company-branch dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
}

.company-branch dl > div {
  min-width: 0;
}

.company-branch dt {
  color: var(--muted);
  font-size: 10px;
}

.company-branch dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
}

.company-branch-address {
  grid-column: 1 / -1;
}

.company-branch a:hover,
.company-contact-extra a:hover {
  color: var(--accent);
}

.company-contact-extra {
  display: grid;
  gap: 4px;
}

.company-contact-extra > div {
  display: grid;
  min-height: 78px;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.company-contact-extra p,
.company-contact-extra span {
  display: block;
  margin: 0;
}

.company-contact-extra span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.company-contact-extra a {
  margin-top: 3px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.form-notice {
  margin: 0 0 30px;
  padding: 16px 18px;
  color: var(--muted);
  background: var(--primary-pale);
  font-size: 12px;
}

.form-notice span,
.contact-form label b {
  color: #e5484d;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d9e5ea;
  background: #f7fafc;
  outline: 0;
  font: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input,
.contact-form select {
  height: 54px;
  padding: 0 18px;
  border-radius: 999px;
}

.contact-form textarea {
  min-height: 180px;
  padding: 16px 18px;
  border-radius: 24px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(34, 146, 255, 0.12);
}

.privacy-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.privacy-check span {
  margin: 0 !important;
  font-weight: 400 !important;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 34px;
}

.form-actions button {
  min-width: 150px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.form-reset {
  color: var(--primary-deep);
  border: 1px solid var(--primary-deep);
  background: var(--white);
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--white);
  border: 1px solid var(--primary-deep);
  background: var(--primary-deep);
}

.form-reset:hover,
.form-submit:hover {
  color: var(--white);
  border-color: var(--accent);
  background: var(--accent);
}

.form-status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--primary-deep);
  font-size: 12px;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1000px) {
  :root {
    --shell: min(100% - 48px, 900px);
  }

  .site-header {
    min-height: 78px;
    padding-inline: 24px;
  }

  .main-nav {
    gap: 20px;
  }

  .nav-contact {
    gap: 14px;
    padding-inline: 16px;
  }

  .intro-section {
    gap: 60px;
    padding-block: 95px 110px;
  }

  .product-viewport {
    width: calc(100% - 24px);
    margin-left: 24px;
  }

  .product-card {
    flex-basis: calc((100vw - 76px) / 2.2);
  }

  .about-photo {
    height: 410px;
    margin-left: 7%;
  }

  .about-panel {
    min-height: 430px;
    margin-top: -190px;
    padding: 48px 40px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .about-values article {
    min-height: 105px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-inner {
    grid-template-columns: 1fr 0.9fr auto;
    gap: 35px;
  }

  .contact-link {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100% - 40px);
  }

  .site-header {
    position: relative;
    min-height: 70px;
    border-top-width: 3px;
  }

  .wordmark {
    gap: 9px;
    font-size: 16px;
  }

  .site-header .wordmark {
    font-size: 17px;
  }

  .menu-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .menu-toggle.is-open span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 67px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 6px 20px 18px;
    background: var(--white);
    box-shadow: 0 15px 25px rgba(23, 50, 75, 0.09);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .nav-contact {
    justify-content: space-between;
    padding-inline: 14px;
    color: var(--white);
    border-bottom: 0;
  }

  .main-nav > a:not(.nav-contact)::after {
    display: none;
  }

  .hero-slide {
    display: block;
  }

  .hero-panel-team img {
    object-position: 57% center;
  }

  .hero-controls {
    right: 20px;
    bottom: 20px;
  }

  .circle-control {
    width: 43px;
    height: 43px;
  }

  .hero-index {
    bottom: 18px;
    left: 20px;
  }

  .intro-section {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-block: 78px 88px;
  }

  .section-heading h1 {
    font-size: 38px;
  }

  .intro-copy p {
    line-height: 1.9;
  }

  .products-section {
    padding-block: 74px 90px;
  }

  .products-top {
    align-items: center;
    margin-bottom: 30px;
  }

  .product-counter {
    display: none;
  }

  .product-viewport {
    width: calc(100% - 20px);
    margin-left: 20px;
  }

  .product-card {
    flex-basis: calc(100vw - 62px);
  }

  .product-image {
    height: min(390px, 100vw);
  }

  .about-section {
    padding-block: 85px 100px;
  }

  .about-shell {
    display: block;
  }

  .about-photo {
    height: 300px;
    margin-left: 0;
  }

  .about-panel {
    min-height: 0;
    margin: 0;
    padding: 42px 28px 46px;
  }

  .about-values {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-values article {
    min-height: 125px;
    align-items: center;
    padding: 18px 7px;
    text-align: center;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .about-values article:last-child {
    border-right: 0;
  }

  .about-values span {
    font-size: 12px;
  }

  .about-values small {
    display: none;
  }

  .contact-section,
  .contact-inner {
    min-height: 520px;
  }

  .contact-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding-block: 55px;
  }

  .contact-inner > p {
    margin: 0;
  }

  .contact-link {
    width: auto;
    height: 48px;
    gap: 42px;
    padding: 0 20px;
    border-radius: 999px;
  }

  .contact-link i {
    margin: 0;
  }

  .footer-main {
    min-height: 270px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 35px;
  }

  .footer-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .footer-bottom {
    min-height: 96px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1000px) {
  .catalog-section {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-block: 80px 110px;
  }

  .catalog-sidebar {
    position: static;
  }

  .catalog-sidebar-heading,
  .catalog-support {
    display: none;
  }

  .category-toggle {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    color: var(--white);
    border: 0;
    border-radius: 999px;
    background: var(--primary-deep);
    cursor: pointer;
  }

  .category-toggle i {
    transition: transform 0.25s ease;
  }

  .category-toggle.is-open i {
    transform: rotate(180deg);
  }

  .category-list {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 24px;
    margin-top: 14px;
    padding: 10px 20px 18px;
    border: 1px solid var(--line);
  }

  .category-list.is-open {
    display: grid;
  }

  .story-section,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-block: 90px 110px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-block: 80px 110px;
  }

  .detail-sidebar {
    position: static;
  }

  .detail-sidebar .catalog-sidebar-heading,
  .detail-sidebar .catalog-support {
    display: none;
  }

  .detail-category-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .detail-category-list a {
    min-height: 54px;
    justify-content: center;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    text-align: center;
  }

  .detail-category-list a i {
    display: none;
  }

  .detail-category-list a:hover,
  .detail-category-list a.is-active {
    padding-left: 0;
    color: var(--white);
    background: var(--primary-deep);
  }

  .contact-layout {
    max-width: 780px;
  }

  .story-image {
    height: 480px;
  }
}

@media (max-width: 720px) {
  .page-hero,
  .page-hero-inner {
    min-height: 220px;
  }

  .page-hero-inner {
    display: flex;
    justify-content: center;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .page-hero-inner > p {
    max-width: 330px;
  }

  .breadcrumb {
    min-height: 66px;
  }

  .catalog-section {
    gap: 46px;
    padding-block: 58px 90px;
  }

  .category-list {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    min-height: 58px;
    margin-bottom: 28px;
  }

  .catalog-toolbar h2 {
    font-size: 24px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .catalog-card-image {
    height: min(390px, calc(100vw - 40px));
  }

  .story-section,
  .contact-layout {
    padding-block: 68px 90px;
  }

  .story-image {
    height: 330px;
  }

  .contact-placeholder {
    padding: 44px 28px;
  }

  .detail-layout {
    gap: 42px;
    padding-block: 58px 90px;
  }

  .detail-category-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .product-detail-photo {
    height: auto;
  }

  .detail-description {
    margin-top: 70px;
    padding-top: 50px;
  }

  .contact-layout {
    gap: 75px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field-wide {
    grid-column: auto;
  }

  .form-actions button {
    min-width: 0;
    flex: 1;
  }
}
