/* Estilos generales */




/* VARIABLES */

:root {
       --color-naranja: #ffa600;
       --color-negro: black;
       --color-blanco: #ffffff;
       --color-verde:rgb(38, 119, 38);
     }


body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f5f5;
    line-height: 1.6;
}

/* RESALTADO DE TEXTO */
.resaltado {
    color: var(--color-verde);
}


.encabezado {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    overflow: hidden;
}
.fondo-encabezado {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px);
}
.texto-superpuesto {
    position: absolute;
    color: white;
    font-size: 40px;
    font-weight: bold;
    text-shadow: 2px 2px 5px black;
    z-index: 2;
}
.logo-dronometro {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 80px;
    height: auto;
    z-index: 2;
}

.inicio {
    background-color: #F5F5F5;
    padding: 4rem 2rem;
    text-align: center;
}

.contenedor-bienvenida {
    max-width: 1100px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e6e6e6;
}



.titulo-principal {
    font-size: 2.5rem;
    color: var(--color-verde);
    margin-bottom: 1rem;
}

.parrafo-intro {
    font-size: 1.2rem;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.boton-comenzar {
    display: inline-block;
    background: linear-gradient(to right, #4CAF50, #2E7D32);
    color: white;
    font-weight: 600;
    padding: 0.8rem 2.2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.boton-comenzar:hover {
    transform: scale(1.05);
    background: linear-gradient(to right, #ffa600, #e67e22);
}

.seccion-como-funciona {
    background-color: #ffffff;
    padding: 3rem 2rem;
    text-align: center;
}

.titulo-secundario {
    font-size: 2rem;
    color: var(--color-verde);
    margin-bottom: 2rem;
    position: relative;
}
.titulo-secundario::after {
    content: "";
    width: 60px;
    height: 3px;
    background-color: var(--color-verde);
    display: block;
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.pasos {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.paso {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.paso:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.paso-numero {
    font-size: 1.8rem;
    color: var(--color-verde);
    margin-bottom: 0.5rem;
    
}

.paso-texto {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

 /* animacion de entrada  */      

.pasos .paso {
    opacity: 0;
    transform: translateY(20px);
    animation: entrada 0.6s ease forwards;
}

.pasos .paso:nth-child(1) { animation-delay: 0.2s; }
.pasos .paso:nth-child(2) { animation-delay: 0.4s; }
.pasos .paso:nth-child(3) { animation-delay: 0.6s; }

@keyframes entrada {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MEJOR ESPACIADO ENTRE SECCIONES */
.inicio > section {
    margin-bottom: 4rem;
}

/* Para dispositivos grandes: mostrar los pasos en fila */

@media (min-width: 768px) {
    .pasos {
        flex-direction: row;
    }
}




/*formulario */

    .formulario {
      max-width: 900px;
      margin: 2rem auto;
      background-color: white;
      padding: 2rem;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    .formulario label {
      font-weight: 600;
      display: block;
      margin: 1rem 0 0.5rem;
    }
    .formulario select, .formulario input[type="number"] {
      width: 100%;
      padding: 0.5rem;
      font-size: 1rem;
      border: 1px solid #ccc;
      border-radius: 8px;
    }
    .formulario .boton-comenzar {
      margin-top: 2rem;
    }



    /*estilos para graficas*/

    
    .card-resultado {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.titulo-resultado {
  font-size: 1.5rem;
  color: #2e7d32;
  margin-bottom: 15px;
  text-align: center;
}

.lista-ahorros {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.lista-ahorros li {
  padding: 10px;
  margin-bottom: 5px;
  background-color: #f1f8e9;
  border-left: 5px solid #66bb6a;
  border-radius: 5px;
  font-size: 1rem;
}

.impacto-final {
  font-size: 1.2rem;
  color: #37474f;
  font-weight: bold;
  margin-top: 15px;
  text-align: center;
}




/*estilos para tabla de regresion lineal*/

.tabla-regresion {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.tabla-regresion th, .tabla-regresion td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}

.tabla-regresion th {
  background-color: #f2f2f2;
}


/*estilos para tabla */
.tabla-dron {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.tabla-dron th, .tabla-dron td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}

.tabla-dron th {
  background-color: #f0f0f0;
}