/* Pagina de contact: antetul, butoanele rapide (telefon, WhatsApp, email), formularul
   și cardurile cu programul, datele firmei și livrarea. Se încarcă doar pe paginile cu
   shortcode-urile de contact, după site.css și sections.css; culorile vin din tokenuri,
   deci tema întunecată merge fără reguli separate. */

:root {
	--vv-wa: #128C4A;
}

:root[data-theme="dark"] {
	--vv-wa: #3DDC84;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--vv-wa: #3DDC84;
	}
}

/* ---------- Antet ---------- */

.vv-s.vv-contact {
	padding-block: clamp(40px, 5vw, 72px) clamp(56px, 6vw, 96px);
	background: var(--vv-bg);
}

.vv-s .vv-contact__head {
	display: grid;
	justify-items: start;
	gap: 14px;
	max-width: 760px;
	margin-bottom: clamp(24px, 3vw, 36px);
}

.vv-s .vv-contact__title {
	color: var(--vv-ink);
	font-size: clamp(32px, 2vw + 22px, 48px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.025em;
	text-wrap: balance;
}

/* ---------- Butoanele rapide ---------- */

.vv-s .vv-quick {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px;
	margin-bottom: clamp(24px, 3vw, 36px);
}

.vv-s .vv-quick__item {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 14px;
	height: 100%;
	padding: 16px 18px;
	border: 1px solid var(--vv-line);
	border-radius: var(--vv-radius-lg);
	background: var(--vv-surface);
	color: var(--vv-ink);
	text-decoration: none;
	transition: border-color .15s, box-shadow .15s, transform .15s var(--vv-ease);
}

.vv-s .vv-quick__item:hover {
	border-color: color-mix(in srgb, var(--vv-accent) 55%, var(--vv-line));
	box-shadow: var(--vv-shadow);
	color: var(--vv-ink);
	transform: translateY(-2px);
}

.vv-s .vv-quick__item:focus-visible {
	outline: 0;
	box-shadow: var(--vv-ring);
}

.vv-s .vv-quick__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: color-mix(in srgb, var(--vv-accent) 12%, transparent);
	color: var(--vv-accent);
}

.vv-s .vv-quick__icon .vv-icon {
	width: 24px;
	height: 24px;
}

.vv-s .vv-quick__item--whatsapp .vv-quick__icon {
	background: color-mix(in srgb, var(--vv-wa) 14%, transparent);
	color: var(--vv-wa);
}

