/**
 * Estilos principales del theme Mi Arcano
 * Diseño inspirado en Mystik - Elegante, místico y profesional
 *
 * @package Mi_Arcano
 */

/*--------------------------------------------------------------
# Variables CSS
--------------------------------------------------------------*/
:root {
	--color-bg-dark: #0f0f0f;
	--color-bg-darker: #080808;
	--color-bg-card: #1a1a1a;
	--color-bg-card-hover: #252525;
	--color-bg-section: #141414;
	--color-text: #e5e5e5;
	--color-text-light: #b0b0b0;
	--color-text-muted: #707070;
	--color-gold: #c9a961;
	--color-gold-light: #d4b877;
	--color-gold-dark: #a68a4f;
	--color-gold-glow: rgba(201, 169, 97, 0.15);
	--color-border: #2d2d2d;
	--color-border-gold: #c9a961;
	--color-border-gold-light: rgba(201, 169, 97, 0.3);
	--font-serif: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
	--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--spacing-unit: 1.5rem;
	--border-radius: 6px;
	--border-radius-lg: 10px;
	--transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	--shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
	--shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
	--shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
	--shadow-gold: 0 4px 25px rgba(201, 169, 97, 0.15);
	--shadow-gold-lg: 0 8px 50px rgba(201, 169, 97, 0.2);
}

/*--------------------------------------------------------------
# Google Fonts
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/*--------------------------------------------------------------
# Reset y Base
--------------------------------------------------------------*/
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	background: var(--color-bg-darker);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-weight: 400;
	line-height: 1.7;
	font-size: 16px;
	min-height: 100vh;
	position: relative;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: 
		radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.02) 0%, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.015) 0%, transparent 50%);
	pointer-events: none;
	z-index: 0;
}

#page {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/*--------------------------------------------------------------
# Tipografía
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-serif);
	color: var(--color-text);
	font-weight: 600;
	line-height: 1.3;
	margin-top: 0;
	margin-bottom: 1rem;
	letter-spacing: 0.3px;
}

h1 {
	font-size: 3.5rem;
	font-weight: 700;
	color: var(--color-text);
	line-height: 1.2;
}

h2 {
	font-size: 2.5rem;
	font-weight: 600;
}

h3 {
	font-size: 1.75rem;
	font-weight: 600;
}

h4 {
	font-size: 1.5rem;
	font-weight: 600;
}

h5 {
	font-size: 1.25rem;
	font-weight: 500;
}

h6 {
	font-size: 1.1rem;
	font-weight: 500;
}

p {
	margin-bottom: 1.5rem;
	color: var(--color-text-light);
	line-height: 1.8;
}

a {
	color: var(--color-gold);
	text-decoration: none;
	transition: var(--transition);
	position: relative;
}

a:hover,
a:focus {
	color: var(--color-gold-light);
}

a:focus {
	outline: 3px solid var(--color-gold);
	outline-offset: 4px;
	border-radius: 3px;
}

/* Focus visible para mejor accesibilidad */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid var(--color-gold);
	outline-offset: 3px;
	border-radius: 3px;
}

/* Mejorar contraste de textos */
.color-text-muted {
	color: #909090 !important; /* Mejorar contraste */
}

/* Skip link mejorado */
.skip-link {
	background: var(--color-gold);
	color: var(--color-bg-darker);
	padding: 0.75rem 1.5rem;
	text-decoration: none;
	position: absolute;
	top: -100px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10000;
	border-radius: var(--border-radius);
	font-weight: 600;
	transition: var(--transition);
}

.skip-link:focus {
	top: 1rem;
	outline: 3px solid var(--color-text);
	outline-offset: 3px;
}

/* Screen reader only text mejorado */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--color-gold);
	border-radius: 3px;
	clip: auto !important;
	clip-path: none;
	color: var(--color-bg-darker);
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
	background: rgba(15, 15, 15, 0.9);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--color-border);
	padding: 0.75rem 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
	transition: var(--transition);
}

.site-header:hover {
	background: rgba(15, 15, 15, 0.95);
}

.header-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 var(--spacing-unit);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

.site-branding .custom-logo {
	max-height: 40px;
	width: auto;
}

.site-title {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 700;
	font-family: var(--font-serif);
	line-height: 1.2;
}

.site-title a {
	color: var(--color-text);
	transition: var(--transition);
}

.site-title a:hover {
	color: var(--color-gold);
}

.site-description {
	font-size: 0.8rem;
	color: var(--color-text-muted);
	margin: 0;
	font-style: italic;
	display: none; /* Oculto por defecto, se puede mostrar en desktop si se quiere */
}

/* Navigation */
.main-navigation {
	flex: 1;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.main-navigation ul {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
}

.main-navigation li {
	margin: 0;
	position: relative;
}

.main-navigation a {
	color: var(--color-text-light);
	font-weight: 400;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 0.5rem 0;
	position: relative;
	transition: var(--transition);
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.main-navigation a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--color-gold);
	transition: var(--transition);
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a {
	color: var(--color-gold);
}

.main-navigation a:hover::after,
.main-navigation a:focus::after,
.main-navigation .current-menu-item > a::after {
	width: 100%;
}

/* Indicador de submenú (Desktop) */
.main-navigation .menu-item-has-children > a::before {
	content: '';
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid currentColor;
	display: inline-block;
	margin-left: 0.25rem;
	transition: var(--transition);
}

/* Submenús - Desktop */
.main-navigation ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--color-bg-dark);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-lg);
	min-width: 220px;
	padding: 0.5rem 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
	z-index: 999;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	margin-top: 0.5rem;
}

/* Mostrar submenú al hover */
.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Items de submenú */
.main-navigation ul ul li {
	width: 100%;
	border-bottom: 1px solid var(--color-border);
}

.main-navigation ul ul li:last-child {
	border-bottom: none;
}

.main-navigation ul ul a {
	display: block;
	padding: 0.75rem 1.25rem;
	font-size: 0.85rem;
	text-transform: capitalize;
	white-space: normal;
	line-height: 1.4;
}

.main-navigation ul ul a::after {
	display: none;
}

.main-navigation ul ul a:hover {
	background: var(--color-bg-card-hover);
	padding-left: 1.5rem;
}

/* Rotar flecha cuando el submenú está abierto */
.main-navigation .menu-item-has-children:hover > a::before,
.main-navigation .menu-item-has-children:focus-within > a::before {
	transform: rotate(180deg);
}

.menu-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--color-border);
	color: var(--color-text);
	padding: 0.5rem 0.875rem;
	border-radius: var(--border-radius);
	cursor: pointer;
	transition: var(--transition);
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
}

.menu-toggle:hover {
	border-color: var(--color-gold);
	color: var(--color-gold);
	background: rgba(201, 169, 97, 0.1);
}

.menu-toggle-icon {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	position: relative;
	transition: var(--transition);
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 2px;
	background: currentColor;
	left: 0;
	transition: var(--transition);
}

.menu-toggle-icon::before {
	top: -6px;
}

.menu-toggle-icon::after {
	top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
	background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
	transform: rotate(45deg);
	top: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
	transform: rotate(-45deg);
	top: 0;
}

.menu-toggle-text {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/*--------------------------------------------------------------
# Layout Principal
--------------------------------------------------------------*/
.site-main {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0;
	flex: 1;
	width: 100%;
}

.page-header {
	margin-bottom: calc(var(--spacing-unit) * 3);
	padding-bottom: var(--spacing-unit);
	border-bottom: 1px solid var(--color-border);
	position: relative;
}

.page-title {
	font-size: 2.75rem;
	margin-bottom: 0.5rem;
	color: var(--color-text);
}

/*--------------------------------------------------------------
# Cards
--------------------------------------------------------------*/
.card {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	padding: var(--spacing-unit);
	transition: var(--transition);
	box-shadow: var(--shadow-sm);
	position: relative;
	overflow: hidden;
}

.card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, var(--color-gold) 50%, transparent 100%);
	opacity: 0;
	transition: var(--transition);
}

