/* ============================================
   LAYOUT.CSS — DogNavi Clean Premium Build
   ============================================ */


/* ----------------------------
   CONTENEDOR GLOBAL
   ---------------------------- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}


/* ----------------------------
   SECCIONES GENERALES
   ---------------------------- */

section {
  padding: 4rem 2rem;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #33423b;
}

.section-header p {
  font-size: 1.1rem;
  color: #667e6d;
  margin-top: 0.5rem;
}


/* ----------------------------
   GRID GLOBAL (Reutilizable)
   ---------------------------- */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}


/* ----------------------------
   GRID RESPONSIVE
   ---------------------------- */

@media (max-width: 960px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}


/* ----------------------------
   ESPACIADOS REUTILIZABLES
   ---------------------------- */

.mt-1 { margin-top: 0.8rem; }
.mt-2 { margin-top: 1.6rem; }
.mt-3 { margin-top: 2.4rem; }
.mt-4 { margin-top: 3.2rem; }
.mt-5 { margin-top: 4rem; }

.mb-1 { margin-bottom: 0.8rem; }
.mb-2 { margin-bottom: 1.6rem; }
.mb-3 { margin-bottom: 2.4rem; }
.mb-4 { margin-bottom: 3.2rem; }
.mb-5 { margin-bottom: 4rem; }

.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }
.pt-3 { padding-top: 3rem; }

.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
.pb-3 { padding-bottom: 3rem; }


/* ----------------------------
   UTILIDADES
   ---------------------------- */

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.w-100 { width: 100% !important; }

.hidden { display: none !important; }

/* Espaciado entre secciones grandes */
.section-break {
  height: 4rem;
}


/* ----------------------------
   FONDO GLOBAL DEL SITIO
   ---------------------------- */

body {
  background-color: #F4EDE4; /* tu fondo base */
  position: relative;
}

/* Overlay del patrón */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/fondo.webp');
  background-repeat: repeat;
  background-size: 750px;  /* ajusta tamaño */
  opacity: 0.08;           /* <--- controla transparencia */
  pointer-events: none;
  z-index: -1;
}