**,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}


body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #111827;
  background-color: #f3f4f6;
}


img {
  max-width: 100%;
  display: block;
}


a {
  color: inherit;
  text-decoration: none;
}


ul {
  list-style: none;
}


.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(15, 23, 42, 0.92);
  color: #e5e7eb;
}


.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}


.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}


.logo__link {
  display: inline-flex;
  align-items: center;
}


.logo__image {
  height: 54px;
  width: auto;
  display: block;
}


.logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}


.logo__title {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  text-transform: uppercase;
}


.logo__subtitle {
  font-size: 0.68rem;
  color: #9ca3af;
  text-transform: none;
}


.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
}


.nav__link {
  position: relative;
  padding: 0.2rem 0;
  color: #d1d5db;
}


.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  transition: width 0.2s ease;
}


.nav__link:hover::after {
  width: 100%;
}


.nav__link--primary {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(249, 250, 251, 0.15);
  background: radial-gradient(circle at top left, #2563eb, #1e3a8a);
  color: #f9fafb;
  font-weight: 600;
}


.nav__link--primary::after {
  display: none;
}


.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.22rem;
  background: none;
  border: none;
  cursor: pointer;
}


.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 999px;
}

/* Autenticación (modal) */
.auth-actions { display:flex; gap:0.6rem; align-items:center; }

.auth-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2,6,23,0.6);
  z-index: 80;
}

.auth-modal[aria-hidden="false"] { display: flex; }

.auth-modal__dialog {
  background: linear-gradient(180deg,#071129,#081426);
  color: #eaf6ff;
  padding: 1.1rem;
  width: 360px;
  border-radius: 0.8rem;
  box-shadow: 0 20px 60px rgba(2,6,23,0.8);
  position: relative;
}

.auth-modal__close {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  background: transparent;
  border: none;
  color: #cfe6ff;
  font-size: 1rem;
  cursor: pointer;
}

.auth-modal input { width: 100%; margin-top: 0.3rem; }

.auth-modal label { font-size: 0.85rem; color: #9ec7ff; }

.auth-modal #toggle-register { font-size: 0.85rem; }


/* HERO */
.hero {
  padding: 1.75rem 0 1.25rem;
  background: #0f172a;
  color: #e5e7eb;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-search {
  background: #2563eb;
  padding: 1.35rem 0 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-search .ofertas-search {
  max-width: 720px;
  margin: 0 auto;
}

.hero-search .ofertas-search__wrapper {
  background: rgba(255, 255, 255, 0.96);
}

.hero-search .ofertas-search__input::placeholder {
  color: #6b7280;
}

.hero-search-results {
  max-width: 720px;
  margin: 0.75rem auto 0;
  display: none;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 1rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.hero-search-results--open {
  display: block;
}

.hero-search-result {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-search-result:first-child {
  border-top: none;
}

.hero-search-result__image {
  width: 68px;
  height: 52px;
  border-radius: 0.75rem;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.06);
}

.hero-search-result__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-search-result__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}

.hero-search-result__btn {
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.hero-search-result--empty {
  padding: 0.9rem 1rem;
  color: #374151;
  font-size: 0.9rem;
}

@media (max-width: 520px) {
  .hero-search-result {
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      'img title'
      'btn btn';
    align-items: start;
  }

  .hero-search-result__image { grid-area: img; width: 56px; height: 44px; }
  .hero-search-result__title { grid-area: title; }
  .hero-search-result__btn { grid-area: btn; width: 100%; justify-content: center; }
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 600px;
}

.hero__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}

.hero__logo-image {
  width: 100%;
  max-width: 600px;
  text-align: center;
}

.hero__logo-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero__logo-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  margin-bottom: 0;
}

.hero__logo-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}


.hero__title {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  color: #f9fafb;
}


.hero__subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: #9ca3af;
  margin: 0;
  letter-spacing: 0.05em;
}


.hero__brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  opacity: 0.7;
}


.hero__brand {
  font-size: 0.9rem;
  font-weight: 600;
  color: #d1d5db;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}


.hero__brand:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease,
    background-color 0.15s ease, color 0.15s ease;
  min-height: 44px;
  min-width: 44px;
}


.btn--primary {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #ffffff;
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.16);
}


.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.18);
}


.btn--outline {
  border: 1px solid rgba(156, 163, 175, 0.7);
  color: #e5e7eb;
  background: transparent;
}


.btn--outline:hover {
  background: rgba(31, 41, 55, 0.8);
}


.btn--light {
  background: #f3f4f6;
  color: #111827;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.4);
}


.hero__bullets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  font-size: 0.8rem;
}


.hero__bullets span {
  display: block;
}


.hero__badge {
  font-weight: 600;
  color: #fbbf24;
}


.hero__image {
  display: flex;
  justify-content: flex-end;
}


.hero-card {
  width: 100%;
  max-width: 360px;
  background: radial-gradient(circle at top left, #0f172a, #020617);
  border-radius: 1.5rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.85);
}


.hero-card__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}


.hero-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}


.hero-card__list {
  font-size: 0.85rem;
  color: #d1d5db;
  margin-bottom: 1.1rem;
}


.hero-card__list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.4rem;
}


.hero-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
}


.hero-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: #60a5fa;
}


.hero-card__cta::after {
  content: "→";
  font-size: 0.9rem;
}


/* SEPARADOR ENTRE SECCIONES */
.section-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2.5rem 0;
  background: #0f172a;
}

.section-separator__line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
  max-width: 200px;
}

.section-separator__icon {
  font-size: 1.5rem;
  color: #60a5fa;
  opacity: 0.9;
}

