:root {
  --ink: #1a1a1a;
  --muted: #666666;
  --border: #e0e0e0;
  --white: #ffffff;
  --accent: #0056b3;
  --radius: 4px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-quick: cubic-bezier(0.32, 0.72, 0, 1);
  --font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  font-family: var(--font-sans);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link:focus {
  z-index: 99;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  color: var(--white);
  background: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
}

.brand img {
  width: 210px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu a {
  transition: color 120ms var(--ease-out);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--accent);
}

.nav-cta {
  min-height: 42px;
  padding: 11px 18px;
  color: var(--white) !important;
  background: var(--accent);
  border-radius: var(--radius);
  transition: background 120ms var(--ease-out), transform 120ms var(--ease-out);
}

.nav-cta:hover {
  background: #003d82;
}

.nav-cta:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

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

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

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background: #f9f9f9;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(0, 0, 0, 0.3);
}

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

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

.hero-content {
  display: grid;
  place-items: center;
  text-align: center;
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto;
  padding: 120px 0 80px;
  color: var(--white);
}

.hero-content h1 {
  width: min(1180px, calc(100vw - 240px));
  max-width: none;
  margin: 0;
  font-size: clamp(3rem, 4.4vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: normal;
}

.hero-content p {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.solution-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 24px !important;
  padding: 0 !important;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.solution-strip a {
  display: grid;
  align-content: space-between;
  min-height: 168px;
  padding: 22px;
  background: var(--white);
  transition: background 120ms var(--ease-out);
}

.solution-strip a:hover,
.solution-strip a:focus-visible {
  background: #f5f5f5;
}

.solution-strip span {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.solution-strip strong {
  max-width: 220px;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 120ms var(--ease-out), color 120ms var(--ease-out), transform 120ms var(--ease-out);
}

.button:hover,
.button:focus-visible {
  opacity: 0.9;
}

.button:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

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

.button.primary:hover {
  background: #003d82;
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
}

.button.ghost.light {
  border-color: rgba(255, 255, 255, 0.6);
}

section:not(.hero) {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading > p,
.catalog-heading > p {
  max-width: 560px;
  margin: 0;
}

.catalog-heading {
  grid-template-columns: 1fr;
  gap: 0;
}

.catalog-heading h2 {
  max-width: none;
}

.applications .section-heading {
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 64px;
  align-items: start;
}

.intro-heading {
  margin-bottom: 34px;
}

.intro-heading h2 {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5.1vw, 5.4rem);
  line-height: 0.98;
}

.intro-copy {
  padding-top: 0;
}

.intro-copy p:not(.eyebrow) {
  max-width: 680px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.proof-grid article {
  min-height: 220px;
  padding: 28px;
  background: var(--white);
}

.proof-grid strong {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
}

.proof-grid span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.feature-band {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 52px;
  align-items: start;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.benefits article {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.benefits span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
}

.benefits p,
.application-grid p {
  margin-bottom: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 16px;
}

.catalog-search {
  display: grid;
  gap: 8px;
}

.catalog-search span {
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.catalog-search input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
  font-weight: 500;
  outline: none;
  transition: border-color 120ms var(--ease-out);
}

.catalog-search input:focus {
  border-color: var(--accent);
}

.catalog-count {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 700;
  white-space: nowrap;
}

.filter {
  min-height: 42px;
  padding: 10px 15px;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: background 120ms var(--ease-out), border-color 120ms var(--ease-out), color 120ms var(--ease-out), transform 120ms var(--ease-out);
}

.filter.active,
.filter:hover,
.filter:focus-visible {
  color: var(--white);
  border-color: var(--accent);
  background: var(--accent);
}

.filter:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

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

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 120ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    border-color: var(--accent);
  }
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  overflow: hidden;
  background: #fafafa;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 18px;
}

.product-rotator {
  position: relative;
  width: 100%;
  height: 220px;
}

.product-card .product-rotator img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  opacity: 0;
  transition: opacity 420ms var(--ease-out);
}

.product-card .product-rotator img.active {
  opacity: 1;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f5f5f5;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pill.pending {
  color: #8b6914;
  border-color: var(--border);
  background: #fef3cd;
}

.product-body p {
  margin: 12px 0 18px;
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.product-specs span {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  color: var(--muted);
  background: #fafafa;
  font-size: 0.85rem;
  line-height: 1.35;
}

.product-specs strong {
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.product-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.product-list li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 50%;
  background: var(--accent);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: auto;
}

.product-actions.quote-only {
  grid-template-columns: 1fr;
}

.detail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 120ms var(--ease-out), transform 120ms var(--ease-out);
}

.detail-button:hover {
  border-color: var(--accent);
}

.detail-button:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

.quote-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  color: var(--white);
  border-radius: var(--radius);
  background: var(--accent);
  font-weight: 600;
  transition: background 120ms var(--ease-out), transform 120ms var(--ease-out);
}

.product-actions.quote-only .quote-link {
  width: 100%;
  min-height: 50px;
  padding: 0 22px;
  font-size: 1rem;
}

.quote-link:hover {
  background: #003d82;
}

.quote-link:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 34px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f9f9f9;
}

.empty-state strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.applications {
  border-top: 1px solid var(--border);
}

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

.application-grid article {
  padding: 24px;
  border-left: 3px solid var(--accent);
  background: var(--white);
}

.suppliers {
  position: relative;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
  align-items: center;
  width: min(1180px, calc(100% - 32px)) !important;
  overflow: hidden;
  padding: 88px 44px !important;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.suppliers::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  content: "";
  background: var(--accent);
}

.suppliers-copy {
  position: relative;
  z-index: 2;
}

.suppliers-copy p {
  max-width: 540px;
}

.supplier-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.supplier-stats span {
  display: grid;
  gap: 6px;
  min-height: 96px;
  padding: 18px;
  color: var(--muted);
  background: var(--white);
  font-size: 0.85rem;
  line-height: 1.35;
}

.supplier-stats strong {
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.supplier-showcase {
  position: relative;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.supplier-showcase::before,
.supplier-showcase::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 72px;
  pointer-events: none;
  content: "";
}

.supplier-showcase::before {
  left: 0;
  background: linear-gradient(90deg, rgba(248, 250, 252, 1), rgba(248, 250, 252, 0));
}

.supplier-showcase::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.logo-marquee {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 14px;
  animation: supplier-scroll 32s linear infinite;
  will-change: transform;
}

.logo-marquee.reverse .logo-track {
  animation-direction: reverse;
  animation-duration: 38s;
}

.logo-track.slow {
  animation-duration: 44s;
}

@media (hover: hover) and (pointer: fine) {
  .logo-marquee:hover .logo-track {
    animation-play-state: paused;
  }
}

.logo-marquee:focus-within .logo-track {
  animation-play-state: paused;
}

.logo-track img {
  width: 150px;
  height: 74px;
  object-fit: contain;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--white);
  filter: grayscale(8%);
  opacity: 0.9;
  transition: opacity 120ms var(--ease-out), filter 120ms var(--ease-out);
}

.logo-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes supplier-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ============================================
   FINAL CTA — Premium contact section
   ============================================ */
.final-cta {
  position: relative;
  padding: 96px 0 !important;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1180px;
  height: 1px;
  background: var(--border);
}

.final-cta-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Lead block */
.final-cta-lead {
  display: flex;
  flex-direction: column;
}

.final-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fafafa;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  width: fit-content;
}

