/* Bloques de contenido: secciones, grid, tipografía base */

:root {
  --container-max: 1200px;
  --sp-1: 12px;
  --sp-2: 20px;
  --sp-3: 32px;
  --sp-4: 48px;
}

.section {
  padding: var(--sp-4) var(--sp-2);
}

.section-alt {
  background: #ffffff;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.split-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-3);
  align-items: center;
}

.split-content.reverse {
  /* En vistas genéricas (home) invertimos el flujo visual */
  grid-template-columns: 0.9fr 1.1fr;
  direction: rtl;
}

.split-content.reverse > * {
  direction: ltr;
}

.content-text h1,
.content-text h2,
.content-text h3 {
  font-family: 'Bodoni Moda', serif;
  color: #000;
  margin-bottom: var(--sp-2);
}

.content-text p { color: #555; line-height: 1.75; }

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.button-group .btn,
.btn.btn-primary,
.btn.btn-large,
.btn {
  display: inline-block;
  background: #292929;
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 3px;
  transition: opacity .2s ease;
}

.btn:hover { opacity: .85; }

/* Imagen a ancho completo */
.full-image-section img,
.full-width-image {
  width: 100%;
  height: auto;
  display: block;
}

.image-overlay { position: relative; color: #fff; }
.image-overlay .overlay-content { padding: var(--sp-4) 0; }

@media (max-width: 980px) {
  .split-content,
  .split-content.reverse {
    grid-template-columns: 1fr;
  }
}
