:root {
  --primary-color: #14a896;
  --primary-hover: #108c7c;
  --dark-color: #1a202c;
  --text-main: #334155;
  --text-muted: #64748b;
  --bg-color: #f8fafc;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --font-family: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
}

main {
  zoom: 0.7; /* Escala solo el contenido principal, dejando el header y footer al 100% */
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header & Navbar */
.mobile-only-link {
  display: none !important;
}
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.logo-img {
  height: 70px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-color);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-item-dropdown {
  position: relative;
  cursor: pointer;
}

.nav-item-dropdown i {
  font-size: 0.9rem;
  transition: transform 0.3s;
}

/* Buttons */
.header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn i {
  font-size: 1.1rem;
}

.btn-outline {
  background-color: var(--white);
  border-color: var(--border-color);
  color: var(--dark-color);
}

.btn-outline:hover {
  background-color: var(--bg-color);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: var(--shadow-sm);
}

.btn-dark {
  background-color: var(--dark-color);
  color: var(--white);
}

.btn-dark:hover {
  background-color: #0f172a;
  box-shadow: var(--shadow-sm);
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  cursor: pointer;
  color: var(--text-main);
  transition: var(--transition);
}

.btn-icon:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* Featured Products */
.featured-products {
  padding: 5rem 2rem;
  background-color: var(--bg-color);
}

.container {
  max-width: 1500px;
  margin: 0 auto;
}

.boxed-container {
  max-width: 1500px !important;
}

.shrink-container {
  max-width: 1250px !important;
}

/* Layout Specific for Nosotros Page */
@media (min-width: 1400px) {
  .nosotros-page .container.boxed-container {
    max-width: none !important;
    margin-left: 180px !important;
    margin-right: 180px !important;
  }

  /* Reset section horizontal padding to ensure exactly 180px from window edge */
  .nosotros-page section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.section-title {
  color: var(--dark-color);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.6;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

.product-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.card-img-wrapper {
  position: relative;
  background-color: #fdfdfd;
  height: 15rem; /* 240px / 16px */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.card-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  width: 100%;
  height: 100%;
}

.product-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.icon-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 45px;
  height: 45px;
  background-color: #e6f6f4;
  color: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.card-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  word-break: break-word;
}

.card-content h3 {
  color: var(--dark-color);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Advanced Search */
.advanced-search {
  padding: 4rem 2rem 6rem;
  background-color: var(--bg-color);
}

.shrink-container {
  max-width: 1040px;
}

.search-container {
  display: flex;
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.search-sidebar {
  background: linear-gradient(135deg, #14a896 0%, #0a5fa7 100%);
  color: var(--white);
  padding: 3rem 2.5rem;
  width: 42%;
  display: flex;
  flex-direction: column;
}

.sidebar-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.search-sidebar h3 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.search-sidebar p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.advanced-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: auto;
}

.advanced-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.advanced-features li i {
  font-size: 1.25rem;
}

.search-form-area {
  padding: 3rem;
  width: 58%;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 500px;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-color);
}

.form-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.form-hint i {
  color: var(--text-muted);
  font-style: italic;
}

.input-with-icon,
.select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon input,
.select-wrapper select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: var(--white);
  font-family: var(--font-family);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.select-wrapper select {
  cursor: pointer;
}

/* Ensure the dropdown menu opens downwards */
.select-wrapper select option {
  background-color: var(--white);
  color: var(--text-main);
  padding: 10px;
}

.input-with-icon input:focus,
.select-wrapper select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(20, 168, 150, 0.1);
}

.input-with-icon input::placeholder {
  color: #a0aec0;
}

.select-wrapper select option {
  background-color: var(--white);
  color: var(--text-main);
  padding: 10px;
}

.input-with-icon i {
  position: absolute;
  right: 1rem;
  color: #a0aec0;
  font-size: 1.1rem;
  pointer-events: none;
}

.select-wrapper i {
  position: absolute;
  right: 1rem;
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-search {
  flex: 6;
}

.btn-reset {
  flex: 4;
}

/* Floating Widgets */
.floating-widgets {
  position: fixed;
  bottom: 2rem;
  width: 100%;
  pointer-events: none;
  z-index: 1000;
}

.widget {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--white);
  pointer-events: auto;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.3s ease;
  border: none;
}

.widget:hover {
  transform: scale(1.1);
}

.widget-whatsapp {
  left: 2rem;
  bottom: 0;
  background-color: #26a5e4;
  /* approximate WhatsApp light blue variant from screenshots */
}

.widget-chat {
  right: 2rem;
  bottom: 0;
  background-color: var(--primary-color);
}

.status-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 14px;
  height: 14px;
  background-color: #22c55e;
  border-radius: 50%;
  border: 2px solid var(--white);
}


/* Search Info Message Card */
.search-info-message {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-top: 2.5rem;
  padding: 5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}

.search-info-message:hover {
  box-shadow: var(--shadow-md);
}

.search-info-message .info-icon {
  width: 72px;
  height: 72px;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  background-color: transparent;
}

.search-info-message h3 {
  color: var(--dark-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.search-info-message p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 800px;
  line-height: 1.6;
}


/* Expert Solutions Section */
.expert-solutions {
  padding: 6rem 2rem;
  background-color: var(--white);
}

.container-expert {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.expert-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge-leaders {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #e6f6f4;
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  width: fit-content;
}

.badge-leaders .dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
}

.expert-title {
  color: var(--text-main);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.expert-title .highlight-text {
  color: #a5cbf0; /* light blue color similar to the image */
}

.expert-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 90%;
}

.expert-experience {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.expert-experience .dot-green {
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

.expert-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.expert-actions .btn {
  padding: 0.5rem 0.8rem;
  font-size: 0.8rem;
  white-space: normal;
  text-align: center;
}

/* Slider Right Side */
.expert-slider-container {
  position: relative;
  width: 100%;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(26, 32, 44, 0.8);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.slider-btn:hover {
  background-color: var(--primary-color);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.slider-overlay-box {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background-color: rgba(21, 27, 43, 0.95);
  border-radius: 12px;
  padding: 1.8rem;
  color: var(--white);
  z-index: 10;
}

.slider-overlay-box h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.slider-overlay-box p {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.slider-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.slider-pagination .dot {
  width: 8px;
  height: 8px;
  background-color: #475569;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.slider-pagination .dot.active {
  background-color: var(--primary-color);
  width: 24px;
  border-radius: 4px;
}


/* Professional Solutions Section */
.professional-solutions {
  padding: 6rem 2rem;
  background-color: var(--bg-color);
}

.solutions-card {
  display: flex;
  background-color: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 3rem;
  min-height: 600px;
}

/* Left Image Side */
.solutions-image-side {
  flex: 1;
  position: relative;
  background-color: #f1f5f9;
}

.solutions-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.solutions-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  padding: 1.5rem 2rem;
  border-top-right-radius: 20px;
  max-width: 90%;
}

.solutions-img-overlay h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.solutions-img-overlay p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Right Content Side */
.solutions-content-side {
  flex: 1;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
}

.solutions-content-side h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.solutions-intro {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.specialties-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex-grow: 1;
}

.specialty-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: var(--transition);
  background-color: var(--white);
}

.specialty-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: #cbd5e1;
}

.specialty-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Specific icon colors based on the image */
.icon-blue { background-color: #3b82f6; }
.icon-darkblue { background-color: #1e40af; }
.icon-cyan { background-color: #06b6d4; }
.icon-teal { background-color: #14b8a6; }

.specialty-text {
  flex-grow: 1;
}

.specialty-text h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.4rem;
}

.specialty-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.badge-pill {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #d1fae5; /* Light green background */
  color: #065f46; /* Dark green text */
}

.solutions-actions {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.solutions-actions .btn {
  padding: 0.8rem 1.5rem;
}


/* Distribution Section */
.distribution-section {
  padding: 6rem 2rem;
  background-color: var(--bg-color); /* Matches the main body bg #f8fafc */
}

.distribution-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.distribution-title {
  color: #111827; /* Dark slate */
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
  word-break: break-word;
  hyphens: auto;
}

.distribution-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.distribution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.dist-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dist-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.dist-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #14b8a6, #3b82f6); /* Teal to Blue gradient */
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.dist-card p {
  color: var(--dark-color);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

/* Contact Section */
.contact-section {
  padding: 8rem 2rem;
  background-color: #f1f5f9; /* Light slate background to make the white card pop */
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.contact-card {
  background-color: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
}

/* Form Side */
.contact-form-side {
  padding: 4rem 3.5rem;
  border-right: 1px solid var(--border-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-form .form-group,
.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-form label,
.contact-form label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group label i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.form-control {
  padding: 0.8rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background-color: #f8fafc;
  font-size: 0.95rem;
  color: var(--dark-color);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(13, 168, 149, 0.1);
}

.btn-submit {
  padding: 1rem;
  font-weight: 700;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

/* Info Side */
.contact-info-side {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background-color: #fafafa;
}

.info-header-box {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.circle-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.info-header-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-color);
}

.info-header-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.schedule-box {
  background-color: #f0f9ff;
  border: 1px solid #e0f2fe;
  padding: 1.5rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #0369a1;
}

.schedule-box i {
  font-size: 1.5rem;
}

.schedule-box h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.schedule-box p {
  font-size: 0.9rem;
}

.team-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-list-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-height: 400px; /* Adjust height based on ~3 cards */
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Custom scrollbar for team list */
.team-list-container::-webkit-scrollbar {
  width: 6px;
}
.team-list-container::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}
.team-list-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
.team-list-container::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.team-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.team-member {
  display: flex;
  gap: 1.2rem;
  padding: 1.2rem;
  background-color: #f8f8f8;
  border-radius: 12px;
  border: 1px dotted #ddd;
  flex-shrink: 0;
}

.member-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.avatar-green { background-color: #10b981; }
.avatar-blue { background-color: #3b82f6; }
.avatar-purple { background-color: #a855f7; }

.member-info {
  flex-grow: 1;
}

.member-info h6 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-color);
}

.member-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.member-contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #475569;
  margin-top: 0.4rem;
}

.contact-actions {
  display: flex;
  gap: 0.8rem;
  color: #94a3b8;
  cursor: pointer;
}

.contact-actions i:hover {
  color: var(--primary-color);
}

/* Site Footer */
.site-footer {
  padding: 6rem 2rem;
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  width: 150px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-logo span {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark-color);
  letter-spacing: 1px;
}

.brand-col p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: #475569;
}

.footer-contact-list i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.whatsapp-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  background-color: #dcfce7;
  color: #166534;
  border-radius: 50px;
  text-transform: uppercase;
}

/* Nosotros Page Specific Styles */
.nosotros-page main {
  background-color: var(--white);
}

.about-hero {
  padding: 6rem 2rem 4rem 2rem;
  text-align: center;
}

.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1.2rem;
  background-color: #f1f5f9;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 2rem;
}

.about-hero-badge .dot {
  width: 8px;
  height: 8px;
  background-color: #14b8a6;
  border-radius: 50%;
}

.about-hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1.5rem;
  font-family: 'Outfit', sans-serif;
}

.gradient-text {
  background: linear-gradient(135deg, #14b8a6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.history-section {
  padding: 4rem 2rem 8rem 2rem;
}

.history-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.history-icon-box {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #14b8a6, #3b82f6);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.history-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark-color);
}

.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.history-card {
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}

.card-date {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #14b8a6;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.history-card p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #334155;
  text-align: justify;
}

.history-description {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: justify;
}

.history-description p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #475569;
  text-align: justify;
}

.history-description .highlight {
  color: #0d9488;
  font-weight: 700;
}

.history-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
}

.history-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.history-image-wrapper:hover .history-main-img {
  transform: scale(1.05);
}

.history-img-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background-color: rgba(248, 250, 252, 0.95);
  padding: 1.5rem 2rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.history-img-caption h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.3rem;
}

.history-img-caption p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Commitment Section */
.commitment-section {
  padding: 8rem 2rem;
  background-color: #f8fafc;
}

.section-header.centered {
  text-align: center;
  margin-bottom: 5rem;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 6rem;
}

.commitment-card {
  background-color: var(--white);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.commitment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.commitment-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  margin: 0 auto 2rem auto;
}

.icon-teal { background-color: #14b8a6; }
.icon-blue { background-color: #3b82f6; }
.icon-purple { background-color: #a855f7; }

.commitment-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.commitment-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Vision Box */
.vision-box {
  background-color: #f1f5f9;
  border-radius: 24px;
  padding: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.vision-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.vision-icon {
  width: 48px;
  height: 48px;
  background-color: #38bdf8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.vision-header h4 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dark-color);
}

.vision-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #334155;
  text-align: justify;
  margin-bottom: 3rem;
}

.highlight-blue {
  color: #0d9488;
  font-weight: 700;
}

.quote-card {
  background-color: var(--white);
  padding: 2.5rem 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.vision-quote {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 1.5rem;
  border: none;
  padding: 0;
}

.quote-author {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #0d9488;
  text-align: center;
}

/* Brands Section */
.brands-section {
  padding: 8rem 2rem;
  background-color: var(--white);
  overflow: hidden;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #f0fdfa;
  color: #0d9488;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  background-color: #f8fafc;
  padding: 2rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid var(--border-color);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  flex-shrink: 0;
}

.icon-white-blue { background-color: #38bdf8; }

.stat-info h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark-color);
  line-height: 1.2;
}

.stat-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Brands Carousel */
.brands-carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 6rem;
  padding: 2rem 0;
}

.brands-carousel-container::before,
.brands-carousel-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
}

.brands-carousel-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.brands-carousel-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.brands-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scroll-brands 40s linear infinite;
}

.brands-track:hover {
  animation-play-state: paused;
}

.brand-item {
  width: 280px;
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}

.brand-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #0d9488;
  background-color: #ffffff;
}

.brand-item img {
  max-width: 160px;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: grayscale(100%) opacity(0.7);
  transition: filter 0.3s ease;
}

.brand-item:hover img {
  filter: grayscale(0%) opacity(1);
}

.brand-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@keyframes scroll-brands {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 1.5rem)); }
}

/* Quality Box */
.quality-box {
  background-color: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 20px;
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.quality-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quality-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.quality-header h4 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color);
}