/* SECCIONES GENERALES */
.section {
  padding: 3.5rem 0;
  background: #f3f4f6;
}


.section--light {
  background: #ffffff;
}


.section--dark {
  background: radial-gradient(circle at top left, #111827, #020617);
  color: #e5e7eb;
}


.section-header {
  text-align: center;
  margin-bottom: 2rem;
}


.section-header--left {
  text-align: left;
}


.section-header h2 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}


.section-header p {
  max-width: 34rem;
  margin: 0 auto;
  font-size: 0.95rem;
  color: #6b7280;
}


.section--dark .section-header p {
  color: #9ca3af;
}


.grid {
  display: grid;
  gap: 1.5rem;
}


.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}


.card {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
}


.section--light .card {
  background: radial-gradient(circle at top left, #ffffff, #f9fafb);
}


.card__icon {
  width: 32px;
  height: 32px;
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
  font-size: 1rem;
}


.card__icon--green {
  background: rgba(16, 185, 129, 0.18);
}


.card__icon--blue {
  background: rgba(59, 130, 246, 0.2);
}


.card__icon--orange {
  background: rgba(96, 165, 250, 0.12);
}


/* Variante específica para la fila de servicios */
#servicios .card {
  border-top: 3px solid #2563eb;
  background: radial-gradient(circle at top left, #0f172a, #020617);
  color: #e5e7eb;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.7);
}


#servicios .card h3 {
  color: #f9fafb;
}


#servicios .card p {
  color: #d1d5db;
}


#servicios .card:nth-child(2) {
  border-top-color: #3b82f6;
}


#servicios .card:nth-child(3) {
  border-top-color: #22c55e;
}


#servicios .card__icon--green {
  background: rgba(37, 99, 235, 0.16);
}


#servicios .card__icon--blue {
  background: rgba(59, 130, 246, 0.25);
}


#servicios .card__icon--orange {
  background: rgba(96, 165, 250, 0.12);
}


.card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}


.card p {
  font-size: 0.9rem;
  color: #6b7280;
}


/* CHIPS / PRODUCTOS */
.chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.6rem;
  margin-bottom: 2rem;
}


.chip {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: #1e3a8a;
  border: 1px solid #1d4ed8;
  font-size: 0.85rem;
  color: #ffffff;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    background-color 0.12s ease, border-color 0.12s ease;
}


.chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.5);
  background: #1d4ed8;
  border-color: #3b82f6;
}


.chips--extra {
  display: none;
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}


.chips--extra.chips--visible {
  display: grid;
}


.productos__more-btn {
  font-size: 0.85rem;
  margin-bottom: 2rem;
}


/* BUSCADOR DE PRODUCTOS */
.productos__search {
  max-width: 520px;
  margin: 0 auto 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}


.productos__search label {
  font-size: 0.8rem;
  color: #4b5563;
}


.productos__search input {
  border-radius: 999px;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
  outline: none;
  background: #f9fafb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}


.productos__search input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12);
  background: #ffffff;
}


/* LISTA DETALLADA DE PRODUCTOS POR SECCIÓN */
.product-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}


.product-highlight-card {
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  background: radial-gradient(circle at top left, #0f172a, #020617);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.45);
}


.product-highlight-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}


.product-highlight-card p {
  font-size: 0.85rem;
  color: #9ca3af;
}


.productos__actions {
  display: flex;
  justify-content: center;
  margin-bottom: 1.2rem;
}


.productos__all-btn {
  font-size: 0.85rem;
  color: #111827;
  border-color: #2563eb;
  background: #ffffff;
}


.product-sections {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}


.product-sections--hidden {
  display: none;
}


.product-section {
  border-radius: 0.9rem;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}


.product-section__header {
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  background: linear-gradient(90deg, #0f172a, #1e293b);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}


.product-section__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f9fafb;
}


.product-section__emoji {
  font-size: 1.1rem;
}


.product-section__icon {
  font-size: 1rem;
  color: #e5e7eb;
}


.product-section__body {
  display: none;
  padding: 0.7rem 1rem 0.9rem;
  background: #f9fafb;
}


.product-section__body ul {
  list-style: disc;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: #4b5563;
}


.product-section__body li + li {
  margin-top: 0.2rem;
}


.product-section--open .product-section__body {
  display: block;
}


.product-section--open .product-section__icon {
  transform: rotate(45deg);
}


.product-section--open {
  border-color: #2563eb;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.12);
}


.product-section--open .product-section__header {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}


.product-section--open .product-section__title {
  color: #111827;
}

/* GRID DE PRODUCTOS DINÁMICOS DESDE GOOGLE SHEETS */
.productos-grid-container {
  margin-bottom: 2rem;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.productos-loading,
.productos-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: #6b7280;
  font-size: 0.95rem;
}

.producto-card {
  border-radius: 0.9rem;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.producto-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
  border-color: #2563eb;
}

.producto-card__nombre {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
  line-height: 1.4;
  word-wrap: break-word;
}

.producto-card__precio {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2563eb;
  margin: 0;
}

.producto-card__btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .productos-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
  }
  
  .producto-card {
    padding: 1.2rem;
  }
}


.product-section--open .product-section__icon {
  color: #111827;
}


