:root {
	--bg: #1A1A1B;
	--text: #ece8e1;
	--muted: #555;
	--accent: #ff6b35;
	--teal: var(--accent);
	--font: 'Space Grotesk', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[lang="en"] .es { display: none; }
html[lang="es"] .en { display: none; }

body {
	font-family: var(--font);
	background: var(--bg);
	color: var(--text);
	overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--bg); }

.cursor {
	display: none;
	position: fixed;
	width: 32px;
	height: 32px;
	border: 1.5px solid rgba(255,255,255,0.4);
	border-radius: 50%;
	pointer-events: none;
	z-index: 9999;
	transform: translate(-50%, -50%);
	transition: transform 0.12s ease, border-color 0.2s;
	mix-blend-mode: difference;

	&.hover {
		transform: translate(-50%, -50%) scale(2);
		border-color: var(--accent);
	}
}

@media (hover: hover) and (pointer: fine) {
	.cursor { display: block; }
	body, a, button { cursor: none; }
}

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem clamp(1.5rem, 3vw, 3rem);
	z-index: 100;
	background: rgba(8,8,8,0.9);
	backdrop-filter: blur(12px);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-img {
	display: block;
	height: 28px;
	width: auto;
}

.header-right {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.header-cta {
	font-size: 0.85rem;
	color: var(--muted);
	transition: color 0.3s;

	&:hover { color: var(--text); }
}

.header-email {
	white-space: nowrap;
}

.nav-dropdown {
	position: relative;
}

.nav-dropdown-btn {
	background: none;
	border: none;
	font-family: var(--font);
	padding: 0;
}

.nav-dropdown-menu {
	position: absolute;
	top: calc(100% + 0.75rem);
	right: 0;
	background: rgba(8,8,8,0.95);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 10px;
	min-width: 200px;
	padding: 0.6rem 0;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-6px);
	transition: opacity 0.2s, transform 0.2s;
	z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.nav-dropdown-menu a {
	display: block;
	padding: 0.8rem 1.4rem;
	font-size: 1rem;
	color: var(--muted);
	transition: color 0.2s;
}

.nav-dropdown-menu a:hover { color: var(--text); }

.lang-toggle {
	background: none;
	border: 1px solid var(--muted);
	color: var(--muted);
	padding: 0.25rem 0.6rem;
	border-radius: 3px;
	font-family: var(--font);
	font-size: 0.7rem;
	letter-spacing: 0.1em;
	transition: color 0.3s, border-color 0.3s;

	&:hover {
		color: var(--text);
		border-color: var(--text);
	}
}

#hero {
	position: relative;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
	background: var(--bg);
}

#hero-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hero-overlay {
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	flex-direction: column;
	background: none;
}

.hero-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 3rem);
}

.hero-mark {
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.15em;
	opacity: 0.4;

	span { color: var(--accent); }
}

.hero-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 5vw;
	max-width: 75vw;
}

.hero-steps {
	display: flex;
	flex-direction: column;
	font-size: clamp(3.5rem, 10vw, 9rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.02em;
}

.hero-step {
	display: block;
	opacity: 0;
	transform: translateX(-40px);
	animation: heroSlide 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: calc(var(--i) * 0.2s);

	em {
		font-style: normal;
	}

	&:nth-child(1) em { color: var(--teal); }
	&:nth-child(2) { padding-left: clamp(1.5rem, 4vw, 4rem); }
	&:nth-child(2) em { color: var(--accent); }
}

.hero-sub {
	margin-top: 2rem;
	font-size: clamp(0.85rem, 1.5vw, 1.1rem);
	color: var(--muted);
	letter-spacing: 0.05em;
	opacity: 0;
	animation: fadeIn 0.8s ease forwards 0.6s;
}

.scroll-hint {
	padding-bottom: 2rem;
	text-align: center;
	font-size: 0.7rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--muted);
	animation: pulse 2s ease-in-out infinite;
}

#trabajos {
	padding: clamp(4rem, 8vw, 6rem) 0;
}

