:root {
  --primary: #001128;
  --primary-rgb: 0, 17, 40;
  --ocean-deep: #00264c;
  --on-primary: #C0C0C0;
  --background: #f9f9f9;
  --surface: #f9f9f9;
  --pure-white: #ffffff;
  --text-on-dark: #C0C0C0;
  --text-on-dark-rgb: 192, 192, 192;
  --ice-blue: #f8fafc;
  --slate-gray: #64748b;
  --on-surface: #1a1c1c;
  --on-surface-variant: #44474e;
  --outline: #74777f;
  --outline-variant: #c4c6cf;
  --surface-container: #eeeeee;
  --surface-variant: #e2e2e2;
  --on-primary-container: #708ab5;
  --primary-fixed: #d6e3ff;
  --font: "Inter", system-ui, sans-serif;
  --space: clamp(1.5rem, 5vw, 5rem);
  --max: 1440px;
  --gutter: 2rem;
  --section: clamp(5rem, 12vw, 10rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pure-white);
  color: var(--on-surface);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(var(--text-on-dark-rgb), 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196, 198, 207, 0.35);
}

.site-header-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 1rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.brand img {
  display: block;
  height: clamp(1.85rem, 3.8vw, 2.5rem);
  width: auto;
  mix-blend-mode: screen;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none !important;
  }
}

.nav-desktop a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-gray);
  position: relative;
  padding-bottom: 0.2rem;
  transition: color 0.2s ease;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--primary);
}

.nav-desktop a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--primary);
}

.nav-langs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
}

.nav-langs a,
.nav-langs .is-soon {
  color: inherit;
  opacity: 0.55;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-langs a:hover {
  opacity: 1;
}

.nav-langs .is-active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-langs .is-soon {
  cursor: default;
  opacity: 0.35;
}

.nav-langs .lang-sep {
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
}

.menu-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: var(--primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(var(--primary-rgb), 0.97);
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay nav {
  display: grid;
  gap: 1.1rem;
  max-width: 28rem;
}

.nav-overlay a {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-overlay a:hover,
.nav-overlay a.is-active {
  color: var(--primary-fixed);
}

.nav-overlay .nav-langs {
  margin-top: 2rem;
  color: var(--on-primary-container);
}

.nav-overlay .nav-langs .is-active {
  color: var(--text-on-dark);
}

.hero {
  position: relative;
  min-height: 90vh;
  margin-top: 4.25rem;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--text-on-dark);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 2.2s var(--ease) forwards;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb), 0.25) 0%, rgba(var(--primary-rgb), 0.15) 40%, rgba(var(--primary-rgb), 0.85) 100%),
    rgba(var(--primary-rgb), 0.35);
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 4rem var(--space);
}

.hero h1 {
  margin: 0 0 1.25rem;
  max-width: min(22ch, 100%);
  font-size: clamp(2rem, 5.2vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy {
  margin: 0 0 2rem;
  max-width: min(42rem, 100%);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.45;
  color: rgba(var(--text-on-dark-rgb), 0.95);
}

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

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  color: rgba(var(--text-on-dark-rgb), 0.75);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--pure-white);
}

.scroll-cue .line {
  width: 1px;
  height: 2.75rem;
  background: linear-gradient(to bottom, var(--pure-white), transparent);
}

.section {
  padding: var(--section) var(--space);
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.section-rule {
  width: 6rem;
  height: 4px;
  background: var(--primary);
  margin-bottom: 2.5rem;
}

.section-lead {
  margin: 0 0 2.5rem;
  max-width: 40rem;
  color: var(--slate-gray);
  font-size: 1.125rem;
}

.bg-ice {
  background: var(--ice-blue);
}

.bg-navy {
  background: var(--primary);
  color: var(--text-on-dark);
}

.bg-navy .section-title,
.bg-navy .section-lead {
  color: var(--text-on-dark);
}

.bg-navy .section-lead {
  color: rgba(var(--text-on-dark-rgb), 0.8);
}

.bg-ocean {
  background: var(--ocean-deep);
  color: var(--text-on-dark);
}

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

.markets-head .section-title {
  margin-bottom: 0.75rem;
  max-width: 18ch;
}

.markets-head .section-rule {
  margin-bottom: 0;
}

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

.markets-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .markets-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    min-height: 34rem;
  }
}

