/* ==========================================================================
   SER THEME - SITEORIGIN PAGE BUILDER UTILITIES & PRESETS
   Clases reutilizables configurables desde SiteOrigin Page Builder
   (Fila > Estilos > Clases CSS / Widget > Estilos > Clases CSS)
   ========================================================================== */

/* --- Fondos de Sección (Rows) --- */
.so-bg-cream {
  background-color: var(--color-bg-cream, #fdfcf9) !important;
}

.so-bg-white {
  background-color: #ffffff !important;
}

.so-bg-green-pale {
  background-color: #edf6e0 !important;
}

.so-bg-dark {
  background-color: #0d1527 !important;
  color: #ffffff;
}

.so-bg-darker {
  background-color: var(--color-footer-bg, #181818) !important;
  color: #a0a0a0;
}

/* --- Espaciados de Sección (Rows) --- */
.so-section-py {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.so-section-py-lg {
  padding-top: 7rem !important;
  padding-bottom: 7rem !important;
}

.so-section-py-sm {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* --- Contenedor y Centrado --- */
.so-container-center {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.so-section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: 48rem;
  margin: 0 auto 3rem auto;
}

/* --- Píldoras / Badges --- */
.so-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #4a7c12;
  background: #edf6e0;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid #cde9a6;
}

.so-pill-dark {
  background: rgba(130, 195, 65, 0.15);
  color: #82c341;
  border-color: rgba(130, 195, 65, 0.3);
}

/* --- Tipografía --- */
.so-title-display {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #1e2e21;
  line-height: 1.2;
  margin: 0;
}

.so-title-display-dark {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
}

.so-subtitle {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  max-width: 36rem;
}

.so-subtitle-dark {
  font-size: 0.9375rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
  max-width: 36rem;
}

/* --- Tarjetas (Widgets / Celdas) --- */
.so-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.so-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.so-card-dark {
  background: #152238;
  border: 1px solid #1e3352;
  border-radius: 1.25rem;
  padding: 1.75rem;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.so-card-green-pale {
  background: #edf6e0;
  border: 1px solid #d8f0c2;
  border-radius: 1.75rem;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* --- Botones --- */
.so-btn-primary {
  background: #82c341;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(130, 195, 65, 0.35);
  transition: background 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}

.so-btn-primary:hover {
  background: #71ae32;
  transform: translateY(-1px);
}

.so-btn-secondary {
  background: #ffffff;
  color: #1e293b !important;
  border: 1px solid #cbd5e1;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s ease;
}

.so-btn-secondary:hover {
  background: #f8fafc;
}

/* --- Footer Botones Sociales --- */
.footer-social-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: #2a2a2a;
  color: #c0c0c0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.footer-social-btn:hover {
  background-color: #3a3a3a;
  color: #ffffff;
  transform: translateY(-1px);
}

.footer-bottom-link {
  color: #777777;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-link:hover {
  color: #82c341;
}

/* --- Contact Form 7 Form Integration --- */
.ser-cf7-wrapper .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ser-cf7-wrapper .wpcf7-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.35rem;
}

.ser-cf7-wrapper .wpcf7-form input[type="text"],
.ser-cf7-wrapper .wpcf7-form input[type="email"],
.ser-cf7-wrapper .wpcf7-form input[type="tel"],
.ser-cf7-wrapper .wpcf7-form select,
.ser-cf7-wrapper .wpcf7-form textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid #cbd5e1;
  font-size: 0.8125rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.ser-cf7-wrapper .wpcf7-form input:focus,
.ser-cf7-wrapper .wpcf7-form select:focus,
.ser-cf7-wrapper .wpcf7-form textarea:focus {
  border-color: #82c341;
}

.ser-cf7-wrapper .wpcf7-submit {
  background: #82c341;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.ser-cf7-wrapper .wpcf7-submit:hover {
  background: #71ae32;
}