.section-label {
	display: block;
	padding: 0 clamp(1.5rem, 3vw, 3rem) 2rem;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.25em;
	color: var(--muted);
}

.gallery {
	columns: 3;
	column-gap: 1rem;
	padding: 0 clamp(1.5rem, 3vw, 3rem);
}

.gallery-item {
	display: block;
	break-inside: avoid;
	margin-bottom: 1rem;
	height: 55vh;
	border-radius: 8px;
	background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);

	&:hover { transform: scale(0.98); }

	video {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

.gallery-item--tall {
	height: 70vh;
}


.gallery-info {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 2rem;
	background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.gallery-cat {
	display: block;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--accent);
	margin-bottom: 0.3rem;
}

.gallery-item h3 {
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 0.3rem;
}

.gallery-tags {
	font-size: 0.75rem;
	color: var(--muted);
	letter-spacing: 0.05em;
}

/* ── Productos ───────────────────────────────────────────── */
#productos { padding: 6rem 0; }

.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: 0 clamp(1.5rem, 3vw, 3rem);
}

.producto-card {
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.3s;
}
.producto-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.12); }

.producto-img-wrap { aspect-ratio: 1/1; overflow: hidden; background: #111; }
.producto-img-wrap img { width:100%; height:100%; object-fit:cover; transition: transform 0.5s; }
.producto-card:hover .producto-img-wrap img { transform: scale(1.04); }

.producto-img-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: #111;
}

.producto-card-link { display:block; text-decoration:none; color:inherit; }
.producto-info { padding: 1.25rem; }
.producto-cat { display:block; font-size:0.7rem; text-transform:uppercase; letter-spacing:.15em; color:var(--accent); margin-bottom:0.4rem; }
.producto-name { font-size:1.05rem; font-weight:600; margin-bottom:0.75rem; }
.producto-price { font-size:1.1rem; font-weight:700; color:var(--accent); }
.producto-price-row { display:flex; align-items:center; gap:0.5rem; flex-wrap:wrap; }
.price-original { text-decoration:line-through; color:var(--muted); font-weight:400; }
.price-final { color:var(--accent); font-weight:700; }
.discount-badge { background:var(--accent); color:#fff; font-size:0.7rem; font-weight:700; padding:0.15rem 0.45rem; border-radius:4px; letter-spacing:0.03em; }

#estudio {
	padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 3vw, 3rem);
	display: flex;
	justify-content: center;
}

.estudio-content {
	max-width: 720px;
}

.estudio-content h2 {
	font-size: clamp(1.8rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

.estudio-text {
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.7;
	margin-bottom: 2.5rem;
}

/* ── Japanese Collection card ─────────────────────────────── */
.coleccion-card {
	display: block;
	text-decoration: none;
	color: inherit;
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 12px;
	padding: 1.5rem 2rem;
	background: rgba(255,255,255,0.02);
	transition: border-color 0.3s, transform 0.3s;
	margin-top: 0.5rem;

	&:hover {
		border-color: var(--accent);
		transform: translateY(-3px);
	}
}

.coleccion-label {
	display: block;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--accent);
	margin-bottom: 0.5rem;
}

.coleccion-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.coleccion-sep {
	color: var(--accent);
	font-weight: 400;
	margin: 0 0.35rem;
}

.coleccion-desc {
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 1.25rem;
}

.coleccion-btn {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--accent);
}

#miguel {
	position: relative;
	height: 70vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}

.miguel-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;

	&::after {
		content: '';
		position: absolute;
		inset: 0;
		background: linear-gradient(to top, var(--bg) 0%, rgba(26,26,27,0.3) 50%, rgba(26,26,27,0.6) 100%);
	}
}

.miguel-content {
	position: relative;
	padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 3rem);
	max-width: 600px;

	strong {
		font-size: clamp(1.5rem, 3vw, 2.2rem);
		display: block;
		margin-bottom: 0.2rem;
	}
}

.miguel-loc {
	color: var(--accent);
	font-size: 0.9rem;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
}

