/*
Theme Name: Enfermería Cerca
Theme URI: https://enfermeriacerca.cl
Author: Enfermería Cerca Dev Team
Author URI: https://enfermeriacerca.cl
Description: Custom Theme FSE ultraligero para servicios médicos a domicilio en la 5° Región. Optimizado para WooCommerce y Amelia Booking.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: enfermeria-cerca
Tags: block-theme, full-site-editing, medical, e-commerce, custom-colors, wide-blocks
*/

/* ==========================================================================
   1. TIPOGRAFÍA GLOBAL MODERNA (ZERO SERIF)
   ========================================================================== */
html,
body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
li,
blockquote {
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700 !important;
	letter-spacing: -0.02em;
}

h1 {
	font-weight: 800 !important;
}

p,
li {
	font-weight: 400;
	line-height: 1.65;
}

/* ==========================================================================
   2. TARJETAS PREMIUM DE SALUD (.ui-premium-card)
   ========================================================================== */
.ui-premium-card {
	background: #ffffff !important;
	border: none !important;
	border-radius: 16px !important;
	padding: 32px 24px !important;
	box-shadow: 0 10px 30px rgba(47, 104, 115, 0.08) !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease !important;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.ui-premium-card:hover {
	transform: translateY(-5px) !important;
	box-shadow: 0 15px 35px rgba(47, 104, 115, 0.12) !important;
}

/* ==========================================================================
   3. HERO IMAGE Y MEDIA PLACEHOLDERS
   ========================================================================== */
.ui-hero-image img,
.ui-hero-image svg,
.ui-hero-image figure {
	border-radius: 24px !important;
	box-shadow: 0 20px 40px rgba(47, 104, 115, 0.15) !important;
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ui-hero-image:hover img,
.ui-hero-image:hover svg {
	transform: scale(1.015);
	box-shadow: 0 25px 50px rgba(47, 104, 115, 0.2) !important;
}

/* ==========================================================================
   4. MICRO-INTERACCIONES Y BOTONES
   ========================================================================== */
.wp-block-button__link {
	transition: all 0.25s ease-in-out !important;
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
	filter: brightness(1.05);
	box-shadow: 0 8px 20px rgba(47, 104, 115, 0.25);
}

/* ==========================================================================
   5. HEADER STICKY CON BLUR & SOMBRA SUAVE
   ========================================================================== */
.site-header-sticky {
	position: sticky !important;
	top: 0 !important;
	z-index: 50 !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important;
	background-color: rgba(255, 255, 255, 0.95) !important;
	transition: all 0.3s ease;
}
