/* ═══════════════════════════════════════════════════════════════════
   SpiderWeb – Modern Redesign (styletest.css)
   Dark theme · Glassmorphism · Scroll-reveal · Micro-animations
   ═══════════════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

@font-face {
	font-family: "GothamBlackItalic";
	src: url(../../assets/font/GOTHAM-BLACKITALIC.TTF) format("truetype");
	font-weight: normal;
	font-style: normal;
}

:root {
	/* Palette */
	--bg-dark: #0a0a0f;
	--bg-section: #111118;
	--bg-card: rgba(255, 255, 255, 0.04);
	--bg-glass: rgba(255, 255, 255, 0.06);
	--border-glass: rgba(255, 255, 255, 0.08);
	--accent: #e63946;
	--accent-glow: rgba(230, 57, 70, 0.35);
	--accent-soft: rgba(230, 57, 70, 0.12);
	--text-primary: #f1f1f1;
	--text-secondary: #999;
	--text-muted: #666;
	--gradient-accent: linear-gradient(135deg, #e63946, #ff6b6b);
	--gradient-hero: linear-gradient(160deg, #0a0a0f 0%, #1a0a10 40%, #0a0a0f 100%);
	--radius-sm: 8px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--radius-xl: 32px;
	--transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	/* Carousel */
	--speed: 25s;
	--logo-width: 140px;
	--gap: 30px;
}

html {
	scroll-behavior: smooth;
	background-color: var(--bg-dark);
	font-size: 16px;
}

body {
	font-family: "Inter", sans-serif;
	background-color: var(--bg-dark);
	color: var(--text-primary);
	line-height: 1.6;
	overflow-x: hidden;
}

/* Grain overlay — premium texture */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 9998;
	opacity: 0.025;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
	background-repeat: repeat;
	background-size: 256px 256px;
}

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

img {
	max-width: 100%;
	display: block;
}

/* ── Intro Splash ─────────────────────────────────────────────────── */
.animation-container {
	position: fixed;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: var(--bg-dark);
	z-index: 9999;
	animation: fadeIn 0.3s ease forwards;
}

.animation-container #logo {
	width: 90px;
	filter: brightness(0) invert(1);
	animation: logoDrop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animation-container #text {
	margin-top: 16px;
	font-size: 2rem;
	font-family: "GothamBlackItalic";
	opacity: 0;
	background: var(--gradient-accent);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: fadeInText 0.5s ease forwards 0.4s;
}

/* Clase para ocultar el splash con fade-out */
.animation-container.hide {
	animation: fadeOut 0.5s ease forwards;
	pointer-events: none;
}

@keyframes logoDrop {
	from {
		transform: translateY(-60px) scale(0.7);
		opacity: 0;
	}

	to {
		transform: translateY(0) scale(1);
		opacity: 1;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeInText {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeOut {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
		visibility: hidden;
	}
}

.main-content {
	display: none;
	opacity: 0;
	transition: opacity 0.6s ease;
}

/* ── Scroll Reveal ────────────────────────────────────────────────── */
.reveal {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Stagger delays */
.reveal.stagger-1 {
	transition-delay: 0.1s;
}

.reveal.stagger-2 {
	transition-delay: 0.25s;
}

.reveal.stagger-3 {
	transition-delay: 0.4s;
}

.reveal.stagger-4 {
	transition-delay: 0.55s;
}

/* ── Header / Navbar ──────────────────────────────────────────────── */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 32px;
	background: rgba(10, 10, 15, 0.7);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border-glass);
	transition: background var(--transition);
}

.logoContainer {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: "GothamBlackItalic";
	font-size: 1.1rem;
}

.logoContainer img {
	height: 32px;
	filter: brightness(0) invert(1);
}

nav {
	display: flex;
	gap: 28px;
	font-family: "GothamBlackItalic";
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

nav a {
	color: var(--text-secondary);
	position: relative;
	padding: 4px 0;
	transition: color var(--transition);
}

nav a::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--gradient-accent);
	border-radius: 2px;
	transition: width var(--transition);
}

nav a:hover {
	color: var(--text-primary);
}

nav a:hover::after {
	width: 100%;
}

/* ── Hero images ──────────────────────────────────────────────────── */
.hero-image {
	width: 18rem;
	/* antes: 22rem */
}

/* ── Shared sections ──────────────────────────────────────────────── */
section {
	padding: 50px 24px;
	/* antes: 80px 24px */
}