@media (max-width: 960px) {
  .product-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 600px) {
  .product-highlight-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* SISTEMA */
.sistema {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: center;
}


.sistema__text h2 {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}


.sistema__text p {
  color: #9ca3af;
  margin-bottom: 1.2rem;
}


.sistema__list {
  font-size: 0.9rem;
  color: #d1d5db;
  margin-bottom: 1.5rem;
}


.sistema__list li {
  margin-bottom: 0.4rem;
}


.sistema__panel {
  background: radial-gradient(circle at top right, #1f2937, #020617);
  border-radius: 1.3rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.8);
  position: relative;
  overflow: hidden;
}


.sistema__tag {
  position: absolute;
  top: 1.2rem;
  right: 1.3rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
}


.sistema__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #e5e7eb;
}


.sistema__status {
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.25);
  color: #bbf7d0;
}


.sistema__body {
  font-size: 0.85rem;
  color: #e5e7eb;
  border-radius: 0.8rem;
  padding: 0.9rem 0.8rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(55, 65, 81, 0.8);
}


.sistema__row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(75, 85, 99, 0.6);
}


.sistema__row:last-child {
  border-bottom: none;
}


/* VIDEOS */
.videos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}


.video-card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}


.video-card__thumb {
  background: radial-gradient(circle at center, #2563eb, #1e3a8a);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.video-card__play {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.4);
}


.video-card h3 {
  font-size: 0.98rem;
  padding: 0.9rem 1rem 0.2rem;
}


.video-card p {
  font-size: 0.85rem;
  color: #6b7280;
  padding: 0 1rem 1rem;
}


.videos__cta {
  text-align: center;
  margin-top: 1.8rem;
}


.link {
  font-size: 0.9rem;
  color: #f97316;
}


.link:hover {
  text-decoration: underline;
}


/* CONTACTO */
.contacto {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 2.2rem;
  align-items: flex-start;
}


.contacto__list {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #4b5563;
}


.contacto__list li + li {
  margin-top: 0.3rem;
}


.contacto__map {
  margin-top: 1.2rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}


.contacto__map iframe {
  width: 100%;
  height: 320px;
  border: 0;
}


.form {
  background: #ffffff;
  border-radius: 1.2rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}


.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 0.9rem;
}


.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}


.form label {
  font-size: 0.8rem;
  color: #4b5563;
}


.form input,
.form textarea {
  border-radius: 0.7rem;
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  outline: none;
  background: #f9fafb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
  min-height: 44px;
}


.form input:focus,
.form textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12);
  background: #ffffff;
}


.form textarea {
  resize: vertical;
}


.form .btn {
  margin-top: 0.4rem;
}


/* FOOTER */
.footer {
  padding: 1.2rem 0;
  background: #020617;
  color: #6b7280;
  font-size: 0.8rem;
}


.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}


/* BURBUJA FLOTANTE CONTACTO */
.floating-bubble {
  position: fixed;
  right: 1.4rem;
  top: 50%;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: #25D366; /* WhatsApp green */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
  z-index: 40;
  cursor: pointer;
  transform: translateY(-50%);
}


.floating-bubble__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-bubble__icon img {
  width: 34px;
  height: 34px;
  display: block;
  filter: invert(1) sepia(0) saturate(0) brightness(1);
}


.floating-bubble::after {
  content: none;
}

/* Botón flotante de información (signo de interrogación) */
.info-bubble {
  position: fixed;
  left: 1.4rem;
  bottom: 1.4rem;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.5);
  z-index: 40;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-bubble:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.6);
}

.info-bubble__icon {
  font-size: 28px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-bubble__tooltip {
  position: absolute;
  left: 80px;
  bottom: 0;
  background: #1f2937;
  color: #f9fafb;
  padding: 1rem 1.2rem;
  border-radius: 0.75rem;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 280px;
  max-width: 360px;
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: normal;
}

.info-bubble.open .info-bubble__tooltip {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.info-bubble__tooltip p {
  margin: 0;
  font-weight: 500;
}

@media (max-width: 768px) {
  .info-bubble {
    left: 1rem;
    bottom: 1rem;
    width: 56px;
    height: 56px;
  }
  
  .info-bubble__icon {
    font-size: 24px;
  }
  
  .info-bubble__tooltip {
    left: 70px;
    min-width: 240px;
    max-width: 300px;
    font-size: 0.9rem;
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .info-bubble {
    width: 54px;
    height: 54px;
  }
  
  .info-bubble__tooltip {
    left: 65px;
    min-width: 200px;
    max-width: 260px;
    bottom: auto;
    top: 0;
  }
}

/* Burbuja flotante de aviso de login (similar a WhatsApp) */
.login-bubble {
  position: fixed;
  left: 12px;
  /* top set by JS to sit justo debajo del header; fallback */
  top: 72px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.6);
  z-index: 120;
  cursor: pointer;
  transform: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.login-bubble:hover { transform: scale(1.03); }

.login-bubble__icon { font-size: 20px; }

.login-bubble__tooltip {
  position: absolute;
  left: 68px;
  /* align vertically with bubble center */
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #ffffff;
  color: #111827;
  padding: 0.6rem 0.85rem;
  border-radius: 0.6rem;
  box-shadow: 0 12px 30px rgba(15,23,42,0.12);
  min-width: 220px;
  max-width: 320px;
  font-size: 0.95rem;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease, transform 220ms ease;
}

.login-bubble.open .login-bubble__tooltip {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

@media (max-width: 768px) {
  .login-bubble__tooltip { left: 60px; min-width: 180px; font-size: 0.9rem; }
  .login-bubble { top: 72px; }
}


@keyframes bubble-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.85);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
  }
}


@media (max-width: 480px) {
  .floating-bubble {
    width: 54px;
    height: 54px;
    right: 1rem;
    top: auto;
    bottom: 1rem;
    transform: none;
  }

/* Tira informativa para invitar a iniciar sesión (top-left) */
.login-strip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 120;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.login-strip__toggle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: #111827;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15,23,42,0.3);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.login-strip__panel {
  transform: translateX(-14px) scale(0.98);
  transition: all 240ms ease;
  background: #ffffff;
  color: #111827;
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
  min-width: 260px;
  max-width: 340px;
  display: none;
  align-items: center;
  gap: 0.6rem;
}
.login-strip.open .login-strip__panel {
  display: flex;
  transform: translateX(0) scale(1);
}
.login-strip__panel p { margin: 0; font-size: 0.95rem; line-height:1.2; }
.login-strip__close {
  margin-left: auto;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  color: #374151;
  cursor: pointer;
}
.login-strip__panel .btn { margin-left: 0.5rem; }

  .floating-bubble__icon {
    font-size: 1.6rem;
  }
}


