/* ================================
   HUMAN — CONTABLE
================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
}

h1, h2, h3 {
  font-family: 'Anton', sans-serif;
  letter-spacing: 1px;
}

h1 {
  font-size: 60px;
  line-height: 1.05;
}

h2 {
  font-size: 42px;
  line-height: 1.1;
}

h3 {
  font-size: 24px;
}

/* ===== VARIABLES ===== */

:root {
  --hero: #014aab;
  --institutional: #1712AA;

  --bg1: #86c7ec;
  --bg2: #c7d8e6;

  --light: #FCFCFC;

  --text-dark: #1a1a1a;
  --text-light: #ffffff;

  --shadow-soft: 0 10px 30px rgba(0,0,0,0.08);
}

/* =========================
   HERO CON IMAGEN (NO TOCAR)
========================= */

.lb-hero-contable.hero-img {
  background: var(--hero);
  color: var(--text-light);
}

.lb-hero-contable.hero-img .lb-hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.lb-hero-contable.hero-img .lb-hero-text {
  max-width: 520px;
}

.lb-hero-contable.hero-img h1 {
  font-size: 56px;
  line-height: 1.08;
  margin-bottom: 20px;
}

.lb-hero-contable.hero-img p {
  font-size: 18px;
  margin-bottom: 25px;
}

.lb-hero-contable.hero-img .lb-hero-img img {
  max-width: 480px;
}

/* =========================
   HERO SLIDE (CORRECTO)
========================= */

.lb-hero-contable.hero-slide {
  padding: 0;           /* ← elimina el aire */
  overflow: hidden;
}

/* TRACK */
.lb-hero-slide-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* SLIDES */
.lb-hero-slide {
  min-width: 100%;
}

/* IMAGEN COMPLETA */
.lb-hero-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   HERO SIN IMAGEN (NO TOCAR)
========================= */

.lb-hero-contable.hero-text {
  background: var(--hero);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 120px);
  text-align: center;
}

.lb-hero-contable.hero-text .lb-hero-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  width: 100%;
}

.lb-hero-contable.hero-text .lb-hero-text {
  width: 100%;
}

.lb-hero-contable.hero-text .lb-btn {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
}
/* BOTÓN (UN SOLO BLOQUE, limpio) */

.lb-btn {
  display: inline-block;
  padding: 16px 36px;
  background: var(--institutional);
  color: var(--text-light); /* ← corregido */
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  margin-top: 20px;
  transition: all 0.25s ease;
}

.lb-btn:hover {
  background: var(--hero);
  transform: translateY(-2px);
}

.lb-hero-contable .lb-btn {
  margin-top: 25px;
}

