/* ==========================================================================
   Horeca World – Coming Soon (v2) — varianta deschisă, cu ilustrații 2D
   Culori din ghidul de brand: bleumarin #0F172A, verde #00A86B, verde foarte deschis #E8F7F0, alb.
   Font: Outfit. Stil „autocolant”: contururi bleumarin și umbre pline, fără degradeuri.
   ========================================================================== */

@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-text: #007a50; /* verde pentru text mic, cu contrast suficient pe fundal deschis */
	--mint: #e8f7f0;
	--mint-strong: #c6eedb;
	--paper: #fbfaf6;
	--muted: #46516a;
	--soft: #5f6a80;
	--danger: #c8352b;
	--pad: clamp(20px, 5vw, 72px);
	--wrap: 1240px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::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;
	color: var(--navy);
	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;
	/* hârtie caldă cu o textură fină de puncte */
	background: radial-gradient(rgba(15, 23, 42, 0.075) 1.1px, transparent 1.3px) 0 0 / 26px 26px var(--paper);
}

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

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

img,
svg {
	display: block;
}

em {
	font-style: normal;
}

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

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

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

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

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

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

.hw-eyebrow.hw-reveal { transition-delay: 0.05s; }
.hw-title__line.hw-reveal:nth-child(1) { transition-delay: 0.15s; }
.hw-title__line.hw-reveal:nth-child(2) { transition-delay: 0.27s; }
.hw-lead.hw-reveal { transition-delay: 0.42s; }
.hw-cta.hw-reveal { transition-delay: 0.54s; }

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

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

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

/* ---------- meniu ---------- */

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

.is-scrolled .hw-nav {
	padding-top: 12px;
	padding-bottom: 12px;
	background: rgba(251, 250, 246, 0.9);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 2px 0 var(--navy);
}

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

.hw-nav__logo {
	margin-right: auto;
}

.hw-nav__logo img {
	width: auto;
	height: 34px;
}

.hw-chip {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 7px 14px 7px 12px;
	border-radius: 999px;
	background: var(--mint);
	font-size: 14.5px;
	font-weight: 500;
	color: var(--navy);
}

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

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

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

/* ---------- butoane (se „apasă” ca un autocolant) ---------- */

.hw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 10px 26px;
	border: 2px solid var(--navy);
	border-radius: 999px;
	background: var(--green);
	color: var(--navy);
	font-size: 1.04rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 4px 4px 0 var(--navy);
	transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.2s ease;
}

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

.hw-btn:hover {
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 var(--navy);
}

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

.hw-btn:active {
	transform: translate(3px, 3px);
	box-shadow: 1px 1px 0 var(--navy);
}

.hw-btn--white {
	background: #fff;
	font-weight: 500;
}

.hw-btn--small {
	min-height: 44px;
	padding: 6px 20px;
	font-size: 0.98rem;
	box-shadow: 3px 3px 0 var(--navy);
}

.hw-btn--small:hover {
	box-shadow: 5px 5px 0 var(--navy);
}

.hw-btn[disabled] {
	opacity: 0.7;
	cursor: progress;
	transform: none;
	box-shadow: 4px 4px 0 var(--navy);
}

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

.hw-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
	align-items: center;
	gap: clamp(32px, 4.4vw, 68px);
	width: 100%;
	max-width: calc(var(--wrap) + var(--pad) * 2);
	min-height: 100vh;
	min-height: 100svh;
	margin: 0 auto;
	padding: 116px var(--pad) 72px;
}

.hw-eyebrow {
	display: inline-block;
	margin-bottom: clamp(16px, 2.6vh, 26px);
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--mint);
	font-size: 14.5px;
	font-weight: 600;
	color: var(--green-text);
}

.hw-title {
	font-size: clamp(2.5rem, 4.75vw, 4.5rem);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.035em;
}

.hw-title__line {
	display: block;
}

.hw-title__line--light {
	margin-top: 0.08em;
	font-weight: 300;
	letter-spacing: -0.03em;
}

