/* =========================================
   VARIABLES Y RESETS (VERDE MANZANA #8DB600)
   ========================================= */
:root {
  --primary: #8DB600;       
  --primary-dark: #6e8e00;  
  --dark-title: #2C3E50;    
  --dark-footer: #1A1A1A;   
  --white: #FFFFFF;
  --bg-soft: #F7F9F8;       
  --text-dark: #4A4A4A;     
  --text-muted: #6C757D;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .hero-title {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.5px;
}
/* =========================================
   BOTONES FLOTANTES DE CONTACTO (Fijos abajo a la derecha)
   ========================================= */

/* --- Bot¨®n de WhatsApp (Fondo) --- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366; /* Verde oficial de WhatsApp */
  color: #FFF;
  border-radius: 50px;
  font-size: 35px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  color: #FFF;
  transform: scale(1.1);
  text-decoration: none;
}

/* Animaci¨®n latido WhatsApp */
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Bot¨®n de Llamada (Arriba del de WhatsApp) --- */
.call-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 115px; /* Distancia para quedar justo arriba del de WhatsApp */
  right: 40px;
  background-color: var(--primary); /* Verde del sitio web */
  color: #FFF;
  border-radius: 50px;
  font-size: 28px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  animation: pulse-call 2s infinite;
}

.call-float:hover {
  background-color: var(--dark-title);
  color: #FFF;
  transform: scale(1.1);
  text-decoration: none;
}

/* Animaci¨®n latido Llamada */
@keyframes pulse-call {
  0% { box-shadow: 0 0 0 0 rgba(141, 182, 0, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(141, 182, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(141, 182, 0, 0); }
}


/* =========================================
   ESTILOS GENERALES Y TIPOGRAFÃA
   ========================================= */
.img-fluid { max-width: 100%; height: auto; }
.rounded-lg { border-radius: 12px !important; }
.rounded-pill { border-radius: 50px !important; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.8; }
.tracking-wider { letter-spacing: 1px; }

.font-weight-light { font-weight: 300 !important; }
.font-weight-medium { font-weight: 500 !important; }
.font-weight-bold { font-weight: 700 !important; }
.font-weight-bolder { font-weight: 800 !important; }

.opacity-9 { opacity: 0.9; }
.opacity-8 { opacity: 0.8; }
.opacity-7 { opacity: 0.7; }
.opacity-20 { opacity: 0.2; }
.z-index-2 { z-index: 2; }

/* Textos de colores */
.text-primary { color: var(--primary) !important; }
.text-dark-title { color: var(--dark-title) !important; }
.text-shadow { text-shadow: 0px 4px 10px rgba(0,0,0,0.6); }

/* Fondos */
.bg-primary { background-color: var(--primary) !important; }
.bg-light-primary { background-color: rgba(141, 182, 0, 0.1); }
.bg-light-soft { background-color: var(--bg-soft) !important; }
.bg-dark-footer { background-color: var(--dark-footer) !important; }

.section-title {
  font-size: 2.2rem;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .section-title { font-size: 2.8rem; }
}

/* =========================================
   COMPONENTES (BOTONES)
   ========================================= */
.btn { font-family: 'Montserrat', sans-serif; transition: all 0.3s ease-in-out; }
.btn-primary { background-color: var(--primary); border-color: var(--primary); color: var(--white); }
.btn-primary:hover, .btn-primary:focus { background-color: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); box-shadow: 0 5px 15px rgba(141, 182, 0, 0.4); }

.btn-outline-dark { color: var(--dark-title); border-color: var(--dark-title); font-weight: 700;}
.btn-outline-dark:hover { background-color: var(--dark-title); color: white; }

.btn-light { background-color: white; border-color: white; color: var(--primary-dark) !important; }
.btn-light:hover { background-color: #f8f9fa; transform: translateY(-3px); }

/* =========================================
   ANIMACIONES CSS
   ========================================= */
.hover-scale { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-scale:hover { transform: scale(1.04); }

.card-hover { transition: transform 0.4s ease, box-shadow 0.4s ease; cursor: default; }
.card-hover:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important; }

.transform-up { transform: translateY(-30px); margin-bottom: -30px; }

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}
.icon-float { animation: float 3s ease-in-out infinite; }

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.icon-pulse i { animation: pulse 2.5s ease-in-out infinite; }

@keyframes floatLarge {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}
.img-floating { animation: floatLarge 5s ease-in-out infinite; }

.avatar-container { overflow: hidden; transition: all 0.4s; }
.avatar-a { transition: transform 0.5s ease; }
.avatar-container:hover .avatar-a { transform: scale(1.1); }

/* =========================================
   SECCIONES ESPECÃFICAS
   ========================================= */
.navbar { border-bottom: 1px solid rgba(0, 0, 0, 0.05); }

/* LOGO MÃS GRANDE */
.img-logo { 
  max-height: 70px; /* Aumentado desde 40px para mayor protagonismo */
  transition: all 0.3s ease;
}

/* Hero Section (Fondo LOCAL 'header.jpg' y textos siempre blancos) */
.hero-section {
  min-height: 85vh;
  /* El gradiente oscuro asegura que el texto blanco siempre se lea bien sobre header.jpg */
  background: linear-gradient(rgba(20, 30, 25, 0.0), rgba(20, 30, 25, 0.0)), url('header.jpg') no-repeat center center/cover;
  background-color: #222;
  background-attachment: fixed;
}
.hero-section * { color: var(--white) !important; } /* Fuerza que todo el bloque de texto sea blanco */

/* ExcepciÃ³n para el badge superior y botones dentro del hero para no romper sus colores */
.hero-section .badge { color: var(--dark-title) !important; }
.hero-section .btn-primary { color: var(--white) !important; }

.hero-title { font-size: 2.8rem; line-height: 1.1; }
@media (min-width: 768px) {
     .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 30px;
  }
  
  .call-float {
    width: 50px;
    height: 50px;
    bottom: 85px; /* Ajuste proporcional para celulares */
    right: 20px;
    font-size: 24px;
  }
  .hero-title { font-size: 4rem; }
}

.shape-blob {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 110%;
  height: 110%;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: 1;
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
  67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

.pillar-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-decor {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  z-index: 1;
}
.circle-1 { width: 300px; height: 300px; top: -100px; left: -100px; }
.circle-2 { width: 400px; height: 400px; bottom: -150px; right: -50px; }