/* =========================================================
   DJ FLORES — Design tokens
   ========================================================= */
:root {
	/* Brand colors (from logo gradient) */
	--brand-pink: #FF2E7E;
	--brand-pink-2: #EC1E79;
	--brand-purple: #9D34DA;
	--brand-purple-2: #7C3AED;
	--accent-gold: #FFC83D;

	/* Backgrounds */
	--bg-dark: #160A2C;
	--bg-dark-2: #220F40;
	--bg-light: #FAF7FC;
	--bg-card-light: #FFFFFF;

	/* Text */
	--text-dark: #1A0B2E;
	--text-muted-dark: rgba(26, 11, 46, 0.64);
	--text-light: #FFFFFF;
	--text-muted-light: rgba(255, 255, 255, 0.7);

	/* Gradients */
	--gradient-brand: linear-gradient(135deg, var(--brand-pink) 0%, var(--brand-purple) 100%);
	--gradient-brand-soft: linear-gradient(135deg, rgba(255, 46, 126, 0.16) 0%, rgba(157, 52, 218, 0.16) 100%);

	/* Typography */
	--font-display: 'Clash Display', 'General Sans', sans-serif;
	--font-body: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;

	/* Layout */
	--container-width: 1240px;
	--section-padding: 7rem;
	--section-padding-mobile: 4rem;
	--radius-sm: 12px;
	--radius-md: 20px;
	--radius-lg: 28px;
	--radius-pill: 999px;

	/* Shadows / glows */
	--glow-pink: 0 8px 30px rgba(255, 46, 126, 0.35);
	--glow-purple: 0 8px 30px rgba(157, 52, 218, 0.35);
	--glow-gold: 0 0 40px rgba(255, 200, 61, 0.35);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 20px;
	line-height: 1.7;
	color: var(--text-dark);
	background: var(--bg-dark);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { display: block; }

/* Íconos SVG en sprite (reemplazan la librería Phosphor).
   Se comportan como los íconos de fuente: 1em y heredan el color. */
.icon {
	width: 1em;
	height: 1em;
	fill: currentColor;
	display: inline-block;
	vertical-align: -0.125em;
	flex-shrink: 0;
}

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; }

.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 28px;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.22;
	margin: 0;
	letter-spacing: -0.01em;
}

h1 {
	font-size: clamp(2.75rem, 6.4vw, 5.25rem);
	color: var(--text-light);
	max-width: 16ch;
}

h2 {
	font-size: clamp(2.25rem, 4.6vw, 3.5rem);
	max-width: 18ch;
}

.section-dark h2,
.section-dark h3,
.section-dark .section-sub { color: var(--text-light); }

.section-light h2,
.section-light h3 { color: var(--text-dark); }

h3 {
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	font-weight: 600;
}

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

.eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: 0 0 1rem;
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.eyebrow-dark { filter: brightness(0.9); }

.section-sub {
	font-size: clamp(1rem, 1.5vw, 1.15rem);
	color: var(--text-muted-dark);
	max-width: 56ch;
	margin-top: 1.25rem;
	font-weight: 400;
}

.section-dark .section-sub { color: var(--text-muted-light); }

.text-accent-pink { color: var(--brand-pink); }

.text-gradient {
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-bottom: 0.08em;
	display: inline-block;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
	padding: var(--section-padding) 0;
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.section-light { background: var(--bg-light); }
.section-dark { background: var(--bg-dark); }

/* Subtle dot-grid pattern for atmosphere on dark sections */
.section-dark::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 28px 28px;
	pointer-events: none;
	z-index: 0;
}

/* Subtle gradient mesh for atmosphere on light sections */
.section-light::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 55% 45% at 88% -5%, rgba(157, 52, 218, 0.07), transparent 60%),
		radial-gradient(ellipse 55% 45% at 8% 105%, rgba(255, 46, 126, 0.06), transparent 60%);
	pointer-events: none;
	z-index: 0;
}

.section-light > .container,
.section-light > .testimonial-track-wrap,
.section-dark > .container,
.section-dark > .testimonial-track-wrap { position: relative; z-index: 1; }

