/* ============================================================
   HERO — Haciendas Horizonte  (EDITABLE EN ELEMENTOR)
   Valores EXACTOS del código de referencia (Hero.tsx):
   bg-white/10=#ffffff1a · gold/20=#d4a57433 · gold/30=#d4a5744d
   ============================================================ */

/* ---- SECCIÓN HERO ---- */
#inicio {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}
/* Overlay verde diagonal + luz cálida a la derecha (igual a la referencia) */
#inicio::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(105deg, rgba(18,40,40,.92) 0%, rgba(27,58,58,.78) 38%, rgba(27,58,58,.45) 100%),
		radial-gradient(circle at 78% 42%, rgba(212,165,116,.28), transparent 46%);
}
/* Fade crema inferior — MISMO crema del fondo del sitio (#F5F0E8) para que NO
   se vea costura con la sección de abajo. Si la sección que sigue al hero usa
   otro color de fondo, cambia estos rgba(245,240,232,...) por ese color. */
#inicio::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 42%;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(0deg,
		#F5F0E8 0%,
		rgba(245,240,232,.92) 12%,
		rgba(245,240,232,.6) 30%,
		rgba(245,240,232,.28) 52%,
		rgba(245,240,232,.08) 74%,
		transparent 100%);
}

/* ============================================================
   NORMALIZACIÓN: quita el padding por defecto de Elementor en
   los SUB-contenedores (NO en #hh-inner, que sí lleva su aire).
   ============================================================ */
#hh-left, #hh-right, #hh-pills, #hh-cta,
#hh-left > .e-con-inner, #hh-right > .e-con-inner,
#hh-pills > .e-con-inner, #hh-cta > .e-con-inner {
	padding: 0 !important;
}

/* ---- CONTENEDOR: max-w-7xl mx-auto px-12 py-32 ---- */
#hh-inner {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1280px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 120px 48px 100px !important;
}
#hh-inner, #hh-inner > .e-con-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px;   /* gap-12 */
}

#hh-left { max-width: 600px; flex: 1 1 55%; }
#hh-left, #hh-left > .e-con-inner {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start;
}
#hh-right { flex: 1 1 42%; position: relative; }
#hh-right, #hh-right > .e-con-inner {
	display: flex !important;
	justify-content: flex-end;
}
/* glows dorados detrás de la tarjeta (bg-gold/20 blur, bg-gold/10 blur) */
#hh-right::before, #hh-right::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	z-index: 0;
	pointer-events: none;
}
#hh-right::before { top: -32px; right: -32px; width: 130px; height: 130px; background: rgba(212,165,116,.20); filter: blur(45px); }
#hh-right::after { bottom: -32px; left: -32px; width: 165px; height: 165px; background: rgba(212,165,116,.10); filter: blur(70px); }

/* ---- BADGE DE UBICACIÓN (bg-gold/20, border-gold/30) ---- */
#hh-badge { margin-bottom: 32px !important; }
#hh-badge .elementor-button {
	background: #d4a57433 !important;
	border: 1px solid #d4a5744d !important;
	color: #e8d4ba !important;
	border-radius: 999px !important;
	padding: 8px 16px !important;
	font-family: 'Poppins', sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: none !important;
}
#hh-badge .elementor-button-icon { color: #d4a574; }

/* ---- TÍTULO (text-6xl, leading-1.1) ---- */
#hh-title { margin-bottom: 16px !important; }
#hh-title .elementor-heading-title {
	font-family: 'Playfair Display', Georgia, serif !important;
	font-weight: 700 !important;
	font-size: clamp(36px, 4.6vw, 60px) !important;
	line-height: 1.1 !important;
	color: #fff !important;
}
#hh-title .elementor-heading-title span { color: #d4a574 !important; }

/* ---- SUBTÍTULO (text-xl/2xl, white/80, font-light) ---- */
#hh-sub { margin-bottom: 32px !important; max-width: 512px; }
#hh-sub, #hh-sub p {
	font-family: 'Poppins', sans-serif !important;
	font-size: clamp(18px, 2vw, 24px) !important;
	font-weight: 300 !important;
	line-height: 1.5 !important;
	color: rgba(255,255,255,.80) !important;
	margin: 0 !important;
}

/* ---- PILLS (bg-white/10, sin borde, gap-4) ---- */
#hh-pills { margin-bottom: 32px !important; max-width: 470px; }
#hh-pills, #hh-pills > .e-con-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	gap: 16px;
	align-items: flex-start;
}
#hh-pills .elementor-widget { width: auto !important; flex: 0 0 auto !important; margin: 0 !important; }
#hh-pills .elementor-button {
	background: #ffffff1a !important;
	border: none !important;
	color: #fff !important;
	border-radius: 999px !important;
	padding: 8px 16px !important;
	font-family: 'Poppins', sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: none !important;
}
#hh-pills .elementor-button-icon { color: #d4a574; }

