/*==============================================================
# VA BRILL - SISTEMA DE DISEÑO CSS MODERNO V2
# Autor: Antigravity AI
# Colores principales: HSL Aqua, Teal y Menta (Frescura y Limpieza)
# Estética Premium: Fondos orgánicos, Bordes curvos y Animaciones
==============================================================*/

:root {
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Paleta de Colores HSL */
  --primary: hsl(174, 84%, 41%); /* Teal */
  --primary-hover: hsl(174, 84%, 33%);
  --primary-light: hsl(174, 84%, 95%);
  --secondary: hsl(190, 90%, 45%); /* Cyan */
  --accent: hsl(142, 70%, 45%); /* Verde Menta */
  --dark: hsl(218, 23%, 15%); /* Slate Oscuro */
  --dark-light: hsl(218, 15%, 25%);
  --light: hsl(180, 20%, 98%); /* Blanco Humo */
  --white: #ffffff;
  
  /* Gradientes Ricos */
  --grad-hero: linear-gradient(135deg, #e0f7f6 0%, #e0f2fe 50%, #f0fdf4 100%);
  --grad-section-1: linear-gradient(180deg, #f0fdf4 0%, #ccfbf1 100%);
  --grad-section-2: linear-gradient(180deg, #ccfbf1 0%, #99f6e4 100%);
  --grad-section-3: linear-gradient(180deg, #f0fdfa 0%, #e0f2fe 100%);
  --grad-primary: linear-gradient(135deg, hsl(174, 84%, 41%) 0%, hsl(190, 90%, 45%) 100%);
  
  /* Sombras y Bordes */
  --shadow-sm: 0 4px 12px rgba(13, 148, 136, 0.04);
  --shadow-md: 0 12px 36px rgba(13, 148, 136, 0.08);
  --shadow-lg: 0 20px 50px rgba(13, 148, 136, 0.14);
  --shadow-input: inset 0 2px 4px rgba(0, 0, 0, 0.02);
  --border-radius-sm: 12px;
  --border-radius-md: 24px; /* Mayor redondeado para quitar rigidez */
  --border-radius-lg: 32px;
  --border-color: rgba(13, 148, 136, 0.1);
  
  /* Transiciones */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

/* Reset y Estilos Globales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark-light);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}

section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Clases de Fondos Alternados para evitar el blanco excesivo */
.section-bg-hero {
  background: var(--grad-hero);
}

.section-bg-about {
  background: var(--grad-section-1);
}

.section-bg-products {
  background: var(--grad-section-2);
}

.section-bg-gallery {
  background: var(--grad-section-3);
}

.section-bg-contact {
  background: linear-gradient(180deg, #e0f2fe 0%, #f0fdfa 100%);
}

/* Blobs de Fondo Brillantes */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  -webkit-filter: blur(100px);
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}

.blob-primary {
  width: 400px;
  height: 400px;
  background-color: var(--primary);
  top: 10%;
  left: -150px;
}

.blob-secondary {
  width: 500px;
  height: 500px;
  background-color: var(--secondary);
  bottom: 10%;
  right: -200px;
}

.blob-accent {
  width: 300px;
  height: 300px;
  background-color: var(--accent);
  top: 40%;
  left: 50%;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 5;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  color: var(--dark);
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 5px;
  background: var(--grad-primary);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

.section-title p {
  font-size: 1.15rem;
  color: var(--dark-light);
  max-width: 650px;
  margin: 0 auto;
  font-weight: 500;
}

/* Efectos de Scroll Reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Botón Global */
.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--grad-primary);
  color: var(--white);
  border: none;
  border-radius: 50px; /* Bordes redondeados tipo píldora */
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.25);
  transition: var(--transition-smooth);
}

.btn-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.35);
  color: var(--white);
}

.btn-modern.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}

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

/* Navbar Estilo Glassmorphism */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  height: 75px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-color);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  background-color: var(--primary);
  bottom: 0;
  left: 0;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links li.active a::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links li.active a {
  color: var(--primary);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--dark);
  cursor: pointer;
}

/* Menu móvil drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background: var(--white);
  z-index: 1001;
  box-shadow: var(--shadow-lg);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  transition: var(--transition-smooth);
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-drawer .close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--dark);
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  display: block;
}

.mobile-nav-links li.active a,
.mobile-nav-links a:hover {
  color: var(--primary);
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Hero Section con Burbujas Animadas */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 5;
}

.hero-content h1 {
  font-size: 4.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-content h1 span {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.65rem;
  color: var(--primary-hover);
  margin-bottom: 28px;
  font-weight: 700;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 580px;
  color: var(--dark-light);
}

.hero-cta {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

/* Fila de Insignias / Features flotantes en el Hero */
.hero-badges-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badge-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(13, 148, 136, 0.15);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.hero-badge-card:hover {
  transform: translateY(-2px);
  background-color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.hero-badge-card i {
  font-size: 1.25rem;
  color: var(--primary);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.hero-image-wrapper img {
  border-radius: var(--border-radius-md); /* Redondeado curvo */
  box-shadow: var(--shadow-lg);
  max-height: 520px;
  object-fit: cover;
  animation: float-image 8s ease-in-out infinite;
  border: 4px solid var(--white);
}

/* Efecto de contenedor flotante detrás de la imagen */
.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-md);
  background: var(--grad-primary);
  opacity: 0.15;
  z-index: -1;
  animation: float-shadow 8s ease-in-out infinite;
}

@keyframes float-image {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}

@keyframes float-shadow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(15px) scale(0.97); }
}