.card:hover {
	border-color: var(--color-border-gold-light);
	box-shadow: var(--shadow-md);
	transform: translateY(-4px);
}

.card:hover::before {
	opacity: 1;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn,
button,
input[type="submit"],
input[type="button"] {
	display: inline-block;
	background: transparent;
	border: 2px solid var(--color-gold);
	color: var(--color-gold);
	padding: 0.875rem 2rem;
	border-radius: var(--border-radius);
	font-family: var(--font-sans);
	font-size: 0.95rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	transition: var(--transition);
	text-decoration: none;
	position: relative;
	overflow: hidden;
}

.btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: var(--color-gold);
	transition: var(--transition);
	z-index: 0;
}

.btn span {
	position: relative;
	z-index: 1;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
	color: var(--color-bg-dark);
	border-color: var(--color-gold);
}

.btn:hover::before {
	left: 0;
}

.btn-primary {
	background: var(--color-gold);
	color: var(--color-bg-dark);
	border-color: var(--color-gold);
}

.btn-primary::before {
	background: var(--color-gold-light);
}

.btn-primary:hover {
	background: var(--color-gold-light);
	color: var(--color-bg-dark);
}

/* Focus states mejorados para botones */
.btn:focus,
.btn-primary:focus,
button:focus,
input[type="submit"]:focus,
input[type="button"]:focus {
	outline: 3px solid var(--color-gold);
	outline-offset: 3px;
	box-shadow: 0 0 0 6px rgba(201, 169, 97, 0.2);
}

/* Estado disabled */
.btn:disabled,
.btn-primary:disabled,
button:disabled,
input[type="submit"]:disabled,
input[type="button"]:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}

/* Loading state para botones */
.btn.loading,
.btn-primary.loading,
button.loading {
	position: relative;
	color: transparent;
	pointer-events: none;
}

.btn.loading::after,
.btn-primary.loading::after,
button.loading::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	top: 50%;
	left: 50%;
	margin-left: -10px;
	margin-top: -10px;
	border: 2px solid transparent;
	border-top-color: currentColor;
	border-radius: 50%;
	animation: btn-spin 0.6s linear infinite;
}

.btn-primary.loading::after {
	border-top-color: var(--color-bg-dark);
}

@keyframes btn-spin {
	to {
		transform: rotate(360deg);
	}
}

.btn-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-gold);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	transition: var(--transition);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.btn-link:hover {
	color: var(--color-gold-light);
	gap: 0.75rem;
}

.btn-link::after {
	content: '→';
	transition: var(--transition);
}

.btn-link:hover::after {
	transform: translateX(4px);
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
select,
textarea {
	width: 100%;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius);
	padding: 0.875rem 1.25rem;
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: 1rem;
	transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--color-gold);
	box-shadow: 0 0 0 3px var(--color-gold-glow);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
	color: var(--color-text-muted);
}

label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--color-text-light);
	font-weight: 500;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
	background: var(--color-bg-darker);
	border-top: 1px solid var(--color-border);
	margin-top: calc(var(--spacing-unit) * 4);
}

/* Footer Main */
.footer-main {
	padding: calc(var(--spacing-unit) * 3) 0 calc(var(--spacing-unit) * 2);
}

.footer-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 var(--spacing-unit);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: calc(var(--spacing-unit) * 2);
}

.footer-column {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* Columna About */
.footer-about .footer-title {
	font-size: 1.5rem;
	color: var(--color-gold);
	margin-bottom: 0.75rem;
	font-family: var(--font-serif);
}

.footer-description {
	color: var(--color-text-light);
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 1rem;
}

.footer-social {
	display: flex;
	gap: 0.75rem;
	margin-top: auto;
}

.social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--color-border);
	border-radius: 50%;
	background: var(--color-bg-card);
	color: var(--color-text-light);
	transition: var(--transition);
	text-decoration: none;
}

.social-link:hover {
	background: var(--color-gold);
	border-color: var(--color-gold);
	color: var(--color-bg-darker);
	transform: translateY(-2px);
}

.social-icon {
	font-size: 1.2rem;
	font-weight: bold;
}

/* Columnas de navegación */
.footer-column-title {
	font-size: 1.1rem;
	color: var(--color-text);
	margin-bottom: 0.5rem;
	font-weight: 600;
	font-family: var(--font-serif);
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.footer-links li {
	margin: 0;
}

.footer-links a {
	color: var(--color-text-light);
	font-size: 0.9rem;
	transition: var(--transition);
	display: inline-block;
	padding: 0.25rem 0;
}

.footer-links a:hover {
	color: var(--color-gold);
	padding-left: 0.5rem;
}

/* Newsletter */
.footer-newsletter-description {
	color: var(--color-text-light);
	font-size: 0.85rem;
	line-height: 1.5;
	margin-bottom: 1rem;
}

.newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.newsletter-form input[type="email"] {
	padding: 0.75rem 1rem;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius);
	color: var(--color-text);
	font-size: 0.9rem;
	transition: var(--transition);
}

.newsletter-form input[type="email"]:focus {
	outline: none;
	border-color: var(--color-gold);
	background: var(--color-bg-darker);
}

.btn-newsletter {
	padding: 0.75rem 1.5rem;
	background: var(--color-gold);
	color: var(--color-bg-darker);
	border: none;
	border-radius: var(--border-radius);
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.btn-newsletter:hover {
	background: var(--color-gold-light);
	transform: translateY(-2px);
	box-shadow: var(--shadow-gold);
}

.footer-newsletter-note {
	color: var(--color-text-muted);
	font-size: 0.75rem;
	margin-top: 0.5rem;
	font-style: italic;
}

/* Footer Bottom */
.footer-bottom {
	background: var(--color-bg-dark);
	border-top: 1px solid var(--color-border);
	padding: calc(var(--spacing-unit) * 1.5) 0;
}

.footer-bottom-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 var(--spacing-unit);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.footer-copyright p {
	color: var(--color-text-muted);
	font-size: 0.85rem;
	margin: 0;
}

.footer-legal {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	font-size: 0.85rem;
}

.footer-legal a {
	color: var(--color-text-muted);
	transition: var(--transition);
}

.footer-legal a:hover {
	color: var(--color-gold);
}

.footer-legal .sep {
	color: var(--color-border);
}

.footer-credits {
	font-size: 0.85rem;
}

.footer-credits a {
	color: var(--color-text-muted);
	transition: var(--transition);
}

.footer-credits a:hover {
	color: var(--color-gold);
}

/* Footer Responsive */
@media (max-width: 1024px) {
	.footer-container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.footer-main {
		padding: calc(var(--spacing-unit) * 2) 0;
	}
	
	.footer-container {
		grid-template-columns: 1fr;
		gap: calc(var(--spacing-unit) * 1.5);
	}
	
	.footer-column {
		padding-bottom: var(--spacing-unit);
		border-bottom: 1px solid var(--color-border);
	}
	
	.footer-column:last-child {
		border-bottom: none;
	}
	
	.footer-bottom-container {
		flex-direction: column;
		text-align: center;
		gap: 0.75rem;
	}
	
	.footer-legal {
		order: -1;
	}
}

/*--------------------------------------------------------------
# Front Page
--------------------------------------------------------------*/
.front-page {
	padding: 0;
	margin-top: 0;
}

.front-page > section:first-of-type {
	margin-top: 0;
}

/* Hero Section */
.hero-section {
	background: linear-gradient(135deg, rgba(201, 169, 97, 0.05) 0%, var(--color-bg-dark) 100%);
	padding: calc(var(--spacing-unit) * 6) var(--spacing-unit) calc(var(--spacing-unit) * 4);
	text-align: center;
	position: relative;
	overflow: hidden;
	margin-top: 0;
	margin-bottom: 0;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 50% 50%, rgba(201, 169, 97, 0.03) 0%, transparent 70%);
	pointer-events: none;
}