.final-cta-badge svg {
  color: var(--accent);
  flex-shrink: 0;
}

.final-cta .eyebrow {
  margin-bottom: 12px;
}

.final-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 580px;
  margin: 0 0 24px;
}

.final-cta-description {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 0 40px;
}

/* Checklist */
.final-cta-checklist-wrapper {
  padding: 24px 0;
  margin-bottom: 36px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.final-cta-subheading {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin: 0 0 16px;
}

.final-cta-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.final-cta-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.5;
}

.final-cta-checklist svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Actions */
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.final-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 16px 28px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 120ms var(--ease-out), transform 120ms var(--ease-out);
}

.final-cta-primary:hover {
  background: #003d82;
}

.final-cta-primary:active {
  transform: scale(0.98);
  transition-duration: 80ms;
}

.final-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 16px 24px;
  color: var(--ink);
  background: transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: color 120ms var(--ease-out), gap 200ms var(--ease-out);
}

.final-cta-secondary svg {
  transition: transform 200ms var(--ease-out);
}

.final-cta-secondary:hover {
  color: var(--accent);
}

.final-cta-secondary:hover svg {
  transform: translateX(4px);
}

/* Contact info card */
.final-cta-info {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px;
  position: sticky;
  top: 96px;
}

.final-cta-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.final-cta-info-header h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.final-cta-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1a7340;
}

