/* Base Styles */
:root {
  /* Nueva paleta de colores */
  --primary-dark: #1a2942; /* Azul marino oscuro (reemplaza el teal) */
  --primary: #b22222; /* Rojo oscuro/burdeos */
  --primary-hover: #8b0000; /* Rojo burdeos más oscuro */
  --primary-light: #f08080; /* Rosa/coral */

  --secondary-dark: #2c3e50; /* Azul oscuro complementario */
  --secondary: #34495e; /* Azul medio complementario */
  --secondary-hover: #2c3e50; /* Azul oscuro hover */

  --accent: #e32636; /* Rojo brillante */

  --black: #000000; /* Negro */
  --gray-dark: #555555; /* Gris oscuro */
  --gray: #888888; /* Gris medio */
  --gray-light: #bbbbbb; /* Gris claro */
  --white: #ffffff; /* Blanco */

  /* Colores de texto */
  --text: #111827;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;

  /* Colores de fondo */
  --bg-dark: var(--primary-dark);
  --bg-light: #f9fafb;

  /* Otros colores */
  --success: #10b981;
  --success-hover: #059669;
  --danger: #ef4444;
  --danger-hover: #dc2626;
  --warning: #f59e0b;
  --warning-hover: #d97706;
  --info: #3b82f6;
  --info-hover: #2563eb;
  --whatsapp: #25d366;
  --whatsapp-hover: #128c7e;

  /* Bordes y sombras */
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 1.5rem;
  --border-radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --transition: all 0.3s ease;
}

html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  min-width: 320px; /* Establecer un ancho mínimo para evitar que la web se achique demasiado */
  overflow-x: hidden; /* Evitar scroll horizontal */
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  line-height: 1.5;
  padding-top: 4rem;
  background-color: var(--white);
  width: 100%;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  min-width: 320px; /* Asegurar que el contenedor no sea más pequeño que el ancho mínimo */
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
}

.section-description {
  color: var(--text-light);
  max-width: 32rem;
}

.section-divider {
  width: 5rem;
  height: 0.25rem;
  background-color: var(--primary);
  margin: 1rem 0 1.5rem;
}

.text-center {
  text-align: center;
}

.text-center .section-divider {
  margin-left: auto;
  margin-right: auto;
}

.text-center .section-description {
  margin-left: auto;
  margin-right: auto;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--border-radius-full);
  margin-bottom: 1rem;
}

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

.badge-secondary {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  line-height: 1.5;
  gap: 0.5rem;
}

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

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

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--gray-light);
}

.btn-outline:hover {
  background-color: var(--bg-light);
  border-color: var(--primary);
  color: var(--primary);
}

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

.btn-light:hover {
  background-color: var(--bg-light);
}

.btn-rounded {
  border-radius: var(--border-radius-full);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* Header - Profesional, fondo blanco, textos azul marino, logo centrado */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 5rem;
  background-color: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 2px 12px 0 rgba(26, 41, 66, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s, height 0.3s;
}

.header.scrolled {
  box-shadow: 0 4px 16px 0 rgba(26, 41, 66, 0.12);
  height: 4rem;
}

/* Header layout: left (info), center (logo), right (menu) */
.header-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 2.5rem;
  gap: 1rem;
}

/* Left: Professional info or CTA */
.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: var(--primary-dark);
  font-weight: 500;
  opacity: 0.85;
}
.header-left .header-icon {
  color: var(--primary);
  font-size: 1.3rem;
  margin-right: 0.5rem;
}
.header-left .header-cta {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: var(--border-radius-full);
  padding: 0.3rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  margin-left: 0.5rem;
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.header-left .header-cta:hover {
  background: linear-gradient(90deg, var(--primary-hover), var(--primary));
}

/* Center: Logo */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
}

.logo-image {
  height: 3.5rem;
  object-fit: contain;
  transition: height 0.3s;
}

.header.scrolled .logo-image {
  height: 2.5rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.03em;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  transition: font-size 0.3s;
}

.header.scrolled .logo-text {
  font-size: 1.25rem;
}

/* Right: Desktop navigation */
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: none;
    border-radius: var(--border-radius-full);
    padding: 0.5rem 1rem;
    box-shadow: 0 1px 8px rgba(26,41,66,0.04);
  }
}

.nav-link {
  font-weight: 600;
  color: var(--primary-dark);
  background: none;
  border: none;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: color 0.2s;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  border-radius: var(--border-radius-full);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width 0.3s;
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header.scrolled .nav-link {
  color: var(--primary-dark);
}

/* Add subtle hover effect for professional look */
.nav-link {
  box-shadow: 0 1px 4px rgba(26,41,66,0.03);
}
.nav-link:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary-light);
}

/* Hamburger menu button - right side */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-dark);
  font-size: 2.2rem;
  border-radius: var(--border-radius-full);
  box-shadow: 0 2px 8px rgba(26,41,66,0.07);
  padding: 0.5rem;
  transition: color 0.2s, background 0.2s;
}