.section-head {
	max-width: 760px;
	margin: 0 auto 3.5rem;
	text-align: center;
}

.section-head .section-sub { margin-left: auto; margin-right: auto; }

#servicios.section { padding-top: calc(var(--section-padding) + 7rem); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.95rem 1.85rem;
	border-radius: var(--radius-pill);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
	border: 1px solid transparent;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-lg { padding: 1.1rem 2.2rem; font-size: 1rem; }

.btn-primary {
	background: var(--gradient-brand);
	color: #fff;
	box-shadow: var(--glow-pink);
}
.btn-primary:hover {
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 12px 40px rgba(255, 46, 126, 0.5);
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.28);
	backdrop-filter: blur(6px);
}
.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-2px);
}

.btn-outline-dark {
	background: transparent;
	color: var(--text-dark);
	border-color: rgba(26, 11, 46, 0.18);
}
.btn-outline-dark:hover {
	border-color: var(--brand-purple);
	color: var(--brand-purple);
	transform: translateY(-2px);
}

.btn-outline-light {
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.22);
}
.btn-outline-light:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--brand-pink);
	transform: translateY(-2px);
}

.btn-whatsapp {
	background: #25D366;
	color: #0b3d1f;
	box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { transform: translateY(-2px) scale(1.02); }

.btn-block { width: 100%; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
	position: relative;
	z-index: 60;
	padding: 1.25rem 0;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	flex-shrink: 0;
}

.logo-mark { width: 38px; height: 38px; }

.logo-text {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.35rem;
	color: var(--text-light);
	letter-spacing: -0.01em;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 2.25rem;
	margin: 0 auto;
}

.main-nav a {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--text-light);
	opacity: 0.85;
	transition: opacity 0.2s ease, color 0.2s ease;
	position: relative;
}

.main-nav a:hover { opacity: 1; color: var(--brand-pink); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 12px;
	flex-shrink: 0;
	position: relative;
	z-index: 110; /* por encima del overlay del menú (z-index 100) para poder cerrarlo */
}

.nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	margin: 0 auto;
	background: #fff;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
	position: relative;
	padding-top: 2rem;
	padding-bottom: 9rem;
	min-height: 86vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	isolation: isolate;
}

.hero-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--bg-dark);
}

.hero-mesh {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 70% 60% at 12% 8%, rgba(157, 52, 218, 0.55), transparent 60%),
		radial-gradient(ellipse 65% 55% at 92% 95%, rgba(255, 46, 126, 0.45), transparent 60%),
		linear-gradient(180deg, rgba(22, 10, 44, 0.88) 0%, rgba(22, 10, 44, 0.97) 100%);
}

.hero-inner {
	position: relative;
	z-index: 1;
	max-width: 820px;
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.hero-sub {
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	color: var(--text-muted-light);
	max-width: 56ch;
	margin: 1.5rem 0 2.5rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.hero-trust {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.6rem 1.1rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius-pill);
	backdrop-filter: blur(8px);
	font-size: 0.9rem;
	color: var(--text-muted-light);
}

.stars { color: var(--accent-gold); display: inline-flex; gap: 2px; font-size: 0.95rem; }

/* Floating stat cards (composition en capas) */
.hero-stats {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	margin-top: 3rem;
	margin-bottom: -7rem;
}

.stat-card {
	background: linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius-md);
	padding: 1.75rem 1.25rem;
	text-align: center;
	backdrop-filter: blur(14px);
}

.stat-value {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 0.15rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	line-height: 1.2;
	padding-bottom: 0.1em;
}

.stat-label {
	margin-top: 0.4rem;
	font-size: 0.85rem;
	color: var(--text-muted-light);
	font-weight: 500;
}

/* =========================================================
   GRIDS — generic
   ========================================================= */
.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.75rem;
}

/* =========================================================
   SERVICIOS — info cards
   ========================================================= */
