/* ======================================================
   ASEGURANET - Paleta y estilos de marca
   ====================================================== */

:root {
  --color-primary: #26447A;   /* Azul corporativo */
  --color-secondary: #78B65E; /* Verde seguridad */
  --color-light: #FFFFFF;     /* Blanco base */
  --color-dark: #1B1B1B;
  --font-main: 'Poppins', 'Montserrat', sans-serif;
}

/* ====== Tipografía general ====== */
body {
  font-family: var(--font-main);
  color: var(--color-dark);
  background-color: var(--color-light);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 700;
}

/* ====== Header ====== */
.header {
  background-color: var(--color-primary);
}

.header .logo h1 {
  color: var(--color-light);
  font-weight: 800;
  letter-spacing: 1px;
}

/* ====== Botones ====== */
.btn-get-started,
button,
input[type="submit"] {
  background-color: var(--color-secondary);
  border: none;
  color: var(--color-light);
  font-weight: 600;
  transition: 0.3s;
}

.btn-get-started:hover,
button:hover,
input[type="submit"]:hover {
  background-color: var(--color-primary);
  color: var(--color-light);
}

/* ====== Links ====== */
a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-secondary);
}

/* ====== Secciones ====== */
.section-title h2 {
  color: var(--color-primary);
  border-bottom: 3px solid var(--color-secondary);
  display: inline-block;
  padding-bottom: 8px;
}

.section-title p {
  color: #555;
}

/* ====== Footer ====== */
.footer {
  background-color: var(--color-primary);
  color: var(--color-light);
}

.footer a {
  color: var(--color-secondary);
}

.footer a:hover {
  color: var(--color-light);
}

/* ======================================================
   HERO ASEGURANET - Azul sólido con líneas diagonales animadas
   ====================================================== */

.hero {
  background-color: #26447A; /* Azul corporativo */
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.08) 0px,
    rgba(255,255,255,0.08) 1px,
    transparent 1px,
    transparent 40px
  );
  background-size: 80px 80px;
  color: var(--color-light);
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  animation: bgMove 20s linear infinite; /* Animación suave */
}

/* Animación del patrón */
@keyframes bgMove {
  from { background-position: 0 0; }
  to { background-position: 80px 80px; }
}

/* ===== Texto del Hero ===== */
.hero h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-light);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  color: #f3f3f3;
  font-size: 1.25rem;
  margin-top: 10px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

/* ===== Botón ===== */
.hero .btn-get-started {
  background-color: var(--color-secondary);
  border: none;
  border-radius: 50px;
  padding: 12px 40px;
  font-weight: 600;
  color: var(--color-light);
  transition: 0.3s ease;
}

.hero .btn-get-started:hover {
  background-color: var(--color-light);
  color: var(--color-primary);
  box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

/* ===== Sección About ===== */
.about .card {
  border-top: 4px solid var(--color-secondary);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 100%;
}

.about .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.about .card h4 {
  font-weight: 700;
}

.about img {
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

/* Espaciado y orden */
.about .row.g-4 {
  --bs-gutter-y: 2rem;
}

.about ul li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* ===== Ajuste más fino en sección Valores/Principios ===== */
.about-valores {
  --bs-gutter-x: 0.5rem; /* antes era 1rem, reducimos más el espacio entre columnas */
}

.about-valores .col-lg-6:first-child {
  display: flex;
  justify-content: flex-end;
}

.about-valores img {
  max-width: 90%;     /* acercamos visualmente el celular */
  margin-right: -10px; /* lo empuja ligeramente hacia los textos */
  height: auto;
  transition: transform 6s ease-in-out, box-shadow 0.3s ease-in-out;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.about-valores img:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

@media (max-width: 992px) {
  .about-valores {
    --bs-gutter-x: 0; /* sin margen horizontal en móvil */
  }
  .about-valores img {
    margin: 0 auto 20px;
    max-width: 100%;
  }
}

.service-item:hover {
  transform: translateY(-5px);
  transition: 0.3s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  line-height: 60px;
  z-index: 100;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
.whatsapp-float:hover { background-color: #1EBE5D; }