.market-panel {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 22rem;
  background: var(--primary);
  color: var(--text-on-dark);
}

@media (min-width: 900px) {
  .market-panel {
    min-height: 0;
    height: 100%;
  }
}

.market-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.9s var(--ease);
}

.market-panel-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(var(--primary-rgb), 0.15) 0%,
    rgba(var(--primary-rgb), 0.35) 45%,
    rgba(var(--primary-rgb), 0.92) 100%
  );
  transition: background 0.45s ease;
}

.market-panel-body {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.35rem 1.6rem;
}

.market-index {
  margin-bottom: 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(var(--text-on-dark-rgb), 0.65);
}

.market-panel h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text-on-dark);
}

.market-label {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(var(--text-on-dark-rgb), 0.75);
}

.market-desc {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(var(--text-on-dark-rgb), 0.92);
  transform: translateY(0.6rem);
  transition: max-height 0.45s var(--ease), opacity 0.35s ease, transform 0.45s var(--ease);
}

.market-panel:hover img,
.market-panel:focus-within img {
  transform: scale(1.1);
}

.market-panel:hover .market-panel-shade,
.market-panel:focus-within .market-panel-shade {
  background: linear-gradient(
    180deg,
    rgba(var(--primary-rgb), 0.2) 0%,
    rgba(var(--primary-rgb), 0.5) 40%,
    rgba(var(--primary-rgb), 0.96) 100%
  );
}

.market-panel:hover .market-desc,
.market-panel:focus-within .market-desc {
  max-height: 10rem;
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .market-desc {
    max-height: none;
    opacity: 1;
    transform: none;
  }
}

.channels {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .channels {
    grid-template-columns: repeat(3, 1fr);
  }
}

.channel {
  background: var(--pure-white);
  border: 1px solid rgba(196, 198, 207, 0.45);
  padding: 1.75rem;
}

.channel h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--primary);
}