.mobile-menu-btn:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.header.scrolled .mobile-menu-btn {
  color: var(--primary-dark);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile menu styles */
.mobile-menu {
  padding: 1rem 0;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: 1rem;
  position: absolute;
  top: 5rem;
  right: 2.5rem;
  min-width: 220px;
  z-index: 100;
  animation: fadeIn 0.3s ease;
}

.header.scrolled .mobile-menu {
  top: 4rem;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 1.5rem;
}

.mobile-nav .nav-link {
  color: var(--primary-dark);
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  border-radius: var(--border-radius-full);
  transition: background 0.2s, color 0.2s;
}

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

.hidden {
  display: none;
}

/* Add underline animation for active nav-link */
.nav-link.active::after {
  width: 100%;
}

/* Subtle shadow for header on scroll for market-ready look */
.header.scrolled {
  box-shadow: 0 6px 24px 0 rgba(26, 41, 66, 0.14);
}

/* Responsive improvements for header */
@media (max-width: 640px) {
  .header-content {
    padding: 0 1rem;
    grid-template-columns: 1fr auto 1fr;
  }
  .logo-text {
    font-size: 1.1rem;
  }
  .logo-image {
    height: 2.2rem;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background-color: var(--black);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 41, 66, 0.9), rgba(26, 41, 66, 0.7)); /* Gradiente con el nuevo color azul marino */
  z-index: 10;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/placeholder.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 20;
  max-width: 48rem;
  margin-top: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--gray-light);
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(to top, var(--primary-dark), transparent);
  z-index: 10;
}

.hero-quote {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 20;
  display: none;
}

@media (min-width: 1024px) {
  .hero-quote {
    display: block;
  }
}

.quote-box {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 1.5rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 20rem;
}

.quote-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

/* Features Section */
.features-section {
  padding: 4rem 0;
  background-color: var(--white);
}

@media (min-width: 768px) {
  .features-section {
    padding: 6rem 0;
  }
}

.section-header {
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--secondary);
  color: var(--white);
  border-radius: var(--border-radius-full);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.feature-description {
  color: var(--text-light);
}

/* About Section */
.about-section {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

@media (min-width: 768px) {
  .about-section {
    padding: 6rem 0;
  }
}

.about-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
}

.about-image-container {
  order: 2;
}

@media (min-width: 768px) {
  .about-image-container {
    order: 1;
  }
}

.about-image {
  position: relative;
  height: 25rem;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

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

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 41, 66, 0.6), transparent);
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.image-caption p {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 500;
}

.about-content {
  order: 1;
}

@media (min-width: 768px) {
  .about-content {
    order: 2;
  }
}

.about-text {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.stat-card {
  background-color: var(--white);
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  color: var(--text-light);
}

/* Products Section */
.products-section {
  padding: 4rem 0;
  background-color: var(--white);
}

@media (min-width: 768px) {
  .products-section {
    padding: 6rem 0;
  }
}

.section-header-flex {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
  text-align: center; /* Centrar los textos */
}

.section-header-flex .section-divider {
  margin-left: auto;
  margin-right: auto;
}

.section-header-flex .section-description {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .section-header-flex {
    flex-direction: column; /* Mantener en columna para centrar */
    align-items: center;
  }

  /* Botón de "Ver todos los productos" */
  .section-header-flex .btn {
    margin-top: 1.5rem;
  }
}

.products-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: none;
}

.product-card:hover {
  box-shadow: var(--shadow-xl);
}

.product-image {
  position: relative;
  height: 14rem;
  width: 100%;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-content {
  padding: 1.5rem;
  background-color: var(--white);
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.product-description {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Partners Section */
.partners-section {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

@media (min-width: 768px) {
  .partners-section {
    padding: 6rem 0;
  }
}

.marquee-container {
  width: 100%;
  overflow: hidden;
}

.marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-logo {
  flex-shrink: 0;
  margin: 0 2rem;
  height: 8rem;
  width: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  color: var(--gray-dark);
  font-weight: 500;
  font-size: 1.25rem;
  text-align: center;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Location Section */
.location-section {
  padding: 4rem 0;
  background-color: var(--white);
}

@media (min-width: 768px) {
  .location-section {
    padding: 6rem 0;
  }
}

.location-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: none;
  margin-top: 2rem;
}

.location-map {
  height: 25rem;
  width: 100%;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-light);
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 2rem;
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background-color: var(--white);
}

@media (min-width: 768px) {
  .contact-section {
    padding: 6rem 0;
  }
}

/* Nuevos estilos para las pestañas de contacto */
.contact-options {
  max-width: 800px;
  margin: 0 auto;
}

.contact-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .contact-tabs {
    flex-direction: row;
    gap: 0;
  }
}

.contact-tab {
  flex: 1;
  padding: 1rem;
  background-color: var(--bg-light);
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .contact-tab:first-child {
    border-radius: var(--border-radius) 0 0 0;
  }

  .contact-tab:last-child {
    border-radius: 0 var(--border-radius) 0 0;
  }
}

.contact-tab.active {
  background-color: var(--white);
  border-bottom-color: var(--white);
  color: var(--primary);
}

.tab-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-tab-content {
  display: none;
}

.contact-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos para el formulario de contacto */
.contact-form-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: none;
}

.card-header {
  background-color: var(--primary-dark);
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.card-subtitle {
  color: var(--gray-light);
  margin-top: 0.5rem;
}

.card-body {
  padding: 1.5rem;
}

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

.form-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
}

.form-input,
.form-textarea {
  padding: 0.75rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  font-size: 1rem;
  width: 100%;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--danger);
}

