/* Nativo Ingeniería + Recubrimientos — sistema visual corporativo */

:root {
  --blue-900: #001b4e;
  --blue-800: #0a2f73;
  --blue-700: #164089;
  --gold: #eca20c;
  --gold-light: #f6c23a;
  --gold-dark: #c88706;
  --drop: #e86a3c;
  --white: #ffffff;
  --surface: #f4f4f4;
  --surface-2: #eef1f6;
  --ink: #3a3a3a;
  --ink-strong: #152033;
  --muted: #5c6773;
  --line: #dce2ea;
  --line-strong: #c5ced8;
  --shadow: 0 18px 40px rgba(0, 27, 78, 0.08);
  --shadow-sm: 0 8px 24px rgba(0, 27, 78, 0.06);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1160px;
  --header-h: 88px;
  --font-display: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--blue-900);
}

p {
  margin: 0;
}

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

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 1000;
  background: var(--gold);
  color: var(--blue-900);
  padding: 8px 14px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

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

/* ——— Top bar ——— */
.topbar {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}

.topbar a:hover {
  color: var(--gold-light);
}

.topbar-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar a.topbar-empleados {
  color: var(--blue-900);
  background: var(--gold);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.topbar a.topbar-empleados:hover {
  color: var(--blue-900);
  background: var(--gold-light);
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 55%, var(--drop) 100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: var(--header-h);
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 200px;
  max-width: none;
  height: auto;
}

.site-nav {
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 7px 7px;
  color: var(--blue-900);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-list a:hover,
.nav-list a.is-active {
  background: var(--surface-2);
  color: var(--blue-800);
}

.nav-list a.is-featured {
  color: var(--gold-dark);
}

.nav-list a.is-featured.is-active,
.nav-list a.is-featured:hover {
  background: rgba(236, 162, 12, 0.12);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.header-actions .btn {
  padding: 0 16px;
  min-height: 42px;
  font-size: 12.5px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue-900);
  margin: 0 auto;
  position: relative;
}

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

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

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

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

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

.btn-primary {
  background: var(--gold);
  color: var(--blue-900);
}

.btn-primary:hover {
  background: var(--gold-light);
}

.nav-list a.nav-empleados {
  color: var(--blue-900);
  font-weight: 700;
  background: var(--gold);
}

@media (min-width: 1201px) {
  .nav-list li:has(.nav-empleados) {
    display: none;
  }
}

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

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--blue-900);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--blue-800);
  background: var(--surface-2);
}

.btn-dark {
  background: var(--blue-900);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--blue-800);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue-900);
  color: var(--white);
  min-height: calc(88vh - 122px);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 27, 78, 0.92) 0%, rgba(0, 27, 78, 0.62) 46%, rgba(0, 27, 78, 0.28) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
  min-height: calc(88vh - 122px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 80px;
}

.hero-nav,
.hero-dots {
  position: absolute;
  z-index: 3;
}

.hero-nav {
  inset: auto 18px 0 18px;
  top: 50%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.hero-nav button {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 27, 78, 0.35);
  color: var(--white);
  cursor: pointer;
}

.hero-nav button:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.hero-dots {
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--gold);
  width: 22px;
  border-radius: 999px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--drop));
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 4.15rem);
  max-width: 12ch;
  margin-bottom: 18px;
}

.hero-lead {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-mark {
  display: grid;
  place-items: center;
  justify-self: end;
}

.hero-mark img {
  width: min(320px, 100%);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.28));
}

.hero-panel img {
  width: 72px;
  margin-bottom: 14px;
  filter: none;
}

.hero-panel {
  width: min(360px, 100%);
  padding: 28px 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
}

.hero-panel h2 {
  color: var(--white);
  font-size: 1.15rem;
  margin: 10px 0 8px;
}

.hero-panel p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}

