/*
Theme Name:   Astra Child
Theme URI:    
Description:  Child theme para proyectos base con Elementor
Author:       Sergio Suñer
Author URI:   https://sergiosuner.com
Template:     astra
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  astra-child
*/

/* ==========================================================================
   ESTILOS GLOBALES BASE
   ========================================================================== */

/* Reset básico */
* {
    box-sizing: border-box;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Body defaults */
body {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   UTILIDADES
   ========================================================================== */

/* Ocultar en móvil */
@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Ocultar en desktop */
@media (min-width: 768px) {
    .hide-desktop {
        display: none !important;
    }
}

/* ==========================================================================
   OPTIMIZACIONES DE RENDIMIENTO
   ========================================================================== */

/* Lazy loading para iframes (YouTube, Maps) */
iframe[loading="lazy"] {
    background: #f0f0f0;
}

/* ==========================================================================
   ESTILOS PERSONALIZADOS
   Añade aquí tus estilos específicos del proyecto
   ========================================================================== */

/* Ejemplo: Botones personalizados globales */
.button-custom {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.button-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}