.final-cta-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.final-cta-info-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.final-cta-info-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: baseline;
  gap: 16px;
}

.final-cta-info-row dt {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0;
}

.final-cta-info-row dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}

.final-cta-info-row dd a {
  color: var(--ink);
  text-decoration: none;
  transition: color 120ms var(--ease-out);
  position: relative;
}

.final-cta-info-row dd a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}

.final-cta-info-row dd a:hover {
  color: var(--accent);
}

.final-cta-info-row dd a:hover::after {
  transform: scaleX(1);
}

.final-cta-info-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.final-cta-info-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 980px) {
  .final-cta {
    padding: 72px 0 !important;
  }

  .final-cta-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .final-cta-info {
    position: static;
    padding: 28px;
  }
}

@media (max-width: 680px) {
  .final-cta {
    padding: 56px 0 !important;
  }

  .final-cta-grid {
    gap: 40px;
  }

  .final-cta-badge {
    font-size: 0.75rem;
  }

  .final-cta-description {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .final-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .final-cta-primary,
  .final-cta-secondary {
    width: 100%;
  }

  .final-cta-info {
    padding: 24px;
  }

  .final-cta-info-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .final-cta-info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* FOOTER PREMIUM v2 - Dark editorial */
.footer-premium {
  --footer-bg: #0f0f0f;
  --footer-surface: #1a1a1a;
  --footer-text: rgba(255, 255, 255, 0.95);
  --footer-muted: rgba(255, 255, 255, 0.55);
  --footer-dim: rgba(255, 255, 255, 0.35);
  --footer-border: rgba(255, 255, 255, 0.08);
  --footer-border-strong: rgba(255, 255, 255, 0.15);
  background: var(--footer-bg);
  color: var(--footer-text);
  margin-top: 120px;
}

/* Main */
.footer-main {
  padding: 72px 0 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 16px;
}

/* Brand block */
.footer-brand-block {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  width: 140px;
  height: auto;
  margin-bottom: 24px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-tagline {
  color: var(--footer-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 360px;
}

.footer-contact-direct {
  margin-top: auto;
}

.footer-phone {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--footer-border);
  border-bottom: 1px solid var(--footer-border);
  width: 100%;
  transition: border-color 200ms var(--ease-out);
}

.footer-phone:hover {
  border-color: var(--footer-border-strong);
}

.footer-phone-label {
  color: var(--footer-dim);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-phone-number {
  font-family: var(--font-serif);
  color: var(--footer-text);
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

/* Columns */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

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

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--footer-text);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 24px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.footer-links a {
  color: var(--footer-muted);
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  display: inline-block;
  width: fit-content;
  transition: color 160ms var(--ease-out);
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--footer-text);
  transition: width 220ms var(--ease-out);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--footer-text);
  outline: none;
}

.footer-links a:hover::before,
.footer-links a:focus-visible::before {
  width: 100%;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid var(--footer-border);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 16px;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copyright {
  color: var(--footer-dim);
  font-size: 0.82rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  color: var(--footer-dim);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 160ms var(--ease-out);
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--footer-text);
  outline: none;
}

.footer-legal-divider {
  color: var(--footer-dim);
  font-size: 0.82rem;
  user-select: none;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--footer-muted);
  background: transparent;
  border: 1px solid var(--footer-border);
  transition: color 180ms var(--ease-out), background 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .footer-social-link:hover {
    color: var(--footer-bg);
    background: var(--footer-text);
    border-color: var(--footer-text);
    transform: translateY(-2px);
  }
}

.footer-social-link:focus-visible {
  color: var(--footer-bg);
  background: var(--footer-text);
  border-color: var(--footer-text);
  outline: 2px solid var(--footer-text);
  outline-offset: 2px;
}

.footer-social-link:active {
  transform: scale(0.94);
  transition-duration: 80ms;
}

.product-modal {
  width: min(920px, calc(100% - 32px));
  max-height: calc(100svh - 48px);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.product-modal::backdrop {
  background: rgba(0, 0, 0, 0.4);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 120ms var(--ease-out), transform 120ms var(--ease-out);
}

.modal-close:hover {
  background: #f5f5f5;
}

.modal-close:active {
  transform: scale(0.93);
  transition-duration: 80ms;
}

.modal-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}

.modal-layout img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
  padding: 26px;
  background: #fafafa;
}