.quality-description {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 2.5rem;
}

.quality-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 3rem;
  max-width: 600px;
  margin: 0 auto;
}

.quality-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
  color: #0d9488;
}

.quality-item i {
  font-size: 1.2rem;
}

/* Business Sections */
.business-sections {
  padding: 8rem 2rem;
  background-color: var(--white);
}

.business-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.business-title {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.business-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.business-title h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark-color);
}

.business-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 2.5rem;
  text-align: justify;
}

.business-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.business-feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #475569;
}

.business-feature-list li i {
  color: #14b8a6;
  font-size: 1.4rem;
}

.products-highlight-box {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-color);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.highlight-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.highlight-header h4 {
  font-size: 1.15rem;
  font-weight: 700;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 3rem;
}

.highlight-list {
  list-style: disc;
  padding-left: 1.5rem;
  color: #64748b;
  font-size: 0.95rem;
}

.highlight-list li {
  margin-bottom: 0.5rem;
}

.btn-catalog {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  gap: 0.8rem;
}

.business-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.business-img {
  width: 100%;
  display: block;
}

.business-img-caption {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background-color: rgba(241, 245, 249, 0.9);
  padding: 1.5rem 2.5rem;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}

.business-img-caption h5 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.4rem;
}

.business-img-caption p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================
   CART SIDEBAR STYLES
   ========================================== */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -500px;
  width: 100%;
  max-width: 500px;
  height: 100%;
  background: white;
  z-index: 1001;
  box-shadow: -5px 0 25px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-cart {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s;
}

