/* ==========================================================================
   NOSCASAMOS.MX — Global Styles (Hub de Servicios)
   Shared across: Home, Invitaciones, Guía Espiritual, Agenda
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600&display=swap');

/* --- Variables --- */
:root {
	--rose: #C9A9A6;
	--rose-dark: #A6807C;
	--rose-light: #E8D5D3;
	--champagne: #E8D5B7;
	--champagne-light: #F5EDE0;
	--cream: #FBF9F7;
	--gold: #C7A95E;
	--gold-light: #F0E6C8;
	--text: #3D3D3D;
	--text-light: #8A8A8A;
	--white: #FFFFFF;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }

body {
	font-family: 'Outfit', sans-serif;
	background-color: var(--cream);
	color: var(--text);
	margin: 0;
	overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, .serif {
	font-family: 'Cormorant Garamond', serif;
}
h2 {
	font-size: 2.8rem;
	font-weight: 300;
	letter-spacing: -0.5px;
}
.section-label {
	display: block;
	font-family: 'Outfit', sans-serif;
	text-transform: uppercase;
	letter-spacing: 4px;
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--rose-dark);
	margin-bottom: 12px;
}

/* --- Animations --- */
@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(30px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes floatSoft {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}
@keyframes pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.05); }
}
@keyframes sparkle {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.6; }
}
@keyframes shimmer {
	0% { background-position: -200% center; }
	100% { background-position: 200% center; }
}
@keyframes slideInLeft {
	from { opacity: 0; transform: translateX(-40px); }
	to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
	from { opacity: 0; transform: translateX(40px); }
	to { opacity: 1; transform: translateX(0); }
}

.animate-in {
	animation: fadeInUp 0.8s ease-out both;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* --- Divider --- */
.nc-divider {
	text-align: center;
	padding: 20px 0;
	overflow: hidden;
}
.nc-divider svg {
	width: 200px;
	height: 40px;
	opacity: 0.25;
}

/* --- Navbar --- */
.nc-navbar {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 1000;
	background: rgba(251, 249, 247, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(0,0,0,0.04);
	padding: 16px 0;
	transition: all 0.3s ease;
}
.nc-navbar.scrolled {
	padding: 10px 0;
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.nc-navbar .brand {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.7rem;
	font-weight: 600;
	color: var(--rose-dark);
	text-decoration: none;
	letter-spacing: 1px;
}
.nc-navbar .brand .brand-light {
	font-weight: 300;
	font-style: italic;
	color: var(--text);
}
.nc-navbar .nav-link {
	color: var(--text) !important;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 8px 14px !important;
	transition: color 0.3s;
}
.nc-navbar .nav-link:hover {
	color: var(--rose-dark) !important;
}
.nc-navbar .nav-link.active {
	color: var(--rose-dark) !important;
	font-weight: 600;
	position: relative;
}
.nc-navbar .nav-link.active::after {
	content: '';
	position: absolute;
	bottom: 2px;
	left: 50%;
	width: 0;
	height: 2px;
	background: var(--rose-dark);
	border-radius: 2px;
	transform: translateX(-50%);
	animation: drawLine 0.4s ease-out 0.2s forwards;
}
@keyframes drawLine {
	to { width: 100%; }
}
.btn-nav {
	background: var(--rose-dark);
	color: var(--white) !important;
	border-radius: 25px;
	padding: 9px 22px !important;
	font-size: 0.75rem !important;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	transition: all 0.3s;
	border: 1px solid var(--rose-dark);
}
.btn-nav:hover {
	background: transparent;
	color: var(--rose-dark) !important;
}

/* --- Hero (shared base) --- */
.nc-hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, var(--champagne-light) 0%, var(--cream) 40%, var(--rose-light) 100%);
}
.nc-hero::before {
	content: '';
	position: absolute;
	width: 600px;
	height: 600px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--rose) 0%, transparent 70%);
	opacity: 0.08;
	top: -15%;
	left: -10%;
	animation: floatSoft 8s ease-in-out infinite;
}
.nc-hero::after {
	content: '';
	position: absolute;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--champagne) 0%, transparent 70%);
	opacity: 0.12;
	bottom: -20%;
	right: -10%;
	animation: floatSoft 10s ease-in-out infinite reverse;
}
.nc-hero h1 {
	font-size: clamp(2.5rem, 6vw, 5rem);
	font-weight: 300;
	line-height: 1.15;
	color: var(--text);
	position: relative;
	z-index: 2;
	margin-bottom: 1.5rem;
}
.nc-hero h1 em {
	font-weight: 400;
	color: var(--rose-dark);
}
.nc-hero p {
	font-size: 1.1rem;
	font-weight: 300;
	color: var(--text-light);
	max-width: 600px;
	margin: 0 auto 2.5rem;
	position: relative;
	z-index: 2;
	line-height: 1.7;
}
.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255,255,255,0.7);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(199, 169, 94, 0.2);
	border-radius: 50px;
	padding: 8px 22px;
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--text);
	margin-bottom: 30px;
	position: relative;
	z-index: 2;
	animation: pulse 3s ease-in-out infinite;
}
.hero-badge .sparkle { animation: sparkle 2s ease-in-out infinite; }
.btn-hero {
	display: inline-block;
	background: var(--rose-dark);
	color: var(--white);
	padding: 16px 40px;
	border-radius: 50px;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	border: 2px solid var(--rose-dark);
	transition: all 0.4s ease;
	position: relative;
	z-index: 2;
}
.btn-hero:hover {
	background: transparent;
	color: var(--rose-dark);
}
.scroll-hint {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	animation: floatSoft 2s ease-in-out infinite;
}
.scroll-hint svg {
	width: 24px;
	height: 24px;
	stroke: var(--text-light);
	opacity: 0.5;
}

