/* ==========================================================================
   RESET & PALETA DE COLORES
   ========================================================================== */

:root {
  --violeta-principal: #6c38cc;
  --violeta-secundario: #8b5cf6;
  --celeste-principal: #00b4d8;
  --celeste-claro: #00f5d4;
  --gris-texto: #6b7280;
  --gris-oscuro: #334155;
  --fondo-claro: #f4f9ff;
  --blanco: #ffffff;
  
  --border-light: rgba(108, 56, 204, 0.15);
  --shadow-soft: 0 10px 30px rgba(108, 56, 204, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--fondo-claro);
  color: var(--gris-oscuro);
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ==========================================================================
   NAVBAR Y LOGO
   ========================================================================== */

.navbar {
  width: 100%;
  padding: 18px 60px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-top {
  font-weight: 800;
  font-size: 14px;
  color: #475569;
  letter-spacing: 0.5px;
}

.logo-bottom {
  font-weight: 900;
  font-size: 15px;
  color: var(--celeste-principal);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-links a {
  color: var(--gris-texto);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--violeta-principal);
  border-bottom: 2px solid var(--violeta-principal);
  padding-bottom: 4px;
}

.btn-talk {
  border: 1px solid var(--violeta-secundario);
  background: rgba(255, 255, 255, 0.9);
  color: var(--violeta-principal);
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.btn-talk:hover {
  background: var(--violeta-principal);
  color: var(--blanco);
  box-shadow: 0 4px 15px rgba(108, 56, 204, 0.3);
}

.dot-violet {
  width: 6px;
  height: 6px;
  background-color: var(--violeta-principal);
  border-radius: 50%;
  display: inline-block;
}

.btn-talk:hover .dot-violet {
  background-color: var(--blanco);
}

/* ==========================================================================
   MAIN HERO
   ========================================================================== */

.hero-main {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 80px 40px 80px;
  background-image: url('portada.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    rgba(244, 249, 255, 0.96) 0%, 
    rgba(244, 249, 255, 0.88) 50%, 
    rgba(244, 249, 255, 0.35) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.badge-tag {
  font-size: 12px;
  font-weight: 800;
  color: var(--violeta-principal);
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gradient-text {
  background: linear-gradient(100deg, var(--violeta-principal) 0%, var(--violeta-secundario) 40%, var(--celeste-principal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-description {
  color: var(--gris-texto);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  max-width: 520px;
  margin-bottom: 35px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
}

.btn-primary-gradient {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: var(--blanco);
  padding: 14px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
  transition: 0.3s;
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(124, 58, 237, 0.5);
}

.btn-secondary-cyan {
  background: linear-gradient(135deg, #00b4d8 0%, #00d4ff 100%);
  color: var(--blanco);
  padding: 14px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.35);
  transition: 0.3s;
}

.btn-secondary-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 180, 216, 0.5);
}

.stats-row {
  display: flex;
  gap: 40px;
  margin-bottom: 15px;
}

.stat-item h2 {
  font-size: 32px;
  font-weight: 900;
  color: var(--violeta-principal);
  line-height: 1;
}

.stat-item span {
  font-size: 10px;
  color: var(--gris-texto);
  letter-spacing: 1px;
  font-weight: 700;
}

.sub-label {
  font-size: 10px;
  color: var(--gris-texto);
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 25px;
}

.tech-icons {
  display: flex;
  gap: 15px;
}

.tech-icons a {
  color: var(--gris-texto);
  font-size: 16px;
  background: var(--blanco);
  border: 1px solid var(--border-light);
  padding: 10px 14px;
  border-radius: 10px;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.tech-icons a:hover {
  color: var(--celeste-principal);
  border-color: var(--celeste-principal);
  transform: translateY(-2px);
}

.badge-bottom-right {
  position: absolute;
  bottom: 25px;
  right: 25px;
  z-index: 3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gris-oscuro);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   BANERA DE PILARES
   ========================================================================== */

.pillars-banner-section {
  padding: 40px 0;
  position: relative;
  z-index: 10;
}

.pillars-banner {
  background: var(--blanco);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  box-shadow: var(--shadow-soft);
}

.pillar-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.pillar-box i {
  font-size: 24px;
  color: var(--violeta-principal);
  background: rgba(108, 56, 204, 0.08);
  padding: 12px;
  border-radius: 12px;
}

.pillar-box h4 {
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
}

.pillar-box span {
  font-size: 11px;
  color: var(--gris-texto);
  display: block;
  margin-top: 2px;
}

/* ==========================================================================
   SECCIONES DE CONTENIDO
   ========================================================================== */

.badge-subtitle {
  font-size: 12px;
  font-weight: 800;
  color: var(--violeta-principal);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-header.center {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px auto;
}

.main-title {
  font-size: 32px;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.main-description {
  font-size: 15px;
  color: var(--gris-texto);
  line-height: 1.6;
}

/* TARJETAS DE SERVICIOS Y RECTÁNGULOS DE ÍCONOS REFORZADOS */
.services-section {
  padding: 40px 0 60px 0;
}

.cards-grid-custom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

.service-card-custom {
  background: var(--blanco);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-custom:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(108, 56, 204, 0.12);
}

.card-header-custom {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.card-circle-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background-color: var(--violeta-principal);
  color: var(--blanco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.card-title-group h3 {
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.card-title-group p {
  font-size: 12px;
  color: var(--gris-texto);
  line-height: 1.4;
}

.card-body-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.card-list-custom {
  list-style: none;
  flex: 1;
}

.card-list-custom li {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-list-custom li i {
  color: var(--violeta-principal);
  font-size: 13px;
}

/* RECTÁNGULO DE ÍCONOS ESTILIZADO CON GRADIENTE Y ANIMACIÓN */
.card-mockup-wrapper {
  width: 125px;
  height: 125px;
  min-width: 125px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.08) 0%, rgba(108, 56, 204, 0.08) 100%);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.6);
}

.service-card-custom:hover .card-mockup-wrapper {
  transform: scale(1.05);
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.15) 0%, rgba(108, 56, 204, 0.15) 100%);
  border-color: var(--celeste-principal);
}

.mockup-icon {
  font-size: 46px;
  color: var(--celeste-principal);
  transition: transform 0.3s ease;
}

.service-card-custom:hover .mockup-icon {
  transform: scale(1.1);
}

/* BANNER DE BENEFICIOS INFERIOR */
.bottom-features-banner {
  background: var(--violeta-principal);
  border-radius: 16px;
  padding: 25px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  color: var(--blanco);
  box-shadow: 0 10px 25px rgba(108, 56, 204, 0.25);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-item i {
  font-size: 22px;
  color: var(--celeste-claro);
}

.feature-item h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.feature-item p {
  font-size: 11px;
  opacity: 0.85;
  line-height: 1.3;
}

/* DETALLE Y CITA */
.about-detail-section {
  padding: 20px 0 80px 0;
}

.detail-box {
  background: linear-gradient(135deg, rgba(108, 56, 204, 0.03) 0%, rgba(0, 180, 216, 0.05) 100%);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 50px;
  max-width: 900px;
  margin: 0 auto;
}

.detail-content h2 {
  font-size: 28px;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 15px;
}

.detail-content p {
  font-size: 15px;
  color: var(--gris-texto);
  line-height: 1.7;
  margin-bottom: 25px;
}

.quote-box {
  background: var(--blanco);
  border-left: 4px solid var(--violeta-principal);
  padding: 20px 25px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-weight: 700;
  color: var(--violeta-principal);
  font-size: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.quote-box i {
  font-size: 18px;
  color: var(--celeste-principal);
}

/* ==========================================================================
   FOOTER MAPA DEL SITIO
   ========================================================================== */

.site-footer {
  background: var(--blanco);
  border-top: 1px solid #6c38cc;
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--violeta-principal);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-desc {
  font-size: 13px;
  color: var(--gris-texto);
  line-height: 1.6;
  margin: 15px 0 20px 0;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(108, 56, 204, 0.08);
  color: var(--violeta-principal);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: var(--violeta-principal);
  color: var(--blanco);
  transform: translateY(-2px);
}

.footer-links, .footer-contact {
  list-style: none;
}

.footer-links li, .footer-contact li {
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--gris-texto);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a {
  color: var(--gris-texto);
  text-decoration: none;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.footer-links a i {
  font-size: 10px;
  color: var(--celeste-principal);
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--violeta-principal);
  transform: translateX(3px);
}

.footer-links a:hover i {
  color: var(--violeta-principal);
}

.footer-contact li i {
  color: var(--violeta-principal);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid #6c38cc;
  padding-top: 25px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--gris-texto);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-main {
    padding: 110px 30px 40px 30px;
  }

  .hero-title {
    font-size: 38px;
  }

  .pillars-banner {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid-custom {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bottom-features-banner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pillars-banner {
    grid-template-columns: 1fr;
  }

  .detail-box {
    padding: 30px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .bottom-features-banner {
    grid-template-columns: 1fr;
  }

  .card-body-custom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   PORTADA DE RUBROS (DISEÑO ARMONIZADO Y CENTRADO)
   ========================================================================== */

.hero-rubros {
  min-height: 650px;
  height: calc(100vh - 80px);
  max-height: 760px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 80px;
  background: url("fondo-portada.png") center center / cover no-repeat;
}

.hero-rubros::before,
.hero-rubros::after {
  display: none !important;
}

.hero-copy {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  z-index: 6;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 32px 28px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(25, 38, 63, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-copy .eyebrow {
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--gris-oscuro, #2b2d42);
}

.hero-copy h1 {
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -2px;
  font-weight: 900;
  color: #172a49;
  margin-bottom: 14px;
}

.hero-copy h1 strong {
  display: block;
  background: linear-gradient(90deg, var(--violeta-principal, #6c38cc) 0%, #496cff 52%, var(--celeste-principal, #00b4d8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy .description {
  max-width: 340px;
  color: var(--gris-texto, #4a5568);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 24px;
}

.hero-copy .cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 170px;
  padding: 12px 20px;
  border-radius: 28px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--violeta-principal, #6c38cc), #4578ff 62%, var(--celeste-principal, #00b4d8));
  box-shadow: 0 11px 30px rgba(108, 56, 204, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-copy .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(108, 56, 204, 0.35);
}

.hero-copy .cta .arrow {
  font-size: 20px;
  line-height: 10px;
}

.dots {
  display: flex;
  gap: 8px;
  margin-top: 30px;
  align-items: center;
}

.dots .dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #cbd2df;
  cursor: pointer;
  transition: 0.25s ease;
}

.dots .dot.active {
  width: 10px;
  height: 10px;
  background: var(--violeta-principal, #6c38cc);
  box-shadow: 0 0 0 3px rgba(108, 56, 204, 0.15);
}

.hero-visual {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before,
.glow,
.decor {
  display: none !important;
}

#heroImage {
  width: 100%;
  height: 100%;
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 25px 35px rgba(76, 40, 130, 0.22));
  user-select: none;
  transition: opacity 0.28s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-rubros.is-changing #heroImage {
  opacity: 0;
  transform: scale(0.92) translateY(10px);
}

.side-rubros {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 190px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 8;
}

.rubric {
  width: 100%;
  height: 52px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  transform: skewX(-17deg);
  display: flex;
  align-items: center;
  padding: 0 11px;
  gap: 10px;
  color: #253550;
  box-shadow: 0 8px 15px rgba(29, 43, 69, 0.08);
  overflow: hidden;
  transition: 0.3s ease;
}

.rubric > * {
  transform: skewX(17deg);
}

.rubric-image {
  width: 62px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.rubric-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rubric small {
  font-size: 10px;
  font-weight: 700;
  flex: 1;
  text-align: left;
  white-space: nowrap;
}

.rubric i {
  font-style: normal;
  font-size: 22px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.rubric:hover {
  transform: skewX(-17deg) translateX(-8px);
  background: rgba(255, 255, 255, 0.98);
}

.rubric.active {
  background: linear-gradient(110deg, var(--violeta-principal, #6c38cc), #466cff);
  color: #fff;
  box-shadow: 0 12px 25px rgba(108, 56, 204, 0.3);
}

.rubric.active i {
  opacity: 1;
}

.progress-ring {
  position: absolute;
  right: -54px;
  top: 33%;
  width: 130px;
  height: 130px;
  z-index: 1;
}

.progress-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-42deg);
}

.ring-track,
.ring-progress {
  fill: none;
  stroke-width: 7;
}

.ring-track {
  stroke: rgba(237, 240, 245, 0.5);
}

.ring-progress {
  stroke: var(--celeste-principal, #00b4d8);
  stroke-linecap: round;
  stroke-dasharray: 270;
  stroke-dashoffset: 270;
  transition: stroke-dashoffset 0.15s linear;
}

/* ==========================================================================
   SECCIÓN DEL CATÁLOGO / CONTENIDO PRINCIPAL (REAJUSTADO)
   ========================================================================== */

.main-content-empty,
#catalogo {
  min-height: 400px;
  padding: 15px 0 40px 0; /* Padding superior reducido para pegar la sección a la barra */
  margin-top: 0;
}

/* ==========================================================================
   GRID DE TARJETAS / CATÁLOGO
   ========================================================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: #f0f4f9;
  padding: 20px;
}

/* TARJETA BASE */
.card {
  position: relative;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px 16px 20px;
  box-sizing: border-box;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
  isolation: isolate;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

/* DEGRADADO OSCURO DE OVERLAY PARA GARANTIZAR LECTURA */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg, 
    rgba(15, 10, 30, 0.15) 0%, 
    rgba(15, 10, 30, 0.6) 50%, 
    rgba(10, 5, 20, 0.92) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* FONDOS CON DEGRADADOS BASE */
.card-comida { 
  background: radial-gradient(circle at 80% 20%, #491090 0%, #1a0836 60%, #0d031c 100%); 
}
.card-tecnologia { 
  background: radial-gradient(circle at 80% 20%, #0077b6 0%, #032b56 60%, #011227 100%); 
}
.card-belleza { 
  background: radial-gradient(circle at 80% 20%, #7b2cbf 0%, #300a52 60%, #150226 100%); 
}
.card-hoteleria { 
  background: radial-gradient(circle at 80% 20%, #0096c7 0%, #033a5e 60%, #01182b 100%); 
}
.card-indumentaria { 
  background: radial-gradient(circle at 80% 20%, #5a189a 0%, #24064c 60%, #0f0123 100%); 
}
.card-ferreteria { 
  background: radial-gradient(circle at 80% 20%, #00a8e8 0%, #034263 60%, #011b2b 100%); 
}

/* IMAGEN COMPLETA DE FONDO DE TARJETA */
.card-full-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.5s ease;
}

.card:hover .card-full-bg {
  transform: scale(1.05);
}

/* CONTENIDO PRINCIPAL */
.card-content {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: auto;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ETIQUETAS / BADGES */
.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-badge i {
  font-size: 11px;
  color: #00d4ff;
}

.card h2 {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.card-desc {
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
  max-width: 90%;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* BOTÓN "VER MÁS ->" RECTANGULAR REDONDEADO */
.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--violeta-principal, #6c38cc) 0%, #4578ff 50%, var(--celeste-principal, #00b4d8) 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.card-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(108, 56, 204, 0.4);
}

/* IMAGEN DE PRODUCTO FLOTANTE */
.product-img {
  position: absolute;
  top: 5%;
  right: -5%;
  width: 65%;
  height: 65%;
  object-fit: contain;
  object-position: center right;
  z-index: 2;
  filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s ease;
}

.card:hover .product-img {
  transform: scale(1.04) translateY(-4px);
}

/* BARRA INFERIOR / FOOTER CON SEPARACIÓN FIEL */
.card-footer {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  gap: 6px;
  box-sizing: border-box;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.footer-item i {
  font-size: 11px;
  color: var(--celeste-principal, #00b4d8);
}

/* ==========================================================================
   BARRA HORIZONTAL DE RUBROS (OPTIMIZADA SIN MARGEN BARRERA)
   ========================================================================== */

.rubros-bar-section {
  width: 100%;
  padding: 15px 20px 0 20px; /* Se redujo el padding inferior a 0 */
  background-color: #f4f6fc;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

/* Tarjeta contenedora blanca */
.rubros-bar-container {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 16px 24px; /* Relleno interno más compacto */
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 1240px;
  box-shadow: 0 8px 24px rgba(108, 56, 204, 0.05);
  border: 1px solid rgba(108, 56, 204, 0.08);
  box-sizing: border-box;
}

/* Item individual */
.rubro-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Caja del Ícono (Lila suave con icono violeta) */
.rubro-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background-color: #f2ebfe;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rubro-icon-box i {
  font-size: 18px;
  color: #6c38cc;
}

/* Textos */
.rubro-text {
  display: flex;
  flex-direction: column;
}

.rubro-text h3 {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #1a1e28;
  margin: 0;
  line-height: 1.2;
}

.rubro-text p {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 11px;
  color: #707584;
  margin: 3px 0 0 0;
  line-height: 1.2;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .rubros-bar-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .cards-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    padding: 15px;
  }
}

@media (max-width: 820px) {
  .hero-rubros {
    height: auto;
    min-height: 790px;
  }

  .hero-copy {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: auto;
    padding: 20px 25px 0;
  }

  .hero-visual {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 30px auto;
    width: 280px;
    height: 280px;
  }

  .side-rubros {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 90%;
    margin: 0 auto 20px;
    flex-direction: row;
  }
}

@media (max-width: 650px) {
  .rubros-bar-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px 14px;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .cards-grid { 
    grid-template-columns: 1fr; 
    padding: 10px;
  }

  .card {
    height: 380px;
  }

  .footer-item {
    font-size: 8px;
  }
}

@media (max-width: 420px) {
  .rubros-bar-container {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   BOTÓN SUMÁ TU COMERCIO (COLORES Y FUNCIONALIDAD)
   ========================================================================== */

.btn-publicar-ahora {
  position: relative !important;
  z-index: 10 !important; /* Asegura que se pueda hacer clic y no quede tapado por capas del banner */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 12px 32px !important;
  border-radius: 50px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  
  /* Degradado idéntico a PUBLICÁ AHORA (Violeta -> Azul -> Celeste) */
  background: linear-gradient(90deg, #8b2cf5 0%, #0072ff 50%, #00d4ff 100%) !important;
  
  /* Borde brillante */
  border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
  
  /* Resplandor neón */
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.6), 0 8px 25px rgba(139, 44, 245, 0.5) !important;
  
  transition: all 0.3s ease !important;
}

.btn-publicar-ahora i {
  font-size: 14px !important;
  color: #ffffff !important;
  transition: transform 0.3s ease !important;
}

/* Efecto al pasar el cursor (Hover) */
.btn-publicar-ahora:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.9), 0 12px 30px rgba(139, 44, 245, 0.7) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

.btn-publicar-ahora:hover i {
  transform: translateX(5px) !important;
}

/* ==========================================================================
   CONTENEDOR Y BANNER (PROPORCIÓN 3:1)
   ========================================================================== */

.banner-promo-container {
  width: 100%;
  max-width: 1250px;
  margin: 30px auto;
  padding: 0 30px;
}

.banner-promo {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  min-height: 280px;
  max-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  background-image: url('banner-fondo.png'); /* Asegúrate de que esta imagen exista */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 35px;
  box-shadow: var(--shadow-soft, 0 10px 30px rgba(0,0,0,0.1));
}

.banner-promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(10, 5, 25, 0.6) 100%);
  z-index: 1; /* El overlay queda por debajo del botón (z-index: 10) */
  pointer-events: none; /* Permite clicks a través de la capa transparente */
}

@media (max-width: 768px) {
  .banner-promo {
    aspect-ratio: 16 / 9;
    min-height: 200px;
    padding-bottom: 20px;
  }
  
  .btn-publicar-ahora {
    padding: 10px 22px !important;
    font-size: 11px !important;
  }
}
/* ==========================================================================
   0. CONFIGURACIÓN GENERAL
   ========================================================================== */

body {
  background-color: #ffffff;
  color: #333333;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* ==========================================================================
   0. CONFIGURACIÓN GENERAL
   ========================================================================== */

body {
  background-color: #ffffff;
  color: #333333;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* ==========================================================================
   1. PORTADA CATEGORÍA COMIDA Y BOTÓN "RUBROS"
   ========================================================================== */

.hero-categoria-comida {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  background-image: url('portada_categoria_comida.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

/* Contenedor alineado debajo de la gráfica del banner */
.hero-comida-content {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding-left: 60px;
  padding-top: 180px; /* Posiciona el botón debajo de la línea degradada */
  box-sizing: border-box;
}

/* BOTÓN REGRESAR A RUBROS (+20% DE TAMAÑO) */
.btn-volver-rubros {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 38px;
  border-radius: 50px;
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #7b2cbf 0%, #0077b6 50%, #00f5d4 100%);
  box-shadow: 0 10px 30px rgba(123, 44, 191, 0.45);
  transition: all 0.3s ease;
}

.btn-volver-rubros i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-volver-rubros:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 35px rgba(0, 245, 212, 0.55);
  color: #ffffff;
}

.btn-volver-rubros:hover i {
  transform: translateX(-5px);
}

/* ==========================================================================
   2. BARRA DE SUBCATEGORÍAS DE COMIDA
   ========================================================================== */

.subcategorias-container {
  width: 100%;
  max-width: 1250px;
  margin: 15px auto 0 auto; /* Margen inferior eliminado para pegar la sección */
  padding: 0 15px;
  box-sizing: border-box;
}

.subcategorias-wrapper {
  background-color: #f7fbff;
  border-radius: 20px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.subcat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background-color: #ffffff;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.subcat-card:hover,
.subcat-card.active {
  background-color: #ffffff;
  border-color: rgba(107, 33, 168, 0.15);
  box-shadow: 0 4px 12px rgba(107, 33, 168, 0.08);
  transform: translateY(-2px);
}

.subcat-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background-color: #f3e8ff; /* Fondo violeta pastel suave */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b21a8; /* Ícono violeta oscuro */
  font-size: 18px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.subcat-card:hover .subcat-icon,
.subcat-card.active .subcat-icon {
  background-color: #6b21a8;
  color: #ffffff;
}

.subcat-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.subcat-title {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.subcat-subtitle {
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  margin-top: 2px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* ==========================================================================
   3. SECCIÓN PRINCIPAL Y GRILLA DE TARJETAS DE COMIDA
   ========================================================================== */

.comida-section {
  padding: 15px 0 60px 0; /* Espaciado superior reducido de 60px a 15px */
  background-color: #ffffff; /* Fondo blanco */
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* ESTRUCTURA GENERAL DE LA TARJETA */
.food-card {
  border-radius: 16px;
  overflow: hidden;
  background-color: #0b0221;
  border: 1px solid rgba(0, 0, 0, 0.08); /* Borde suave optimizado para fondo claro */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12); /* Sombra refinada para el fondo blanco */
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Variante para tarjetas de fondo claro */
.food-card.light-theme {
  background-color: #f7fbff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.food-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(123, 44, 191, 0.25);
}

/* CONTENEDOR DE IMAGEN Y OVERLAY */
.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
}

.food-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(8, 3, 26, 0.75) 0%, rgba(8, 3, 26, 0) 50%, rgba(8, 3, 26, 0.85) 100%);
}

.light-theme .card-overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.7) 100%);
}

/* TIPOGRAFÍA DE LAS TARJETAS */
.card-header-text .sub-title {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
}

.card-header-text .sub-title.purple-text {
  color: #6b21a8;
}

.card-header-text .main-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  margin: 2px 0 8px 0;
  text-transform: uppercase;
}

/* GRADIENTES DE TEXTO */
.gradient-blue {
  background: linear-gradient(90deg, #a855f7 0%, #3b82f6 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-cyan {
  background: linear-gradient(90deg, #3b82f6 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #d1d5db;
  text-transform: uppercase;
}

.tagline.dark-text {
  color: #374151;
}

/* BOTÓN INTERNO "CATÁLOGO" */
.btn-catalogo {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 28px;
  border-radius: 30px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  background: linear-gradient(90deg, #7e22ce 0%, #2563eb 50%, #06b6d4 100%);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
}

.btn-catalogo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6);
  color: #ffffff;
}

/* BARRA INFERIOR DE INFORMACIÓN DE LA TARJETA */
.card-footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: linear-gradient(90deg, #581c87 0%, #1d4ed8 50%, #0284c7 100%);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* ==========================================================================
   4. ADAPTACIÓN RESPONSIVE (MÓVILES Y TABLETS)
   ========================================================================== */

@media (max-width: 1200px) {
  .subcategorias-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .food-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-categoria-comida {
    height: 100%;
  }

  .hero-comida-content {
    padding-left: 20px;
    padding-top: 120px;
  }

  .btn-volver-rubros {
    padding: 12px 28px;
    font-size: 14px;
  }

  .subcategorias-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .food-grid {
    grid-template-columns: 1fr;
  }

  .card-footer-info {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .subcategorias-wrapper {
    display: flex;
    overflow-x: auto;
    padding-bottom: 16px;
  }
  .subcat-card {
    min-width: 180px;
  }
}
/* ==========================================================================
   1. PORTADA CATEGORÍA TECNOLOGÍA Y BOTÓN "RUBROS"
   ========================================================================== */

.hero-categoria-tecnologia {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 760px;
  margin-top: 80px;
  background-image: url('portada_categoria_tecnologia.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

/* Contenedor alineado debajo de la gráfica del banner */
.hero-comida-content {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding-left: 60px;
  padding-top: 180px; /* Posiciona el botón debajo de la línea degradada */
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

/* BOTÓN REGRESAR A RUBROS (+20% DE TAMAÑO) */
.btn-volver-rubros {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 38px;
  border-radius: 50px;
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #7b2cbf 0%, #0077b6 50%, #00f5d4 100%);
  box-shadow: 0 10px 30px rgba(123, 44, 191, 0.45);
  transition: all 0.3s ease;
}

.btn-volver-rubros i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-volver-rubros:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 35px rgba(0, 245, 212, 0.55);
  color: #ffffff;
}

.btn-volver-rubros:hover i {
  transform: translateX(-5px);
}

/* ==========================================================================
   2. BARRA DE SUBCATEGORÍAS DE TECNOLOGÍA
   ========================================================================== */

.subcategorias-container {
  width: 100%;
  max-width: 1250px;
  margin: 15px auto 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.subcategorias-wrapper {
  background-color: #f7fbff;
  border-radius: 20px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.subcat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background-color: #ffffff;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.subcat-card:hover,
.subcat-card.active {
  background-color: #ffffff;
  border-color: rgba(107, 33, 168, 0.15);
  box-shadow: 0 4px 12px rgba(107, 33, 168, 0.08);
  transform: translateY(-2px);
}

.subcat-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background-color: #f3e8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b21a8;
  font-size: 18px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.subcat-card:hover .subcat-icon,
.subcat-card.active .subcat-icon {
  background-color: #6b21a8;
  color: #ffffff;
}

.subcat-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.subcat-title {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.subcat-subtitle {
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  margin-top: 2px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* ==========================================================================
   3. SECCIÓN PRINCIPAL Y GRILLA DE TARJETAS DE TECNOLOGÍA
   ========================================================================== */

.comida-section {
  padding: 15px 0 60px 0;
  background-color: #ffffff;
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* ESTRUCTURA GENERAL DE LA TARJETA */
.food-card {
  border-radius: 16px;
  overflow: hidden;
  background-color: #0b0221;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Variante para tarjetas de fondo claro */
.food-card.light-theme {
  background-color: #f7fbff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.food-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(123, 44, 191, 0.25);
}

/* CONTENEDOR DE IMAGEN Y OVERLAY */
.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
}

.food-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(8, 3, 26, 0.75) 0%, rgba(8, 3, 26, 0) 50%, rgba(8, 3, 26, 0.85) 100%);
}

.light-theme .card-overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.7) 100%);
}

/* TIPOGRAFÍA DE LAS TARJETAS */
.card-header-text .sub-title {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
}

.card-header-text .sub-title.purple-text {
  color: #6b21a8;
}

.card-header-text .main-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  margin: 2px 0 8px 0;
  text-transform: uppercase;
}

/* GRADIENTES DE TEXTO */
.gradient-blue {
  background: linear-gradient(90deg, #a855f7 0%, #3b82f6 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-cyan {
  background: linear-gradient(90deg, #3b82f6 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #d1d5db;
  text-transform: uppercase;
}

.tagline.dark-text {
  color: #374151;
}

/* BOTÓN INTERNO "CATÁLOGO" */
.btn-catalogo {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 28px;
  border-radius: 30px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  background: linear-gradient(90deg, #7e22ce 0%, #2563eb 50%, #06b6d4 100%);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
}

.btn-catalogo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6);
  color: #ffffff;
}

/* BARRA INFERIOR DE INFORMACIÓN DE LA TARJETA */
.card-footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: linear-gradient(90deg, #581c87 0%, #1d4ed8 50%, #0284c7 100%);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* ==========================================================================
   4. ADAPTACIÓN RESPONSIVE (MÓVILES Y TABLETS)
   ========================================================================== */

@media (max-width: 1200px) {
  .subcategorias-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .food-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-categoria-comida {
    aspect-ratio: auto;
    height: auto;
    min-height: 300px;
  }

  .hero-comida-content {
    padding-left: 20px;
    padding-top: 100px;
    padding-bottom: 30px;
  }

  .btn-volver-rubros {
    padding: 12px 28px;
    font-size: 14px;
  }

  .subcategorias-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .food-grid {
    grid-template-columns: 1fr;
  }

  .card-footer-info {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .subcategorias-wrapper {
    display: flex;
    overflow-x: auto;
    padding-bottom: 16px;
  }
  .subcat-card {
    min-width: 180px;
  }
}
/* ==========================================================================
   PORTADA CATEGORÍA BELLEZA
   ========================================================================== */

.hero-categoria-belleza {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  background-image: url('portada_categoria_belleza.png'); /* Cambia la imagen según lo necesites */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-belleza {
    height: 100%;
  }
}
/* ==========================================================================
   PORTADA CATEGORÍA HOTELERÍA
   ========================================================================== */

.hero-categoria-hoteleria {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  background-image: url('portada_categoria_hoteleria.png'); /* Reemplaza con el nombre de tu nueva imagen de portada */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-hoteleria {
    height: 100%;
  }
}
/* ==========================================================================
   PORTADA CATEGORÍA INDUMENTARIA
   ========================================================================== */

.hero-categoria-indumentaria {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  background-image: url('portada_categoria_indumentaria.png'); /* Reemplaza por el nombre de tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-indumentaria {
    height: 100%;
  }
}
/* ==========================================================================
   PORTADA CATEGORÍA FERRETERÍA
   ========================================================================== */

.hero-categoria-ferreteria {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  background-image: url('portada_categoria_ferreteria.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-ferreteria {
    height: 100%;
  }
}
/* ==========================================================================
   PORTADA ESPECÍFICA BURGER PEAK
   ========================================================================== */

.hero-categoria-burger-peak {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  background-image: url('portada_burger_peak.png'); /* Reemplaza por la imagen de fondo de Burger Peak */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-burger-peak {
    height: 100%;
  }
}
/* ==========================================================================
   ALINEACIÓN EXACTA DEL BOTÓN EN LA PARTE INFERIOR (ESTILO CATÁLOGO)
   ========================================================================== */

/* Contenedor relativo para asegurar el cálculo del 100% de la altura */
.clean-card .card-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}


/* Ajuste de posición más abajo para el botón de pedir */
.clean-card .card-overlay.centered-overlay,
.clean-card .centered-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: flex-end !important;   /* Lo posiciona al fondo */
  justify-content: center !important; /* Centrado horizontal */
  padding-bottom: 8px !important;    /* Distancia menor desde el borde para bajarlo más */
  background: transparent !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

.clean-card .centered-overlay .btn-catalogo {
  pointer-events: auto;               /* Habilita la interacción con el enlace */
  margin: 0 !important;
  position: relative;
  z-index: 2;
}
/* ==========================================================================
   BANNER SOLO IMAGEN (BURGER PEAK)
   ========================================================================== */

.banner-imagen-container {
  width: 100%;
  max-width: 1200px; /* Ancho máximo igual al contenedor principal */
  margin: 40px auto;
  padding: 0 15px;  /* Margen interno para móviles */
  box-sizing: border-box;
}

.banner-imagen-link {
  display: block;
  width: 100%;
  border-radius: 12px; /* Redondeo suave compatible con el diseño */
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto hover opcional */
.banner-imagen-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.banner-imagen-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
@import url("style.css"); /* Importa la hoja de estilos general */

/* ==========================================================================
   PORTADA ESPECÍFICA PIZZA LAB (CAMBIAR IMAGEN DE FONDO DE PORTADA AQUÍ)
   ========================================================================== */

.hero-categoria-pizza-lab {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  /* Reemplaza 'portada_pizza_lab.png' con tu imagen de fondo deseada */
  background-image: url('portada_pizza_lab.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-pizza-lab {
    height: 100%;
  }
}

/* ==========================================================================
   ALINEACIÓN Y POSICIÓN DEL BOTÓN EN LAS TARJETAS (IGUAL A BURGER PEAK)
   ========================================================================== */

.clean-card .card-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

.clean-card .card-overlay.centered-overlay,
.clean-card .centered-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding-bottom: 8px !important;
  background: transparent !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

.clean-card .centered-overlay .btn-catalogo {
  pointer-events: auto;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   SECCIÓN DE BANNER EN IMAGEN
   ========================================================================== */

.banner-imagen-container {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.banner-imagen-link {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-imagen-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.banner-imagen-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
@import url("style.css");

/* ==========================================================================
   PORTADA ESPECÍFICA SUSHI ZEN (CAMBIAR IMAGEN DE FONDO AQUÍ)
   ========================================================================== */

.hero-categoria-sushi-zen {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  /* Reemplaza 'portada_sushi_zen.png' por el archivo de imagen deseado */
  background-image: url('portada_sushi_zen.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-sushi-zen {
    height: 100%;
  }
}

/* ==========================================================================
   ALINEACIÓN Y POSICIÓN DEL BOTÓN Y TARJETAS
   ========================================================================== */

.clean-card .card-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

.clean-card .card-overlay.centered-overlay,
.clean-card .centered-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding-bottom: 8px !important;
  background: transparent !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

.clean-card .centered-overlay .btn-catalogo {
  pointer-events: auto;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   SECCIÓN DE BANNER EN IMAGEN
   ========================================================================== */

.banner-imagen-container {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.banner-imagen-link {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-imagen-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.banner-imagen-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
@import url("style.css"); /* Importa los estilos generales */

/* ==========================================================================
   PORTADA ESPECÍFICA TECNO CELL (IMAGEN DE FONDO)
   ========================================================================== */

.hero-categoria-tecno-cell {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  /* Reemplaza 'portada_tecno_cell.png' por tu archivo de imagen para la portada */
  background-image: url('portada_tecno_cell.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-tecno-cell {
    height: 100%;
  }
}

/* ==========================================================================
   FILA DE 5 SUBCATEGORÍAS (SÓLO IMÁGENES)
   ========================================================================== */

.subcategorias-wrapper-5 {
  background-color: #f7fbff;
  border-radius: 20px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* Grilla de 5 columnas para las imágenes */
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.subcat-img-card {
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subcat-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.subcat-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}

@media (max-width: 992px) {
  .subcategorias-wrapper-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .subcategorias-wrapper-5 {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .subcat-img-card {
    min-width: 140px;
  }
}

/* ==========================================================================
   ALINEACIÓN Y POSICIÓN DEL BOTÓN EN LAS TARJETAS (ESTILO BURGER PEAK)
   ========================================================================== */

.clean-card .card-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

.clean-card .card-overlay.centered-overlay,
.clean-card .centered-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding-bottom: 8px !important;
  background: transparent !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

.clean-card .centered-overlay .btn-catalogo {
  pointer-events: auto;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   BANERA DE IMAGEN DE PUBLICIDAD
   ========================================================================== */

.banner-imagen-container {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.banner-imagen-link {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-imagen-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.banner-imagen-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
@import url("style.css"); /* Importa el archivo principal de estilos */

/* ==========================================================================
   PORTADA ESPECÍFICA PC STORE
   ========================================================================== */

.hero-categoria-pc-store {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  /* Cambia 'portada_pc_store.png' por el archivo de imagen deseado para el fondo */
  background-image: url('portada_pc_store.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-pc-store {
    height: 100%;
  }
}

/* ==========================================================================
   FILA DE 5 SUBCATEGORÍAS (IMÁGENES)
   ========================================================================== */

.subcategorias-wrapper-5 {
  background-color: #f7fbff;
  border-radius: 20px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.subcat-img-card {
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subcat-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.subcat-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}

@media (max-width: 992px) {
  .subcategorias-wrapper-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .subcategorias-wrapper-5 {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .subcat-img-card {
    min-width: 140px;
  }
}

/* ==========================================================================
   ALINEACIÓN DE BOTONES Y TARJETAS
   ========================================================================== */

.clean-card .card-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

.clean-card .card-overlay.centered-overlay,
.clean-card .centered-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding-bottom: 8px !important;
  background: transparent !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

.clean-card .centered-overlay .btn-catalogo {
  pointer-events: auto;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   BANNER EN IMAGEN DE PC STORE
   ========================================================================== */

.banner-imagen-container {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.banner-imagen-link {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-imagen-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.banner-imagen-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
/* ==========================================================================
   PORTADA ESPECÍFICA FIX TECH
   ========================================================================== */

.hero-categoria-fix-tech {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  /* Reemplaza 'portada_fix_tech.png' por el archivo de imagen deseado para el fondo */
  background-image: url('portada_fix_tech.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-fix-tech {
    height: 100%;
  }
}

/* ==========================================================================
   FILA DE 5 SUBCATEGORÍAS (IMÁGENES)
   ========================================================================== */

.subcategorias-wrapper-5 {
  background-color: #f7fbff;
  border-radius: 20px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.subcat-img-card {
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subcat-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.subcat-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}

@media (max-width: 992px) {
  .subcategorias-wrapper-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .subcategorias-wrapper-5 {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .subcat-img-card {
    min-width: 140px;
  }
}

/* ==========================================================================
   BANERA EN IMAGEN DE FIX TECH
   ========================================================================== */

.banner-imagen-container {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.banner-imagen-link {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-imagen-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.banner-imagen-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
/* ==========================================================================
   PORTADA ESPECÍFICA STUDIO GLOW
   ========================================================================== */

.hero-categoria-studio-glow {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  background-image: url('hero-studio-glow.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-studio-glow {
    height: 100%;
  }
}

.hero-comida-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.btn-volver-rubros {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #8E24AA; /* Tono violeta para belleza */
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.btn-volver-rubros:hover {
  background-color: #6A1B9A;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Ajuste Responsive */
@media (max-width: 768px) {
  .hero-categoria-studio-glow {
    height: 250px;
    padding: 18px;
  }
}

/* Grilla de 3 tarjetas iniciales */
.initial-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 40px;
}

/* Sección Antes y Después */
.before-after-section {
  margin: 50px 0;
  text-align: center;
}

.before-after-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 900px;
  margin: 0 auto;
}

.before-after-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: #f8f8f8;
}

.label-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 2;
}

.before-after-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.before-after-card:hover .before-after-img {
  transform: scale(1.03);
}

/* Banner Intermedio */
.banner-imagen-container {
  width: 100%;
  margin: 40px 0;
  border-radius: 12px;
  overflow: hidden;
}

.banner-imagen-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Subcategorías - Fila de 5 tarjetas para Cortes y Estilos */
.subcategorias-container {
  margin: 40px 0 60px 0;
}

.subcategorias-wrapper-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.subcat-img-card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subcat-img-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.subcat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Adaptación Responsive */
@media (max-width: 992px) {
  .subcategorias-wrapper-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .initial-cards-grid {
    grid-template-columns: 1fr;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .subcategorias-wrapper-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@import url("style.css");

/* ==========================================================================
   PORTADA ESPECÍFICA DIVAS NAILS (CAMBIAR IMAGEN DE FONDO AQUÍ)
   ========================================================================== */

.hero-categoria-divas-nails {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  /* Reemplaza 'portada_divas_nails.png' por tu imagen de portada deseada */
  background-image: url('portada_divas_nails.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-divas-nails {
    height: 100%;
  }
}

/* ==========================================================================
   SECCIÓN DE ANTES Y DESPUÉS
   ========================================================================== */

.before-after-section {
  margin: 40px 0;
  text-align: center;
}

.before-after-title {
  font-size: 26px;
  font-weight: 900;
  color: #1e293b;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.before-after-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.before-after-img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   FILA DE 5 SUBCATEGORÍAS / CORTES (SÓLO IMÁGENES)
   ========================================================================== */

.subcategorias-wrapper-5 {
  background-color: #f7fbff;
  border-radius: 20px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.subcat-img-card {
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subcat-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.subcat-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}

@media (max-width: 992px) {
  .subcategorias-wrapper-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .subcategorias-wrapper-5 {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .subcat-img-card {
    min-width: 140px;
  }
}

/* ==========================================================================
   ALINEACIÓN Y POSICIÓN DEL BOTÓN EN LAS TARJETAS INICIALES
   ========================================================================== */

.clean-card .card-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

.clean-card .card-overlay.centered-overlay,
.clean-card .centered-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding-bottom: 8px !important;
  background: transparent !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

.clean-card .centered-overlay .btn-catalogo {
  pointer-events: auto;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}
@import url("style.css");

/* ==========================================================================
   PORTADA ESPECÍFICA CUSTOM BARBER
   ========================================================================== */

.hero-categoria-custom-barber {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  /* Puedes reemplazar 'portada_custom_barber.png' por tu archivo de imagen para la portada */
  background-image: url('portada_custom_barber.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-custom-barber {
    height: 100%;
  }
}

/* ==========================================================================
   SECCIÓN DE ANTES Y DESPUÉS
   ========================================================================== */

.before-after-section {
  margin: 40px 0;
  text-align: center;
}

.before-after-title {
  font-size: 26px;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.before-after-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.before-after-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 600px) {
  .before-after-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FILA DE 5 TARJETAS EN IMÁGENES (CORTES Y ESTILOS)
   ========================================================================== */

.subcategorias-wrapper-5 {
  background-color: #f7fbff;
  border-radius: 20px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.subcat-img-card {
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subcat-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.subcat-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}

@media (max-width: 992px) {
  .subcategorias-wrapper-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .subcategorias-wrapper-5 {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .subcat-img-card {
    min-width: 140px;
  }
}

/* ==========================================================================
   ALINEACIÓN Y POSICIÓN DEL BOTÓN EN LAS TARJETAS
   ========================================================================== */

.clean-card .card-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

.clean-card .card-overlay.centered-overlay,
.clean-card .centered-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding-bottom: 8px !important;
  background: transparent !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

.clean-card .centered-overlay .btn-catalogo {
  pointer-events: auto;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}
@import url("style.css"); /* Importa la hoja de estilos general */

/* ==========================================================================
   PORTADA ESPECÍFICA HOTEL PLAZA
   ========================================================================== */

.hero-categoria-hotel-plaza {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  /* Reemplaza 'portada_hotel_plaza.png' por tu imagen de fondo */
  background-image: url('portada_hotel_plaza.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-hotel-plaza {
    height: 100%;
  }
}

/* ==========================================================================
 /* ==========================================================================
   GRILLA DE 4 TARJETAS EN FORMATO 2 ARRIBA Y 2 ABAJO (2x2)
   ========================================================================== */

.initial-cards-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Crea 2 columnas iguales */
  gap: 25px; /* Espaciado entre tarjetas */
  margin-bottom: 35px;
  max-width: 1000px; /* Ancho máximo para que las 2 columnas se vean proporcionadas */
  margin-left: auto;
  margin-right: auto;
}

/* Ajuste responsive para celulares */
@media (max-width: 600px) {
  .initial-cards-grid-2x2 {
    grid-template-columns: 1fr; /* En pantallas pequeñas se apilan de a 1 */
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .initial-cards-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ALINEACIÓN EXACTA DEL BOTÓN PEDIR AHORA EN LAS TARJETAS */
.clean-card .card-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

.clean-card .card-overlay.centered-overlay,
.clean-card .centered-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding-bottom: 8px !important;
  background: transparent !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

.clean-card .centered-overlay .btn-catalogo {
  pointer-events: auto;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   BARRA DE INFORMACIÓN CON ÍCONOS (ESTILO IMAGEN)
   ========================================================================== */

.info-bar-section {
  width: 100%;
  margin: 30px 0;
}

.info-bar-container {
  background: linear-gradient(90deg, #1d1d2c 0%, #171d33 100%);
  border-radius: 16px;
  padding: 20px 25px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-bar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  text-align: center;
}

.info-bar-item i {
  font-size: 22px;
  color: #00d4ff;
}

.info-bar-item span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

@media (max-width: 992px) {
  .info-bar-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .info-bar-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* ==========================================================================
   FILA DE 5 SUBCATEGORÍAS / GALERÍA DE IMÁGENES
   ========================================================================== */

.subcategorias-wrapper-5 {
  background-color: #f7fbff;
  border-radius: 20px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.subcat-img-card {
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subcat-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.subcat-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}

@media (max-width: 992px) {
  .subcategorias-wrapper-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .subcategorias-wrapper-5 {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .subcat-img-card {
    min-width: 140px;
  }
}
@import url("style.css"); /* Importa la hoja de estilos base del proyecto */

/* ==========================================================================
   PORTADA ESPECÍFICA CABAÑAS EL EDÉN
   ========================================================================== */

.hero-categoria-cabanas-el-eden {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  background-image: url('portada_cabanas_el_eden.png'); /* Reemplazar con la imagen de portada de El Edén */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-cabanas-el-eden {
    height: 100%;
  }
}

/* ==========================================================================
   BARRA DE INFORMACIÓN Y SERVICIOS
   ========================================================================== */

.info-bar-section {
  width: 100%;
  margin: 35px 0;
}

.info-bar-container {
  background-color: #f7fbff;
  border: 1px solid rgba(108, 56, 204, 0.12);
  border-radius: 18px;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.info-bar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #1e293b;
  font-weight: 700;
  font-size: 13px;
}

.info-bar-item i {
  font-size: 18px;
  color: #6c38cc;
}

@media (max-width: 992px) {
  .info-bar-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .info-bar-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ==========================================================================
   GRILLA DE 5 IMÁGENES INFERIORES
   ========================================================================== */

.subcategorias-wrapper-5 {
  background-color: #f7fbff;
  border-radius: 20px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.subcat-img-card {
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subcat-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.subcat-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}

@media (max-width: 992px) {
  .subcategorias-wrapper-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .subcategorias-wrapper-5 {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .subcat-img-card {
    min-width: 140px;
  }
}
.card-image-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* Efecto opcional al pasar el mouse */
.service-card-custom:hover .card-image {
  transform: scale(1.03);
}
/* ==========================================================================
   CAPA RESPONSIVE GLOBAL
   --------------------------------------------------------------------------
   Esta capa NO elimina ni reemplaza las clases, portadas o diseños existentes.
   Solo ajusta tamaños, espacios, grids, imágenes y navegación según el viewport.
   Compatible con navegadores modernos: Chrome, Edge, Firefox y Safari.
   ========================================================================== */

/* --- Base segura para cualquier página --- */
html {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  max-width: 100%;
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

table {
  width: 100%;
  max-width: 100%;
}

iframe {
  max-width: 100%;
  border: 0;
}

/* Evita que textos largos rompan el layout */
h1, h2, h3, h4, h5, h6,
p, span, a, li, button {
  overflow-wrap: anywhere;
}

/* Contenedores principales: nunca deben superar el viewport */
.container,
.nav-container,
.banner-promo-container,
.subcategorias-container {
  width: 100%;
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   TABLET / NOTEBOOK
   ========================================================================== */
@media (max-width: 1200px) {

  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .navbar {
    padding-left: 30px;
    padding-right: 30px;
  }

  .nav-container {
    gap: 20px;
  }

  .nav-links {
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-main {
    padding-left: 50px;
    padding-right: 50px;
  }

  .hero-rubros {
    min-height: 620px;
  }

  .hero-visual {
    width: min(42vw, 450px);
    height: min(42vw, 450px);
  }

  .side-rubros {
    right: 3%;
    width: 175px;
  }

  .cards-grid,
  .food-grid {
    width: 100%;
    max-width: 1240px;
  }

  .footer-grid {
    gap: 28px;
  }

  .banner-promo-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ==========================================================================
   TABLET
   ========================================================================== */
@media (max-width: 900px) {

  .navbar {
    position: relative;
    padding: 14px 20px;
  }

  .nav-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand-logo {
    flex: 0 0 auto;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 20px;
    padding: 8px 2px 4px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .btn-talk {
    flex: 0 0 auto;
  }

  .hero-main {
    min-height: auto;
    padding: 90px 30px 50px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(34px, 6vw, 48px);
  }

  .pillars-banner,
  .bottom-features-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid-custom {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card {
    min-width: 0;
  }

  .rubros-bar-container,
  .subcategorias-wrapper,
  .subcategorias-wrapper-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-copy {
    max-width: calc(100% - 40px);
  }
}

/* ==========================================================================
   MÓVIL
   ========================================================================== */
@media (max-width: 768px) {

  /* Navegación */
  .navbar {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-container {
    width: 100%;
  }

  .logo-img {
    height: 36px;
  }

  .logo-top {
    font-size: 12px;
  }

  .logo-bottom {
    font-size: 13px;
  }

  .nav-links {
    gap: 16px;
    font-size: 12px;
  }

  .btn-talk {
    padding: 9px 15px;
    font-size: 10px;
  }

  /* Espaciado general */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Hero principal */
  .hero-main {
    width: 100%;
    padding: 70px 20px 35px;
    min-height: auto;
    align-items: flex-start;
  }

  .hero-title {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.5px;
  }

  .hero-description {
    font-size: 14px;
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero-actions a {
    max-width: 100%;
  }

  .stats-row {
    gap: 24px;
    flex-wrap: wrap;
  }

  .tech-icons {
    flex-wrap: wrap;
  }

  /* Portada de rubros */
  .hero-rubros {
    width: 100%;
    min-height: auto;
    height: auto;
    max-height: none;
    padding: 25px 16px 30px;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    padding: 22px 20px;
    border-radius: 20px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .hero-copy .description {
    max-width: 100%;
    font-size: 13px;
  }

  .hero-copy .cta {
    width: 100%;
    min-width: 0;
  }

  .hero-visual {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(78vw, 330px);
    height: min(78vw, 330px);
    margin: 25px auto;
  }

  .side-rubros {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    margin: 10px auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .rubric {
    min-width: 0;
    height: 48px;
  }

  .rubric small {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .progress-ring {
    display: none;
  }

  /* Banners */
  .banner-promo-container {
    padding-left: 16px;
    padding-right: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .banner-promo {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
    max-height: none;
    border-radius: 16px;
    padding: 20px;
  }

  /* Grillas */
  .pillars-banner,
  .bottom-features-banner {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .cards-grid,
  .food-grid,
  .cards-grid-custom {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .card {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 380px;
  }

  /* Tarjetas de comida y similares */
  .food-card {
    width: 100%;
    min-width: 0;
  }

  .card-img-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .food-img,
  .card-full-bg,
  .product-img {
    max-width: 100%;
  }

  .card-footer,
  .card-footer-info {
    flex-wrap: wrap;
  }

  .footer-item {
    white-space: normal;
  }

  /* Barras de rubros/subcategorías */
  .rubros-bar-section {
    padding-left: 10px;
    padding-right: 10px;
  }

  .rubros-bar-container,
  .subcategorias-wrapper,
  .subcategorias-wrapper-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .rubro-item,
  .subcat-card,
  .subcat-img-card {
    min-width: 0;
  }

  .rubro-text,
  .subcat-text {
    min-width: 0;
  }

  .subcat-title,
  .subcat-subtitle,
  .rubro-text h3,
  .rubro-text p {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Detalle */
  .detail-box {
    width: 100%;
    max-width: 100%;
    padding: 30px 20px;
  }

  .detail-content h2 {
    font-size: clamp(22px, 6vw, 28px);
  }

  /* Footer */
  .site-footer {
    padding: 40px 0 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Imágenes de banners/categorías */
  .banner-imagen-container,
  .banner-imagen-link {
    width: 100%;
    max-width: 100%;
  }

  .banner-imagen-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Barras de información */
  .info-bar-container {
    width: 100%;
    max-width: 100%;
  }

  .info-bar-item {
    min-width: 0;
  }

  /* Antes/después */
  .before-after-grid,
  .initial-cards-grid,
  .initial-cards-grid-2x2,
  .initial-cards-grid-4 {
    grid-template-columns: 1fr;
  }

  .before-after-card,
  .before-after-img {
    width: 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   MÓVIL PEQUEÑO
   ========================================================================== */
@media (max-width: 480px) {

  .navbar {
    padding: 10px 12px;
  }

  .nav-container {
    gap: 10px;
  }

  .brand-logo {
    max-width: 65%;
  }

  .logo-img {
    height: 32px;
  }

  .logo-text {
    min-width: 0;
  }

  .logo-top,
  .logo-bottom {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .btn-talk {
    padding: 8px 12px;
    font-size: 9px;
  }

  .hero-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions a,
  .btn-primary-gradient,
  .btn-secondary-cyan {
    width: 100%;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(28px, 10vw, 36px);
  }

  .hero-rubros {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-copy {
    padding: 18px 16px;
  }

  .hero-visual {
    width: min(82vw, 290px);
    height: min(82vw, 290px);
  }

  .side-rubros {
    grid-template-columns: 1fr;
  }

  .rubric {
    height: 46px;
  }

  .rubros-bar-container,
  .subcategorias-wrapper,
  .subcategorias-wrapper-5 {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .rubro-item,
  .subcat-card {
    width: 100%;
  }

  .cards-grid,
  .food-grid {
    padding-left: 5px;
    padding-right: 5px;
    gap: 14px;
  }

  .card {
    min-height: 350px;
    border-radius: 18px;
  }

  .card h2 {
    font-size: 20px;
  }

  .card-desc {
    max-width: 100%;
  }

  .card-footer {
    align-items: flex-start;
  }

  .btn-volver-rubros,
  .btn-publicar-ahora {
    max-width: 100%;
    width: 100%;
    justify-content: center;
  }

  .banner-promo-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .banner-promo {
    border-radius: 14px;
  }

  .detail-box {
    padding: 24px 16px;
    border-radius: 18px;
  }
}

/* ==========================================================================
   MÓVILES MUY PEQUEÑOS
   ========================================================================== */
@media (max-width: 360px) {

  .logo-img {
    height: 28px;
  }

  .nav-links {
    gap: 13px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .btn-talk {
    padding: 7px 10px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .hero-visual {
    width: 240px;
    height: 240px;
  }

  .card {
    min-height: 330px;
  }

  .card-content {
    margin-bottom: 8px;
  }

  .card-footer {
    gap: 4px;
  }

  .footer-item {
    font-size: 8px;
  }
}

/* ==========================================================================
   COMPATIBILIDAD DE IMÁGENES / ASPECT-RATIO
   ========================================================================== */

@supports not (aspect-ratio: 1 / 1) {
  .banner-promo {
    height: auto;
    min-height: 220px;
  }

  .banner-promo::after {
    content: "";
    display: block;
    padding-bottom: 33.333%;
  }

  @media (max-width: 768px) {
    .banner-promo::after {
      padding-bottom: 56.25%;
    }
  }
}

/* Safari: soporte adicional para backdrop-filter */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .navbar,
  .hero-copy,
  .rubric,
  .card-badge {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

/* Pantallas táctiles: evita depender del hover para el layout */
@media (hover: none) and (pointer: coarse) {
  .card:hover,
  .service-card-custom:hover,
  .rubric:hover,
  .subcat-card:hover {
    transform: none;
  }

  .card:hover .card-full-bg,
  .card:hover .product-img,
  .service-card-custom:hover .card-mockup-wrapper {
    transform: none;
  }
}


/* ==========================================================================
   ADAPTACIÓN UNIVERSAL FINAL
   --------------------------------------------------------------------------
   Esta capa se agrega SIN eliminar clases, portadas, animaciones ni estilos
   existentes. Su objetivo es conservar la misma composición visual en
   escritorio, tablet y móvil, reduciendo proporcionalmente tamaños y
   manteniendo las grillas cuando sea posible.
   Compatible con Chrome, Edge, Firefox y Safari.
   ========================================================================== */

/* BASE */
html {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img, svg, video, canvas {
  max-width: 100%;
}

img {
  height: auto;
}

button, input, select, textarea {
  max-width: 100%;
  font: inherit;
}

iframe {
  max-width: 100%;
}

.container,
.nav-container,
.banner-promo-container,
.subcategorias-container,
.cards-grid,
.food-grid {
  width: 100%;
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
}

/* Evita que una palabra o dato largo deforme una tarjeta */
h1, h2, h3, h4, h5, h6, p, span, a, li, button {
  overflow-wrap: anywhere;
}

/* NAVBAR: conserva el formato horizontal */
.navbar {
  padding-left: clamp(14px, 4vw, 60px);
  padding-right: clamp(14px, 4vw, 60px);
}

.nav-container {
  min-width: 0;
}

.brand-logo {
  flex: 0 0 auto;
  min-width: 0;
}

.logo-text {
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(12px, 2.5vw, 35px);
  min-width: 0;
}

.nav-links a {
  white-space: nowrap;
}

.btn-talk {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* HERO PRINCIPAL */
.hero-main {
  padding-left: clamp(24px, 6vw, 80px);
  padding-right: clamp(24px, 6vw, 80px);
}

.hero-content {
  width: min(100%, 650px);
}

.hero-title {
  font-size: clamp(32px, 4.2vw, 54px);
}

.hero-actions,
.stats-row,
.tech-icons {
  flex-wrap: nowrap;
}

.hero-actions a {
  white-space: nowrap;
}

/* BLOQUES DE 4: siguen siendo horizontales mientras exista espacio */
.pillars-banner,
.bottom-features-banner {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pillar-box,
.feature-item {
  min-width: 0;
}

/* SERVICIOS: dos columnas */
.cards-grid-custom {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card-custom {
  min-width: 0;
}

.card-body-custom {
  min-width: 0;
}

.card-list-custom {
  min-width: 0;
}

/* FOOTER: cuatro columnas cuando el ancho lo permite */
.footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-col {
  min-width: 0;
}

/* PORTADA RUBROS: escala proporcional sin cambiar su estructura */
.hero-rubros {
  height: clamp(560px, calc(100vh - 80px), 760px);
  min-height: 560px;
}

.hero-copy {
  width: clamp(300px, 29vw, 360px);
}

.hero-visual {
  width: clamp(320px, 35vw, 480px);
  height: clamp(320px, 35vw, 480px);
}

.side-rubros {
  width: clamp(160px, 15vw, 190px);
}

/* GRILLAS DE CATÁLOGO: nunca se convierten automáticamente en una sola
   columna. Se reducen de 3 a 2 solo cuando realmente no entran. */
.cards-grid,
.food-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  min-width: 0;
}

.card-content {
  min-width: 0;
}

.card-footer,
.card-footer-info {
  min-width: 0;
}

.footer-item,
.info-item {
  min-width: 0;
}

/* BARRAS DE RUBROS / SUBCATEGORÍAS */
.rubros-bar-container {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.subcategorias-wrapper {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.subcategorias-wrapper-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rubro-item,
.subcat-card {
  min-width: 0;
}

.rubro-text,
.subcat-text {
  min-width: 0;
}

/* PORTADAS DE CATEGORÍAS */
.hero-categoria-comida,
.hero-categoria-tecnologia,
.hero-categoria-belleza,
.hero-categoria-hoteleria,
.hero-categoria-indumentaria,
.hero-categoria-ferreteria,
.hero-categoria-hotel-plaza {
  width: 100%;
  background-size: cover;
  background-position: center center;
}

/* TABLET */
@media (max-width: 1100px) {
  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .btn-talk {
    padding: 9px 15px;
  }

  .pillars-banner,
  .bottom-features-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rubros-bar-container,
  .subcategorias-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .subcategorias-wrapper-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards-grid,
  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-rubros {
    min-height: 600px;
  }

  .hero-copy {
    left: 4%;
  }

  .side-rubros {
    right: 3%;
  }
}

/* TABLET PEQUEÑA / MÓVIL HORIZONTAL
   Se conserva la composición de varias columnas. */
@media (max-width: 820px) and (min-width: 561px) {
  .navbar {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .logo-img {
    height: 34px;
  }

  .logo-text {
    display: none;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .btn-talk {
    padding: 8px 12px;
    font-size: 10px;
  }

  .hero-main {
    min-height: 680px;
    padding-top: 105px;
  }

  .hero-title {
    font-size: clamp(30px, 5vw, 42px);
  }

  .hero-rubros {
    min-height: 600px;
    height: 600px;
  }

  .hero-copy {
    width: 300px;
    left: 3%;
    padding: 24px 20px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 5vw, 48px);
  }

  .hero-visual {
    width: 330px;
    height: 330px;
  }

  .side-rubros {
    width: 155px;
    right: 2%;
  }

  .rubric {
    height: 46px;
  }

  .rubric-image {
    width: 50px;
    height: 40px;
  }

  .cards-grid,
  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MÓVIL: mantiene la identidad y las tarjetas lado a lado cuando entran.
   No fuerza todo a una columna. */
@media (max-width: 560px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .navbar {
    position: fixed;
    padding: 9px 12px;
  }

  .nav-container {
    gap: 8px;
  }

  .logo-img {
    height: 30px;
  }

  .logo-text {
    display: none;
  }

  .nav-links {
    flex: 1 1 auto;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 13px;
    padding: 2px 0 5px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    font-size: 10px;
    letter-spacing: .7px;
  }

  .btn-talk {
    padding: 7px 10px;
    font-size: 9px;
  }

  .hero-main {
    min-height: 620px;
    padding: 100px 18px 30px;
  }

  .hero-title {
    font-size: clamp(29px, 8vw, 38px);
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-actions {
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero-actions a {
    flex: 0 0 auto;
    padding: 11px 17px;
    font-size: 10px;
  }

  .stats-row {
    gap: 20px;
    overflow-x: auto;
  }

  .tech-icons {
    gap: 8px;
    overflow-x: auto;
  }

  .pillars-banner,
  .bottom-features-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
  }

  .pillar-box,
  .feature-item {
    gap: 8px;
  }

  .pillar-box i {
    font-size: 18px;
    padding: 9px;
  }

  .pillar-box h4,
  .feature-item h4 {
    font-size: 10px;
  }

  .pillar-box span,
  .feature-item p {
    font-size: 9px;
  }

  .cards-grid-custom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .service-card-custom {
    padding: 16px;
    border-radius: 16px;
  }

  .card-header-custom {
    gap: 9px;
    margin-bottom: 14px;
  }

  .card-circle-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 15px;
  }

  .card-title-group h3 {
    font-size: 12px;
  }

  .card-title-group p,
  .card-list-custom li {
    font-size: 10px;
  }

  .card-body-custom {
    gap: 10px;
  }

  .card-mockup-wrapper {
    width: 76px;
    height: 76px;
    min-width: 76px;
  }

  .mockup-icon {
    font-size: 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .footer-col h4 {
    font-size: 10px;
  }

  .footer-desc,
  .footer-links li,
  .footer-contact li {
    font-size: 10px;
  }

  /* Rubros: conserva la composición en una sola pantalla */
  .hero-rubros {
    height: auto;
    min-height: 620px;
    padding-top: 65px;
  }

  .hero-copy {
    position: absolute;
    left: 3%;
    top: 7%;
    transform: none;
    width: 55%;
    padding: 18px 16px;
    border-radius: 18px;
  }

  .hero-copy .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .hero-copy h1 {
    font-size: clamp(27px, 8vw, 38px);
    letter-spacing: -1px;
  }

  .hero-copy .description {
    font-size: 11px;
    margin-bottom: 13px;
  }

  .hero-copy .cta {
    min-width: 0;
    padding: 9px 13px;
    font-size: 9px;
  }

  .dots {
    margin-top: 14px;
  }

  .hero-visual {
    position: absolute;
    left: 52%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(55vw, 270px);
    height: min(55vw, 270px);
    margin: 0;
  }

  .side-rubros {
    position: absolute;
    right: 2%;
    top: 27%;
    transform: none;
    width: 40%;
    gap: 6px;
  }

  .rubric {
    height: 40px;
    padding: 0 7px;
    gap: 5px;
  }

  .rubric-image {
    width: 38px;
    height: 34px;
  }

  .rubric small {
    font-size: 8px;
  }

  .rubric i {
    display: none;
  }

  .rubros-bar-container,
  .subcategorias-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 11px;
  }

  .subcategorias-wrapper-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .rubro-icon-box,
  .subcat-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 14px;
  }

  .rubro-text h3,
  .subcat-title {
    font-size: 10px;
  }

  .rubro-text p,
  .subcat-subtitle {
    font-size: 8px;
  }

  /* Catálogos: 2 columnas en móvil para conservar el estilo */
  .cards-grid,
  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
  }

  .card {
    height: 330px;
    border-radius: 17px;
    padding: 16px 12px 11px;
  }

  .card h2 {
    font-size: 15px;
  }

  .card-desc {
    font-size: 9px;
    max-width: 100%;
  }

  .card-btn {
    padding: 7px 11px;
    font-size: 9px;
  }

  .product-img {
    width: 70%;
    height: 62%;
  }

  .footer-item,
  .info-item {
    font-size: 7px;
  }

  /* Portadas de categorías */
  .hero-categoria-comida,
  .hero-categoria-tecnologia,
  .hero-categoria-belleza,
  .hero-categoria-hoteleria,
  .hero-categoria-indumentaria,
  .hero-categoria-ferreteria,
  .hero-categoria-hotel-plaza {
    height: auto;
    min-height: 520px;
    margin-top: 58px;
    background-size: cover;
    background-position: center center;
  }

  .hero-comida-content {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 100px;
    padding-bottom: 30px;
  }

  .btn-volver-rubros {
    padding: 10px 18px;
    font-size: 11px;
  }

  .banner-promo-container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* MÓVILES MUY ESTRECHOS: 360px y menos.
   Se conserva la grilla de 2 columnas, reduciendo tamaños internos. */
@media (max-width: 380px) {
  .cards-grid,
  .food-grid,
  .cards-grid-custom {
    gap: 7px;
  }

  .card {
    height: 305px;
    padding: 13px 9px 9px;
  }

  .card h2 {
    font-size: 13px;
  }

  .card-desc {
    font-size: 8px;
  }

  .card-btn {
    padding: 6px 8px;
    font-size: 8px;
  }

  .hero-copy {
    width: 58%;
  }

  .hero-visual {
    width: 50vw;
    height: 50vw;
  }

  .side-rubros {
    width: 39%;
  }

  .rubric {
    height: 35px;
  }

  .rubric-image {
    width: 30px;
    height: 28px;
  }

  .rubric small {
    font-size: 7px;
  }
}

/* COMPATIBILIDAD CON NAVEGADORES SIN aspect-ratio */
@supports not (aspect-ratio: 1 / 1) {
  .banner-promo {
    height: 33.333vw;
    min-height: 200px;
    max-height: 420px;
  }

  @media (max-width: 768px) {
    .banner-promo {
      height: 56.25vw;
    }
  }
}

/* SAFARI / iOS */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .navbar,
  .hero-copy,
  .rubric,
  .card-badge {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

/* PANTALLAS TÁCTILES: el diseño no depende de hover */
@media (hover: none) and (pointer: coarse) {
  .card:hover,
  .service-card-custom:hover,
  .rubric:hover,
  .subcat-card:hover {
    transform: none;
  }

  .card:hover .card-full-bg,
  .card:hover .product-img,
  .service-card-custom:hover .card-mockup-wrapper,
  .service-card-custom:hover .card-image {
    transform: none;
  }
}



/* ==========================================================================
   AJUSTE RESPONSIVE FINAL — CONSERVA LA COMPOSICIÓN ORIGINAL
   --------------------------------------------------------------------------
   Estas reglas se agregan AL FINAL para anular los @media anteriores.
   No elimina clases, HTML, portadas, textos ni contenido.
   Objetivo:
   - mantener varias columnas también en pantallas pequeñas;
   - evitar que las grillas se conviertan automáticamente en 1 columna;
   - conservar la composición horizontal de navbar, pilares, tarjetas y footer;
   - reducir tamaños/espacios de forma proporcional;
   - evitar deformación de imágenes.
   ========================================================================== */

/* BASE FLUIDA Y COMPATIBILIDAD */
html {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

img {
  height: auto;
}

/* Los elementos de texto no deben romper las columnas */
h1, h2, h3, h4, h5, h6,
p, span, a, li, button {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

/* CONTENEDORES: aprovechan el ancho sin generar desbordamiento */
.container,
.nav-container,
.banner-promo-container,
.subcategorias-container,
.cards-grid,
.food-grid,
.banner-imagen-container {
  width: 100%;
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   NAVBAR
   Mantiene una sola línea. Si el ancho no alcanza, los enlaces se desplazan
   horizontalmente en vez de pasar uno debajo del otro.
   -------------------------------------------------------------------------- */

.navbar {
  width: 100%;
  padding-left: clamp(10px, 4vw, 60px);
  padding-right: clamp(10px, 4vw, 60px);
}

.nav-container {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap !important;
  justify-content: space-between;
  align-items: center;
  gap: clamp(8px, 2vw, 25px);
}

.brand-logo {
  flex: 0 0 auto;
}

.nav-links {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap !important;
  gap: clamp(12px, 2.5vw, 35px);
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.btn-talk {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   HERO PRINCIPAL
   -------------------------------------------------------------------------- */

.hero-main {
  min-height: clamp(620px, 100vh, 900px);
  padding-left: clamp(18px, 6vw, 80px);
  padding-right: clamp(18px, 6vw, 80px);
}

.hero-content {
  width: min(650px, 100%);
}

.hero-title {
  font-size: clamp(34px, 5vw, 54px);
}

.hero-description {
  width: min(520px, 100%);
}

.hero-actions,
.stats-row,
.tech-icons {
  flex-wrap: nowrap;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   PILARES — 4 EN FILA
   -------------------------------------------------------------------------- */

.pillars-banner-section {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.pillars-banner {
  width: max(100%, 760px);
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(10px, 2vw, 20px);
  padding: clamp(16px, 3vw, 30px);
}

.pillar-box {
  min-width: 0;
}

.pillar-box h4,
.pillar-box span {
  overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   TARJETAS DE SERVICIOS — 2 EN FILA
   -------------------------------------------------------------------------- */

.services-section {
  width: 100%;
}

.cards-grid-custom {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(12px, 2vw, 25px);
}

.service-card-custom {
  min-width: 0;
  padding: clamp(16px, 2.5vw, 30px);
}

.card-body-custom {
  min-width: 0;
}

.card-list-custom {
  min-width: 0;
}

.card-mockup-wrapper {
  flex: 0 0 clamp(76px, 10vw, 125px);
  width: clamp(76px, 10vw, 125px);
  height: clamp(76px, 10vw, 125px);
}

/* --------------------------------------------------------------------------
   BANNER DE BENEFICIOS — 4 EN FILA
   -------------------------------------------------------------------------- */

.bottom-features-banner {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(8px, 2vw, 20px);
  padding: clamp(14px, 2.5vw, 25px);
}

.feature-item {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   FOOTER — CONSERVA SUS 4 COLUMNAS
   -------------------------------------------------------------------------- */

.site-footer {
  width: 100%;
}

.footer-grid {
  grid-template-columns: minmax(180px, 1.2fr) repeat(3, minmax(130px, 1fr)) !important;
  gap: clamp(16px, 3vw, 40px);
}

.footer-col {
  min-width: 0;
}

.footer-links li,
.footer-contact li {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   BARRAS DE RUBROS — 6 EN FILA
   -------------------------------------------------------------------------- */

.rubros-bar-section {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.rubros-bar-container {
  width: max(100%, 760px);
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: clamp(8px, 1.5vw, 16px);
  padding: clamp(10px, 2vw, 16px) clamp(12px, 2.5vw, 24px);
}

.rubro-item {
  min-width: 0;
}

.rubro-text {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   SUBCATEGORÍAS — 6 EN FILA
   -------------------------------------------------------------------------- */

.subcategorias-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.subcategorias-wrapper {
  width: max(100%, 760px);
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: clamp(8px, 1.5vw, 12px);
}

.subcategorias-wrapper-5 {
  width: max(100%, 720px);
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: clamp(8px, 1.5vw, 15px);
}

.subcat-card {
  min-width: 0;
}

.subcat-text {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   CATÁLOGOS — 3 EN ESCRITORIO, 2 EN MÓVIL
   Nunca se fuerza una columna.
   -------------------------------------------------------------------------- */

.cards-grid,
.food-grid {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(10px, 2vw, 25px);
}

.card,
.food-card {
  min-width: 0;
  width: 100%;
}

.card-full-bg,
.food-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card-content,
.card-footer,
.card-footer-info {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   BARRAS DE INFORMACIÓN — 5 EN FILA
   -------------------------------------------------------------------------- */

.info-bar-section {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.info-bar-container {
  width: max(100%, 720px);
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: clamp(8px, 1.5vw, 15px);
}

.info-bar-item {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   GRILLAS ESPECIALES
   -------------------------------------------------------------------------- */

.before-after-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.initial-cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.initial-cards-grid-2x2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.initial-cards-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.before-after-card,
.before-after-img {
  min-width: 0;
  max-width: 100%;
}

.before-after-img {
  height: auto;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   PORTADAS / HERO DE RUBROS
   Se mantiene la composición horizontal y se escala sin deformar.
   -------------------------------------------------------------------------- */

.hero-rubros {
  width: 100%;
  min-height: clamp(560px, 80vh, 760px);
  height: clamp(560px, calc(100vh - 80px), 760px);
  overflow: hidden;
}

.hero-copy {
  width: clamp(280px, 32vw, 360px);
}

.hero-visual {
  width: clamp(280px, 38vw, 480px);
  height: clamp(280px, 38vw, 480px);
}

#heroImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.side-rubros {
  width: clamp(160px, 16vw, 190px);
}

.rubric {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   PORTADAS DE CATEGORÍAS
   La imagen siempre conserva su proporción. El fondo puede recortar bordes,
   pero nunca estira/deforma la portada.
   -------------------------------------------------------------------------- */

.hero-categoria-comida,
.hero-categoria-tecnologia,
.hero-categoria-belleza,
.hero-categoria-hoteleria,
.hero-categoria-indumentaria,
.hero-categoria-ferreteria,
.hero-categoria-hotel-plaza,
.hero-categoria-burger-peak,
.hero-categoria-cabanas-el-eden,
.hero-categoria-custom-barber,
.hero-categoria-divas-nails,
.hero-categoria-fix-tech,
.hero-categoria-pc-store,
.hero-categoria-pizza-lab,
.hero-categoria-studio-glow,
.hero-categoria-sushi-zen,
.hero-categoria-tecno-cell {
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

/* --------------------------------------------------------------------------
   BANNERS
   -------------------------------------------------------------------------- */

.banner-promo-container,
.banner-imagen-container {
  width: 100%;
  max-width: 1250px;
}

.banner-imagen-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.banner-promo {
  width: 100%;
  overflow: hidden;
}

/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 900px) {

  .container {
    padding-left: clamp(12px, 3vw, 30px);
    padding-right: clamp(12px, 3vw, 30px);
  }

  .hero-title {
    font-size: clamp(32px, 6vw, 46px);
  }

  .pillars-banner {
    width: max(100%, 700px);
  }

  .cards-grid-custom {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cards-grid,
  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .footer-grid {
    grid-template-columns: repeat(4, minmax(120px, 1fr)) !important;
    gap: 18px;
  }

  .bottom-features-banner {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .initial-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .initial-cards-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .hero-copy {
    width: clamp(250px, 38vw, 340px);
  }

  .hero-visual {
    width: clamp(250px, 42vw, 400px);
    height: clamp(250px, 42vw, 400px);
  }
}

/* ==========================================================================
   MÓVIL — CONSERVA LAS COLUMNAS, REDUCE SOLO TAMAÑOS Y ESPACIOS
   ========================================================================== */

@media (max-width: 600px) {

  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Navbar: una sola línea */
  .navbar {
    padding: 8px 10px;
  }

  .nav-container {
    flex-wrap: nowrap !important;
  }

  .logo-img {
    height: clamp(26px, 8vw, 34px);
  }

  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: 10px;
    letter-spacing: 0.8px;
  }

  .btn-talk {
    padding: 8px 12px;
    font-size: 9px;
  }

  /* Hero principal */
  .hero-main {
    min-height: 650px;
    padding: 105px 16px 35px;
  }

  .hero-title {
    font-size: clamp(30px, 9vw, 40px);
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions a {
    padding: 11px 15px;
    font-size: 10px;
  }

  /* Pilares: siguen siendo 4 */
  .pillars-banner-section {
    padding: 20px 0;
  }

  .pillars-banner {
    width: max(100%, 650px);
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px;
    padding: 14px;
  }

  .pillar-box {
    gap: 7px;
  }

  .pillar-box i {
    font-size: 17px;
    padding: 8px;
  }

  .pillar-box h4 {
    font-size: 10px;
  }

  .pillar-box span {
    font-size: 8px;
  }

  /* Servicios: 2 tarjetas */
  .cards-grid-custom {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .service-card-custom {
    padding: 14px;
    border-radius: 15px;
  }

  .card-header-custom {
    gap: 8px;
    margin-bottom: 12px;
  }

  .card-circle-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 15px;
  }

  .card-title-group h3 {
    font-size: 11px;
  }

  .card-title-group p,
  .card-list-custom li {
    font-size: 9px;
  }

  .card-body-custom {
    gap: 8px;
  }

  .card-mockup-wrapper {
    width: 68px;
    height: 68px;
    min-width: 68px;
  }

  .mockup-icon {
    font-size: 27px;
  }

  /* Beneficios: 4 columnas */
  .bottom-features-banner {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px;
    padding: 12px;
  }

  .feature-item {
    gap: 5px;
  }

  .feature-item i {
    font-size: 15px;
  }

  .feature-item h4 {
    font-size: 8px;
  }

  .feature-item p {
    font-size: 7px;
  }

  /* Footer: conserva las 4 columnas */
  .site-footer {
    overflow-x: auto;
  }

  .footer-grid {
    width: max(100%, 650px);
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px;
    margin-bottom: 25px;
  }

  .footer-col h4 {
    font-size: 9px;
    margin-bottom: 10px;
  }

  .footer-desc,
  .footer-links li,
  .footer-contact li {
    font-size: 8px;
  }

  .footer-socials a {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  /* Catálogos: 2 tarjetas lado a lado */
  .cards-grid,
  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px;
    padding: 8px;
  }

  .card {
    height: clamp(300px, 82vw, 360px);
    border-radius: 16px;
    padding: 13px 10px 10px;
  }

  .card h2 {
    font-size: clamp(13px, 4vw, 17px);
  }

  .card-desc {
    font-size: 8.5px;
  }

  .card-btn {
    padding: 6px 9px;
    font-size: 8.5px;
  }

  .product-img {
    width: 70%;
    height: 62%;
    object-fit: contain;
  }

  .footer-item,
  .info-item {
    font-size: 7px;
  }

  /* Rubros: 6 siguen en la misma fila */
  .rubros-bar-container {
    width: max(100%, 650px);
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 7px;
    padding: 9px;
  }

  .rubro-icon-box,
  .subcat-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 12px;
  }

  .rubro-text h3,
  .subcat-title {
    font-size: 9px;
  }

  .rubro-text p,
  .subcat-subtitle {
    font-size: 7px;
  }

  /* Subcategorías */
  .subcategorias-wrapper {
    width: max(100%, 650px);
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 7px;
    padding: 9px;
  }

  .subcategorias-wrapper-5 {
    width: max(100%, 600px);
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 7px;
    padding: 9px;
  }

  /* Barras de información */
  .info-bar-container {
    width: max(100%, 600px);
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 7px;
    padding: 12px;
  }

  .info-bar-item {
    font-size: 9px;
    gap: 5px;
  }

  .info-bar-item i {
    font-size: 13px;
  }

  /* Grillas especiales */
  .before-after-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .initial-cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .initial-cards-grid-2x2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .initial-cards-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px;
  }

  /* Portada de rubros: conserva sus tres zonas */
  .hero-rubros {
    min-height: 560px;
    height: 560px;
  }

  .hero-copy {
    left: 3%;
    top: 7%;
    width: 50%;
    padding: 14px 12px;
    border-radius: 15px;
  }

  .hero-copy h1 {
    font-size: clamp(24px, 7vw, 34px);
  }

  .hero-copy .description {
    font-size: 9px;
  }

  .hero-copy .cta {
    padding: 8px 10px;
    font-size: 8px;
  }

  .hero-visual {
    left: 52%;
    top: 52%;
    width: min(48vw, 250px);
    height: min(48vw, 250px);
  }

  .side-rubros {
    right: 1.5%;
    top: 27%;
    width: 37%;
  }

  .rubric {
    height: 37px;
    padding: 0 6px;
    gap: 4px;
  }

  .rubric-image {
    width: 34px;
    height: 30px;
  }

  .rubric small {
    font-size: 7px;
  }

  /* Portadas de categorías: proporción estable */
  .hero-categoria-comida,
  .hero-categoria-tecnologia,
  .hero-categoria-belleza,
  .hero-categoria-hoteleria,
  .hero-categoria-indumentaria,
  .hero-categoria-ferreteria,
  .hero-categoria-hotel-plaza,
  .hero-categoria-burger-peak,
  .hero-categoria-cabanas-el-eden,
  .hero-categoria-custom-barber,
  .hero-categoria-divas-nails,
  .hero-categoria-fix-tech,
  .hero-categoria-pc-store,
  .hero-categoria-pizza-lab,
  .hero-categoria-studio-glow,
  .hero-categoria-sushi-zen,
  .hero-categoria-tecno-cell {
    min-height: clamp(420px, 115vw, 600px);
    height: auto;
    background-size: cover;
    background-position: center center;
  }

  .hero-comida-content {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: clamp(80px, 20vw, 120px);
  }

  .btn-volver-rubros {
    padding: 9px 14px;
    font-size: 10px;
  }

  .banner-promo-container {
    padding-left: 8px;
    padding-right: 8px;
  }

  /* Imágenes: jamás se estiran */
  .banner-imagen-img,
  .food-img,
  .card-full-bg,
  .before-after-img,
  .subcat-img,
  .subcat-img-card img {
    max-width: 100%;
  }
}

/* MÓVILES MUY PEQUEÑOS: se mantienen las columnas, solo se compactan */
@media (max-width: 380px) {

  .nav-links a {
    font-size: 9px;
  }

  .btn-talk {
    padding: 7px 9px;
    font-size: 8px;
  }

  .pillars-banner {
    width: max(100%, 610px);
    gap: 6px;
    padding: 10px;
  }

  .pillar-box i {
    font-size: 14px;
    padding: 6px;
  }

  .pillar-box h4 {
    font-size: 8px;
  }

  .pillar-box span {
    font-size: 7px;
  }

  .cards-grid,
  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px;
  }

  .card {
    height: 295px;
    padding: 11px 8px 8px;
  }

  .card h2 {
    font-size: 12px;
  }

  .card-desc {
    font-size: 7.5px;
  }

  .card-btn {
    padding: 5px 7px;
    font-size: 7.5px;
  }

  .footer-grid {
    width: max(100%, 610px);
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .bottom-features-banner {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 5px;
  }

  .rubros-bar-container {
    width: max(100%, 610px);
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }

  .subcategorias-wrapper {
    width: max(100%, 610px);
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }

  .subcategorias-wrapper-5 {
    width: max(100%, 560px);
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  .info-bar-container {
    width: max(100%, 560px);
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  .initial-cards-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* --------------------------------------------------------------------------
   FALLBACKS PARA NAVEGADORES ANTIGUOS
   -------------------------------------------------------------------------- */

@supports not (display: grid) {
  .pillars-banner,
  .bottom-features-banner,
  .cards-grid,
  .food-grid,
  .footer-grid,
  .rubros-bar-container,
  .subcategorias-wrapper,
  .subcategorias-wrapper-5,
  .info-bar-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .pillars-banner > *,
  .bottom-features-banner > * {
    flex: 0 0 24%;
  }

  .cards-grid > *,
  .food-grid > * {
    flex: 0 0 48%;
  }

  .footer-grid > * {
    flex: 0 0 24%;
  }
}

/* --------------------------------------------------------------------------
   SAFARI / iOS
   -------------------------------------------------------------------------- */

.navbar,
.hero-copy,
.rubric,
.card-badge {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* --------------------------------------------------------------------------
   PANTALLAS TÁCTILES
   -------------------------------------------------------------------------- */

@media (hover: none) and (pointer: coarse) {
  .card:hover,
  .service-card-custom:hover,
  .rubric:hover,
  .subcat-card:hover,
  .banner-imagen-link:hover {
    transform: none;
  }

  .card:hover .card-full-bg,
  .card:hover .product-img,
  .service-card-custom:hover .card-mockup-wrapper,
  .service-card-custom:hover .card-image {
    transform: none;
  }
}

/* ================================================================
   RESPONSIVE FINAL — MANTIENE LA COMPOSICIÓN EN COLUMNAS
   ================================================================ */

/* PC: tarjetas principales en 3 columnas */
.cards-grid,
.food-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* Tablet y celular: 2 columnas, nunca lista vertical */
@media (max-width: 1024px) {
  .cards-grid,
  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .subcategorias-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .cards-grid,
  .food-grid,
  .cards-grid-custom {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .subcategorias-wrapper,
  .subcategorias-wrapper-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .footer-grid,
  .bottom-features-banner,
  .pillars-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* Evita que el contenido interno fuerce una columna */
  .card-body-custom {
    flex-direction: row !important;
    align-items: center !important;
  }

  /* Las imágenes conservan proporción */
  .card img,
  .service-card-custom img,
  .subcat-card img,
  .food-card img {
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
  }
}

/* Celulares muy angostos: se mantienen 2 columnas */
@media (max-width: 380px) {
  .cards-grid,
  .food-grid,
  .cards-grid-custom,
  .subcategorias-wrapper,
  .subcategorias-wrapper-5,
  .footer-grid,
  .bottom-features-banner,
  .pillars-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ==========================================================================\n   PORTADA DINÁMICA — AJUSTE RESPONSIVE FINAL\n   Prioridad: celular -> tablet -> PC, sin alterar el diseño de escritorio.\n   ========================================================================== */\n\nhtml {\n  overflow-x: hidden;\n}\n\nbody {\n  overflow-x: hidden;\n}\n\n.mobile-menu-btn {\n  display: none;\n  width: 44px;\n  height: 44px;\n  flex: 0 0 44px;\n  border: 0;\n  border-radius: 12px;\n  background: rgba(108, 56, 204, 0.08);\n  cursor: pointer;\n  padding: 9px;\n  align-items: center;\n  justify-content: center;\n  flex-direction: column;\n  gap: 5px;\n  -webkit-tap-highlight-color: transparent;\n}\n\n.mobile-menu-btn span {\n  display: block;\n  width: 22px;\n  height: 2px;\n  border-radius: 99px;\n  background: var(--violeta-principal, #6c38cc);\n  transition: transform .25s ease, opacity .2s ease;\n}\n\n.mobile-menu-btn.is-open span:nth-child(1) {\n  transform: translateY(7px) rotate(45deg);\n}\n\n.mobile-menu-btn.is-open span:nth-child(2) {\n  opacity: 0;\n}\n\n.mobile-menu-btn.is-open span:nth-child(3) {\n  transform: translateY(-7px) rotate(-45deg);\n}\n\n.hero-rubros {\n  touch-action: pan-y;\n}\n\n/* --------------------------------------------------------------------------\n   TABLET: 768–1024 px\n   -------------------------------------------------------------------------- */\n@media (min-width: 768px) and (max-width: 1024px) {\n  .hero-rubros {\n    min-height: 600px;\n    height: clamp(600px, calc(100vh - 96px), 700px);\n    padding-top: 0;\n  }\n\n  .hero-copy {\n    left: clamp(20px, 4vw, 45px);\n    width: clamp(270px, 31vw, 330px);\n    padding: 26px 22px;\n  }\n\n  .hero-copy .eyebrow {\n    font-size: 12px;\n    letter-spacing: 2px;\n  }\n\n  .hero-copy h1 {\n    font-size: clamp(36px, 5.5vw, 52px);\n  }\n\n  .hero-copy .description {\n    font-size: 13px;\n    margin-bottom: 20px;\n  }\n\n  .hero-visual {\n    left: 52%;\n    width: clamp(300px, 40vw, 410px);\n    height: clamp(300px, 40vw, 410px);\n  }\n\n  .side-rubros {\n    right: clamp(12px, 2.5vw, 28px);\n    width: clamp(145px, 17vw, 175px);\n    gap: 8px;\n  }\n\n  .rubric {\n    height: 48px;\n    padding: 0 8px;\n    gap: 7px;\n  }\n\n  .rubric-image {\n    width: 50px;\n    height: 38px;\n  }\n\n  .rubric small {\n    font-size: 9px;\n  }\n\n  .rubric i {\n    font-size: 19px;\n  }\n}\n\n/* --------------------------------------------------------------------------\n   CELULAR: hasta 767 px\n   La portada pasa a flujo vertical real: texto -> imagen -> rubros.\n   -------------------------------------------------------------------------- */\n@media (max-width: 767px) {\n  .navbar {\n    position: relative !important;\n    z-index: 1000;\n    width: 100%;\n    padding: 9px 12px !important;\n  }\n\n  .nav-container {\n    width: 100%;\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    flex-wrap: nowrap !important;\n    gap: 8px;\n  }\n\n  .brand-logo {\n    min-width: 0;\n    margin-right: auto;\n  }\n\n  .logo-img {\n    height: 32px !important;\n    width: auto;\n  }\n\n  .logo-text {\n    display: none !important;\n  }\n\n  .mobile-menu-btn {\n    display: inline-flex;\n  }\n\n  .nav-right {\n    display: none !important;\n  }\n\n  .nav-links {\n    position: absolute;\n    top: calc(100% + 6px);\n    left: 10px;\n    right: 10px;\n    width: auto !important;\n    max-height: 0;\n    overflow: hidden;\n    opacity: 0;\n    visibility: hidden;\n    transform: translateY(-8px);\n    display: flex !important;\n    flex-direction: column !important;\n    align-items: stretch !important;\n    gap: 4px !important;\n    padding: 0 !important;\n    border-radius: 16px;\n    background: rgba(255,255,255,.97);\n    box-shadow: 0 18px 40px rgba(25,38,63,.14);\n    border: 1px solid rgba(108,56,204,.10);\n    transition: max-height .25s ease, opacity .2s ease, transform .25s ease, padding .25s ease;\n    z-index: 1001;\n  }\n\n  .nav-links.show {\n    max-height: 220px;\n    opacity: 1;\n    visibility: visible;\n    transform: translateY(0);\n    padding: 8px !important;\n  }\n\n  .nav-links a {\n    width: 100%;\n    min-height: 44px;\n    display: flex;\n    align-items: center;\n    padding: 0 14px;\n    border-radius: 10px;\n    font-size: 11px !important;\n    letter-spacing: 1px !important;\n    white-space: nowrap;\n  }\n\n  .nav-links a:hover,\n  .nav-links a.active {\n    background: rgba(108,56,204,.08);\n  }\n\n  /* HERO */\n  .hero-rubros {\n    min-height: 0 !important;\n    height: auto !important;\n    max-height: none !important;\n    padding: 18px 12px 22px !important;\n    display: grid;\n    grid-template-columns: 1fr;\n    grid-template-areas:\n      "copy"\n      "visual"\n      "rubros";\n    align-content: start;\n    gap: 4px;\n    overflow: hidden;\n    background-position: center center;\n  }\n\n  .hero-copy {\n    grid-area: copy;\n    position: relative !important;\n    left: auto !important;\n    top: auto !important;\n    transform: none !important;\n    width: 100% !important;\n    max-width: none !important;\n    margin: 0 auto;\n    padding: 20px 18px 18px !important;\n    border-radius: 20px;\n    box-sizing: border-box;\n  }\n\n  .hero-copy .eyebrow {\n    font-size: 10px !important;\n    letter-spacing: 1.8px !important;\n    margin-bottom: 6px;\n  }\n\n  .hero-copy h1 {\n    font-size: clamp(34px, 10vw, 48px) !important;\n    line-height: .98;\n    letter-spacing: -1.5px;\n    margin-bottom: 10px;\n  }\n\n  .hero-copy .description {\n    max-width: none !important;\n    font-size: 12px !important;\n    line-height: 1.45;\n    margin-bottom: 15px;\n  }\n\n  .hero-copy .cta {\n    width: 100%;\n    min-width: 0;\n    min-height: 46px;\n    box-sizing: border-box;\n    justify-content: space-between;\n    padding: 10px 14px;\n    font-size: 10px;\n  }\n\n  .hero-copy .cta .arrow {\n    font-size: 18px;\n  }\n\n  .dots {\n    margin-top: 16px;\n    gap: 9px;\n  }\n\n  .dots .dot {\n    width: 8px;\n    height: 8px;\n    padding: 0;\n  }\n\n  .hero-visual {\n    grid-area: visual;\n    position: relative !important;\n    left: auto !important;\n    top: auto !important;\n    transform: none !important;\n    width: min(72vw, 300px) !important;\n    height: min(72vw, 300px) !important;\n    margin: 4px auto 8px;\n  }\n\n  #heroImage {\n    width: 100%;\n    height: 100%;\n    max-width: 100%;\n    max-height: 100%;\n  }\n\n  .side-rubros {\n    grid-area: rubros;\n    position: relative !important;\n    right: auto !important;\n    top: auto !important;\n    transform: none !important;\n    width: 100% !important;\n    margin: 4px auto 0;\n    display: grid !important;\n    grid-template-columns: repeat(2, minmax(0, 1fr));\n    gap: 8px;\n  }\n\n  .rubric {\n    min-width: 0;\n    height: 52px;\n    padding: 0 8px;\n    gap: 6px;\n    border-radius: 12px;\n    transform: none !important;\n    box-shadow: 0 5px 14px rgba(29,43,69,.08);\n  }\n\n  .rubric > * {\n    transform: none !important;\n  }\n\n  .rubric:hover {\n    transform: none !important;\n  }\n\n  .rubric-image {\n    width: 42px;\n    height: 36px;\n    flex: 0 0 42px;\n  }\n\n  .rubric small {\n    min-width: 0;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    font-size: 9px;\n  }\n\n  .rubric i {\n    display: none;\n  }\n\n  .progress-ring {\n    display: none !important;\n  }\n\n  /* Evita que barras secundarias provoquen scroll horizontal en celular. */\n  .rubros-bar-container,\n  .subcategorias-wrapper,\n  .subcategorias-wrapper-5 {\n    width: 100% !important;\n    max-width: 100% !important;\n    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;\n  }\n}\n\n/* Celulares pequeños: conserva dos columnas, pero reduce un poco los bloques. */\n@media (max-width: 380px) {\n  .hero-rubros {\n    padding-left: 9px !important;\n    padding-right: 9px !important;\n  }\n\n  .hero-copy {\n    padding: 17px 14px 15px !important;\n  }\n\n  .hero-copy h1 {\n    font-size: clamp(31px, 10vw, 42px) !important;\n  }\n\n  .hero-copy .description {\n    font-size: 11px !important;\n  }\n\n  .hero-visual {\n    width: min(68vw, 250px) !important;\n    height: min(68vw, 250px) !important;\n  }\n\n  .side-rubros {\n    gap: 6px;\n  }\n\n  .rubric {\n    height: 48px;\n    padding: 0 6px;\n  }\n\n  .rubric-image {\n    width: 36px;\n    height: 32px;\n    flex-basis: 36px;\n  }\n\n  .rubric small {\n    font-size: 8px;\n  }\n}\n\n/* Respeta usuarios que prefieren menos movimiento. */\n@media (prefers-reduced-motion: reduce) {\n  .hero-rubros *,\n  .mobile-menu-btn span,\n  .nav-links {\n    transition-duration: .01ms !important;\n    animation-duration: .01ms !important;\n  }\n}\nCSS

# Validate files and show sizes
ls -lh /mnt/data/rubro_corregido/rubro.html /mnt/data/rubro_corregido/style_responsive_final_edit.css

/* ============================================================================
   PORTADA DINÁMICA DE RUBRO — RESPONSIVE EXCLUSIVO DE LA PORTADA
   --------------------------------------------------------------------------
   IMPORTANTE: estas reglas solo afectan .hero-rubros y sus elementos hijos.
   El resto del documento 1 permanece sin modificaciones.
   ============================================================================ */

/* TABLET: mantiene la composición original, ajustando escala y espacios */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-rubros {
    min-height: 600px !important;
    height: clamp(600px, calc(100vh - 96px), 700px) !important;
    padding-top: 0 !important;
    overflow: hidden !important;
  }

  .hero-rubros .hero-copy {
    left: clamp(20px, 4vw, 45px) !important;
    width: clamp(270px, 31vw, 330px) !important;
    padding: 26px 22px !important;
    box-sizing: border-box !important;
  }

  .hero-rubros .hero-copy .eyebrow {
    font-size: 12px !important;
    letter-spacing: 2px !important;
  }

  .hero-rubros .hero-copy h1 {
    font-size: clamp(36px, 5.5vw, 52px) !important;
  }

  .hero-rubros .hero-copy .description {
    font-size: 13px !important;
    margin-bottom: 20px !important;
  }

  .hero-rubros .hero-visual {
    left: 52% !important;
    width: clamp(300px, 40vw, 410px) !important;
    height: clamp(300px, 40vw, 410px) !important;
  }

  .hero-rubros .side-rubros {
    right: clamp(12px, 2.5vw, 28px) !important;
    width: clamp(145px, 17vw, 175px) !important;
    gap: 8px !important;
  }

  .hero-rubros .rubric {
    height: 48px !important;
    padding: 0 8px !important;
    gap: 7px !important;
    box-sizing: border-box !important;
  }

  .hero-rubros .rubric-image {
    width: 50px !important;
    height: 38px !important;
  }

  .hero-rubros .rubric small {
    font-size: 9px !important;
  }

  .hero-rubros .rubric i {
    font-size: 19px !important;
  }
}

/* CELULAR: texto → producto → rubros en 2 columnas */
@media (max-width: 767px) {
  .hero-rubros {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 16px 10px 20px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "copy"
      "visual"
      "rubros" !important;
    align-content: start !important;
    gap: 4px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    background-position: center center !important;
  }

  .hero-rubros .hero-copy {
    grid-area: copy !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 19px 17px 17px !important;
    border-radius: 19px !important;
    box-sizing: border-box !important;
  }

  .hero-rubros .hero-copy .eyebrow {
    font-size: 10px !important;
    letter-spacing: 1.7px !important;
    margin-bottom: 6px !important;
  }

  .hero-rubros .hero-copy h1 {
    font-size: clamp(33px, 9.8vw, 47px) !important;
    line-height: .98 !important;
    letter-spacing: -1.4px !important;
    margin-bottom: 10px !important;
  }

  .hero-rubros .hero-copy .description {
    max-width: 100% !important;
    font-size: 12px !important;
    line-height: 1.42 !important;
    margin-bottom: 14px !important;
  }

  .hero-rubros .hero-copy .cta {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 45px !important;
    padding: 10px 13px !important;
    box-sizing: border-box !important;
    font-size: 10px !important;
  }

  .hero-rubros .hero-copy .cta .arrow {
    font-size: 18px !important;
  }

  .hero-rubros .dots {
    margin-top: 14px !important;
    gap: 8px !important;
  }

  .hero-rubros .dots .dot {
    width: 8px !important;
    height: 8px !important;
    padding: 0 !important;
  }

  .hero-rubros .hero-visual {
    grid-area: visual !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: min(70vw, 285px) !important;
    height: min(70vw, 285px) !important;
    margin: 2px auto 6px !important;
  }

  .hero-rubros #heroImage {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }

  .hero-rubros .side-rubros {
    grid-area: rubros !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    margin: 4px auto 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .hero-rubros .rubric {
    min-width: 0 !important;
    width: 100% !important;
    height: 50px !important;
    padding: 0 8px !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  .hero-rubros .rubric-image {
    width: 42px !important;
    height: 36px !important;
    flex: 0 0 42px !important;
  }

  .hero-rubros .rubric small {
    min-width: 0 !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .hero-rubros .rubric i {
    display: none !important;
  }

  .hero-rubros .progress-ring {
    display: none !important;
  }
}

/* CELULARES PEQUEÑOS: solo compacta la portada */
@media (max-width: 380px) {
  .hero-rubros {
    padding: 13px 9px 17px !important;
  }

  .hero-rubros .hero-copy {
    padding: 17px 14px 15px !important;
    border-radius: 18px !important;
  }

  .hero-rubros .hero-copy h1 {
    font-size: clamp(30px, 9.8vw, 40px) !important;
  }

  .hero-rubros .hero-copy .description {
    font-size: 11px !important;
  }

  .hero-rubros .hero-visual {
    width: min(66vw, 255px) !important;
    height: min(66vw, 255px) !important;
  }

  .hero-rubros .side-rubros {
    gap: 6px !important;
  }

  .hero-rubros .rubric {
    height: 47px !important;
    padding: 0 6px !important;
    gap: 5px !important;
  }

  .hero-rubros .rubric-image {
    width: 38px !important;
    height: 33px !important;
    flex-basis: 38px !important;
  }

  .hero-rubros .rubric small {
    font-size: 8px !important;
  }
}

/* ============================================================================
   AJUSTE FINAL — SOLO BARRA DE RUBROS Y FOOTER EN CELULAR
   Basado en la composición mostrada: 2 columnas x 3 filas para rubros y
   footer en 2 columnas. No modifica tarjetas ni el resto del sitio.
   ============================================================================ */

@media (max-width: 767px) {
  /* ------------------------------------------------------------------------
     BARRA DE RUBROS — 2 COLUMNAS x 3 FILAS
     ------------------------------------------------------------------------ */
  .rubros-bar-section {
    width: 100% !important;
    padding: 16px 12px 18px !important;
    background: #f4f6fc !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .rubros-bar-container {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 16px !important;
    padding: 12px 10px !important;
    background: #ffffff !important;
    border-radius: 22px !important;
    border: 1px solid rgba(108, 56, 204, 0.08) !important;
    box-shadow: 0 8px 24px rgba(108, 56, 204, 0.06) !important;
    box-sizing: border-box !important;
  }

  .rubro-item {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .rubro-icon-box {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 13px !important;
    background: #f2ebfe !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .rubro-icon-box i {
    font-size: 18px !important;
    color: #6c38cc !important;
  }

  .rubro-text {
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .rubro-text h3 {
    margin: 0 !important;
    color: #171b26 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .rubro-text p {
    margin: 3px 0 0 !important;
    color: #737987 !important;
    font-size: 8px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  /* ------------------------------------------------------------------------
     FOOTER — MISMA COMPOSICIÓN DE LA CAPTURA
     Fila 1: Marca | Mapa del sitio
     Fila 2: Rubros populares | Institucional
     Fila 3: copyright a todo el ancho
     ------------------------------------------------------------------------ */
  .site-footer {
    width: 100% !important;
    padding: 38px 12px 22px !important;
    background: #ffffff !important;
    border-top: 1px solid #6c38cc !important;
    box-sizing: border-box !important;
  }

  .site-footer > .container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .footer-grid {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-areas:
      "brand map"
      "popular institutional" !important;
    gap: 34px 22px !important;
    margin: 0 0 34px !important;
    box-sizing: border-box !important;
  }

  .footer-col {
    min-width: 0 !important;
  }

  .footer-col.brand-col {
    grid-area: brand !important;
  }

  .footer-col:nth-child(2) {
    grid-area: map !important;
  }

  .footer-col:nth-child(3) {
    grid-area: popular !important;
  }

  .footer-col:nth-child(4) {
    grid-area: institutional !important;
  }

  .footer-logo {
    margin-bottom: 12px !important;
  }

  .footer-desc {
    margin: 10px 0 18px !important;
    font-size: 9px !important;
    line-height: 1.55 !important;
  }

  .footer-socials {
    gap: 10px !important;
  }

  .footer-socials a {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
  }

  .footer-col h4 {
    margin: 0 0 16px !important;
    font-size: 10px !important;
    letter-spacing: 1.5px !important;
    line-height: 1.2 !important;
  }

  .footer-links li,
  .footer-contact li {
    margin-bottom: 12px !important;
    font-size: 8px !important;
    line-height: 1.45 !important;
    gap: 7px !important;
    align-items: flex-start !important;
  }

  .footer-links a {
    font-size: 8px !important;
    line-height: 1.45 !important;
    gap: 7px !important;
  }

  .footer-links a i {
    flex: 0 0 auto;
    font-size: 9px !important;
    margin-top: 2px;
  }

  .footer-contact li i {
    flex: 0 0 14px;
    width: 14px !important;
    font-size: 10px !important;
    margin-top: 2px;
  }

  .footer-bottom {
    width: 100% !important;
    margin: 0 !important;
    padding: 25px 4px 0 !important;
    border-top: 1px solid #6c38cc !important;
    box-sizing: border-box !important;
  }

  .footer-bottom p {
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
  }
}

/* Teléfonos muy pequeños: conserva las 2 columnas sin desbordamiento. */
@media (max-width: 380px) {
  .rubros-bar-section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .rubros-bar-container {
    gap: 10px 9px !important;
    padding: 11px 8px !important;
  }

  .rubro-item {
    gap: 7px !important;
  }

  .rubro-icon-box {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  .rubro-icon-box i {
    font-size: 16px !important;
  }

  .rubro-text h3 {
    font-size: 10px !important;
  }

  .rubro-text p {
    font-size: 7px !important;
  }

  .site-footer {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .footer-grid {
    column-gap: 14px !important;
  }

  .footer-col h4 {
    font-size: 9px !important;
  }

  .footer-links li,
  .footer-contact li,
  .footer-links a {
    font-size: 7.5px !important;
  }

  .footer-bottom p {
    font-size: 9px !important;
  }
}

/* ============================================================================
   NAV MOBILE — AJUSTE FINAL SEGÚN REFERENCIA
   Solo modifica la barra de navegación en celular.
   Logo + botón arriba / INICIO + RUBROS + CONTACTO centrados abajo.
   ============================================================================ */
@media (max-width: 767px) {
  .navbar {
    position: relative !important;
    width: 100% !important;
    padding: 10px 14px 0 !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-sizing: border-box !important;
  }

  .nav-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
  }

  /* Primera fila: logo y botón */
  .brand-logo {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 auto 7px 0 !important;
    min-width: 0 !important;
  }

  .logo-img {
    height: 35px !important;
    width: auto !important;
  }

  .logo-text {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.05 !important;
  }

  .logo-top {
    font-size: 11px !important;
    letter-spacing: .3px !important;
  }

  .logo-bottom {
    font-size: 12px !important;
    letter-spacing: .7px !important;
  }

  .nav-right {
    display: flex !important;
    align-items: center !important;
    margin: 0 0 7px auto !important;
  }

  .btn-talk {
    padding: 8px 14px !important;
    min-height: 34px !important;
    font-size: 9px !important;
    letter-spacing: .8px !important;
    gap: 7px !important;
    white-space: nowrap !important;
  }

  .dot-violet {
    width: 5px !important;
    height: 5px !important;
  }

  /* Segunda fila: los tres botones siempre visibles y centrados */
  .nav-links,
  .nav-links.show {
    position: static !important;
    order: 3 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 22px !important;
    padding: 7px 0 10px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .nav-links a,
  .nav-links a:hover,
  .nav-links a.active {
    width: auto !important;
    min-height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 2px 5px !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1.2px !important;
    white-space: nowrap !important;
  }

  .nav-links a.active {
    border-bottom: 2px solid var(--violeta-principal) !important;
    color: var(--violeta-principal) !important;
  }

  .nav-links a:hover {
    color: var(--violeta-principal) !important;
  }

  /* Ya no necesitamos botón hamburguesa para esta versión */
  .mobile-menu-btn {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .navbar {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .logo-img {
    height: 32px !important;
  }

  .logo-top {
    font-size: 10px !important;
  }

  .logo-bottom {
    font-size: 11px !important;
  }

  .btn-talk {
    padding: 7px 11px !important;
    font-size: 8px !important;
  }

  .nav-links,
  .nav-links.show {
    gap: 16px !important;
  }

  .nav-links a,
  .nav-links a:hover,
  .nav-links a.active {
    font-size: 11px !important;
    letter-spacing: 1px !important;
  }
}

/* ============================================================================
   AJUSTE FINAL — SOLO CUERPO DE CATEGORÍA COMIDA
   No modifica NAV ni FOOTER.
   ============================================================================ */

/* Tablet */
@media (min-width: 768px) and (max-width: 1100px) {
  .subcategorias-container {
    padding: 0 18px !important;
    margin-top: 14px !important;
  }

  .subcategorias-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  .subcat-card {
    min-width: 0 !important;
    padding: 9px 10px !important;
    gap: 9px !important;
  }

  .subcat-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    font-size: 16px !important;
  }

  .subcat-title {
    font-size: 12px !important;
  }

  .subcat-subtitle {
    font-size: 9px !important;
  }

  .comida-section {
    padding: 18px 0 50px !important;
  }

  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    padding: 0 18px !important;
  }

  .card-img-wrapper {
    height: 360px !important;
  }

  .card-overlay {
    padding: 20px !important;
  }

  .card-header-text .sub-title {
    font-size: 18px !important;
  }

  .card-header-text .main-title {
    font-size: 32px !important;
  }

  .card-footer-info {
    gap: 8px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
}

/* Celular: subcategorías en una tira horizontal y comercios en 2 columnas. */
@media (max-width: 767px) {
  /* Solo el cuerpo: la navegación queda intacta. */
  .subcategorias-container {
    width: 100% !important;
    max-width: none !important;
    margin: 10px 0 0 !important;
    padding: 0 10px !important;
    overflow: hidden !important;
  }

  .subcategorias-wrapper {
    width: 100% !important;
    display: flex !important;
    grid-template-columns: none !important;
    gap: 8px !important;
    padding: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    border-radius: 16px !important;
  }

  .subcat-card {
    flex: 0 0 106px !important;
    width: 106px !important;
    min-width: 106px !important;
    min-height: 58px !important;
    padding: 8px 7px !important;
    gap: 7px !important;
    border-radius: 13px !important;
    scroll-snap-align: start;
  }

  .subcat-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
  }

  .subcat-text {
    min-width: 0 !important;
  }

  .subcat-title {
    font-size: 10px !important;
    line-height: 1.1 !important;
  }

  .subcat-subtitle {
    margin-top: 2px !important;
    font-size: 7.5px !important;
    line-height: 1.15 !important;
  }

  .comida-section {
    padding: 14px 0 40px !important;
    background: #ffffff !important;
  }

  .comida-section > .container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 10px !important;
  }

  .food-grid {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .food-card {
    width: 100% !important;
    min-width: 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 20px rgba(25, 38, 63, 0.12) !important;
  }

  .card-img-wrapper {
    width: 100% !important;
    height: clamp(285px, 78vw, 330px) !important;
  }

  .food-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .card-overlay {
    padding: 14px 11px !important;
  }

  .card-header-text .sub-title {
    font-size: clamp(12px, 3.8vw, 16px) !important;
    letter-spacing: 1px !important;
  }

  .card-header-text .main-title {
    font-size: clamp(24px, 7vw, 31px) !important;
    line-height: .95 !important;
    margin: 2px 0 5px !important;
  }

  .tagline {
    font-size: 7px !important;
    letter-spacing: 1px !important;
    line-height: 1.25 !important;
  }

  .btn-catalogo {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 8px 7px !important;
    gap: 5px !important;
    font-size: 8px !important;
    letter-spacing: .5px !important;
    border-radius: 18px !important;
  }

  .btn-catalogo i {
    font-size: 9px !important;
  }

  .card-footer-info {
    min-height: 46px !important;
    padding: 7px 7px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 3px !important;
    justify-content: stretch !important;
    align-items: start !important;
    font-size: 7px !important;
    line-height: 1.2 !important;
  }

  .info-item {
    min-width: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    gap: 4px !important;
  }

  .info-item i {
    flex: 0 0 auto;
  }
}

/* 360 px o menos: evita que el contenido quede apretado. */
@media (max-width: 380px) {
  .subcategorias-container {
    padding: 0 8px !important;
  }

  .subcategorias-wrapper {
    gap: 7px !important;
    padding: 7px !important;
  }

  .subcat-card {
    flex-basis: 100px !important;
    width: 100px !important;
    min-width: 100px !important;
    min-height: 55px !important;
    padding: 7px 6px !important;
  }

  .subcat-icon {
    width: 31px !important;
    height: 31px !important;
    min-width: 31px !important;
    font-size: 13px !important;
  }

  .subcat-title {
    font-size: 9px !important;
  }

  .subcat-subtitle {
    font-size: 7px !important;
  }

  .comida-section > .container {
    padding: 0 8px !important;
  }

  .food-grid {
    gap: 8px !important;
  }

  .card-img-wrapper {
    height: 295px !important;
  }

  .card-overlay {
    padding: 12px 9px !important;
  }

  .card-header-text .sub-title {
    font-size: 11px !important;
  }

  .card-header-text .main-title {
    font-size: 22px !important;
  }

  .tagline {
    font-size: 6.5px !important;
  }

  .btn-catalogo {
    padding: 7px 5px !important;
    font-size: 7px !important;
  }

  .card-footer-info {
    font-size: 6.5px !important;
  }
}

/* ============================================================================
   AJUSTE FINAL — PORTADA COMIDA
   Solo modifica la portada para que la imagen de fondo se vea COMPLETA.
   El NAV, subcategorías, tarjetas y FOOTER quedan sin cambios.
   ============================================================================ */

.hero-categoria-comida {
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #10083d !important;
}

@media (max-width: 768px) {
  .hero-categoria-comida {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1920 / 760 !important;
    margin-top: 0 !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #10083d !important;
    overflow: hidden !important;
  }

  .hero-comida-content {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 0 14px 14px !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .btn-volver-rubros {
    position: relative !important;
    z-index: 5 !important;
    margin: 0 auto !important;
    padding: 9px 24px !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
  }
}

@media (max-width: 480px) {
  .hero-categoria-comida {
    aspect-ratio: 1920 / 760 !important;
    margin-top: 80px !important;
  }

  .hero-comida-content {
    padding: 0 10px 10px !important;
  }

  .btn-volver-rubros {
    padding: 8px 22px !important;
    font-size: 10px !important;
    gap: 7px !important;
  }
}

/* ============================================================================
   SUBCATEGORÍAS DE COMIDA — SIN DESPLAZAMIENTO HORIZONTAL
   --------------------------------------------------------------------------
   En celular se muestran en 2 columnas x 3 filas.
   En tablet se muestran en 3 columnas x 2 filas.
   En PC se conserva la grilla original de 6 columnas.
   ============================================================================ */

@media (max-width: 900px) {
  .subcategorias-container {
    width: 100% !important;
    max-width: 1250px !important;
    margin: 12px auto 0 !important;
    padding: 0 12px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .subcategorias-wrapper {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding: 10px !important;
    overflow: visible !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
  }

  .subcat-card {
    width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    min-height: 62px !important;
    padding: 9px 8px !important;
    gap: 8px !important;
    border-radius: 13px !important;
    scroll-snap-align: none !important;
    box-sizing: border-box !important;
  }

  .subcat-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    font-size: 15px !important;
    border-radius: 10px !important;
  }

  .subcat-text {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .subcat-title,
  .subcat-subtitle {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .subcat-title {
    font-size: 10px !important;
    line-height: 1.15 !important;
  }

  .subcat-subtitle {
    font-size: 8px !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
  }
}

@media (max-width: 600px) {
  .subcategorias-container {
    margin-top: 10px !important;
    padding: 0 10px !important;
  }

  .subcategorias-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 9px !important;
    border-radius: 17px !important;
  }

  .subcat-card {
    min-height: 58px !important;
    padding: 8px 7px !important;
    gap: 7px !important;
  }

  .subcat-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
  }

  .subcat-title {
    font-size: 10px !important;
  }

  .subcat-subtitle {
    font-size: 7.5px !important;
  }
}

@media (max-width: 380px) {
  .subcategorias-container {
    padding: 0 8px !important;
  }

  .subcategorias-wrapper {
    gap: 7px !important;
    padding: 8px !important;
  }

  .subcat-card {
    min-height: 55px !important;
    padding: 7px 6px !important;
    gap: 6px !important;
  }

  .subcat-icon {
    width: 31px !important;
    height: 31px !important;
    min-width: 31px !important;
    font-size: 13px !important;
  }

  .subcat-title {
    font-size: 9px !important;
  }

  .subcat-subtitle {
    font-size: 7px !important;
  }
}

/* ============================================================================
   PORTADAS DE TODOS LOS RUBROS — ADAPTACIÓN DE IMAGEN DE FONDO
   ---------------------------------------------------------------------------
   Solo afecta las portadas de categoría. NAV, subcategorías, tarjetas y
   FOOTER quedan sin modificaciones.
   La imagen conserva su proporción y en móvil se muestra completa.
   ============================================================================ */

.hero-categoria-comida,
.hero-categoria-tecnologia,
.hero-categoria-belleza,
.hero-categoria-hoteleria,
.hero-categoria-indumentaria,
.hero-categoria-ferreteria {
  width: 100% !important;
  position: relative !important;
  background-repeat: no-repeat !important;
  background-color: #ffffff !important;
  background-position: center center !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Escritorio: aprovecha el espacio disponible sin deformar la portada. */
@media (min-width: 1025px) {
  .hero-categoria-comida,
  .hero-categoria-tecnologia,
  .hero-categoria-belleza,
  .hero-categoria-hoteleria,
  .hero-categoria-indumentaria,
  .hero-categoria-ferreteria {
    min-height: 680px !important;
    height: clamp(680px, calc(100vh - 80px), 760px) !important;
    background-size: cover !important;
    background-position: center center !important;
  }
}

/* Tablet: mantiene una portada amplia, centrada y sin deformación. */
@media (min-width: 601px) and (max-width: 1024px) {
  .hero-categoria-comida,
  .hero-categoria-tecnologia,
  .hero-categoria-belleza,
  .hero-categoria-hoteleria,
  .hero-categoria-indumentaria,
  .hero-categoria-ferreteria {
    min-height: 500px !important;
    height: clamp(500px, 78vw, 650px) !important;
    background-size: cover !important;
    background-position: center center !important;
  }
}

/* Celular: la imagen completa entra dentro de la portada.
   Se usa la proporción de las portadas originales (1920 × 760). */
@media (max-width: 600px) {
  .hero-categoria-comida,
  .hero-categoria-tecnologia,
  .hero-categoria-belleza,
  .hero-categoria-hoteleria,
  .hero-categoria-indumentaria,
  .hero-categoria-ferreteria {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1920 / 760 !important;
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    margin-top: 0 !important;
  }

  /* El espacio superior del NAV se conserva sin formar parte de la imagen. */
  .hero-categoria-comida,
  .hero-categoria-tecnologia,
  .hero-categoria-belleza,
  .hero-categoria-hoteleria,
  .hero-categoria-indumentaria,
  .hero-categoria-ferreteria {
    margin-top: 0 !important;
  }
}

/* Celulares muy pequeños: misma proporción, sin recortar los extremos. */
@media (max-width: 380px) {
  .hero-categoria-comida,
  .hero-categoria-tecnologia,
  .hero-categoria-belleza,
  .hero-categoria-hoteleria,
  .hero-categoria-indumentaria,
  .hero-categoria-ferreteria {
    aspect-ratio: 1920 / 760 !important;
    background-size: 100% 100% !important;
  }
}

/* ============================================================================
   CORRECCIÓN FINAL — SIN ESPACIO ENTRE NAV Y PORTADA
   Solo afecta las portadas de los rubros.
   ============================================================================ */
@media (max-width: 1024px) {
  .hero-categoria-comida,
  .hero-categoria-tecnologia,
  .hero-categoria-belleza,
  .hero-categoria-hoteleria,
  .hero-categoria-indumentaria,
  .hero-categoria-ferreteria {
    margin-top: 0 !important;
  }
}

/* ============================================================================
   AJUSTE DE TARJETAS — CONTENIDO MÁS COMPACTO
   Solo afecta las tarjetas de comercios del contenido.
   NAV, portada y FOOTER no se modifican.
   ============================================================================ */

@media (max-width: 767px) {
  .food-grid {
    align-items: start !important;
    gap: 12px !important;
  }

  .food-card {
    overflow: hidden !important;
    align-self: start !important;
  }

  /* La imagen ya no deja una zona vertical exagerada. */
  .card-img-wrapper {
    height: 285px !important;
    min-height: 0 !important;
  }

  .card-overlay {
    padding: 12px 10px 10px !important;
    gap: 0 !important;
  }

  .card-header-text {
    margin: 0 !important;
  }

  .card-header-text .sub-title {
    margin: 0 0 1px !important;
    line-height: 1 !important;
  }

  .card-header-text .main-title {
    margin: 1px 0 3px !important;
    line-height: .9 !important;
  }

  .tagline {
    margin: 0 0 7px !important;
    line-height: 1.15 !important;
  }

  .btn-catalogo {
    margin-top: 2px !important;
    min-height: 34px !important;
    padding: 7px 8px !important;
  }

  .card-footer-info {
    min-height: 0 !important;
    padding: 6px 7px !important;
    gap: 2px !important;
    margin: 0 !important;
  }

  .info-item {
    line-height: 1.1 !important;
  }
}

@media (max-width: 380px) {
  .food-grid {
    gap: 9px !important;
  }

  .card-img-wrapper {
    height: 270px !important;
  }

  .card-overlay {
    padding: 10px 8px 8px !important;
  }

  .card-header-text .main-title {
    margin-bottom: 2px !important;
  }

  .tagline {
    margin-bottom: 5px !important;
  }

  .btn-catalogo {
    min-height: 32px !important;
    padding: 6px !important;
  }

  .card-footer-info {
    padding: 5px 6px !important;
  }
}

/* ================================================================
   INFORMACIÓN DE TARJETA — TELÉFONO + UBICACIÓN / PEDIDO ABAJO
   ================================================================ */
.card-footer-info {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  justify-items: center !important;
  column-gap: 10px !important;
  row-gap: 6px !important;
}

.card-footer-info .info-item {
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  text-align: center !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

/* Teléfono y ubicación quedan en la misma línea */
.card-footer-info .info-item:nth-child(1),
.card-footer-info .info-item:nth-child(2) {
  grid-row: 1 !important;
}

/* Pedido queda debajo, centrado entre ambos */
.card-footer-info .info-item:nth-child(3) {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  width: auto !important;
  justify-self: center !important;
  white-space: nowrap !important;
}

@media (max-width: 600px) {
  .card-footer-info {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    column-gap: 5px !important;
    row-gap: 5px !important;
    padding: 7px 6px !important;
  }

  .card-footer-info .info-item {
    font-size: 8px !important;
    line-height: 1.15 !important;
    gap: 3px !important;
  }

  .card-footer-info .info-item i {
    flex: 0 0 auto !important;
    font-size: 9px !important;
  }

  .card-footer-info .info-item:nth-child(3) {
    font-size: 8px !important;
  }
}

@media (max-width: 380px) {
  .card-footer-info {
    column-gap: 3px !important;
    row-gap: 4px !important;
    padding: 6px 5px !important;
  }

  .card-footer-info .info-item {
    font-size: 7.5px !important;
  }

  .card-footer-info .info-item i {
    font-size: 8px !important;
  }
}

/* BOTÓN CATÁLOGO — CENTRADO EN LA TARJETA */
.btn-catalogo {
  align-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
  text-align: center !important;
}

/* ============================================================================
   PORTADAS DE EMPRENDIMIENTOS — IMAGEN DE FONDO COMPLETA
   La imagen se muestra completa dentro de la portada, sin recortes laterales.
   Solo afecta las portadas de los rubros.
   ============================================================================ */
.hero-categoria-comida,
.hero-categoria-tecnologia,
.hero-categoria-belleza,
.hero-categoria-hoteleria,
.hero-categoria-indumentaria,
.hero-categoria-ferreteria {
  background-size: 100% 100% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

@media (max-width: 1024px) {
  .hero-categoria-comida,
  .hero-categoria-tecnologia,
  .hero-categoria-belleza,
  .hero-categoria-hoteleria,
  .hero-categoria-indumentaria,
  .hero-categoria-ferreteria {
    background-size: 100% 100% !important;
    background-position: center center !important;
  }
}

/* ================================================================
   PORTADAS DE EMPRENDIMIENTOS — IMAGEN COMPLETA
   Pizza Lab, Burger Peak, Sushi Zen, Studio Glow y demás portadas
   ================================================================ */
.hero-categoria-pizza-lab,
.hero-categoria-burger-peak,
.hero-categoria-sushi-zen,
.hero-categoria-studio-glow,
.hero-categoria-pasta-nova,
.hero-categoria-dulce-trigo,
.hero-categoria-sweet-bloom,
.hero-categoria-hotel-plaza,
.hero-categoria-cabanas-el-eden,
.hero-categoria-custom-barber,
.hero-categoria-divas-nails,
.hero-categoria-fix-tech,
.hero-categoria-pc-store,
.hero-categoria-tecno-cell {
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #000000 !important;
}

/* En pantallas chicas se mantiene la imagen completa sin recortes */
@media (max-width: 768px) {
  .hero-categoria-pizza-lab,
  .hero-categoria-burger-peak,
  .hero-categoria-sushi-zen,
  .hero-categoria-studio-glow,
  .hero-categoria-pasta-nova,
  .hero-categoria-dulce-trigo,
  .hero-categoria-sweet-bloom,
  .hero-categoria-hotel-plaza,
  .hero-categoria-cabanas-el-eden,
  .hero-categoria-custom-barber,
  .hero-categoria-divas-nails,
  .hero-categoria-fix-tech,
  .hero-categoria-pc-store,
  .hero-categoria-tecno-cell {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    background-size: contain !important;
    background-position: center center !important;
  }
}

/* ============================================================================
   CORRECCIÓN FINAL — PORTADA PEGADA AL NAV
   Elimina cualquier espacio superior entre el NAV y todas las portadas,
   incluidas las portadas individuales de los emprendimientos.
   ============================================================================ */
.hero-categoria-comida,
.hero-categoria-tecnologia,
.hero-categoria-belleza,
.hero-categoria-hoteleria,
.hero-categoria-indumentaria,
.hero-categoria-ferreteria,
.hero-categoria-pizza-lab,
.hero-categoria-burger-peak,
.hero-categoria-sushi-zen,
.hero-categoria-studio-glow,
.hero-categoria-pasta-nova,
.hero-categoria-dulce-trigo,
.hero-categoria-sweet-bloom,
.hero-categoria-hotel-plaza,
.hero-categoria-cabanas-el-eden,
.hero-categoria-custom-barber,
.hero-categoria-divas-nails,
.hero-categoria-fix-tech,
.hero-categoria-pc-store,
.hero-categoria-tecno-cell {
  margin-top: 0 !important;
}



/* ============================================================================
   EMPRENDIMIENTOS — 5 TARJETAS: 3 ARRIBA + 2 CENTRADAS ABAJO
   ============================================================================ */

.initial-cards-grid,
.cards-grid,
.food-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  justify-content: center !important;
}

/* Si hay exactamente 5 tarjetas, las dos últimas ocupan la fila inferior
   y quedan centradas debajo de las tres primeras. */
.initial-cards-grid > :nth-child(4):last-child,
.initial-cards-grid > :nth-child(4):nth-last-child(2),
.cards-grid > :nth-child(4):last-child,
.cards-grid > :nth-child(4):nth-last-child(2),
.food-grid > :nth-child(4):last-child,
.food-grid > :nth-child(4):nth-last-child(2) {
  grid-column: auto !important;
}

/* Centra la segunda fila cuando hay 5 elementos */
.initial-cards-grid:has(> :nth-child(5):last-child),
.cards-grid:has(> :nth-child(5):last-child),
.food-grid:has(> :nth-child(5):last-child) {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.initial-cards-grid:has(> :nth-child(5):last-child) > :nth-child(-n+3),
.cards-grid:has(> :nth-child(5):last-child) > :nth-child(-n+3),
.food-grid:has(> :nth-child(5):last-child) > :nth-child(-n+3) {
  grid-column: span 2 !important;
}

.initial-cards-grid:has(> :nth-child(5):last-child) > :nth-child(4),
.cards-grid:has(> :nth-child(5):last-child) > :nth-child(4),
.food-grid:has(> :nth-child(5):last-child) > :nth-child(4) {
  grid-column: 2 / span 2 !important;
}

.initial-cards-grid:has(> :nth-child(5):last-child) > :nth-child(5),
.cards-grid:has(> :nth-child(5):last-child) > :nth-child(5),
.food-grid:has(> :nth-child(5):last-child) > :nth-child(5) {
  grid-column: 4 / span 2 !important;
}

/* En celular se mantienen 2 columnas para no achicar demasiado las tarjetas. */
@media (max-width: 600px) {
  .initial-cards-grid,
  .cards-grid,
  .food-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .initial-cards-grid:has(> :nth-child(5):last-child),
  .cards-grid:has(> :nth-child(5):last-child),
  .food-grid:has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .initial-cards-grid:has(> :nth-child(5):last-child) > :nth-child(-n+4),
  .cards-grid:has(> :nth-child(5):last-child) > :nth-child(-n+4),
  .food-grid:has(> :nth-child(5):last-child) > :nth-child(-n+4) {
    grid-column: span 2 !important;
  }

  .initial-cards-grid:has(> :nth-child(5):last-child) > :nth-child(5),
  .cards-grid:has(> :nth-child(5):last-child) > :nth-child(5),
  .food-grid:has(> :nth-child(5):last-child) > :nth-child(5) {
    grid-column: 2 / span 2 !important;
  }
}

/* ============================================================================
   AJUSTE RESPONSIVE — TARJETAS INICIALES DE BELLEZA
   --------------------------------------------------------------------------
   Se mantienen las clases existentes. En celulares las tarjetas ocupan
   todo el ancho disponible y la imagen conserva su proporción.
   ============================================================================ */

@media (max-width: 767px) {
  .initial-cards-grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    margin-top: 20px !important;
    margin-bottom: 30px !important;
    padding: 0 12px !important;
  }

  .initial-cards-grid > .clean-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .initial-cards-grid > .clean-card .card-img-wrapper {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 400 / 420 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .initial-cards-grid > .clean-card .food-img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .initial-cards-grid > .clean-card .centered-overlay,
  .initial-cards-grid > .clean-card .card-overlay.centered-overlay {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 10px 10px !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }

  .initial-cards-grid > .clean-card .btn-catalogo {
    width: min(92%, 360px) !important;
    max-width: 100% !important;
    min-height: 40px !important;
    padding: 10px 18px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 380px) {
  .initial-cards-grid {
    padding-left: 8px !important;
    padding-right: 8px !important;
    gap: 15px !important;
  }

  .initial-cards-grid > .clean-card .btn-catalogo {
    width: 90% !important;
    min-height: 38px !important;
    padding: 9px 12px !important;
    font-size: 10px !important;
  }
}
/* ==========================================================================
   PORTADA ESPECÍFICA POSADA DON LUIS
   ========================================================================== */

.hero-categoria-posada-don-luis {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  /* Reemplaza 'portada_posada_don_luis.png' por el nombre del archivo de la nueva portada */
  background-image: url('portada_posada_don_luis.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-posada-don-luis {
    height: 100%;
  }
}
/* ========================================================================
   PORTADA POSADA DON LUIS — ADAPTACIÓN MÓVIL
   Muestra la imagen de fondo completa, sin recortes
   ======================================================================== */
@media (max-width: 768px) {
  .hero-categoria-posada-don-luis {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9;
    margin-top: 80px;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #111111;
  }
}

@media (max-width: 480px) {
  .hero-categoria-posada-don-luis {
    aspect-ratio: 16 / 9;
    background-size: contain !important;
    background-position: center center !important;
  }
}

/* ========================================================================
   PORTADA POSADA DON LUIS — SIN SEPARACIÓN CON EL NAV
   ======================================================================== */
.hero-categoria-posada-don-luis {
  margin-top: 0 !important;
}
@import url("style.css"); /* Importa el archivo principal de estilos */

/* ==========================================================================
   PORTADA ESPECÍFICA URBAN STYLE
   ========================================================================== */

.hero-categoria-urban-style {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  /* Reemplaza 'portada_urban_style.png' con tu imagen de fondo */
  background-image: url('portada_urban_style.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-urban-style {
    height: 100%;
  }
}

/* ==========================================================================
   FILA DE 5 SUBCATEGORÍAS (IMÁGENES)
   ========================================================================== */

.subcategorias-wrapper-5 {
  background-color: #f7fbff;
  border-radius: 20px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.subcat-img-card {
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subcat-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.subcat-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}

@media (max-width: 992px) {
  .subcategorias-wrapper-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .subcategorias-wrapper-5 {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .subcat-img-card {
    min-width: 140px;
  }
}

/* ==========================================================================
   ALINEACIÓN DE BOTONES Y TARJETAS
   ========================================================================== */

.clean-card .card-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

.clean-card .card-overlay.centered-overlay,
.clean-card .centered-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding-bottom: 8px !important;
  background: transparent !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

.clean-card .centered-overlay .btn-catalogo {
  pointer-events: auto;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   BANNER EN IMAGEN DE URBAN STYLE
   ========================================================================== */

.banner-imagen-container {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.banner-imagen-link {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-imagen-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.banner-imagen-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
@import url("style.css"); /* Importa la hoja de estilos general */

/* ==========================================================================
   PORTADA ESPECÍFICA STEP & GO (CAMBIAR IMAGEN DE FONDO AQUÍ)
   ========================================================================== */

.hero-categoria-step-and-go {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  /* Reemplaza 'portada_step_and_go.png' por tu archivo de imagen para la portada */
  background-image: url('portada_step_and_go.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-step-and-go {
    height: 100%;
  }
}

/* ==========================================================================
   FILA DE 5 SUBCATEGORÍAS (SÓLO IMÁGENES)
   ========================================================================== */

.subcategorias-wrapper-5 {
  background-color: #f7fbff;
  border-radius: 20px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.subcat-img-card {
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subcat-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.subcat-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}

@media (max-width: 992px) {
  .subcategorias-wrapper-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .subcategorias-wrapper-5 {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .subcat-img-card {
    min-width: 140px;
  }
}

/* ==========================================================================
   ALINEACIÓN Y POSICIÓN DEL BOTÓN EN LAS TARJETAS
   ========================================================================== */

.clean-card .card-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

.clean-card .card-overlay.centered-overlay,
.clean-card .centered-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding-bottom: 8px !important;
  background: transparent !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

.clean-card .centered-overlay .btn-catalogo {
  pointer-events: auto;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}
@import url("style.css"); /* Importa la hoja de estilos base */

/* ==========================================================================
   PORTADA SPORT ACTIVE (CAMBIAR LA IMAGEN AQUÍ)
   ========================================================================== */

.hero-categoria-sport-active {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  /* Reemplaza 'portada_sport_active.png' por tu archivo de imagen para la portada */
  background-image: url('portada_sport_active.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-sport-active {
    height: 100%;
  }
}

/* ==========================================================================
   SUBCATEGORÍAS EN IMÁGENES (FILA DE 5)
   ========================================================================== */

.subcategorias-wrapper-5 {
  background-color: #f7fbff;
  border-radius: 20px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.subcat-img-card {
  display: block;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subcat-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.subcat-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}

@media (max-width: 992px) {
  .subcategorias-wrapper-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .subcategorias-wrapper-5 {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .subcat-img-card {
    min-width: 140px;
  }
}

/* ==========================================================================
   AJUSTES EN TARJETAS DE PRODUCTO Y BOTÓN
   ========================================================================== */

.clean-card .card-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

.clean-card .card-overlay.centered-overlay,
.clean-card .centered-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding-bottom: 8px !important;
  background: transparent !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

.clean-card .centered-overlay .btn-catalogo {
  pointer-events: auto;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   SECCIÓN CONTACTO / REDES SOCIALES
   ========================================================================== */

.contacto-comercio-section {
  padding: 30px 0 60px;
}

.contacto-comercio-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.contacto-comercio-card h3 {
  font-size: 1.3rem;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.contacto-comercio-card p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.contacto-comercio-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-contacto-comercio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.btn-contacto-comercio:hover {
  opacity: 0.9;
}

.btn-wsp {
  background-color: #25d366;
  color: #ffffff;
}

.btn-ig {
  background-color: #e1306c;
  color: #ffffff;
}
@import url("style.css");

/* ==========================================================================
   PORTADA FERRETERÍA CENTRAL
   ========================================================================== */

.hero-categoria-ferreteria-central {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  /* Reemplazar 'portada_ferreteria_central.png' con tu imagen de fondo deseada */
  background-image: url('portada_ferreteria_central.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-ferreteria-central {
    height: 100%;
  }
}

/* ==========================================================================
   FILA DE 4 SUBCATEGORÍAS CON ÍCONOS EN UNA SOLA FILA
   ========================================================================== */

.subcategorias-wrapper-4 {
  background-color: #f7fbff;
  border-radius: 20px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Fuerza 4 columnas iguales */
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  align-items: center;
}

/* Estilos internos para que cada tarjeta ocupe el espacio completo */
.subcat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #ffffff;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.subcat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Adaptabilidad a dispositivos móviles */
@media (max-width: 992px) {
  .subcategorias-wrapper-4 {
    display: flex;
    overflow-x: auto; /* Permite scroll horizontal si la pantalla es muy estrecha */
    white-space: nowrap;
    padding-bottom: 12px;
  }

  .subcat-card {
    min-width: 220px; /* Tamaño mínimo aceptable por tarjeta en móviles */
    flex-shrink: 0;
  }
}
@import url("style.css");

/* ==========================================================================
   PORTADA ESPECÍFICA PINTURAS EL SOL
   ========================================================================== */

.hero-categoria-pinturas-el-sol {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  /* Reemplaza 'portada_pinturas_el_sol.png' con tu imagen de fondo deseada */
  background-image: url('portada_pinturas_el_sol.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-categoria-pinturas-el-sol {
    height: 100%;
  }
}

/* ==========================================================================
   SUBCATEGORÍAS EN 4 COLUMNAS
   ========================================================================== */

.subcategorias-wrapper-4 {
  background-color: #f7fbff;
  border-radius: 20px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
  .subcategorias-wrapper-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .subcategorias-wrapper-4 {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .subcat-card {
    min-width: 200px;
  }
}

/* ==========================================================================
   SECCIÓN DE 2 DIVS / CARDS PROMO
   ========================================================================== */

.promo-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

.promo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  height: 280px;
}

.promo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%);
}

@media (max-width: 768px) {
  .promo-duo-grid {
    grid-template-columns: 1fr;
  }
  
  .promo-card {
    height: 220px;
  }
}

/* ==========================================================================
   ALINEACIÓN Y POSICIÓN DE LOS BOTONES
   ========================================================================== */

.clean-card .card-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

.clean-card .card-overlay.centered-overlay,
.clean-card .centered-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding-bottom: 8px !important;
  background: transparent !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

.clean-card .centered-overlay .btn-catalogo {
  pointer-events: auto;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   SECCIÓN CONTACTO Y CANALES
   ========================================================================== */

.contacto-comercio-section {
  margin-top: 40px;
}

.contacto-comercio-card {
  background: linear-gradient(135deg, #f7fbff 0%, #edf4ff 100%);
  border: 1px solid rgba(108, 56, 204, 0.15);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
}

.contacto-comercio-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 8px;
}

.contacto-comercio-card p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 20px;
}

.contacto-comercio-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-contacto-comercio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-wsp {
  background-color: #25d366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
}

.btn-contacto-comercio:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   SECCIÓN DE 2 DIVS PROMO (IMÁGENES CON BOTÓN PEDIR AHORA)
   ========================================================================== */

.promo-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 35px;
}

.promo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 260px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.promo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 15px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.6) 100%);
}

@media (max-width: 768px) {
  .promo-duo-grid {
    grid-template-columns: 1fr;
  }
  .promo-card {
    height: 200px;
  }
}

/* ==========================================================================
   ALINEACIÓN DEL BOTÓN EN LAS TARJETAS (ESTILO CLEAN-CARD)
   ========================================================================== */

.clean-card .card-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

.clean-card .card-overlay.centered-overlay,
.clean-card .centered-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding-bottom: 8px !important;
  background: transparent !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

.clean-card .centered-overlay .btn-catalogo {
  pointer-events: auto;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}
@import url("style.css");

/* PORTADA ELECTRO VOLT */
.hero-categoria-electro-volt {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  /* Reemplaza con tu imagen de portada para Electro Volt */
  background-image: url('portada_electro_volt.png'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

/* SUBCATEGORÍAS EN 4 COLUMNAS */
.subcategorias-wrapper-4 {
  background-color: #f7fbff;
  border-radius: 20px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* GRID DE 2 PROMOS CON BOTÓN PEDIR AHORA */
.promo-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 35px;
}

.promo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.promo-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.promo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 15px;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.6) 100%);
}

/* POSICIONAMIENTO Y ALINEACIÓN DE TARJETAS */
.clean-card .card-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

.clean-card .card-overlay.centered-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding-bottom: 12px !important;
  background: transparent !important;
  box-sizing: border-box !important;
  pointer-events: none;
}

.clean-card .centered-overlay .btn-catalogo {
  pointer-events: auto;
  margin: 0 !important;
  position: relative;
  z-index: 2;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .subcategorias-wrapper-4,
  .promo-duo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .subcategorias-wrapper-4,
  .promo-duo-grid {
    grid-template-columns: 1fr;
  }
  .hero-categoria-electro-volt {
    height: 100%;
  }
}


/* ==========================================================================
   AJUSTE RESPONSIVE FINAL — 5 TARJETAS DE SUBCATEGORÍAS
   Basado en este último style.css
   ========================================================================== */

/* ESCRITORIO: 5 tarjetas en una fila */
.subcategorias-wrapper-5 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
  box-sizing: border-box;
}

.subcategorias-wrapper-5 .subcat-img-card {
  width: 100%;
  min-width: 0;
  display: block;
  box-sizing: border-box;
}

.subcategorias-wrapper-5 .subcat-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


/* TABLET: 3 arriba + 2 abajo centradas */
@media (max-width: 992px) {
  .subcategorias-wrapper-5 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 15px;
  }

  .subcategorias-wrapper-5 .subcat-img-card:nth-child(1),
  .subcategorias-wrapper-5 .subcat-img-card:nth-child(2),
  .subcategorias-wrapper-5 .subcat-img-card:nth-child(3) {
    grid-column: span 2;
  }

  .subcategorias-wrapper-5 .subcat-img-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .subcategorias-wrapper-5 .subcat-img-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}


/* CELULAR: 3 arriba + 2 abajo centradas */
@media (max-width: 600px) {
  .subcategorias-wrapper-5 {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100%;
    padding: 12px 10px !important;
    overflow: visible !important;
    box-sizing: border-box;
  }

  .subcategorias-wrapper-5 .subcat-img-card {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .subcategorias-wrapper-5 .subcat-img-card:nth-child(1),
  .subcategorias-wrapper-5 .subcat-img-card:nth-child(2),
  .subcategorias-wrapper-5 .subcat-img-card:nth-child(3) {
    grid-column: span 2;
  }

  .subcategorias-wrapper-5 .subcat-img-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .subcategorias-wrapper-5 .subcat-img-card:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .subcategorias-wrapper-5 .subcat-img {
    width: 100% !important;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
}


/* CELULARES MUY PEQUEÑOS */
@media (max-width: 380px) {
  .subcategorias-wrapper-5 {
    gap: 8px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

/* AJUSTE: SECCION CONTACTO DEL COMERCIO */
.contacto-comercio-section {
  margin-top: 0 !important;
  padding-top: 10px !important;
  padding-bottom: 25px !important;
}

.contacto-comercio-card {
  margin-top: 0 !important;
}

@media (max-width: 600px) {
  .contacto-comercio-section {
    padding-top: 5px !important;
    padding-bottom: 20px !important;
  }
}



/* ==========================================================================
   PORTADAS DE COMERCIOS: MOSTRAR LA IMAGEN COMPLETA EN PC Y CELULAR
   No se recortan ni deforman las seis imágenes indicadas.
   ========================================================================== */

.hero-categoria-urban-style,
.hero-categoria-step-and-go,
.hero-categoria-sport-active,
.hero-categoria-ferreteria-central,
.hero-categoria-pinturas-el-sol,
.hero-categoria-electro-volt {
  width: 100% !important;
  height: clamp(240px, 52vw, 760px) !important;
  min-height: 0 !important;
  max-height: 760px !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #ffffff !important;
  box-sizing: border-box !important;
}

/* Evita que las reglas anteriores de celular vuelvan a recortar las portadas. */
@media (max-width: 768px) {
  .hero-categoria-urban-style,
  .hero-categoria-step-and-go,
  .hero-categoria-sport-active,
  .hero-categoria-ferreteria-central,
  .hero-categoria-pinturas-el-sol,
  .hero-categoria-electro-volt {
    width: 100% !important;
    height: clamp(210px, 58vw, 430px) !important;
    min-height: 0 !important;
    max-height: 430px !important;
    margin-top: 70px !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}

@media (max-width: 480px) {
  .hero-categoria-urban-style,
  .hero-categoria-step-and-go,
  .hero-categoria-sport-active,
  .hero-categoria-ferreteria-central,
  .hero-categoria-pinturas-el-sol,
  .hero-categoria-electro-volt {
    height: clamp(180px, 58vw, 300px) !important;
    margin-top: 64px !important;
  }
}
/* ==========================================================================
   PORTADA Y SECCIÓN DE BANNERS CÓMO FUNCIONA
   ========================================================================== */

.hero-categoria-como-funciona {
  width: 100%;
  height: 760px;
  margin-top: 80px;
  background-image: url('portada_como_funciona.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.como-funciona-main {
  padding: 40px 0 60px 0;
  background-color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE - PORTADA CÓMO FUNCIONA
   ========================================================================== */

@media (max-width: 768px) {
  .hero-categoria-como-funciona {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    margin-top: 70px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #05091f;
  }
}

@media (max-width: 480px) {
  .hero-categoria-como-funciona {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    margin-top: 64px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
  }
}

/* ==========================================================================
   RESPONSIVE - BANNERS DE LOS 3 PASOS
   ========================================================================== */

.banner-imagen-container {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.banner-imagen-link {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-imagen-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.banner-imagen-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 480px) {
  .banner-imagen-container {
    margin: 20px auto;
    padding: 0 8px;
  }

  .banner-imagen-link {
    border-radius: 8px;
  }

  .banner-imagen-img {
    width: 100%;
    height: auto;
  }
}