/* ultimul cuvânt, pe o etichetă verde ușor înclinată */
.hw-title__mark {
	display: inline-block;
	margin-left: 0.06em;
	padding: 0 0.2em 0.06em;
	border: 2px solid var(--navy);
	border-radius: 0.24em;
	background: var(--green);
	font-weight: 700;
	line-height: 1.12;
	transform: rotate(-2.5deg);
	box-shadow: 5px 5px 0 var(--navy);
}

.js .hw-title__mark {
	transform: rotate(-14deg) scale(0);
	transition: transform 0.7s var(--bounce) 0.75s;
}

.js.is-ready .hw-title__mark {
	transform: rotate(-2.5deg);
}

.hw-lead {
	max-width: 30em;
	margin-top: clamp(22px, 3.4vh, 34px);
	font-size: clamp(1.04rem, 1.25vw, 1.2rem);
	line-height: 1.6;
	color: var(--muted);
}

.hw-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: clamp(26px, 4vh, 40px);
}

/* ---------- ilustrațiile ---------- */

.hw-bento {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-rows: repeat(3, minmax(0, 1fr));
	gap: clamp(10px, 1.2vw, 16px);
	width: 100%;
	max-width: 500px;
	aspect-ratio: 1 / 1;
	justify-self: end;
}

.hw-tile {
	position: relative;
	display: grid;
	place-items: center;
	border: 2px solid var(--navy);
	border-radius: clamp(16px, 2vw, 26px);
	box-shadow: 5px 5px 0 var(--navy);
	cursor: pointer;
	overflow: hidden;
	-webkit-tap-highlight-color: transparent;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.hw-tile:hover {
	transform: translate(-3px, -3px);
	box-shadow: 8px 8px 0 var(--navy);
}

.hw-tile--pot { grid-area: 1 / 1 / 3 / 3; background: var(--green); }
.hw-tile--pan { grid-area: 1 / 3 / 2 / 4; background: var(--navy); }
.hw-tile--cup { grid-area: 2 / 3 / 3 / 4; background: var(--mint); }
.hw-tile--whisk { grid-area: 3 / 1 / 4 / 2; background: #fff; }
.hw-tile--cloche { grid-area: 3 / 2 / 4 / 4; background: var(--mint-strong); }

/* intră pe rând, cu un mic salt */
.js .hw-tile {
	opacity: 0;
}

.js.is-ready .hw-tile {
	opacity: 1;
	animation: hw-tile-in 0.7s var(--bounce) backwards;
}

.js.is-ready .hw-tile--pot { animation-delay: 0.25s; }
.js.is-ready .hw-tile--pan { animation-delay: 0.37s; }
.js.is-ready .hw-tile--cup { animation-delay: 0.49s; }
.js.is-ready .hw-tile--whisk { animation-delay: 0.61s; }
.js.is-ready .hw-tile--cloche { animation-delay: 0.73s; }

@keyframes hw-tile-in {
	from { opacity: 0; transform: scale(0.8) rotate(-6deg); }
	to { opacity: 1; transform: none; }
}

.hw-ill {
	width: 82%;
	height: 82%;
	overflow: visible;
}

.hw-tile--pot .hw-ill {
	width: 74%;
	height: 74%;
}

.hw-tile--cloche .hw-ill {
	width: 88%;
	height: 88%;
}

/* la click: întreaga ilustrație tresare */
.hw-tile.is-poked .hw-ill {
	animation: hw-poke 0.6s var(--ease);
}

@keyframes hw-poke {
	0% { transform: none; }
	30% { transform: translateY(-9%) rotate(-8deg) scale(1.07); }
	62% { transform: translateY(0) rotate(5deg) scale(0.96); }
	100% { transform: none; }
}

/* abur (oală, ceașcă) */
.hw-steam path {
	opacity: 0;
	animation: hw-steam 2.8s ease-in-out infinite;
}

.hw-steam path:nth-child(2) { animation-delay: 0.5s; }
.hw-steam path:nth-child(3) { animation-delay: 1s; }

@keyframes hw-steam {
	0% { opacity: 0; transform: translateY(9px); }
	35% { opacity: 1; }
	100% { opacity: 0; transform: translateY(-12px); }
}

/* capacul oalei tresare din când în când */
.hw-pot__lid {
	transform-box: fill-box;
	transform-origin: 50% 100%;
	animation: hw-rattle 3.4s ease-in-out infinite;
}

@keyframes hw-rattle {
	0%, 52%, 100% { transform: none; }
	58% { transform: translateY(-6px) rotate(-4deg); }
	64% { transform: translateY(-2px) rotate(3deg); }
	70% { transform: translateY(-6px) rotate(-3deg); }
	78% { transform: translateY(-1px) rotate(2deg); }
	86% { transform: none; }
}

.hw-flames path {
	transform-box: fill-box;
	transform-origin: 50% 100%;
	animation: hw-flicker 0.55s ease-in-out infinite alternate;
}

.hw-flames path:nth-child(2) { animation-delay: 0.18s; }
.hw-flames path:nth-child(3) { animation-delay: 0.36s; }

@keyframes hw-flicker {
	from { transform: scaleY(0.72); }
	to { transform: scaleY(1.12); }
}

/* tigaia aruncă clătita */
.hw-pan {
	transform-origin: 30% 70%;
	animation: hw-toss 2.8s var(--ease) infinite;
}

@keyframes hw-toss {
	0%, 30%, 100% { transform: none; }
	8% { transform: rotate(5deg); }
	16% { transform: rotate(-9deg); }
}

.hw-pancake {
	transform-box: fill-box;
	transform-origin: 50% 50%;
	animation: hw-flip 2.8s ease-in-out infinite;
}

@keyframes hw-flip {
	0%, 10%, 100% { transform: none; }
	16% { transform: translateY(-6px); }
	40% { transform: translateY(-40px) rotate(180deg); animation-timing-function: ease-in; }
	62% { transform: translateY(0) rotate(360deg); }
	68% { transform: translateY(1px) rotate(360deg) scale(1.12, 0.75); }
	76% { transform: rotate(360deg); }
}

/* telul bate */
.hw-whisk {
	transform-origin: 50% 12%;
	animation: hw-whisk 2.6s ease-in-out infinite;
}

@keyframes hw-whisk {
	0%, 55%, 100% { transform: none; }
	6% { transform: rotate(-13deg); }
	14% { transform: rotate(13deg); }
	22% { transform: rotate(-13deg); }
	30% { transform: rotate(13deg); }
	38% { transform: rotate(-10deg); }
	46% { transform: rotate(6deg); }
}

/* capacul se ridică și apare sacoșa din logo */
.hw-dome {
	transform-box: fill-box;
	transform-origin: 100% 100%;
	animation: hw-peek 5s var(--ease) infinite;
}

@keyframes hw-peek {
	0%, 34%, 84%, 100% { transform: none; }
	46%, 70% { transform: translate(-6px, -40px) rotate(-12deg); }
}

.hw-bag {
	transform-box: fill-box;
	transform-origin: 50% 100%;
	animation: hw-bag 5s var(--ease) infinite;
}

@keyframes hw-bag {
	0%, 42%, 76%, 100% { transform: scale(0.86); }
	50% { transform: scale(1.14); }
	56%, 68% { transform: scale(1); }
}

.hw-spark path {
	transform-box: fill-box;
	transform-origin: 50% 50%;
	transform: scale(0);
	animation: hw-spark 5s var(--ease) infinite;
}

.hw-spark path:nth-child(2) { animation-delay: 0.12s; }

@keyframes hw-spark {
	0%, 46%, 74%, 100% { transform: scale(0) rotate(0deg); }
	54%, 66% { transform: scale(1) rotate(45deg); }
}

/* ---------- banda cu categorii ---------- */

.hw-ticker {
	border-top: 2px solid var(--navy);
	border-bottom: 2px solid var(--navy);
	background: #fff;
	overflow: hidden;
}

.hw-ticker__track {
	display: flex;
	width: max-content;
	animation: hw-marquee 36s linear infinite;
}

.hw-ticker__group {
	display: flex;
	align-items: center;
	flex: none;
	padding: 15px 0;
}

.hw-ticker span {
	font-size: clamp(1rem, 1.5vw, 1.3rem);
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	white-space: nowrap;
}

.hw-ticker svg {
	flex: none;
	margin: 0 clamp(18px, 2.4vw, 36px);
	animation: hw-spin 7s linear infinite;
}

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

@keyframes hw-spin {
	to { transform: rotate(360deg); }
}

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

.hw-contact {
	padding: clamp(72px, 12vh, 136px) var(--pad) 0;
}

.hw-contact__inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: start;
	gap: clamp(36px, 6vw, 96px);
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
}

.hw-contact__title {
	font-size: clamp(2.1rem, 4.2vw, 3.7rem);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.hw-contact__text {
	max-width: 26em;
	margin-top: 18px;
	font-size: clamp(1.02rem, 1.15vw, 1.14rem);
	color: var(--muted);
}

.hw-direct {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.hw-direct .hw-btn {
	overflow-wrap: anywhere;
}

.hw-card {
	padding: clamp(22px, 3vw, 38px);
	border: 2px solid var(--navy);
	border-radius: 28px;
	background: #fff;
	box-shadow: 8px 8px 0 var(--green);
}

.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: 7px;
}

.hw-field__label {
	font-size: 15px;
	font-weight: 500;
}

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

.hw-field input,
.hw-field textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1.5px solid var(--navy);
	border-radius: 14px;
	background: #fff;
	font-size: 16px;
	color: var(--navy);
	outline: none;
	transition: box-shadow 0.18s var(--ease), transform 0.18s var(--ease), background-color 0.2s ease;
}

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

.hw-field input:hover,
.hw-field textarea:hover {
	background: var(--paper);
}

.hw-field input:focus,
.hw-field textarea:focus {
	background: #fff;
	box-shadow: 4px 4px 0 var(--green);
	transform: translate(-2px, -2px);
}

.hw-field.is-invalid input,
.hw-field.is-invalid textarea {
	border-color: var(--danger);
	box-shadow: 4px 4px 0 rgba(200, 53, 43, 0.3);
}

.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 var(--navy);
	border-radius: 7px;
	background: #fff;
	color: var(--navy);
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.hw-check__box svg {
	transform: scale(0);
	transition: transform 0.3s var(--bounce);
}

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

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

.hw-check input:focus-visible + .hw-check__box {
	box-shadow: 3px 3px 0 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, 60px) 8px;
	text-align: center;
}

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

