/* ==========================================================================
   Horeca World – Coming Soon
   Culori și font din ghidul de brand: bleumarin #0F172A, verde #00A86B,
   verde foarte deschis #E8F7F0, alb. Font: Outfit.
   ========================================================================== */

@font-face {
	font-family: 'Outfit';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(../fonts/outfit-latin-ext-wght-normal.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Outfit';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(../fonts/outfit-latin-wght-normal.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--navy: #0f172a;
	--green: #00a86b;
	--green-bright: #17c283;
	--green-text: #007a50; /* verde pentru text mic, cu contrast suficient pe fundal deschis */
	--mint: #e8f7f0;
	--bg: #eef9f4;
	--text: #0f172a;
	--muted: #47536b;
	--soft: #5f6b82;
	--line: rgba(15, 23, 42, 0.1);
	--danger: #c8352b;
	--pad: clamp(20px, 5vw, 76px);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
	--shadow-soft: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	background: var(--bg);
	color: var(--text);
	font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

h1,
h2,
h3,
p,
ul {
	margin: 0;
}

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

img,
svg {
	display: block;
}

button,
input,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--green);
	outline-offset: 3px;
	border-radius: 8px;
}

::selection {
	background: var(--green);
	color: #fff;
}

.hw-can-poke body {
	cursor: pointer;
}

/* ---------- fundal ---------- */

.hw-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background: linear-gradient(165deg, #f8fdfb 0%, #e8f7f0 58%, #dcf3e8 100%);
}

.hw-bg i {
	position: absolute;
	border-radius: 50%;
	will-change: transform;
}

.hw-bg i:nth-child(1) {
	top: -22vmax;
	right: -14vmax;
	width: 70vmax;
	height: 70vmax;
	background: radial-gradient(closest-side, rgba(0, 168, 107, 0.2), rgba(0, 168, 107, 0));
	animation: hw-float-a 22s ease-in-out infinite alternate;
}

.hw-bg i:nth-child(2) {
	top: 12vh;
	left: -18vmax;
	width: 60vmax;
	height: 60vmax;
	background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
	animation: hw-float-b 26s ease-in-out infinite alternate;
}

.hw-bg i:nth-child(3) {
	bottom: -26vmax;
	left: 22vw;
	width: 62vmax;
	height: 62vmax;
	background: radial-gradient(closest-side, rgba(79, 211, 160, 0.24), rgba(79, 211, 160, 0));
	animation: hw-float-a 30s ease-in-out infinite alternate-reverse;
}

@keyframes hw-float-a {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(-5vmax, 4vmax, 0) scale(1.08); }
}

@keyframes hw-float-b {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(6vmax, -3vmax, 0) scale(0.94); }
}

/* ---------- canvas 3D ---------- */

.hw-canvas {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	height: 100lvh;
	z-index: 1;
	display: block;
	opacity: 0;
	transition: opacity 0.8s ease;
	pointer-events: none;
}

.has-webgl .hw-canvas {
	opacity: 1;
}

.hw-fallback {
	display: none;
	position: fixed;
	z-index: 1;
	top: 50%;
	right: 9vw;
	width: min(34vw, 380px);
	transform: translateY(-50%) rotate(-6deg);
	filter: drop-shadow(0 40px 50px rgba(0, 168, 107, 0.3));
}

.hw-fallback img {
	width: 100%;
	height: auto;
}

.no-webgl .hw-fallback,
.no-js .hw-fallback {
	display: block;
}

/* ---------- apariții ---------- */

.js .hw-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js.is-ready .hw-reveal {
	opacity: 1;
	transform: none;
}

.js .hw-title__line > span {
	transform: translateY(112%);
	transition: transform 1.1s var(--ease);
}

.js.is-ready .hw-title__line > span {
	transform: none;
}

.hw-top .hw-reveal { transition-delay: 0.1s; }
.hw-badge.hw-reveal { transition-delay: 0.25s; }
.hw-title__line:nth-child(1) > span { transition-delay: 0.35s; }
.hw-title__line:nth-child(2) > span { transition-delay: 0.5s; }
.hw-lead.hw-reveal { transition-delay: 0.8s; }
.hw-cta.hw-reveal { transition-delay: 0.95s; }
.hw-hint.hw-reveal { transition-delay: 2.6s; }