.modal-copy {
  padding: 42px;
}

.modal-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.modal-copy h3 {
  margin-top: 24px;
  color: var(--accent);
}

.modal-copy ul {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

/* Scroll reveal: hidden initial state only if JS is present (prevent flash) */
.section-reveal {
  opacity: 1;
  transform: none;
}

html.js .section-reveal {
  opacity: 0;
  transform: translateY(28px);
}

html.js .section-reveal.visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
}

/* Stagger items: hidden initially only if JS present */
html.js .proof-grid article,
html.js .benefits article,
html.js .application-grid article,
html.js .solution-strip a,
html.js .supplier-stats span,
html.js .footer-brand-block,
html.js .footer-column,
html.js .value-item,
html.js .family-type-card,
html.js .family-compare-table tbody tr,
html.js .detail-spec-card,
html.js .detail-app-card,
html.js .detail-related-card,
html.js .detail-feat-ben-grid > article {
  opacity: 0;
}

.gallery-layout {
  grid-template-columns: 0.95fr 1.05fr;
}

.gallery-media {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: #fafafa;
}

.gallery-main {
  width: 100%;
  height: 340px;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--white);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.gallery-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 4px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: border-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .gallery-thumb:hover {
    border-color: rgba(24, 112, 176, 0.45);
    transform: translateY(-2px);
  }
}

.gallery-thumb:focus-visible {
  border-color: rgba(24, 112, 176, 0.45);
  transform: translateY(-2px);
}

.gallery-thumb:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

.gallery-thumb.active {
  border-color: var(--accent);
}

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

/* Rampas Niveladoras - Grid */
.rampas-hero {
  padding: 100px 0 60px;
  background: linear-gradient(135deg, rgba(24, 112, 176, 0.1) 0%, rgba(80, 80, 80, 0.05) 100%);
}

.rampas-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 16px;
  color: var(--ink);
}

.rampas-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
}

.rampas-grid-section {
  padding: 80px 0;
}

.container {
  width: min(100% - 32px, 1200px);
  margin: 0 auto;
}

.rampas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.rampas-card {
  display: grid;
  grid-template-rows: 280px 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  transition:
    transform 200ms var(--ease-out),
    border-color 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .rampas-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
  }
}

.rampas-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.rampas-card-image {
  overflow: hidden;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.rampas-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rampas-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rampas-card-content h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.rampas-card-content p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.5;
  flex-grow: 1;
}

.rampas-card-cta {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 160ms var(--ease-out);
}

.rampas-card:hover .rampas-card-cta {
  color: var(--accent);
}

/* Product Detail Pages */
.product-detail-hero {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, rgba(24, 112, 176, 0.08) 0%, rgba(80, 80, 80, 0.04) 100%);
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 160ms var(--ease-out);
}

.back-link:hover {
  color: var(--accent);
}

.product-detail-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 12px;
  color: var(--ink);
}

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

.product-detail {
  padding: 60px 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-main {
  width: 100%;
  height: 400px;
  background: #fafafa;
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.thumb {
  aspect-ratio: 1;
  padding: 4px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .thumb:hover {
    border-color: rgba(24, 112, 176, 0.3);
    transform: translateY(-2px);
  }
}

.thumb:focus-visible {
  border-color: rgba(24, 112, 176, 0.3);
  transform: translateY(-2px);
}

.thumb:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

.thumb.active {
  border-color: var(--accent);
}

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

.detail-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-intro {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.detail-content h2 {
  font-size: 1.2rem;
  margin-top: 12px;
  margin-bottom: 12px;
  color: var(--accent);
}

.detail-content ul {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.detail-content li {
  margin-bottom: 8px;
}

.tipo-content .button {
  margin-top: 28px;
}

.rampas-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(24, 112, 176, 0.12) 0%, rgba(80, 80, 80, 0.06) 100%);
}

.rampas-cta .container {
  display: flex;
  justify-content: center;
}

.rampas-cta .cta-panel {
  text-align: center;
  max-width: 600px;
  padding: 48px;
  background: var(--white);
  border-radius: var(--radius);
}

.rampas-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  margin-bottom: 16px;
}

.rampas-cta p {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    height: 300px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .gallery-main {
    height: 260px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .gallery-media {
    padding: 14px;
  }
}

.product-page {
  background: var(--white);
}

.product-page .nav {
  min-height: 64px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
}

.product-page main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 80px;
}

.product-page-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: start;
}

