/********************************************/
/********************************************/
/* Please ❤ this if you like it! */
/* Follow Me https://codepen.io/designfenix */
/********************************************/
/********************************************/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/

/* =========================================================
   RESET
========================================================= */

* {
	box-sizing: border-box;
}

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

html {
	background: #f2d6bb;
}

body {
	overflow-x: hidden;

	background: linear-gradient(120deg, #f7f2eb, #f5e7d7);

	color: #211914;

	font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

button {
	font: inherit;
}

/* =========================================================
   HERO
========================================================= */

.hero {
	--padding: clamp(28px, 3vw, 64px);

	position: relative;

	width: 100%;
	min-height: 100svh;

	overflow: hidden;

	padding: 30px var(--padding) 25px;

	isolation: isolate;

	/*
   * El fondo tiene varias zonas:
   *
   * 1. crema claro a izquierda
   * 2. hotspot brillante detrás de main bubble
   * 3. peach/champagne hacia derecha
   * 4. pequeño rebote cálido inferior
   */

	background: radial-gradient(
			ellipse 28% 32% at 68% 35%,
			rgba(255, 251, 221, 0.92) 0%,
			rgba(255, 239, 190, 0.58) 23%,
			rgba(255, 219, 165, 0.25) 48%,
			rgba(255, 199, 139, 0) 74%
		),
		radial-gradient(
			ellipse 51% 62% at 73% 48%,
			rgba(255, 224, 175, 0.46) 0%,
			rgba(255, 210, 158, 0.28) 31%,
			rgba(248, 186, 128, 0.12) 59%,
			transparent 79%
		),
		radial-gradient(
			ellipse 42% 62% at 102% 40%,
			rgba(238, 163, 109, 0.18) 0%,
			rgba(237, 174, 121, 0.1) 46%,
			transparent 80%
		),
		radial-gradient(
			ellipse 42% 28% at 69% 78%,
			rgba(255, 207, 146, 0.14) 0%,
			transparent 73%
		),
		linear-gradient(
			116deg,
			#f8f4ee 0%,
			#f7efe6 37%,
			#f7eadc 59%,
			#f6dfca 78%,
			#f0cfae 100%
		);
}

/*
 * Large page-level warm haze.
 *
 * This is intentionally extremely soft.
 */

.hero::before {
	content: "";

	position: absolute;

	z-index: -2;

	width: 52vw;
	height: 55vw;

	min-width: 700px;
	min-height: 700px;

	top: 17%;
	right: -8%;

	border-radius: 50%;

	background: radial-gradient(
		circle,
		rgba(255, 213, 159, 0.28),
		rgba(245, 180, 124, 0.12) 43%,
		transparent 73%
	);

	filter: blur(75px);

	pointer-events: none;
}

/*
 * Tiny warm veil over the entire layout.
 */

.hero::after {
	content: "";

	position: absolute;
	z-index: -1;

	inset: 0;

	background: linear-gradient(
		100deg,
		rgba(255, 255, 255, 0.12),
		transparent 42%,
		rgba(255, 214, 174, 0.04)
	);

	pointer-events: none;
}

/* =========================================================
   HEADER
========================================================= */

.header {
	position: relative;

	z-index: 100;

	display: grid;

	grid-template-columns:
		1fr
		auto
		1fr;

	align-items: center;
}

.logo {
	display: inline-flex;

	align-items: center;

	gap: 13px;

	width: fit-content;

	font-size: 11px;
	font-weight: 700;

	letter-spacing: 0.24em;
}

.logo__symbol {
	font-size: 14px;
}

.nav {
	display: flex;

	gap: clamp(30px, 4vw, 70px);
}

.nav a,
.menu {
	font-size: 9px;
	font-weight: 700;

	letter-spacing: 0.12em;
}

.nav a {
	transition: opacity 0.25s ease;
}

.nav a:hover {
	opacity: 0.45;
}

.menu {
	justify-self: end;

	display: flex;

	align-items: center;

	gap: 10px;

	padding: 0;

	border: 0;

	background: none;

	color: inherit;

	cursor: pointer;
}

.menu__dot {
	width: 6px;
	height: 6px;

	border-radius: 50%;

	background: currentColor;
}

/* =========================================================
   HERO BODY
========================================================= */

.hero__body {
	position: relative;

	display: flex;

	align-items: center;

	min-height: calc(100svh - 90px);
}

/* =========================================================
   CONTENT
========================================================= */

.content {
	position: relative;

	z-index: 50;

	width: min(46vw, 720px);
}

.eyebrow {
	display: flex;

	align-items: center;

	gap: 12px;

	margin-bottom: clamp(30px, 5vh, 55px);

	font-size: 9px;
	font-weight: 700;

	letter-spacing: 0.055em;
}

.eyebrow span {
	width: 24px;
	height: 1px;

	background: rgba(45, 31, 23, 0.82);
}

.content h1 {
	margin: 0;

	color: #211914;

	font-size: clamp(72px, 6.5vw, 132px);

	font-weight: 500;

	line-height: 0.85;

	letter-spacing: -0.07em;
}

.intro {
	max-width: 390px;

	margin: clamp(36px, 6vh, 70px) 0 0;

	color: rgba(35, 26, 20, 0.94);

	font-size: clamp(14px, 1vw, 18px);

	line-height: 1.48;

	white-space: pre-line;
}

/* =========================================================
   BUTTONS
========================================================= */

.actions {
	display: flex;

	align-items: center;

	gap: 30px;

	margin-top: 34px;
}

.btn {
	display: inline-flex;

	align-items: center;

	justify-content: space-between;

	gap: 30px;

	font-size: 9px;
	font-weight: 700;
}

.btn--primary {
	min-width: 176px;

	padding: 16px 20px;

	border-radius: 999px;

	background: linear-gradient(135deg, #211813 0%, #302019 55%, #3a281e 100%);

	color: #fffaf4;

	box-shadow: 0 2px 2px rgba(255, 255, 255, 0.08) inset,
		0 9px 25px rgba(84, 50, 27, 0.11);
}

.btn--secondary {
	position: relative;

	padding: 15px 0;
}

.btn--secondary::after {
	content: "";

	position: absolute;

	left: 0;
	right: 30px;
	bottom: 9px;

	height: 1px;

	background: rgba(46, 32, 24, 0.62);
}

/* =========================================================
   META
========================================================= */

.meta {
	display: grid;

	grid-template-columns: repeat(3, 1fr);

	width: min(620px, 100%);

	margin-top: clamp(35px, 7vh, 90px);

	border-top: 1px solid rgba(106, 72, 49, 0.13);
}

.meta__item {
	position: relative;

	min-height: 80px;

	padding: 20px 24px 0 0;

	display: flex;

	flex-direction: column;

	gap: 12px;
}

.meta__item:not(:last-child)::after {
	content: "";

	position: absolute;

	top: 0;
	right: 15px;

	width: 1px;
	height: 100%;

	background: rgba(106, 72, 49, 0.12);
}

.meta small {
	font-size: 8px;

	color: rgba(84, 58, 42, 0.44);
}

.meta strong {
	font-size: 9px;
	font-weight: 600;

	letter-spacing: 0.04em;
}

.scroll-dot {
	position: relative;

	width: 17px;
	height: 17px;

	border: 1px solid rgba(99, 65, 45, 0.18);

	border-radius: 50%;

	background: rgba(255, 255, 255, 0.2);
}

.scroll-dot i {
	position: absolute;

	inset: 0;

	width: 4px;
	height: 4px;

	margin: auto;

	border-radius: 50%;

	background: #2b1e17;
}

/* =========================================================
   VISUAL
========================================================= */

.visual {
	position: absolute;

	z-index: 10;

	top: 51%;
	right: -1vw;

	width: min(63vw, 1160px);

	aspect-ratio: 1.29;

	transform: translateY(-48%);

	pointer-events: none;

	isolation: isolate;
}

/* =========================================================
   LIGHTING SYSTEM
========================================================= */

.visual-lighting {
	position: absolute;
	z-index: -10;
	inset: -14% -16% -17% -15%;
	overflow: visible;
	pointer-events: none;
}

.visual-glow {
	position: absolute;
	display: block;
	border-radius: 50%;
	pointer-events: none;
	transform: translateZ(0);
	will-change: transform;
}

/* envelope general */
.visual-glow--ambient {
	left: 17%;
	top: -1%;

	width: 78%;
	height: 82%;

	background: radial-gradient(
		ellipse at 58% 44%,
		rgba(255, 255, 247, 0.52) 0%,
		rgba(255, 249, 235, 0.34) 24%,
		rgba(255, 241, 221, 0.18) 44%,
		rgba(255, 232, 214, 0.08) 60%,
		transparent 80%
	);

	filter: blur(70px);
	transform: scale(1.13);
}

/* glow principal detrás de la grande */
.visual-glow--core {
	left: 33%;
	top: 4%;

	width: 54%;
	height: 58%;

	background: radial-gradient(
		ellipse at 51% 42%,
		rgba(255, 255, 250, 0.98) 0%,
		rgba(255, 255, 244, 0.88) 15%,
		rgba(255, 248, 232, 0.6) 34%,
		rgba(255, 239, 222, 0.3) 54%,
		rgba(255, 231, 220, 0.1) 70%,
		transparent 84%
	);

	filter: blur(42px);
	transform: scale(1.18);
}

/* hotspot blanco */
.visual-glow--sun {
	left: 45%;
	top: 5%;

	width: 31%;
	height: 34%;

	background: radial-gradient(
		ellipse at center,
		rgba(255, 255, 255, 1) 0%,
		rgba(255, 255, 249, 0.92) 18%,
		rgba(255, 250, 237, 0.56) 44%,
		rgba(255, 241, 228, 0.18) 66%,
		transparent 84%
	);

	filter: blur(28px);
	transform: scale(1.14);
}

/* rebote inferior más neutro */
.visual-glow--bottom {
	left: 38%;
	top: 55%;

	width: 47%;
	height: 31%;

	background: radial-gradient(
		ellipse at 52% 34%,
		rgba(255, 246, 236, 0.3) 0%,
		rgba(255, 237, 226, 0.16) 34%,
		rgba(255, 226, 215, 0.08) 58%,
		transparent 80%
	);

	filter: blur(54px);
	transform: scale(1.18);
}

/* halo de secundaria */
.visual-glow--secondary {
	left: 12%;
	top: 50%;

	width: 38%;
	height: 40%;

	background: radial-gradient(
		circle at center,
		rgba(255, 255, 248, 0.26),
		rgba(255, 240, 230, 0.12) 48%,
		transparent 76%
	);

	filter: blur(38px);
	transform: scale(1.08);
}

/* halo de la pequeña */
.visual-glow--drop {
	left: 59%;
	top: 70%;

	width: 24%;
	height: 23%;

	background: radial-gradient(
		circle,
		rgba(255, 255, 248, 0.24),
		rgba(255, 241, 231, 0.1) 50%,
		transparent 76%
	);

	filter: blur(32px);
	transform: scale(1.16);
}

/* =========================================================
   SVG
========================================================= */

.liquid-scene {
	position: relative;

	z-index: 10;

	display: block;

	width: 100%;
	height: 100%;

	overflow: visible;
}

/* =========================================================
   BUBBLES
========================================================= */

.bubble-warm-overlay {
	mix-blend-mode: soft-light;
}

.bubble-edge {
	fill: rgba(255, 255, 255, 0.02);

	stroke: url(#glassStroke);
	stroke-width: 4;

	vector-effect: non-scaling-stroke;

	filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.98))
		drop-shadow(0 0 7px rgba(236, 245, 255, 0.42))
		drop-shadow(0 0 10px rgba(255, 224, 241, 0.28))
		drop-shadow(0 14px 24px rgba(86, 70, 63, 0.08));
}

.bubble-edge--main {
	stroke-width: 4.7;

	filter: drop-shadow(0 0 2px rgba(255, 255, 255, 1))
		drop-shadow(0 0 8px rgba(236, 245, 255, 0.48))
		drop-shadow(0 0 13px rgba(255, 226, 242, 0.3))
		drop-shadow(0 16px 30px rgba(86, 70, 63, 0.09));
}

/* =========================================================
   MARQUEE
========================================================= */

.marquee {
	pointer-events: none;
}

.marquee__text {
	fill: #2b1c14;

	font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;

	font-size: 18px;

	font-weight: 500;

	letter-spacing: 6px;

	text-transform: uppercase;

	filter: none;

	paint-order: stroke fill;

	stroke: rgba(255, 247, 235, 0.2);

	stroke-width: 0.32px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {
	.content h1 {
		font-size: clamp(68px, 8vw, 105px);
	}

	.visual {
		width: 67vw;

		right: -10vw;
	}

	.visual-glow--core {
		opacity: 0.9;
	}
}

@media (max-width: 900px) {
	.header {
		grid-template-columns:
			1fr
			auto;
	}

	.nav {
		display: none;
	}

	.hero__body {
		align-items: flex-start;
	}

	.content {
		width: 100%;

		padding-top: 15vh;
	}

	.content h1 {
		font-size: clamp(62px, 13vw, 100px);
	}

	.visual {
		width: 110vw;

		right: -55vw;

		top: 50%;

		opacity: 0.82;
	}

	.visual-lighting {
		opacity: 0.8;
	}
}

@media (max-width: 650px) {
	.hero {
		--padding: 20px;
	}

	.content h1 {
		font-size: clamp(53px, 15vw, 74px);
	}

	.intro {
		max-width: 300px;
	}

	.actions {
		flex-direction: column;

		align-items: flex-start;

		gap: 8px;
	}

	.meta {
		display: none;
	}

	.visual {
		width: 145vw;

		right: -91vw;
	}
}

/*Dev*/
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,600,700");
#dev {
	font-family: "Montserrat", sans-serif;
	position: fixed;
	font-size: 14px;
	top: 10px;
	left: 10px;
	padding: 1em;
	color: #333;
	background-color: white;
	border-radius: 25px;
	cursor: pointer;
	a {
		text-decoration: none;
		font-weight: bold;
		color: #333;
		transition: ease all 0.4s;
		&:hover {
			color: #ef5350;
			text-decoration: underline;
		}
	}
	span {
		display: inline-block;
		transition: ease all 0.4s;
		color: pink;
		&:hover {
			transform: scale(1.2);
		}
	}
}