@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
  --primary: #153a6c;
  --secondary: #17a4be;
  --accent: #fb8800;
  --background: #ffffff;
  --surface: #f8fbfd;
  --text: #153a6c;
  --text-secondary: #5f6368;

  /* Legacy variable mappings for seamless theme injection */
  --ink: var(--text);
  --ink-2: var(--text-secondary);
  --muted: var(--text-secondary);
  --line: #dfe5eb;
  --paper: var(--background);
  --surface-2: var(--surface);
  --navy: var(--primary);
  --teal: var(--secondary);
  --teal-dark: var(--primary);
  --green: #25d366;
  --amber: var(--accent);
  --coral: var(--accent);
  --sky: #e0f2fe;

  --shadow-soft: 0 15px 35px rgba(21, 58, 108, 0.08);
  --shadow-card: 0 10px 30px rgba(21, 58, 108, 0.05);
  --radius: 12px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-secondary);
  background: var(--background);
  font-family: 'Montserrat', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--teal-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: background-color 300ms ease, box-shadow 300ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(21, 58, 108, 0.05);
}

.main-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand img {
  width: 184px;
  display: block;
  height: auto;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  padding: 0;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 200ms ease, background-color 200ms ease;
  position: relative;
  z-index: 60;
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 250ms ease, opacity 250ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav__links {
  position: absolute;
  top: calc(100% + 8px);
  left: 16px;
  right: 16px;
  display: none;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  z-index: 200;
}

.main-nav__links.is-open {
  display: grid;
  gap: 8px;
}


/* Dropdown para navbar */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
  z-index: 100;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(21, 58, 108, 0.08);
}

.nav-dropdown-menu a {
  padding: 12px 16px !important;
  display: block;
  font-weight: 500 !important;
  color: var(--text-primary) !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-dropdown-menu a:last-child {
  border-bottom: none;
}

.nav-dropdown-menu a:hover {
  background-color: var(--surface-2) !important;
  color: var(--secondary) !important;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {

  /* El header queda sticky, pero el menú se convierte en flujo normal
     dentro del header para que no flote sobre el contenido al scrollear */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .main-nav {
    flex-wrap: wrap;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 16px;
  }

  .header-search {
    flex: 1 1 100% !important;
    order: 2;
    margin-top: 12px;
    margin-bottom: 0;
    max-width: none !important;
  }

  .main-nav__links {
    /* En móvil: parte del flujo normal, no flotante */
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    order: 3;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: 12px 0 16px;
    background: #fff;
    max-height: 60vh;
    overflow-y: auto;
  }

  .main-nav__links.is-open {
    display: grid;
    gap: 4px;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background-color: rgba(0, 0, 0, 0.02);
    margin-left: 12px;
    margin-right: 12px;
    animation: none !important;
  }

  .nav-dropdown-menu:not(.is-open) {
    display: none !important;
  }

  .nav-dropdown-menu.is-open {
    display: block !important;
  }

  .nav-dropdown-toggle {
    transition: transform 0.2s ease;
  }

  .nav-dropdown-toggle.is-open {
    transform: rotate(180deg);
  }
}


.main-nav__links a {
  padding: 12px 10px;
  color: var(--text-secondary);
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  transition: color 250ms ease, background-color 250ms ease;
}

.main-nav__links a:hover,
.main-nav__links a:focus-visible,
.main-nav__links a[aria-current="page"] {
  color: var(--secondary) !important;
  background: transparent;
}

.nav-cta {
  color: #fff !important;
  background: #25d366 !important;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15) !important;
  transition: background-color 250ms ease, transform 250ms ease, box-shadow 250ms ease !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background-color: #1ebe5b !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.25) !important;
}

.section {
  padding-block: 28px;
}

.eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 0 0 12px;
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--primary);
  font-weight: 800;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 9vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding-top: 48px;
  background: linear-gradient(118deg, rgba(220, 239, 241, 0.95) 0%, rgba(251, 250, 246, 0.92) 48%, rgba(43, 111, 149, 0.10) 100%);
}

.hero__grid {
  display: grid;
  gap: 36px;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 26px;
  color: var(--ink-2);
  font-size: clamp(1.1rem, 4vw, 1.35rem);
}

.hero__actions,
.final-cta__actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 32px auto 0;
}

@media (min-width: 768px) {
  .hero-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-categories-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.hero-categories-grid .button {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.1rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease, transform 300ms ease, box-shadow 300ms ease;
  cursor: pointer;
}

.button--primary {
  color: #fff !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 4px 14px rgba(251, 136, 0, 0.2) !important;
}

.button--secondary {
  color: var(--primary) !important;
  background: transparent !important;
  border-color: var(--primary) !important;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #d97500 !important;
  border-color: #d97500 !important;
  box-shadow: 0 6px 20px rgba(251, 136, 0, 0.3) !important;
}

.button--secondary:hover,
.button--secondary:focus-visible {
  color: #fff !important;
  background: var(--primary) !important;
  box-shadow: 0 6px 20px rgba(21, 58, 108, 0.15) !important;
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-panel__image,
.operations-card {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hero-panel__image--large {
  grid-column: 1 / -1;
}

.hero-panel__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.operations-card {
  grid-column: 1 / -1;
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #284860);
}

.operations-card span,
.operations-card small {
  display: block;
  color: #cbd8dd;
}

.operations-card strong {
  display: block;
  margin-block: 6px;
  font-size: 1.35rem;
}

.trust-strip {
  padding-block: 18px;
  color: #fff;
  background: var(--navy);
}

.trust-strip__grid {
  display: grid;
  gap: 12px;
}

.trust-strip article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--amber);
  font-size: 1.7rem;
  line-height: 1;
}

.trust-strip span {
  margin-top: 6px;
  color: #edf4f5;
  font-weight: 800;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading--left {
  margin-inline: 0;
  text-align: left;
}

.category-grid {
  display: grid;
  gap: 18px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  background: #ffffff;
  border: 1px solid rgba(21, 58, 108, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
  min-height: auto;
}

.category-card::after {
  display: none !important;
}

.category-card img {
  position: static;
  width: 100%;
  height: 185px;
  border-radius: 0;
  border: none;
  object-fit: cover;
  object-position: center center;
  margin-bottom: 0;
  display: block;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.category-card__img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  flex-shrink: 0;
  margin-bottom: 18px;
}

.category-card__img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.55));
  pointer-events: none;
}

.category-card span {
  position: static;
  z-index: 1;
  padding: 0 20px 24px;
  color: var(--primary);
  font-size: 1.08rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-align: center;
}

.category-card:hover,
.category-card:focus-visible {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 36px rgba(21, 58, 108, 0.12);
}

.category-card:hover .category-card__img-wrap img,
.category-card:focus-visible .category-card__img-wrap img {
  transform: scale(1.05);
}

.section--muted {
  background: var(--surface-2);
}

.value-grid {
  display: grid;
  gap: 28px;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--teal-dark);
  font-weight: 900;
}

.benefit-grid {
  display: grid;
  gap: 14px;
}