.hero-panel-kicker {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ——— Sections ——— */
.section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 42px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--blue-800);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker span {
  color: var(--gold-dark);
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  margin-bottom: 12px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-surface {
  background: var(--surface);
}

.section-navy {
  background: var(--blue-900);
  color: var(--white);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-navy .section-lead {
  color: rgba(255, 255, 255, 0.74);
}

.section-navy .section-kicker {
  color: var(--gold-light);
}

/* ——— Pillars ——— */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pillar {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pillar-featured {
  border-color: rgba(236, 162, 12, 0.45);
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(180deg, var(--gold), var(--drop)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 16px 36px rgba(236, 162, 12, 0.12);
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-dark);
  margin-bottom: 18px;
}

.pillar h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.pillar p {
  color: var(--muted);
  margin-bottom: 22px;
  flex: 1;
}

.pillar-link {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-800);
}

.pillar-link:hover {
  color: var(--gold-dark);
}

.badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(236, 162, 12, 0.14);
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ——— Process ——— */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  padding: 24px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.step-index {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--blue-900);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ——— Brand band ——— */
.brand-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}

.brand-band img {
  width: 92px;
}

.brand-logo-card {
  background: var(--white);
  padding: 14px 18px;
  border-radius: 12px;
}

.brand-logo-card img {
  width: min(240px, 70vw);
  height: auto;
}

.kova-hero {
  background: var(--white);
  padding: 40px 0 28px;
}

.kova-logo,
.kova-wordmark img {
  width: min(520px, 92%);
  height: auto;
  margin: 8px 0 18px;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.28));
}

.kova-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 420px;
}

.kova-banner--compact {
  min-height: 260px;
}

.kova-banner--page {
  min-height: 420px;
  display: grid;
}

.kova-crumb {
  margin: 0 0 14px;
  color: var(--muted);
}

.kova-crumb a {
  color: var(--blue-800);
}

.kova-crumb a:hover {
  color: var(--gold-dark);
}

.kova-banner > img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 40%;
}

.kova-banner--compact > img {
  height: 260px;
}