.js [data-hw-inview] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js [data-hw-inview].in-view {
	opacity: 1;
	transform: none;
}

.js .hw-card[data-hw-inview] {
	transition-delay: 0.12s;
}

/* ---------- antet ---------- */

.hw-top {
	position: fixed;
	z-index: 20;
	top: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px var(--pad);
	transition: padding 0.4s var(--ease), background-color 0.4s ease, box-shadow 0.4s ease;
}

.is-scrolled .hw-top {
	padding-top: 13px;
	padding-bottom: 13px;
	background: rgba(244, 251, 248, 0.78);
	-webkit-backdrop-filter: blur(16px) saturate(150%);
	backdrop-filter: blur(16px) saturate(150%);
	box-shadow: 0 1px 0 var(--line);
}

.admin-bar .hw-top {
	top: 32px;
}

.hw-logo img {
	width: auto;
	height: 36px;
}

.hw-top__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px 10px 20px;
	border-radius: 999px;
	background: #fff;
	box-shadow: var(--shadow-soft);
	font-size: 15.5px;
	font-weight: 500;
	color: var(--navy);
	transition: transform 0.4s var(--bounce), background-color 0.3s ease, color 0.3s ease;
}

.hw-top__link svg {
	color: var(--green);
	transition: transform 0.4s var(--ease), color 0.3s ease;
}

.hw-top__link:hover {
	transform: translateY(-2px);
	background: var(--navy);
	color: #fff;
}

.hw-top__link:hover svg {
	transform: translateX(3px);
	color: var(--green-bright);
}

/* ---------- hero ---------- */

.hw-hero {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
	padding: 120px var(--pad) 100px;
}

.hw-hero__copy {
	width: 100%;
	max-width: min(640px, 50vw);
}

.hw-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 18px 9px 14px;
	margin-bottom: clamp(20px, 3vh, 30px);
	border-radius: 999px;
	background: #fff;
	box-shadow: var(--shadow-soft);
	font-size: 15px;
	font-weight: 500;
	color: var(--navy);
}

.hw-badge__dot {
	position: relative;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--green);
}

.hw-badge__dot::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: var(--green);
	animation: hw-ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes hw-ping {
	0% { transform: scale(1); opacity: 0.6; }
	80%, 100% { transform: scale(3.2); opacity: 0; }
}

.hw-title {
	font-size: clamp(3.1rem, 7.4vw, 7.2rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.035em;
	color: var(--navy);
}

.hw-title__line {
	display: block;
	overflow: hidden;
	padding: 0.04em 0 0.18em;
	margin-bottom: -0.18em;
}

.hw-title__line > span {
	display: block;
	will-change: transform;
}

.hw-title__line--thin {
	font-weight: 300;
	letter-spacing: -0.03em;
}

.hw-title__line--thin > span {
	color: var(--green);
	background: linear-gradient(100deg, #00a86b 5%, #008f5c 95%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hw-lead {
	max-width: 31em;
	margin-top: clamp(20px, 3.2vh, 34px);
	font-size: clamp(1.06rem, 1.3vw, 1.3rem);
	font-weight: 300;
	line-height: 1.6;
	color: var(--muted);
}

.hw-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(26px, 4.2vh, 42px);
}

.hw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 14px 28px;
	border: 0;
	border-radius: 999px;
	font-size: 1.06rem;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.45s var(--bounce), box-shadow 0.4s ease, background-color 0.3s ease, color 0.3s ease;
}

.hw-btn svg {
	transition: transform 0.4s var(--ease);
}

.hw-btn:hover svg {
	transform: translateX(4px);
}

.hw-btn--primary {
	background: var(--green);
	color: var(--navy);
	box-shadow: 0 14px 30px -12px rgba(0, 168, 107, 0.75), inset 0 -3px 0 rgba(0, 0, 0, 0.1);
}

.hw-btn--primary:hover {
	background: var(--green-bright);
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 20px 36px -12px rgba(0, 168, 107, 0.8), inset 0 -3px 0 rgba(0, 0, 0, 0.1);
}

.hw-btn--primary:active {
	transform: translateY(0) scale(0.98);
}