/* Burbujas de jabón flotantes */
.bubbles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -100px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.4), 
              0 3px 14px rgba(13, 148, 136, 0.12);
  border-radius: 50%;
  animation: float-bubble 16s linear infinite;
}

.bubble::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 15%;
  width: 25%;
  height: 25%;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
}

@keyframes float-bubble {
  0% {
    transform: translateY(0) scale(0.8) rotate(0deg);
    opacity: 0;
    margin-left: 0;
  }
  10% { opacity: 0.9; }
  90% { opacity: 0.9; }
  100% {
    transform: translateY(-115vh) scale(1.3) rotate(360deg);
    opacity: 0;
    margin-left: 100px;
  }
}

/* Acerca de (About) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 70px;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
}

.about-img-wrapper img {
  border-radius: var(--border-radius-md); /* Redondeado curvo */
  box-shadow: var(--shadow-lg);
  width: 100%;
  border: 4px solid var(--white);
  transition: var(--transition-smooth);
}

.about-img-wrapper img:hover {
  transform: scale(1.03) rotate(-1deg);
}

.about-img-wrapper::before {
  content: '';
  position: absolute;
  top: -24px;
  left: -24px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--primary-light);
  border-radius: var(--border-radius-md);
  z-index: -1;
  transition: var(--transition-smooth);
}

.about-img-wrapper:hover::before {
  transform: translate(8px, 8px);
  border-color: var(--primary);
}

.about-content h3 {
  font-size: 2.1rem;
  margin-bottom: 24px;
  color: var(--primary-hover);
}

.about-content p {
  margin-bottom: 26px;
  font-size: 1.1rem;
  color: var(--dark-light);
}

.about-clients-title {
  margin-top: 36px;
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: var(--dark);
  font-weight: 700;
}

.about-clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 14px;
}

.client-tag {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: 50px; /* Píldora */
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.client-tag:hover {
  background-color: var(--white);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-md);
}

/* Productos (Catalogo) */
.products-controls {
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 10;
}

/* Buscador */
.search-wrapper {
  position: relative;
  max-width: 550px;
  margin: 0 auto;
  width: 100%;
}

.search-wrapper input {
  width: 100%;
  padding: 18px 24px 18px 60px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.search-wrapper input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 5px rgba(13, 148, 136, 0.15);
}

.search-wrapper i {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.5rem;
}

/* Filtros de categoria */
.category-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-filters button {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark-light);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.category-filters button:hover,
.category-filters button.active {
  background: var(--grad-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.25);
  transform: translateY(-2px);
}

/* Grid de Productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 35px;
  position: relative;
  z-index: 10;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md); /* Redondeado curvo */
  border: 1.5px solid rgba(13, 148, 136, 0.22);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(13, 148, 136, 0.18);
  border-color: var(--primary);
}

.product-img-container {
  height: 250px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-bottom: 1px solid rgba(13, 148, 136, 0.05);
}

.product-img-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px; /* Redondear bordes del bidón también */
  transition: var(--transition-smooth);
}

.product-card:hover .product-img-container img {
  transform: scale(1.08) rotate(1deg);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--primary-light);
  color: var(--primary-hover);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.product-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.product-info p {
  font-size: 0.925rem;
  color: var(--dark-light);
  margin-bottom: 24px;
  line-height: 1.6;
  flex-grow: 1;
}

/* Controles de Pedido (Carrito) */
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.quantity-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  border-radius: 50px; /* Selector tipo píldora */
  padding: 6px 8px;
  background-color: var(--light);
}

.quantity-btn {
  background: var(--white);
  border: 1px solid var(--border-color);
  width: 34px;
  height: 34px;
  border-radius: 50%; /* Botones circulares */
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-hover);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

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

.quantity-input {
  width: 50px;
  text-align: center;
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--dark);
}

.quantity-input:focus {
  outline: none;
}

.add-to-cart-btn {
  width: 100%;
  padding: 12px 20px;
  background-color: var(--primary-light);
  color: var(--primary-hover);
  border: 1px solid var(--primary-light);
  border-radius: 50px; /* Botón píldora */
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.add-to-cart-btn:hover {
  background: var(--grad-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 5px 15px rgba(13, 148, 136, 0.25);
  transform: translateY(-2px);
}

.add-to-cart-btn.added {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* Floating Cart Button */
.cart-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: var(--white);
  border: none;
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  transition: var(--transition-smooth);
}

.cart-floating-btn:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 14px 35px rgba(13, 148, 136, 0.5);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

/* Cart Sidebar Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -440px;
  width: 440px;
  max-width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 1002;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.cart-drawer.open {
  right: 0;
}

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

.cart-header h3 {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
}

.cart-header h3 i {
  color: var(--primary);
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--dark);
  cursor: pointer;
}

.cart-items-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cart-empty-message {
  text-align: center;
  padding: 50px 0;
  color: var(--dark-light);
}

.cart-empty-message i {
  font-size: 3.5rem;
  color: var(--border-color);
  margin-bottom: 20px;
  display: block;
}

/* Item de carrito */
.cart-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
  width: 65px;
  height: 65px;
  border-radius: var(--border-radius-sm);
  background-color: var(--light);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.cart-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--dark);
}