.hero-content {
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.hero-title {
	font-size: 4rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	color: var(--color-text);
	line-height: 1.2;
	letter-spacing: -0.5px;
}

.hero-description {
	font-size: 1.25rem;
	color: var(--color-text-light);
	line-height: 1.8;
	max-width: 700px;
	margin: 0 auto 2rem;
	font-weight: 300;
}

.hero-ctas {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 2rem;
}

/* Section Headers */
.section-header {
	text-align: center;
	margin-bottom: calc(var(--spacing-unit) * 3);
	padding: 0 var(--spacing-unit);
}

.section-title {
	font-size: 2.75rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--color-text);
	line-height: 1.2;
}

.section-description {
	font-size: 1.1rem;
	color: var(--color-text-light);
	margin-bottom: 1.5rem;
	font-weight: 300;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* Calculadoras Section */
.calculadoras-section {
	padding: calc(var(--spacing-unit) * 5) var(--spacing-unit);
	background: var(--color-bg-section);
	position: relative;
}

.calculadoras-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: calc(var(--spacing-unit) * 2);
	max-width: 1200px;
	margin: 0 auto;
}

.calculadora-card {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	padding: calc(var(--spacing-unit) * 2);
	text-align: center;
	transition: var(--transition);
	box-shadow: var(--shadow-sm);
	position: relative;
	overflow: hidden;
}

.calculadora-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, transparent 0%, var(--color-gold) 50%, transparent 100%);
	opacity: 0;
	transition: var(--transition);
}

.calculadora-card:hover {
	border-color: var(--color-border-gold-light);
	box-shadow: var(--shadow-md);
	transform: translateY(-6px);
}

.calculadora-card:hover::before {
	opacity: 1;
}

.calculadora-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--color-gold), transparent);
	opacity: 0;
	transition: var(--transition);
}

.calculadora-card:hover::before {
	opacity: 1;
}

.calculadora-card h3 {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
	color: var(--color-text);
}

.calculadora-card p {
	font-size: 0.95rem;
	color: var(--color-text-light);
	margin-bottom: 1.5rem;
	line-height: 1.7;
}

/* Horóscopos Section */
.horoscopos-section {
	padding: calc(var(--spacing-unit) * 5) var(--spacing-unit);
	background: var(--color-bg-dark);
}

.horoscopos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: calc(var(--spacing-unit) * 2);
	max-width: 1200px;
	margin: 0 auto;
}

.horoscopo-card-mini {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	padding: calc(var(--spacing-unit) * 1.5);
	transition: var(--transition);
	box-shadow: var(--shadow-sm);
	position: relative;
	overflow: hidden;
}

.horoscopo-card-mini::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, transparent 0%, var(--color-gold) 50%, transparent 100%);
	opacity: 0;
	transition: var(--transition);
}

.horoscopo-card-mini:hover {
	border-color: var(--color-border-gold-light);
	box-shadow: var(--shadow-md);
	transform: translateY(-4px);
}

.horoscopo-card-mini:hover::before {
	opacity: 1;
}

.horoscopo-header-mini {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--color-border);
}

.horoscopo-header-mini h3 {
	font-size: 1.5rem;
	margin: 0;
	color: var(--color-text);
}

.horoscopo-elemento-mini {
	font-size: 0.85rem;
	color: var(--color-gold);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 500;
}

.horoscopo-preview {
	margin-bottom: 1rem;
	color: var(--color-text-light);
	font-size: 0.95rem;
	line-height: 1.7;
}

.btn-ver-horoscopo {
	display: inline-block;
	color: var(--color-gold);
	font-size: 0.9rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: var(--transition);
}

.btn-ver-horoscopo:hover {
	color: var(--color-gold-light);
}

/* Predicciones Section */
.predicciones-section {
	padding: calc(var(--spacing-unit) * 5) var(--spacing-unit);
	background: var(--color-bg-section);
	margin-top: 0;
}

.predicciones-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: calc(var(--spacing-unit) * 2);
	max-width: 1200px;
	margin: 0 auto;
}

.prediccion-card-mini {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	padding: calc(var(--spacing-unit) * 1.5);
	transition: var(--transition);
	box-shadow: var(--shadow-sm);
	position: relative;
	overflow: hidden;
}

.prediccion-card-mini::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, transparent 0%, var(--color-gold) 50%, transparent 100%);
	opacity: 0;
	transition: var(--transition);
}

.prediccion-card-mini:hover {
	border-color: var(--color-border-gold-light);
	box-shadow: var(--shadow-md);
	transform: translateY(-4px);
}

.prediccion-card-mini:hover::before {
	opacity: 1;
}

.prediccion-card-mini h3 {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
	color: var(--color-text);
}

.prediccion-card-mini .prediccion-meta {
	font-size: 0.85rem;
	color: var(--color-text-muted);
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.prediccion-badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	background: var(--color-gold);
	color: var(--color-bg-dark);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: var(--border-radius);
	margin-bottom: 0.5rem;
}

.prediccion-badge-hoy {
	background: var(--color-gold);
	color: var(--color-bg-dark);
}

.horoscopo-badge {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	background: rgba(201, 169, 97, 0.2);
	color: var(--color-gold);
	font-size: 0.7rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: var(--border-radius);
	margin-left: auto;
}

.prediccion-card-mini .prediccion-excerpt {
	color: var(--color-text-light);
	font-size: 0.95rem;
	line-height: 1.7;
	margin-bottom: 1rem;
}

/* Arcanos Section */
.arcanos-section {
	padding: calc(var(--spacing-unit) * 5) var(--spacing-unit);
	background: var(--color-bg-dark);
}

.arcanos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: calc(var(--spacing-unit) * 1.5);
	max-width: 1200px;
	margin: 0 auto;
}

.arcano-card-mini {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	padding: var(--spacing-unit);
	text-align: center;
	transition: var(--transition);
	box-shadow: var(--shadow-sm);
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.arcano-card-mini::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, transparent 0%, var(--color-gold) 50%, transparent 100%);
	opacity: 0;
	transition: var(--transition);
}

.arcano-card-mini:hover {
	border-color: var(--color-border-gold-light);
	box-shadow: var(--shadow-md);
	transform: translateY(-4px);
}

.arcano-card-mini:hover::before {
	opacity: 1;
}

.arcano-card-mini picture,
.arcano-card-mini img {
	width: 100%;
	height: auto;
	border-radius: var(--border-radius);
	margin-bottom: 1rem;
	transition: var(--transition);
}

.arcano-card-mini:hover picture img {
	transform: scale(1.05);
}

.arcano-card-mini h4 {
	font-size: 1.1rem;
	margin: 0;
	color: var(--color-text);
}

/* Signos Section */
.signos-section {
	padding: calc(var(--spacing-unit) * 5) var(--spacing-unit);
	background: var(--color-bg-section);
}

.signos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: calc(var(--spacing-unit) * 1.5);
	max-width: 1200px;
	margin: 0 auto;
}

.signo-card-mini {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	padding: var(--spacing-unit);
	text-align: center;
	transition: var(--transition);
	box-shadow: var(--shadow-sm);
	position: relative;
	overflow: hidden;
	cursor: pointer;
}

.signo-card-mini::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, transparent 0%, var(--color-gold) 50%, transparent 100%);
	opacity: 0;
	transition: var(--transition);
}

