/* LB Asesoría – estilos del sitio. Sin frameworks ni fuentes externas. */

:root {
  --azul: #0f3644;        /* azul petróleo del logo */
  --bordo: #8a0a1b;       /* bordó del logo */
  --bordo-oscuro: #6a0715;
  --texto: #1f2a30;
  --texto-suave: #4a5860;
  --fondo: #ffffff;
  --fondo-alt: #f3f5f6;
  --borde: #dde3e6;
  --ancho: 64rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--fondo);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  color: var(--azul);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--bordo);
}

:focus-visible {
  outline: 3px solid #f5b400;
  outline-offset: 3px;
}

.contenedor {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 1rem;
}

.saltar {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.5rem 1rem;
  background: #fff;
  color: var(--azul);
  z-index: 10;
}

.saltar:focus {
  top: 1rem;
}

/* Encabezado */
.encabezado {
  background: var(--azul);
  color: #fff;
  text-align: center;
  padding: 2.5rem 0 3rem;
}

.logo {
  width: 220px;
  margin: 0 auto 1.25rem;
}

.encabezado h1 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
}

.encabezado h1 span {
  display: block;
  font-size: 0.5em;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-top: 0.35rem;
  opacity: 0.9;
}

.lema {
  font-size: 1.15rem;
  margin-bottom: 1.75rem;
}

.boton {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 0.4rem;
  background: var(--bordo);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
}

.boton:hover {
  background: var(--bordo-oscuro);
}

.encabezado .boton {
  border-color: #fff;
}

/* Secciones */
main > section {
  padding: 3rem 0;
}

.presentacion {
  max-width: 46rem;
  text-align: center;
}

.presentacion p {
  color: var(--texto-suave);
}

.tarjetas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 2.5rem;
}

.tarjeta {
  background: var(--fondo);
  border: 1px solid var(--borde);
  border-radius: 0.5rem;
  overflow: hidden;
}

.tarjeta img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.tarjeta h3,
.tarjeta p {
  padding: 0 1.25rem;
}

.tarjeta h3 {
  margin-top: 1.25rem;
  color: var(--azul);
}

.tarjeta p {
  color: var(--texto-suave);
  margin-bottom: 1.25rem;
}

.subtitulo {
  color: var(--azul);
}

.lista {
  margin: 0;
  padding-left: 1.25rem;
}

.lista li {
  margin-bottom: 0.4rem;
}

.lista li::marker {
  color: var(--bordo);
}

/* Contacto */
.contacto {
  background: var(--fondo-alt);
  text-align: center;
}

.contacto .email {
  margin-top: 1rem;
  color: var(--texto-suave);
  font-size: 0.95rem;
}

/* Pie */
.pie {
  background: var(--azul);
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.95rem;
}

.pie p {
  margin: 0;
}