/* ── Responsive ajustado para pantallas cortas ────────────────────── */
@media (max-height: 760px) {
	.hero {
		min-height: 60vh;
		padding: 40px 20px 16px;
	}

	.hero-content h1 {
		font-size: clamp(1.4rem, 3.5vw, 2.4rem);
	}

	.hero-images {
		margin-top: 20px;
	}

	.hero-image {
		width: 15rem;
	}
}

/* ── Hero Section ─────────────────────────────────────────────────── */
.hero {
	position: relative;
	background: var(--gradient-hero);
	min-height: 70vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 50px 20px 20px;
	overflow: hidden;
}

/* Primary glow orb */
.hero::before {
	content: "";
	position: absolute;
	width: 600px;
	height: 600px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	filter: blur(80px);
	pointer-events: none;
	animation: heroPulse 6s ease-in-out infinite;
}

/* Secondary glow orb */
.hero::after {
	content: "";
	position: absolute;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 107, 107, 0.15) 0%, transparent 70%);
	bottom: 10%;
	right: 10%;
	filter: blur(60px);
	pointer-events: none;
	animation: heroPulse2 8s ease-in-out infinite;
}

@keyframes heroPulse {

	0%,
	100% {
		opacity: 0.4;
		transform: translate(-50%, -50%) scale(1);
	}

	50% {
		opacity: 0.7;
		transform: translate(-50%, -50%) scale(1.15);
	}
}

@keyframes heroPulse2 {

	0%,
	100% {
		opacity: 0.3;
		transform: scale(1);
	}

	50% {
		opacity: 0.6;
		transform: scale(1.2);
	}
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 750px;
}

.hero-content h1 {
	font-family: "GothamBlackItalic";
	font-size: clamp(1.6rem, 4vw, 2.8rem);
	line-height: 1.1;
	margin-bottom: 10px;
	background: linear-gradient(to right, #fff, #ccc);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-content p {
	font-size: 1rem;
	color: var(--text-secondary);
	font-weight: 400;
	max-width: 500px;
	margin: 0 auto;
}

.hero-images {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 32px;
}

.hero-image {
	width: 22rem;
	height: auto;
	opacity: 0;
	position: absolute;
	transition: all 1.4s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: var(--radius-md);
}

/* Fixed: both transforms combined on single property */
.hero-image.left {
	transform: translateX(0) translateY(-50%);
}

.hero-image.right {
	transform: translateX(0) translateY(50%);
}

.hero-image.center {
	transform: scale(0.15);
	width: 8rem;
	filter: brightness(0) invert(1);
	box-shadow: none;
}

/* Typewriter */
.hero-typewriter {
	font-size: 1.2rem;
	color: var(--text-secondary);
	font-weight: 400;
	max-width: 600px;
	margin: 0 auto;
	min-height: 1.8em;
}

.typewriter-text {
	background: var(--gradient-accent);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-weight: 600;
}

.typewriter-cursor {
	display: inline-block;
	color: var(--accent);
	font-weight: 300;
	animation: blink 0.75s step-end infinite;
	margin-left: 1px;
}

@keyframes blink {
	50% {
		opacity: 0;
	}
}

/* ── Shared Section Styles ────────────────────────────────────────── */
section {
	padding: 80px 24px;
	text-align: center;
}

section+section {
	border-top: 1px solid rgba(255, 255, 255, 0.03);
}

section h2 {
	font-family: "GothamBlackItalic";
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	margin-bottom: 12px;
	background: var(--gradient-accent);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: inline-block;
}

.section-subtitle {
	color: var(--text-secondary);
	font-size: 1rem;
	margin-bottom: 48px;
}

/* Decorative top bar on key sections */
.services-section::before,
.projects::before,
.faq-section::before,
.contact::before {
	content: "";
	display: block;
	width: 60px;
	height: 3px;
	background: var(--gradient-accent);
	border-radius: 3px;
	margin: 0 auto 40px;
}

/* ── Services ─────────────────────────────────────────────────────── */
.services-section {
	background: var(--bg-section);
}

.services-carousel {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	padding: 8px;
	max-width: 1100px;
	margin: 0 auto;
}

.service-card {
	position: relative;
	z-index: 1;
	background: var(--bg-glass);
	border: 1px solid var(--border-glass);
	border-radius: var(--radius-lg);
	padding: 32px 24px;
	min-width: 300px;
	max-width: 320px;
	text-align: center;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
	flex: 1 1 300px;
	overflow: hidden;
}

/* Glow edge on hover */
.service-card::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	background: var(--gradient-accent);
	opacity: 0;
	z-index: -1;
	transition: opacity var(--transition);
	filter: blur(12px);
}

.service-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 40px var(--accent-glow);
	border-color: var(--accent);
}

.service-card:hover::before {
	opacity: 0.15;
}

