/**
 * SDD26 Customizations - Estilos personalizados front-end
 * ─────────────────────────────────────────────────────────
 * Añade aquí tus estilos CSS personalizados.
 * Este archivo se carga en todas las páginas públicas del sitio.
 *
 * ORGANIZACIÓN SUGERIDA:
 * 1. Variables / overrides globales
 * 2. Header y navegación
 * 3. Hero / sección principal
 * 4. Secciones de servicios
 * 5. Portfolio
 * 6. Sobre mí
 * 7. Contacto
 * 8. Footer
 * 9. Utilidades y ajustes varios
 * ─────────────────────────────────────────────────────────
 */


/* ─────────────────────────────────────────────
   1. VARIABLES / OVERRIDES GLOBALES
   ───────────────────────────────────────────── */



/* ─────────────────────────────────────────────
   2. HEADER Y NAVEGACIÓN
   ───────────────────────────────────────────── */



/* ─────────────────────────────────────────────
   3. HERO / SECCIÓN PRINCIPAL
   ───────────────────────────────────────────── */

/* Cursor personalizado Hero — anillo metálico hueco + rastro de estrellitas */
#sdd26-cursor {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: sdd26pulse 1.2s ease-in-out infinite;
}

#sdd26-cursor::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2.5px;
    background: conic-gradient(
        #00f5a0 0deg,
        #00d9f5 90deg,
        #7b61ff 180deg,
        #00f5a0 360deg
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: sdd26rotate 2s linear infinite;
}

@keyframes sdd26pulse {
    0%   { transform: translate(-50%, -50%) scale(1); }
    50%  { transform: translate(-50%, -50%) scale(1.28); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

@keyframes sdd26rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Estrellitas del rastro */
.sdd26-star {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    font-size: 10px;
    line-height: 1;
    animation: sdd26starfade 0.7s ease-out forwards;
    user-select: none;
    transform-origin: center;
}

@keyframes sdd26starfade {
    0%   { opacity: 1;   transform: translate(-50%, -50%) scale(1)   rotate(0deg);   }
    100% { opacity: 0;   transform: translate(-50%, -130%) scale(0.2) rotate(60deg);  }
}



/* ─────────────────────────────────────────────
   4. SERVICIOS
   ───────────────────────────────────────────── */



/* ─────────────────────────────────────────────
   5. PORTFOLIO
   ───────────────────────────────────────────── */



/* ─────────────────────────────────────────────
   6. SOBRE MÍ
   ───────────────────────────────────────────── */



/* ─────────────────────────────────────────────
   7. CONTACTO
   ───────────────────────────────────────────── */
/* ── Formulario de contacto ────────────────── */
.wpforms-container .wpforms-field input,
.wpforms-container .wpforms-field textarea,
.wpforms-container .wpforms-field select {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
    font-family: 'Source Sans 3', sans-serif !important;
    background: #f9fafb !important;
    color: #111111 !important;
    width: 100% !important;
}

.wpforms-container .wpforms-field input:focus,
.wpforms-container .wpforms-field textarea:focus {
    border-color: #2563eb !important;
    outline: none !important;
    background: #fff !important;
}

.wpforms-container .wpforms-field label {
    font-size: 13px !important;
    font-weight: 500 !important;
    font-family: 'Source Sans 3', sans-serif !important;
    color: #111111 !important;
    margin-bottom: 7px !important;
}

.wpforms-container .wpforms-field-description {
    font-size: 12px !important;
    color: #9ca3af !important;
    font-family: 'Source Sans 3', sans-serif !important;
}

.wpforms-container .wpforms-submit-container button {
    background: #111111 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 9px !important;
    padding: 14px 28px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    font-family: Poppins, sans-serif !important;
    width: 100% !important;
    cursor: pointer !important;
}

.wpforms-container .wpforms-submit-container button:hover {
    background: #333333 !important;
}

.wpforms-required-label {
    color: #ef4444 !important;
}

.wpforms-field-checkbox ul {
    list-style: none !important;
    padding: 14px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    background: #f9fafb !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin: 0 !important;
}

.wpforms-field-checkbox ul li {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-direction: row !important;
    width: 100% !important;
}

.wpforms-field-checkbox ul li input[type="checkbox"] {
    width: 17px !important;
    min-width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    order: 1 !important;
}

.wpforms-field-checkbox ul li label {
    font-size: 14px !important;
    color: #4b5563 !important;
    font-family: 'Source Sans 3', sans-serif !important;
    font-weight: 400 !important;
    margin: 0 !important;
    order: 2 !important;
    flex: 1 !important;
    white-space: normal !important;
}

/* Email CTA hover */
.sdd26-email-cta:hover {
    color: #2563eb !important;
}

/*cambio de tamaño de email del cta para movil*/
@media (max-width: 430px) {
    .sdd26-email-cta {
        font-size: 32px !important;
        letter-spacing: -1px !important;
    }
}

/* ─────────────────────────────────────────────
   8. FOOTER
   ───────────────────────────────────────────── */



/* ─────────────────────────────────────────────
   9. UTILIDADES Y AJUSTES VARIOS
   ───────────────────────────────────────────── */
/* Ocultar pestaña flotante Complianz */
#cmplz-manage-consent {
    display: none !important;
}

/* Margen superior página de cookies Complianz */
#post-342{
    padding-top: 120px !important;
}