.close-cart:hover {
  color: var(--text-main);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  background: #f8fafc;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background: white;
}

/* Cart Item */
.cart-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  padding: 5px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.qty-control {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: 20px;
  padding: 0.2rem 0.5rem;
}

.qty-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  font-weight: bold;
}

.qty-btn:hover {
  color: var(--text-main);
}

.qty-input {
  width: 30px;
  text-align: center;
  background: none;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  pointer-events: none;
}

.remove-item {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.2rem;
  transition: opacity 0.3s;
}

.remove-item:hover {
  opacity: 0.7;
}

/* Product Detail Page */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.product-detail-actions-grid {
  grid-template-columns: 1fr 1fr;
}

/* Responsive constraints */
@media (max-width: 1600px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 1440px) {
  html {
    font-size: 14px;
  }
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 1366px) {
  html {
    font-size: 13.5px;
  }
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    display: grid !important;
  }
  .solutions-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .solutions-actions .btn {
    width: 100%;
  }

  .business-block {
    gap: 4rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 1024px) {
  .header-actions {
    display: none;
  }
  .mobile-header-actions {
    display: flex !important;
    align-items: center;
    gap: 0.8rem;
  }
  .mobile-menu-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-links {
    position: fixed;
    top: 85px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 85px);
    background-color: var(--white);
    flex-direction: column;
    padding: 2rem;
    transition: 0.3s ease-in-out;
    z-index: 999;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  }
  .nav-links.active {
    left: 0;
  }
  .nav-link {
    font-size: 1.2rem;
    padding: 1rem 0;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }
  .mobile-only-link {
    display: flex !important;
  }
  .mobile-contacto-link {
    border-bottom: none;
  }
  .solutions-card {
    flex-direction: column;
  }
  .solutions-image-side {
    height: 400px;
    width: 100%;
  }
  .expert-slider-container {
    height: 400px;
  }
  .container-expert {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .search-container {
    flex-direction: column;
  }

  .search-sidebar,
  .search-form-area {
    width: 100%;
  }
  .search-form-area {
    min-height: auto;
  }

  .dist-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    display: grid !important;
  }
}