.product-page-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.product-page-gallery img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  padding: 18px;
  border-radius: var(--radius);
  background: #fafafa;
  transition: transform 200ms var(--ease-out);
}

.product-page-gallery img:first-child {
  grid-column: 1 / -1;
  height: 420px;
}

@media (hover: hover) and (pointer: fine) {
  .product-page-gallery img:hover {
    transform: translateY(-3px) scale(1.01);
  }
}

.product-page-info {
  position: sticky;
  top: 92px;
}

.product-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.product-page-info h1 {
  max-width: none;
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.05;
}

.product-page-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.product-page-info h3 {
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.product-page-list {
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
  display: grid;
  gap: 8px;
}

.product-page-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.product-page-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--accent);
}

.product-page-cta {
  margin-top: 28px;
  width: 100%;
}

.product-page-footer {
  border-top: 1px solid var(--border);
}

@media (max-width: 980px) {
  .product-page-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .product-page-info {
    position: static;
  }

  .product-page-gallery img:first-child {
    height: 360px;
  }
}

@media (max-width: 680px) {
  .product-page-gallery img {
    height: 200px;
  }

  .product-page-gallery img:first-child {
    height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 120ms !important;
  }

  .section-reveal {
    opacity: 1;
    transform: none;
  }

  .logo-track {
    animation: none;
    transform: none;
  }

  /* Remove position/movement, keep color/opacity for comprehension */
  .rampas-card:hover,
  .product-page-gallery img:hover,
  .gallery-thumb:hover,
  .footer-social-link:hover,
  .final-cta-secondary:hover svg,
  .button:active,
  .filter:active,
  .nav-cta:active,
  .detail-button:active,
  .quote-link:active,
  .modal-close:active,
  .final-cta-primary:active,
  .footer-social-link:active,
  .gallery-thumb:active {
    transform: none !important;
  }
}

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

  .nav-menu {
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: none;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 14px;
  }

  .section-heading,
  .intro-grid,
  .feature-band,
  .hero-content,
  .suppliers,
  .modal-layout {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .footer-brand-block {
    max-width: 480px;
  }

  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 16px;
  }

  .footer-social {
    align-self: stretch;
    justify-content: flex-start;
  }

  .hero-content {
    padding: 100px 0 64px;
  }

  .proof-grid,
  .benefits,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .suppliers {
    padding: 76px 32px !important;
  }

  .supplier-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-layout img {
    min-height: 280px;
  }

  .rampas-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gallery-main {
    height: 320px;
  }

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