.benefit-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(21, 58, 108, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.benefit-card h3 {
  color: var(--primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--secondary);
  box-shadow: 0 12px 28px rgba(21, 58, 108, 0.1);
}

.benefit-card p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.split-section {
  display: grid;
  gap: 22px;
}

.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sector-list span {
  padding: 10px 14px;
  color: var(--navy);
  background: var(--sky);
  border: 1px solid #c9ddec;
  border-radius: var(--radius);
  font-weight: 900;
}

.section--blue {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #173f5f);
}

.section--blue h2,
.section--blue h3 {
  color: #fff;
}

.process-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.process-list span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--navy);
  background: var(--amber);
  border-radius: 50%;
  font-weight: 900;
}

.process-list p {
  margin: 0;
  color: #d9e5e8;
}

.brand-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
  white-space: nowrap;
  padding-block: 10px;
}

.brand-marquee::before,
.brand-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.brand-marquee::before {
  left: 0;
  background: linear-gradient(to right, #f8f9fa, transparent);
}
.brand-marquee::after {
  right: 0;
  background: linear-gradient(to left, #f8f9fa, transparent);
}

.brand-marquee__track {
  display: flex;
  gap: 24px;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.brand-marquee__track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 12px));
  }
}

.brand-box {
  height: 100px;
  width: 200px;
  max-width: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(23, 32, 47, 0.06);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.brand-box:hover {
  transform: translateY(-8px);
  border-color: rgba(43, 111, 149, 0.32);
  box-shadow: 0 18px 34px rgba(23, 32, 47, 0.14);
}

.brand-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform 180ms ease;
}

.final-cta {
  padding-top: 20px;
}

.final-cta__box {
  display: grid;
  gap: 24px;
  padding: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #173f5f 62%, var(--navy));
  border-radius: var(--radius);
}

.final-cta h2,
.final-cta .eyebrow {
  color: #fff;
}

.final-cta h2 {
  margin-bottom: 0;
}

.final-cta .button--secondary {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  background: transparent !important;
}

.final-cta .button--secondary:hover,
.final-cta .button--secondary:focus-visible {
  color: var(--navy) !important;
  background: #fff !important;
  border-color: #fff !important;
}

.page-hero {
  padding-block: 72px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #173f5f 58%, #5d762b);
}

.page-hero--catalog {
  background: linear-gradient(135deg, #17202f, #204f73 58%, #a25a34);
}

.page-hero--contact {
  background: linear-gradient(135deg, #17202f, #284860 54%, #2b6f95);
}

.page-hero h1,
.page-hero .eyebrow {
  color: #fff;
}

.page-hero p {
  max-width: 720px;
  color: #e4eeee;
  font-size: 1.1rem;
}

.page-hero__grid {
  display: grid;
  gap: 28px;
  align-items: end;
}

.catalog-search,
.contact-fast-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.catalog-search label,
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-weight: 850;
}

.catalog-search label {
  color: #fff;
}

.search-row {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(43, 111, 149, 0.12);
}

.catalog-shell {
  background: var(--paper);
}

.catalog-layout {
  display: grid;
  gap: 24px;
}

.catalog-sidebar {
  display: grid;
  gap: 16px;
  align-content: start;
}

.filter-panel,
.quote-panel,
.contact-form,
.contact-info article {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(23, 32, 47, 0.06);
}

.filter-panel {
  display: grid;
  gap: 12px;
}

.filter-panel__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--navy);
  font-weight: 900;
}

.filter-panel__heading button {
  color: var(--teal-dark);
  background: transparent;
  border: 0;
  font-weight: 900;
}

.filter-panel label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.quote-panel h2 {
  font-size: 1.45rem;
}

.results-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
}

.results-toolbar strong {
  display: block;
  color: var(--navy);
  font-size: 1.2rem;
}

.product-grid {
  display: grid;
  gap: 16px;
}

.product-card {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(23, 32, 47, 0.08);
}

.product-card__media {
  background: #f7f8f8;
}

.product-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 14px;
}

/* ── Mini slider de imágenes ── */
.product-slider {
  position: relative;
  width: 100%;
}

.slider-track {
  width: 100%;
  line-height: 0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.88);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--navy, #1e3a5f);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 2;
  transition: background 0.2s, transform 0.2s;
  line-height: 1;
}

.slider-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.slider-prev { left: 6px; }
.slider-next { right: 6px; }

