/* Fondo general páginas internas */
body.page {
  position: relative;
  background: url("/wp-content/themes/temagp-blocksy-child/images/fondo.png") no-repeat center center fixed;
  background-size: cover;
}


.hero-section {
  position: relative;
  z-index: 1;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 40, 34, 0.17));
  backdrop-filter: blur(6px);
  border-radius: 16px;
  z-index: -1;
}

/*Para darle efecto de transparencia a la imagen del fondo del titulo*/

.wp-block-group.has-background {
  position: relative;
  overflow: hidden;
}

.wp-block-group.has-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.7); /* Blanco semi-transparente */
  z-index: 1;
}

.wp-block-group.has-background > * {
  position: relative;
  z-index: 2;
}

/* Contenedor general de las 3 columnas */
.services-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem; /* espacio entre columnas */
  padding: 4rem 2rem;
  background: #f5f5f5; /* fondo claro */
}

/* Cada tarjeta individual */
.service-card {
  border-radius: 16px;          /* bordes redondeados */
  box-shadow: 0 8px 28px rgba(0,0,0,0.08); /* sombra sutil */
  padding: 2rem;
  flex: 1 1 300px;              /* ancho flexible mínimo 300px */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 40, 34, 0.17));
  backdrop-filter: blur(6px);
  border-radius: 16px;
  z-index: -1;
}


/* ===== FORMULARIO CONTACTO ELEGANTE ===== */
.page-id-280 .contact-form-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.75); /* Fondo blanco translúcido */
  backdrop-filter: blur(10px);           /* Efecto vidrio */
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem 2rem;
  width: 60%;                            /* ancho reducido */
  max-width: 800px;
  margin: 0 auto;                        /* centrado horizontal */
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  text-align: center;                    /* contenido al centro */
}

/* Títulos dentro del formulario */
.page-id-280 .contact-form-wrapper h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  text-align: center; /* título centrado */
}

/* Campos */
.page-id-280 .wpcf7-form input,
.page-id-280 .wpcf7-form textarea,
.page-id-280 .wpcf7-form select {
  border: 1px solid #ccc;
  background: rgba(255,255,255,0.9);
  border-radius: 10px;
  padding: 12px 15px;
  width: 100%;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #333;
  transition: all 0.3s ease;
}

/* Hover / focus */
.page-id-280 .wpcf7-form input:focus,
.page-id-280 .wpcf7-form textarea:focus,
.page-id-280 .wpcf7-form select:focus {
  border-color: #007BFF;
  box-shadow: 0 0 8px rgba(0,123,255,0.2);
  outline: none;
}

/* Botón */
.page-id-280 .wpcf7-form .wpcf7-submit {
  background: #D49258;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-id-280 .wpcf7-form .wpcf7-submit:hover {
  background: #bb7940;
  transform: translateY(-2px);
}

.circular-infographic {
  display: grid;
  place-items: center;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: conic-gradient(
    #d49258 0deg 60deg,
    #e5c7a3 60deg 120deg,
    #a5c3e8 120deg 180deg,
    #6a8fc7 180deg 240deg,
    #3f6a8f 240deg 300deg,
    #2e4f66 300deg 360deg
  );
  margin: 2rem auto;
  position: relative;
  color: white;
  font-weight: bold;
}
.circle-section {
  position: absolute;
  text-align: center;
  width: 120px;
  font-size: 0.9rem;
}
.circle-section:nth-child(1) { top: 20px; left: 50%; transform: translateX(-50%); }
.circle-section:nth-child(2) { top: 100px; right: 20px; }
.circle-section:nth-child(3) { bottom: 100px; right: 20px; }
.circle-section:nth-child(4) { bottom: 20px; left: 50%; transform: translateX(-50%); }
.circle-section:nth-child(5) { bottom: 100px; left: 20px; }
.circle-section:nth-child(6) { top: 100px; left: 20px; }