.hw-success__icon {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin-bottom: 8px;
	border: 2px solid var(--navy);
	border-radius: 50%;
	background: var(--green);
	box-shadow: 4px 4px 0 var(--navy);
	animation: hw-pop 0.7s var(--bounce) both;
}

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

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

@keyframes hw-pop {
	from { transform: scale(0) rotate(-20deg); }
	to { transform: none; }
}

.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: var(--wrap);
	margin: clamp(64px, 10vh, 110px) auto 0;
	padding: 22px 0 26px;
	border-top: 2px solid var(--navy);
	font-size: 0.92rem;
	color: var(--soft);
}

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

@media (max-width: 900px) {
	.hw-hero {
		grid-template-columns: minmax(0, 1fr);
		align-content: start;
		min-height: 0;
		padding-top: 108px;
		padding-bottom: 56px;
	}

	.hw-title {
		font-size: clamp(2.5rem, 10.5vw, 4.4rem);
	}

	.hw-bento {
		max-width: 460px;
		justify-self: center;
	}

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

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

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

	.hw-nav {
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.hw-nav__logo img {
		height: 29px;
	}

	.hw-nav__status {
		display: none;
	}

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

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

	.hw-card {
		border-radius: 22px;
		box-shadow: 6px 6px 0 var(--green);
	}

	.hw-tile {
		box-shadow: 4px 4px 0 var(--navy);
	}
}

@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;
	}

	/* fără animații: arătăm aburul și sacoșa, ca ilustrațiile să rămână complete */
	.hw-steam path {
		opacity: 1;
	}

	.hw-dome {
		transform: translate(-6px, -40px) rotate(-12deg);
	}

	.hw-ticker__track {
		animation: none;
	}
}