/* RESPONSIVE */
@media (max-width: 960px) {
  .header__content {
    padding: 0.75rem 0;
  }

  .logo__image {
    height: 48px;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__logo-icon {
    width: 90px;
    height: 90px;
    font-size: 3.2rem;
  }

  .hero__brands {
    gap: 1rem;
  }

  .hero__brand {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  .grid--3,
  .products-grid,
  .videos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system {
    grid-template-columns: minmax(0, 1fr);
  }

  .contacto {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 1.25rem;
  }
}


@media (max-width: 768px) {
  .header__content {
    padding: 0.6rem 0;
  }

  .logo__image {
    height: 44px;
  }

  .logo__text {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 54px 0 auto 0;
    padding: 1rem 1.5rem 1.2rem;
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
    max-height: calc(100vh - 54px);
    overflow-y: auto;
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    padding: 0.5rem 0;
    font-size: 0.95rem;
  }

  .auth-actions {
    display: none;
  }

  .hero {
    padding: 3rem 0 2.5rem;
    min-height: 45vh;
  }

  .hero__title {
    font-size: 1.9rem;
    letter-spacing: 0.05em;
  }

  .hero__subtitle {
    font-size: 0.9rem;
  }

  .hero__logo-icon {
    width: 70px;
    height: 70px;
    font-size: 2.4rem;
  }

  .hero__brands {
    gap: 0.6rem;
    margin-top: 1.2rem;
  }

  .hero__brand {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }

  .hero-search {
    padding: 1.15rem 0 0.95rem;
  }

  .ofertas-search {
    max-width: 100%;
  }

  .ofertas-search__wrapper {
    padding: 0.65rem 1rem;
  }

  .ofertas-search__input {
    font-size: 0.88rem;
  }

  .hero-search-result {
    grid-template-columns: 56px 1fr;
    gap: 0.75rem;
  }

  .chips {
    gap: 0.4rem;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  .chip {
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
  }

  .grid--3,
  .products-grid,
  .videos {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }

  .product-highlight-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .card {
    padding: 1.1rem 1.2rem;
  }

  #servicios .card {
    border-radius: 0.9rem;
  }

  .footer__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer {
    padding: 1.5rem 0;
    font-size: 0.75rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .section-header p {
    font-size: 0.9rem;
  }

  .product-detail {
    flex-direction: column;
    gap: 1.5rem;
  }

  .product-detail__image {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .product-detail__info {
    flex: 1 1 100%;
  }

  .form__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .form {
    padding: 1.2rem 1.3rem;
    border-radius: 1rem;
  }

  .contacto {
    gap: 1.5rem;
  }

  .contacto__map iframe {
    height: 280px;
  }

  .floating-bubble {
    width: 56px;
    height: 56px;
    right: 1rem;
    bottom: 1rem;
    top: auto;
    transform: none;
  }

  .floating-bubble__icon img {
    width: 30px;
    height: 30px;
  }

  .info-bubble {
    left: 1rem;
    bottom: 5.5rem;
    width: 52px;
    height: 52px;
  }

  .info-bubble__icon {
    font-size: 22px;
  }

  .info-bubble__tooltip {
    left: 65px;
    min-width: 220px;
    max-width: 280px;
    font-size: 0.88rem;
  }

  .login-bubble {
    top: 70px;
    width: 48px;
    height: 48px;
  }

  .login-bubble__icon {
    font-size: 18px;
  }

  .marcas-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .marca-card__image {
    height: 80px;
  }

  .marca-card__content h3 {
    font-size: 0.85rem;
  }

  .sistema__panel {
    padding: 1.2rem 1.3rem;
  }

  .sistema__text h2 {
    font-size: 1.4rem;
  }

  .sistema__list {
    font-size: 0.85rem;
  }

  .sistema__body {
    font-size: 0.8rem;
  }

  .video-card {
    border-radius: 0.9rem;
  }

  .video-card__thumb {
    height: 140px;
  }

  .video-card h3 {
    font-size: 0.9rem;
    padding: 0.8rem 0.9rem 0.15rem;
  }

  .video-card p {
    font-size: 0.8rem;
    padding: 0 0.9rem 0.9rem;
  }

  .ofertas-carousel {
    gap: 0.75rem;
  }

  .ofertas-carousel__arrow {
    height: 2.2rem;
    padding-inline: 0.5rem;
    font-size: 0.9rem;
  }

  .ofertas-grid {
    gap: 0.6rem;
  }

  .section#ofertas .container {
    padding: 1.5rem 1.5rem 2rem;
  }

  .section#ofertas .oferta-card {
    border-radius: 1.2rem;
    padding: 0.7rem;
  }

  .section#ofertas .oferta-card__image {
    height: 130px;
    margin: 0.3rem 0 0.5rem;
  }

  .section#ofertas .oferta-card > h3 {
    font-size: 0.78rem;
    min-height: auto;
  }

  .section#ofertas .precio-oferta {
    font-size: 1.25rem !important;
  }

  .product-page__grid {
    padding: 0 1rem;
  }

  .product-page__image,
  .product-page__info {
    padding: 2rem 1.5rem;
    min-height: 350px;
  }

  .product-page__title {
    font-size: 1.6rem;
  }

  .product-page__price {
    font-size: 1.8rem;
    max-width: 85%;
  }

  .product-page__actions {
    grid-template-columns: 1fr;
  }

  .product-features {
    padding: 0 1rem;
    grid-template-columns: 1fr;
  }

  .product-feature {
    padding: 0.8rem 0.7rem;
  }

  .container {
    padding: 0 1rem;
  }
}