.lb-service-box .lb-btn {
  margin-top: 30px;
  align-self: center;
}
/* BASE */
img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   CUADRADA (1:1)
========================= */
.lb-img-square {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* =========================
   HORIZONTAL (16:9)
========================= */
.lb-img-horizontal {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* =========================
   VERTICAL (4:5)
========================= */
.lb-img-vertical {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
/* SECCIÓN COMO TRABAJAMOS */

.seccion-como-trabajamos {
  background: var(--bg2);
  padding: 80px 0 100px;
}

/* TEXTO SUPERIOR */
.seccion-como-trabajamos .lb-container {
  text-align: center;
}

.seccion-como-trabajamos .lb-text-medium {
  max-width: 700px;
  margin: 0 auto 40px;
}

/* GRID (UNA SOLA DEFINICIÓN) */
.seccion-como-trabajamos .lb-grid.lb-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;

  /* evita desborde */
  max-width: 1100px;
  margin: 0 auto;
}

/* CAJAS (UNA SOLA DEFINICIÓN) */
.seccion-como-trabajamos .lb-box {
  background: var(--light);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  text-align: center;

  /* evita que el contenido rompa columnas */
  min-width: 0;
}

/* títulos */
.seccion-como-trabajamos .lb-box h3 {
  margin-bottom: 15px;
}

/* texto */
.seccion-como-trabajamos .lb-box p {
  line-height: 1.5;
}
/* =========================================
   DAMERO CONTABLE
========================================= */
.planes-damero {
  background: #014aab; /* ← cambio de fondo */
  padding: 80px 0;
}

.titulo-planes {
  text-align: center;
  margin-bottom: 60px;
  color: var(--text-light); /* contraste */
}

/* FILAS */
.planes-damero .fila {
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 50px;
  border-radius: 12px;

  box-sizing: border-box; /* ← CLAVE */
  overflow: hidden;       /* ← evita que sobresalga */

  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.planes-damero .fila:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* COLORES */
.planes-damero .fila-1,
.planes-damero .fila-3 {
  background: var(--bg2);
}

.planes-damero .fila-2 {
  background: var(--light);
}

/* DAMERO */
.planes-damero .lb-damero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px; /* un poco menos agresivo */
  align-items: center;
}

/* EVITA QUE ALGO ROMPA LA COLUMNA */
.planes-damero .lb-damero > div {
  min-width: 0;
}

/* IMAGEN */
.planes-damero .lb-damero-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
}

.planes-damero .lb-damero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.planes-damero .fila:hover .lb-damero-img img {
  transform: scale(1.05);
}

/* TEXTO */
.planes-damero .lb-damero-text {
  width: 100%;
  line-height: 1.6;
}

.planes-damero .lb-damero-text h3 {
  margin-bottom: 20px;
}

.planes-damero .lb-damero-text p {
  margin-bottom: 20px;
}

/* LISTA */
.planes-damero .lb-list {
  margin-bottom: 25px;
}

.planes-damero .lb-list li {
  margin-bottom: 8px;
}

/* BOTÓN */
.planes-damero .lb-damero-text .lb-btn {
  margin-top: 10px;
  display: inline-block;
  transition: transform 0.25s ease;
}

.planes-damero .lb-damero-text .lb-btn:hover {
  transform: translateY(-2px);
}
/* =========================================
   CONTACTO
========================================= */

#contacto {
  background: var(--institutional);
  padding: 80px 0;
}

/* TÍTULO */
#contacto h2 {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 40px;
}

/* FORM */
.lb-form {
  max-width: 800px;
  margin: 0 auto;
}

/* GRID INPUTS */
.lb-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* INPUTS */
.lb-form input,
.lb-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 6px;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  outline: none;
}

/* TEXTAREA */
.lb-form textarea {
  min-height: 120px;
  resize: none;
  margin-bottom: 20px;
}

/* BOTÓN CENTRADO */
.lb-form .lb-btn {
  display: block;
  margin: 0 auto;
}

/* HOVER SUTIL EN INPUT */
.lb-form input:focus,
.lb-form textarea:focus {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
}
/* =========================================
   RESPONSIVE
========================================= */

/* TABLET */
@media (max-width: 1024px){

  /* DAMERO */
  .planes-damero .lb-damero{
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .planes-damero .fila{
    padding: 40px;
  }

  /* TEXTO */
  .planes-damero .lb-damero-text{
    text-align: left;
  }

  /* IMAGEN */
  .planes-damero .lb-damero-img{
    aspect-ratio: 1 / 1;
  }

  /* GRID COMO TRABAJAMOS */
  .seccion-como-trabajamos .lb-grid.lb-grid-3{
    grid-template-columns: 1fr 1fr;
  }

  /* FORM */
  .lb-form-grid{
    grid-template-columns: 1fr 1fr;
  }
}


/* MOBILE */
@media (max-width: 600px){

  h1{ font-size: 38px; }
  h2{ font-size: 30px; }
  h3{ font-size: 20px; }

  /* DAMERO */
  .planes-damero{
    padding: 60px 20px;
  }

  .planes-damero .fila{
    padding: 30px;
    margin-bottom: 40px;
  }

  .planes-damero .lb-damero{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* ORDEN: imagen arriba siempre */
  .planes-damero .lb-damero-img{
    order: -1;
  }

  /* COMO TRABAJAMOS */
  .seccion-como-trabajamos{
    padding: 60px 20px;
  }

  .seccion-como-trabajamos .lb-grid.lb-grid-3{
    grid-template-columns: 1fr;
  }

  /* FORM */
  .lb-form-grid{
    grid-template-columns: 1fr;
  }

  .lb-form{
    padding: 0 10px;
  }
  
}
.wpp-float{
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 999;
}

.wpp-float img{
  width: 100%;
  height: 100%;
}