@media (max-width: 768px) {
  main {
    zoom: 1; /* Restaurar el tamaño original en móviles para mejor legibilidad */
  }

  .products-grid {
    grid-template-columns: 1fr;
    display: grid !important;
  }

  .distribution-grid {
    grid-template-columns: 1fr;
  }

  .distribution-title {
    font-size: 1.8rem;
  }

  .solutions-content-side {
    padding: 2rem 1.5rem;
  }

  .solutions-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .solutions-actions .btn {
    width: 100%;
  }

  .expert-actions {
    flex-direction: column;
    width: 100%;
  }

  .expert-actions .btn {
    width: 100%;
  }

  .business-block {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .business-image-side {
    order: -1;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cart-sidebar {
    width: 100%;
    max-width: 100%;
    right: -100%;
  }
  
  .quality-list {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }

  .expert-title {
    font-size: 2.2rem;
  }

  .commitment-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-form-side,
  .contact-info-side {
    width: 100%;
    padding: 2rem !important;
  }

  .vision-box {
    padding: 2rem !important;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .brands-grid {
    grid-template-columns: 1fr;
  }

  .history-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .product-detail-actions-grid {
    grid-template-columns: 1fr;
  }
  
  .product-main-image {
    height: 350px !important;
  }

  .dist-grid {
    grid-template-columns: 1fr;
  }

  .cart-form-grid,
  .cart-actions-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Chatbot Window */
.chatbot-window {
  position: fixed;
  bottom: 100px;
  right: 2rem;
  width: 350px;
  height: 480px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  border: 1px solid var(--border-color);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  background: var(--primary-color);
  color: white;
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.chatbot-close:hover {
  transform: scale(1.1);
}

.chatbot-body {
  flex: 1;
  padding: 1.2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #f8fafc;
}

.chat-msg {
  max-width: 85%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
  animation: chatFadeIn 0.3s ease forwards;
}

@keyframes chatFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg.bot {
  background: white;
  color: var(--dark-color);
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 2px;
  align-self: flex-start;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.chat-msg.user {
  background: var(--primary-color);
  color: white;
  border-bottom-right-radius: 2px;
  align-self: flex-end;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.chat-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
  animation: chatFadeIn 0.3s ease forwards;
}

.chat-opt-btn {
  background: white;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.7rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.chat-opt-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 20px;
}
.typing-indicator span {
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

@media (max-width: 768px) {
  .chatbot-window {
    width: 90%;
    right: 5%;
    bottom: 80px;
    height: 60vh;
  }
}