.hw-btn--ghost {
	background: #fff;
	color: var(--navy);
	font-weight: 500;
	box-shadow: var(--shadow-soft);
}

.hw-btn--ghost:hover {
	transform: translateY(-3px);
}

.hw-btn[disabled] {
	opacity: 0.7;
	cursor: progress;
	transform: none;
}

.hw-hint {
	position: absolute;
	right: var(--pad);
	bottom: clamp(26px, 5.5vh, 52px);
	display: none;
	align-items: center;
	gap: 10px;
	padding: 10px 18px 10px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.85);
	box-shadow: var(--shadow-soft);
	font-size: 14.5px;
	color: var(--muted);
}

.hw-hint svg {
	color: var(--green);
	animation: hw-nudge 2.4s var(--ease) infinite;
}

.js.is-ready .hw-hint.is-done {
	opacity: 0;
	transform: translateY(10px);
	transition-delay: 0s;
	pointer-events: none;
}

@keyframes hw-nudge {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-4px); }
}

@media (hover: hover) and (pointer: fine) and (min-width: 901px) and (min-aspect-ratio: 21/20) {
	.has-webgl .hw-hint {
		display: inline-flex;
	}
}

/* ---------- contact ---------- */

.hw-contact {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	padding: clamp(96px, 14vh, 150px) var(--pad) 0;
}

.hw-contact__inner {
	flex: 1;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: center;
	gap: clamp(36px, 7vw, 110px);
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
}

.hw-eyebrow {
	display: inline-block;
	margin-bottom: 18px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(0, 168, 107, 0.13);
	font-size: 14.5px;
	font-weight: 600;
	color: var(--green-text);
}

.hw-contact__title {
	font-size: clamp(2.5rem, 5.2vw, 4.8rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--navy);
}

.hw-contact__text {
	max-width: 26em;
	margin-top: 22px;
	font-size: clamp(1.04rem, 1.2vw, 1.22rem);
	font-weight: 300;
	color: var(--muted);
}

.hw-contact__list {
	display: grid;
	gap: 12px;
	margin-top: 32px;
	padding: 0;
	list-style: none;
}

.hw-contact__list li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 20px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.8);
	box-shadow: var(--shadow-soft);
}

.hw-contact__list span {
	font-size: 14.5px;
	color: var(--soft);
}

.hw-contact__list a {
	font-size: 1.12rem;
	font-weight: 600;
	color: var(--navy);
	overflow-wrap: anywhere;
	text-align: right;
	transition: color 0.3s ease;
}

.hw-contact__list a:hover {
	color: var(--green-text);
}

.hw-card {
	position: relative;
	padding: clamp(22px, 3.2vw, 42px);
	border-radius: 32px;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 40px 80px -36px rgba(15, 23, 42, 0.32), 0 2px 0 rgba(255, 255, 255, 0.9) inset;
}

.hw-form {
	display: grid;
	gap: 18px;
}

.hw-form[hidden] {
	display: none;
}

.hw-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.hw-field {
	display: grid;
	gap: 8px;
}

.hw-field__label {
	font-size: 15px;
	font-weight: 500;
	color: var(--navy);
}

.hw-field__label em {
	margin-left: 6px;
	font-style: normal;
	font-weight: 400;
	font-size: 13.5px;
	color: var(--soft);
}

.hw-field input,
.hw-field textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1.5px solid rgba(15, 23, 42, 0.12);
	border-radius: 16px;
	background: #f4fbf8;
	font-size: 16px;
	font-weight: 400;
	color: var(--navy);
	outline: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.hw-field textarea {
	min-height: 124px;
	resize: vertical;
	line-height: 1.5;
}

.hw-field input:hover,
.hw-field textarea:hover {
	border-color: rgba(15, 23, 42, 0.26);
}

.hw-field input:focus,
.hw-field textarea:focus {
	border-color: var(--green);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(0, 168, 107, 0.2);
}

.hw-field.is-invalid input,
.hw-field.is-invalid textarea {
	border-color: var(--danger);
}

.hw-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.hw-check {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	font-size: 0.93rem;
	line-height: 1.45;
	color: var(--muted);
}