.service-card h3 {
	font-family: "GothamBlackItalic";
	font-size: 1.2rem;
	margin-bottom: 10px;
	color: var(--text-primary);
}

.service-card p {
	color: var(--text-secondary);
	font-size: 0.9rem;
	margin-bottom: 16px;
}

.service-card img {
	width: 100%;
	height: auto;
	border-radius: var(--radius-md);
	margin-top: 12px;
	transition: transform var(--transition);
}

.service-card:hover img {
	transform: scale(1.03);
}

.service-icon {
	font-size: 2.6rem;
	margin-bottom: 14px;
	line-height: 1;
	filter: drop-shadow(0 2px 8px var(--accent-glow));
}

/* ── Designs Section ──────────────────────────────────────────────── */
.designs {
	background: var(--bg-dark);
}

.designs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	padding: 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.design-item {
	cursor: pointer;
	overflow: hidden;
	border-radius: var(--radius-md);
	height: 300px;
	position: relative;
	transition: transform var(--transition), box-shadow var(--transition);
}

.design-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 50%);
	opacity: 0;
	transition: opacity var(--transition);
	pointer-events: none;
	border-radius: var(--radius-md);
}

.design-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 50px rgba(230, 57, 70, 0.2);
}

.design-item:hover::after {
	opacity: 1;
}

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

.design-item:hover img {
	transform: scale(1.06);
}

/* ── Design Modal ─────────────────────────────────────────────────── */
.design-modal {
	display: none;
	position: fixed;
	z-index: 2000;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	backdrop-filter: blur(8px);
}

.design-modal-content {
	display: flex;
	width: 90%;
	height: 88%;
	margin: 3% auto;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--bg-section);
	border: 1px solid var(--border-glass);
}

.close-modal {
	position: absolute;
	top: 20px;
	right: 30px;
	color: var(--text-primary);
	font-size: 36px;
	cursor: pointer;
	z-index: 2001;
	transition: color var(--transition), transform var(--transition);
}

.close-modal:hover {
	color: var(--accent);
	transform: rotate(90deg);
}

.design-image-col {
	flex: 2;
	background: rgba(255, 255, 255, 0.03);
	display: flex;
	justify-content: center;
	align-items: center;
}

.design-image-col img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.design-info-col {
	flex: 1;
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: var(--bg-section);
	text-align: left;
}

.client-header {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.client-logo-img {
	height: 50px;
	margin-right: 15px;
	object-fit: contain;
}

.design-info-col h3 {
	margin: 0;
	color: var(--accent);
	font-size: 1.8rem;
	font-family: "GothamBlackItalic";
}

.design-info-col p {
	font-size: 1.05rem;
	color: var(--text-secondary);
	margin-bottom: 30px;
	line-height: 1.7;
}

.design-link-btn {
	display: inline-block;
	padding: 14px 28px;
	background: var(--gradient-accent);
	color: #fff;
	border-radius: var(--radius-sm);
	font-weight: 700;
	font-size: 1rem;
	transition: transform var(--transition), box-shadow var(--transition);
	width: fit-content;
}

.design-link-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px var(--accent-glow);
}

/* ── Projects ─────────────────────────────────────────────────────── */
.projects {
	background: var(--bg-section);
}

.gallery {
	display: flex;
	overflow-x: auto;
	gap: 20px;
	padding: 24px;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	align-items: center;
	max-width: 1400px;
	margin: 0 auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
	display: none;
}

.card {
	display: flex;
	flex-direction: column;
	background: var(--bg-glass);
	border: 1px solid var(--border-glass);
	padding: 0;
	border-radius: var(--radius-lg);
	min-width: 300px;
	max-width: 300px;
	text-align: center;
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
	flex-shrink: 0;
	scroll-snap-align: start;
	overflow: hidden;
}

.card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
	border-color: rgba(255, 255, 255, 0.15);
}

.card.focused {
	transform: scale(1.05);
	box-shadow: 0 16px 50px var(--accent-glow);
	border-color: var(--accent);
}

.gallery .card a {
	text-decoration: none;
	color: inherit;
}

.gallery .card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.gallery .card h3 {
	margin: 14px 16px 4px;
	color: var(--text-primary);
	font-size: 1rem;
}

.gallery .card p {
	margin: 0 16px 16px;
	color: var(--text-secondary);
	font-size: 0.85rem;
}

/* ── Sponsors Carousel ────────────────────────────────────────────── */
.sponsors {
	background: var(--bg-dark);
	overflow: hidden;
	padding: 60px 20px;
}

.sponsors h2 {
	margin-bottom: 32px;
}

