/* YC Infrared Optics — Front stylesheet
   Deep teal / charcoal industrial optical aesthetic */

:root {
  --ink: #0B1F28;
  --teal: #0E6B7A;
  --accent: #D4A84B;
  --paper: #F5F7F8;
  --line: #D7E0E4;
  --white: #ffffff;
  --ink-soft: #1a3440;
  --teal-dark: #0a5561;
  --teal-light: #148a9c;
  --muted: #5a6f78;
  --shadow: 0 12px 40px rgba(11, 31, 40, 0.12);
  --radius: 4px;
  --header-h: 72px;
  --font-display: "Microsoft YaHei", "微软雅黑", sans-serif;
  --font-body: "Microsoft YaHei", "微软雅黑", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--teal-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 560;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #c9993a;
  color: var(--ink);
  border-color: #c9993a;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-teal:hover {
  background: var(--teal-dark);
  color: var(--white);
  border-color: var(--teal-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-ghost:hover {
  background: var(--teal);
  color: var(--white);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 31, 40, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(215, 224, 228, 0.08);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--white);
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}

.brand-mark::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid var(--teal-light);
  border-radius: 50%;
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 50;
}

.nav-list > li:hover > .dropdown,
.nav-list > li:focus-within > .dropdown,
.nav-list > li.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.55rem 1.1rem;
  color: var(--ink);
  font-size: 0.92rem;
}

.dropdown a:hover {
  background: var(--paper);
  color: var(--teal);
}

.header-cta {
  flex-shrink: 0;
}

.header-cta .btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  position: relative;
  min-height: inherit;
  width: 100%;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hero-dots button.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(14, 107, 122, 0.45), transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(212, 168, 75, 0.12), transparent 50%),
    linear-gradient(135deg, #06151c 0%, #0B1F28 40%, #0E6B7A 100%);
  background-size: 120% 120%;
  animation: gradientShift 16s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11, 31, 40, 0.88) 0%, rgba(11, 31, 40, 0.55) 48%, rgba(11, 31, 40, 0.35) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 5rem;
  max-width: 640px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--white);
}

.hero-brand span {
  color: var(--accent);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1rem;
  line-height: 1.35;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 2rem;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes gradientShift {
  from { background-position: 0% 40%; }
  to { background-position: 100% 60%; }
}

/* ---------- Page hero (inner) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(14, 107, 122, 0.35), transparent 55%),
    linear-gradient(120deg, transparent 60%, rgba(212, 168, 75, 0.06));
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 40em;
  margin: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  opacity: 0.5;
}

/* ---------- Sections ---------- */
.section {
  padding: 4.5rem 0;
}

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

.section-head {
  margin-bottom: 2.5rem;
  max-width: 40em;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.65rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  margin-bottom: 0.6rem;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.section-head-row .section-head {
  margin-bottom: 0;
}

/* ---------- Strengths ---------- */
.strengths {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.strength-item {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--line);
}

.strength-item:last-child {
  border-right: none;
}

.strength-value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--teal);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.strength-label {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 500;
}

/* ---------- About teaser ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.about-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--accent);
}

.about-body .section-eyebrow {
  margin-bottom: 0.75rem;
}

.about-body h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.about-body p {
  color: var(--muted);
}

.prose {
  color: var(--ink-soft);
}

.prose h2, .prose h3 {
  margin-top: 1.5em;
}

.prose img {
  margin: 1.25em 0;
  border-radius: var(--radius);
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Cards / grids (content sections only) ---------- */
.product-grid,
.app-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.app-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

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

.product-card,
.app-card,
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  height: 100%;
  color: inherit;
  overflow: hidden;
}

.product-card:hover,
.app-card:hover,
.news-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  color: inherit;
}

.product-card-media,
.app-card-media,
.news-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper);
}

.product-card-media img,
.app-card-media img,
.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card-media img,
.app-card:hover .app-card-media img,
.news-card:hover .news-card-media img {
  transform: scale(1.05);
}

.product-card-body,
.app-card-body,
.news-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-cat,
.news-card-meta {
  font-size: 0.78rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.45rem;
}

.product-card h3,
.app-card h3,
.news-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.product-card p,
.app-card p,
.news-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  flex: 1;
}

.card-link {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
}

.app-card {
  flex-direction: row;
  min-height: 180px;
}

.app-card-media {
  width: 42%;
  flex-shrink: 0;
  aspect-ratio: auto;
  align-self: stretch;
}

.app-card-body {
  justify-content: center;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(14, 107, 122, 0.4), transparent 55%),
    radial-gradient(ellipse 40% 60% at 100% 50%, rgba(212, 168, 75, 0.1), transparent 50%);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.4rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 36em;
}