@media (max-width: 680px) {
  .brand img {
    width: 168px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: 100px 0 64px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4.1rem);
  }

  .hero-content h1 {
    width: min(100%, calc(100vw - 32px));
  }

  section:not(.hero) {
    padding: 72px 0;
  }

  .section-heading {
    gap: 18px;
    margin-bottom: 28px;
  }

  .proof-grid,
  .benefits,
  .product-grid,
  .application-grid,
  .solution-strip,
  .catalog-toolbar,
  .supplier-stats {
    grid-template-columns: 1fr;
  }

  .solution-strip a {
    min-height: 132px;
  }

  .catalog-count {
    justify-content: center;
  }

  .suppliers {
    width: min(100% - 32px, 1180px) !important;
    padding: 56px 18px !important;
  }

  .supplier-showcase::before,
  .supplier-showcase::after {
    width: 34px;
  }

  .logo-track {
    gap: 10px;
    padding: 10px;
    animation-duration: 24s;
  }

  .logo-track img {
    width: 128px;
    height: 64px;
    padding: 12px 14px;
  }

  .product-card img {
    height: 190px;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .footer-premium {
    margin-top: 72px;
  }

  .footer-main {
    padding: 48px 0 40px;
  }

  .footer-inner {
    gap: 40px;
  }

  .footer-logo {
    width: 120px;
    margin-bottom: 16px;
  }

  .footer-tagline {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .footer-phone-number {
    font-size: 1.2rem;
  }

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

  .footer-column {
    border-bottom: 1px solid var(--footer-border);
    padding-bottom: 24px;
  }

  .footer-column:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-heading {
    margin-bottom: 16px;
  }

  .footer-links {
    gap: 12px;
  }

  .footer-links a {
    font-size: 0.95rem;
    padding: 4px 0;
  }

  .footer-bottom-inner {
    padding: 20px 16px;
    gap: 16px;
  }

  .footer-bottom-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-copyright,
  .footer-legal a,
  .footer-legal-divider {
    font-size: 0.78rem;
  }

  .modal-copy {
    padding: 28px 22px;
  }

  .rampas-hero {
    padding: 70px 0 50px;
  }

  .rampas-hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    margin-bottom: 12px;
  }

  .rampas-hero p {
    font-size: 1rem;
  }

  .rampas-grid {
    gap: 20px;
  }

  .rampas-card {
    grid-template-rows: 220px 1fr;
  }

  .rampas-card-content {
    padding: 20px;
  }

  .rampas-card-content h2 {
    font-size: 1.2rem;
  }

  .product-detail-hero {
    padding: 50px 0 30px;
  }

  .product-detail-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  .product-detail-hero p {
    font-size: 1rem;
  }

  .product-detail {
    padding: 40px 0;
  }

  .detail-grid {
    gap: 24px;
  }

  .gallery-main {
    height: 280px;
    padding: 16px;
  }

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

  .detail-content h2 {
    font-size: 1.1rem;
  }

  .detail-intro {
    font-size: 1rem;
  }
}

/* ================================================
   PRODUCT FAMILY PAGE — Rampas Niveladoras
   ================================================ */

.product-family-page {
  background: var(--white);
}

/* Breadcrumb */
.breadcrumb {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 8px;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 8px;
  color: var(--border);
  font-weight: 400;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 120ms var(--ease-out);
}

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

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

/* Family hero — asymmetric */
.family-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 96px;
}

.family-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}

.family-hero-content {
  display: flex;
  flex-direction: column;
}

.family-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fafafa;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  width: fit-content;
}

.family-hero-badge svg {
  color: var(--accent);
}

.family-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 600px;
}

.family-hero-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 540px;
  margin: 0 0 36px;
}

.family-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 28px 0;
  margin: 0 0 36px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.family-hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.family-hero-stats dt {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.family-hero-stats dd {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.family-hero-stats dd span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
  margin-left: 2px;
}

.family-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button-ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 22px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 120ms var(--ease-out), color 120ms var(--ease-out), transform 120ms var(--ease-out);
}

.button-ghost-dark:hover {
  border-color: var(--ink);
  color: var(--accent);
}

.button-ghost-dark:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

.family-hero-figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid var(--border);
}

.family-hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 32px;
}

/* Value props */
.family-value {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.family-value-header {
  max-width: 720px;
  margin-bottom: 56px;
}

.family-value-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.family-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.value-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(0, 86, 179, 0.08);
  color: var(--accent);
  margin-bottom: 4px;
}

.value-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

.value-item p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Tipos section */
.family-types {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.family-types-header {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.family-types-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 540px;
}

.family-types-intro {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  max-width: 420px;
}

.family-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.family-type-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .family-type-card:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
  }

  .family-type-card:hover .family-type-card-cta {
    color: var(--accent);
  }

  .family-type-card:hover .family-type-card-cta svg {
    transform: translateX(4px);
  }
}

.family-type-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.family-type-card-media {
  background: #fafafa;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.family-type-card-media img {
  width: 100%;
  height: 100%;
  max-height: 200px;
  object-fit: contain;
}

.family-type-card-body {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.family-type-card-number {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 12px;
}

.family-type-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}

.family-type-card-lead {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 20px;
}

