/* Importación de fuentes */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --color-primary: #22443f;
  --color-secondary: #14ac93;
  --color-accent: #FF8500;
  --color-bg: #fdfbfb;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-muted: #888888;
  
  --font-heading: 'Fraunces', serif;
  --font-body: 'Open Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

/* Navbar */
.navbar-click {
  padding: 2px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand-name {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.nav-link-click {
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 15px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Floating WhatsApp Button */
.btn-whatsapp-fixed {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
  text-decoration: none !important;
}

.btn-whatsapp-fixed:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  color: #fff;
}

.btn-whatsapp-fixed svg {
  width: 35px;
  height: 35px;
  fill: #fff;
}

@keyframes pulse-whatsapp {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Hero Slider */
.hero-section {
  position: relative;
  height: 85vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #eee; /* Fondo base mientras carga */
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slider .slide {
  width: 100%;
  height: 85vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.9) 30%, rgba(255,255,255,0) 100%);
  z-index: 5;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-muted);
  margin-bottom: 35px;
}

.btn-primary-click {
  background: var(--color-accent);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  box-shadow: 0 10px 20px rgba(255, 133, 0, 0.3);
  transition: all 0.3s;
}

.btn-primary-click:hover {
  transform: scale(1.05);
  background: var(--color-primary);
}

/* Features */
.section-padding { padding: 100px 0; }

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
}

.feature-card {
  text-align: center;
  padding: 40px 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform 0.3s;
  height: 100%;
}

.feature-card:hover { transform: translateY(-10px); }

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 172, 147, 0.1);
  border-radius: 50%;
}

.feature-icon img { width: 45px; height: 45px; }

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.feature-desc { color: var(--color-muted); font-size: 0.95rem; }

/* Categories Visual Cards */
.category-card {
  position: relative;
  display: block;
  height: 380px;
  border-radius: 25px;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  margin-bottom: 30px; /* Espacio extra entre filas */
}

.category-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 40%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.85);
}

.category-name {
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white !important;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  z-index: 2;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  transition: transform 0.4s ease;
}

/* Hover Effects */
.category-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  z-index: 50; /* Mucho más alto para asegurar estar encima */
}

.category-card:hover .category-img {
  transform: scale(1.05);
  filter: brightness(1);
}

.category-card:hover .category-name {
  transform: scale(1.05);
}

/* Active / Pressed State */
.category-card:active {
  transform: scale(0.96);
  transition: all 0.1s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .category-card { height: 280px; }
  .category-name { font-size: 1.4rem; top: 20px; }
}

/* Pricing Section */
.pricing-section {
  background: #fdfdfd;
  padding: 100px 0;
}

.pricing-card {
  background: white;
  border-radius: 30px;
  padding: 50px 30px;
  text-align: center;
  border: 1px solid #f0f0f0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.pricing-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.pricing-card.featured {
  border: 2px solid var(--color-primary);
  box-shadow: 0 15px 40px rgba(20, 172, 147, 0.15);
  transform: scale(1.05);
  z-index: 10;
}

.pricing-card.featured:hover {
  transform: scale(1.08) translateY(-15px);
}

.featured-label {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 5px 25px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-name { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 15px; color: var(--color-dark); }
.plan-price { font-size: 3.5rem; font-weight: 900; color: var(--color-primary); margin-bottom: 30px; }
.plan-price span { font-size: 1.2rem; color: #999; font-weight: 400; }

.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  text-align: left;
  flex-grow: 1;
}

.plan-features li {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #666;
  display: flex;
  align-items: center;
}

.plan-features li::before {
  content: '✓';
  color: var(--color-primary);
  margin-right: 12px;
  font-weight: 900;
  font-size: 1.2rem;
}

@media (max-width: 991px) {
  .pricing-card.featured { transform: none; margin: 30px 0; }
  .pricing-card.featured:hover { transform: translateY(-15px); }
}

/* Footer Area CSS Fixes */
footer {
  background: #111;
  color: #eee;
  padding: 60px 0 20px;
}

.footer-brand { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 20px; display: block; }