/* ---------- Products index ---------- */
.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.filters {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.35rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.filters h3 {
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.filter-search {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.filter-search input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
}

.filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.filter-list a {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.filter-list a:hover,
.filter-list a.is-active {
  color: var(--teal);
}

.filter-list .count {
  color: var(--muted);
  font-size: 0.85rem;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border: 1px dashed var(--line);
  color: var(--muted);
}

/* ---------- Product detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.gallery-main {
  aspect-ratio: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.gallery-thumbs button {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-thumbs button.is-active,
.gallery-thumbs button:hover {
  border-color: var(--teal);
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-meta-cat {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.product-summary {
  color: var(--muted);
  font-size: 1.05rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.specs-table th,
.specs-table td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.specs-table th {
  width: 38%;
  background: var(--paper);
  font-family: var(--font-display);
  font-weight: 560;
  color: var(--ink);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.product-content {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

/* ---------- News ---------- */
.news-show {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}

.article-cover {
  aspect-ratio: 21 / 9;
  overflow: hidden;
  margin-bottom: 1.75rem;
  background: var(--paper);
}

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

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.article-nav a {
  max-width: 45%;
  font-family: var(--font-display);
  font-weight: 560;
}

.article-nav .label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sidebar-block {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.35rem;
  margin-bottom: 1.25rem;
}

.sidebar-block h3 {
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-list li {
  border-bottom: 1px solid var(--line);
}

.sidebar-list a {
  display: block;
  padding: 0.65rem 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.sidebar-list a:hover {
  color: var(--teal);
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contact-info-list li {
  display: flex;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-info-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 560;
  margin-bottom: 0.4rem;
}

.form-group .required {
  color: #b33;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 107, 122, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  color: #b33;
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.alert {
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.alert-success {
  background: #e8f5f2;
  border: 1px solid #a8d5cb;
  color: #0a5548;
}

.alert-error {
  background: #fceaea;
  border: 1px solid #e8b4b4;
  color: #8a2a2a;
}

.map-embed {
  margin-top: 3rem;
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 320px;
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* ---------- Pagination ---------- */
.pagination-wrap {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.pagination-wrap nav {
  display: flex;
}

.pagination-wrap .pagination,
.pagination-wrap ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination-wrap a,
.pagination-wrap span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.9rem;
  background: var(--white);
}

.pagination-wrap a:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.pagination-wrap .active span,
.pagination-wrap [aria-current="page"] span {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-name {
  color: var(--white);
  margin-bottom: 0.75rem;
  display: block;
}

.footer-brand p {
  font-size: 0.95rem;
  margin: 0;
  max-width: 28em;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-contact li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Floating dock ---------- */
.cs-dock {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cs-dock a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(11, 31, 40, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.cs-dock a:hover {
  transform: scale(1.08);
  background: var(--teal-dark);
  color: var(--white);
}

.cs-dock a.wa {
  background: #25D366;
}

.cs-dock a.wa:hover {
  background: #1da851;
}

.cs-dock svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11, 31, 40, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: var(--radius);
  line-height: 1;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Category chips (home) ---------- */
.cat-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.cat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.cat-chip:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  color: inherit;
}

.cat-chip-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--paper);
  border-radius: 50%;
}

.cat-chip-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-chip span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 560;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .about-grid,
  .product-detail,
  .contact-layout,
  .news-show {
    grid-template-columns: 1fr;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

  .app-card {
    flex-direction: column;
  }

  .app-card-media {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ink);
    padding: 1.25rem;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav {
    gap: 0;
  }

  .nav-list {
    gap: 0.35rem;
  }

  .nav-link {
    padding: 0.95rem 1rem !important;
    border-radius: 10px;
    justify-content: space-between;
  }

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

  .dropdown {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: static;
    box-shadow: none;
    margin-top: 0.35rem;
  }

  .nav-link {
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    justify-content: space-between;
  }

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

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0.5rem 0.75rem;
    min-width: 0;
  }

  .nav-list > li.is-open > .dropdown {
    display: block;
  }

  .dropdown a {
    color: rgba(255, 255, 255, 0.75);
    padding: 0.55rem 0.5rem;
  }

  .dropdown a:hover {
    background: transparent;
    color: var(--accent);
  }

  .mobile-cta {
    display: block;
    margin-top: 1.5rem;
  }

  .strengths-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strength-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .strength-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .product-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .hero {
    min-height: 78vh;
  }

  .hero-content {
    padding: 3.5rem 0 4rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 1.75rem);
  }

  .product-grid,
  .news-grid,
  .cat-strip {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .cs-dock {
    right: 0.75rem;
    bottom: 0.85rem;
  }

  .cs-dock a {
    width: 44px;
    height: 44px;
  }

  .article-nav a {
    max-width: 100%;
  }

  .cta-band .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .hero-fallback,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