.signo-card-mini:hover {
	border-color: var(--color-border-gold-light);
	box-shadow: var(--shadow-md);
	transform: translateY(-4px);
}

.signo-card-mini:hover::before {
	opacity: 1;
}

.signo-card-mini picture,
.signo-card-mini img {
	width: 100%;
	height: auto;
	border-radius: var(--border-radius);
	margin-bottom: 1rem;
	transition: var(--transition);
}

.signo-card-mini:hover picture img {
	transform: scale(1.05);
}

.signo-card-mini h4 {
	font-size: 1.1rem;
	margin: 0;
	color: var(--color-text);
}

/* Enlaces Section */
.enlaces-section {
	padding: calc(var(--spacing-unit) * 5) var(--spacing-unit);
	background: var(--color-bg-dark);
}

.enlaces-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: calc(var(--spacing-unit) * 2);
	max-width: 1200px;
	margin: 0 auto;
}

.enlace-card {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	padding: calc(var(--spacing-unit) * 1.5);
	transition: var(--transition);
	box-shadow: var(--shadow-sm);
	position: relative;
	overflow: hidden;
}

.enlace-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, transparent 0%, var(--color-gold) 50%, transparent 100%);
	opacity: 0;
	transition: var(--transition);
}

.enlace-card:hover {
	border-color: var(--color-border-gold-light);
	box-shadow: var(--shadow-md);
	transform: translateY(-4px);
}

.enlace-card:hover::before {
	opacity: 1;
}

.enlace-card h3 {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
	color: var(--color-text);
}

.enlace-card p {
	font-size: 0.95rem;
	color: var(--color-text-light);
	margin-bottom: 1rem;
	line-height: 1.7;
}

/*--------------------------------------------------------------
# Calculadora de Arcano
--------------------------------------------------------------*/
.calculadora-arcano {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	padding: calc(var(--spacing-unit) * 2);
	margin: var(--spacing-unit) 0;
}

.calculadora-arcano-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.calculadora-arcano-resultado {
	margin-top: calc(var(--spacing-unit) * 2);
	padding-top: calc(var(--spacing-unit) * 2);
	border-top: 1px solid var(--color-border);
}

.resultado-arcano {
	text-align: center;
}

.resultado-arcano h3 {
	font-size: 2rem;
	margin-bottom: 1rem;
	color: var(--color-text);
}

.resultado-arcano picture,
.resultado-arcano img {
	max-width: 300px;
	margin: 0 auto 1.5rem;
	border-radius: var(--border-radius-lg);
	border: 2px solid var(--color-border);
	transition: var(--transition);
}

.resultado-arcano picture:hover img,
.resultado-arcano img:hover {
	border-color: var(--color-gold);
	box-shadow: var(--shadow-gold);
}

/*--------------------------------------------------------------
# Horóscopo de Hoy
--------------------------------------------------------------*/
.horoscopo-hoy {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	padding: calc(var(--spacing-unit) * 1.5);
	margin: var(--spacing-unit) 0;
}

.horoscopo-hoy.no-disponible {
	text-align: center;
	color: var(--color-text-light);
	padding: calc(var(--spacing-unit) * 2);
}

.horoscopo-titulo {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: var(--color-text);
}

.horoscopo-contenido {
	color: var(--color-text-light);
	line-height: 1.8;
	margin-bottom: 1rem;
}

.horoscopo-fecha {
	color: var(--color-text-muted);
	font-size: 0.9rem;
	font-style: italic;
}

/* Horóscopo recién generado */
.horoscopo-generado {
	border-color: var(--color-gold);
	background: linear-gradient(
		135deg,
		var(--color-bg-card) 0%,
		rgba(201, 169, 97, 0.05) 100%
	);
	position: relative;
	overflow: hidden;
}

.horoscopo-generado::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(
		90deg,
		transparent,
		var(--color-gold),
		transparent
	);
	animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(100%);
	}
}

.horoscopo-badge-nuevo {
	margin-top: 1rem;
	display: flex;
	justify-content: center;
}

.badge-nuevo {
	display: inline-block;
	padding: 0.5rem 1rem;
	background: linear-gradient(
		135deg,
		var(--color-gold) 0%,
		var(--color-gold-light) 100%
	);
	color: var(--color-bg-darker);
	border-radius: calc(var(--border-radius) * 2);
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
	animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
	0%, 100% {
		transform: scale(1);
		box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
	}
	50% {
		transform: scale(1.05);
		box-shadow: 0 6px 20px rgba(201, 169, 97, 0.4);
	}
}

/* Loading state */
.horoscopo-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: calc(var(--spacing-unit) * 2);
}

/* Loading state - Profesional spinner CSS */
.prediccion-loading {
	position: relative;
	padding-left: 3rem;
}

.prediccion-loading::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 2rem;
	height: 2rem;
	border: 3px solid var(--color-border);
	border-top-color: var(--color-gold);
	border-radius: 50%;
	animation: spin-loading 1s linear infinite;
}

@keyframes spin-loading {
	0% {
		transform: translateY(-50%) rotate(0deg);
	}
	100% {
		transform: translateY(-50%) rotate(360deg);
	}
}

.horoscopo-loading p {
	margin: 0;
	font-size: 1.1rem;
	color: var(--color-text);
}

.horoscopo-loading small {
	color: var(--color-text-muted);
	font-size: 0.9rem;
}

/* Predicciones - Estilos similares a horóscopos */
.prediccion-hoy {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	padding: calc(var(--spacing-unit) * 1.5);
	margin: var(--spacing-unit) 0;
}

.prediccion-hoy.no-disponible {
	text-align: center;
	color: var(--color-text-light);
	padding: calc(var(--spacing-unit) * 2);
}

.prediccion-titulo {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: var(--color-text);
}

.prediccion-contenido {
	color: var(--color-text-light);
	line-height: 1.8;
	margin-bottom: 1rem;
}

.prediccion-fecha {
	color: var(--color-text-muted);
	font-size: 0.9rem;
	font-style: italic;
}

.prediccion-generada {
	border-color: var(--color-gold);
	background: linear-gradient(
		135deg,
		var(--color-bg-card) 0%,
		rgba(201, 169, 97, 0.05) 100%
	);
	position: relative;
	overflow: hidden;
}

.prediccion-generada::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(
		90deg,
		transparent,
		var(--color-gold),
		transparent
	);
	animation: shimmer 2s ease-in-out infinite;
}

.prediccion-badge-nuevo {
	margin-top: 1rem;
	display: flex;
	justify-content: center;
}

.prediccion-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding: calc(var(--spacing-unit) * 2);
}

.prediccion-loading p {
	margin: 0;
	font-size: 1.1rem;
	color: var(--color-text);
}

.prediccion-loading small {
	color: var(--color-text-muted);
	font-size: 0.9rem;
}

/* Extractos en portada */
.horoscopo-extracto,
.prediccion-extracto {
	background: var(--color-bg-card);
	border-left: 3px solid var(--color-gold);
	padding: 1rem;
	margin: 0.5rem 0;
	border-radius: var(--border-radius);
	transition: var(--transition);
}

.horoscopo-extracto:hover,
.prediccion-extracto:hover {
	background: var(--color-bg-card-hover);
	border-left-width: 4px;
	transform: translateX(2px);
}

.extracto-contenido {
	color: var(--color-text);
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 0.75rem;
	font-weight: 500;
}

.extracto-contenido p {
	margin-bottom: 0.5rem;
}

/* Botón Leer más */
.btn-leer-mas {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-gold);
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: var(--transition);
	text-decoration: none;
}

.btn-leer-mas:hover {
	color: var(--color-gold-light);
	gap: 0.75rem;
}

.btn-leer-mas::after {
	content: '→';
	transition: var(--transition);
	font-size: 1.1rem;
}

.btn-leer-mas:hover::after {
	transform: translateX(4px);
}