.carousel {
	display: flex;
	overflow: hidden;
	position: relative;
	width: 100%;
	mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.sponsor-track {
	display: flex;
	width: max-content;
	animation: scrollTrack var(--speed) linear infinite;
}

.sponsor-track:hover {
	animation-play-state: paused;
}

.sponsor-logos {
	display: flex;
	align-items: center;
	gap: var(--gap);
	padding: 12px 15px;
}

/* wrapper div anónimo generado por el servidor */
.sponsor-logos>div {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--logo-width);
	height: 70px;
	flex-shrink: 0;
}

.sponsor-logos img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: grayscale(100%) brightness(0.55);
	transition: filter 0.4s ease, transform 0.4s ease;
	border-radius: var(--radius-sm);
}

.sponsor-logos>div:hover img {
	filter: grayscale(0%) brightness(1);
	transform: scale(1.08);
}

@keyframes scrollTrack {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-25%);
	}
}

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-section {
	background: var(--bg-section);
	padding: 80px 24px;
}

.faq-container {
	max-width: 700px;
	margin: 0 auto;
	text-align: left;
}

.faq-item {
	margin-bottom: 12px;
	border: 1px solid var(--border-glass);
	border-radius: var(--radius-md);
	overflow: hidden;
	background: var(--bg-glass);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: border-color var(--transition);
}

.faq-item:hover {
	border-color: rgba(255, 255, 255, 0.12);
}

.faq-question {
	width: 100%;
	padding: 18px 24px;
	background: transparent;
	border: none;
	text-align: left;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: "Inter", sans-serif;
	color: var(--text-primary);
	transition: color var(--transition);
}

.faq-question:hover,
.faq-question.active {
	color: var(--accent);
}

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

.faq-answer p {
	padding: 4px 24px 20px;
	margin: 0;
	color: var(--text-secondary);
	line-height: 1.7;
	font-size: 0.95rem;
}

.arrow {
	transition: transform 0.4s ease;
	color: var(--text-muted);
	font-size: 0.75rem;
}

.faq-question.active .arrow {
	transform: rotate(180deg);
	color: var(--accent);
}

/* ── Contact ──────────────────────────────────────────────────────── */
.contact {
	background: var(--bg-dark);
	padding: 80px 24px;
}

.contactcardcontainer {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: center;
	max-width: 1500px;
	margin: 0 auto;
}

.contactcard {
	position: relative;
	z-index: 1;
	background: var(--bg-glass);
	border: 1px solid var(--border-glass);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	padding: 0;
	border-radius: var(--radius-lg);
	width: 17vw;
	height: auto;
	text-align: center;
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
	overflow: hidden;
	flex-shrink: 0;
}

.contactcard::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	background: var(--gradient-accent);
	opacity: 0;
	z-index: -1;
	transition: opacity var(--transition);
	filter: blur(12px);
}

.contactcard:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(230, 57, 70, 0.15);
	border-color: rgba(255, 255, 255, 0.12);
}

.contactcard:hover::before {
	opacity: 0.15;
}

.imgcontactconainer {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(230, 57, 70, 0.15), rgba(230, 57, 70, 0.05));
}

.imgcontactconainer img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.5s ease;
}

.contactcard:hover .imgcontactconainer img {
	transform: scale(1.05);
}

.contactcard h3 {
	margin: 16px 0 8px;
	color: var(--text-primary);
	font-family: "GothamBlackItalic";
	font-size: 1.1rem;
}

.contact-buttons {
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 0 16px 20px;
	flex-wrap: wrap;
}

.contact-buttons button {
	padding: 10px 18px;
	background: var(--gradient-accent);
	color: #fff;
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	font-weight: 600;
	font-size: 0.85rem;
	font-family: "Inter", sans-serif;
	transition: transform var(--transition), box-shadow var(--transition);
}

.contact-buttons button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px var(--accent-glow);
}

.spiderweb-card {
	max-width: 500px;
}

/* ── Footer ───────────────────────────────────────────────────────── */
.site-footer {
	background: var(--bg-section);
	border-top: 1px solid var(--border-glass);
	color: var(--text-secondary);
	padding: 48px 20px 24px;
	font-size: 0.9rem;
}

.footer-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: flex-start;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
	gap: 30px;
}

.footer-section {
	flex: 1;
	min-width: 220px;
}

.footer-section h3 {
	color: var(--text-primary);
	font-family: "GothamBlackItalic";
	border-bottom: 2px solid var(--accent);
	padding-bottom: 8px;
	margin-bottom: 14px;
	font-size: 1rem;
	display: inline-block;
}