.family-type-card-specs {
  list-style: none;
  padding: 16px 0;
  margin: 0 0 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 10px;
}

.family-type-card-specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.85rem;
}

.family-type-card-specs span {
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
}

.family-type-card-specs strong {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

.family-type-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 200ms var(--ease-out);
}

.family-type-card-cta svg {
  transition: transform 200ms var(--ease-out);
}

/* Comparison table */
.family-compare {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.family-compare-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.family-compare-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.family-compare-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.family-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 720px;
}

.family-compare-table thead {
  background: #fafafa;
  border-bottom: 1px solid var(--border);
}

.family-compare-table th {
  text-align: left;
  padding: 18px 24px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.family-compare-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 120ms var(--ease-out);
}

.family-compare-table tbody tr:last-child {
  border-bottom: none;
}

.family-compare-table tbody tr:hover {
  background: #fafafa;
}

.family-compare-table th[scope="row"] {
  padding: 22px 24px;
  font-weight: 600;
}

.family-compare-table td {
  padding: 22px 24px;
  color: var(--ink);
  vertical-align: middle;
}

.family-compare-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  text-transform: none;
  letter-spacing: -0.01em;
}

.family-compare-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.family-compare-tier {
  display: inline-flex;
  gap: 4px;
}

.family-compare-tier span {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--border);
}

.family-compare-tier[data-tier="1"] span:nth-child(-n+1),
.family-compare-tier[data-tier="2"] span:nth-child(-n+2),
.family-compare-tier[data-tier="3"] span:nth-child(-n+3),
.family-compare-tier[data-tier="4"] span:nth-child(-n+4) {
  background: var(--accent);
}

.family-compare-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

.family-compare-note svg {
  color: var(--muted);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Responsive: family page */
@media (max-width: 980px) {
  .family-hero {
    padding: 32px 0 64px;
  }

  .family-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .family-hero-figure {
    aspect-ratio: 16 / 10;
    max-width: 600px;
  }

  .family-value,
  .family-types,
  .family-compare {
    padding: 64px 0;
  }

  .family-value-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .family-types-header {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .family-types-grid {
    grid-template-columns: 1fr;
  }

  .family-type-card {
    grid-template-columns: 200px 1fr;
  }
}

@media (max-width: 680px) {
  .breadcrumb {
    padding: 16px 0 4px;
  }

  .breadcrumb ol {
    font-size: 0.78rem;
  }

  .family-hero {
    padding: 24px 0 48px;
  }

  .family-hero h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .family-hero-lead {
    font-size: 1rem;
  }

  .family-hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 0;
  }

  .family-hero-stats > div {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
  }

  .family-hero-stats dd {
    font-size: 1.5rem;
  }

  .family-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .family-hero-actions .button,
  .family-hero-actions .button-ghost-dark {
    width: 100%;
  }

  .family-value,
  .family-types,
  .family-compare {
    padding: 48px 0;
  }

  .family-value-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .family-types-header,
  .family-compare-header,
  .family-value-header {
    margin-bottom: 32px;
  }

  .family-type-card {
    grid-template-columns: 1fr;
  }

  .family-type-card-media {
    border-right: none;
    border-bottom: 1px solid var(--border);
    aspect-ratio: 16 / 10;
    padding: 20px;
  }

  .family-type-card-media img {
    max-height: none;
  }

  .family-type-card-body {
    padding: 24px;
  }
}

/* ================================================
   PRODUCT DETAIL PAGE — Rampas específicas
   ================================================ */

.product-detail-page {
  background: var(--white);
}

/* Detail Hero asymmetric */
.detail-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 96px;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.detail-hero-content {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 96px;
}

.detail-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fafafa;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  width: fit-content;
}

.detail-hero-tier {
  display: inline-flex;
  gap: 3px;
}

.detail-hero-tier span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
}

.detail-hero-badge[data-tier="1"] .detail-hero-tier span:nth-child(-n+1),
.detail-hero-badge[data-tier="2"] .detail-hero-tier span:nth-child(-n+2),
.detail-hero-badge[data-tier="3"] .detail-hero-tier span:nth-child(-n+3),
.detail-hero-badge[data-tier="4"] .detail-hero-tier span:nth-child(-n+4) {
  background: var(--accent);
}

