/* === Paleta Repacmar === */
:root {
  --rep-blue-dark: #0d2447;
  --rep-blue: #173875;
  --rep-blue-light: #1565c0;
  --rep-yellow: #ffd400;
  --rep-ink: #0d2447;
}
a { color: var(--rep-blue); }
a:hover, a:focus, a:active { color: var(--rep-blue-dark); }
.button-primary,
.button-primary:focus,
.button.button-primary {
  background: var(--rep-blue-dark);
  border-color: var(--rep-blue-dark);
  color: #fff;
}
.button-primary:hover,
.button.button-primary:hover {
  background: var(--rep-blue);
  border-color: var(--rep-blue);
  color: #fff;
}
.button-secondary,
.button-secondary:focus { background: var(--rep-blue); border-color: var(--rep-blue); color: #fff; }
.button-secondary:hover { background: var(--rep-blue-dark); border-color: var(--rep-blue-dark); color: #fff; }
.button.button-secondary-2,
a.button-secondary-2,
.button-secondary-2,
.button-secondary-2:focus { background: #fff !important; border-color: #fff !important; color: var(--rep-blue-dark) !important; }
.button.button-secondary-2:hover,
a.button-secondary-2:hover,
.button-secondary-2:hover { background: var(--rep-blue-dark) !important; border-color: var(--rep-blue-dark) !important; color: #fff !important; }
.swiper-button-prev .swiper-button-arrow::after,
.swiper-button-next .swiper-button-arrow::after { background: var(--rep-blue-dark) !important; }
.swiper-button-prev:hover .swiper-button-arrow::after,
.swiper-button-next:hover .swiper-button-arrow::after { background: var(--rep-blue-light) !important; }
.swiper-button-prev .swiper-button-arrow::before,
.swiper-button-next .swiper-button-arrow::before { color: #fff !important; }
.heading-3, .heading-4, .heading-5, .heading-6 { color: var(--rep-blue-dark); }
h1, h2, h3, h4 { color: var(--rep-blue-dark); }
.context-dark h1, .context-dark h2, .context-dark h3, .context-dark h4,
.context-dark .heading-3, .context-dark .heading-4, .context-dark .heading-5 { color: #fff; }
.cta-modern-decor, .cta-modern-decor-2 { background: #fff !important; }
.cta-modern-text, .cta-modern-text-2,
.cta-modern-text span, .cta-modern-text-2 span,
.cta-modern .lead {
  color: #fff !important;
  opacity: 1 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.primary-overlay::before,
.parallax-container .parallax-content::before {
  background: linear-gradient(90deg, rgba(13, 36, 71, 0.7) 0%, rgba(13, 36, 71, 0.4) 50%, rgba(13, 36, 71, 0.2) 100%) !important;
}
.swiper-pagination .swiper-pagination-bullet-active { background: var(--rep-yellow) !important; }
.box-icon-megan-header,
.box-icon-megan-icon { display: none !important; }
.box-icon-megan {
  background: #fff;
  border: 1px solid #e5e8f2;
  border-top: 4px solid var(--rep-blue-dark);
  border-radius: 8px;
  padding: 32px 24px 28px;
  position: relative;
  box-shadow: 0 4px 14px rgba(13, 36, 71, 0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-align: center;
  height: 100%;
}
.box-icon-megan:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(13, 36, 71, 0.12);
  border-top-color: var(--rep-yellow);
}
.box-icon-megan-title {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.box-icon-megan-title a {
  color: var(--rep-blue-dark) !important;
  font-weight: 700;
}
.box-icon-megan-title::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 36px; height: 3px;
  background: var(--rep-yellow);
  border-radius: 2px;
}
.box-icon-megan-text { color: #4a5568; line-height: 1.6; }

/* WhatsApp float */
.wsp-float {
  position: fixed; left: 25px; bottom: 25px;
  height: 56px; max-width: 56px;
  background: #25D366; color: #fff !important;
  border-radius: 28px;
  display: inline-flex; align-items: center;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 9999; overflow: hidden; white-space: nowrap;
  transition: max-width .35s cubic-bezier(.34,1.2,.6,1), background .2s ease;
  animation: wsp-pulse 2.2s ease-in-out infinite;
}
.wsp-float .wsp-icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 30px; line-height: 1;
}
.wsp-float .wsp-text {
  padding-right: 22px; font-size: 0.95rem; font-weight: 600;
  opacity: 0; transform: translateX(-6px);
  transition: opacity .25s ease .05s, transform .3s ease .05s;
}
.wsp-float:hover { max-width: 320px; background: #1ebe5d; color: #fff !important; }
.wsp-float:hover .wsp-text { opacity: 1; transform: translateX(0); }
@keyframes wsp-pulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45), 0 0 0 18px rgba(37, 211, 102, 0); }
}

/* Cart float */
.cart-float {
  position: fixed; right: 25px; bottom: 95px;
  height: 56px; background: var(--rep-blue-dark); color: #fff !important;
  border-radius: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 9999; padding: 0 18px; gap: 10px; font-weight: 600;
  transition: background .2s;
}
.cart-float:hover { background: var(--rep-blue); color: #fff !important; }
.cart-float .badge-count {
  background: var(--rep-yellow); color: var(--rep-ink);
  padding: 2px 10px; border-radius: 12px; font-size: .85rem;
  min-width: 24px; text-align: center;
}
.cart-float .label { font-size: .9rem; }

/* Scroll-to-top */
.ui-to-top,
.ui-to-top:focus {
  background: var(--rep-blue-light) !important;
  color: #fff !important;
  border-color: var(--rep-blue-light) !important;
  box-shadow: 0 6px 18px rgba(13, 36, 71, 0.25);
}
.ui-to-top:hover {
  background: var(--rep-blue-dark) !important;
  color: #fff !important;
  border-color: var(--rep-blue-dark) !important;
}

/* Footer */
.footer-modern { background: var(--rep-ink); }
.footer-modern .brand img { background: #fff; padding: 8px 14px; border-radius: 6px; }
.footer-modern a { color: #cfd8e6; }
.footer-modern a:hover { color: var(--rep-yellow); }
.footer-modern-title { color: #fff; }
.footer-social-list .icon { color: #cfd8e6; transition: color .2s; }
.footer-social-list .icon:hover { color: var(--rep-yellow); }

/* Navbar */
.rd-navbar,
.rd-navbar-modern,
.rd-navbar-modern.rd-navbar-static,
.rd-navbar-modern.rd-navbar-fixed { background: var(--rep-blue-dark) !important; }
.rd-navbar .rd-nav-link { color: #fff !important; }
.rd-nav-link:hover,
.rd-nav-item.active > .rd-nav-link,
.rd-nav-item.focus > .rd-nav-link,
.rd-nav-item.opened > .rd-nav-link { color: #fff !important; opacity: 0.85; }
.rd-navbar-project-hamburger span,
.rd-navbar-toggle span,
.project-hamburger-arrow { background: #fff !important; }
.rd-navbar .rd-navbar-aside .phone,
.rd-navbar .rd-navbar-aside .address,
.rd-navbar .rd-navbar-aside .icon { color: var(--rep-blue-dark); }
.rd-nav-link::before,
.rd-nav-link::after,
.rd-nav-item.active > .rd-nav-link::before,
.rd-nav-item.active > .rd-nav-link::after {
  background: #fff !important; color: #fff !important; border-color: #fff !important;
  bottom: -4px !important; top: auto !important;
}
.rd-navbar .list-share-2 .icon,
.rd-navbar-aside .list-share-2 .icon,
.list-share-2 li .icon,
.list-share-2 .icon,
.list-share-2 > li > a {
  background-color: var(--rep-blue-dark) !important;
  background-image: none !important;
  color: #fff !important;
  transition: background-color .2s ease;
}
.list-share-2 .icon:hover { background-color: var(--rep-blue) !important; color: #fff !important; }

/* === Sidebar móvil (rd-navbar-fixed-panel) === */
.rd-navbar-fixed .rd-navbar-aside,
.rd-navbar-mobile .rd-navbar-aside {
  padding: 14px 18px;
}
.rd-navbar-fixed .rd-navbar-contacts-2,
.rd-navbar-mobile .rd-navbar-contacts-2 {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.rd-navbar-fixed .rd-navbar-contacts-2 li,
.rd-navbar-mobile .rd-navbar-contacts-2 li { margin-bottom: 8px; }
.rd-navbar-fixed .rd-navbar-contacts-2 .unit,
.rd-navbar-mobile .rd-navbar-contacts-2 .unit {
  display: flex; align-items: flex-start; gap: 10px;
}
.rd-navbar-fixed .rd-navbar-contacts-2 .icon,
.rd-navbar-mobile .rd-navbar-contacts-2 .icon {
  color: var(--rep-blue-dark) !important;
  font-size: 18px; flex-shrink: 0;
  width: 26px; line-height: 1.2;
}
.rd-navbar-fixed .rd-navbar-contacts-2 .phone,
.rd-navbar-fixed .rd-navbar-contacts-2 .address,
.rd-navbar-mobile .rd-navbar-contacts-2 .phone,
.rd-navbar-mobile .rd-navbar-contacts-2 .address {
  color: var(--rep-blue-dark) !important;
  font-weight: 500;
  font-size: .92rem;
  line-height: 1.35;
  text-decoration: none;
}

/* Social icons del sidebar — más espaciados y centrados */
.rd-navbar-fixed .list-share-2,
.rd-navbar-mobile .list-share-2 {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 14px 0 6px;
  margin: 6px 0 0;
  border-top: 1px solid #eef0f6;
}
.rd-navbar-fixed .list-share-2 li,
.rd-navbar-mobile .list-share-2 li {
  list-style: none;
  margin: 0; padding: 0;
}
.rd-navbar-fixed .list-share-2 .icon,
.rd-navbar-mobile .list-share-2 .icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 18px;
  transition: transform .2s ease, background-color .2s ease;
}
.rd-navbar-fixed .list-share-2 .icon:hover,
.rd-navbar-mobile .list-share-2 .icon:hover {
  transform: translateY(-2px);
  background-color: var(--rep-blue-light) !important;
}
.form-input:focus { border-color: var(--rep-blue) !important; }
.product-badge-new { background: var(--rep-blue-dark); }
.product-badge-sale { background: var(--rep-yellow); color: var(--rep-ink); }

/* Productos cards en home */
#productos .services-terri {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
#productos .services-terri:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}
#productos .services-terri-figure {
  height: 260px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 20px; border-bottom: 1px solid #eee;
}
#productos .services-terri-figure img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
#productos .services-terri-caption {
  position: static !important; background: transparent !important;
  padding: 15px 10px 5px !important; text-align: center;
}
#productos .services-terri-caption .services-terri-title,
#productos .services-terri-caption .services-terri-title a { color: var(--rep-blue-dark) !important; }
#productos .services-terri::before { display: none !important; }
.bg-default h3, .bg-default .heading-3 { color: var(--rep-blue-dark); }

/* Preloader */
.preloader { display: flex; align-items: center; justify-content: center; background: #fff; }
.preloader-logo {
  width: 220px; max-width: 60vw; height: auto;
  animation: rep-pulse-logo 1.4s ease-in-out infinite;
}
@keyframes rep-pulse-logo {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.92); opacity: 0.65; }
}
.rd-navbar-brand .brand-logo-dark {
  max-width: 160px; max-height: 60px; width: auto; height: auto; object-fit: contain;
}

/* Swiper */
.swiper-slider { max-height: 480px; }
.swiper-slider .swiper-slide {
  height: 520px !important;
  background-size: cover !important;
  background-position: center center !important;
  background-color: #0a1a3a;
  position: relative;
}
.swiper-slider .swiper-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 32, 80, 0.55) 0%, rgba(0, 32, 80, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: 1; pointer-events: none;
}
.swiper-slider .swiper-slide-caption { position: relative; z-index: 2; }
.swiper-slider .swiper-title {
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
  letter-spacing: 0.04em;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.1; max-width: 620px; margin-bottom: 0;
}
.swiper-slider .swiper-title::after {
  content: ""; display: block;
  width: 80px; height: 4px;
  background: #ffd400; margin-top: 18px; border-radius: 2px;
}
.swiper-slider .swiper-text {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  max-width: 540px; font-weight: 400;
}
.swiper-slider .button {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.08em;
}

/* Breadcrumb hero (páginas internas) */
.breadcrumbs-custom { position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.breadcrumbs-custom::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 36, 71, 0.55) 0%, rgba(13, 36, 71, 0.85) 100%);
  z-index: 1;
}
.breadcrumbs-custom .container { position: relative; z-index: 2; text-align: center; padding: 60px 15px; }
.breadcrumbs-custom-title {
  color: #fff !important;
  font-size: clamp(2.2rem, 5vw, 3.6rem) !important;
  letter-spacing: 0.08em;
  text-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.breadcrumbs-custom-decor { background: var(--rep-yellow) !important; margin: 18px auto 0 !important; }
.breadcrumbs-custom .box-transform { background-size: cover !important; background-position: center !important; }
.breadcrumbs-custom-path { background: #f7f8fb; padding: 14px 0; text-align: center; }
.breadcrumbs-custom-path li { display: inline-block; margin: 0 6px; }
.breadcrumbs-custom-path a { color: var(--rep-blue) !important; }
.breadcrumbs-custom-path .active { color: var(--rep-blue-dark) !important; font-weight: 700; }

/* About page */
.about-intro { padding: 80px 0; }
.about-intro h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); margin-bottom: 20px; }
.about-intro h2::after {
  content: ""; display: block;
  width: 60px; height: 4px; background: var(--rep-yellow);
  border-radius: 2px; margin-top: 18px;
}
.about-intro p { font-size: 1.05rem; line-height: 1.75; color: #36404a; }
.about-intro .badge-years {
  display: inline-block; background: var(--rep-blue-dark); color: #fff;
  padding: 10px 22px; border-radius: 40px;
  font-weight: 700; letter-spacing: 0.08em; margin-bottom: 24px;
}
.stats-row { background: var(--rep-blue-dark); padding: 60px 0; color: #fff; }
.stats-item { text-align: center; padding: 16px; }
.stats-item .stats-num { font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 900; color: var(--rep-yellow); line-height: 1; display: block; }
.stats-item .stats-label { display: block; margin-top: 10px; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; }
.values-section { padding: 80px 0; background: #f7f8fb; }
.value-card {
  background: #fff; border: 1px solid #e5e8f2; border-top: 4px solid var(--rep-blue-dark);
  border-radius: 8px; padding: 32px 26px; height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(13, 36, 71, 0.12); border-top-color: var(--rep-yellow); }
.value-card h5 { color: var(--rep-blue-dark); font-weight: 700; margin-bottom: 12px; position: relative; padding-bottom: 12px; }
.value-card h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; background: var(--rep-yellow); border-radius: 2px; }
.value-card p { color: #4a5568; line-height: 1.65; margin: 0; }
.brands-section { padding: 80px 0; }
.brands-section h3 { text-align: center; margin-bottom: 16px; }
.brands-section .brands-lead { text-align: center; color: #4a5568; max-width: 720px; margin: 0 auto 40px; line-height: 1.65; }
.brand-pill {
  display: inline-block; background: #fff; border: 1px solid #d6dbe6;
  padding: 10px 20px; border-radius: 30px; margin: 6px;
  color: var(--rep-blue-dark); font-weight: 600; font-size: 0.95rem;
  transition: all .2s ease;
}
.brand-pill:hover { background: var(--rep-blue-dark); color: #fff; transform: translateY(-2px); }
.brands-wrap { text-align: center; }
.cta-band {
  padding: 60px 0;
  background: linear-gradient(120deg, var(--rep-blue-dark) 0%, var(--rep-blue) 100%);
  color: #fff; text-align: center;
}
.cta-band h3 { color: #fff; margin-bottom: 14px; }
.cta-band p { opacity: 0.92; margin-bottom: 24px; }
.cta-band .button { background: var(--rep-yellow) !important; color: var(--rep-ink) !important; border-color: var(--rep-yellow) !important; font-weight: 700; }
.cta-band .button:hover { background: #fff !important; color: var(--rep-blue-dark) !important; border-color: #fff !important; }

/* Contacto */
.aside-contacts-title { color: var(--rep-blue-dark); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.contacts-social-list { display: flex; gap: 10px; padding: 0; margin: 0; flex-wrap: wrap; }
.contacts-social-list li { padding: 0 !important; margin: 0 !important; }
.contacts-social-list .icon {
  background: var(--rep-blue-dark) !important; color: #fff !important;
  width: 42px; height: 42px; line-height: 42px;
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: transform .2s ease, background .2s ease;
}
.contacts-social-list .icon:hover { background: var(--rep-blue) !important; transform: translateY(-2px); }
.map-section { padding: 40px 0 80px; }
.map-wrap {
  max-width: 1140px; margin: 0 auto;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(13, 36, 71, 0.18);
  border: 1px solid #e5e8f2;
}
.map-wrap iframe { width: 100%; height: 460px; border: 0; display: block; }

/* === Formulario de contacto (sobreescribe el floating label del template) === */
.rep-form { display: grid; gap: 18px; }
.rep-field label {
  display: block !important;
  position: static !important;
  font-weight: 600;
  color: var(--rep-blue-dark);
  font-size: .9rem;
  margin-bottom: 6px;
  letter-spacing: .02em;
  opacity: 1 !important;
  visibility: visible !important;
}
.rep-field label .opt { color: #94a3b8; font-weight: 400; font-size: .82rem; margin-left: 4px; }
.rep-field input,
.rep-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6dbe6;
  border-radius: 6px;
  font-size: .95rem;
  font-family: inherit;
  color: #2d3748;
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.rep-field input:focus,
.rep-field textarea:focus {
  border-color: var(--rep-blue-light);
  box-shadow: 0 0 0 3px rgba(21,101,192,.12);
}
.rep-field .hint { display: block; color: #6b7280; font-size: .78rem; margin-top: 4px; }
.rep-field textarea { resize: vertical; min-height: 110px; }
.rep-form-result { margin-top: 14px; }
.rep-form-result .alert-success {
  background: #dcfce7; color: #166534; padding: 16px 18px; border-radius: 8px;
  display: flex; gap: 12px; align-items: flex-start;
  border-left: 4px solid #16a34a;
}
.rep-form-result .alert-danger {
  background: #fee2e2; color: #991b1b; padding: 16px 18px; border-radius: 8px;
  display: flex; gap: 12px; align-items: flex-start;
  border-left: 4px solid #dc2626;
}
.rep-form-result .icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
.rep-submit {
  background: var(--rep-blue-dark); color: #fff; border: none;
  padding: 13px 32px; border-radius: 6px; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: background .2s ease, transform .15s ease;
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: .03em;
}
.rep-submit:hover { background: var(--rep-blue); transform: translateY(-1px); }
.rep-submit:disabled { background: #94a3b8; cursor: wait; transform: none; }

/* === Mapa más bonito en /contacto/ === */
.map-section { padding: 50px 0 80px; background: #f7f8fb; }
.map-section h4 {
  text-align: center;
  font-size: 1.5rem; margin-bottom: 32px;
  color: var(--rep-blue-dark);
}
.map-section h4::after {
  content: ""; display: block;
  width: 60px; height: 4px; background: var(--rep-yellow);
  margin: 12px auto 0; border-radius: 2px;
}
.map-wrap {
  max-width: 1140px; margin: 0 auto; position: relative;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(13, 36, 71, 0.18);
  border: 1px solid #e5e8f2;
}
.map-wrap iframe { width: 100%; height: 480px; border: 0; display: block; filter: saturate(1.05); }
.map-card {
  position: absolute;
  bottom: 20px; left: 20px;
  background: #fff;
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  max-width: 320px;
  z-index: 2;
}
.map-card h5 { color: var(--rep-blue-dark); margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; }
.map-card p { color: #4a5568; font-size: .9rem; margin: 0 0 4px; line-height: 1.45; }
.map-card .map-actions { display: flex; gap: 8px; margin-top: 12px; }
.map-card .map-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--rep-blue-dark); color: #fff !important;
  padding: 8px 14px; border-radius: 6px;
  text-decoration: none !important; font-weight: 600; font-size: .85rem;
  transition: background .2s;
}
.map-card .map-btn:hover { background: var(--rep-blue); color: #fff !important; }
.map-card .map-btn.yellow { background: var(--rep-yellow); color: var(--rep-ink) !important; }
.map-card .map-btn.yellow:hover { background: #ffe24d; color: var(--rep-ink) !important; }
@media (max-width: 580px) {
  .map-card { position: static; max-width: 100%; border-radius: 0; box-shadow: none; }
  .map-wrap { border-radius: 12px; }
}

/* Catálogo de productos por categoría */
.catalog-section { padding: 70px 0; background: #f7f8fb; }
.catalog-header { text-align: center; margin-bottom: 36px; }
.catalog-header h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 8px; }
.catalog-header .lead { color: #4a5568; font-size: 1rem; }
.search-wrap { max-width: 520px; margin: 0 auto 32px; position: relative; }
.search-wrap input {
  width: 100%; padding: 14px 50px 14px 18px;
  border: 2px solid #e5e8f2; border-radius: 30px;
  font-size: 1rem; outline: none; transition: border-color .2s ease;
}
.search-wrap input:focus { border-color: var(--rep-blue-light); }
.catalog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px; max-width: 1200px; margin: 0 auto;
}
.catalog-card {
  background: #fff; border: 1px solid #e5e8f2; border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
}
.catalog-card:hover {
  box-shadow: 0 12px 28px rgba(13, 36, 71, 0.12);
  transform: translateY(-3px); border-color: var(--rep-blue-light);
}
.catalog-card-figure {
  background: #fff; height: 180px;
  display: flex; align-items: center; justify-content: center;
  padding: 18px; border-bottom: 1px solid #eef0f6;
}
.catalog-card-figure img { max-width: 100%; max-height: 100%; object-fit: contain; }
.catalog-card-figure img.placeholder { opacity: 0.4; max-width: 60%; }
.catalog-card-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.catalog-card-code {
  font-family: 'Roboto Mono', 'Courier New', monospace;
  font-weight: 700; color: var(--rep-blue-dark);
  background: #f0f4fb; padding: 4px 10px; border-radius: 4px;
  display: inline-block; font-size: 0.82rem;
  margin-bottom: 10px; width: fit-content; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.catalog-card-name { color: #2d3748; line-height: 1.45; font-size: 0.95rem; font-weight: 500; margin-bottom: 12px; flex: 1; }
.btn-add-quote {
  background: var(--rep-yellow); color: var(--rep-ink); border: none;
  padding: 8px 14px; border-radius: 4px; font-weight: 600; font-size: .85rem;
  cursor: pointer; transition: background .2s; width: 100%;
}
.btn-add-quote:hover { background: #ffe24d; }
.btn-add-quote.added { background: #22c55e; color: #fff; }
.results-count { text-align: center; color: #6b7280; font-size: 0.9rem; margin-bottom: 24px; }
.no-results { text-align: center; padding: 40px 20px; color: #6b7280; display: none; }
.no-results.show { display: block; }