@media (max-width: 480px) {
  * {
    touch-action: manipulation;
  }

  body {
    font-size: 14px;
    line-height: 1.5;
  }

  .header__content {
    padding: 0.5rem 0;
    flex-wrap: wrap;
  }

  .logo {
    min-width: 44px;
  }

  .logo__image {
    height: 40px;
  }

  .nav-toggle span {
    width: 18px;
    height: 1.8px;
    gap: 3px;
  }

  .nav {
    inset: 50px 0 auto 0;
    padding: 0.85rem 1rem 1rem;
    gap: 0.6rem;
  }

  .nav__link {
    font-size: 0.85rem;
    padding: 0.4rem 0;
  }

  .hero {
    padding: 2rem 0 1.5rem;
    min-height: 40vh;
  }

  .hero__title {
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
  }

  .hero__subtitle {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .hero__logo-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .hero__brands {
    gap: 0.4rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__brand {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }

  .hero-search {
    padding: 1rem 0 0.85rem;
  }

  .hero-search .container {
    padding: 0 0.75rem;
  }

  .ofertas-search__wrapper {
    padding: 0.55rem 0.85rem;
    gap: 0.5rem;
  }

  .ofertas-search__icon {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
  }

  .ofertas-search__input {
    font-size: 0.85rem;
  }

  .ofertas-search__input::placeholder {
    font-size: 0.8rem;
  }

  .hero-search-result {
    grid-template-columns: 48px 1fr;
    gap: 0.6rem;
    padding: 0.6rem 0.7rem;
  }

  .hero-search-result__image {
    width: 48px;
    height: 38px;
  }

  .hero-search-result__title {
    font-size: 0.85rem;
  }

  .hero-search-result__btn {
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
  }

  .section {
    padding: 2rem 0;
  }

  .section-header {
    margin-bottom: 1.2rem;
  }

  .section-header h2 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    line-height: 1.2;
  }

  .section-header p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .grid--3,
  .products-grid,
  .videos {
    gap: 0.9rem;
  }

  .card {
    padding: 0.95rem 1rem;
    border-radius: 0.8rem;
  }

  .card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }

  .card p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .card__icon {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  #servicios .card {
    border-top-width: 2px;
  }

  .chips {
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
    gap: 0.35rem;
  }

  .chip {
    padding: 0.4rem 0.7rem;
    font-size: 0.75rem;
    border-radius: 0.5rem;
  }

  .btn {
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
    border-radius: 0.6rem;
    min-height: 36px;
    min-width: auto;
  }

  .btn--primary {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.14);
  }

  .btn--outline {
    font-size: 0.85rem;
  }

  .product-highlight-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .product-highlight-card {
    padding: 0.9rem 1rem;
    border-radius: 0.8rem;
  }

  .product-highlight-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }

  .product-highlight-card p {
    font-size: 0.8rem;
  }

  .footer {
    padding: 1.2rem 0;
    font-size: 0.7rem;
  }

  .footer__content {
    gap: 0.5rem;
  }

  .product-detail {
    flex-direction: column;
    gap: 1rem;
  }

  .product-detail__image {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .product-detail__image img {
    max-width: 100%;
  }

  .product-detail__info {
    padding: 0.9rem 1rem;
    border-left-width: 3px;
  }

  .product-detail__info h3 {
    font-size: 0.95rem;
  }

  .product-specs {
    grid-template-columns: 1fr;
    gap: 0.3rem 0.5rem;
  }

  .product-specs__label {
    font-size: 0.8rem;
    color: #9ca3af;
  }

  .product-specs__value {
    font-size: 0.9rem;
  }

  .form {
    padding: 1rem 1.1rem;
    border-radius: 0.9rem;
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
  }

  .form__field {
    gap: 0.25rem;
    margin-bottom: 0.6rem;
  }

  .form label {
    font-size: 0.75rem;
  }

  .form input,
  .form textarea {
    border-radius: 0.6rem;
    padding: 0.5rem 0.6rem;
    font-size: 0.85rem;
  }

  .form textarea {
    min-height: 100px;
  }

  .form .btn {
    width: 100%;
    margin-top: 0.3rem;
  }

  .contacto {
    gap: 1rem;
  }

  .contacto__list {
    margin-top: 0.8rem;
    font-size: 0.85rem;
  }

  .contacto__map iframe {
    height: 240px;
  }

  .floating-bubble {
    width: 52px;
    height: 52px;
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .floating-bubble__icon img {
    width: 28px;
    height: 28px;
  }

  .info-bubble {
    width: 50px;
    height: 50px;
    left: 0.8rem;
    bottom: 5.2rem;
  }

  .info-bubble__icon {
    font-size: 20px;
  }

  .info-bubble__tooltip {
    left: 58px;
    min-width: 200px;
    max-width: 240px;
    font-size: 0.85rem;
    padding: 0.8rem 1rem;
  }

  .login-bubble {
    width: 46px;
    height: 46px;
    top: 62px;
  }

  .login-bubble__icon {
    font-size: 16px;
  }

  .login-bubble__tooltip {
    left: 54px;
    min-width: 170px;
    max-width: 220px;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }

  .login-strip {
    left: 0.6rem;
    top: 0.6rem;
  }

  .login-strip__toggle {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }

  .login-strip__panel {
    min-width: 240px;
    max-width: 300px;
    padding: 0.6rem 0.8rem;
  }

  .login-strip__panel p {
    font-size: 0.9rem;
  }

  .marcas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .marca-card {
    border-radius: 0.6rem;
  }

  .marca-card__image {
    height: 70px;
    padding: 0.6rem;
  }

  .marca-card__content {
    padding: 0.6rem;
  }

  .marca-card__content h3 {
    font-size: 0.8rem;
  }

  .sistema {
    gap: 1.2rem;
  }

  .sistema__text h2 {
    font-size: 1.3rem;
  }

  .sistema__text p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .sistema__list {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .sistema__list li {
    margin-bottom: 0.3rem;
  }

  .sistema__panel {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
  }

  .sistema__tag {
    font-size: 0.6rem;
    padding: 0.15rem 0.45rem;
    top: 1rem;
    right: 1rem;
  }

  .sistema__header {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .sistema__body {
    font-size: 0.8rem;
    padding: 0.8rem 0.7rem;
  }

  .sistema__row {
    padding: 0.35rem 0;
  }

  .video-card {
    border-radius: 0.8rem;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  }

  .video-card__thumb {
    height: 120px;
  }

  .video-card__play {
    width: 44px;
    height: 44px;
  }

  .video-card h3 {
    font-size: 0.85rem;
    padding: 0.7rem 0.8rem 0.15rem;
  }

  .video-card p {
    font-size: 0.78rem;
    padding: 0 0.8rem 0.8rem;
    line-height: 1.3;
  }

  .videos__cta {
    margin-top: 1.4rem;
  }

  .link {
    font-size: 0.85rem;
  }

  .ofertas-carousel {
    gap: 0.5rem;
  }

  .ofertas-carousel__arrow {
    height: 2rem;
    padding-inline: 0.35rem;
    font-size: 0.85rem;
    min-width: 32px;
  }

  .ofertas-grid {
    gap: 0.5rem;
  }

  .section#ofertas {
    border-top: none;
    border-bottom: none;
  }

  .section#ofertas .container {
    padding: 1.2rem 1rem 1.8rem;
    border-radius: 1rem;
  }

  .section#ofertas .section-header {
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
  }

  .section#ofertas .section-header h2 {
    font-size: 1.2rem;
  }

  .section#ofertas .section-header p {
    font-size: 0.8rem;
  }

  .section#ofertas .oferta-card {
    border-radius: 1rem;
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
  }

  .section#ofertas .oferta-card__image {
    height: 110px;
    border-radius: 0.9rem;
    margin: 0.25rem 0 0.4rem;
    padding: 0.55rem;
  }

  .section#ofertas .oferta-card > h3 {
    font-size: 0.74rem;
    margin: 0.2rem 0 0.35rem;
    min-height: auto;
    line-height: 1.2;
  }

  .section#ofertas .oferta-card > p {
    display: none;
  }

  .section#ofertas .oferta-card__pricing {
    margin: 0.2rem 0 0.5rem !important;
  }

  .section#ofertas .precio-oferta {
    font-size: 1.1rem !important;
    font-weight: 900 !important;
  }

  .section#ofertas .oferta-card__badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }

  .oferta-qty {
    width: 70px;
    height: 32px;
    font-size: 0.8rem;
  }

  .btn--primary.offerta-ask-btn {
    height: 32px;
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
  }

  .oferta-view-link {
    margin-top: 0.5rem !important;
    padding: 0.6rem 0.8rem !important;
    font-size: 0.8rem !important;
  }

  .section#ofertas .oferta-view-link.btn--outline {
    padding: 0.6rem 0.8rem;
  }

  .product-page {
    padding: 1.5rem 0 2rem;
  }

  .product-page__grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 0 0.75rem;
  }

  .product-page__card,
  .product-page__image,
  .product-page__info {
    min-height: 300px;
    height: auto;
    padding: 1.5rem 1.2rem;
  }

  .product-page__image {
    border-bottom: none;
    border-top: 1px solid #1e3a8a;
    order: -1;
  }

  .product-page__title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .product-page__title::after {
    width: 60px;
    height: 3px;
  }

  .product-page__price {
    font-size: 1.5rem;
    margin: 1rem auto;
    max-width: 90%;
    padding: 0.85rem 1rem;
  }

  .product-page__label {
    font-size: 0.9rem;
    margin: 0.5rem 0;
  }

  .product-page__qty {
    max-width: 100%;
  }

  .product-page__actions {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    max-width: 100%;
  }

  .product-page__actions .btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .product-page__actions--secondary {
    grid-template-columns: 1fr;
  }

  .product-features {
    padding: 0 0.75rem;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 1rem auto 0;
  }

  .product-feature {
    padding: 0.75rem 0.7rem;
    font-size: 0.85rem;
  }

  .product-page__highlights {
    padding: 0 1rem;
    gap: 0.6rem;
  }

  .product-page__highlight {
    padding: 1rem 1.1rem;
    border-radius: 0.6rem;
  }

  .product-page__highlight-title {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    gap: 0.6rem;
  }

  .product-page__highlight-text {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .container {
    padding: 0 0.75rem;
  }
}