.info-card {
	background: var(--bg-card-light);
	border: 1px solid rgba(26, 11, 46, 0.06);
	border-radius: var(--radius-lg);
	padding: 2.5rem 2rem;
	box-shadow: 0 12px 40px rgba(26, 11, 46, 0.04);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 50px rgba(157, 52, 218, 0.12);
}

.info-icon {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--gradient-brand-soft);
	color: var(--brand-purple);
	font-size: 1.6rem;
	margin-bottom: 1.5rem;
}

.info-card h3 { margin-bottom: 1.1rem; }

.info-card ul li {
	padding: 0.4rem 0;
	color: var(--text-muted-dark);
	border-bottom: 1px solid rgba(26, 11, 46, 0.05);
	font-size: 0.96rem;
}
.info-card ul li:last-child { border-bottom: none; font-style: italic; opacity: 0.75; }

/* Marquee */
.marquee {
	overflow: hidden;
	white-space: nowrap;
	margin-top: 5rem;
	padding: 1.75rem 0;
	border-top: 1px solid rgba(26, 11, 46, 0.08);
	border-bottom: 1px solid rgba(26, 11, 46, 0.08);
}

.marquee-track {
	display: inline-flex;
	align-items: center;
	gap: 1.5rem;
	animation: marquee 32s linear infinite;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.25rem, 3.2vw, 2.1rem);
	color: var(--text-dark);
	will-change: transform;
}

.marquee-track .dot {
	color: var(--brand-pink);
	font-size: 0.9em;
}

@keyframes marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* =========================================================
   BENTO GRID — equipo
   ========================================================= */
.bento-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 200px;
	gap: 1.25rem;
}

.bento-item {
	background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-lg);
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.bento-item:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 46, 126, 0.35);
	box-shadow: 0 16px 50px rgba(157, 52, 218, 0.18);
}

.bento-hero {
	grid-column: span 2;
	grid-row: span 2;
	justify-content: flex-end;
	background: linear-gradient(150deg, rgba(255, 46, 126, 0.16), rgba(157, 52, 218, 0.12));
	border-color: rgba(255, 46, 126, 0.22);
}

.bento-hero h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.6rem; }
.bento-hero p { color: var(--text-muted-light); max-width: 36ch; }

.bento-wide {
	grid-column: span 4;
	flex-direction: row;
	align-items: center;
	gap: 2rem;
}
.bento-wide .bento-icon { margin-bottom: 0; flex-shrink: 0; }
.bento-wide p { color: var(--text-muted-light); max-width: 60ch; margin: 0; }

.bento-icon {
	width: 52px;
	height: 52px;
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--gradient-brand);
	color: #fff;
	font-size: 1.5rem;
	margin-bottom: 1.25rem;
	flex-shrink: 0;
	box-shadow: var(--glow-pink);
}

.bento-item h3 { line-height: 1.3; }

/* =========================================================
   PRICING
   ========================================================= */
.pricing-grid { align-items: stretch; }

.price-card {
	background: var(--bg-card-light);
	border: 1px solid rgba(26, 11, 46, 0.07);
	border-radius: var(--radius-lg);
	padding: 2.75rem 2.25rem;
	display: flex;
	flex-direction: column;
	box-shadow: 0 12px 40px rgba(26, 11, 46, 0.04);
	position: relative;
}

.price-card h3 { margin-bottom: 0.35rem; }

.price-tagline {
	color: var(--text-muted-dark);
	font-size: 0.95rem;
	margin-bottom: 1.5rem;
}

.price {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(2.5rem, 4vw, 3.25rem);
	color: var(--text-dark);
	margin-bottom: 1.75rem;
	line-height: 1.2;
}

.price-currency {
	font-size: 0.5em;
	vertical-align: top;
	margin-right: 0.15rem;
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.price-features {
	flex-grow: 1;
	margin-bottom: 2rem;
}
.price-features li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	padding: 0.55rem 0;
	font-size: 0.95rem;
	color: var(--text-muted-dark);
	border-bottom: 1px solid rgba(26, 11, 46, 0.05);
}
.price-features li:last-child { border-bottom: none; }
.price-features li .icon {
	color: var(--brand-pink);
	font-size: 1.15rem;
	flex-shrink: 0;
	margin-top: 0.1rem;
}