.hw-check input {
	position: absolute;
	width: 24px;
	height: 24px;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.hw-check__box {
	flex: none;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border: 1.5px solid rgba(15, 23, 42, 0.3);
	border-radius: 8px;
	background: #fff;
	color: #fff;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.35s var(--bounce);
}

.hw-check__box svg {
	opacity: 0;
	transform: scale(0.5);
	transition: opacity 0.2s ease, transform 0.35s var(--bounce);
}

.hw-check input:checked + .hw-check__box {
	border-color: var(--green);
	background: var(--green);
	color: var(--navy);
}

.hw-check input:checked + .hw-check__box svg {
	opacity: 1;
	transform: none;
}

.hw-check input:focus-visible + .hw-check__box {
	box-shadow: 0 0 0 4px rgba(0, 168, 107, 0.28);
	border-color: var(--green);
}

.hw-check.is-invalid .hw-check__box {
	border-color: var(--danger);
}

.hw-form__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
	margin-top: 4px;
}

.hw-form__status {
	flex: 1 1 200px;
	min-height: 1.4em;
	font-size: 0.96rem;
	font-weight: 500;
	color: var(--muted);
}

.hw-form__status[data-type='error'] {
	color: var(--danger);
}

.hw-success {
	display: grid;
	justify-items: center;
	gap: 12px;
	padding: clamp(28px, 6vw, 64px) 8px;
	text-align: center;
	animation: hw-rise 0.8s var(--ease) both;
}

.hw-success[hidden] {
	display: none;
}

.hw-success__icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin-bottom: 8px;
	border-radius: 50%;
	background: var(--green);
	color: #fff;
	box-shadow: 0 0 0 10px rgba(0, 168, 107, 0.14), 0 18px 34px -12px rgba(0, 168, 107, 0.7);
	animation: hw-pop 0.7s var(--bounce) 0.15s both;
}

.hw-success h3 {
	font-size: 1.9rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--navy);
	outline: none;
}

.hw-success p {
	max-width: 24em;
	color: var(--muted);
}

@keyframes hw-rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

@keyframes hw-pop {
	from { transform: scale(0); }
	to { transform: scale(1); }
}

.hw-noscript {
	margin-top: 16px;
	color: var(--danger);
}

.hw-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 24px;
	width: 100%;
	max-width: 1240px;
	margin: clamp(56px, 9vh, 96px) auto 0;
	padding: 24px 0 28px;
	border-top: 1px solid var(--line);
	font-size: 0.9rem;
	color: var(--soft);
}

/* ---------- ecrane mici / portret ---------- */

@media (max-width: 900px), (max-aspect-ratio: 21/20) {
	.hw-hero {
		align-items: flex-end;
		padding: 96px var(--pad) 44px;
	}

	.hw-hero::before {
		content: '';
		position: absolute;
		z-index: -1;
		left: 0;
		right: 0;
		bottom: 0;
		height: 58%;
		background: linear-gradient(to top, rgba(238, 249, 244, 0.96) 0%, rgba(238, 249, 244, 0.82) 55%, rgba(238, 249, 244, 0) 100%);
		pointer-events: none;
	}

	.hw-hero__copy {
		max-width: 620px;
	}

	.hw-title {
		font-size: clamp(2.9rem, 13.2vw, 5.4rem);
	}

	.hw-badge {
		margin-bottom: 16px;
	}

	.hw-contact__inner {
		grid-template-columns: minmax(0, 1fr);
		align-items: start;
	}

	.hw-logo img {
		height: 31px;
	}

	.hw-top {
		padding-top: 16px;
		padding-bottom: 16px;
	}
}

@media (max-width: 782px) {
	.admin-bar .hw-top {
		top: 46px;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 16px;
	}

	.hw-form__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.hw-cta .hw-btn,
	.hw-btn--submit {
		width: 100%;
	}

	.hw-card {
		border-radius: 26px;
	}

	.hw-footer {
		flex-direction: column;
	}
}

@media (max-height: 640px) and (min-width: 901px) {
	.hw-hero {
		padding-top: 96px;
		padding-bottom: 72px;
	}

	.hw-title {
		font-size: clamp(2.8rem, 11vh, 5.2rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0ms !important;
	}
}
