/*
Theme Name: Dynamic Booking Pro
Theme URI: https://antigravity.dev/dynamic-booking
Author: Antigravity Team
Author URI: https://antigravity.dev
Description: Tema premium a la medida para WordPress, optimizado para integrar de forma nativa e interactiva los motores DynamicEngine y DynamicAppointments. Incluye selector nativo de método de pago (Pago en Sucursal o WooCommerce), redirección a Thank You Page dinámica, importador de datos dummy en un clic y portal de clientes.
Version: 1.0.1
Requires at least: 5.6
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dynamic-booking
Tags: appointments, booking, medical, consulting, dynamic-content, custom-colors, custom-menu, featured-images, full-width-template, woocommerce
*/

/* ==========================================================================
   CSS Variables & Base Design System
   ========================================================================== */
:root {
	--db-primary: #4f46e5;
	--db-primary-hover: #4338ca;
	--db-primary-light: #eef2ff;
	--db-primary-dark: #3730a3;
	--db-accent: #06b6d4;
	--db-accent-hover: #0891b2;
	--db-success: #10b981;
	--db-warning: #f59e0b;
	--db-danger: #ef4444;

	--db-slate-900: #0f172a;
	--db-slate-800: #1e293b;
	--db-slate-700: #334155;
	--db-slate-600: #475569;
	--db-slate-500: #64748b;
	--db-slate-400: #94a3b8;
	--db-slate-300: #cbd5e1;
	--db-slate-200: #e2e8f0;
	--db-slate-100: #f1f5f9;
	--db-slate-50:  #f8fafc;
	--db-white:     #ffffff;

	--db-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--db-radius-sm: 6px;
	--db-radius-md: 10px;
	--db-radius-lg: 16px;
	--db-radius-xl: 24px;
	--db-radius-full: 9999px;

	--db-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--db-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
	--db-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
	--db-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

	--db-container: 1200px;
	--db-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   CSS Reset & Base Element Styles
   ========================================================================== */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-family: var(--db-font-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--db-slate-800);
	background-color: var(--db-white);
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background-color: var(--db-white);
	color: var(--db-slate-800);
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--db-primary);
	text-decoration: none;
	transition: var(--db-transition);
}

a:hover {
	color: var(--db-primary-hover);
}

h1, h2, h3, h4, h5, h6 {
	color: var(--db-slate-900);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
	margin-bottom: 1rem;
	color: var(--db-slate-600);
}

p:last-child {
	margin-bottom: 0;
}

/* Container */
.db-container {
	width: 100%;
	max-width: var(--db-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.db-container-narrow {
	max-width: 860px;
}