/* MEDIA QUERY EXTRA PEQUEÑO (320px) */
@media (max-width: 360px) {
  .logo__image {
    height: 36px;
  }

  .hero__title {
    font-size: 1.3rem;
    letter-spacing: 0.01em;
  }

  .hero__subtitle {
    font-size: 0.75rem;
  }

  .hero__logo-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .hero__brand {
    font-size: 0.6rem;
    padding: 0.2rem 0.45rem;
  }

  .section-header h2 {
    font-size: 1.2rem;
  }

  .section-header p {
    font-size: 0.8rem;
  }

  .card h3 {
    font-size: 0.9rem;
  }

  .card p {
    font-size: 0.8rem;
  }

  .btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
  }

  .container {
    padding: 0 0.6rem;
  }

  .ofertas-search__wrapper {
    padding: 0.5rem 0.7rem;
  }

  .ofertas-carousel__arrow {
    padding-inline: 0.25rem;
    font-size: 0.8rem;
    min-width: 28px;
    height: 1.8rem;
  }

  .floating-bubble {
    width: 48px;
    height: 48px;
    right: 0.6rem;
    bottom: 0.6rem;
  }

  .floating-bubble__icon img {
    width: 25px;
    height: 25px;
  }

  .info-bubble {
    width: 46px;
    height: 46px;
    left: 0.6rem;
    bottom: 4.8rem;
  }

  .info-bubble__tooltip {
    left: 52px;
    min-width: 180px;
    max-width: 220px;
    font-size: 0.8rem;
  }

  .marcas-grid {
    gap: 0.6rem;
  }

  .marca-card__image {
    height: 60px;
  }

  .section#ofertas .oferta-card {
    padding: 0.5rem;
  }

  .section#ofertas .oferta-card > h3 {
    font-size: 0.7rem;
  }

  .section#ofertas .precio-oferta {
    font-size: 1rem !important;
  }

  .producto-card {
    padding: 1rem;
  }

  .producto-card__nombre {
    font-size: 0.9rem;
  }

  .producto-card__precio {
    font-size: 1.1rem;
  }
}