.slider-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.slider-dot.is-active {
  background: var(--teal, #0ea5e9);
  transform: scale(1.2);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.product-card__meta,
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.product-card__meta span:first-child {
  color: var(--teal-dark);
}

.product-card h2 {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.3;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-card__footer a {
  padding: 8px 12px;
  color: #fff;
  background: var(--teal);
  border-radius: var(--radius);
}

.catalog-empty {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  justify-content: center;
}

/* Botones numerados */
.pagination-num {
  min-width: 36px;
  min-height: 36px;
  padding: 0 8px;
  border-radius: var(--radius, 8px);
  border: 1.5px solid var(--line, #e2e8f0);
  background: #fff;
  color: var(--navy, #1e3a5f);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s;
}

.pagination-num:hover {
  background: var(--teal-light, #e0f2fe);
  border-color: var(--teal, #0ea5e9);
  color: var(--teal, #0ea5e9);
  transform: translateY(-1px);
}

.pagination-num.is-active {
  background: var(--teal, #0ea5e9);
  border-color: var(--teal, #0ea5e9);
  color: #fff;
  transform: none;
  cursor: default;
}

/* Puntos suspensivos entre páginas ocultas */
.pagination-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  color: var(--muted, #94a3b8);
  font-size: 1rem;
  font-weight: 700;
  user-select: none;
  pointer-events: none;
}

.contact-section {
  background: var(--surface-2);
}

.contact-grid {
  display: grid;
  gap: 24px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form h2 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.contact-fast-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.contact-fast-card span {
  color: #dbe9ed;
  font-weight: 850;
}

.contact-fast-card strong {
  color: #fff;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1;
}

.contact-info {
  display: grid;
  gap: 14px;
  align-content: start;
}

.contact-info article span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--coral);
  font-weight: 900;
}

.contact-info p {
  color: var(--muted);
}

.site-footer {
  padding-top: 48px;
  color: #dce6e8;
  background: var(--navy);
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.site-footer img {
  width: 190px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.site-footer h2 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1rem;
}

.site-footer p {
  max-width: 320px;
  color: #b9c8cd;
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
  color: #dce6e8;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 34px;
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9fb0b8;
  font-size: 0.9rem;
}

@media (min-width: 620px) {

  .trust-strip__grid,
  .benefit-grid,
  .process-list,
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-row {
    grid-template-columns: 1fr auto;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .main-nav {
    min-height: 86px;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav__links {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }

  .main-nav__links a {
    padding: 10px 12px;
    font-size: 0.94rem;
  }

  .nav-cta {
    padding-inline: 16px !important;
  }

  .hero {
    min-height: calc(100vh - 122px);
    padding-block: 54px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.88fr);
    align-items: center;
  }

  .trust-strip__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(5, 1fr);
    justify-content: center;
  }

  .category-card {
    min-height: 260px;
  }

  .value-grid,
  .split-section,
  .page-hero__grid,
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .catalog-layout {
    grid-template-columns: 290px 1fr;
    align-items: start;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .final-cta__box {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 42px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.home-solutions {
  background: linear-gradient(135deg, #eef6fb, #fbfaf6);
}

.home-solutions__grid {
  display: grid;
  gap: 24px;
  align-items: center;
  text-align: left;
}

.main-nav__links a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), #173f5f);
  box-shadow: 0 10px 24px rgba(43, 111, 149, 0.22);
  border-radius: var(--radius);
}

.page-hero--benefits {
  background: linear-gradient(135deg, #17202f, #204f73 58%, #2b6f95);
}

.hero-proof-card {
  padding: 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hero-proof-card span,
.hero-proof-card strong {
  display: block;
}

.hero-proof-card span {
  color: var(--amber);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-proof-card strong {
  margin-block: 10px;
  font-size: 1.6rem;
  line-height: 1.1;
}

.sector-list--large span {
  padding: 14px 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 32, 47, 0.06);
}

.contact-info article span:empty {
  display: none;
}

.site-footer {
  background: linear-gradient(135deg, #17202f, #204f73 64%, #173f5f);
}

@media (min-width: 992px) {
  .home-solutions__grid {
    grid-template-columns: 1fr auto;
  }
}


.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(21, 58, 108, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), border-color 300ms ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--secondary);
  box-shadow: 0 16px 36px rgba(21, 58, 108, 0.12);
}

.product-card__media {
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid rgba(21, 58, 108, 0.04);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 300ms ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 12px;
  padding: 20px;
}

.product-card h2 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  min-height: 4.05em; /* 3 líneas exactas (1.35 * 3) para que todas queden alineadas */
  color: var(--primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.35;
  margin: 0;
}

.product-card p {
  min-height: 4.2em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-card__footer {
  justify-content: flex-end;
  margin-top: auto;
}

.product-card__footer a {
  position: relative;
  width: 100%;
  justify-content: center;
  padding: 11px 14px;
  text-align: center;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: #ffffff !important;
  background: var(--accent) !important;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(251, 136, 0, 0.15);
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.product-card__footer a:hover,
.product-card__footer a:focus-visible {
  background: #d97500 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(251, 136, 0, 0.25);
}

.hero--statement {
  min-height: calc(100vh - 76px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 32, 47, 0.94), rgba(32, 79, 115, 0.88) 58%, rgba(23, 63, 72, 0.96)),
    radial-gradient(circle at 18% 18%, rgba(143, 198, 191, 0.24), transparent 34%);
}

.hero-statement__grid {
  min-height: calc(100vh - 76px);
  display: grid;
  gap: 28px;
  align-items: center;
  padding-block: 68px;
}

.hero-statement__content h1,
.hero-statement__content .hero__lead {
  color: #fff;
}

.hero-statement__panel {
  padding: 28px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.hero-statement__panel span,
.hero-statement__panel strong {
  display: block;
}

.hero-statement__panel span {
  color: var(--amber);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-statement__panel strong {
  margin-block: 12px 20px;
  color: #fff;
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  line-height: 1.08;
}

.hero-statement__metrics {
  display: grid;
  gap: 10px;
}

.hero-statement__metrics small {
  padding: 12px 14px;
  color: #eef8f7;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  font-weight: 900;
}

.product-card__brand {
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

@media (min-width: 992px) {

  .hero--statement,
  .hero-statement__grid {
    min-height: calc(100vh - 86px);
  }

  .hero-statement__grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  }
}


/* Catalog fallback: if JavaScript has not rendered pagination yet, keep the page light. */
.product-grid:not(.is-paginated) .product-card:nth-of-type(n + 13) {
  display: none;
}

.product-grid.is-paginated .product-card {
  display: grid;
}

.pagination button:hover,
.pagination button:focus-visible {
  color: #fff;
  background: #204f73;
  border-color: #204f73;
  box-shadow: 0 10px 22px rgba(43, 111, 149, 0.2);
}

.hero--statement {
  color: var(--navy);
  background:
    linear-gradient(112deg, rgba(241, 250, 247, 0.98) 0%, rgba(241, 250, 247, 0.98) 48%, rgba(32, 79, 115, 0.94) 48%, rgba(23, 32, 47, 0.96) 100%),
    radial-gradient(circle at 16% 18%, rgba(143, 198, 191, 0.34), transparent 34%);
}

.hero-statement__content h1,
.hero-statement__content .hero__lead {
  color: var(--navy);
}

.hero--statement .eyebrow--light {
  color: var(--teal-dark);
}

.hero--statement .button--glass {
  color: var(--navy);
  background: #fff;
  border-color: rgba(43, 111, 149, 0.24);
}

.hero-statement__panel {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 899px) {
  .hero--statement {
    color: #fff;
    background: linear-gradient(135deg, #17202f, #204f73 68%, #173f5f);
  }

  .hero-statement__content h1,
  .hero-statement__content .hero__lead {
    color: #fff;
  }

  .hero--statement .eyebrow--light {
    color: var(--amber);
  }
}

.sipi-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy) !important;
  background: #fff;
  border: 1px solid rgba(43, 111, 149, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(23, 32, 47, 0.08);
}

.sipi-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.sipi-link:hover,
.sipi-link:focus-visible {
  color: var(--secondary) !important;
  background: #f1f5f9 !important;
  border-color: rgba(43, 111, 149, 0.4) !important;
}


/* Corporate blue refresh and resilient catalog pagination */
.nav-cta {
  color: #fff !important;
  background: #25d366;
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.22);
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button--whatsapp:hover,
.button--whatsapp:focus-visible {
  color: #fff !important;
  background: #1ebe5b;
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.26);
}

.button--whatsapp {
  color: #fff;
  background: #25d366;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.22);
}

.page-hero--about {
  background: linear-gradient(100deg, var(--primary) 0%, var(--secondary) 100%);
}

.page-hero--catalog {
  background: linear-gradient(100deg, var(--primary) 0%, var(--secondary) 100%);
}

.page-hero--contact {
  background: linear-gradient(100deg, var(--primary) 0%, var(--secondary) 100%);
}

.page-hero--benefits {
  background: linear-gradient(135deg, #17202f, #284860 56%, #2b6f95);
}

.site-footer {
  background: linear-gradient(135deg, #17202f, #284860 62%, #173f5f);
}

.hero--statement {
  background:
    linear-gradient(112deg, rgba(247, 250, 252, 0.98) 0%, rgba(247, 250, 252, 0.98) 48%, rgba(40, 72, 96, 0.96) 48%, rgba(23, 32, 47, 0.98) 100%),
    radial-gradient(circle at 16% 18%, rgba(159, 212, 242, 0.34), transparent 34%);
}

@media (max-width: 899px) {
  .hero--statement {
    background: linear-gradient(135deg, #17202f, #284860 62%, #2b6f95);
  }
}

.catalog-page-state {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.static-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.static-pagination--bottom {
  margin: 24px 0 0;
}

.static-pagination label {
  min-width: 40px;
  min-height: 40px;
  display: inline-grid;
  place-items: center;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.static-pagination label:hover,
.static-pagination label:focus-visible {
  color: #fff;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  box-shadow: 0 10px 22px rgba(43, 111, 149, 0.2);
  transform: translateY(-1px);
}

.catalog-results--static:not(.is-enhanced) .pagination {
  display: none;
}

.catalog-results--static:not(.is-enhanced) .product-grid .product-card {
  display: none;
}

#catalog-page-1:checked~.product-grid .catalog-page-1,
#catalog-page-2:checked~.product-grid .catalog-page-2,
#catalog-page-3:checked~.product-grid .catalog-page-3,
#catalog-page-4:checked~.product-grid .catalog-page-4,
#catalog-page-5:checked~.product-grid .catalog-page-5,
#catalog-page-6:checked~.product-grid .catalog-page-6,
#catalog-page-7:checked~.product-grid .catalog-page-7,
#catalog-page-8:checked~.product-grid .catalog-page-8,
#catalog-page-9:checked~.product-grid .catalog-page-9,
#catalog-page-10:checked~.product-grid .catalog-page-10,
#catalog-page-11:checked~.product-grid .catalog-page-11,
#catalog-page-12:checked~.product-grid .catalog-page-12 {
  display: grid;
}

#catalog-page-1:checked~.static-pagination label[for="catalog-page-1"],
#catalog-page-2:checked~.static-pagination label[for="catalog-page-2"],
#catalog-page-3:checked~.static-pagination label[for="catalog-page-3"],
#catalog-page-4:checked~.static-pagination label[for="catalog-page-4"],
#catalog-page-5:checked~.static-pagination label[for="catalog-page-5"],
#catalog-page-6:checked~.static-pagination label[for="catalog-page-6"],
#catalog-page-7:checked~.static-pagination label[for="catalog-page-7"],
#catalog-page-8:checked~.static-pagination label[for="catalog-page-8"],
#catalog-page-9:checked~.static-pagination label[for="catalog-page-9"],
#catalog-page-10:checked~.static-pagination label[for="catalog-page-10"],
#catalog-page-11:checked~.static-pagination label[for="catalog-page-11"],
#catalog-page-12:checked~.static-pagination label[for="catalog-page-12"] {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.catalog-results.is-enhanced .static-pagination,
.catalog-results.is-enhanced .catalog-page-state {
  display: none;
}

.catalog-results.is-enhanced .product-grid .product-card {
  display: grid;
}

.timeline-card {
  display: grid;
  gap: 16px;
}

.timeline-card article {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(21, 58, 108, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.timeline-card article:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: 0 12px 28px rgba(21, 58, 108, 0.1);
}

.timeline-card span {
  color: var(--primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  transition: color 300ms ease;
}

.timeline-card article:hover span {
  color: var(--secondary);
}

.timeline-card p {
  margin: 0;
  color: var(--text-secondary);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
}

.about-intro .section-heading p:not(.eyebrow) {
  max-width: 700px;
}

/* Page-start color progression: inicio azul -> contacto naranja. Nav/button colors stay unchanged. */
.hero--statement {
  color: #fff;
  background:
    linear-gradient(122deg, rgba(23, 32, 47, 0.98) 0%, rgba(32, 79, 115, 0.96) 48%, rgba(43, 111, 149, 0.94) 100%),
    linear-gradient(90deg, #17202f, #204f73);
}

.hero-statement__content h1,
.hero-statement__content .hero__lead {
  color: #fff;
}

.hero--statement .eyebrow--light {
  color: #b9e1f7;
}

.hero--statement .button--glass {
  color: var(--navy);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.hero-statement__panel {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.page-hero--about,
.page-hero--benefits {
  background:
    linear-gradient(135deg, rgba(23, 32, 47, 0.98) 0%, rgba(32, 79, 115, 0.96) 50%, rgba(50, 130, 122, 0.92) 100%),
    linear-gradient(90deg, #17202f, #2b6f95);
}

.page-hero--catalog {
  background:
    linear-gradient(135deg, rgba(32, 79, 115, 0.98) 0%, rgba(43, 111, 149, 0.94) 44%, rgba(105, 147, 78, 0.9) 100%),
    linear-gradient(90deg, #204f73, #69934e);
}

.page-hero--contact {
  background:
    linear-gradient(135deg, rgba(23, 32, 47, 0.98) 0%, rgba(43, 111, 149, 0.92) 48%, rgba(224, 116, 35, 0.96) 100%),
    linear-gradient(90deg, #17202f, #e07423);
}

.page-hero .catalog-search,
.page-hero .contact-fast-card,
.page-hero .hero-proof-card {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.product-grid.is-loading {
  display: block;
}

.product-grid.is-loading .catalog-empty {
  margin: 0;
}

/* Floating WhatsApp action */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 14px 10px 10px;
  color: #fff;
  background: #25d366;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(23, 32, 47, 0.24), 0 10px 24px rgba(37, 211, 102, 0.24);
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.whatsapp-float__icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: #25d366;
  background: #fff;
  border-radius: 50%;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #fff;
  background: #1ebe5b;
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(23, 32, 47, 0.28), 0 14px 30px rgba(37, 211, 102, 0.32);
}

@media (max-width: 520px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding: 8px;
  }

  .whatsapp-float__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

/* Requested refinements: shorter page starts, SIPI tooltip, icon-only WhatsApp, contact headings */
.hero--statement,
.hero-statement__grid {
  min-height: auto !important;
}

.hero-statement__grid {
  padding-block: clamp(58px, 8vw, 92px) !important;
}

.page-hero {
  padding-block: clamp(44px, 7vw, 68px) !important;
}

.page-hero h1 {
  font-size: clamp(2.05rem, 6vw, 4rem);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.02rem;
}

.page-hero__grid {
  gap: 20px;
}

.page-hero .catalog-search,
.page-hero .contact-fast-card,
.page-hero .hero-proof-card {
  padding: 18px;
}

@media (min-width: 992px) {
  .page-hero {
    padding-block: 54px !important;
  }

  .page-hero--catalog {
    padding-block: 46px !important;
  }
}

.sipi-link {
  position: relative;
}

.sipi-link::after {
  content: "Portal de clientes";
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  z-index: 90;
  width: max-content;
  max-width: 180px;
  padding: 9px 12px;
  color: #fff;
  background: linear-gradient(135deg, #17202f, #204f73 58%, #2b6f95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(23, 32, 47, 0.22);
  font-size: 0.78rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.sipi-link::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + 5px);
  z-index: 91;
  width: 10px;
  height: 10px;
  background: #204f73;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) rotate(45deg);
  transition: opacity 160ms ease;
}

.sipi-link:hover::after,
.sipi-link:focus-visible::after,
.sipi-link:hover::before,
.sipi-link:focus-visible::before {
  opacity: 1;
}

.sipi-link:hover::after,
.sipi-link:focus-visible::after {
  transform: translate(-50%, 0);
}

.whatsapp-float {
  right: 18px !important;
  bottom: 18px !important;
  min-height: 0 !important;
  width: 50px !important;
  height: 50px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}

.whatsapp-float img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(23, 32, 47, 0.22));
  transition: transform 180ms ease, filter 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.whatsapp-float:hover img,
.whatsapp-float:focus-visible img {
  transform: translateY(-3px) scale(1.04);
  filter: drop-shadow(0 14px 22px rgba(23, 32, 47, 0.28));
}

.contact-info article h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.1;
}

/* Symmetric hero system: all page starts match catalog */
.hero.hero--statement,
.page-hero,
.page-hero--about,
.page-hero--benefits,
.page-hero--catalog,
.page-hero--contact {
  min-height: auto !important;
  padding-block: clamp(50px, 8vw, 70px) !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
  position: relative;
  overflow: hidden;
}

/* Decoración abstracta sutil para darle un diseño más premium a los principios de cada página */
.page-hero::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -50px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 136, 0, 0.15) 0%, rgba(251, 136, 0, 0) 70%);
  /* Naranja de acento */
  pointer-events: none;
}

.hero-statement__grid,
.page-hero__grid {
  min-height: auto !important;
  display: grid !important;
  gap: 20px !important;
  align-items: end !important;
  padding-block: 0 !important;
}

.hero-statement__content h1,
.page-hero h1 {
  max-width: 760px;
  margin-bottom: 12px !important;
  color: #fff !important;
  font-size: clamp(2.05rem, 6vw, 4rem) !important;
  line-height: 1.02 !important;
}

.hero-statement__content .hero__lead,
.page-hero p {
  max-width: 720px;
  color: #e4eeee !important;
  font-size: 1.02rem !important;
}

.hero--statement .eyebrow--light,
.page-hero .eyebrow,
.page-hero .eyebrow--light {
  color: #d9f2ff !important;
}

.hero-statement__panel,
.page-hero .catalog-search,
.page-hero .contact-fast-card,
.page-hero .hero-proof-card {
  padding: 18px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: var(--shadow-soft) !important;
}

.hero-statement__panel strong,
.hero-statement__panel p,
.hero-statement__panel small,
.hero-proof-card strong,
.hero-proof-card p,
.contact-fast-card strong,
.contact-fast-card span {
  color: #fff !important;
}

@media (min-width: 992px) {

  .hero-statement__grid,
  .page-hero__grid {
    grid-template-columns: 0.9fr 1.1fr !important;
  }
}

@media (max-width: 899px) {

  .hero.hero--statement,
  .page-hero,
  .page-hero--about,
  .page-hero--benefits,
  .page-hero--catalog,
  .page-hero--contact {
    padding-block: 38px !important;
  }
}

/* Restore distinct hero colors; keep the symmetric sizing from the previous block */
.hero.hero--statement {
  background:
    linear-gradient(122deg, rgba(23, 32, 47, 0.98) 0%, rgba(32, 79, 115, 0.96) 48%, rgba(43, 111, 149, 0.94) 100%),
    linear-gradient(90deg, #17202f, #204f73) !important;
}

.page-hero--about,
.page-hero--benefits {
  background:
    linear-gradient(135deg, rgba(23, 32, 47, 0.98) 0%, rgba(32, 79, 115, 0.96) 50%, rgba(50, 130, 122, 0.92) 100%),
    linear-gradient(90deg, #17202f, #2b6f95) !important;
}

.page-hero--catalog {
  background:
    linear-gradient(135deg, rgba(32, 79, 115, 0.98) 0%, rgba(43, 111, 149, 0.94) 44%, rgba(105, 147, 78, 0.90) 100%),
    linear-gradient(90deg, #204f73, #69934e) !important;
}

.page-hero--contact {
  background:
    linear-gradient(135deg, rgba(23, 32, 47, 0.98) 0%, rgba(43, 111, 149, 0.92) 48%, rgba(224, 116, 35, 0.96) 100%),
    linear-gradient(90deg, #17202f, #e07423) !important;
}

/* Final hero size alignment: match catalog sizing only; colors remain per page */
.hero.hero--statement,
.page-hero,
.page-hero--about,
.page-hero--benefits,
.page-hero--catalog,
.page-hero--contact {
  min-height: auto !important;
  padding-block: 46px !important;
}

.hero-statement__grid,
.page-hero__grid {
  min-height: auto !important;
  gap: 20px !important;
  align-items: end !important;
  padding-block: 0 !important;
}

.hero-statement__content h1,
.page-hero h1 {
  margin-bottom: 12px !important;
  font-size: clamp(2.05rem, 6vw, 4rem) !important;
  line-height: 1.02 !important;
}

.hero-statement__content .hero__lead,
.page-hero p {
  font-size: 1.02rem !important;
}

.hero-statement__panel,
.page-hero .catalog-search,
.page-hero .contact-fast-card,
.page-hero .hero-proof-card {
  padding: 18px !important;
}

@media (min-width: 992px) {

  .hero-statement__grid,
  .page-hero__grid {
    grid-template-columns: 0.9fr 1.1fr !important;
  }
}

@media (max-width: 899px) {

  .hero.hero--statement,
  .page-hero,
  .page-hero--about,
  .page-hero--benefits,
  .page-hero--catalog,
  .page-hero--contact {
    padding-block: 38px !important;
  }
}

/* Compact starts for catalog and contact: content appears sooner */
.page-hero--catalog,
.page-hero--contact {
  padding-block: 28px !important;
}

.page-hero--catalog .page-hero__grid {
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

.page-hero--contact .page-hero__grid {
  gap: 14px !important;
}

.page-hero--catalog h1,
.page-hero--contact h1 {
  margin-bottom: 8px !important;
  font-size: clamp(1.9rem, 4.6vw, 3.25rem) !important;
}

.page-hero--catalog p,
.page-hero--contact p {
  font-size: 0.98rem !important;
}

.page-hero--contact .contact-fast-card {
  padding: 14px 16px !important;
}

.page-hero--contact .contact-fast-card strong {
  font-size: clamp(1.65rem, 5vw, 2.4rem) !important;
}

.catalog-shell {
  padding-top: 26px !important;
}

.catalog-search-band {
  margin-bottom: 22px;
}

.catalog-search--inline {
  color: var(--ink);
  background: #fff !important;
  border-color: var(--line) !important;
  box-shadow: 0 10px 28px rgba(23, 32, 47, 0.08) !important;
}

.catalog-search--inline label {
  color: var(--navy) !important;
}

@media (max-width: 899px) {

  .page-hero--catalog,
  .page-hero--contact {
    padding-block: 24px !important;
  }

  .catalog-shell {
    padding-top: 20px !important;
  }
}

.results-toolbar input[type="search"] {
  padding: 4px 12px !important;
}

.results-toolbar .button {
  min-height: 30px !important;
  padding: 4px 14px !important;
}

.catalog-results .search-row input,
.catalog-results .search-row button {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  min-height: 0 !important;
  height: 34px !important;
}


#catalog-query {
  height: 34px !important;
  padding: 0 12px !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   CONASEO MODERN CORPORATE THEME - IDENTITY MANUAL COMPLIANT OVERRIDES
   ========================================================================== */

/* Active link styling override to keep menu clean and modern */
.main-nav__links a[aria-current="page"] {
  color: var(--secondary) !important;
  background: transparent !important;
  box-shadow: none !important;
  position: relative !important;
}

.main-nav__links a[aria-current="page"]::after {
  content: "" !important;
  position: absolute !important;
  bottom: 2px !important;
  left: 10px !important;
  right: 10px !important;
  height: 2px !important;
  background-color: var(--secondary) !important;
  border-radius: 2px !important;
  display: block !important;
}

/* Hero Section Refreshed Design */
.hero.hero--statement {
  background-color: #ffffff !important;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%2317a4be' fill-opacity='0.08' d='M0,160L48,176C96,192,192,224,288,202.7C384,181,480,107,576,90.7C672,75,768,117,864,138.7C960,160,1056,160,1152,144C1248,128,1344,96,1392,80L1440,64L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%2317a4be' fill-opacity='0.06' d='M0,224L48,208C96,192,192,160,288,149.3C384,139,480,149,576,170.7C672,192,768,224,864,213.3C960,203,1056,149,1152,128C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") !important;
  background-position: top center, bottom center !important;
  background-repeat: no-repeat !important;
  background-size: 100% auto !important;
  padding-block: clamp(64px, 12vw, 130px) !important;
  border-bottom: 0 !important;
  animation: fadeInConaseo 1.2s ease-out !important;
}

@keyframes fadeInConaseo {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hero-statement__content {
  animation: slideUpConaseo 0.9s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

@keyframes slideUpConaseo {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-statement__content h1 {
  color: var(--primary) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(2.3rem, 6vw, 4.4rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 24px !important;
}

.hero-statement__content .hero__lead {
  color: var(--text-secondary) !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem) !important;
  line-height: 1.65 !important;
  margin-bottom: 32px !important;
}

.hero-statement__panel {
  background: var(--surface) !important;
  border: 1px solid rgba(21, 58, 108, 0.08) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-soft) !important;
  color: var(--text) !important;
  padding: 32px !important;
  backdrop-filter: none !important;
  animation: slideUpConaseo 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both !important;
}

.hero-statement__panel span {
  color: var(--secondary) !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.05em !important;
}

.hero-statement__panel strong {
  color: var(--primary) !important;
  font-size: clamp(1.25rem, 3vw, 1.7rem) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  line-height: 1.25 !important;
  margin-block: 14px 24px !important;
}

.hero-statement__metrics small {
  background: #ffffff !important;
  border: 1px solid rgba(21, 58, 108, 0.08) !important;
  color: var(--text-secondary) !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
}

/* Page Heroes (Colorful, Corporate, Consistent) */
.page-hero,
.page-hero--about,
.page-hero--benefits,
.page-hero--catalog,
.page-hero--contact {
  background: linear-gradient(100deg, var(--primary) 0%, var(--secondary) 100%) !important;
  color: #ffffff !important;
  padding-block: clamp(50px, 8vw, 80px) !important;
  border-bottom: none !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Decoración abstracta sutil para diseño premium */
.page-hero::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -50px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -50px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 136, 0, 0.15) 0%, rgba(251, 136, 0, 0) 70%);
  /* Detalle de acento naranja */
  pointer-events: none;
  z-index: -1;
}

.page-hero h1 {
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 10px rgba(21, 58, 108, 0.3);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 1.1rem;
}

.page-hero .eyebrow,
.page-hero .eyebrow--light {
  color: var(--accent) !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.catalog-search,
.contact-fast-card,
.hero-proof-card {
  background: #ffffff !important;
  border: 1px solid rgba(21, 58, 108, 0.08) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-soft) !important;
  color: var(--text) !important;
}

.hero-proof-card strong,
.contact-fast-card strong {
  color: var(--primary) !important;
}

.hero-proof-card p,
.contact-fast-card span {
  color: var(--text-secondary) !important;
}

/* Site Footer corporate style */
.site-footer {
  background: var(--primary) !important;
  /* #153a6c */
  color: #ffffff !important;
  padding-top: 64px !important;
  border-top: 0 !important;
}

.site-footer h2 {
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  margin-bottom: 18px !important;
}

.site-footer p {
  color: #e2e8f0 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
}

.site-footer a {
  color: #e2e8f0 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.92rem !important;
  transition: color 250ms ease, transform 200ms ease !important;
  display: block !important;
  margin-bottom: 10px !important;
}

.site-footer a:hover {
  color: var(--accent) !important;
  /* Hover naranja Conaseo */
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
  font-size: 0.85rem !important;
  margin-top: 40px !important;
}

.site-footer img {
  filter: none !important;
  /* Remove brightness/invert so logo_footer.png renders correct brand blue/white colors */
  width: 200px !important;
  height: auto !important;
}

/* General Layout & Section spacing */
.section {
  padding-block: clamp(60px, 9vw, 96px);
}

.container {
  width: min(100% - 40px, var(--container)) !important;
}

/* General Card design system */
.benefit-card,
.operations-card,
.filter-panel,
.quote-panel,
.contact-form,
.contact-info article {
  background: #ffffff !important;
  border: 1px solid rgba(21, 58, 108, 0.08) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-card) !important;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease !important;
}

.benefit-card:hover,
.contact-info article:hover {
  transform: translateY(-6px) !important;
  border-color: var(--secondary) !important;
  box-shadow: 0 12px 28px rgba(21, 58, 108, 0.1) !important;
}

/* Iconography styling */
svg,
.icon {
  fill: var(--primary) !important;
  transition: fill 250ms ease, stroke 250ms ease !important;
}

svg:hover,
.icon:hover {
  fill: var(--secondary) !important;
}

/* ==========================================================================
   HERO CAROUSEL — Contenedor y track
   ========================================================================== */

.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff;
  transition: height 0.4s ease-out;
}

.hero-carousel__track {
  display: flex;
  align-items: stretch;
  /* Prevents short slides from stretching to the tallest slide */
  width: 100%;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  cursor: grab;
  user-select: none;
}

.hero-carousel__track:active {
  cursor: grabbing;
}

/* ── Base de cada slide ───────────────────────────────── */
.hero-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

/* ── SLIDE 1: Corporativo con gradiente decorativo ─────── */
.hero-slide--corporate {
  display: flex;
  align-items: center;
  background: linear-gradient(100deg, var(--primary) 0%, var(--secondary) 100%);
  padding-block: 32px;
}

.hero-slide--corporate__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Blob decorativo superior derecho */
.hero-slide--corporate__bg::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 164, 190, 0.10) 0%, rgba(23, 164, 190, 0) 70%);
}

/* Blob decorativo inferior izquierdo */
.hero-slide--corporate__bg::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 58, 108, 0.07) 0%, rgba(21, 58, 108, 0) 70%);
}

/* El contenido debe estar por encima del bg */
.hero-slide--corporate>.container,
.hero-slide--corporate>.hero-statement__grid {
  position: relative;
  z-index: 1;
}

.hero-slide--corporate .hero-statement__grid {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Colores para hacer resaltar las primeras letras del slide 1 */
.hero-slide--corporate .eyebrow,
.hero-slide--corporate .eyebrow--light {
  color: var(--accent) !important;
  /* Naranja corporativo */
  font-weight: 800;
  letter-spacing: 1px;
}

.hero-slide--corporate h1,
.hero-slide--corporate .hero__lead {
  color: #ffffff !important;
  /* Letras blancas para contrastar con el fondo azul vibrante */
  text-shadow: 0 2px 10px rgba(21, 58, 108, 0.3);
}

/* ── SLIDE 2: Imagen limpia — SIN overlay ──────────────── */
.hero-slide--banner {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-slide--banner>img {
  width: 100%;
  max-height: clamp(300px, 75vh, 700px);
  object-fit: contain;
  object-position: center;
}

/* ── SLIDE 3: Productos más vendidos — diseño premium ──── */
.hero-slide--bestsellers {
  display: flex;
  align-items: center;
  padding-block: 32px;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

/* Fondo decorativo con formas abstractas */
.hero-slide--bestsellers__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-slide--bestsellers__bg::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 164, 190, 0.22) 0%, rgba(23, 164, 190, 0) 65%);
}

.hero-slide--bestsellers__bg::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 136, 0, 0.12) 0%, rgba(251, 136, 0, 0) 70%);
}

/* Contenido del slide 3 sobre el bg */
.hero-slide--bestsellers>.container {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Encabezado del slide de productos */
.bs-slide__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.bs-slide__eyebrow {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
}

.bs-slide__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
}

/* Botón outline blanco */
.bs-slide__link.button--outline-white {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 100px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 250ms ease, border-color 250ms ease;
  white-space: nowrap;
}

.bs-slide__link.button--outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Grid de 4 productos */
.bs-slide__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Tarjeta de producto */
.bs-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #153a6c;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1),
    background 280ms ease,
    border-color 280ms ease,
    box-shadow 280ms ease;
}

.bs-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: #ffffff;
  border-color: rgba(23, 164, 190, 0.6);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(23, 164, 190, 0.25);
}

/* Zona imagen del producto */
.bs-card__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.bs-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bs-card:hover .bs-card__img-wrap img {
  transform: scale(1.1);
}

/* Info textual de la tarjeta */
.bs-card__info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.bs-card__tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.bs-card__name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  color: #153a6c;
  line-height: 1.3;
  margin: 2px 0 0;
}

.bs-card__desc {
  font-size: 0.78rem;
  color: #666666;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.bs-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--secondary);
  transition: gap 200ms ease, color 200ms ease;
}

.bs-card__cta svg {
  fill: none !important;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 200ms ease;
}

.bs-card:hover .bs-card__cta {
  color: #4cc9e0;
  gap: 8px;
}

.bs-card:hover .bs-card__cta svg {
  transform: translateX(3px);
}

/* ── Controles de navegación ───────────────────────────── */
.hero-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 58, 108, 0.10);
  border-radius: 50%;
  cursor: pointer;
  transition: background 250ms ease, transform 250ms ease, box-shadow 250ms ease;
  box-shadow: 0 4px 16px rgba(21, 58, 108, 0.14);
  padding: 0;
}

.hero-carousel__btn svg {
  fill: none !important;
  stroke: var(--primary);
  transition: stroke 200ms ease;
}

.hero-carousel__btn:hover {
  background: var(--primary);
  box-shadow: 0 8px 24px rgba(21, 58, 108, 0.25);
  transform: translateY(-50%) scale(1.08);
}

.hero-carousel__btn:hover svg {
  stroke: #ffffff;
}

.hero-carousel__btn--prev {
  left: 20px;
}

.hero-carousel__btn--next {
  right: 20px;
}

/* ── Indicadores dots ──────────────────────────────────── */
.hero-carousel__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
  align-items: center;
}



.hero-carousel__btn--pause:hover {
  transform: scale(1.08);
}

@media (max-width: 480px) {
  .hero-carousel__btn--pause {
    width: 32px;
    height: 32px;
    bottom: 16px;
    right: 16px;
  }
}

.hero-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.40);
  cursor: pointer;
  padding: 0;
  transition: background 300ms ease, transform 300ms ease, width 300ms ease;
}

.hero-carousel__dot.is-active {
  background: var(--accent);
  transform: scale(1.4);
  width: 22px;
  border-radius: 4px;
}

/* ── Responsive carousel ───────────────────────────────── */
@media (max-width: 900px) {
  .bs-slide__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .bs-slide__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-slide--bestsellers {
    min-height: auto;
    padding-block: 36px;
  }
}

@media (max-width: 600px) {
  .bs-slide__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .bs-card__img-wrap {
    aspect-ratio: 1 / 1;
  }

  .bs-card__info {
    padding: 10px 12px 12px;
  }

  .bs-card__name {
    font-size: 0.82rem;
  }

  .bs-slide__link.button--outline-white {
    font-size: 0.78rem;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .hero-carousel__btn {
    width: 38px;
    height: 38px;
  }

  .hero-carousel__btn--prev {
    left: 8px;
  }

  .hero-carousel__btn--next {
    right: 8px;
  }

  .hero-slide--banner>img {
    height: 100%;
    max-height: none;
  }
}


/* ==========================================================================
   FOOTER CON IMAGEN DE FONDO Y OVERLAY AZUL
   ========================================================================== */

.site-footer {
  position: relative;
  background-color: var(--primary) !important;
  background-image: url('../img/fondo_footer.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(21, 58, 108, 0.93) 0%,
      rgba(21, 58, 108, 0.88) 50%,
      rgba(23, 164, 190, 0.20) 100%);
  z-index: 0;
  pointer-events: none;
}

.site-footer>* {
  position: relative;
  z-index: 1;
}




/* Slide 2: imagen de banner */
.hero-slide--image {
  min-height: clamp(340px, 55vh, 620px);
  display: flex;
  align-items: stretch;
}

.hero-slide--image>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-slide__overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  padding-block: 32px;
  background: linear-gradient(to right,
      rgba(21, 58, 108, 0.82) 0%,
      rgba(21, 58, 108, 0.60) 55%,
      rgba(21, 58, 108, 0.15) 100%);
}

.hero-slide__title {
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 640px;
}

.hero-slide__lead {
  color: rgba(255, 255, 255, 0.88);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-slide__overlay .eyebrow--light {
  color: var(--accent) !important;
}

/* Controles de navegación */
.hero-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(21, 58, 108, 0.12);
  border-radius: 50%;
  color: var(--primary);
  cursor: pointer;
  transition: background-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
  box-shadow: 0 4px 14px rgba(21, 58, 108, 0.12);
}

.hero-carousel__btn svg {
  fill: none !important;
  stroke: var(--primary);
  transition: stroke 250ms ease;
}

.hero-carousel__btn:hover {
  background: var(--primary);
  box-shadow: 0 8px 20px rgba(21, 58, 108, 0.2);
  transform: translateY(-50%) scale(1.07);
}

.hero-carousel__btn:hover svg {
  stroke: #ffffff;
}

.hero-carousel__btn--prev {
  left: 20px;
}

.hero-carousel__btn--next {
  right: 20px;
}

/* Indicadores dots */
.hero-carousel__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background-color 300ms ease, transform 300ms ease;
  padding: 0;
}

.hero-carousel__dot.is-active {
  background: var(--accent);
  transform: scale(1.3);
}

/* Ocultar flechas en mobile pequeño */
@media (max-width: 480px) {
  .hero-carousel__btn {
    width: 38px;
    height: 38px;
  }

  .hero-carousel__btn--prev {
    left: 10px;
  }

  .hero-carousel__btn--next {
    right: 10px;
  }
}

/* Para que el slide de texto use los mismos estilos del hero-statement */
.hero-slide--text .hero-statement__grid {
  width: 100%;
}

/* ==========================================================================
   SECCIÓN: PRODUCTOS MÁS VENDIDOS
   ========================================================================== */

.bestsellers {
  background: var(--surface) !important;
}

.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.bestseller-card {
  display: grid;
  grid-template-rows: 200px 1fr;
  background: #ffffff;
  border: 1px solid rgba(21, 58, 108, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms ease, border-color 300ms ease;
}

.bestseller-card:hover {
  transform: translateY(-8px);
  border-color: var(--secondary);
  box-shadow: 0 16px 36px rgba(21, 58, 108, 0.12);
}

.bestseller-card__img {
  width: 100%;
  height: 200px;
  background: var(--surface);
  border-bottom: 1px solid rgba(21, 58, 108, 0.05);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.bestseller-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform 400ms ease;
}

.bestseller-card:hover .bestseller-card__img img {
  transform: scale(1.08);
}

.bestseller-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bestseller-card__line {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bestseller-card__body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.3;
  margin: 0 0 4px;
}

.bestseller-card__body p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bestseller-card__cta {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--accent);
  transition: color 200ms ease, letter-spacing 200ms ease;
}

.bestseller-card:hover .bestseller-card__cta {
  color: #d97500;
  letter-spacing: 0.02em;
}

.bestsellers-footer {
  text-align: center;
  margin-top: 40px;
}

/* Responsive: 3 col en tablet, 2 en mobile, 3 en desktop */
@media (min-width: 620px) {
  .bestsellers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .bestsellers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .bestsellers-grid {
    grid-template-columns: 1fr;
  }

  .bestseller-card {
    grid-template-rows: 180px 1fr;
  }
}

/* --- Nuevos Estilos (Casilla Legal y Animaciones) --- */
.contact-form .legal-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: normal;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.contact-form .legal-check input {
  width: 18px !important;
  height: 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  accent-color: var(--teal);
  flex-shrink: 0;
}

.contact-form .legal-check a {
  color: var(--teal);
  text-decoration: underline;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Top Bar --- */
.top-bar {
  background: linear-gradient(100deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  font-size: 0.85rem;
  padding-block: 8px;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar__contact,
.top-bar__social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.top-bar a {
  color: #dce6e8;
  text-decoration: none;
  transition: color 200ms ease;
  font-weight: 600;
}

.top-bar a:hover {
  color: var(--amber);
}

.top-bar__social svg {
  fill: #dce6e8 !important;
  transition: fill 200ms ease;
}

.top-bar__social a:hover svg {
  fill: var(--amber) !important;
}

/* Contact Info Card Hover Effect */
.contact-info-card {
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms ease;
}

.contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(21, 58, 108, 0.08) !important;
}

.btn-whatsapp-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.97rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  width: fit-content;
  transition: transform 300ms ease, box-shadow 300ms ease, background 300ms ease;
}

.btn-whatsapp-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  background: #20b858;
}

@media (min-width: 992px) {
  .single-line-desktop {
    white-space: nowrap;
    font-size: clamp(2.5rem, 4vw, 3.8rem) !important;
  }
}

/* Estilos para el Título del Hero Principal */
.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 auto 24px auto;
  text-align: center;
  text-wrap: balance;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 1100px;
}

/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */
.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border: 1px solid rgba(21, 58, 108, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover,
.scroll-to-top:focus-visible {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(21, 58, 108, 0.25);
}

/* Evitar solapamiento con el botón de WhatsApp (si existe) */
.whatsapp-float~.scroll-to-top {
  bottom: 90px;
}

.hero-slide__stats {
  display: flex;
  justify-content: center;
  gap: 0;
  border-top: 0.5px solid rgba(255, 255, 255, 0.18);
  padding-top: 22px;
  max-width: 560px;
  margin: 32px auto 0;
}

.hero-slide__stats div {
  flex: 1;
  padding: 0 16px;
  border-left: 0.5px solid rgba(255, 255, 255, 0.18);
}

.hero-slide__stats div:first-child {
  border-left: none;
}

.hero-slide__stats strong {
  display: block;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  color: var(--accent);
  font-weight: 800;
}

.hero-slide__stats span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.hero-category-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  flex: 1 1 140px;
  max-width: 180px;
}

.hero-category-card:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-5px);
  color: white;
}

.hero-category-card svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
  stroke-width: 1.5;
  transition: transform 0.3s ease;
}

.hero-category-card:hover svg {
  transform: scale(1.1);
}

.hero-category-card span {
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
}
/* -- Process list hover (Como trabajamos) -- */
.process-list li {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.process-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  background-color: rgba(255, 255, 255, 0.12);
}

/* -- Brand marquee infinite scroll -- */
.brand-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding-block: 8px;
}
.brand-marquee-wrapper::before,
.brand-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.brand-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}
.brand-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}


/* -- Animated stats in hero -- */
.hero-slide__stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero-slide__stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hero-slide__stats strong {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}
.hero-slide__stats span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Header Search Customization */
@media (max-width: 991px) {
  .header-search {
    order: 3;
    width: 100%;
    max-width: none !important;
    margin: 12px 0 0 0 !important;
  }
}
@media (min-width: 992px) {
  .header-search {
    margin: 0 40px !important;
  }
}

/* Skeleton Loader */
.skeleton-card {
  padding: 16px;
}
.skeleton {
  background: #eee;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: 1.5s shine linear infinite;
  border-radius: 4px;
}
.skeleton-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  margin-bottom: 16px;
}
.skeleton-text {
  height: 14px;
  margin-bottom: 8px;
}
.skeleton-text.medium {
  width: 80%;
  height: 20px;
  margin-bottom: 12px;
}
.skeleton-text.short {
  width: 50%;
}
.skeleton-text.button {
  height: 40px;
  width: 100%;
  border-radius: 8px;
  margin-top: 12px;
}
@keyframes shine {
  to {
    background-position-x: -200%;
  }
}