.miguel-what {
	color: var(--muted);
	font-size: 1rem;
}

#contacto {
	scroll-margin-top: 6rem;
	padding: clamp(6rem, 12.5vw, 10rem) clamp(1.5rem, 3vw, 3rem);
	text-align: center;

	h2 {
		font-size: clamp(3rem, 8vw, 7rem);
		font-weight: 700;
		margin-bottom: 1rem;
	}
}

.cta-sub {
	color: var(--muted);
	font-size: clamp(1rem, 2vw, 1.3rem);
	margin-bottom: 3rem;
}

.cta-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.9rem 2rem;
	border-radius: 100px;
	font-family: var(--font);
	font-size: 0.95rem;
	font-weight: 600;
	transition: transform 0.3s, box-shadow 0.3s;

	&:hover { transform: translateY(-2px); }
}

.btn-wa {
	background: #25d366;
	color: #fff;

	&:hover { box-shadow: 0 8px 30px rgba(37,211,102,0.25); }
}

.btn-tg {
	background: #229ED9;
	color: #fff;

	&:hover { box-shadow: 0 8px 30px rgba(34,158,217,0.25); }
}

.btn-ig {
	background: #E4405F;
	color: #fff;

	&:hover { box-shadow: 0 8px 30px rgba(228,64,95,0.25); }
}

.site-footer {
	padding: 3rem 3rem 2rem;
	text-align: center;
	color: var(--muted);
	border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 3rem;
	margin-bottom: 2.5rem;
	text-align: left;
}

.footer-brand {
	display: flex;
	align-items: center;
}

.footer-logo {
	display: block;
	height: 30px;
	width: auto;
	opacity: 0.9;
}

.footer-links {
	display: flex;
	justify-content: flex-end;
	flex: 1;
	gap: 6rem;
	flex-wrap: wrap;
}

.footer-col h4 {
	font-size: 0.9rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--text);
	margin-bottom: 1.1rem;
}

.footer-col ul {
	list-style: none;
}

.footer-col li + li { margin-top: 0.1rem; }

.footer-col a {
	display: inline-block;
	padding: 0.35rem 0;
	font-size: 1rem;
	line-height: 1.3;
	color: var(--muted);
	transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-copy {
	font-size: 0.75rem;
	letter-spacing: 0.15em;
}

.scroll-top-btn {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	border: none;
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transform: translateY(10px);
	transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
	z-index: 90;
}
.scroll-top-btn.visible {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}
.scroll-top-btn:hover {
	box-shadow: 0 8px 24px rgba(255,107,53,0.35);
}

.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
	opacity: 1;
	transform: none;
}

@keyframes heroSlide {
	to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
	to { opacity: 1; }
}

@keyframes pulse {
	0%, 100% { opacity: 0.5; }
	50% { opacity: 0.15; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
	.hero-step { opacity: 1; transform: none; }
	.hero-sub { opacity: 1; }
}

@media (max-width: 1024px) {
	.gallery { columns: 2; }
	.productos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.hero-top { padding: 1.5rem; }
	.hero-content { padding: 0 6vw; max-width: 100vw; }
	.hero-overlay { background: rgba(8,8,8,0.4); }
	header { padding: 1rem 1.5rem; }

	.gallery {
		columns: 1;
		padding: 0 1.5rem;
	}
	.gallery-item,
	.gallery-item:nth-child(2),
	.gallery-item:nth-child(5) {
		height: 55vh;
	}
	.section-label { padding: 0 1.5rem 2rem; }
	#trabajos { padding: 4rem 0; }

	#estudio { padding: 5rem 1.5rem; }

	#miguel { height: 60vh; }
	.miguel-content { padding: 2rem 1.5rem; }

	#contacto { padding: 6rem 1.5rem; }

	.productos-grid { grid-template-columns: 1fr 1fr; padding: 0 1.5rem; gap: 1rem; }
}

@media (max-width: 480px) {
	.productos-grid { grid-template-columns: 1fr; }
	.header-email { display: none; }
}