.channel .label {
  color: var(--slate-gray);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.channel p {
  margin: 0;
  color: var(--on-surface-variant);
}

.channel hr {
  border: 0;
  border-top: 1px solid var(--outline-variant);
  margin: 1rem 0;
}

.stats {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .stat {
    padding: 0 2rem;
    border-right: 1px solid rgba(174, 199, 246, 0.25);
  }

  .stat:first-child {
    padding-left: 0;
  }

  .stat:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

.stat-value {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(var(--text-on-dark-rgb), 0.75);
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.split-media {
  min-height: 22rem;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(196, 198, 207, 0.4);
}

/* Bloque alcance: imagen dominante + cifra */
.reach-section {
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.reach-feature {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .reach-feature {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: stretch;
  }
}

.reach-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 0.5rem;
}

.reach-headline {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 1rem 1.15rem;
  align-items: start;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .reach-headline {
    grid-template-columns: auto 1fr;
    gap: 0.75rem 1rem;
  }

  .reach-line {
    display: none;
  }

  .reach-headline .section-title {
    grid-column: 1 / -1;
    max-width: none;
  }
}

.reach-figure {
  font-size: clamp(3.2rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.reach-line {
  width: 2px;
  align-self: stretch;
  min-height: 4.5rem;
  background: linear-gradient(to bottom, var(--primary), rgba(var(--primary-rgb), 0.15));
  margin-top: 0.35rem;
}

.reach-headline .section-title {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.reach-copy .section-lead {
  margin-bottom: 1.75rem;
  max-width: 32rem;
}

.reach-media {
  position: relative;
  overflow: hidden;
  min-height: clamp(20rem, 48vw, 34rem);
  background: var(--ocean-deep);
  border: 1px solid rgba(196, 198, 207, 0.28);
}

.reach-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 1.1s var(--ease);
}

.reach-feature:hover .reach-media img,
.reach-feature:focus-within .reach-media img {
  transform: scale(1.1);
}

body.theme-blue .reach-figure {
  color: var(--text-on-dark);
}

body.theme-blue .reach-line {
  background: linear-gradient(to bottom, rgba(174, 199, 246, 0.9), rgba(174, 199, 246, 0.1));
}

body.theme-blue .reach-media {
  border-color: rgba(196, 198, 207, 0.22);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-gray);
}

.bg-navy .eyebrow,
.bg-ocean .eyebrow {
  color: var(--on-primary-container);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.75rem;
  border: 2px solid transparent;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-on-dark);
}

.btn-primary:hover {
  background: #000;
}

.btn-light {
  background: var(--pure-white);
  color: var(--primary);
}

.btn-light:hover {
  background: #000;
  color: var(--text-on-dark);
}

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

.btn-ghost:hover {
  background: var(--primary);
  color: var(--text-on-dark);
}

.btn-ghost-light {
  background: transparent;
  border-color: var(--text-on-dark);
  color: var(--text-on-dark);
}

.btn-ghost-light:hover {
  background: var(--pure-white);
  color: var(--primary);
}

.cta-row {
  margin-top: 2.5rem;
}

.news-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .news-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.panel {
  background: var(--pure-white);
  border: 1px solid rgba(196, 198, 207, 0.4);
  padding: 2rem;
}

.panel h2,
.panel h3 {
  margin: 0 0 1rem;
  color: var(--primary);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.panel p {
  color: var(--slate-gray);
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  background: var(--ice-blue);
  border: 1px solid var(--slate-gray);
  border-radius: 0;
  color: var(--primary);
  padding: 0.85rem 0.9rem;
}

.form-grid input:focus,
.form-grid textarea:focus {
  outline: none;
  border-width: 2px;
  border-color: var(--primary);
}

.form-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--slate-gray);
  font-size: 0.85rem;
  margin: 0.75rem 0 1rem;
}

.page-hero {
  margin-top: 4.25rem;
  padding: clamp(3rem, 8vw, 6rem) var(--space) 2.5rem;
  border-bottom: 1px solid rgba(196, 198, 207, 0.35);
  background: var(--pure-white);
}

.page-hero h1 {
  margin: 0 0 1rem;
  max-width: 14ch;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: var(--slate-gray);
  font-size: 1.125rem;
}

.product-list {
  display: grid;
  gap: 1px;
  background: var(--outline-variant);
  border: 1px solid var(--outline-variant);
}

.product-item {
  display: grid;
  gap: 1rem;
  background: var(--pure-white);
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .product-item {
    grid-template-columns: 9rem 1fr auto;
    align-items: center;
  }
}

.product-item img {
  width: 100%;
  height: 6.5rem;
  object-fit: cover;
  filter: grayscale(0.2);
}

.product-item h3 {
  margin: 0 0 0.3rem;
  color: var(--primary);
}

.product-item p {
  margin: 0;
  color: var(--slate-gray);
  font-size: 0.95rem;
}

.team-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  min-height: 16rem;
  display: grid;
  align-content: end;
  padding: 1.25rem;
  color: var(--text-on-dark);
  border: 1px solid rgba(196, 198, 207, 0.35);
  background-image:
    linear-gradient(180deg, transparent 25%, rgba(var(--primary-rgb), 0.88)),
    var(--photo);
  background-size: cover;
  background-position: center;
}

.team-card h3 {
  margin: 0 0 0.25rem;
}

.team-card p {
  margin: 0;
  color: rgba(var(--text-on-dark-rgb), 0.8);
  font-size: 0.9rem;
}

.contact-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
  }
}

.contact-side {
  display: grid;
  gap: 1rem;
}

.contact-card {
  background: var(--primary);
  color: var(--text-on-dark);
  padding: 1.75rem;
}

.contact-card h3 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-primary-container);
}

.contact-card p,
.contact-card a {
  margin: 0;
  color: rgba(var(--text-on-dark-rgb), 0.95);
}

.site-footer {
  background: var(--primary);
  color: var(--text-on-dark);
  padding: 3rem var(--space);
  border-top: 1px solid rgba(174, 199, 246, 0.2);
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer .brand {
  color: var(--text-on-dark);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--outline-variant);
}