/* Badge inline "Nuevo" */
.nuevo-badge-inline {
	display: inline-block;
	padding: 0.25rem 0.5rem;
	background: var(--color-gold);
	color: var(--color-bg-darker);
	border-radius: calc(var(--border-radius) / 2);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	animation: pulse-badge 2s ease-in-out infinite;
	margin-right: 0.5rem;
}

.horoscopo-generado-mini {
	border-left-color: var(--color-gold);
	background: linear-gradient(
		135deg,
		var(--color-bg-card) 0%,
		rgba(201, 169, 97, 0.05) 100%
	);
}

/* Mejorar estilo de horoscopo-preview en portada */
.horoscopo-preview {
	min-height: 120px;
	display: flex;
	flex-direction: column;
}

.horoscopo-preview .horoscopo-extracto {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/* Botón leer más en predicciones */
.btn-leer-mas-prediccion {
	display: inline-block;
	margin-top: 0.75rem;
	color: var(--color-gold);
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: var(--transition);
	text-decoration: none;
}

.btn-leer-mas-prediccion:hover {
	color: var(--color-gold-light);
	transform: translateX(4px);
}

/* Mejorar entry-summary-mini para extractos */
.entry-summary-mini {
	color: var(--color-text);
	font-size: 0.95rem;
	line-height: 1.6;
	font-weight: 500;
	margin-bottom: 0.5rem;
}

.entry-summary-mini p {
	margin-bottom: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
	.extracto-contenido {
		font-size: 0.9rem;
	}
	
	.btn-leer-mas,
	.btn-leer-mas-prediccion {
		font-size: 0.85rem;
	}
	
	.entry-summary-mini {
		font-size: 0.9rem;
	}
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 1024px) {
	.hero-title {
		font-size: 3rem;
	}
	
	.section-title {
		font-size: 2.25rem;
	}
	
	.calculadoras-grid,
	.horoscopos-grid,
	.predicciones-grid {
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	}
}

@media (max-width: 768px) {
	:root {
		--spacing-unit: 1rem;
	}
	
	/* Header Mobile */
	.site-header {
		padding: 0.5rem 0;
	}
	
	.header-container {
		padding: 0 1rem;
		gap: 1rem;
	}
	
	.site-branding {
		gap: 0.5rem;
	}
	
	.site-branding .custom-logo {
		max-height: 32px;
	}
	
	.site-title {
		font-size: 1.25rem;
	}
	
	.site-description {
		display: none;
	}
	
	.main-navigation {
		position: relative;
	}
	
	/* Menú principal (nivel 1) - Mobile */
	.main-navigation > ul {
		position: absolute;
		top: 100%;
		right: 0;
		background: var(--color-bg-dark);
		border: 1px solid var(--color-border);
		border-radius: var(--border-radius);
		box-shadow: var(--shadow-lg);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.5rem 0;
		min-width: 240px;
		max-width: 90vw;
		margin-top: 0.5rem;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: var(--transition);
		z-index: 1001;
		max-height: calc(100vh - 100px);
		overflow-y: auto;
	}
	
	.main-navigation.toggled > ul {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
	
	.main-navigation li {
		border-bottom: 1px solid var(--color-border);
	}
	
	.main-navigation li:last-child {
		border-bottom: none;
	}
	
	.main-navigation a {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0.875rem 1.25rem;
		text-align: left;
		white-space: normal;
	}
	
	.main-navigation a::after {
		display: none;
	}
	
	/* Indicador de submenú - Mobile */
	.main-navigation .menu-item-has-children > a::before {
		content: '›';
		border: none;
		font-size: 1.5rem;
		margin-left: auto;
		transform: rotate(90deg);
		transition: var(--transition);
		line-height: 1;
	}
	
	.main-navigation .menu-item-has-children.submenu-open > a::before {
		transform: rotate(270deg);
	}
	
	/* Submenús - Mobile */
	.main-navigation ul ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: none;
		border-radius: 0;
		box-shadow: none;
		padding: 0;
		margin: 0;
		background: var(--color-bg-darker);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}
	
	.main-navigation .menu-item-has-children.submenu-open > ul {
		max-height: 1000px;
		border-top: 1px solid var(--color-border);
	}
	
	.main-navigation ul ul li {
		border-bottom: 1px solid rgba(201, 169, 97, 0.1);
	}
	
	.main-navigation ul ul li:last-child {
		border-bottom: none;
	}
	
	.main-navigation ul ul a {
		padding: 0.75rem 1.25rem 0.75rem 2rem;
		font-size: 0.85rem;
		text-transform: capitalize;
	}
	
	.main-navigation ul ul a:hover {
		background: var(--color-bg-card-hover);
		padding-left: 2.25rem;
	}
	
	.menu-toggle {
		display: flex;
	}
	
	.hero-section {
		padding: calc(var(--spacing-unit) * 3) var(--spacing-unit) calc(var(--spacing-unit) * 2);
	}
	
	.hero-title {
		font-size: 2rem;
	}
	
	.hero-description {
		font-size: 1rem;
	}
	
	.hero-ctas {
		flex-direction: column;
		align-items: stretch;
	}
	
	.hero-ctas .btn {
		width: 100%;
		text-align: center;
	}
	
	.section-title {
		font-size: 1.75rem;
	}
	
	.calculadoras-section,
	.horoscopos-section,
	.predicciones-section,
	.arcanos-section,
	.signos-section,
	.enlaces-section {
		padding: calc(var(--spacing-unit) * 2.5) var(--spacing-unit);
	}
	
	.calculadoras-grid,
	.horoscopos-grid,
	.predicciones-grid {
		grid-template-columns: 1fr;
		gap: var(--spacing-unit);
	}
	
	.arcanos-grid,
	.signos-grid {
		grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	}
}

@media (max-width: 480px) {
	.site-header {
		padding: 0.4rem 0;
	}
	
	.header-container {
		padding: 0 0.75rem;
	}
	
	.site-title {
		font-size: 1.1rem;
	}
	
	.site-branding .custom-logo {
		max-height: 28px;
	}
	
	.menu-toggle {
		padding: 0.4rem 0.75rem;
		font-size: 0.8rem;
	}
	
	.menu-toggle-text {
		display: none;
	}
	
	.hero-title {
		font-size: 1.75rem;
	}
	
	.hero-description {
		font-size: 0.95rem;
	}
	
	.section-title {
		font-size: 1.5rem;
	}
	
	.calculadora-card,
	.horoscopo-card-mini,
	.prediccion-card-mini {
		padding: var(--spacing-unit);
	}
	
	.main-navigation ul {
		min-width: 180px;
		right: 0.75rem;
	}
}

/*--------------------------------------------------------------
# Animaciones y Micro-interacciones
--------------------------------------------------------------*/

/* Fade in animation */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes slideInFromLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInFromRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Aplicar animaciones a elementos */
.hero-section {
	animation: fadeIn 0.8s ease-out;
}

.hero-title {
	animation: slideInFromLeft 0.8s ease-out 0.2s both;
}

.hero-description {
	animation: slideInFromLeft 0.8s ease-out 0.4s both;
}

.hero-ctas {
	animation: fadeInScale 0.8s ease-out 0.6s both;
}

.section-header {
	animation: fadeIn 0.8s ease-out;
}

/* Animación para cards */
.calculadora-card,
.horoscopo-card-mini,
.prediccion-card-mini,
.arcano-card-mini {
	animation: fadeInScale 0.6s ease-out both;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Delay escalonado para grids */
.calculadoras-grid > *:nth-child(1),
.horoscopos-grid > *:nth-child(1),
.predicciones-grid > *:nth-child(1) {
	animation-delay: 0.1s;
}

.calculadoras-grid > *:nth-child(2),
.horoscopos-grid > *:nth-child(2),
.predicciones-grid > *:nth-child(2) {
	animation-delay: 0.2s;
}

.calculadoras-grid > *:nth-child(3),
.horoscopos-grid > *:nth-child(3),
.predicciones-grid > *:nth-child(3) {
	animation-delay: 0.3s;
}

.calculadoras-grid > *:nth-child(4),
.horoscopos-grid > *:nth-child(4),
.predicciones-grid > *:nth-child(4) {
	animation-delay: 0.4s;
}

.calculadoras-grid > *:nth-child(5),
.horoscopos-grid > *:nth-child(5),
.predicciones-grid > *:nth-child(5) {
	animation-delay: 0.5s;
}

.calculadoras-grid > *:nth-child(6),
.horoscopos-grid > *:nth-child(6),
.predicciones-grid > *:nth-child(6) {
	animation-delay: 0.6s;
}

/* Hover effect mejorado para cards */
.calculadora-card:hover,
.horoscopo-card-mini:hover,
.prediccion-card-mini:hover,
.arcano-card-mini:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-gold-lg);
}

