/* RESET Y CONFIGURACIÓN BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  transition: padding 0.3s ease;
}

.header.scrolled .container {
  padding: 12px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo-icon {
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: scale(1.1) rotate(10deg);
}

.header.scrolled .logo {
  color: #0f172a;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 4px 0;
}

.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #22c55e;
  transition: width 0.3s ease;
}

.nav a:not(.btn):hover::after {
  width: 100%;
}

.header.scrolled .nav a {
  color: #334155;
}

.nav a:hover {
  color: #22c55e;
}

.btn {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white !important;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
}

.header.scrolled .menu-toggle {
  color: #334155;
}

/* HERO SECTION - MODIFICADO SEGÚN TUS INDICACIONES */
.hero {
  min-height: 100vh;
  background: url("../images/cesped.jpg") center/cover no-repeat;
  padding: 140px 0 80px;
  color: white;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: block;
  max-width: 600px;
  margin-left: 10%;
}

.hero-content {
  animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  color: #22c55e;
  padding: 10px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(34, 197, 94, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
  color: #34d399;
  position: relative;
  display: inline-block;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(52, 211, 153, 0.3);
  z-index: -1;
  border-radius: 3px;
}

.hero p {
  margin: 24px 0 32px;
  line-height: 1.7;
  color: white;
  font-size: 1.1rem;
  max-width: 550px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5);
  gap: 12px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.hero-features {
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
  color: white;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  flex-wrap: wrap;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-features span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-features span i {
  color: #22c55e;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 5px;
}

/* SERVICES SECTION */
.services {
  padding: 120px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #22c55e, transparent);
}

.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.services-tag {
  color: #22c55e;
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 0.8rem;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 16px;
}

.services-header h2 {
  font-size: 2.8rem;
  margin: 16px 0 24px;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.2;
}

.services-header p {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-card {
  background: white;
  border-radius: 24px;
  padding: 40px 32px;
  border: 1px solid #eef2f7;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #eef2f7;
  transition: background 0.3s ease;
}

.service-card:hover::before {
  background: linear-gradient(90deg, #22c55e, #34d399);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

.service-card.featured {
  border: 2px solid #22c55e;
  background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 100%);
}

.service-card.featured::before {
  background: linear-gradient(90deg, #22c55e, #34d399);
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #22c55e;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.service-card:hover .icon {
  transform: scale(1.1) rotate(5deg);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1.1) rotate(5deg); }
  50% { transform: translateY(-10px) scale(1.1) rotate(5deg); }
}

.icon.green { background: #ecfdf5; color: #22c55e; }
.icon.mint { background: #f0fdf4; color: #16a34a; }
.icon.blue { background: #ecfeff; color: #0284c7; }
.icon.lime { background: #f7fee7; color: #65a30d; }
.icon.sky { background: #f0f9ff; color: #0ea5e9; }
.icon.orange { background: #fff7ed; color: #f97316; }

.service-card h3 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 1.4rem;
  font-weight: 600;
}

.service-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* PRICING SECTION */
.pricing {
  padding: 100px 0;
  background: white;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  color: #22c55e;
  font-weight: 600;
  letter-spacing: 3px;
  font-size: 0.8rem;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin: 16px 0 20px;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.2;
}

.section-header p {
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.7;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.pricing-card {
  background: white;
  border-radius: 24px;
  padding: 40px 32px;
  border: 2px solid #eef2f7;
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border-color: #22c55e;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #22c55e;
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eef2f7;
}

.pricing-header h3 {
  font-size: 1.5rem;
  color: #0f172a;
  margin-bottom: 10px;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: #0f172a;
  margin: 15px 0;
}

.price span {
  font-size: 1rem;
  color: #64748b;
  font-weight: 400;
}

.pricing-header p {
  color: #64748b;
  font-size: 0.95rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #64748b;
}

.pricing-features li i.fa-check {
  color: #22c55e;
}

.pricing-features li i.fa-times {
  color: #dc2626;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.pricing-note {
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-note i {
  color: #22c55e;
  margin-right: 8px;
}

/* OUR STORY SECTION */
.testimonials {
  padding: 100px 0;
  background: #f8fafc;
}

.story-card {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
}

.story-content {
  flex: 1;
  min-width: 300px;
}

.story-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;

  /* efecto pro */
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
  transition: 0.3s ease;
}

.story-icon:hover {
  transform: scale(1.08) rotate(3deg);
}

.story-content p {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.story-highlight {
  color: #0f172a;
  font-weight: 600;
  font-size: 1.08rem;
  margin-top: 10px;
}

.story-video {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* CONTENEDOR */
.video-box {
  position: relative;
  width: 260px;
  height: 460px;
}

/* VIDEO */
.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;

  position: relative;
  z-index: 1; /* 🔥 video abajo del overlay */

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.25),
    0 10px 25px rgba(34, 197, 94, 0.15);
}

/* 🔥 SOMBRA ENCIMA (AHORA SÍ SE VE) */
.video-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;

  background: rgba(0, 0, 0, 0.25);

  z-index: 2; /* 🔥 clave: encima del video */
  pointer-events: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .story-card {
    flex-direction: column;
    padding: 28px 22px;
    gap: 24px;
  }

  .story-content,
  .story-video {
    min-width: 100%;
  }

  .story-icon {
    margin-bottom: 18px;
  }
/* 🔥 ESTE ES EL IMPORTANTE */
  .story-video video {
    width: 100%;
    max-width: 300px;
    height: 520px;
    margin: 0 auto;
    display: block;
  }
}

/* CONTACT SECTION */
.contact {
  padding: 100px 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info .section-header {
  text-align: left;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: #f0fdf4;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text h4 {
  color: #0f172a;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-text p {
  color: #64748b;
  line-height: 1.6;
}

.contact-form {
  background: #f8fafc;
  padding: 40px;
  border-radius: 24px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  color: #475569;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.full-width {
  width: 100%;
}

.form-note {
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
  margin-top: 20px;
}

/* FOOTER */
.footer {
  background: #0f172a;
  color: white;
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-section h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 20px;
}

.footer-logo .logo-icon {
  font-size: 1.8rem;
}

.footer-section p {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #22c55e;
  transform: translateY(-3px);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #22c55e;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #cbd5e1;
  margin-bottom: 15px;
}

.contact-info li i {
  color: #22c55e;
  margin-top: 3px;
  width: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #334155;
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 10px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .services-header h2 {
    font-size: 2.4rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-info .section-header {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header .container {
    padding: 15px;
  }
  
  .nav {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero {
    padding: 120px 0 60px;
    text-align: center;
  }
  
  .hero .container {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  .hero-features {
    justify-content: center;
    gap: 20px;
  }
  
  .services {
    padding: 80px 0;
  }
  
  .services-header {
    margin-bottom: 60px;
  }
  
  .services-header h2 {
    font-size: 2rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-card.featured:hover {
    transform: scale(1) translateY(-5px);
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .service-card {
    padding: 32px 24px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
  }
  
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .badge {
    font-size: 0.8rem;
    padding: 8px 16px;
  }
  
  .contact-form {
    padding: 25px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .contact-info li {
    justify-content: center;
  }
}

/* NAV MOBILE ACTIVE */
.nav.active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  padding: 30px;
  gap: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.nav.active a {
  color: #334155;
  font-size: 1.1rem;
  padding: 10px 0;
  text-align: center;
}

.nav.active .btn {
  margin-top: 10px;
}

.header.scrolled .nav.active {
  top: 70px;
}

/* FIX PARA SERVICIOS - AGREGA ESTO AL FINAL DEL CSS */
.services-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 32px !important;
  margin-top: 40px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.service-card {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* BOTÓN FLOTANTE DE WHATSAPP - COMPLETO */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.whatsapp-button {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  position: relative;
  animation: pulse 2s infinite;
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
  cursor: pointer;
}

/* EFECTO DE PULSO - SÍ ESTÁ INCLUIDO */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-button:hover {
  transform: scale(1.1);
  background: #128C7E;
  animation: none; /* Se detiene el pulso al hacer hover */
}

.whatsapp-button:focus,
.whatsapp-button:active {
  outline: none !important;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
  border: none !important;
}

.whatsapp-button i {
  font-size: 32px;
  color: white;
}

/* ELIMINAR ESPACIOS EN BLANCO O ELEMENTOS VACÍOS QUE PUEDAN CAUSAR BORDES */
.whatsapp-float br,
.whatsapp-float span:empty,
.whatsapp-float div:empty {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-button {
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-button i {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-button {
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-button i {
    font-size: 26px;
  }
}

/* BOTONES DE IDIOMA */
.lang-emoji {
  font-size: 1.2rem;
  margin-left: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 20px;
  transition: all 0.2s ease;
  opacity: 0.7;
}

.lang-emoji.active-lang {
  opacity: 1;
  font-weight: 600;
  background-color: rgba(0, 0, 0, 0.05);
}

.lang-emoji:hover {
  background-color: rgba(0, 0, 0, 0.1);
  opacity: 1;
}

/* RESPONSIVE PARA MÓVIL */
@media (max-width: 992px) {
  .lang-emoji {
    font-size: 1rem;
    margin-left: 10px;
    padding: 3px 6px;
    gap: 4px;
  }
}

@media (max-width: 768px) {
  .lang-emoji {
    font-size: 0.9rem;
    margin-left: 8px;
    padding: 3px 5px;
  }
  
  .nav.active .lang-emoji {
    justify-content: center;
    width: 100%;
    margin-left: 0;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .lang-emoji {
    font-size: 0.85rem;
    padding: 2px 4px;
    gap: 3px;
  }
}