/* ==================================================
   VARIABLES GLOBALES
================================================== */
:root {
  --fondo-base: #f8f9fa;
  --blanco-puro: #ffffff;
  --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 REAL
================================================== */
*,
*::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.6;
  overflow-x: hidden;
}
 
a,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}

 

/* ==================================================
   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
================================================== */
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;
}

/* ==================================================
   BOTONES
================================================== */
.pd-btn {
  display: inline-block;
  padding: 16px 32px;
  background-color: var(--rojo-acento);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
}

.pd-btn:hover {
  color: #ffffff;
}

.pd-btn,
.pd-btn span {
  color: #ffffff;
}

.pd-btn:hover,
.pd-btn:hover span {
  color: #ffffff;
}

/* ==================================================
   ESPACIADORES
================================================== */
.pd-spacer { height: 80px; }
.pd-spacer-lg { height: 120px; }
.pd-spacer-sm { height: 40px; }

/* ==================================================
   COLUMNAS UNIVERSALES
================================================== */
.pd-col-1 {
  display: block;
}

.pd-col-2,
.pd-col-3,
.pd-col-4 {
  display: grid;
  gap: 48px;
  width: 100%;
}

.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); }

/* ==================================================
   IMÁGENES EN COLUMNAS
================================================== */
.pd-col-2 img,
.pd-col-3 img,
.pd-col-4 img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Fix específico para rental */
.rental-imgs img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-width: none !important;
}

/* ==================================================
   PALETA DE 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); }

/* ==================================================
   ALINEACIÓN DE COLUMNAS
================================================== */
.pd-col-2 {
  align-items: center;
}

.pd-col-3 {
  align-items: start;
}

/* ==================================================
   RESPONSIVE MOBILE
================================================== */
@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; }

  /* UNA COLUMNA EN MOBILE */
  .pd-col-2,
  .pd-col-3,
  .pd-col-4 {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .pd-col-2 img,
  .pd-col-3 img,
  .pd-col-4 img {
    max-width: 100%;
    height: auto;
  }

  p {
    max-width: 100%;
    font-size: 1.1rem;
  }
}