/* ANIMACIÓN SKELETON LOADER */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-loader {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  background-color: #e5e7eb;
}

/* OFERTAS */
.ofertas-search {
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.ofertas-search__wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.ofertas-search__wrapper:focus-within {
  border-color: #1d4ed8;
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.15);
}

.ofertas-search__icon {
  width: 20px;
  height: 20px;
  margin-right: 0.75rem;
  opacity: 0.6;
  flex-shrink: 0;
  color: #6b7280;
}

.ofertas-search__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: #111827;
  background: transparent;
}

.ofertas-search__input::placeholder {
  color: #9ca3af;
}

.ofertas-search__clear {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  margin-left: 0.5rem;
  border-radius: 50%;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.ofertas-search__clear:hover {
  background: #f3f4f6;
  color: #111827;
}

.ofertas-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
}

.ofertas-rows {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.section#ofertas {
  background: #ffffff;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  color: #111827;
}

.section#ofertas .container {
  background: radial-gradient(circle at top left, #020617, #0b1120);
  border-radius: 1.25rem;
  border: 1px solid rgba(37, 99, 235, 0.5);
  padding: 2rem 2rem 2.5rem;
}

.section#ofertas .section-header {
  border-bottom: 1px solid rgba(37, 99, 235, 0.45);
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
}

.section#ofertas .section-header h2 {
  color: #e5e7eb;
}

.section#ofertas .section-header p {
  color: #9ca3af;
}

.ofertas-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.ofertas-carousel__arrow {
  padding-inline: 0.6rem;
  height: 2.5rem;
  color: #60a5fa;
  border-color: #1d4ed8;
  background: #0f172a;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.8);
}

.ofertas-carousel__arrow:hover {
  background: #1d4ed8;
  color: #ffffff;
}


.oferta-card {
  background: #ffffff;
  border-radius: 1.2rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}


.oferta-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}


.oferta-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #2563eb;
  color: #ffffff;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}


.oferta-card__image {
  height: 180px;
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}


.oferta-card__image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Controles de "Pedir presupuesto" dentro de la tarjeta de oferta */
.oferta-card__ask {
  margin-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}

.oferta-card__ask-text {
  font-weight: 700;
  color: #1f2937;
  text-align: center;
}

.oferta-card__controls {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
}

.oferta-qty {
  width: 84px;
  padding: 0.45rem 0.6rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(156, 163, 175, 0.6);
  background: #ffffff;
  font-weight: 600;
}

.oferta-qty,
.btn--primary.offerta-ask-btn {
  height: 40px;
}

.oferta-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.6rem;
}

.oferta-qty:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 6px 18px rgba(37,99,235,0.08);
}

.oferta-view-link {
  margin-top: 0.8rem;
}

.oferta-view-link.btn--outline {
  background: #0f172a;
  color: #ffffff;
  border-color: rgba(15, 23, 42, 0.35);
}

.oferta-view-link.btn--outline:hover {
  background: #111827;
  border-color: rgba(15, 23, 42, 0.6);
}

.section#ofertas .oferta-card {
  border-radius: 1.6rem;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section#ofertas .oferta-card__image {
  height: 150px;
  border-radius: 1.25rem;
  background: #ffffff;
  border: 1px solid #eef2f7;
  margin: 0.35rem 0 0.6rem;
  padding: 0.65rem;
}

.section#ofertas .oferta-card > h3 {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0.25rem 0 0.5rem;
  min-height: 2.4em;
  width: 100%;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section#ofertas .oferta-card > p {
  display: none;
}