.footer-links a:hover {
  color: var(--text-on-dark);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--outline-variant);
}

.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: var(--ocean-deep);
  color: var(--text-on-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.form-success {
  display: none;
  margin-top: 0.75rem;
  color: var(--ocean-deep);
}

.form-success.is-visible {
  display: block;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

/* ——— Tema páginas internas (estilo Stitch Productos) ——— */
body.theme-dark {
  background: var(--primary);
  color: var(--text-on-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.theme-dark .site-header {
  background: rgba(var(--primary-rgb), 0.9);
  border-bottom-color: rgba(196, 198, 207, 0.3);
}

body.theme-dark .brand {
  color: var(--text-on-dark);
}

body.theme-dark .nav-desktop a {
  color: var(--outline-variant);
}

body.theme-dark .nav-desktop a:hover,
body.theme-dark .nav-desktop a.is-active {
  color: var(--text-on-dark);
}

body.theme-dark .nav-desktop a.is-active::after {
  background: var(--pure-white);
}

body.theme-dark .nav-langs {
  color: var(--outline-variant);
}

body.theme-dark .nav-langs .is-active {
  color: var(--text-on-dark);
}

body.theme-dark .nav-langs a:hover {
  color: var(--text-on-dark);
}

body.theme-dark .menu-toggle {
  color: var(--text-on-dark);
}

body.theme-dark .page-hero {
  background: transparent;
  border-bottom-color: rgba(196, 198, 207, 0.3);
  margin-top: 4.25rem;
}

body.theme-dark .page-hero h1 {
  color: var(--text-on-dark);
}

body.theme-dark .page-hero p,
body.theme-dark .section-lead,
body.theme-dark .eyebrow {
  color: var(--outline-variant);
}

body.theme-dark .section-title {
  color: var(--text-on-dark);
}

body.theme-dark .section-rule {
  background: var(--pure-white);
}

body.theme-dark .bg-ice {
  background: var(--ocean-deep);
}

body.theme-dark .bg-navy,
body.theme-dark .bg-ocean {
  background: var(--ocean-deep);
}

body.theme-dark .channel,
body.theme-dark .panel {
  background: transparent;
  border-color: rgba(196, 198, 207, 0.3);
}

body.theme-dark .channel h3,
body.theme-dark .panel h2,
body.theme-dark .panel h3 {
  color: var(--text-on-dark);
}

body.theme-dark .channel .label,
body.theme-dark .channel p,
body.theme-dark .panel p {
  color: var(--outline-variant);
}

body.theme-dark .channel hr {
  border-top-color: rgba(196, 198, 207, 0.3);
}

body.theme-dark .split-media {
  border-color: rgba(196, 198, 207, 0.3);
}

body.theme-dark .btn-primary {
  background: var(--pure-white);
  color: var(--primary);
}

body.theme-dark .btn-primary:hover {
  background: var(--surface-variant);
  color: var(--primary);
}

body.theme-dark .btn-ghost {
  border-color: var(--outline-variant);
  color: var(--text-on-dark);
}

body.theme-dark .btn-ghost:hover {
  background: var(--ocean-deep);
  border-color: var(--text-on-dark);
  color: var(--text-on-dark);
}

body.theme-dark .form-grid input,
body.theme-dark .form-grid textarea {
  background: transparent;
  border-color: var(--outline-variant);
  color: var(--text-on-dark);
}

body.theme-dark .form-grid input:focus,
body.theme-dark .form-grid textarea:focus {
  border-color: var(--text-on-dark);
}

body.theme-dark .form-check {
  color: var(--outline-variant);
}

body.theme-dark .form-success {
  color: var(--primary-fixed);
}

body.theme-dark .contact-card {
  background: var(--ocean-deep);
  border: 1px solid rgba(196, 198, 207, 0.3);
}

body.theme-dark .product-list {
  background: rgba(196, 198, 207, 0.3);
  border-color: rgba(196, 198, 207, 0.3);
}

body.theme-dark .product-item {
  background: var(--ocean-deep);
}

body.theme-dark .product-item h3 {
  color: var(--text-on-dark);
}

body.theme-dark .product-item p {
  color: var(--outline-variant);
}

body.theme-dark .site-footer {
  margin-top: auto;
  background: var(--primary);
  border-top-color: rgba(196, 198, 207, 0.3);
}

body.theme-dark .back-top {
  background: var(--pure-white);
  color: var(--primary);
}

/* ——— Home azul (index2.html) ——— */
body.theme-blue {
  background: var(--primary);
  color: var(--text-on-dark);
}

body.theme-blue .site-header {
  background: rgba(var(--primary-rgb), 0.72);
  border-bottom-color: rgba(196, 198, 207, 0.22);
}

body.theme-blue .brand {
  color: var(--text-on-dark);
}

body.theme-blue .nav-desktop a {
  color: var(--outline-variant);
}

body.theme-blue .nav-desktop a:hover,
body.theme-blue .nav-desktop a.is-active {
  color: var(--text-on-dark);
}

body.theme-blue .nav-desktop a.is-active::after {
  background: var(--pure-white);
}

body.theme-blue .nav-langs {
  color: var(--outline-variant);
}

body.theme-blue .nav-langs .is-active {
  color: var(--text-on-dark);
}

body.theme-blue .nav-langs a:hover {
  color: var(--text-on-dark);
}

body.theme-blue .menu-toggle {
  color: var(--text-on-dark);
}

body.theme-blue .hero {
  margin-top: 0;
  min-height: 100vh;
}

body.theme-blue .hero-media {
  background: var(--primary);
}

body.theme-blue .hero-media::after {
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb), 0.45) 0%, rgba(var(--primary-rgb), 0.25) 40%, rgba(var(--primary-rgb), 0.88) 100%),
    rgba(0, 33, 71, 0.35);
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--primary);
}