.detail-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 540px;
}

.detail-hero-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 36px;
}

.detail-hero-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 24px 0;
  margin: 0 0 36px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.detail-hero-specs > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-hero-specs dt {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.detail-hero-specs dd {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.detail-hero-specs dd span {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
  margin-left: 3px;
}

.detail-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Gallery */
.detail-hero-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-gallery-main {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 36px;
  transition: opacity 200ms var(--ease-out);
}

.detail-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.detail-thumb {
  position: relative;
  aspect-ratio: 1;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .detail-thumb:hover {
    border-color: var(--ink);
  }
}

.detail-thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.detail-thumb.active {
  border-color: var(--accent);
  border-width: 2px;
  padding: 5px;
}

.detail-thumb:active {
  transform: scale(0.96);
  transition-duration: 80ms;
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Section headers (reusable) */
.detail-section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.detail-section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Specs detailed grid */
.detail-specs {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.detail-spec-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  background: var(--white);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 200ms var(--ease-out);
}

.detail-spec-card:nth-child(3n) {
  border-right: none;
}

.detail-spec-card:nth-last-child(-n+3) {
  border-bottom: none;
}

.detail-spec-card:hover {
  background: #fafafa;
}

.detail-spec-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.detail-spec-value {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.detail-spec-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2px;
}

.detail-color-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.detail-color-swatch {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

.detail-color-swatch::before {
  content: "";
  width: 100%;
  max-width: 74px;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  background: var(--swatch);
}

.detail-color-swatch[data-outline="true"]::before {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--white);
}

/* Features + Benefits 2-column */
.detail-feat-ben {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.detail-feat-ben-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.detail-feat-ben-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
}

.detail-feat-ben-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.detail-feat-ben-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.55;
}

.detail-list svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Applications */
.detail-applications {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.detail-applications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.detail-app-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .detail-app-card:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
  }
}

.detail-app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(0, 86, 179, 0.08);
  color: var(--accent);
  margin-bottom: 6px;
}

.detail-app-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

.detail-app-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Related */
.detail-related {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.detail-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.detail-related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .detail-related-card:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
  }

  .detail-related-card:hover .detail-related-arrow svg {
    transform: translateX(4px);
  }
}

.detail-related-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.detail-related-media {
  aspect-ratio: 16 / 10;
  background: #fafafa;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.detail-related-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-related-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.detail-related-number {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 8px;
}

.detail-related-body h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}

.detail-related-body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 20px;
}

.detail-related-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--ink);
  margin-top: auto;
  align-self: flex-start;
}

.detail-related-arrow svg {
  transition: transform 200ms var(--ease-out);
}

/* Responsive detail page */
@media (max-width: 980px) {
  .detail-hero {
    padding: 24px 0 64px;
  }

  .detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .detail-hero-content {
    position: static;
  }

  .detail-specs,
  .detail-feat-ben,
  .detail-applications,
  .detail-related {
    padding: 64px 0;
  }

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

  .detail-spec-card:nth-child(3n) {
    border-right: 1px solid var(--border);
  }

  .detail-spec-card:nth-child(2n) {
    border-right: none;
  }

  .detail-spec-card:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--border);
  }

  .detail-spec-card:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .detail-feat-ben-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .detail-applications-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .detail-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .detail-hero {
    padding: 16px 0 48px;
  }

  .detail-hero h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .detail-hero-specs {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .detail-hero-specs > div {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
  }

  .detail-hero-specs dd {
    font-size: 1.2rem;
  }

  .detail-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-hero-actions .button,
  .detail-hero-actions .button-ghost-dark {
    width: 100%;
  }

  .detail-gallery-main img {
    padding: 24px;
  }

  .detail-gallery-thumbs {
    gap: 8px;
  }

  .detail-specs,
  .detail-feat-ben,
  .detail-applications,
  .detail-related {
    padding: 48px 0;
  }

  .detail-section-header {
    margin-bottom: 32px;
  }

  .detail-specs-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-spec-card {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
  }

  .detail-spec-card:last-child {
    border-bottom: none !important;
  }

  .detail-feat-ben-grid {
    gap: 36px;
  }

  .detail-applications-grid {
    grid-template-columns: 1fr;
  }
}