/* ---- BOTONES CTA (gap-4) ---- */
#hh-cta, #hh-cta > .e-con-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	gap: 16px;
}
#hh-cta .elementor-widget { width: auto !important; flex: 0 0 auto !important; margin: 0 !important; }
/* primario: bg-gold, text-white, shadow-gold */
#hh-btn-primary .elementor-button {
	background: #d4a574 !important;
	color: #fff !important;
	border-radius: 999px !important;
	padding: 16px 32px !important;
	font-family: 'Poppins', sans-serif !important;
	font-weight: 600 !important;
	font-size: 16px !important;
	box-shadow: 0 12px 30px rgba(212,165,116,.35) !important;
	border: none !important;
	transition: background .3s ease, box-shadow .3s ease, transform .3s ease;
}
#hh-btn-primary .elementor-button:hover { background: #b88b5a !important; box-shadow: 0 16px 40px rgba(212,165,116,.5) !important; transform: translateY(-2px); }
/* secundario: bg-white/10, border-white/40, hover bg-white/20 */
#hh-btn-secondary .elementor-button {
	background: #ffffff1a !important;
	color: #fff !important;
	border: 1px solid rgba(255,255,255,.40) !important;
	border-radius: 999px !important;
	padding: 16px 32px !important;
	font-family: 'Poppins', sans-serif !important;
	font-weight: 600 !important;
	font-size: 16px !important;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: none !important;
	transition: background .3s ease;
}
#hh-btn-secondary .elementor-button:hover { background: rgba(255,255,255,.20) !important; }

/* ---- TARJETA DE ESTADÍSTICAS (glass blanco + borde dorado) ---- */
#hh-stats {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 520px;
	background: rgba(255,255,255,.07) !important;
	border: 1px solid rgba(212,165,116,.25) !important;
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-radius: 28px !important;
	padding: 32px !important;
	box-shadow: 0 20px 50px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.12) !important;
}
#hh-stats, #hh-stats > .e-con-inner {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 24px;   /* gap-6 */
}
/* cada stat centrado (text-center p-4) */
#hh-stats .elementor-element > .e-con-inner,
#hh-stats > .e-con-inner > .elementor-element {
	text-align: center;
}
#hh-stats .elementor-widget-heading,
#hh-stats .elementor-widget-text-editor { text-align: center; }
#hh-stats .elementor-heading-title {
	font-family: 'Playfair Display', Georgia, serif !important;
	font-weight: 700 !important;
	font-size: 36px !important;
	line-height: 1 !important;
	color: #d4a574 !important;
	margin-bottom: 4px !important;
	text-align: center !important;
}
#hh-stats .elementor-widget-text-editor,
#hh-stats .elementor-widget-text-editor p {
	font-family: 'Poppins', sans-serif !important;
	font-size: 14px !important;
	color: rgba(255,255,255,.70) !important;
	margin: 0 !important;
	text-align: center !important;
}

/* ---- INDICADOR "DESPLÁZATE" (texto; el mouse lo pegas aparte) ---- */
#hh-scroll {
	position: absolute;
	left: 50%;
	bottom: 26px;
	transform: translateX(-50%);
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: center;
	pointer-events: none;
	text-align: center;
}
#hh-scroll, #hh-scroll .elementor-widget-text-editor, #hh-scroll p {
	font-family: 'Poppins', sans-serif !important;
	font-size: 13px !important;
	letter-spacing: .4px;
	color: rgba(40,60,55,.7) !important;
	margin: 0 !important;
}

/* ---- INDICADOR "DESPLÁZATE" + MOUSE  (shortcode [hh_scroll]) ----
   Diseño transparente: solo contorno del mouse + puntito dorado que baja.
   Se funde con la neblina del pie del hero. */
.hh-scroll-ind {
	position: relative;
	z-index: 5;                    /* por encima del fade crema (#inicio::after z-index:2) */
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	pointer-events: none;
	-webkit-user-select: none;
	user-select: none;
}
.hh-scroll-label {
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	letter-spacing: .4px;
	color: #fff;
	text-shadow: 0 1px 6px rgba(0,0,0,.4);   /* legible sobre campo o neblina */
}
.hh-scroll-mouse {
	width: 26px;
	height: 42px;
	border-radius: 14px;
	border: 2px solid rgba(255,255,255,.75);
	background: transparent;       /* transparente */
	display: flex;
	justify-content: center;
	padding-top: 7px;
	box-sizing: border-box;
	box-shadow: 0 1px 10px rgba(0,0,0,.25);
}
.hh-scroll-wheel {
	width: 4px;
	height: 8px;
	border-radius: 2px;
	background: #d4a574;           /* puntito dorado */
	animation: hh-wheel 1.7s ease-in-out infinite;
}
@keyframes hh-wheel {
	0%   { transform: translateY(0);    opacity: 0; }
	20%  { opacity: 1; }
	65%  { transform: translateY(13px); opacity: 0; }
	100% { transform: translateY(13px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.hh-scroll-wheel { animation: none; }
}

/* ---- ANIMACIONES DE ENTRADA ---- */
@keyframes hh-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
#hh-badge, #hh-title, #hh-sub, #hh-pills, #hh-cta, #hh-stats { opacity: 0; animation: hh-rise .7s ease forwards; }
#hh-badge { animation-delay: .10s; }
#hh-title { animation-delay: .20s; }
#hh-sub { animation-delay: .30s; }
#hh-pills { animation-delay: .40s; }
#hh-cta { animation-delay: .50s; }
#hh-stats { animation-delay: .45s; }
@media (prefers-reduced-motion: reduce) {
	#hh-badge, #hh-title, #hh-sub, #hh-pills, #hh-cta, #hh-stats { opacity: 1; animation: none; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
	#hh-inner, #hh-inner > .e-con-inner { flex-direction: column !important; align-items: flex-start; gap: 36px; }
	#hh-inner { padding: 130px 32px 100px !important; }
	#hh-left, #hh-right { flex: 1 1 100%; width: 100%; }
	#hh-right, #hh-right > .e-con-inner { justify-content: flex-start; }
	#hh-right::before, #hh-right::after { display: none; }
	#hh-stats { display: none !important; }
}
@media (max-width: 600px) {
	#hh-inner { padding: 116px 20px 90px !important; }
	#hh-title { margin-bottom: 14px !important; }
	#hh-pills { max-width: 100%; }
}