.price-card-featured {
	border: 2px solid var(--accent-gold);
	transform: scale(1.04);
	z-index: 1;
	animation: pulse-glow 3.5s ease-in-out infinite;
}

@keyframes pulse-glow {
	0%, 100% { box-shadow: 0 12px 40px rgba(255, 200, 61, 0.18); }
	50% { box-shadow: 0 16px 60px rgba(255, 200, 61, 0.4); }
}

.price-badge {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--accent-gold);
	color: var(--text-dark);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.45rem 1.25rem;
	border-radius: var(--radius-pill);
	white-space: nowrap;
}

.pricing-note {
	text-align: center;
	margin-top: 3rem;
	font-size: 1rem;
	color: var(--text-muted-dark);
	font-style: italic;
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.gallery-item {
	position: relative;
	margin: 0;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--radius-md);
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item figcaption {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 1.5rem 1.25rem 1rem;
	background: linear-gradient(0deg, rgba(22, 10, 44, 0.92) 0%, transparent 100%);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	transform: translateY(8px);
	opacity: 0.85;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

.gallery-cta {
	margin-top: 4rem;
	text-align: center;
}

.gallery-cta p {
	color: var(--text-muted-light);
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
}

.social-buttons {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.rating-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin-top: 1.5rem;
	padding: 0.6rem 1.2rem;
	background: var(--gradient-brand-soft);
	border-radius: var(--radius-pill);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-dark);
}

.testimonial-track-wrap {
	position: relative;
	padding: 0 28px;
}

.testimonial-track {
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 0.5rem 0 1.5rem;
	max-width: var(--container-width);
	margin: 0 auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }

.testimonial-card {
	flex: 0 0 auto;
	width: min(400px, 86vw);
	scroll-snap-align: start;
	background: var(--bg-card-light);
	border: 1px solid rgba(26, 11, 46, 0.06);
	border-radius: var(--radius-lg);
	padding: 2.25rem;
	display: flex;
	flex-direction: column;
	box-shadow: 0 12px 40px rgba(26, 11, 46, 0.04);
}

.testimonial-card .stars { color: var(--accent-gold); margin-bottom: 1.1rem; }

.testimonial-text {
	color: var(--text-muted-dark);
	font-size: 0.96rem;
	line-height: 1.7;
	max-height: 220px;
	overflow-y: auto;
	margin-bottom: 1.5rem;
	padding-right: 0.5rem;
}

.testimonial-meta {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(26, 11, 46, 0.06);
}

.testimonial-name {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
}

.testimonial-date {
	font-size: 0.82rem;
	color: var(--text-muted-dark);
}

.testimonial-controls {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 1rem;
}

.testimonial-arrow {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid rgba(26, 11, 46, 0.14);
	background: var(--bg-card-light);
	color: var(--text-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.testimonial-arrow:hover {
	border-color: var(--brand-purple);
	color: var(--brand-purple);
	transform: translateY(-2px);
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 4.5rem;
	align-items: center;
}

.about-image img {
	border-radius: var(--radius-lg);
	margin: 0 auto;
	max-width: 100%;
	height: auto;
}

.about-content p:not(.section-sub) {
	color: var(--text-muted-light);
	font-size: 1.02rem;
}

.about-content .btn { margin-top: 1rem; }

/* =========================================================
   PHOTO BOOTH
   ========================================================= */
.photobooth-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4.5rem;
	align-items: center;
}

.photobooth-images {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.photobooth-link {
	display: block;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(26, 11, 46, 0.12);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.photobooth-link:hover {
	box-shadow: 0 26px 60px rgba(26, 11, 46, 0.22);
}

.photobooth-img {
	border-radius: var(--radius-lg);
	object-fit: contain;
	width: 100%;
	height: 100%;
	display: block;
	background: #ffffff;
}

/* Proporción real de las imágenes (640x670) para que no se recorten */
.photobooth-img-1 { aspect-ratio: 64 / 67; transform: translateY(-1.5rem); }
.photobooth-img-2 { aspect-ratio: 64 / 67; transform: translateY(1.5rem); }

.photobooth-img-1:hover { transform: translateY(-1.5rem) scale(1.02); }
.photobooth-img-2:hover { transform: translateY(1.5rem) scale(1.02); }

.photobooth-content p:not(.eyebrow) { color: var(--text-muted-dark); font-size: 1.02rem; }
.photobooth-content .btn { margin-top: 1rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-accordion {
	max-width: 820px;
	margin: 0 auto;
}

.faq-item {
	border-bottom: 1px solid rgba(26, 11, 46, 0.1);
}

.faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.5rem 0;
	background: none;
	border: none;
	text-align: left;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	color: var(--text-dark);
}

.faq-question .icon {
	flex-shrink: 0;
	font-size: 1.4rem;
	color: var(--brand-purple);
	transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .icon { transform: rotate(45deg); }

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
}

.faq-answer p {
	padding-bottom: 1.5rem;
	color: var(--text-muted-dark);
	max-width: 70ch;
}

/* =========================================================
   CONTACT
   ========================================================= */
#contacto { position: relative; }

.hero-bg-contact { z-index: 0; }
.hero-bg-contact .hero-mesh {
	background:
		radial-gradient(ellipse 60% 50% at 88% 10%, rgba(255, 46, 126, 0.32), transparent 60%),
		radial-gradient(ellipse 60% 60% at 8% 90%, rgba(157, 52, 218, 0.38), transparent 60%);
}

.contact-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 4.5rem;
	align-items: center;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 2rem 0 1.75rem;
}

.contact-info-item {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--text-light);
	transition: color 0.2s ease;
}
.contact-info-item:hover { color: var(--brand-pink); }
.contact-info-item .icon { color: var(--brand-pink); font-size: 1.2rem; }

.contact-form {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-lg);
	padding: 2.5rem;
	backdrop-filter: blur(16px);
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

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

.form-row-half {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}
.form-row-half > div { display: flex; flex-direction: column; gap: 0.5rem; }

.contact-form label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-muted-light);
	letter-spacing: 0.02em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 0.85rem 1.1rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--radius-sm);
	color: var(--text-light);
	font-family: var(--font-body);
	font-size: 0.95rem;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255, 255, 255, 0.4); }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--brand-pink);
	background: rgba(255, 255, 255, 0.1);
}