body.theme-blue .section-title {
  color: var(--text-on-dark);
}

body.theme-blue .section-rule {
  background: var(--pure-white);
}

body.theme-blue .section-lead,
body.theme-blue .eyebrow {
  color: var(--outline-variant);
}

body.theme-blue .markets-head .section-title {
  color: var(--text-on-dark);
}

body.theme-blue .market-panel {
  border: 1px solid rgba(196, 198, 207, 0.22);
}

body.theme-blue .bg-navy {
  background: #000714;
}

body.theme-blue .bg-ice {
  background: var(--ocean-deep);
}

body.theme-blue .split-media {
  border-color: rgba(196, 198, 207, 0.3);
}

body.theme-blue .btn-primary {
  background: var(--pure-white);
  color: var(--primary);
}

body.theme-blue .btn-primary:hover {
  background: var(--primary-fixed);
  color: var(--primary);
}

body.theme-blue .btn-ghost {
  border-color: rgba(var(--text-on-dark-rgb), 0.65);
  color: var(--text-on-dark);
}

body.theme-blue .btn-ghost:hover {
  background: var(--pure-white);
  color: var(--primary);
  border-color: var(--text-on-dark);
}

body.theme-blue .panel {
  background: rgba(var(--primary-rgb), 0.55);
  border: 1px solid rgba(196, 198, 207, 0.3);
}

body.theme-blue .panel h2,
body.theme-blue .panel h3 {
  color: var(--text-on-dark);
}

body.theme-blue .panel p {
  color: var(--outline-variant);
}

body.theme-blue .form-grid input,
body.theme-blue .form-grid textarea {
  background: rgba(var(--primary-rgb), 0.65);
  border-color: rgba(196, 198, 207, 0.35);
  color: var(--text-on-dark);
}

body.theme-blue .form-grid input::placeholder,
body.theme-blue .form-grid textarea::placeholder {
  color: rgba(196, 198, 207, 0.65);
}

body.theme-blue .form-grid input:focus,
body.theme-blue .form-grid textarea:focus {
  border-color: var(--text-on-dark);
}

body.theme-blue .form-check {
  color: var(--outline-variant);
}

body.theme-blue .form-success {
  color: var(--primary-fixed);
}

body.theme-blue .site-footer {
  background: var(--primary);
  border-top-color: rgba(196, 198, 207, 0.3);
}

body.theme-blue .site-footer .brand {
  color: var(--text-on-dark);
}