.kova-banner--page > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.kova-banner-panel {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(42%, 420px);
  padding: 36px 32px;
  background: linear-gradient(90deg, rgba(0, 27, 78, 0.94) 0%, rgba(0, 27, 78, 0.78) 72%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.kova-banner--page .kova-banner-panel {
  position: relative;
  width: min(52%, 480px);
  min-height: 420px;
  padding: 44px 36px 40px;
  box-sizing: border-box;
}

.kova-banner-panel img {
  width: min(280px, 100%);
  height: auto;
  margin-bottom: 18px;
}

.kova-banner--page .eyebrow {
  margin: 0 0 12px;
}

.kova-banner--page .kova-wordmark {
  margin: 0 0 12px;
}

.kova-banner--page .kova-wordmark img {
  width: min(240px, 100%);
  margin: 0;
}

.kova-banner--page .kova-banner-panel h2 {
  margin: 0 0 12px;
}

.kova-banner--page .kova-banner-panel p {
  margin: 0 0 20px;
}

.kova-banner-panel h2 {
  color: var(--gold-light);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 0 0 10px;
}

.kova-banner-panel p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 32ch;
  margin: 0 0 18px;
}

.section--tight {
  padding: 40px 0;
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  margin-bottom: 22px;
}

.section-head--row .section-lead {
  max-width: 36ch;
  margin: 0;
  font-size: 1rem;
}

.page-hero--kova {
  padding: 36px 0 28px;
}

.page-hero--kova .kova-wordmark img {
  width: min(360px, 80%);
  margin: 6px 0 10px;
}

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

.kova-line-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.kova-line {
  --line-color: var(--gold);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.kova-line--interior { --line-color: #c9a36a; }
.kova-line--fachada { --line-color: #0a2f73; }
.kova-line--elasto { --line-color: #0f7a72; }
.kova-line--cubierta { --line-color: #c44b2f; }
.kova-line--fondo { --line-color: #6b7280; }
.kova-line--sport { --line-color: #2f8f4e; }

.kova-line-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #1a2230;
}

.kova-line-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.kova-line-vol,
.kova-line-badge {
  position: absolute;
  padding: 4px 8px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kova-line-vol {
  left: 10px;
  bottom: 10px;
  background: rgba(0, 27, 78, 0.86);
  color: var(--white);
}

.kova-line-badge {
  top: 10px;
  right: 10px;
  background: var(--gold);
  color: var(--blue-900);
}

.kova-line--soon .kova-line-media img {
  filter: saturate(0.88);
}

.kova-line-soon {
  display: inline-flex;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kova-line-body {
  padding: 12px 14px 14px;
  border-top: 4px solid var(--line-color);
}

.kova-line-ref {
  margin: 0 0 2px;
  color: var(--line-color);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kova-line-body h3 {
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.kova-line-body p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.kova-line-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.kova-line-body li {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  background: color-mix(in srgb, var(--line-color) 14%, #fff);
  color: var(--blue-900);
  border: 1px solid var(--line);
  border-color: color-mix(in srgb, var(--line-color) 32%, #fff);
  font-size: 11px;
  font-weight: 600;
}

.kova-line-body a {
  display: inline-flex;
  color: var(--line-color);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kova-line-body a:hover,
.kova-line-hit .kova-line-body > span:not(.kova-line-soon) {
  color: var(--line-color);
}

.kova-line-hit .kova-line-body > span:not(.kova-line-soon) {
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kova-pdp .breadcrumb {
  color: var(--muted);
}

.kova-pdp .breadcrumb a {
  color: var(--blue-800);
}

.kova-pdp .breadcrumb a:hover {
  color: var(--line-color);
}

.kova-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.kova-cta h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.kova-cta p {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

.kova-line-hit {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.kova-line-hit:hover h3 {
  color: var(--line-color);
}

.kova-pdp {
  --line-color: var(--gold);
}

.kova-pdp-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
  padding: 28px 0 8px;
}

.kova-pdp-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #eef1f6;
  border: 1px solid var(--line);
}

.kova-pdp-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 62%;
}

.kova-pdp-photo .kova-line-badge {
  z-index: 1;
}

.kova-pdp-buy .eyebrow {
  color: var(--line-color);
}

.kova-pdp-buy h1 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin: 0 0 6px;
}

.kova-pdp-type {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.kova-pdp-label {
  margin: 0 0 8px;
  color: var(--blue-900);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kova-pdp-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.kova-pdp-sizes span {
  min-width: 140px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.kova-pdp-sizes span strong {
  display: block;
  color: var(--blue-900);
}

.kova-pdp-sizes span small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.kova-pdp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.kova-pdp-chips li {
  padding: 5px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line-color) 14%, #fff);
  border: 1px solid color-mix(in srgb, var(--line-color) 32%, #fff);
  color: var(--blue-900);
  font-size: 12px;
  font-weight: 600;
}

.kova-pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.kova-pdp-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.kova-pdp-help {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.kova-pdp-help a {
  display: block;
  color: var(--blue-800);
  font-weight: 600;
}

.kova-pdp-help a:hover {
  color: var(--line-color);
}

.kova-pdp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 28px 0 0;
  border-bottom: 1px solid var(--line);
}

.kova-pdp-tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 12px 16px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.kova-pdp-tabs button.is-active {
  color: var(--blue-900);
  border-bottom-color: var(--line-color);
}

.kova-pdp-panel {
  display: none;
  padding: 22px 0 8px;
}

.kova-pdp-panel.is-active {
  display: block;
}

.kova-pdp-panel h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.kova-pdp-panel p,
.kova-pdp-panel li {
  color: var(--ink);
}

.kova-pdp-panel ol,
.kova-pdp-panel ul {
  margin: 0;
  padding-left: 1.2rem;
}

.kova-pdp-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 18px 0 0;
}

.kova-pdp-meta div {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.kova-pdp-meta dt {
  color: var(--blue-900);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kova-pdp-meta dd {
  margin: 4px 0 0;
}

.kova-pdp-scene {
  margin-top: 28px;
  overflow: hidden;
  border-radius: var(--radius);
}

.kova-pdp-scene img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.kova-pdp-more {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.kova-pdp-more a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  text-decoration: none;
}

.kova-pdp-more img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center 62%;
}

.kova-pdp-more strong {
  display: block;
  padding: 10px 12px 12px;
  color: var(--blue-900);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.ft-downloads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ft-downloads a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  text-decoration: none;
}

.ft-downloads a:hover {
  border-color: var(--gold);
}

.ft-downloads strong {
  display: block;
  color: var(--blue-900);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.ft-downloads small {
  color: var(--muted);
}

.ft-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.ft-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.ft-table th,
.ft-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.ft-table th {
  background: var(--blue-900);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ft-table td:first-child {
  font-weight: 700;
  color: var(--blue-900);
  background: var(--surface-2);
}

.ft-table tr:last-child td {
  border-bottom: 0;
}

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

.product-card {
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.product-card .badge {
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.product-card p {
  color: var(--muted);
  margin-bottom: 14px;
}

.product-card ul {
  display: grid;
  gap: 6px;
}

.product-card li {
  color: var(--ink);
  padding-left: 14px;
  position: relative;
  font-size: 0.95rem;
}

.product-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.line-visual {
  width: 100%;
  border-radius: var(--radius);
  margin: 8px 0 28px;
}

.allies-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.98rem;
}

.pillar-logo {
  width: 168px;
  margin: 4px 0 14px;
}

.brand-band h2 {
  margin-bottom: 8px;
}

.brand-band p {
  max-width: 58ch;
}

/* ——— Trust ——— */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.trust-item {
  background: var(--white);
  padding: 28px 22px;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--blue-900);
  margin-bottom: 4px;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— Page hero ——— */
.page-hero {
  background:
    linear-gradient(135deg, var(--blue-900), var(--blue-800));
  color: var(--white);
  padding: 64px 0 56px;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.page-hero .split {
  align-items: center;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

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

/* ——— Content layouts ——— */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.prose p + p {
  margin-top: 14px;
}

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

.list-check {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.list-check li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.info-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.info-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.info-card p {
  color: var(--muted);
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
}

.contact-card {
  display: grid;
  gap: 16px;
}

.contact-row {
  padding: 18px 18px 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row span {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 4px;
}

.contact-row a {
  display: block;
}

.contact-row a:hover,
.contact-row p {
  color: var(--blue-900);
  font-weight: 600;
}

.contact-row-map {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-row-map img {
  width: 72px;
  height: auto;
  flex-shrink: 0;
}

.form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.field {
  display: grid;
  gap: 6px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-900);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 12px;
  color: var(--ink-strong);
  background: var(--white);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(236, 162, 12, 0.45);
  border-color: var(--gold);
}

.form-status {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.form-status.is-success {
  background: #e8f6ee;
  color: #146338;
}

.form-status.is-error {
  background: #fdeeee;
  color: #9b1c1c;
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ——— Footer ——— */
.site-footer {
  background: #021018;
  color: rgba(255, 255, 255, 0.72);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand img {
  width: 64px;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 34ch;
  font-size: 0.95rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.site-footer a {
  display: inline-block;
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 22px;
  font-size: 13px;
}

/* ——— WhatsApp ——— */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1bab4a;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(27, 171, 74, 0.35);
}

.wa-float:hover {
  transform: translateY(-2px);
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

body:has(#nico-root) .wa-float {
  display: none !important;
}

#nico-root {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 400;
  font-family: var(--font-body);
}

.nico-launch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px 10px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--blue-900);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0, 27, 78, 0.35);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nico-launch img {
  width: 22px;
  height: auto;
  pointer-events: none;
  filter: brightness(0) invert(1);
}

.nico-launch .nico-name {
  animation: nico-name-blink 3.4s ease-in-out infinite;
}

.nico-launch.is-open .nico-name {
  animation: none;
}

@keyframes nico-name-blink {
  0%,
  68%,
  100% { opacity: 1; }
  76% { opacity: 0.2; }
  84% { opacity: 1; }
  92% { opacity: 0.35; }
}

.nico-launch:hover,
.nico-launch:focus-visible {
  background: var(--blue-800);
}

.nico-launch.has-pulse {
  animation: nico-pulse 2.4s var(--ease) infinite;
}

.nico-launch.is-open {
  background: var(--blue-800);
}

@keyframes nico-pulse {
  0%,
  100% { box-shadow: 0 12px 28px rgba(0, 27, 78, 0.35); }
  50% { box-shadow: 0 12px 28px rgba(0, 27, 78, 0.35), 0 0 0 10px rgba(236, 162, 12, 0.22); }
}

.nico-panel {
  position: fixed;
  right: 22px;
  bottom: 78px;
  z-index: 401;
  width: min(380px, calc(100vw - 28px));
  height: min(520px, calc(100dvh - 110px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 48px rgba(0, 27, 78, 0.28);
  border: 1px solid var(--line);
}

.nico-panel[hidden] {
  display: none !important;
}

.nico-panel--asesor .nico-head {
  box-shadow: inset 0 -2px 0 var(--gold);
}

.nico-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--blue-900);
  color: var(--white);
  border-bottom: 3px solid var(--gold);
}

.nico-head-id {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nico-head-id img {
  width: 20px;
  height: auto;
  filter: brightness(0) invert(1);
}

.nico-head-id p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nico-head-id small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
}

.nico-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.nico-log {
  flex: 1;
  overflow: auto;
  padding: 14px;
  display: grid;
  gap: 10px;
  align-content: start;
  background: var(--surface-2);
}

.nico-msg {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.nico-msg p {
  margin: 0;
}

.nico-msg--bot {
  background: var(--white);
  color: var(--ink-strong);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}

.nico-picks {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.nico-pick {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.nico-pick img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.nico-pick strong,
.nico-pick em {
  display: block;
  font-style: normal;
}

.nico-pick em {
  color: var(--blue-900);
  font-weight: 700;
  font-size: 0.82rem;
}

.nico-typing {
  display: flex;
  gap: 5px;
  align-items: center;
  width: max-content;
  padding: 12px 16px;
}

.nico-typing[hidden] {
  display: none !important;
}

.nico-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-800);
  opacity: 0.35;
  animation: nico-dot 1.2s ease-in-out infinite;
}

.nico-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.nico-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes nico-dot {
  0%,
  80%,
  100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

.nico-msg--user {
  justify-self: end;
  background: var(--blue-900);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.nico-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px !important;
}

.nico-links a {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff8e6;
  color: var(--blue-900);
  font-size: 0.78rem;
  font-weight: 700;
}

.nico-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px 0;
  background: var(--white);
}

.nico-chips button {
  margin: 0;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--blue-900);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.nico-chips button:hover,
.nico-chips button:focus-visible {
  border-color: var(--gold);
  background: #fffdf6;
}

.nico-form {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  padding: 10px 12px 12px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.nico-photo {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--blue-900);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.nico-photo:hover,
.nico-photo:focus-visible {
  border-color: var(--gold);
}

.nico-shot {
  display: block;
  width: min(100%, 220px);
  margin-top: 8px;
  border-radius: 8px;
}

.nico-form input {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}

.nico-form button[type="submit"] {
  margin: 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--gold);
  color: var(--blue-900);
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .nico-launch .nico-name,
  .nico-launch.has-pulse {
    animation: none;
  }
}

@media (max-width: 640px) {
  #nico-root {
    right: 12px;
    bottom: 12px;
  }

  .nico-panel {
    right: 12px;
    bottom: 72px;
    width: calc(100vw - 24px);
    height: min(70dvh, 560px);
  }
}

/* ——— Page-specific: marca ——— */
.marca-hero-visual {
  display: grid;
  place-items: center;
}

.marca-hero-visual img {
  width: min(180px, 40vw);
}

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

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

.why-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.why-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.why-card div {
  padding: 18px 18px 20px;
}

.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.why-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

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

.work-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 240px;
  color: var(--white);
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.work-card span,
.work-card strong,
.work-card em {
  position: relative;
  z-index: 1;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 27, 78, 0.88));
}

.work-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 20px;
}

.work-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.work-card em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.allies {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
}

.allies figure {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.allies img {
  max-height: 46px;
  width: auto;
  max-width: 88%;
  object-fit: contain;
}

.pdf-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.svc-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.svc-card h3 {
  font-size: 1.08rem;
  margin-bottom: 12px;
}

.svc-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.svc-card li:last-child {
  border-bottom: 0;
}

.svc-card li strong {
  display: block;
  color: var(--blue-900);
}

.svc-card li span {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.assist-mode {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.assist-mode .section-kicker {
  margin-bottom: 10px;
}

.assist-mode h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.assist-mode p {
  color: var(--muted);
}

.assist-photo {
  overflow: hidden;
  border-radius: var(--radius);
}

.assist-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

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

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.gallery-process figure {
  margin: 0;
}

.gallery-process figcaption {
  padding: 8px 2px 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.gallery-process figcaption strong {
  display: block;
  color: var(--blue-900);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.gallery-block {
  margin-bottom: 48px;
  scroll-margin-top: 110px;
}

.gallery-block h2 {
  margin-bottom: 8px;
}

.gallery-block p {
  color: var(--muted);
  margin-bottom: 16px;
}

/* ——— Calculadora KOVA ——— */
.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 22px;
  align-items: start;
}

.calc-form,
.calc-result {
  min-width: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.calc-form {
  display: grid;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: var(--white);
}

.calc-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.calc-fieldset legend {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-900);
  margin-bottom: 8px;
}

.calc-hint {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.page-hero--compact {
  padding: 28px 0 24px;
}

.page-hero--compact h1 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}

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

.section--calc {
  padding: 24px 0 32px;
}

.calc-products {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.calc-surfaces {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.calc-surfaces:has(.calc-choice:nth-child(2):last-child) {
  grid-template-columns: 1fr 1fr;
}

.calc-choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.calc-choice:hover {
  border-color: var(--gold);
}

.calc-choice:has(input:checked) {
  background: #fffdf6;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(236, 162, 12, 0.16);
}

.calc-choice input {
  margin-top: 4px;
  accent-color: var(--gold-dark);
}

.calc-choice strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--blue-900);
}

.calc-choice small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2px;
}

.calc-helper {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.calc-helper summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-800);
}

.calc-helper .form-row {
  margin-top: 14px;
}

.calc-helper .btn {
  margin-top: 14px;
}

.calc-result {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  max-height: calc(100dvh - var(--header-h) - 24px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 20px 20px 22px;
  background: linear-gradient(180deg, var(--blue-800) 0%, var(--blue-900) 100%);
  color: rgba(255, 255, 255, 0.88);
}

.calc-result h2,
.calc-result h3 {
  color: var(--white);
}

.calc-result h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  margin: 4px 0 6px;
}

.calc-result h2 small {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.calc-result h3 {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 18px 0 8px;
  color: var(--gold-light);
}

.calc-result-kicker {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0;
}

.calc-result-meta,
.calc-hands,
.calc-margen {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.calc-facts {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.calc-facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.calc-facts span {
  color: rgba(255, 255, 255, 0.62);
}

.calc-facts strong {
  text-align: right;
  font-weight: 600;
  color: var(--white);
}

.calc-packs {
  display: grid;
  gap: 8px;
}

.calc-packs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-packs small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 400;
}

.calc-actions {
  display: grid;
  gap: 8px;
  margin: 14px 0 10px;
}

.calc-docs {
  font-size: 0.88rem;
}

.calc-docs a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.calc-result [hidden] {
  display: none !important;
}

.calc-docs a:hover {
  color: var(--white);
}

/* ——— Responsive ——— */
@media (max-width: 1200px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .header-actions .btn {
    display: none;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-bottom: 16px;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 980px) {
  .hero-inner,
  .pillars,
  .process,
  .brand-band,
  .trust,
  .split,
  .contact-grid,
  .footer-grid,
  .cards-2,
  .highlights,
  .form-row,
  .why-grid,
  .work-grid,
  .allies,
  .svc-grid,
  .assist-modes,
  .gallery,
  .product-grid,
  .kova-line-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .calc-result {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .section-head--row,
  .kova-cta,
  .kova-pdp-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .kova-pdp-hero,
  .kova-pdp-more,
  .kova-pdp-meta {
    grid-template-columns: 1fr;
  }

  .kova-banner-panel,
  .kova-banner--page .kova-banner-panel {
    width: 100%;
    min-height: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 27, 78, 0.92));
    justify-content: flex-end;
    padding: 28px 22px 24px;
  }

  .why-grid,
  .work-grid,
  .gallery,
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-mark,
  .brand-band {
    justify-items: start;
  }

  .hero,
  .hero-copy {
    min-height: 70vh;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand img {
    width: 186px;
    max-width: none;
  }

  .topbar-links a:not(.topbar-empleados) {
    display: none;
  }

  .hero-copy {
    padding: 48px 0 64px;
    min-height: 64vh;
  }

  .why-grid,
  .work-grid,
  .product-grid,
  .gallery,
  .allies,
  .kova-line-grid,
  .ft-downloads,
  .assist-modes,
  .split,
  .calc-layout {
    grid-template-columns: 1fr;
  }

  .calc-products,
  .calc-surfaces {
    grid-template-columns: 1fr 1fr;
  }

  .calc-result {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