.contact-form select option { background: var(--bg-dark); color: var(--text-light); }

.contact-form textarea { resize: vertical; min-height: 90px; }

.hidden-field {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

.pixel { display: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
	background: #0E0620;
	padding-top: 5rem;
	position: relative;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 3rem;
	padding-bottom: 4rem;
}

.footer-brand p {
	margin: 1.5rem 0;
	color: var(--text-muted-light);
	font-size: 0.95rem;
	max-width: 32ch;
}

.social-icons { display: flex; gap: 0.75rem; }
.social-icons a {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 1.15rem;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.social-icons a:hover {
	background: var(--gradient-brand);
	border-color: transparent;
	transform: translateY(-3px);
}

.footer-col h4 {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	color: var(--text-light);
	margin-bottom: 1.25rem;
}

.footer-col a,
.footer-col span {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--text-muted-light);
	font-size: 0.92rem;
	padding: 0.35rem 0;
	transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--brand-pink); }
.footer-col .icon { color: var(--brand-pink); font-size: 1rem; }

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 1.75rem 0;
}

.footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem;
	font-size: 0.85rem;
	color: var(--text-muted-light);
}

.footer-bottom-inner a { font-weight: 600; color: var(--text-light); }
.footer-bottom-inner a:hover { color: var(--brand-pink); }

/* =========================================================
   WHATSAPP FAB
   ========================================================= */
.whatsapp-fab {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.85rem;
	box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
	z-index: 90;
	animation: fab-pulse 2.8s ease-in-out infinite;
	transition: transform 0.25s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }

@keyframes fab-pulse {
	0%, 100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45); }
	50% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.75), 0 0 0 8px rgba(37, 211, 102, 0.12); }
}

/* =========================================================
   SCROLL ANIMATIONS
   ========================================================= */
.fade-up {
	opacity: 0;
	transform: translateY(36px);
	transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

.grid-3 .fade-up:nth-child(2) { transition-delay: 0.1s; }
.grid-3 .fade-up:nth-child(3) { transition-delay: 0.2s; }

.bento-grid .fade-up:nth-child(2) { transition-delay: 0.05s; }
.bento-grid .fade-up:nth-child(3) { transition-delay: 0.1s; }
.bento-grid .fade-up:nth-child(4) { transition-delay: 0.15s; }
.bento-grid .fade-up:nth-child(5) { transition-delay: 0.2s; }
.bento-grid .fade-up:nth-child(6) { transition-delay: 0.25s; }

.pricing-grid .fade-up:nth-child(2) { transition-delay: 0.1s; }
.pricing-grid .fade-up:nth-child(3) { transition-delay: 0.2s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
	:root { --section-padding: 5.5rem; }

	.grid-3,
	.gallery-grid { grid-template-columns: repeat(2, 1fr); }

	.bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(180px, auto); }
	.bento-hero { grid-column: span 2; grid-row: span 1; min-height: 240px; }
	.bento-wide { grid-column: span 2; }

	.about-grid,
	.photobooth-grid,
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.about-image { order: -1; }
	.photobooth-images { order: -1; max-width: 480px; margin: 0 auto; }

	.footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
	.footer-brand { grid-column: span 2; }
}

@media (max-width: 900px) {
	.main-nav {
		position: fixed;
		inset: 0;
		top: 0;
		background: var(--bg-dark);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 2rem;
		transform: translateX(100%);
		transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
		z-index: 100;
	}
	.main-nav.is-open { transform: translateX(0); }
	.main-nav a { font-size: 1.4rem; }

	.header-cta { display: none; }
	.nav-toggle { display: flex; }

	.hero-stats { grid-template-columns: repeat(2, 1fr); margin-bottom: -10rem; }
	#servicios.section { padding-top: calc(var(--section-padding) + 11rem); }
}

@media (max-width: 640px) {
	:root { --section-padding: var(--section-padding-mobile); }

	.container { padding: 0 20px; }

	.site-header { padding: 0.875rem 0; }
	.logo-mark { width: 32px; height: 32px; }
	.logo-text { font-size: 1.15rem; }

	h1 { font-size: clamp(2.25rem, 10vw, 3rem); }

	.hero { min-height: auto; padding-top: 1rem; padding-bottom: 2.5rem; }
	.hero-actions .btn { width: 100%; }
	.hero-actions { flex-direction: column; }

	/* En móvil, las stat-cards fluyen normal (sin solaparse con la siguiente
	   sección), lo que evita que se corten abajo y el hueco vacío gigante. */
	.hero-stats { margin-bottom: 2rem; }
	#servicios.section { padding-top: var(--section-padding); }

	.grid-3,
	.gallery-grid,
	.bento-grid,
	.footer-grid { grid-template-columns: 1fr; }

	.bento-grid { grid-auto-rows: auto; }
	.bento-hero, .bento-wide { grid-column: span 1; }
	.bento-item { grid-row: span 1 !important; min-height: 180px; }

	/* En móvil, apilar la tarjeta ancha: ícono → título → texto */
	.bento-wide {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.footer-brand { grid-column: span 1; }

	.form-row-half { grid-template-columns: 1fr; }

	.photobooth-images { grid-template-columns: 1fr; max-width: 320px; }
	.photobooth-img-1, .photobooth-img-2 { transform: none; }

	.testimonial-text { max-height: 260px; }

	.footer-bottom-inner { flex-direction: column; text-align: center; }

	.section-head { margin-bottom: 2.5rem; }

	.whatsapp-fab { width: 52px; height: 52px; font-size: 1.6rem; bottom: 16px; right: 16px; }
}