.vv-s .vv-quick__text {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.vv-s .vv-quick__label {
	color: var(--vv-ink-2);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.3;
}

.vv-s .vv-quick__value {
	color: var(--vv-ink);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

/* ---------- Formularul și cardurile ---------- */

.vv-s .vv-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	align-items: start;
	gap: clamp(20px, 2.5vw, 32px);
}

.vv-s .vv-contact__aside {
	display: grid;
	gap: 16px;
}

.vv-s .vv-contact__card {
	box-sizing: border-box;
	display: grid;
	justify-items: start;
	gap: 12px;
	padding: clamp(20px, 2.4vw, 28px);
	border: 1px solid var(--vv-line);
	border-radius: var(--vv-radius-lg);
	background: var(--vv-surface);
}

.vv-s .vv-contact__card--form {
	justify-items: stretch;
	gap: 8px;
	padding: clamp(22px, 3.2vw, 40px);
	box-shadow: var(--vv-shadow);
	scroll-margin-top: calc(var(--vv-admin-bar) + 140px);
}

.vv-s .vv-contact__card-title {
	color: var(--vv-ink);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
}

.vv-s .vv-contact__card--form .vv-contact__card-title {
	font-size: clamp(22px, 1vw + 16px, 28px);
	letter-spacing: -.015em;
}

.vv-s .vv-contact__card-text {
	font-size: 15.5px;
	line-height: 1.6;
}

.vv-s .vv-contact__card--form .vv-contact__card-text {
	margin-bottom: 14px;
}

.vv-s .vv-contact__hours {
	color: var(--vv-ink);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.vv-s .vv-company {
	display: grid;
	gap: 10px;
	width: 100%;
	margin: 0;
}

.vv-s .vv-company > div {
	display: grid;
	gap: 2px;
}

.vv-s .vv-company dt {
	color: var(--vv-ink-2);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.vv-s .vv-company dd {
	margin: 0;
	color: var(--vv-ink);
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.45;
}

/* ---------- Câmpurile ---------- */

.vv-s .vv-form {
	position: relative;
	display: grid;
	gap: 20px;
	width: 100%;
}

.vv-s .vv-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 18px;
}

.vv-s .vv-field {
	display: grid;
	align-content: start;
	gap: 7px;
	min-width: 0;
}

.vv-s .vv-field--full {
	grid-column: 1 / -1;
}

.vv-s .vv-field[hidden] {
	display: none;
}

.vv-s .vv-field__label {
	color: var(--vv-ink);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
}

.vv-s .vv-field__opt {
	color: var(--vv-ink-2);
	font-weight: 500;
}

.vv-s .vv-field__input {
	box-sizing: border-box;
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 12px 14px;
	border: 1.5px solid var(--vv-line);
	border-radius: var(--vv-radius);
	background: var(--vv-bg);
	color: var(--vv-ink);
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.vv-s .vv-field__input::placeholder {
	color: var(--vv-ink-2);
	opacity: .8;
}

.vv-s .vv-field__input:hover {
	border-color: color-mix(in srgb, var(--vv-accent) 40%, var(--vv-line));
}

.vv-s .vv-field__input:focus {
	outline: 0;
	border-color: var(--vv-accent);
	background: var(--vv-surface);
	box-shadow: var(--vv-ring);
}

.vv-s textarea.vv-field__input {
	min-height: 150px;
	resize: vertical;
}

.vv-s select.vv-field__input {
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A97AB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
	cursor: pointer;
}

.vv-s .vv-field__input[aria-invalid="true"] {
	border-color: var(--vv-bad);
}

.vv-s .vv-field__input[aria-invalid="true"]:focus {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--vv-bad) 25%, transparent);
}

.vv-s .vv-field__error {
	color: var(--vv-bad);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
}

/* Câmpul capcană pentru programele automate: nu se vede și nu se poate atinge. */
.vv-s .vv-form__trap {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Trimiterea ---------- */

.vv-s .vv-form__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
}

.vv-s .vv-form__note {
	flex: 1 1 240px;
	color: var(--vv-ink-2);
	font-size: 13.5px;
	line-height: 1.5;
}

.vv-s .vv-form__note a {
	color: var(--vv-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vv-s .vv-form__submit[disabled] {
	cursor: progress;
	opacity: .8;
}

.vv-s .vv-form.is-sending .vv-form__submit .vv-ico {
	animation: vv-contact-pulse 1s ease-in-out infinite;
}

@keyframes vv-contact-pulse {
	50% {
		opacity: .35;
	}
}

.vv-s .vv-form__status {
	padding: 12px 14px;
	border: 1px solid color-mix(in srgb, var(--vv-bad) 40%, var(--vv-line));
	border-radius: var(--vv-radius);
	background: color-mix(in srgb, var(--vv-bad) 8%, var(--vv-surface));
	color: var(--vv-bad);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.45;
}

.vv-s .vv-form__status[hidden] {
	display: none;
}

.vv-s .vv-form__done {
	display: grid;
	justify-items: start;
	gap: 8px;
	padding: clamp(20px, 3vw, 28px);
	border: 1px solid color-mix(in srgb, var(--vv-ok) 40%, var(--vv-line));
	border-radius: var(--vv-radius-lg);
	background: color-mix(in srgb, var(--vv-ok) 8%, var(--vv-surface));
	color: var(--vv-ink-2);
	font-size: 16px;
	line-height: 1.6;
}

.vv-s .vv-form__done::before {
	content: "";
	width: 44px;
	height: 44px;
	margin-bottom: 4px;
	background-color: var(--vv-ok);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8.5 12.2 2.4 2.4 4.6-4.8'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8.5 12.2 2.4 2.4 4.6-4.8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.vv-s .vv-form__done:focus {
	outline: 0;
}

.vv-s .vv-form__done-title {
	color: var(--vv-ink);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

.vv-s .vv-form__noscript {
	margin-top: 12px;
	color: var(--vv-ink);
	font-size: 15px;
	font-weight: 600;
}

/* ---------- Tabletă și telefon ---------- */

@media (max-width: 1099px) {
	.vv-s .vv-contact__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.vv-s .vv-contact__aside {
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
		align-items: start;
	}
}

@media (max-width: 640px) {
	.vv-s .vv-quick {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.vv-s .vv-quick__item {
		padding: 14px 16px;
	}

	.vv-s .vv-quick__icon {
		width: 44px;
		height: 44px;
	}

	.vv-s .vv-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.vv-s .vv-form__submit {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vv-s :is(.vv-quick__item, .vv-field__input) {
		transition: none;
	}

	.vv-s .vv-quick__item:hover {
		transform: none;
	}

	.vv-s .vv-form.is-sending .vv-form__submit .vv-ico {
		animation: none;
	}
}