body.theme-blue .back-top {
  background: var(--pure-white);
  color: var(--primary);
}

/* Catálogo cuadrado + modal (Stitch productos) */
.catalog-main {
  padding-top: 6.5rem;
  padding-bottom: 4rem;
}

.catalog-head {
  margin-bottom: 3.25rem;
}

.catalog-head .section-title {
  margin-bottom: 1.5rem;
}

.catalog-head .section-lead {
  margin: 0;
  max-width: 40rem;
}

@media (min-width: 900px) {
  .catalog-head {
    flex-direction: row;
    align-items: flex-end;
    margin-bottom: 4rem;
  }
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-btn {
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--outline-variant);
  background: transparent;
  color: var(--text-on-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--pure-white);
  color: var(--primary);
  border-color: var(--text-on-dark);
}

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

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.product-card {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(196, 198, 207, 0.3);
  background: var(--ocean-deep);
  color: inherit;
  padding: 0;
  cursor: pointer;
  text-align: center;
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.25s ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: rgba(var(--text-on-dark-rgb), 0.65);
  outline: none;
}

.product-card.filtering {
  opacity: 0;
  transform: scale(0.96);
}

.product-card.hidden-item {
  display: none;
}

.product-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card .shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(var(--primary-rgb), 0.88) 0%,
    rgba(var(--primary-rgb), 0.45) 28%,
    rgba(var(--primary-rgb), 0.08) 55%,
    transparent 72%
  );
  transition: background 0.35s ease;
}

.product-card:hover .shade {
  background: linear-gradient(
    to top,
    rgba(var(--primary-rgb), 0.92) 0%,
    rgba(var(--primary-rgb), 0.55) 32%,
    rgba(var(--primary-rgb), 0.12) 58%,
    transparent 75%
  );
}

.product-card .content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 1.35rem 1rem 1.5rem;
}

.product-card h3 {
  margin: 0;
  color: var(--text-on-dark);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(var(--primary-rgb), 0.55);
}

/* Versión anterior (productos2.html): nombre abajo a la izquierda */
.products-v1 .product-card {
  text-align: left;
}

.products-v1 .product-card img {
  opacity: 0.88;
  mix-blend-mode: luminosity;
}

.products-v1 .product-card:hover img {
  transform: scale(1.06);
  mix-blend-mode: normal;
}

.products-v1 .product-card .shade,
.products-v1 .product-card:hover .shade {
  background: linear-gradient(to top, var(--primary) 0%, rgba(var(--primary-rgb), 0.4) 42%, transparent 100%);
  transition: none;
}

.products-v1 .product-card .content {
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.1rem;
}

.products-v1 .product-card h3 {
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
  text-shadow: none;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  background: var(--primary);
  color: var(--text-on-dark);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
}

.standards-banner {
  margin-top: 2.5rem;
  border: 1px solid rgba(196, 198, 207, 0.3);
  background: var(--ocean-deep);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .standards-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 2rem;
  }
}

.standards-banner h3 {
  margin: 0 0 0.5rem;
  color: var(--text-on-dark);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.standards-banner p {
  margin: 0;
  color: var(--outline-variant);
  max-width: 40rem;
}

.cert-logos {
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(196, 198, 207, 0.3);
  display: grid;
  gap: 2.25rem;
  justify-items: stretch;
  width: 100%;
}

.cert-logos-title {
  margin: 0;
  text-align: center;
  justify-self: center;
}

.cert-logos-label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--outline-variant);
}

.cert-logos-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: none;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .cert-logos {
    margin-top: 5.5rem;
    padding-top: 4rem;
    gap: 2.75rem;
  }

  .cert-logos-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.cert-logo {
  width: 100%;
  max-width: none;
  opacity: 0.92;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cert-logo:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.cert-logo svg {
  width: 100%;
  height: auto;
  display: block;
  min-height: 5.5rem;
}

.cert-logos .btn {
  justify-self: center;
  margin-top: 0.5rem;
}

.ocean-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

body.theme-dark .site-header {
  z-index: 100;
}

body.theme-dark .nav-overlay {
  position: fixed;
  z-index: 150;
}

body.theme-dark .back-top {
  z-index: 100;
}

body.theme-dark .product-modal {
  z-index: 200;
}

body.theme-dark main,
body.theme-dark footer,
body.theme-dark .page-hero {
  position: relative;
  z-index: 1;
}

/* ——— Sobre nosotros ——— */
.about-page .about-hero {
  position: relative;
  margin-top: 0;
  min-height: min(78vh, 42rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--text-on-dark);
}

.about-page .about-hero-media {
  position: absolute;
  inset: 0;
  background: var(--primary);
}

.about-page .about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: about-hero-zoom 2.4s var(--ease) forwards;
}