.cart-item-info p {
  font-size: 0.8rem;
  color: var(--primary-hover);
  font-weight: 700;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-item-qty {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
}

.cart-item-remove-btn {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1.25rem;
  padding: 4px;
  transition: var(--transition-fast);
}

.cart-item-remove-btn:hover {
  transform: scale(1.2);
}

/* Footer de Carrito con Boton Enviar */
.cart-footer {
  padding: 28px;
  border-top: 1px solid var(--border-color);
  background-color: var(--light);
}

.cart-note-wrapper {
  margin-bottom: 20px;
}

.cart-note-wrapper label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.cart-note-wrapper textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 0.9rem;
  resize: none;
  height: 70px;
}

.cart-note-wrapper textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.send-wa-btn {
  width: 100%;
  background-color: #25d366; /* WhatsApp Green */
  color: var(--white);
  border: none;
  padding: 16px 24px;
  border-radius: 50px; /* Píldora */
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transition: var(--transition-smooth);
}

.send-wa-btn:hover {
  background-color: #20ba5a;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

/* Galeria de Fotos */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.gallery-item {
  border-radius: var(--border-radius-md); /* Redondeado curvo */
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--white);
  background-color: var(--white);
  transition: var(--transition-smooth);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 148, 136, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-overlay i {
  color: var(--white);
  font-size: 2.5rem;
  transform: scale(0.7);
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

/* Lightbox de Galería */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 13, 24, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 12px 50px rgba(0,0,0,0.6);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 5px solid rgba(255,255,255,0.05);
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: -55px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  transform: scale(1.1);
  color: var(--primary);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: var(--transition-fast);
}

.lightbox-nav:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-50%) scale(1.05);
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

@media (max-width: 768px) {
  .lightbox-prev { left: 10px; background: rgba(0,0,0,0.5); }
  .lightbox-next { right: 10px; background: rgba(0,0,0,0.5); }
  .lightbox-close { right: 10px; top: 10px; background: rgba(0,0,0,0.5); border-radius: 50%; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem;}
}

/* Contacto (Contact) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
}

.contact-info-panel {
  background-color: var(--white);
  border-radius: var(--border-radius-md); /* Redondeado curvo */
  border: 1px solid var(--border-color);
  padding: 45px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-item {
  display: flex;
  gap: 22px;
}

.contact-info-item .icon-box {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.contact-info-item:hover .icon-box {
  background: var(--grad-primary);
  color: var(--white);
  transform: scale(1.05);
}

.contact-info-item h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--dark);
}

.contact-info-item p {
  font-size: 0.95rem;
  color: var(--dark-light);
}

.contact-map-wrapper {
  margin-top: 15px;
  border-radius: var(--border-radius-md); /* Redondeado curvo */
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 240px;
  display: block;
}

/* Formulario */
.contact-form-panel {
  background-color: var(--white);
  border-radius: var(--border-radius-md); /* Redondeado curvo */
  border: 1px solid var(--border-color);
  padding: 45px;
  box-shadow: var(--shadow-sm);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--light);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

.form-group .validate-msg {
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 4px;
  display: none;
}

.form-status {
  padding: 14px 24px;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  display: none;
  margin-bottom: 24px;
}

.form-status.loading {
  background-color: var(--primary-light);
  color: var(--primary-hover);
  border: 1px solid var(--primary-light);
  display: block;
}

.form-status.success {
  background-color: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  display: block;
}

.form-status.error {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  display: block;
}

/* Footer */
.site-footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 50px 0;
  border-top: 5px solid var(--primary);
  text-align: center;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.site-footer p {
  font-size: 0.95rem;
}

.site-footer strong {
  color: var(--white);
}

.site-footer a {
  color: var(--secondary);
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--white);
}

/* Animaciones y Transiciones */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  html { font-size: 15px; }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-badges-row {
    justify-content: center;
  }
  .hero-image-wrapper {
    order: -1;
  }
  .hero-image-wrapper img {
    max-height: 400px;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .about-img-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .navbar { height: 75px; }
  .nav-links { display: none; }
  .mobile-nav-toggle { display: block; }
  .hero-content h1 { font-size: 3rem; }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Botón Flotante Permanente de WhatsApp */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 1999;
  transition: var(--transition-smooth);
}

.whatsapp-floating-btn:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #20ba5a;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

.whatsapp-floating-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.4;
  z-index: -1;
  animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