/* Prefers-reduced-motion - Respetar preferencias de accesibilidad */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Skeleton loading (para futuro uso) */
.skeleton {
	background: linear-gradient(
		90deg,
		var(--color-bg-card) 25%,
		var(--color-bg-card-hover) 50%,
		var(--color-bg-card) 75%
	);
	background-size: 200% 100%;
	animation: skeleton-loading 1.5s ease-in-out infinite;
	border-radius: var(--border-radius);
}

@keyframes skeleton-loading {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

/* Pulse animation para badges */
.prediccion-badge,
.horoscopo-badge {
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.8;
	}
}

/* Glow effect sutil para elementos dorados */
.btn-primary,
.social-link:hover {
	animation: subtle-glow 3s ease-in-out infinite;
}

@keyframes subtle-glow {
	0%, 100% {
		box-shadow: 0 4px 25px rgba(201, 169, 97, 0.15);
	}
	50% {
		box-shadow: 0 4px 35px rgba(201, 169, 97, 0.25);
	}
}

/*--------------------------------------------------------------
# Predicciones - UX MEJORADO
--------------------------------------------------------------*/

/* Hero de Single Predicción */
.prediccion-single-page {
	padding: 0;
}

.prediccion-hero {
	position: relative;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--color-bg-darker);
	margin-bottom: calc(var(--spacing-unit) * 3);
}

.prediccion-hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	filter: blur(20px) brightness(0.3);
	transform: scale(1.1);
}

.prediccion-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		rgba(15, 15, 15, 0.9) 0%,
		rgba(15, 15, 15, 0.7) 100%
	);
}

.prediccion-hero-container {
	position: relative;
	z-index: 1;
	max-width: 900px;
	margin: 0 auto;
	padding: calc(var(--spacing-unit) * 4) var(--spacing-unit);
	text-align: center;
}

.prediccion-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 1rem;
	border-radius: calc(var(--border-radius) * 3);
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: var(--transition);
}


.badge-tipo {
	background: var(--color-gold);
	color: var(--color-bg-darker);
}

.badge-diaria {
	background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
	color: white;
}

.badge-semanal {
	background: linear-gradient(135deg, #4ecdc4, #44a8a0);
	color: white;
}

.badge-mensual {
	background: linear-gradient(135deg, #a29bfe, #6c5ce7);
	color: white;
}

.badge-arcano {
	background: rgba(201, 169, 97, 0.2);
	border: 1px solid var(--color-gold);
	color: var(--color-gold);
}

.badge-signo {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: var(--color-text);
}

.prediccion-hero-title {
	font-size: 3rem;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 1rem;
	line-height: 1.2;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.prediccion-hero-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	color: var(--color-text-light);
	font-size: 1.1rem;
}


/* Contenido de la Predicción */
.prediccion-content-wrapper {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 var(--spacing-unit) calc(var(--spacing-unit) * 3);
}

.prediccion-content-container {
	display: flex;
	flex-direction: column;
	gap: calc(var(--spacing-unit) * 2);
}

.prediccion-extracto-destacado {
	background: linear-gradient(
		135deg,
		rgba(201, 169, 97, 0.1) 0%,
		rgba(201, 169, 97, 0.05) 100%
	);
	border-left: 4px solid var(--color-gold);
	padding: calc(var(--spacing-unit) * 1.5);
	border-radius: var(--border-radius-lg);
	position: relative;
}

.prediccion-extracto-destacado::before {
	content: '"';
	position: absolute;
	top: 1rem;
	left: 1rem;
	font-size: 4rem;
	font-family: var(--font-serif);
	color: var(--color-gold);
	opacity: 0.15;
	line-height: 1;
}


.extracto-texto {
	font-size: 1.15rem;
	line-height: 1.7;
	color: var(--color-text);
	font-weight: 500;
}

.prediccion-content {
	font-size: 1.05rem;
	line-height: 1.9;
	color: var(--color-text-light);
}

.prediccion-content p {
	margin-bottom: 1.5rem;
}

.prediccion-content h2,
.prediccion-content h3 {
	color: var(--color-text);
	margin-top: 2rem;
	margin-bottom: 1rem;
}

/* Información del Arcano */
.prediccion-arcano-info {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	padding: calc(var(--spacing-unit) * 1.5);
}

.info-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	color: var(--color-gold);
}


.arcano-info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.info-item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.info-label {
	font-size: 0.85rem;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
}

.info-value {
	font-size: 1rem;
	color: var(--color-text);
}

/* CTAs */
.prediccion-ctas {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.btn-secondary {
	background: transparent;
	border: 2px solid var(--color-border);
	color: var(--color-text);
}

.btn-secondary:hover {
	border-color: var(--color-gold);
	color: var(--color-gold);
	background: rgba(201, 169, 97, 0.1);
}

.btn-outline {
	background: transparent;
	border: 2px solid var(--color-gold);
	color: var(--color-gold);
}

.btn-outline:hover {
	background: var(--color-gold);
	color: var(--color-bg-darker);
}

/* Navegación entre predicciones */
.prediccion-navigation {
	max-width: 1200px;
	margin: 0 auto;
	padding: calc(var(--spacing-unit) * 2) var(--spacing-unit);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.nav-item {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	transition: var(--transition);
	text-decoration: none;
}

.nav-item:hover {
	border-color: var(--color-gold);
	transform: translateY(-4px);
	box-shadow: var(--shadow-gold);
}

.nav-label {
	font-size: 0.85rem;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
}

.nav-title {
	font-size: 1.1rem;
	color: var(--color-text);
	font-weight: 500;
}

.nav-prev {
	text-align: left;
}

.nav-next {
	text-align: right;
}

.nav-disabled {
	opacity: 0;
	pointer-events: none;
}

/* Archive de Predicciones */
.predicciones-archive-page {
	padding: 0;
}

.archive-hero {
	background: linear-gradient(
		135deg,
		var(--color-bg-darker) 0%,
		var(--color-bg-dark) 100%
	);
	border-bottom: 1px solid var(--color-border);
	padding: calc(var(--spacing-unit) * 4) var(--spacing-unit);
	text-align: center;
}

.archive-hero-container {
	max-width: 800px;
	margin: 0 auto;
}

.archive-icon {
	font-size: 4rem;
	display: block;
	margin-bottom: 1rem;
	animation: float 3s ease-in-out infinite;
}

@keyframes float {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

.archive-title {
	font-size: 3rem;
	color: var(--color-text);
	margin-bottom: 1rem;
}

.archive-description {
	font-size: 1.1rem;
	color: var(--color-text-light);
	line-height: 1.7;
}

/* Filtros Mejorados */
.predicciones-filters-new {
	background: var(--color-bg-card);
	border-bottom: 1px solid var(--color-border);
	padding: calc(var(--spacing-unit) * 2) 0;
	position: sticky;
	top: 73px; /* Altura del header */
	z-index: 100;
	backdrop-filter: blur(10px);
}

.filters-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 var(--spacing-unit);
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.filter-section {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.filter-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1rem;
	color: var(--color-text);
	font-weight: 600;
	margin: 0;
}


.filter-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.filter-pills-scroll {
	flex-wrap: nowrap;
	overflow-x: auto;
	padding-bottom: 0.5rem;
	scrollbar-width: thin;
	scrollbar-color: var(--color-gold) var(--color-bg-darker);
}

.filter-pills-scroll::-webkit-scrollbar {
	height: 6px;
}

.filter-pills-scroll::-webkit-scrollbar-track {
	background: var(--color-bg-darker);
	border-radius: 3px;
}

.filter-pills-scroll::-webkit-scrollbar-thumb {
	background: var(--color-gold);
	border-radius: 3px;
}

.filter-pill {
	padding: 0.5rem 1rem;
	border-radius: calc(var(--border-radius) * 3);
	background: var(--color-bg-darker);
	border: 1px solid var(--color-border);
	color: var(--color-text-light);
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	transition: var(--transition);
	white-space: nowrap;
}

.filter-pill:hover {
	border-color: var(--color-gold);
	color: var(--color-gold);
	transform: translateY(-2px);
}

.filter-pill.active {
	background: var(--color-gold);
	border-color: var(--color-gold);
	color: var(--color-bg-darker);
}

.btn-clear-filters {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1.25rem;
	background: transparent;
	border: 2px solid var(--color-border);
	color: var(--color-text-muted);
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: var(--border-radius);
	transition: var(--transition);
	text-decoration: none;
}

.btn-clear-filters:hover {
	border-color: #ff6b6b;
	color: #ff6b6b;
}

/* Grid de Predicciones Mejorado */
.predicciones-grid-new {
	max-width: 1400px;
	margin: 0 auto;
	padding: calc(var(--spacing-unit) * 3) var(--spacing-unit);
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: calc(var(--spacing-unit) * 2);
}

.prediccion-card-new {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	overflow: hidden;
	transition: var(--transition);
	position: relative;
	display: flex;
	flex-direction: column;
}

.prediccion-card-new:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-gold-lg);
	border-color: var(--color-gold);
}

.card-link-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.card-image {
	width: 100%;
	height: 200px;
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
}

.card-image-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		180deg,
		transparent 0%,
		rgba(15, 15, 15, 0.8) 100%
	);
}

