/* ==========================================================================
   CONFIGURACIÓN, VARIABLES Y FUENTES
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap");

:root {
  --main-color: #406da1; /* azul celeste institucional */
  --main-color-light: #3b82f6; /* azul más claro */
  --main-color-dark: #1e40af; /* azul más oscuro */
  --accent-color: #f8f9fa; /* texto claro */
  --secondary-color: #6c757d; /* gris medio */
  --gold-color: #ffd700; /* dorado para detalles */
}

/* ==========================================================================
   ESTILOS BASE (HTML & BODY)
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  opacity: 0; /* Controlado por JS para el fade-in */
  transition: opacity 0.7s ease;
}

/* Evitar espacios raros al final de la página */
html,
body,
footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ==========================================================================
   ESTRUCTURA Y SECCIONES (Lo que estaba en Layout)
   ========================================================================== */
section {
  scroll-margin-top: 80px; /* Para que el menú no tape el título al scrollear */
}

#contacto {
  scroll-margin-top: 90px;
}

/* ==========================================================================
   COMPONENTES Y UTILIDADES
   ========================================================================== */

/* Botón de WhatsApp flotante */
/* Estilos modernos para el botón de WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  left: 30px; /* ACÁ ESTÁ LA MAGIA: lo ancla a la izquierda */
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Efecto al pasar el mouse por encima */
.whatsapp-float:hover {
  background-color: #20b858;
  color: #FFF;
  transform: scale(1.1);
  box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.5);
}

/* Ajuste para celulares (lo hace un poquito más chico) */
@media screen and (max-width: 767px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    left: 20px;
  }
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* Imagen zoom */
.img-zoom {
  transition: transform 0.4s ease;
}

.img-zoom:hover {
  transform: scale(1.05);
}

/* Forzar azul institucional de Bootstrap */
.text-primary {
  color: var(--main-color) !important;
}

/* ==========================================================================
   TIPOGRAFÍA Y LECTURA GLOBAL 
   ========================================================================== */

/* Clase para párrafos largos (como historia o descripciones) */
.texto-lectura {
  line-height: 1.8; /* Espacio óptimo entre líneas */
  color: #444; /* Gris oscuro para no cansar la vista */
  font-size: 1.05rem; /* Tamaño equilibrado */
  margin-bottom: 1.5rem;
  text-align: justify; /* Alineación limpia */
  hyphens: auto; /* Evita huecos blancos grandes */
}

/* Títulos más imponentes y limpios */
h1,
h2,
h3 {
  color: var(--main-color);
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

/* Estilo para destacar conceptos (como ORI y AXÉ) */
.destacado-azul {
  color: var(--main-color);
  font-weight: 700;
  border-left: 4px solid var(--main-color);
  padding-left: 15px;
  margin: 20px 0;
  background-color: rgba(64, 109, 161, 0.05);
  padding: 15px;
}


/* Separador sutil */
hr {
  border: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 0, 0, 0.1),
    transparent
  );
  margin: 40px 0;
}

/* Estilo para listas de ítems cortos (Partes, accesorios, etc.) */
.lista-items {
    list-style: none; /* Quitamos el punto por defecto */
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.lista-items li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.5; /* Un poco más compacto que el 1.8 de los párrafos */
    font-size: 1rem;
    color: #444;
}

/* Agregamos un ícono de flechita o punto azul personalizado */
.lista-items li::before {
    content: "\F285"; /* Ícono de flecha de Bootstrap Icons */
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    color: var(--main-color);
    font-weight: bold;
    font-size: 0.9rem;
}

/* Para resaltar la palabra clave inicial (como Arame, Cabaca, etc.) */
.lista-items li strong {
    color: var(--main-color);
    font-weight: 700;
    text-transform: capitalize;
}

/* ==========================================================================
   FOOTER LIMPIO
   ========================================================================== */
footer {
  border-bottom: none !important;
}

footer .container,
footer p,
footer ul {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
