/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header / Navbar */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.top-bar {
  border-bottom: 1px solid #e5e5e5;
  padding: 0.5rem 0;
}

.top-bar-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: #666;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.login-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.login-link:hover {
  color: #0066cc;
}

.icon {
  font-size: 1rem;
}

.icon-small {
  font-size: 0.875rem;
  margin-right: 0.25rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-icon {
  width: 3rem;
  height: 3rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.logo-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0066cc;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* Logo imagen real */
.logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 6px;
}

.logo-title-main {
  font-size: 1.2rem;
  font-weight: 900;
  color: #cc0000;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.logo-subtitle-main {
  font-size: 0.7rem;
  color: #555;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  font-weight: 500;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-icon {
  font-size: 1.5rem;
  color: #1a1a1a;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.625rem 1rem;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  background-color: #f5f5f5;
}

.nav-link.active {
  background-color: #0066cc;
  color: #ffffff;
}

/* Hero Section */
.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,51,102,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #ffffff;
  padding: 0 1rem;
  max-width: 700px;
}

.hero-eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 0.75rem;
  text-shadow: none;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-shadow: 2px 3px 10px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0066cc;
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(0,102,204,0.5);
}

.btn-hero-primary:hover {
  background: #0052a3;
  transform: translateY(-2px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.4);
  transition: background 0.2s, transform 0.2s;
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.hero-logo-wrap {
  margin-bottom: 1rem;
}

.hero-logo {
  height: 90px;
  width: 90px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  background: rgba(255,255,255,0.95);
  padding: 4px;
}

.hero-title-sub {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  color: rgba(255,255,255,0.85);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: rgba(255,255,255,0.6);
  font-size: 1.25rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Benefits Strip ───────────────────────────────────────────────── */
.benefits-strip {
  background: #f0f7ff;
  border-bottom: 1px solid #d0e4f7;
  padding: 1.25rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.benefit-icon {
  font-size: 1.75rem;
  color: #0066cc;
  flex-shrink: 0;
}

.benefit-item div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.benefit-item strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1a1a1a;
}

.benefit-item span {
  font-size: 0.775rem;
  color: #666;
}

/* ── Categories Section ────────────────────────────────────────────── */
.categories-section {
  padding: 3.5rem 0 2rem;
  background: #fff;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: 1.25rem 0.75rem;
  background: #f8faff;
  border: 1px solid #e0eaf8;
  border-radius: 0.75rem;
  text-decoration: none;
  color: #1a1a1a;
  transition: all 0.25s;
}

.category-card:hover {
  background: #0066cc;
  color: #fff;
  border-color: #0066cc;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,102,204,0.25);
}

.category-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(0,102,204,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #0066cc;
  transition: all 0.25s;
}

.category-card:hover .category-icon-wrap {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.category-card-name {
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

/* ── Section header with link ──────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-header .section-title {
  margin-bottom: 0;
}

.section-link {
  font-size: 0.875rem;
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}

.section-link:hover { gap: 0.6rem; }

/* ── Product info inside card ──────────────────────────────────────── */
.product-info {
  padding: 0.25rem 0;
}

.product-cat {
  font-size: 0.72rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: #0066cc;
  margin-top: 0.4rem;
}

.product-login-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: #999;
  text-decoration: none;
  margin-top: 0.4rem;
}

.product-login-hint:hover { color: #0066cc; }

.product-badge-agotado {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: #dc2626;
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
}

.empty-msg {
  text-align: center;
  color: #999;
  padding: 3rem 0;
  font-size: 1rem;
}

/* ── Section CTA button ────────────────────────────────────────────── */
.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0066cc;
  color: #fff;
  padding: 0.875rem 2.5rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-cta:hover {
  background: #0052a3;
  transform: translateY(-2px);
}

/* ── Brands Section ────────────────────────────────────────────────── */
.brands-section {
  padding: 4rem 0;
  background: #f9f9f9;
  text-align: center;
}

.brands-subtitle {
  color: #666;
  font-size: 1rem;
  margin-bottom: 2.5rem;
  margin-top: -1rem;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.brand-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0.75rem;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  transition: all 0.25s;
}

.brand-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  border-color: #0066cc;
}

.brand-image {
  max-height: 48px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(80%);
  opacity: 0.7;
  transition: all 0.3s;
}

.brand-card:hover .brand-image {
  filter: grayscale(0%);
  opacity: 1;
}

.brand-name-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: #333;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Contact CTA Section ───────────────────────────────────────────── */
.contact-cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
  color: #fff;
}

.contact-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-cta-text h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.contact-cta-text p {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-call:hover { background: rgba(255,255,255,0.25); }

.contact-cta-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.info-item i {
  font-size: 1.1rem;
  color: #7dd3fc;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.info-item div {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.info-item strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}

.info-item span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}

/* ── WhatsApp FAB ──────────────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 9000;
  width: 3.5rem;
  height: 3.5rem;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.6);
}

.whatsapp-fab-tooltip {
  position: absolute;
  left: 4rem;
  background: #1a1a1a;
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.whatsapp-fab:hover .whatsapp-fab-tooltip {
  opacity: 1;
}

/* ── Footer — 3 columnas ───────────────────────────────────────────── */
.footer-content {
  grid-template-columns: repeat(3, 1fr) !important;
}

/* CTA Banner */
.cta-banner {
  background-color: #0066cc;
  color: #ffffff;
  padding: 1rem 0;
  text-align: center;
}

.cta-banner p {
  margin: 0;
  font-size: 1rem;
}

/* Products Section */
.products-section {
  padding: 4rem 0;
  background-color: #ffffff;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.category-section {
  margin-bottom: 3rem;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #666;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 0.625rem;
  padding: 1rem;
  transition: all 0.3s;
  cursor: pointer;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background-color: #f5f5f5;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: #0066cc;
  color: #ffffff;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0066cc;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Brands Section */
.brands-section {
  padding: 4rem 0;
  background-color: #f9f9f9;
  text-align: center;
}

.brands-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.brands-title strong {
  font-weight: 700;
}

.brands-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.brand-image {
  max-width: 150px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s;
}

.brand-image:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0066cc;
}

.footer-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 1rem;
}

.footer-link {
  color: #0066cc;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #3399ff;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  font-size: 0.875rem;
  color: #cccccc;
  display: flex;
  align-items: center;
}

.contact-item strong {
  color: #ffffff;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background-color 0.2s;
}

.social-link:hover {
  background-color: #0066cc;
}

.social-link i {
  font-size: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid #333333;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #999999;
}

/* Responsive */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-cta-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    gap: 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
  }

  .hero {
    height: 480px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
  }

  .brands-grid {
    gap: 1rem;
  }

  .brand-card {
    min-width: 110px;
    padding: 1rem 1.25rem;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .whatsapp-fab {
    bottom: 1.25rem;
    left: 1.25rem;
  }
}

@media (max-width: 480px) {
  .top-bar-content {
    font-size: 0.75rem;
    gap: 1rem;
  }

  .logo-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .logo-title {
    font-size: 1rem;
  }

  .hero {
    height: 420px;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .benefit-item strong {
    font-size: 0.8rem;
  }

  .benefit-item span {
    display: none;
  }

  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
  }

  .category-card {
    padding: 0.875rem 0.5rem;
  }
}
