/*
Theme Name: Fioremi Hub
Theme URI: https://fioremi.com
Author: Fioremi S.A.S.
Description: Página central de Fioremi: reúne los distintos espacios de la marca (Studio, Detalles...) en un solo lugar.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: fioremi-hub
*/

/* ==========================================================
 * BASE
 * ========================================================== */
* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
	min-height: 100%;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #F3E9F1;
	background-color: #1B1220;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	position: relative;
}

/* Oscurece cualquier imagen de fondo para que el texto siga siendo legible;
   si no hay imagen, esta capa es transparente y no se nota. */
body.custom-background::before {
	content: "";
	position: fixed;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 10, 22, 0.72) 0%, rgba(20, 10, 22, 0.88) 100%);
	z-index: 0;
	pointer-events: none;
}

/* Brillos decorativos de marca, siempre presentes detrás del contenido. */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	background:
		radial-gradient(ellipse 640px 480px at 12% -6%, rgba(216, 40, 112, 0.35), transparent 60%),
		radial-gradient(ellipse 560px 520px at 92% 108%, rgba(166, 54, 127, 0.32), transparent 60%);
	z-index: 0;
	pointer-events: none;
}

.fioremi-hub {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 48px 20px;
	text-align: center;
}

/* ==========================================================
 * ENCABEZADO
 * ========================================================== */
.fioremi-hub__header {
	display: flex;
	align-items: center;
	gap: 32px;
	margin-bottom: 56px;
	text-align: left;
}

.fioremi-hub__logo {
	height: 74px;
	width: auto;
	flex-shrink: 0;
	filter: brightness(0) invert(1);
}

.fioremi-hub__header-divider {
	align-self: stretch;
	width: 1px;
	background: rgba(255, 255, 255, 0.22);
}

.fioremi-hub__header-text {
	text-align: left;
}

.fioremi-hub__title {
	margin: 0 0 8px;
	font-size: clamp(24px, 3.4vw, 34px);
	font-weight: 700;
	color: #FFFFFF;
	letter-spacing: -0.01em;
}

.fioremi-hub__subtitle {
	margin: 0;
	max-width: 340px;
	font-size: 14px;
	line-height: 1.6;
	color: #C5AEC2;
}

@media (max-width: 560px) {
	.fioremi-hub__header {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}
	.fioremi-hub__header-divider {
		width: 64px;
		height: 1px;
	}
	.fioremi-hub__header-text,
	.fioremi-hub__subtitle {
		text-align: center;
	}
	.fioremi-hub__subtitle { max-width: 320px; }
}

/* ==========================================================
 * TARJETAS
 * ========================================================== */
.fioremi-hub__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 28px;
	width: 100%;
	max-width: 760px;
}

.fioremi-hub__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 320px;
	max-width: 100%;
	padding: 40px 32px 34px;
	border-radius: 22px;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.22);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 32px rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(28px) saturate(160%);
	-webkit-backdrop-filter: blur(28px) saturate(160%);
	overflow: hidden;
	transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.fioremi-hub__card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--card-glow, radial-gradient(circle at 50% -10%, rgba(216, 40, 112, 0.35), transparent 65%));
	opacity: 0;
	transition: opacity 0.25s ease;
}

.fioremi-hub__card:hover,
.fioremi-hub__card:focus-visible {
	transform: translateY(-6px) scale(1.02);
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.45);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 20px 44px rgba(0, 0, 0, 0.4);
}

.fioremi-hub__card:hover::before,
.fioremi-hub__card:focus-visible::before {
	opacity: 1;
}

.fioremi-hub__card--studio { --card-glow: radial-gradient(circle at 50% -10%, rgba(216, 40, 112, 0.4), transparent 65%); }
.fioremi-hub__card--detalles { --card-glow: radial-gradient(circle at 50% -10%, rgba(166, 108, 200, 0.4), transparent 65%); }

.fioremi-hub__card-icon {
	position: relative;
	width: 128px;
	height: 128px;
	margin-bottom: 20px;
	filter: brightness(0) invert(1) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3));
}

.fioremi-hub__card-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.fioremi-hub__card-name {
	position: relative;
	margin: 0 0 8px;
	font-size: 21px;
	font-weight: 700;
	color: #FFFFFF;
}

.fioremi-hub__card-desc {
	position: relative;
	margin: 0 0 22px;
	font-size: 12.5px;
	line-height: 1.5;
	color: #C5AEC2;
}

.fioremi-hub__card-cta {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 22px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: #FFFFFF;
	background: linear-gradient(135deg, #D82870 0%, #A6367F 100%);
	transition: gap 0.2s ease;
}

.fioremi-hub__card:hover .fioremi-hub__card-cta,
.fioremi-hub__card:focus-visible .fioremi-hub__card-cta {
	gap: 12px;
}

.fioremi-hub__card--detalles .fioremi-hub__card-cta {
	background: linear-gradient(135deg, #A6367F 0%, #6D3E9C 100%);
}

/* ==========================================================
 * PRÓXIMAMENTE
 * ========================================================== */
.fioremi-hub__soon {
	margin-top: 40px;
	font-size: 13px;
	color: #B49CB0;
}

.fioremi-hub__soon strong {
	color: #E9B8D3;
	font-weight: 600;
}

/* ==========================================================
 * PIE
 * ========================================================== */
.fioremi-hub__footer {
	position: relative;
	z-index: 1;
	padding: 24px 20px 32px;
	text-align: center;
	font-size: 12px;
	color: #8C7690;
}

@media (max-width: 480px) {
	.fioremi-hub__card { width: 100%; padding: 32px 24px 28px; }
}