.about-page .about-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--primary-rgb), 0.35) 0%, rgba(var(--primary-rgb), 0.55) 45%, rgba(var(--primary-rgb), 0.94) 100%);
}

.about-page .about-hero-content {
  position: relative;
  z-index: 1;
  padding: 7.5rem var(--space) 3.5rem;
}

.about-page .about-hero h1 {
  margin: 0 0 1rem;
  max-width: 12ch;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-transform: uppercase;
}

.about-page .about-hero .eyebrow {
  color: rgba(174, 199, 246, 0.85);
}

.about-page .about-hero .section-rule {
  background: var(--pure-white);
  margin-bottom: 1.25rem;
}

.about-page .about-hero p {
  margin: 0;
  max-width: 36rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(var(--text-on-dark-rgb), 0.92);
  line-height: 1.6;
}

.about-page .about-stats {
  padding: 2.5rem var(--space);
  background: rgba(0, 33, 71, 0.55);
  border-block: 1px solid rgba(196, 198, 207, 0.22);
}

.about-page .about-stats-row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  text-align: center;
}

@media (min-width: 720px) {
  .about-page .about-stats-row {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem 1rem;
  }
}

.about-page .about-stat-value {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-on-dark);
}

.about-page .about-stat-label {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--outline-variant);
}

.about-page .about-sep {
  display: none;
  width: 1px;
  height: 3.25rem;
  background: linear-gradient(to bottom, transparent, rgba(174, 199, 246, 0.55), transparent);
}

@media (min-width: 720px) {
  .about-page .about-sep {
    display: block;
    justify-self: center;
  }
}

.about-page .about-divider {
  display: flex;
  justify-content: center;
  padding: 0.25rem var(--space);
}

.about-page .about-divider span {
  width: min(100%, 72rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 198, 207, 0.4), transparent);
}

.about-page .about-band {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.about-page .about-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .about-page .about-split {
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

  .about-page .about-split-reverse .about-copy {
    order: 2;
  }

  .about-page .about-split-reverse .about-media {
    order: 1;
  }
}

.about-page .about-copy .section-title {
  margin-bottom: 0.85rem;
}

.about-page .about-copy .section-rule {
  margin-bottom: 1.35rem;
}

.about-page .about-copy .section-lead {
  margin-bottom: 1.75rem;
}

.about-page .about-media {
  position: relative;
  overflow: hidden;
  min-height: clamp(18rem, 42vw, 32rem);
  border: 1px solid rgba(196, 198, 207, 0.28);
  background: var(--ocean-deep);
}

.about-page .about-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  transition: transform 1s var(--ease);
}

.about-page .about-split:hover .about-media img,
.about-page .about-split:focus-within .about-media img {
  transform: scale(1.08);
}

.about-page .about-pillars {
  padding-block: clamp(4rem, 9vw, 7rem);
  background: rgba(0, 33, 71, 0.35);
}

.about-page .about-pillars-head {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.about-page .about-pillars-head .section-rule {
  margin-bottom: 0;
}

.about-page .about-pillars-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .about-page .about-pillars-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1.5rem 1.75rem;
    align-items: start;
  }
}

.about-page .about-pillar-num {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(174, 199, 246, 0.7);
}

.about-page .about-pillar h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-on-dark);
}

.about-page .about-pillar p {
  margin: 0;
  color: var(--outline-variant);
  line-height: 1.65;
}