.footer-section ul {
	list-style: none;
	padding: 0;
}

.footer-section ul li {
	margin: 6px 0;
	color: var(--text-muted);
	font-size: 0.85rem;
}

.footer-section a {
	color: var(--text-secondary);
	transition: color var(--transition);
}

.footer-section a:hover {
	color: var(--accent);
}

.footer-logo {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.footer-logo img {
	max-width: 70px;
	filter: brightness(0) invert(1);
	opacity: 0.6;
}

.footer-logo p {
	color: var(--text-muted);
	font-size: 0.8rem;
}

.footer-settings {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

/* ── Settings Popup ───────────────────────────────────────────────── */
.settings-popup {
	display: none;
	position: absolute;
	bottom: 80px;
	left: 50%;
	transform: translateX(-50%);
	width: 300px;
	background: rgba(17, 17, 24, 0.9);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--border-glass);
	border-radius: var(--radius-lg);
	box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
	color: var(--text-primary);
	z-index: 1000;
	padding: 24px;
	animation: fadeInPopup 0.3s ease-out;
}

@keyframes fadeInPopup {
	from {
		opacity: 0;
		transform: translate(-50%, 16px);
	}

	to {
		opacity: 1;
		transform: translate(-50%, 0);
	}
}

.settings-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--border-glass);
	padding-bottom: 12px;
}

.settings-header h4 {
	margin: 0;
	font-family: "GothamBlackItalic";
	font-size: 1.1rem;
}

.close-settings {
	cursor: pointer;
	font-size: 1.3rem;
	font-weight: bold;
	color: var(--text-secondary);
	transition: color var(--transition);
}

.close-settings:hover {
	color: var(--accent);
}

.settings-body {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.settings-body label {
	font-size: 0.85rem;
	color: var(--text-secondary);
}

.hue-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 8px;
	border-radius: 4px;
	background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet, red);
	outline: none;
	opacity: 0.85;
	transition: opacity 0.2s;
	cursor: pointer;
}

.hue-slider:hover {
	opacity: 1;
}

.hue-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	border: 2px solid rgba(0, 0, 0, 0.15);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hue-slider::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	border: 2px solid rgba(0, 0, 0, 0.15);
}

.random-btn {
	padding: 10px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--border-glass);
	border-radius: var(--radius-sm);
	color: var(--text-primary);
	cursor: pointer;
	font-family: "Inter", sans-serif;
	font-weight: 600;
	font-size: 0.85rem;
	transition: background var(--transition), border-color var(--transition);
}

.random-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.15);
}

/* ── Floating Particles ───────────────────────────────────────────── */
.particles {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

.particle {
	position: absolute;
	width: 3px;
	height: 3px;
	background: var(--accent);
	border-radius: 50%;
	opacity: 0;
	animation: floatParticle 12s linear infinite;
}

@keyframes floatParticle {
	0% {
		opacity: 0;
		transform: translateY(100vh) scale(0);
	}

	10% {
		opacity: 0.6;
	}

	90% {
		opacity: 0.3;
	}

	100% {
		opacity: 0;
		transform: translateY(-10vh) scale(1);
	}
}

/* ── Text helpers ─────────────────────────────────────────────────── */
.textCorreo {
	word-break: break-all;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
	.site-header {
		flex-direction: column;
		gap: 12px;
		padding: 14px 20px;
	}

	nav {
		gap: 16px;
		font-size: 0.78rem;
		flex-wrap: wrap;
		justify-content: center;
	}

	.hero {
		min-height: 60vh;
		padding: 60px 16px 30px;
	}

	.hero-image {
		width: 14rem;
	}

	.services-carousel {
		gap: 16px;
	}

	.service-card {
		min-width: 260px;
		max-width: 100%;
	}

	.contactcardcontainer {
		gap: 16px;
	}

	.contactcard,
	.spiderweb-card {
		width: 100%;
		height: auto;
		max-width: 100%;
	}
}

@media (max-width: 768px) {
	.design-modal-content {
		flex-direction: column;
		width: 100%;
		height: 100%;
		margin: 0;
		border-radius: 0;
	}

	.design-image-col {
		flex: 1;
	}

	.design-info-col {
		padding: 20px;
	}

	.gallery {
		padding: 16px 8px;
	}

	.card {
		min-width: 260px;
		max-width: 260px;
	}

	.footer-container {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.footer-section {
		min-width: auto;
	}
}

@media (max-width: 480px) {
	.hero-content h1 {
		font-size: 1.8rem;
	}

	section {
		padding: 50px 16px;
	}

	.hero-image {
		width: 10rem;
	}
}

/* ── Reduced motion ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}