.section#ofertas .oferta-card__pricing {
  margin: 0.25rem 0 0.75rem !important;
}

.section#ofertas .precio-oferta {
  font-size: 1.45rem !important;
  font-weight: 900 !important;
}

.section#ofertas .oferta-view-link.btn--outline {
  width: 100% !important;
  margin-top: auto !important;
  background: #1f2937;
  color: #ffffff;
  border-color: #1f2937;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-weight: 800;
}

.section#ofertas .oferta-view-link.btn--outline:hover {
  background: #111827;
  border-color: #111827;
}

.product-aside {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.3rem;
}

.product-aside__controls {
  width: 100%;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* Nuevo layout para la vista de producto */
.product-detail {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.product-detail__image {
  flex: 0 0 46%;
  max-width: 46%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail__image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.6rem;
}

.product-detail__info {
  flex: 1 1 54%;
}

/* Azul decorativo para la ficha de producto */
.product-detail__info {
  border-left: 4px solid rgba(37,99,235,0.12);
  padding: 1rem 1.2rem;
  background: linear-gradient(180deg, rgba(37,99,235,0.02), transparent 40%);
}

.product-detail__info h3 {
  color: #1e3a8a;
  margin-bottom: 0.4rem;
}

.product-specs {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}

.product-specs__label {
  font-size: 0.85rem;
  color: #6b7280;
}

.product-specs__value {
  font-weight: 700;
  color: #0f172a;
}

.product-specs__full {
  grid-column: 1 / -1;
  color: #374151;
}

.product-detail__controls .btn--primary {
  min-width: 150px;
}

.product-detail__controls .btn--outline {
  min-width: 110px;
}

/* Estilo del separador azul entre ficha y contacto */
.product-separator,
.product-contact-separator {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.45), transparent);
  margin: 1.6rem 0;
}

/* Ajuste del botón Volver en la ficha para mejor contraste */
.product-aside__back {
  color: #2563eb;
  border-color: rgba(37,99,235,0.18);
}
.product-aside__back:hover {
  background: rgba(37,99,235,0.06);
}

.product-page {
  padding: 2rem 0 3rem;
  background: #ffffff;
  min-height: 100vh;
  color: #e2e8f0;
}

.product-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.product-page__card {
  background: #0a1128;
  border: 1px solid #1e3a8a;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: all 0.3s ease;
  background: linear-gradient(145deg, #0a1128, #0f172a);
  height: 100%;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.product-page__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-color: #3b82f6;
}

.product-page__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0f172a, #1d4ed8, #60a5fa);
}

.product-page__image {
  background: #0f172a;
  border-bottom: 1px solid #1e3a8a;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.product-page__image::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.product-page__image img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
}

.product-page__info {
  padding: 2.5rem;
  text-align: center;
  background: #0a1128;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.product-page__title {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.5px;
}

.product-page__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #1e40af, #3b82f6);
  border-radius: 2px;
}

.product-page__price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #000000;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  margin: 1.5rem auto;
  text-align: center;
  max-width: 80%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.product-page__price::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  z-index: -1;
  transition: all 0.6s ease;
  display: none;
}

.product-page__price:hover::after {
  left: 100%;
}

.product-page__qty {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  justify-items: center;
  max-width: 260px;
  margin: 0 auto;
}

.product-page__label {
  font-weight: 700;
  color: #ffffff;
  text-align: center;
}

.product-page__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 520px;
  margin: 0 auto;
}

.product-page__actions--secondary {
  grid-template-columns: 1fr 1fr;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.25rem auto 0;
  padding: 0 1.5rem;
  max-width: 1120px;
}

.product-feature {
  background: #0a1128;
  border: 1px solid #1e3a8a;
  border-radius: 0.6rem;
  padding: 0.9rem 0.8rem;
  color: #ffffff;
  text-align: center;
}

.product-page__highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.1rem;
  text-align: left;
}

.product-page__highlight {
  border: 1px solid #1e3a8a;
  border-radius: 0.75rem;
  padding: 1.5rem;
  background: rgba(30, 58, 138, 0.3);
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-page__highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #3b82f6, #60a5fa);
  transition: all 0.3s ease;
}

.product-page__highlight:hover {
  transform: translateX(8px);
  background: rgba(30, 58, 138, 0.5);
  border-color: #3b82f6;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.product-page__highlight:hover::before {
  width: 6px;
}

.product-page__highlight-title {
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.product-page__highlight-title::before {
  content: '•';
  color: #3b82f6;
  font-size: 1.8rem;
  line-height: 0;
  margin-left: -0.5rem;
}

.product-page__highlight-text {
  color: #cbd5e1;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0;
  padding-left: 0.5rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .product-page__grid {
    grid-template-columns: 1fr;
  }

  .product-page__card,
  .product-page__image,
  .product-page__info {
    height: auto;
  }

  .product-features {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .product-page__image {
    min-height: 280px;
  }
}

@media (max-width: 480px) {
  .product-page__qty {
    grid-template-columns: 1fr;
  }

  .product-page__actions,
  .product-page__actions--secondary {
    grid-template-columns: 1fr;
  }
}

.marcas-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.marca-card {
  background: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.marca-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
  border-color: #2563eb;
}

.marca-card__image {
  height: 90px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.marca-card__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.marca-card__content {
  padding: 0.75rem;
  text-align: center;
  background: #0f172a;
}

.marca-card__content h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .marcas-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .marcas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }
}

@media (max-width: 480px) {
  .marcas-grid {
    grid-template-columns: 1fr;
  }
}