/*
Theme Name: MiWebsite.co Theme
Theme URI: https://miwebsite.co/
Author: Tu Nombre
Author URI: https://tuwebsite.com/
Description: Tema personalizado para MiWebsite.co basado en el diseño HTML.
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-logo, custom-menu
Text Domain: miwebsitetheme
*/

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff; /* Fondo blanco */
    color: #1e293b; /* Color de texto oscuro para contraste */
}

h1, h2, h3, h4 {
    font-family: 'Manrope', sans-serif;
}

.content-prose h2 {
    font-size: 1.5rem; /* 24px */
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

 .content-prose p, .content-prose li {
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.content-prose ul {
    list-style-position: inside;
    padding-left: 1.5rem;
}

/* Estilos del Footer adaptados a fondo blanco */
footer {
    background-color: #f1f5f9; /* Un gris muy claro para el footer */
    color: #475569; /* Texto más oscuro para el footer */
}

footer h4 {
    color: #1e293b; /* Títulos del footer más oscuros */
}

footer a {
    color: #475569;
}

footer a:hover {
    color: #64748b;
}

footer .border-t {
    border-color: #e2e8f0;
}

/* --- Estilos Modernos para Formularios --- */

/* Contenedores de formularios */
.wpcf7-form,
div.wpforms-container-full .wpforms-form,
.gform_wrapper {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
}

/* Contenedores de campos */
.wpcf7-form-control-wrap,
.wpforms-field,
.gform_wrapper .gfield {
    margin-bottom: 1.5rem;
    padding: 0; 
}

/* Etiquetas */
label,
.wpforms-field-label,
.gform_wrapper .gfield_label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
}

/* Estilos para todos los campos de entrada */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
textarea,
select,
.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper textarea,
.gform_wrapper select {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    line-height: 1.5;
    color: #1f2937 !important;
    background-color: #f9fafb !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* --- Estados de Foco --- */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus,
.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
    outline: none !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
}

/* --- Placeholder --- */
::placeholder {
    color: #9ca3af;
    opacity: 1;
}

/* --- Flecha para Select --- */
select,
.gform_wrapper select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 0.5rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.5em 1.5em !important;
    padding-right: 2.5rem !important;
}

/* --- Botón de Envío --- */
input[type="submit"],
button[type="submit"],
.wpcf7-submit,
.wpforms-submit,
.gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type=submit] {
    display: inline-block !important;
    font-weight: 600 !important;
    text-align: center !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    user-select: none !important;
    border: 1px solid transparent !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
    border-radius: 0.5rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
    color: #ffffff !important;
    background-image: linear-gradient(to right, #6366f1, #8b5cf6) !important;
    width: auto !important;
}

input[type="submit"]:hover,
button[type="submit"]:hover,
.wpcf7-submit:hover,
.wpforms-submit:hover,
.gform_wrapper .gform_footer input.button:hover,
.gform_wrapper .gform_footer input[type=submit]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

input[type="submit"]:focus,
button[type="submit"]:focus,
.wpcf7-submit:focus,
.wpforms-submit:focus,
.gform_wrapper .gform_footer input.button:focus,
.gform_wrapper .gform_footer input[type=submit]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}