.card-content {
	padding: 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	position: relative;
	z-index: 2;
}

.card-badges {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.card-title {
	font-size: 1.35rem;
	color: var(--color-text);
	line-height: 1.3;
	margin: 0;
	font-weight: 600;
}

.card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	font-size: 0.85rem;
}

.meta-item {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--color-text-muted);
}

.meta-arcano {
	color: var(--color-gold);
}

.card-excerpt {
	color: var(--color-text-light);
	line-height: 1.6;
	flex: 1;
}

.card-action {
	margin-top: auto;
}

.btn-read-more {
	display: inline-flex;
	align-items: center;
	color: var(--color-gold);
	font-weight: 600;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: var(--transition);
}

.prediccion-card-new:hover .btn-read-more {
	gap: 0.5rem;
}

/* Paginación */
.predicciones-pagination {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 var(--spacing-unit) calc(var(--spacing-unit) * 3);
}

.predicciones-pagination .pagination {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.predicciones-pagination .page-numbers {
	padding: 0.75rem 1.25rem;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	color: var(--color-text);
	border-radius: var(--border-radius);
	transition: var(--transition);
	text-decoration: none;
}

.predicciones-pagination .page-numbers:hover,
.predicciones-pagination .page-numbers.current {
	background: var(--color-gold);
	border-color: var(--color-gold);
	color: var(--color-bg-darker);
}

/* No predicciones */
.no-predicciones {
	max-width: 600px;
	margin: calc(var(--spacing-unit) * 4) auto;
	padding: calc(var(--spacing-unit) * 3);
	text-align: center;
}

/* Mejorado: Sin emojis, con estilo profesional */
.no-predicciones h2,
.no-predicciones p {
	text-align: center;
}

.no-predicciones h2 {
	font-size: 1.75rem;
	margin-bottom: 0.75rem;
	color: var(--color-text-light);
}

.no-predicciones p {
	font-size: 1rem;
	color: var(--color-text-muted);
	margin-bottom: 1.5rem;
}

.no-predicciones h2 {
	font-size: 2rem;
	color: var(--color-text);
	margin-bottom: 1rem;
}

.no-predicciones p {
	color: var(--color-text-light);
	margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
	.prediccion-hero-title {
		font-size: 2rem;
	}
	
	.prediccion-badges {
		font-size: 0.8rem;
	}
	
	.predicciones-grid-new {
		grid-template-columns: 1fr;
		gap: var(--spacing-unit);
		padding: calc(var(--spacing-unit) * 2) var(--spacing-unit);
	}
	
	.prediccion-navigation {
		grid-template-columns: 1fr;
	}
	
	.archive-title {
		font-size: 2rem;
	}
	
	.predicciones-filters-new {
		position: static;
	}
	
	.prediccion-ctas {
		flex-direction: column;
	}
	
	.prediccion-ctas .btn {
		width: 100%;
		text-align: center;
	}
}

/*--------------------------------------------------------------
# Calculadora de Arcano Mayor - Estilos Profesionales
--------------------------------------------------------------*/

/* Contenedor principal */
.mi-arcano-calculadora {
	max-width: 600px;
	margin: 0 auto;
	padding: calc(var(--spacing-unit) * 2);
}

/* Formulario */
.calculadora-form {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	padding: calc(var(--spacing-unit) * 3);
	box-shadow: var(--shadow-md);
	position: relative;
	overflow: hidden;
}

.calculadora-form::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, transparent 0%, var(--color-gold) 50%, transparent 100%);
}

/* Form Group */
.calculadora-form .form-group {
	margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.calculadora-form .form-group:last-child {
	margin-bottom: 0;
}

/* Label */
.calculadora-form label {
	display: block;
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-text);
	margin-bottom: 0.75rem;
	font-family: var(--font-serif);
}

/* Input Date */
.calculadora-form .form-control {
	width: 100%;
	padding: 1rem 1.25rem;
	font-size: 1rem;
	color: var(--color-text);
	background: var(--color-bg-darker);
	border: 2px solid var(--color-border);
	border-radius: var(--border-radius);
	transition: var(--transition);
	font-family: var(--font-sans);
}

.calculadora-form .form-control:hover {
	border-color: var(--color-border-gold-light);
}

.calculadora-form .form-control:focus {
	outline: none;
	border-color: var(--color-gold);
	box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.1);
	background: var(--color-bg-card);
}

/* Estilos para date input (navegadores Webkit) */
.calculadora-form .form-control::-webkit-calendar-picker-indicator {
	filter: invert(0.7) sepia(1) saturate(5) hue-rotate(10deg);
	cursor: pointer;
}

/* Botón Calcular */
.btn-calculadora {
	width: 100%;
	padding: 1rem 2rem;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--color-bg-darker);
	background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
	border: none;
	border-radius: var(--border-radius);
	cursor: pointer;
	transition: var(--transition);
	font-family: var(--font-serif);
	letter-spacing: 0.5px;
	text-transform: uppercase;
	box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
	position: relative;
	overflow: hidden;
}

.btn-calculadora::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.5s ease;
}

.btn-calculadora:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 25px rgba(201, 169, 97, 0.4);
}

.btn-calculadora:hover::before {
	left: 100%;
}