/* --- Hero Compact (shared) --- */
.nc-hero-sm {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, var(--champagne-light) 0%, var(--cream) 40%, var(--rose-light) 100%);
	padding: 120px 20px 60px;
}
.nc-hero-sm::before {
	content: '';
	position: absolute;
	width: 500px; height: 500px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--rose) 0%, transparent 70%);
	opacity: 0.06;
	top: -20%; right: -10%;
	animation: floatSoft 10s ease-in-out infinite;
}
.nc-hero-sm h1 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 300;
	color: var(--text);
	position: relative;
	z-index: 2;
	margin: 0 0 10px;
}
.nc-hero-sm h1 em {
	font-weight: 400;
	color: var(--rose-dark);
}
.nc-hero-sm p {
	font-size: 1rem;
	font-weight: 300;
	color: var(--text-light);
	position: relative;
	z-index: 2;
	margin: 0;
}

/* --- Section (shared) --- */
.nc-section {
	padding: 80px 0;
}

/* --- CTA (shared) --- */
.nc-cta {
	padding: 80px 0;
	background: linear-gradient(160deg, var(--champagne-light) 0%, var(--cream) 50%, var(--rose-light) 100%);
}
.cta-box {
	text-align: center;
	max-width: 600px;
	margin: 0 auto;
}
.cta-box h2 {
	margin: 0 0 15px;
}
.cta-box p {
	color: var(--text-light);
	font-weight: 300;
	margin: 0 0 30px;
	line-height: 1.7;
}

/* --- Footer --- */
.nc-footer {
	padding: 60px 0 40px;
	background: var(--cream);
	border-top: 1px solid rgba(0,0,0,0.06);
	text-align: center;
}
.nc-footer h3 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.8rem;
	font-weight: 400;
	color: var(--text);
	margin-bottom: 20px;
}
.nc-footer a {
	color: var(--rose-dark);
	text-decoration: none;
	font-weight: 500;
	transition: opacity 0.3s;
	padding: 0 6px;
}
.nc-footer a:hover { opacity: 0.7; }
.nc-footer .copy {
	margin-top: 40px;
	font-size: 0.75rem;
	color: var(--text-light);
	opacity: 0.6;
}

/* --- WhatsApp Float --- */
.wa-float {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25D366;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 15px rgba(37,211,102,0.3);
	transition: all 0.3s;
	z-index: 999;
	text-decoration: none;
}
.wa-float:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 25px rgba(37,211,102,0.4);
}
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* --- Responsive (global) --- */
@media (max-width: 767px) {
	.nc-hero h1 { font-size: 2.4rem; }
	.nc-hero-sm h1 { font-size: 2rem; }
	h2 { font-size: 2rem; }
	.wa-float { bottom: 18px; right: 18px; width: 52px; height: 52px; }
	.wa-float svg { width: 26px; height: 26px; }
}
