/* ==================================================
   VARIABLES GLOBALES
================================================== */
:root {
  --fondo-base: #e5eef1;

  --texto-oscuro: #16232B;
  --texto-claro: #e5eef1;

  --rojo-acento: #ed343b;
  --verde-sec: #085056;
  --azul-corp: #16232B;

  --pad-section-desktop: 80px;
  --pad-box-desktop: 80px;

  --pad-section-mobile: 56px;
  --pad-box-mobile: 40px;
}

/* ==================================================
   RESET
================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background-color: var(--fondo-base);
  color: var(--texto-oscuro);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ==================================================
   CONTENEDORES
================================================== */
.pd-section {
  padding: var(--pad-section-desktop) 0;
  background-color: var(--fondo-base);
}

.pd-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.pd-box {
  width: 100%;
  padding: var(--pad-box-desktop);
}

/* ==================================================
   TEXTO / HEADING / TEXT EDITOR
================================================== */
h1, h2, h3 {
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--rojo-acento);
  margin-bottom: 24px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 32px;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

p {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* ==================================================
   IMÁGENES
================================================== */
.pd-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==================================================
   BOTONES
================================================== */
.pd-btn {
  display: inline-block;
  padding: 16px 32px;
  background-color: var(--rojo-acento);
  color: var(--texto-claro);
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
}

.pd-btn:hover {
  background-color: var(--azul-corp);
}

/* ==================================================
   DIVIDER
================================================== */
.pd-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(0,0,0,0.15);
  margin: 48px 0;
}

/* ==================================================
   ICON / IMAGE BOX / ICON BOX
================================================== */
.pd-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.pd-image-box img {
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.pd-icon-box {
  text-align: center;
}

.pd-icon-box img {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

/* ==================================================
   ESPACIADORES NEUTROS (AIRE REAL)
================================================== */
.pd-spacer {
  width: 100%;
  height: 80px;
  background-color: var(--fondo-base);
}

.pd-spacer-lg { height: 120px; }
.pd-spacer-sm { height: 40px; }

/* ==================================================
   SEPARADOR NEUTRO
================================================== */
.pd-sep {
  width: 100%;
  height: 120px;
  background-color: var(--fondo-base);
}

/* ==================================================
   GRILLAS / COLUMNAS
================================================== */
.pd-col-1 { display: block; }

.pd-col-2,
.pd-col-3,
.pd-col-4 {
  display: grid;
  gap: 48px;
}

.pd-col-2 { grid-template-columns: repeat(2, 1fr); }
.pd-col-3 { grid-template-columns: repeat(3, 1fr); }
.pd-col-4 { grid-template-columns: repeat(4, 1fr); }

/* ==================================================
   PALETA DE COLORES (BLOQUES)
================================================== */
.pd-box-azul  { background-color: var(--azul-corp);  color: var(--texto-claro); }
.pd-box-verde { background-color: var(--verde-sec); color: var(--texto-claro); }
.pd-box-rojo  { background-color: var(--rojo-acento); color: var(--texto-claro); }
.pd-box-hueso { background-color: var(--fondo-base); color: var(--texto-oscuro); }

/* ==================================================
   RESPONSIVE
================================================== */
@media (max-width: 768px) {

  .pd-section { padding: var(--pad-section-mobile) 0; }
  .pd-box { padding: var(--pad-box-mobile); }

  .pd-spacer { height: 56px; }
  .pd-spacer-lg { height: 72px; }
  .pd-spacer-sm { height: 32px; }

  .pd-col-2,
  .pd-col-3,
  .pd-col-4 {
    grid-template-columns: 1fr;
  }

  p {
    max-width: 100%;
    font-size: 1.1rem;
  }
}