.btn-calculadora:active {
	transform: translateY(0);
}

.btn-calculadora:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

/* Loading State */
.calculadora-loading {
	text-align: center;
	padding: calc(var(--spacing-unit) * 3);
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	margin-top: calc(var(--spacing-unit) * 2);
}

.calculadora-loading::before {
	content: '';
	display: block;
	width: 50px;
	height: 50px;
	margin: 0 auto 1.5rem;
	border: 4px solid var(--color-border);
	border-top-color: var(--color-gold);
	border-radius: 50%;
	animation: spin-loading 1s linear infinite;
}

.calculadora-loading p {
	font-size: 1.1rem;
	color: var(--color-text-light);
	margin: 0;
	font-style: italic;
}

/* Resultado */
.calculadora-resultado {
	margin-top: calc(var(--spacing-unit) * 3);
	padding: calc(var(--spacing-unit) * 3);
	background: var(--color-bg-card);
	border: 1px solid var(--color-border-gold-light);
	border-radius: var(--border-radius-lg);
	box-shadow: var(--shadow-gold);
	animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Título del resultado */
.calculadora-resultado h2 {
	font-size: 2rem;
	color: var(--color-gold);
	margin-bottom: 1rem;
	text-align: center;
	font-family: var(--font-serif);
}

/* Nombre del arcano */
.calculadora-resultado h3 {
	font-size: 2.5rem;
	color: var(--color-text);
	margin-bottom: 1.5rem;
	text-align: center;
	font-family: var(--font-serif);
	font-weight: 700;
}

/* Imagen del arcano */
.calculadora-resultado img {
	display: block;
	max-width: 300px;
	width: 100%;
	height: auto;
	margin: 0 auto 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-md);
	transition: var(--transition);
}

.calculadora-resultado img:hover {
	transform: scale(1.05);
	box-shadow: var(--shadow-lg);
}

/* Descripción */
.calculadora-resultado .descripcion {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--color-text-light);
	margin-bottom: 2rem;
	text-align: center;
}

/* Secciones de información */
.calculadora-resultado .info-section {
	margin-bottom: calc(var(--spacing-unit) * 2);
	padding: calc(var(--spacing-unit) * 1.5);
	background: var(--color-bg-darker);
	border-left: 4px solid var(--color-gold);
	border-radius: var(--border-radius);
}

.calculadora-resultado .info-section h4 {
	font-size: 1.25rem;
	color: var(--color-gold);
	margin-bottom: 0.75rem;
	font-family: var(--font-serif);
}

.calculadora-resultado .info-section p {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--color-text-light);
	margin: 0;
}

/* Botones de acción en resultado */
.calculadora-resultado .acciones {
	display: flex;
	gap: 1rem;
	margin-top: calc(var(--spacing-unit) * 2);
	padding-top: calc(var(--spacing-unit) * 2);
	border-top: 1px solid var(--color-border);
}

.calculadora-resultado .btn-accion {
	flex: 1;
	padding: 0.875rem 1.5rem;
	font-size: 0.95rem;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	border-radius: var(--border-radius);
	transition: var(--transition);
	font-family: var(--font-sans);
}

.calculadora-resultado .btn-ver-mas {
	background: var(--color-gold);
	color: var(--color-bg-darker);
	border: 2px solid var(--color-gold);
}

.calculadora-resultado .btn-ver-mas:hover {
	background: var(--color-gold-light);
	border-color: var(--color-gold-light);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.calculadora-resultado .btn-compartir {
	background: transparent;
	color: var(--color-text);
	border: 2px solid var(--color-border);
}

.calculadora-resultado .btn-compartir:hover {
	background: var(--color-bg-card-hover);
	border-color: var(--color-border-gold-light);
	color: var(--color-gold);
}

/* Responsive */
@media (max-width: 768px) {
	.mi-arcano-calculadora {
		padding: var(--spacing-unit);
	}
	
	.calculadora-form {
		padding: calc(var(--spacing-unit) * 2);
	}
	
	.calculadora-resultado {
		padding: calc(var(--spacing-unit) * 2);
	}
	
	.calculadora-resultado h2 {
		font-size: 1.5rem;
	}
	
	.calculadora-resultado h3 {
		font-size: 2rem;
	}
	
	.calculadora-resultado .acciones {
		flex-direction: column;
	}
	
	.calculadora-resultado .btn-accion {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.calculadora-form label {
		font-size: 0.95rem;
	}
	
	.calculadora-form .form-control {
		padding: 0.875rem 1rem;
		font-size: 0.95rem;
	}
	
	.btn-calculadora {
		padding: 0.875rem 1.5rem;
		font-size: 1rem;
	}
	
	.calculadora-resultado img {
		max-width: 250px;
	}
}

/*--------------------------------------------------------------
# Página Calculadora - Layout Mejorado
--------------------------------------------------------------*/

/* Header de la calculadora */
.calculadora-header {
	text-align: center;
	padding: calc(var(--spacing-unit) * 4) var(--spacing-unit) calc(var(--spacing-unit) * 3);
	background: linear-gradient(
		180deg,
		var(--color-bg-section) 0%,
		var(--color-bg-darker) 100%
	);
	position: relative;
}

.calculadora-header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 3px;
	background: linear-gradient(90deg, transparent 0%, var(--color-gold) 50%, transparent 100%);
}

.calculadora-header .entry-title {
	font-size: 3rem;
	color: var(--color-text);
	margin-bottom: 1rem;
	font-family: var(--font-serif);
	font-weight: 700;
}

.calculadora-intro {
	max-width: 700px;
	margin: 0 auto;
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--color-text-light);
}

.calculadora-intro p {
	margin: 0;
}

/* Contenedor de contenido */
.page-calculadora .entry-content {
	padding: calc(var(--spacing-unit) * 4) 0;
}

.page-calculadora .container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--spacing-unit);
}

/* Sección de información */
.calculadora-info {
	padding: calc(var(--spacing-unit) * 5) var(--spacing-unit);
	background: var(--color-bg-section);
}

.calculadora-info h2 {
	text-align: center;
	font-size: 2.5rem;
	color: var(--color-text);
	margin-bottom: calc(var(--spacing-unit) * 3);
	font-family: var(--font-serif);
}

/* Grid de información */
.info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: calc(var(--spacing-unit) * 2);
	max-width: 1200px;
	margin: 0 auto;
}

.info-card {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius-lg);
	padding: calc(var(--spacing-unit) * 2);
	transition: var(--transition);
	position: relative;
	overflow: hidden;
}

.info-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--color-gold);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease;
}

.info-card:hover {
	border-color: var(--color-border-gold-light);
	transform: translateY(-5px);
	box-shadow: var(--shadow-md);
}

.info-card:hover::before {
	transform: scaleX(1);
}

.info-card h3 {
	font-size: 1.5rem;
	color: var(--color-gold);
	margin-bottom: 1rem;
	font-family: var(--font-serif);
}

.info-card p {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--color-text-light);
	margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
	.calculadora-header {
		padding: calc(var(--spacing-unit) * 3) var(--spacing-unit) calc(var(--spacing-unit) * 2);
	}
	
	.calculadora-header .entry-title {
		font-size: 2.25rem;
	}
	
	.calculadora-intro {
		font-size: 1rem;
	}
	
	.calculadora-info h2 {
		font-size: 2rem;
	}
	
	.info-grid {
		grid-template-columns: 1fr;
		gap: var(--spacing-unit);
	}
}

@media (max-width: 480px) {
	.calculadora-header .entry-title {
		font-size: 1.75rem;
	}
	
	.calculadora-info {
		padding: calc(var(--spacing-unit) * 3) var(--spacing-unit);
	}
	
	.calculadora-info h2 {
		font-size: 1.75rem;
	}
}
