/* ==========================================================================
   Media Products: stiluri temă (front-end + editor)
   ========================================================================== */
:root {
	--mp-mov: var(--wp--preset--color--mov, #a31cb0);
	--mp-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Fără spații între antet, secțiuni și subsol. */
.wp-site-blocks > * + *,
.mp-main .wp-block-post-content > .alignfull,
.mp-main .wp-block-post-content > .alignfull + * { margin-block-start: 0; }
.mp-main { margin: 0; }
.wp-site-blocks { padding-top: 0; padding-bottom: 0; }
body { -webkit-font-smoothing: antialiased; }

/* ---------- Secțiuni ---------- */
.mp-section { padding-top: 88px; padding-bottom: 88px; }
.mp-section-sm { padding-top: 34px; padding-bottom: 40px; }
.mp-section.alignfull, .mp-hero-kit.alignfull, .mp-header.alignfull, .mp-footer.alignfull {
	padding-left: var(--wp--style--root--padding-left, 20px);
	padding-right: var(--wp--style--root--padding-right, 20px);
}
.mp-hero { padding-top: 120px; padding-bottom: 120px; }
.mp-pt-0 { padding-top: 0; }
.mp-mt { margin-top: 72px !important; }
.mp-mt-sm { margin-top: 40px !important; }
.mp-muted { opacity: .7; }
.mp-gap-lg { gap: 64px; }
.mp-section h2.wp-block-heading { margin-bottom: 28px; }
.mp-section > h2.has-text-align-center + p.has-text-align-center { max-width: 820px; margin-left: auto; margin-right: auto; }

@media (max-width: 781px) {
	.mp-section { padding-top: 56px; padding-bottom: 56px; }
	.mp-hero { padding-top: 72px; padding-bottom: 72px; }
	.mp-mt { margin-top: 48px !important; }
	.mp-gap-lg { gap: 32px; }
}

/* Fundal întunecat cu model (desene cu laptopuri și telefoane). */
.is-style-mp-fundal-model {
	background-image: var(--mp-pattern);
	background-size: 360px 360px;
	background-repeat: repeat;
}

/* ---------- Antet ---------- */
.mp-header { padding-top: 16px; padding-bottom: 16px; }
.mp-header .wp-block-site-logo img { height: auto; }
.mp-header .wp-block-navigation a { color: #fff; text-decoration: none; }
.mp-header .wp-block-navigation a:hover { color: var(--mp-mov); }
.mp-header .wp-block-navigation { gap: 28px; }

/* ---------- Hero Media Kit ---------- */
.mp-hero-kit { padding-bottom: 56px; }
.mp-hero-kit::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(to bottom, rgba(40, 20, 50, 0) 40%, rgba(40, 22, 52, .85) 100%);
}
.mp-hero-kit .wp-block-cover__inner-container { z-index: 2; }
.mp-hero-kit h1 { text-shadow: 0 2px 12px rgba(0, 0, 0, .45); max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Separatoare ---------- */
hr.wp-block-separator.is-style-mp-bara,
hr.wp-block-separator.is-style-mp-bara-centru {
	border: 0; height: 6px; width: 130px; max-width: 130px; opacity: 1;
	background: var(--mp-mov); margin-top: 18px; margin-bottom: 26px;
}
hr.wp-block-separator.is-style-mp-bara { margin-left: 0 !important; margin-right: auto !important; }
.is-layout-constrained > hr.wp-block-separator.is-style-mp-bara { margin-left: max(0px, calc((100% - var(--wp--style--global--content-size, 960px)) / 2)) !important; }
hr.wp-block-separator.is-style-mp-bara-centru { margin-left: auto !important; margin-right: auto !important; }

/* ---------- Logo-uri clienți ---------- */
.mp-logos { max-width: 760px; margin-left: auto !important; margin-right: auto !important; padding-top: 10px; }
.mp-logo { margin: 0; }
.mp-logo img { height: 46px; width: auto; }
@media (max-width: 600px) { .mp-logos { justify-content: center !important; } .mp-logo img { height: 34px; } }

/* ---------- Iconuri ---------- */
.mp-icon { text-align: center; margin-bottom: 10px; }
.mp-icon img { width: 34px; height: 34px; display: inline-block; }
.mp-problems h3 { font-size: 16px; }
.mp-problems .wp-block-column { padding: 0 8px; }

/* ---------- Liste ---------- */
ul.is-style-mp-bife, ul.is-style-mp-bife-cerc, ul.is-style-mp-intrebari, ol.is-style-mp-pasi { list-style: none; padding-left: 0; }
ul.is-style-mp-bife li, ul.is-style-mp-bife-cerc li, ul.is-style-mp-intrebari li, ol.is-style-mp-pasi li { position: relative; padding-left: 34px; margin-bottom: 14px; }
ul.is-style-mp-bife li::before { content: "✓"; position: absolute; left: 4px; top: 0; color: var(--mp-mov); font-weight: 700; }
ul.is-style-mp-bife-cerc li::before {
	content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
	background: var(--mp-mov) var(--mp-check) center / 16px no-repeat;
}
ul.is-style-mp-intrebari li::before { content: "?"; position: absolute; left: 6px; top: -1px; color: var(--mp-mov); font-weight: 700; font-size: 1.15em; }
ol.is-style-mp-pasi { counter-reset: mp-pas; }
ol.is-style-mp-pasi li { counter-increment: mp-pas; padding-left: 40px; margin-bottom: 16px; }
ol.is-style-mp-pasi li::before {
	content: counter(mp-pas); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 5px;
	background: var(--mp-mov); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* Titlu cu căsuță bifată (lista de servicii). */
h1.is-style-mp-cu-bifa, h2.is-style-mp-cu-bifa, h3.is-style-mp-cu-bifa, h4.is-style-mp-cu-bifa {
	display: flex; align-items: center; gap: 10px; font-size: 16px;
}
.is-style-mp-cu-bifa::before {
	content: ""; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 5px;
	background: var(--mp-mov) var(--mp-check) center / 16px no-repeat;
}
.mp-services { margin-top: 36px !important; gap: 36px; }

/* Ghilimele mari. */
p.is-style-mp-ghilimele {
	font-family: Georgia, "Times New Roman", serif; font-size: 84px; line-height: 1; height: 48px;
	color: var(--mp-mov); font-weight: 700; margin-bottom: 18px; overflow: visible;
}

/* ---------- Galerii tip card ---------- */
.mp-gallery-cards.wp-block-gallery { gap: 14px; }
.mp-gallery-cards .wp-block-image img { border-radius: 10px; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); background: #fff; }
.is-style-mp-umbra img { border-radius: 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, .14); }
.mp-preview-row { align-items: flex-start; margin-top: 40px !important; }

/* ---------- Butoane ---------- */
.mp-btn-lat .wp-block-button__link { min-width: 220px; text-align: center; }
.wp-block-button.is-style-outline > .wp-block-button__link { border: 2px solid currentColor; background: transparent; color: inherit; padding-top: 10px; padding-bottom: 10px; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(255, 255, 255, .08); }
.wp-block-buttons { margin-top: 28px; }

/* ---------- Carusel testimoniale ---------- */
.is-style-mp-carusel { position: relative; padding: 24px 56px 0; min-height: 120px; }
.is-style-mp-carusel .mp-slide { position: relative; }
.is-style-mp-carusel .mp-slide p { margin-top: 0; margin-bottom: 12px; }
.mp-slide-author { padding-right: 70px; }
.mp-slide-author::after {
	content: ""; position: absolute; right: 18px; bottom: -6px; width: 42px; height: 42px; border-radius: 50%;
	background: radial-gradient(circle at 78% 78%, var(--mp-mov) 0 9px, transparent 10px), #000;
}
.mp-js .is-style-mp-carusel .mp-slide { display: none; }
.mp-js .is-style-mp-carusel .mp-slide.is-active { display: block; animation: mp-fade .35s ease; }
.mp-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 4px; cursor: pointer;
	background: var(--wp--preset--color--mov-deschis, #d9a2e0); color: #fff; font-size: 22px; line-height: 40px; padding: 0;
}
.mp-arrow:hover { background: var(--mp-mov); }
.mp-arrow-prev { left: 0; }
.mp-arrow-next { right: 0; }
@keyframes mp-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Subsol ---------- */
.mp-footer { padding-top: 56px; padding-bottom: 56px; }
.mp-footer a { color: #fff; text-decoration: none; }
.mp-footer a:hover { color: var(--wp--preset--color--mov-deschis); }
.mp-footer .wp-block-columns { align-items: flex-start; }
.mp-footer-links p { line-height: 1.7; margin-top: 30px; }
.mp-footer-icons { gap: 26px; margin: 34px 0 26px; }
.mp-icon-link { margin: 0; }
.mp-icon-link img { width: 30px; height: 30px; }
.mp-anpc { text-align: center; margin: 6px 0 !important; }
.mp-anpc img { width: 120px; height: auto; display: inline-block; border-radius: 10px; }

/* Buton plutitor (dreapta jos). */
.mp-chat { position: fixed; right: 22px; bottom: 22px; z-index: 50; margin: 0 !important; }
.mp-chat .wp-block-button__link {
	width: 54px; height: 54px; padding: 0; border-radius: 50%; font-size: 0; color: transparent;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
	background: var(--mp-mov) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3Cpath d='M8 9h8M8 12h5' stroke-linecap='round'/%3E%3C/svg%3E") center / 24px no-repeat;
}
.editor-styles-wrapper .mp-chat { position: static; }

/* ---------- Formular de contact ---------- */
.mp-contact-form form { display: flex; flex-direction: column; gap: 10px; }
.mp-contact-form input[type="text"],
.mp-contact-form input[type="email"],
.mp-contact-form textarea {
	width: 100%; box-sizing: border-box; border: 0; border-radius: 4px; padding: 7px 12px;
	background: #444240; color: #f1f1f1; font: inherit; font-size: 14px;
}
.mp-contact-form textarea { min-height: 128px; resize: vertical; }
.mp-contact-form ::placeholder { color: #b9b7b4; }
.mp-contact-form input:focus, .mp-contact-form textarea:focus { outline: 2px solid var(--mp-mov); }
.mp-cf-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 12px; line-height: 1.5; margin-top: 6px; cursor: pointer; }
.mp-cf-consent input { width: 22px; height: 22px; flex: 0 0 22px; accent-color: var(--mp-mov); margin: 0; }
.mp-contact-form button { align-self: flex-start; min-width: 128px; border: 0; cursor: pointer; padding: 7px 24px; }
.mp-cf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mp-cf-notice { padding: 10px 14px; border-radius: 4px; font-size: 14px; margin-bottom: 12px; }
.mp-cf-ok { background: rgba(163, 28, 176, .25); }
.mp-cf-err { background: #7a1c1c; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Calendly ---------- */
.mp-calendly { margin-top: 40px; background: transparent; }
.mp-calendly-placeholder {
	margin-top: 32px; padding: 28px; border: 2px dashed var(--mp-mov); border-radius: 10px; text-align: center;
	display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; background: rgba(163, 28, 176, .06);
}

/* Coloana cu logo din subsol, centrată. */
.mp-footer-brand { text-align: center; }
.mp-footer-brand .wp-block-site-logo { display: flex; justify-content: center; }