.about-page .about-pillar-sep {
  display: none;
  width: 1px;
  min-height: 8rem;
  background: linear-gradient(to bottom, transparent, rgba(174, 199, 246, 0.45), transparent);
  align-self: stretch;
}

@media (min-width: 900px) {
  .about-page .about-pillar-sep {
    display: block;
  }
}

.about-page .about-cta {
  padding: clamp(4.5rem, 10vw, 7.5rem) var(--space);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(0, 33, 71, 0.85), transparent 70%),
    var(--primary);
  border-top: 1px solid rgba(196, 198, 207, 0.22);
}

.about-page .about-cta .section-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 18ch;
}

.about-page .about-cta p {
  margin: 1rem auto 2rem;
  max-width: 34rem;
  color: var(--outline-variant);
  font-size: 1.05rem;
}

.about-page .about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.about-page .reveal {
  transition:
    opacity 0.95s var(--ease),
    transform 1s var(--ease);
}

.about-page .about-pillars-grid .reveal:nth-child(1) {
  transition-delay: 0.05s;
}

.about-page .about-pillars-grid .reveal:nth-child(3) {
  transition-delay: 0.15s;
}

.about-page .about-pillars-grid .reveal:nth-child(5) {
  transition-delay: 0.25s;
}

.about-page .about-stats-row.reveal {
  transform: translateY(16px);
}

@keyframes about-hero-zoom {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

.product-modal[hidden] {
  display: none;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(var(--primary-rgb), 0.78);
  backdrop-filter: blur(6px);
}

.product-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(88vh, 780px);
  overflow: auto;
  background: #071628;
  border: 1px solid rgba(196, 198, 207, 0.35);
  border-radius: 4px;
}

.product-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(196, 198, 207, 0.4);
  background: rgba(var(--primary-rgb), 0.55);
  color: var(--text-on-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.product-modal-body {
  padding: 1.75rem 1.25rem 1.5rem;
  display: grid;
  gap: 1.35rem;
  align-content: start;
}

@media (min-width: 600px) {
  .product-modal-body {
    padding: 2rem 1.75rem 1.75rem;
  }
}

.product-modal-body h2 {
  margin: 0;
  padding-right: 2.5rem;
  color: var(--text-on-dark);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}

.product-modal-items {
  display: grid;
  gap: 0;
}

.product-modal-item {
  display: grid;
  gap: 0.9rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(196, 198, 207, 0.22);
}

.product-modal-item:first-child {
  padding-top: 0.15rem;
}

.product-modal-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.product-modal-item-media {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(0, 20, 45, 0.65);
  border: 1px solid rgba(196, 198, 207, 0.2);
}

.product-modal-item-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal-item-copy {
  min-width: 0;
  text-align: center;
}

@media (min-width: 560px) {
  .product-modal-item {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .product-modal-item.is-flip .product-modal-item-media {
    order: 2;
  }

  .product-modal-item.is-flip .product-modal-item-copy {
    order: 1;
  }

  .product-modal-item-media {
    max-width: 220px;
    width: 100%;
    justify-self: center;
  }

  .product-modal-item:not(.is-flip) .product-modal-item-media {
    justify-self: start;
  }

  .product-modal-item.is-flip .product-modal-item-media {
    justify-self: end;
  }
}

.product-modal-item-name {
  margin: 0 0 0.55rem;
  color: var(--text-on-dark);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.product-modal-species {
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.product-modal-species-row {
  margin: 0;
  color: rgba(220, 228, 240, 0.92);
  font-size: 0.92rem;
  line-height: 1.45;
}

.product-modal-species-row .label {
  font-weight: 600;
  color: var(--text-on-dark);
}

.product-modal-species-row em {
  font-style: italic;
  color: rgba(174, 199, 246, 0.95);
}

.product-modal-types {
  margin: 0.65rem 0 0;
  color: rgba(220, 228, 240, 0.92);
  font-size: 0.92rem;
  line-height: 1.45;
}

.product-modal-types .label {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 600;
  color: var(--text-on-dark);
}

.product-modal-types p {
  margin: 0;
}

.product-modal-body .btn {
  justify-self: center;
  margin-top: 0.25rem;
}

body.modal-open {
  overflow: hidden;
}