.form-textarea {
  min-height: 7.5rem;
  resize: none;
}

.form-note {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

/* Estilos para la tarjeta de WhatsApp */
.whatsapp-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: none;
}

.whatsapp-header {
  background-color: var(--whatsapp);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.whatsapp-header-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--white);
}

.whatsapp-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.whatsapp-body {
  padding: 1.5rem;
}

.whatsapp-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.whatsapp-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  background-color: var(--bg-light);
  padding: 1.25rem;
  border-radius: var(--border-radius);
}

.whatsapp-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.whatsapp-info-icon {
  color: var(--whatsapp);
}

.whatsapp-info-label {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text);
}

.whatsapp-info-value {
  color: var(--text-light);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: var(--whatsapp);
  color: var(--white);
  border-radius: var(--border-radius-full);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(2.5rem);
}

.whatsapp-float.visible {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float:hover {
  background-color: var(--whatsapp-hover);
  transform: scale(1.1);
}

.whatsapp-float-icon {
  width: 2rem;
  height: 2rem;
}

/* Footer - Versión más profesional */
.footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

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

.footer-info {
  margin-bottom: 1.5rem;
}

.footer-description {
  color: var(--gray-light);
  margin-bottom: 1.5rem;
  max-width: 25rem;
  line-height: 1.6;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-light);
}

.footer-contact-icon {
  color: var(--primary-light);
  flex-shrink: 0;
}

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

.footer-nav-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-nav-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 2px;
  background-color: var(--primary);
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-link {
  color: var(--gray-light);
  transition: var(--transition);
  display: inline-block;
}

.footer-nav-link:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.copyright {
  color: var(--gray-light);
  font-size: 0.875rem;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: var(--border-radius-full);
  transition: var(--transition);
}

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

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  min-width: 20rem;
  transform: translateY(100%);
  opacity: 0;
  transition: var(--transition);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.toast-title {
  font-weight: 600;
}

.toast-description {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Products Page Specific Styles */
.products-page {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .products-page {
    padding: 4rem 0;
  }
}

.back-button {
  margin-bottom: 1.5rem;
}

.products-header {
  margin-bottom: 3rem;
  text-align: center;
}

.page-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

@media (min-width: 768px) {
  .page-title {
    font-size: 3rem;
  }
}

.page-description {
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1rem;
}

.products-sections {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.product-section {
  scroll-margin-top: 5rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Arreglo para el botón de WhatsApp en la sección de contacto */
.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

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

.btn-whatsapp .whatsapp-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Estilos adicionales para la sección de productos mejorada */

/* Hero Section para Productos */
.products-page {
  padding: 4rem 0;
}

.products-header {
  margin-bottom: 3rem;
  text-align: center;
}

.page-description {
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1rem;
}

.product-section {
  margin-bottom: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.product-section:first-child {
  border-top: none;
}

/* CTA mejorado para la página de productos */
.contact-cta {
  margin: 5rem 0;
  background-color: var(--bg-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .cta-container {
    flex-direction: row;
    align-items: stretch;
  }
}

.cta-content {
  padding: 3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.cta-description {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-image-container {
  flex: 1;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  display: none;
}

@media (min-width: 768px) {
  .cta-image-container {
    display: block;
  }
}

.cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* Mejoras para las tarjetas de productos */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.product-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.1));
  z-index: 1;
  pointer-events: none;
}

.product-content {
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.product-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  min-height: 4.5rem;
}

/* Mejoras para la sección de encabezado de productos */
.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.section-divider {
  width: 5rem;
  height: 0.25rem;
  background-color: var(--primary);
  margin: 1rem auto 1.5rem;
}

.section-description {
  color: var(--text-light);
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Loading and error states */
.loading-message {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
}

.error-message {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--danger);
}

.error-message p {
  margin-bottom: 1rem;
}
/* Adding styles to darken the background video for better text readability */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.4) contrast(1.2); /* Darkens the video significantly */
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}



.container {
  position: relative;
  z-index: 2;
}

.hero-content {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Adds text shadow for better readability */
}

/* Sección productos - contenedor de nuestros productos */
.hero-content{
      color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 200px;
}
.hero-overlay2 {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* Creates a dark overlay */
  z-index: 10;
  pointer-events: none;
}