/* ==========================================================================
   Sendino – design system (layout 2026)
   Toate clasele sunt prefixate cu "sd-" și se aplică din editor:
   Block → Advanced → Additional CSS class(es).
   ========================================================================== */

:root {
	--sd-black: #0a0a0b;
	--sd-ink: #111113;
	--sd-text: #1d1d20;
	--sd-muted: #6b6b73;
	--sd-line: #e6e6ea;
	--sd-soft: #f6f6f7;
	--sd-white: #fff;
	--sd-dark-1: #111113;
	--sd-dark-2: #18181b;
	--sd-dark-line: #2a2a2f;
	--sd-dark-muted: #9a9aa3;
	--sd-green: #2bb673;
	--sd-red: #e5484d;
	--sd-radius: 14px;
	--sd-radius-lg: 22px;
	--sd-wrap: 1200px;
	--sd-gutter: 24px;
	--sd-shadow: 0 1px 2px rgba(10, 10, 11, .04), 0 8px 24px rgba(10, 10, 11, .05);
}

/* ---------- Bază ---------- */
.sd-page .entry-content > * { margin-top: 0; margin-bottom: 0; }
.sd-page .entry-content-wrap { padding: 0; }
[class*="sd-"] h1, [class*="sd-"] h2, [class*="sd-"] h3, [class*="sd-"] h4 {
	letter-spacing: -.03em;
	color: inherit;
}
.sd-section {
	padding: 96px var(--sd-gutter);
	color: var(--sd-text);
}
.sd-section.sd-tight { padding-top: 48px; padding-bottom: 48px; }
.sd-wrap {
	max-width: var(--sd-wrap);
	margin-left: auto !important;
	margin-right: auto !important;
	width: 100%;
}
.sd-center { text-align: center; }
.sd-h2 {
	font-size: clamp(28px, 3.2vw, 40px);
	line-height: 1.1;
	font-weight: 700;
	margin: 0 0 16px;
}
.sd-h2--sm { font-size: clamp(22px, 2.2vw, 28px); }
.sd-section-title { text-align: center; margin-bottom: 40px !important; }
.sd-lead {
	font-size: 17px;
	line-height: 1.65;
	color: var(--sd-muted);
	max-width: 520px;
}
.sd-eyebrow {
	font-size: 14px;
	font-weight: 600;
	color: var(--sd-text);
	text-align: center;
	margin: 0 0 28px;
}

.entry-content .alignfull.sd-section,
.entry-content .alignfull.sd-logos,
.entry-content .alignfull.sd-dark-band {
	padding-left: var(--sd-gutter) !important;
	padding-right: var(--sd-gutter) !important;
}
@media (max-width: 781px) { :root { --sd-gutter: 18px; } }

/* ---------- Butoane ---------- */
.wp-block-buttons.sd-btns { gap: 14px; margin-top: 32px; }
.sd-btn .wp-block-button__link,
.wp-block-button.sd-btn .wp-element-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
	border-width: 1.5px !important;
	border-style: solid !important;
	border-color: transparent;
	box-shadow: none;
}
.sd-btn .wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.sd-btn--dark .wp-block-button__link { background: var(--sd-black); color: #fff; border-color: var(--sd-black) !important; }
.wp-block-button.sd-btn--dark .wp-block-button__link:hover { background: #26262b; color: #fff; }
.wp-block-button.sd-btn--light .wp-block-button__link { background: #fff; color: var(--sd-black); border-color: #d4d4da !important; }
.wp-block-button.sd-btn--light .wp-block-button__link:hover { border-color: var(--sd-black) !important; color: var(--sd-black); }
.wp-block-button.sd-btn--ghost .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45) !important; }
.wp-block-button.sd-btn--ghost .wp-block-button__link:hover { border-color: #fff !important; color: #fff; }
.wp-block-button.sd-btn--white .wp-block-button__link { background: #fff; color: var(--sd-black); border-color: #fff !important; }
.wp-block-button.sd-btn--white .wp-block-button__link:hover { background: #ececef; color: var(--sd-black); }
.sd-btn--block, .sd-btn--block .wp-block-button__link { width: 100%; justify-content: center; }
.sd-btn--arrow .wp-block-button__link::after {
	content: "";
	width: 14px; height: 14px;
	background: currentColor;
	-webkit-mask: var(--sd-i-arrow) center / contain no-repeat;
	mask: var(--sd-i-arrow) center / contain no-repeat;
}

/* ---------- Liste cu bifă ---------- */
ul.sd-checks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
ul.sd-checks--col { flex-direction: column; gap: 10px; margin-top: 20px; }
ul.sd-checks li {
	position: relative;
	padding-left: 26px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--sd-muted);
}
ul.sd-checks li::before {
	content: "";
	position: absolute; left: 0; top: 2px;
	width: 17px; height: 17px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	opacity: .7;
	background: currentColor;
	-webkit-mask: var(--sd-i-check-circle) center / contain no-repeat;
	mask: var(--sd-i-check-circle) center / contain no-repeat;
	border: 0;
}

/* ---------- 1. Hero ---------- */
.sd-hero { padding-top: 56px; padding-bottom: 56px; overflow: hidden; }
.sd-hero .wp-block-columns { align-items: center !important; gap: 32px; }
.sd-h1 {
	font-size: clamp(40px, 5.4vw, 68px);
	line-height: 1.03;
	font-weight: 700;
	letter-spacing: -.04em !important;
	margin: 0 0 24px;
}
.sd-hero__img { margin: 0; }
.sd-hero__img img { width: 100%; height: auto; display: block; animation: sd-float 6s ease-in-out infinite; }
@keyframes sd-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .sd-hero__img img, .sd-float img { animation: none; } }

/* ---------- 2. Logo-uri ---------- */
.sd-logos { padding: 40px var(--sd-gutter) 56px; border-top: 1px solid var(--sd-line); }
.sd-logos__row { justify-content: space-between; align-items: center; gap: 24px 40px; }
.sd-logo {
	margin: 0 !important;
	font-size: 22px;
	font-weight: 700;
	color: #2b2b30;
	letter-spacing: -.02em;
	opacity: .8;
	filter: grayscale(1);
	transition: opacity .2s;
}
.sd-logo:hover { opacity: 1; }
.sd-logo img { max-height: 40px; width: auto; }
.sd-logo--serif { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; font-size: 15px; }
.sd-logo--caps { text-transform: uppercase; letter-spacing: .06em; font-size: 18px; }

/* ---------- 3. Banda întunecată + mockup aplicație ---------- */
.sd-dark {
	background: var(--sd-black);
	color: #fff;
	border-radius: var(--sd-radius-lg);
}
.sd-dark-band { background: var(--sd-black); color: #fff; padding: 72px var(--sd-gutter); border-radius: 28px 28px 0 0; }
.sd-dark-band .sd-lead, .sd-dark .sd-lead, .sd-panel .sd-lead { color: #c9c9cf; }
.sd-dark-band > .wp-block-columns { align-items: center !important; gap: 48px; }
.sd-stats { margin: 40px 0 36px !important; gap: 24px; }
.sd-stat__num { font-size: 30px; font-weight: 700; letter-spacing: -.03em; margin: 0 !important; color: #fff; }
.sd-stat__label { font-size: 13px; color: var(--sd-dark-muted); margin: 4px 0 0 !important; }

.sd-app {
	background: var(--sd-dark-1);
	border: 1px solid var(--sd-dark-line);
	border-radius: 18px;
	padding: 18px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
	font-size: 12px;
	color: #e9e9ec;
}
.sd-app p { margin: 0; }
.sd-app > .wp-block-columns { gap: 18px; margin: 0; }
.sd-app__side { border-right: 1px solid var(--sd-dark-line); padding-right: 14px; }
.sd-app__logo { font-size: 18px !important; font-weight: 700; display: flex; align-items: center; gap: 6px; margin-bottom: 22px !important; }
.sd-app__logo::before {
	content: ""; width: 18px; height: 18px; background: #fff;
	-webkit-mask: var(--sd-i-s) center / contain no-repeat; mask: var(--sd-i-s) center / contain no-repeat;
}
ul.sd-app__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
ul.sd-app__nav li {
	display: flex; align-items: center; gap: 10px;
	padding: 8px 10px; border-radius: 8px; color: #c9c9cf;
}
ul.sd-app__nav li:first-child { background: var(--sd-dark-2); color: #fff; }
ul.sd-app__nav li::before {
	content: ""; width: 14px; height: 14px; flex: none; background: currentColor;
	-webkit-mask: var(--sd-icon) center / contain no-repeat; mask: var(--sd-icon) center / contain no-repeat;
}
ul.sd-app__nav li:nth-child(1) { --sd-icon: var(--sd-i-home); }
ul.sd-app__nav li:nth-child(2) { --sd-icon: var(--sd-i-send); }
ul.sd-app__nav li:nth-child(3) { --sd-icon: var(--sd-i-clock); }
ul.sd-app__nav li:nth-child(4) { --sd-icon: var(--sd-i-users); }
ul.sd-app__nav li:nth-child(5) { --sd-icon: var(--sd-i-doc); }
ul.sd-app__nav li:nth-child(6) { --sd-icon: var(--sd-i-gear); }

.sd-app__top { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.sd-app__ai { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.sd-app__ai::before {
	content: ""; width: 26px; height: 26px; border-radius: 50%;
	background: #fff url("/wp-content/uploads/2026/08/sendino-chat.png") center / cover no-repeat;
}
.sd-app__ai span { display: block; font-weight: 400; color: var(--sd-green); font-size: 10px; }
.sd-app__kpis { gap: 10px !important; margin: 0 0 12px !important; }
.sd-kpi, .sd-app__card {
	background: var(--sd-dark-2);
	border: 1px solid var(--sd-dark-line);
	border-radius: 12px;
	padding: 12px 14px;
}
.sd-kpi__label { font-size: 10px; color: var(--sd-dark-muted); }
.sd-kpi__num { font-size: 22px; font-weight: 700; letter-spacing: -.03em; margin: 4px 0 !important; }
.sd-kpi__delta { font-size: 10px; color: #c9c9cf; }
.sd-kpi__delta::before { content: "▲ "; font-size: 8px; color: var(--sd-green); }
.sd-app__cards { gap: 10px !important; margin: 0 !important; }
.sd-app__card-title { font-weight: 600; margin-bottom: 8px !important; }
.sd-app__chart { margin: 0; }
.sd-app__chart img { width: 100%; height: auto; display: block; }
ul.sd-app__list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
ul.sd-app__list li { display: flex; align-items: center; gap: 8px; }
ul.sd-app__list li::before {
	content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; background: #fff;
	-webkit-mask: var(--sd-i-user-circle) center / contain no-repeat; mask: var(--sd-i-user-circle) center / contain no-repeat;
}
ul.sd-app__list li strong, ul.sd-app__list li b { margin-left: auto; font-weight: 600; }
.sd-app .sd-btns { margin-top: 0; justify-content: center; }
.wp-block-button.sd-btn--mini .wp-block-button__link { padding: 6px 16px; font-size: 11px; border-radius: 7px; background: transparent; color: #fff; border: 1px solid var(--sd-dark-line) !important; }

/* ---------- 4. Funcționalități ---------- */
/* Grid cu rânduri egale: toate cardurile au aceeași înălțime; ultimul rând incomplet rămâne centrat. */
.sd-cards {
	display: grid !important;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	align-items: stretch !important;
	gap: 16px !important;
}
.sd-cards > .sd-card { grid-column: span 2; margin: 0 !important; min-width: 0; }
.sd-cards:not(.sd-cards--3) > .sd-card:nth-child(4n+1):nth-last-child(3) { grid-column: 2 / span 2; }
.sd-cards:not(.sd-cards--3) > .sd-card:nth-child(4n+1):nth-last-child(2) { grid-column: 3 / span 2; }
.sd-cards:not(.sd-cards--3) > .sd-card:nth-child(4n+1):nth-last-child(1) { grid-column: 4 / span 2; }
.sd-cards--3 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.sd-cards--3 > .sd-card:nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
.sd-cards--3 > .sd-card:nth-child(3n+1):nth-last-child(1) { grid-column: 3 / span 2; }
.sd-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--sd-line);
	border-radius: var(--sd-radius);
	padding: 22px 22px 22px 76px;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.sd-card:hover { border-color: #cfcfd5; box-shadow: var(--sd-shadow); transform: translateY(-2px); }
.sd-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 6px; letter-spacing: -.01em !important; }
.sd-card p { font-size: 13px; line-height: 1.55; color: var(--sd-muted); margin: 0; }
.sd-card::before, .sd-node::before {
	content: "";
	position: absolute;
	width: 28px; height: 28px;
	background: currentColor;
	-webkit-mask: var(--sd-icon, var(--sd-i-sparkle)) center / contain no-repeat;
	mask: var(--sd-icon, var(--sd-i-sparkle)) center / contain no-repeat;
}
.sd-card::before { left: 24px; top: 24px; color: var(--sd-ink); }

/* Pictograme (se aplică prin clasă: sd-ico-mail, sd-ico-sms ...) */
.sd-ico-mail { --sd-icon: var(--sd-i-mail); }
.sd-ico-sms { --sd-icon: var(--sd-i-phone); }
.sd-ico-bolt { --sd-icon: var(--sd-i-bolt); }
.sd-ico-users { --sd-icon: var(--sd-i-users); }
.sd-ico-chart { --sd-icon: var(--sd-i-chart); }
.sd-ico-ai { --sd-icon: var(--sd-i-sparkle); }
.sd-ico-clock { --sd-icon: var(--sd-i-hourglass); }
.sd-ico-flag { --sd-icon: var(--sd-i-flag); }
.sd-ico-form { --sd-icon: var(--sd-i-doc); }
.sd-ico-ab { --sd-icon: var(--sd-i-ab); }
.sd-ico-shield { --sd-icon: var(--sd-i-shield); }

/* ---------- 5. Automatizări (flux) ---------- */
.sd-panel {
	background: var(--sd-black);
	color: #fff;
	border-radius: var(--sd-radius-lg);
	padding: 56px 48px;
}
.sd-panel > .wp-block-columns { align-items: center !important; gap: 40px; }
.sd-flow { align-items: center; gap: 18px !important; flex-wrap: nowrap !important; }
.sd-node {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	background: var(--sd-dark-2);
	border: 1px solid var(--sd-dark-line);
	border-radius: 10px;
	padding: 12px;
	font-size: 11.5px;
	line-height: 1.35;
	color: #c9c9cf;
}
.sd-flow > *, .sd-flow__branches > * { margin: 0 !important; }
.sd-node p { margin: 0; }
.sd-node__title { font-weight: 600; color: #fff; }
.sd-node[class*="sd-ico-"] { padding-left: 36px; }
.sd-node::before { display: none; }
.sd-node[class*="sd-ico-"]::before { display: block; width: 16px; height: 16px; left: 12px; top: 50%; transform: translateY(-50%); color: #fff; }
.sd-node:not(:last-child)::after {
	content: "";
	position: absolute;
	right: -18px; top: 50%;
	width: 18px; height: 1px;
	background: linear-gradient(90deg, #4a4a52, #4a4a52) no-repeat;
}
.sd-node--decision {
	flex: 0 0 86px;
	min-height: 92px;
	background: transparent;
	border: 0;
	display: flex; align-items: center; justify-content: center; text-align: center;
}
.sd-node--decision::before {
	display: block !important;
	-webkit-mask: none; mask: none;
	inset: 12px; width: auto; height: auto;
	background: var(--sd-dark-2);
	border: 1px solid #5a5a62;
	transform: rotate(45deg);
	border-radius: 6px;
}
.sd-node--decision p { position: relative; font-weight: 600; }
.sd-flow__branches { display: flex; flex-direction: column; gap: 14px !important; flex: 0 0 158px; min-width: 0; }
.sd-flow__branches .sd-node::after { display: none; }
.sd-tag {
	display: inline-block !important;
	font-size: 10px !important;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 5px;
	margin: 0 0 6px !important;
}
.sd-tag--yes { background: var(--sd-green); color: #fff; }
.sd-tag--no { background: var(--sd-red); color: #fff; }

/* ---------- 6. Sendino AI ---------- */
.sd-ai > .wp-block-columns { align-items: center !important; gap: 40px; }
.sd-float img { animation: sd-float 7s ease-in-out infinite; }
.sd-ai__img { margin: 0; }
.sd-ai__img img { width: 100%; max-width: 380px; height: auto; display: block; margin: 0 auto; }
.sd-ai-stack { position: relative; min-height: 300px; }
.sd-ai-card {
	position: absolute;
	background: #fff;
	border: 1px solid var(--sd-line);
	border-radius: 12px;
	box-shadow: var(--sd-shadow);
	padding: 14px 16px;
	font-size: 11px;
	color: var(--sd-muted);
}
.sd-ai-card p { margin: 0 0 12px !important; font-weight: 600; color: var(--sd-text); }
.sd-ai-card::after {
	content: "";
	display: block;
	height: 54px;
	background:
		linear-gradient(#ececef, #ececef) 0 0 / 100% 7px no-repeat,
		linear-gradient(#ececef, #ececef) 0 16px / 86% 7px no-repeat,
		linear-gradient(#ececef, #ececef) 0 32px / 92% 7px no-repeat,
		linear-gradient(#ececef, #ececef) 0 48px / 60% 7px no-repeat;
}
.sd-ai-card:nth-child(1) { left: 0; top: 0; width: 62%; transform: rotate(-3deg); }
.sd-ai-card:nth-child(2) { right: 0; top: 56px; width: 46%; z-index: 1; }
.sd-ai-card:nth-child(3) { left: 18%; bottom: 0; width: 48%; z-index: 2; }
.sd-ai-card:nth-child(3)::after {
	height: 56px;
	background:
		linear-gradient(#d6d6db, #d6d6db) 0 100% / 14% 40% no-repeat,
		linear-gradient(#d6d6db, #d6d6db) 22% 100% / 14% 60% no-repeat,
		linear-gradient(#bdbdc4, #bdbdc4) 44% 100% / 14% 50% no-repeat,
		linear-gradient(#a8a8b0, #a8a8b0) 66% 100% / 14% 80% no-repeat,
		linear-gradient(#8a8a93, #8a8a93) 88% 100% / 14% 100% no-repeat;
}

/* ---------- 7. Testimoniale ---------- */
.sd-quotes { gap: 20px !important; }
.sd-quote {
	height: 100%;
	border: 1px solid var(--sd-line);
	border-radius: var(--sd-radius);
	padding: 26px 26px 22px;
	background: #fff;
	display: flex; flex-direction: column; justify-content: space-between;
}
.sd-quote__text { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.6; color: var(--sd-text); margin: 0 0 22px !important; }
.sd-quote__text::before { content: "\201C"; position: absolute; left: 0; top: -8px; font-size: 34px; line-height: 1; color: #b9b9c0; font-family: Georgia, serif; }
.sd-quote__author { align-items: center; gap: 12px !important; flex-wrap: nowrap !important; }
.sd-quote__author p { margin: 0 !important; }
.sd-avatar { margin: 0 !important; flex: none; }
.sd-avatar img { width: 44px !important; height: 44px !important; border-radius: 50%; object-fit: cover; }
p.sd-avatar {
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--sd-ink); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-size: 14px; font-weight: 700;
}
.sd-quote__name { font-weight: 700; font-size: 14px; color: var(--sd-text); }
.sd-quote__role { font-size: 12px; color: var(--sd-muted); }

/* ---------- 8. Prețuri ---------- */
.sd-prices { gap: 20px !important; align-items: stretch !important; }
.sd-price {
	position: relative;
	height: 100%;
	border: 1px solid var(--sd-line);
	border-radius: var(--sd-radius);
	padding: 28px;
	background: #fff;
	display: flex; flex-direction: column;
}
.sd-price h3 { font-size: 17px; font-weight: 700; margin: 0; }
.sd-price__sub { font-size: 13px; color: var(--sd-muted); margin: 2px 0 18px !important; }
.sd-price__amount { font-size: 38px; font-weight: 700; letter-spacing: -.03em; margin: 0 !important; line-height: 1.1; }
.sd-price__amount span, .sd-price__amount em { font-size: 14px; font-weight: 500; font-style: normal; color: var(--sd-muted); letter-spacing: 0; }
.sd-price ul.sd-checks { margin-bottom: 26px; }
.sd-price ul.sd-checks li { color: var(--sd-text); }
.sd-price .wp-block-buttons.sd-btns { margin-top: auto; }
.sd-price--featured { background: var(--sd-black); color: #fff; border-color: var(--sd-black); transform: scale(1.03); box-shadow: 0 24px 60px rgba(10, 10, 11, .25); }
.sd-price--featured .sd-price__sub, .sd-price--featured .sd-price__amount span { color: var(--sd-dark-muted); }
.sd-price--featured ul.sd-checks li { color: #fff; }
.sd-badge {
	position: absolute; right: 22px; top: 22px;
	font-size: 11px !important; font-weight: 600;
	padding: 5px 12px; border-radius: 8px;
	border: 1px solid #3a3a40; color: #fff;
	margin: 0 !important;
}

/* ---------- 9. FAQ ---------- */
.sd-faq-title { font-size: 18px !important; margin: 0 0 16px !important; }
.sd-faqs { border-top: 1px solid var(--sd-line); }
details.sd-faq { border-bottom: 1px solid var(--sd-line); padding: 0 6px; }
details.sd-faq summary {
	list-style: none;
	cursor: pointer;
	padding: 16px 32px 16px 0;
	font-size: 15px;
	font-weight: 500;
	position: relative;
}
details.sd-faq summary::-webkit-details-marker { display: none; }
details.sd-faq summary::after {
	content: ""; position: absolute; right: 4px; top: 50%;
	width: 9px; height: 9px; margin-top: -7px;
	border-right: 2px solid var(--sd-text); border-bottom: 2px solid var(--sd-text);
	transform: rotate(45deg); transition: transform .2s;
}
details.sd-faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details.sd-faq > :not(summary) { color: var(--sd-muted); font-size: 14px; line-height: 1.65; margin: 0 0 18px; max-width: 860px; }

/* ---------- 10. CTA ---------- */
.sd-cta {
	background: radial-gradient(120% 140% at 15% 50%, #232328 0%, var(--sd-black) 55%);
	color: #fff;
	border-radius: var(--sd-radius-lg);
	padding: 28px 48px;
	overflow: hidden;
}
.sd-cta > .wp-block-columns { align-items: center !important; gap: 32px; }
.sd-cta__img { margin: -10px 0 !important; }
.sd-cta__img img { width: 100%; max-width: 260px; height: auto; display: block; margin: 0 auto; }
.sd-cta .sd-h2 { margin-bottom: 8px; }
.sd-cta .sd-lead { color: #c9c9cf; font-size: 15px; }
.sd-cta .sd-btns { margin-top: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.sd-flow { flex-wrap: wrap !important; justify-content: center; }
	.sd-node:not(:last-child)::after { display: none; }
	.sd-panel { padding: 40px 28px; }
}
@media (max-width: 781px) {
	.sd-section { padding-top: 64px; padding-bottom: 64px; }
	.sd-hero { padding-top: 32px; }
	.sd-hero__img { margin-top: 8px; }
	.sd-hero__img img { max-width: 360px; margin: 0 auto; }
	.sd-logos__row { justify-content: center; }
	.sd-app__side { display: none; }
	.wp-block-columns.sd-app__kpis { flex-wrap: wrap !important; }
	.wp-block-columns.sd-app__kpis > .wp-block-column { flex: 0 0 calc(50% - 5px) !important; }
	.sd-stat__num { font-size: 24px; }
	.sd-flow { flex-direction: column; align-items: stretch !important; gap: 10px !important; }
	.sd-flow > .sd-node, .sd-flow__branches { flex: none; width: 100%; }
	.sd-flow > .sd-node--decision { align-self: center; flex: none; width: 96px; height: 96px; }
	.sd-cta__img img { max-width: 180px; }
	.sd-price--featured { transform: none; }
	.sd-ai-stack { min-height: 280px; }
	.sd-cta { padding: 28px 24px; text-align: center; }
	.sd-cta .sd-btns { justify-content: center; }
	.sd-dark-band { border-radius: 20px 20px 0 0; }
}

/* ---------- Pictograme SVG (mask) ---------- */
:root {
	--sd-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
	--sd-i-check-circle: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12.5 2.6 2.5L16 9.5'/%3E%3C/svg%3E");
	--sd-i-mail: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2'/%3E%3Cpath d='m3 6.5 9 6.5 9-6.5'/%3E%3C/svg%3E");
	--sd-i-phone: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='3'/%3E%3Cpath d='M8 7h8v7H8zM11 18h2'/%3E%3C/svg%3E");
	--sd-i-bolt: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z'/%3E%3C/svg%3E");
	--sd-i-users: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c0-3.6 2.9-6 6.5-6s6.5 2.4 6.5 6M16 4.6a3.5 3.5 0 0 1 0 6.8M18 14.3c2 .8 3.5 2.8 3.5 5.7'/%3E%3C/svg%3E");
	--sd-i-chart: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='13' width='4' height='8' rx='1'/%3E%3Crect x='10' y='8' width='4' height='13' rx='1'/%3E%3Crect x='17' y='3' width='4' height='18' rx='1'/%3E%3C/svg%3E");
	--sd-i-sparkle: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 3 11.8 8.2 17 10l-5.2 1.8L10 17l-1.8-5.2L3 10l5.2-1.8zM18 14l.9 2.1L21 17l-2.1.9L18 20l-.9-2.1L15 17l2.1-.9zM18 2l.6 1.4L20 4l-1.4.6L18 6l-.6-1.4L16 4l1.4-.6z'/%3E%3C/svg%3E");
	--sd-i-hourglass: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2h12M6 22h12M7 2c0 5 10 5 10 10S7 17 7 22M17 2c0 5-10 5-10 10s10 5 10 10'/%3E%3C/svg%3E");
	--sd-i-flag: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4M5 4h12l-2 4 2 4H5'/%3E%3C/svg%3E");
	--sd-i-doc: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E");
	--sd-i-home: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M3 9h18M9 21V9'/%3E%3C/svg%3E");
	--sd-i-send: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13M22 2l-7 20-4-9-9-4z'/%3E%3C/svg%3E");
	--sd-i-clock: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
	--sd-i-gear: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1z'/%3E%3C/svg%3E");
	--sd-i-user-circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 4a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7zm0 14a8 8 0 0 1-6-2.7c.6-2 3-3.3 6-3.3s5.4 1.3 6 3.3A8 8 0 0 1 12 20z'/%3E%3C/svg%3E");
	--sd-i-ab: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4' width='8' height='16' rx='2'/%3E%3Crect x='13.5' y='4' width='8' height='16' rx='2'/%3E%3Cpath d='M5 15l1.5-6 1.5 6M5.5 13h2M16 9h2a1.5 1.5 0 0 1 0 3h-2v-3zM16 12h2.3a1.5 1.5 0 0 1 0 3H16z'/%3E%3C/svg%3E");
	--sd-i-shield: 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.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8.3-8 9-4.6-.7-8-4.5-8-9V6z'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5'/%3E%3C/svg%3E");
	--sd-i-s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M6 3h13l-3 5H9.5a1 1 0 0 0 0 2H15a5 5 0 0 1 0 10H4l3-5h7.5a1 1 0 0 0 0-2H9A5 5 0 0 1 6 3z'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Header (Kadence Advanced Header)
   ========================================================================== */
.wp-block-kadence-header .wp-block-kadence-navigation .menu > li > .kb-link-wrap > a,
.wp-block-kadence-header .wp-block-kadence-navigation .menu > li > a {
	font-size: 15px;
	font-weight: 500;
	color: var(--sd-text);
}
.wp-block-kadence-header .wp-block-kadence-navigation .menu > li > .kb-link-wrap > a:hover,
.wp-block-kadence-header .wp-block-kadence-navigation .menu > li > a:hover { color: var(--sd-muted); }
.wp-block-kadence-header .wp-block-kadence-navigation .sub-menu {
	border: 1px solid var(--sd-line);
	border-radius: 12px;
	box-shadow: var(--sd-shadow);
	padding: 8px 0;
	background: #fff;
}
.sd-header-btns { gap: 8px; align-items: center; }
.sd-header-btns .kb-button { border-width: 1.5px !important; border-style: solid !important; padding: 8px 18px !important; font-size: 14px !important; line-height: 20px !important; min-height: 0; }
.sd-header-btns .sd-hbtn-text { background: #fff !important; border-color: #d4d4da !important; color: var(--sd-black) !important; box-shadow: none !important; }
.sd-header-btns .sd-hbtn-text:hover { border-color: var(--sd-black) !important; color: var(--sd-black) !important; }
.sd-header-btns .sd-hbtn-dark { background: var(--sd-black) !important; color: #fff !important; border-color: var(--sd-black) !important; }
.sd-header-btns .sd-hbtn-dark:hover { background: #26262b !important; }
.wp-block-kadence-off-canvas .sd-header-btns { margin-top: 24px; flex-direction: column; align-items: stretch; }
.wp-block-kadence-off-canvas .sd-header-btns .kb-button { width: 100%; justify-content: center; }

/* ==========================================================================
   Footer (pattern sincronizat "Footer Sendino")
   ========================================================================== */
.sd-site-footer { background: #fff; border-top: 1px solid var(--sd-line); }
.sd-footer { padding: 56px var(--sd-gutter) 28px; color: var(--sd-text); font-size: 14px; }
.sd-footer p { margin: 0; }
.sd-footer__cols { gap: 32px; margin-bottom: 40px !important; }
.sd-footer__logo { margin: 0 0 12px !important; }
.sd-footer__logo img { width: 130px !important; height: auto; }
.sd-footer__tag { color: var(--sd-muted); }
.sd-footer__title { font-weight: 700; font-size: 14px; margin-bottom: 14px !important; }
ul.sd-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
ul.sd-footer__links a, .sd-footer__legal a { color: var(--sd-muted); text-decoration: none; transition: color .15s; }
ul.sd-footer__links a:hover, .sd-footer__legal a:hover { color: var(--sd-text); }
.sd-social.wp-block-social-links { gap: 14px; margin: 0; }
.sd-social.wp-block-social-links .wp-social-link { color: var(--sd-text); font-size: 20px; }
.sd-social.wp-block-social-links .wp-social-link a { padding: 0; color: inherit; }
.sd-social.wp-block-social-links .wp-social-link:hover { color: var(--sd-muted); transform: none; }
.sd-footer__bottom { border-top: 1px solid var(--sd-line); padding-top: 20px; gap: 12px; font-size: 12px; color: var(--sd-muted); }
@media (max-width: 781px) {
	.sd-footer__cols > .wp-block-column:first-child { margin-bottom: 8px; }
	.sd-footer__bottom { flex-direction: column; align-items: flex-start !important; }
}
.wp-block-kadence-header .wp-block-kadence-navigation .sub-menu { min-width: 230px; }
.wp-block-kadence-header .wp-block-kadence-navigation .sub-menu a,
.wp-block-kadence-header .wp-block-kadence-navigation .sub-menu .kb-link-wrap > a {
	font-size: 14px !important;
	line-height: 1.35;
	padding: 9px 18px !important;
	color: var(--sd-text);
}
.wp-block-kadence-header .wp-block-kadence-navigation .sub-menu a:hover { color: var(--sd-muted); background: var(--sd-soft); }

/* ==========================================================================
   Pagini interioare
   ========================================================================== */
.sd-page-hero { padding-top: 72px; padding-bottom: 32px; text-align: center; }
.sd-kicker {
	display: inline-block;
	font-size: 13px; font-weight: 600;
	padding: 6px 14px;
	border: 1px solid var(--sd-line);
	border-radius: 999px;
	margin: 0 0 20px !important;
	color: var(--sd-text);
}
.sd-h1--page { font-size: clamp(34px, 4.4vw, 56px); max-width: 900px; margin-left: auto !important; margin-right: auto !important; }
.sd-lead--center { margin-left: auto !important; margin-right: auto !important; text-align: center; max-width: 680px; }
.sd-section-sub { margin-top: -24px !important; margin-bottom: 40px !important; }
.sd-h2--xs { font-size: 22px !important; margin-bottom: 4px !important; }
.sd-muted { color: var(--sd-muted); font-size: 14px; }

.sd-card a, .sd-muted a, .sd-lead a, details.sd-faq a { color: var(--sd-text); text-decoration: underline; text-underline-offset: 3px; }
.sd-card--flat:hover { transform: none; box-shadow: none; }

.sd-contact > .sd-wrap > .wp-block-columns { gap: 48px; align-items: flex-start !important; }
.sd-info { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.sd-form-card {
	border: 1px solid var(--sd-line);
	border-radius: var(--sd-radius-lg);
	padding: 32px;
	background: #fff;
	box-shadow: var(--sd-shadow);
}
.sd-form-card .wp-block-kadence-advanced-form { margin-top: 20px; }
.sd-form-card input[type="text"], .sd-form-card input[type="email"], .sd-form-card input[type="tel"], .sd-form-card textarea {
	width: 100%;
	border: 1px solid #d4d4da !important;
	border-radius: 10px !important;
	padding: 12px 14px !important;
	font-size: 15px;
	background: #fff !important;
	box-shadow: none !important;
}
.sd-form-card input:focus, .sd-form-card textarea:focus { border-color: var(--sd-black) !important; outline: none; }
.sd-form-card label { font-size: 13px; font-weight: 600; color: var(--sd-text); }
.sd-form-card .kb-adv-form-submit-button, .sd-form-card button[type="submit"] {
	background: var(--sd-black) !important; color: #fff !important;
	border: 0 !important; border-radius: 10px !important;
	padding: 14px 26px !important; font-weight: 600; font-size: 15px;
}
.sd-form-card .kb-adv-form-submit-button:hover, .sd-form-card button[type="submit"]:hover { background: #26262b !important; }

.sd-faq-block + .sd-faq-block { margin-top: 48px; }
.sd-managed { background: var(--sd-soft); }
.sd-managed .sd-price { box-shadow: none; }

@media (max-width: 781px) {
	.sd-page-hero { padding-top: 48px; }
	.sd-form-card { padding: 22px; }
}

/* ---------- Liste articole (Query Loop) ---------- */
.sd-posts .wp-block-post-template { gap: 20px; margin: 0; padding: 0; }
.sd-post-card {
	height: 100%;
	border: 1px solid var(--sd-line);
	border-radius: var(--sd-radius);
	padding: 24px;
	background: #fff;
	display: flex; flex-direction: column;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.sd-post-card:hover { border-color: #cfcfd5; box-shadow: var(--sd-shadow); transform: translateY(-2px); }
.sd-post-card__date { font-size: 12px; color: var(--sd-muted); margin: 0 0 10px !important; }
.sd-post-card__title { font-size: 18px !important; line-height: 1.3; margin: 0 0 10px !important; letter-spacing: -.02em; }
.sd-post-card__title a { color: var(--sd-text); text-decoration: none; }
.sd-post-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sd-post-card__excerpt { font-size: 14px; line-height: 1.6; color: var(--sd-muted); margin: 0 0 16px !important; }
.sd-post-card__excerpt p { margin: 0; }
.sd-post-card__excerpt .wp-block-post-excerpt__more-text { display: none; }
.sd-post-card__more { margin-top: auto !important; font-size: 14px; font-weight: 600; color: var(--sd-text); text-decoration: none; }
.sd-post-card__more::after { content: " →"; }
.sd-posts .wp-block-query-pagination { margin-top: 40px; gap: 8px; font-size: 14px; }
.sd-posts .wp-block-query-pagination a, .sd-posts .wp-block-query-pagination .current {
	padding: 8px 14px; border: 1px solid var(--sd-line); border-radius: 8px; color: var(--sd-text); text-decoration: none;
}
.sd-posts .wp-block-query-pagination .current { background: var(--sd-black); color: #fff; border-color: var(--sd-black); }
@media (max-width: 1024px) { .sd-posts .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 781px) { .sd-posts .wp-block-post-template.is-layout-grid { grid-template-columns: 1fr; } }

/* ---------- Pași ---------- */
.sd-steps { gap: 20px !important; }
.sd-step { height: 100%; border: 1px solid var(--sd-line); border-radius: var(--sd-radius); padding: 26px; background: #fff; }
.sd-step__num {
	width: 36px; height: 36px; border-radius: 50%;
	background: var(--sd-black); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-weight: 700; margin: 0 0 16px !important;
}
.sd-step h3 { font-size: 17px; margin: 0 0 6px; }
.sd-step p:last-child { font-size: 14px; color: var(--sd-muted); margin: 0; }
.sd-steps-note { margin-top: 28px !important; font-size: 15px; }

/* ---------- Card cu link ---------- */
.sd-card--link h3 a { color: var(--sd-text); text-decoration: none; }
.sd-card--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.sd-card--link h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Instrumente SPF / DKIM / DMARC ---------- */
.sd-tool-card { border: 1px solid var(--sd-line); border-radius: var(--sd-radius-lg); padding: 32px; background: #fff; box-shadow: var(--sd-shadow); max-width: 860px; margin: 0 auto !important; }
.sd-tool__form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.sd-tool__field { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.sd-tool__field--small { flex: 0 1 200px; }
.sd-tool__field input {
	border: 1px solid #d4d4da; border-radius: 10px; padding: 13px 14px; font-size: 15px; font-weight: 400; background: #fff; width: 100%;
}
.sd-tool__field input:focus { border-color: var(--sd-black); outline: none; }
.sd-tool__btn {
	background: var(--sd-black); color: #fff; border: 0; border-radius: 10px;
	padding: 14px 28px; font-weight: 600; font-size: 15px; cursor: pointer;
}
.sd-tool__btn:hover { background: #26262b; }
.sd-tool__result { margin-top: 28px; border-top: 1px solid var(--sd-line); padding-top: 24px; }
.sd-tool__title { font-weight: 700; font-size: 16px; margin: 0 0 12px !important; }
.sd-tool__record {
	background: var(--sd-soft); border: 1px solid var(--sd-line); border-radius: 10px;
	padding: 14px 16px; font-size: 13px; white-space: pre-wrap; word-break: break-all; margin: 0 0 16px;
}
ul.sd-tool__rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sd-tool__row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; }
.sd-tool__badge { flex: none; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; margin-top: 1px; min-width: 62px; text-align: center; }
.sd-tool__row--ok .sd-tool__badge { background: #e3f6ec; color: #17794a; }
.sd-tool__row--warn .sd-tool__badge { background: #fff4d6; color: #8a5a00; }
.sd-tool__row--error .sd-tool__badge { background: #fde6e7; color: #b42318; }
.sd-tool__row--info .sd-tool__badge { background: #eef0f4; color: #4a4a52; }
.sd-tool__row code, .sd-prose code { background: var(--sd-soft); padding: 1px 6px; border-radius: 5px; font-size: .92em; }
.sd-prose { max-width: 860px; margin: 0 auto !important; }
.sd-prose h2 { font-size: 26px; margin: 40px 0 12px; }
.sd-prose p, .sd-prose li { color: var(--sd-muted); font-size: 16px; line-height: 1.7; }
.sd-prose pre { background: var(--sd-soft); border: 1px solid var(--sd-line); border-radius: 10px; padding: 14px 16px; font-size: 14px; white-space: pre-wrap; word-break: break-all; }
@media (max-width: 781px) { .sd-tool-card { padding: 22px; } .sd-tool__btn { width: 100%; } }

@media (max-width: 1024px) {
	.sd-cards, .sd-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sd-cards > .sd-card, .sd-cards > .sd-card[class] { grid-column: auto / span 1 !important; }
}
@media (max-width: 781px) {
	.sd-cards, .sd-cards--3 { grid-template-columns: 1fr; grid-auto-rows: 1fr; }
}

/* ==========================================================================
   Prețuri: comutator lunar/anual, Enterprise, Pay As You Go, comparație
   ========================================================================== */
.sd-only-year { display: none !important; }
.sd-yearly .sd-only-year { display: block !important; }
.sd-yearly .wp-block-buttons.sd-only-year { display: flex !important; }
.sd-yearly .sd-only-month { display: none !important; }

.sd-billing {
	gap: 4px !important;
	width: max-content;
	margin: 0 auto 36px !important;
	padding: 4px;
	border: 1px solid var(--sd-line);
	border-radius: 999px;
	background: var(--sd-soft);
}
.sd-billing:not(.is-ready) { display: none !important; }
.sd-billing p {
	margin: 0 !important;
	padding: 9px 20px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--sd-muted);
	cursor: pointer;
	user-select: none;
	transition: background .15s, color .15s;
}
.sd-billing p span { font-size: 11px; font-weight: 700; color: var(--sd-green); margin-left: 6px; }
.sd-billing p[aria-pressed="true"] { background: var(--sd-black); color: #fff; }
.sd-billing p[aria-pressed="true"] span { color: #7ee2ad; }
.sd-billing p:focus-visible { outline: 2px solid var(--sd-black); outline-offset: 2px; }

.sd-price__note { font-size: 12px; color: var(--sd-green); font-weight: 600; margin: 4px 0 0 !important; }
.sd-price--featured .sd-price__note { color: #7ee2ad; }
.sd-price__credits { font-size: 14px; margin: 14px 0 0 !important; padding: 10px 12px; border-radius: 10px; background: var(--sd-soft); color: var(--sd-text); }
.sd-price--featured .sd-price__credits { background: #1d1d21; color: #fff; }
.sd-pricing--4 .sd-prices { gap: 16px !important; }
.sd-pricing--4 .sd-price { padding: 24px; }
.sd-pricing--4 .sd-price--featured { transform: none; }
.sd-pricing__more { margin-top: 28px !important; font-size: 15px; }
.sd-note { text-align: center; font-size: 13px; color: var(--sd-muted); margin-top: 18px !important; }

.sd-enterprise {
	margin-top: 20px !important;
	background: var(--sd-black);
	color: #fff;
	border-radius: var(--sd-radius);
	padding: 28px 32px;
}
.sd-enterprise > .wp-block-columns { align-items: center !important; gap: 32px; margin: 0; }
.sd-enterprise h3 { font-size: 20px; margin: 0 0 6px; }
.sd-enterprise__text { color: #c9c9cf; font-size: 14px; margin: 0 !important; }
.sd-enterprise ul.sd-enterprise__list { margin-top: 14px; gap: 6px 22px; }
.sd-enterprise ul.sd-enterprise__list li { color: #e9e9ec; font-size: 13px; }
.sd-enterprise__price { font-size: 15px; color: #c9c9cf; margin: 0 0 12px !important; text-align: center; }
.sd-enterprise__price strong { font-size: 32px; color: #fff; letter-spacing: -.03em; }

/* Pay As You Go */
.sd-payg {
	max-width: 760px;
	margin: 0 auto !important;
	border: 1px solid var(--sd-line);
	border-radius: var(--sd-radius-lg);
	padding: 32px;
	background: #fff;
	box-shadow: var(--sd-shadow);
}
.sd-payg.is-ready ul.sd-payg__steps { display: none; }
ul.sd-payg__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
ul.sd-payg__steps a { display: block; padding: 12px 16px; border: 1px solid var(--sd-line); border-radius: 10px; color: var(--sd-text); text-decoration: none; font-weight: 600; }
.sd-payg__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.sd-payg__credits { font-size: 40px; font-weight: 700; letter-spacing: -.03em; }
.sd-payg__unit { font-size: 16px; color: var(--sd-muted); }
.sd-payg__price { font-size: 40px; font-weight: 700; letter-spacing: -.03em; }
.sd-payg__range {
	-webkit-appearance: none; appearance: none;
	width: 100%; height: 8px; border-radius: 999px; margin: 0; cursor: pointer;
	background: linear-gradient(to right, var(--sd-black) var(--sd-fill, 50%), #e6e6ea var(--sd-fill, 50%)) !important;
	border: 0 !important; padding: 0 !important; box-shadow: none !important;
}
.sd-payg__range::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none;
	width: 26px; height: 26px; border-radius: 50%;
	background: #fff; border: 2px solid var(--sd-black); box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.sd-payg__range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--sd-black); }
.sd-payg__range:focus-visible { outline: 2px solid var(--sd-black); outline-offset: 6px; }
.sd-payg__ticks { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--sd-muted); }
.sd-payg__ticks span.is-active { color: var(--sd-text); font-weight: 700; }
.sd-payg__meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 22px 0; font-size: 14px; color: var(--sd-muted); }
.sd-payg__save { color: var(--sd-green); font-weight: 700; }
.sd-payg__btn {
	display: block; text-align: center;
	background: var(--sd-black); color: #fff !important; text-decoration: none;
	border-radius: 10px; padding: 14px 24px; font-weight: 600; font-size: 15px;
	transition: background .15s;
}
.sd-payg__btn:hover { background: #26262b; }
.sd-payg__note { font-size: 13px; color: var(--sd-muted); margin: 16px 0 0 !important; text-align: center; }

/* Tabel comparativ */
.sd-compare { margin: 0; overflow-x: auto; border: 1px solid var(--sd-line); border-radius: var(--sd-radius); }
.sd-compare table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.sd-compare th, .sd-compare td { border: 0 !important; border-bottom: 1px solid var(--sd-line) !important; padding: 12px 16px; text-align: center; }
.sd-compare th:first-child, .sd-compare td:first-child { text-align: left; color: var(--sd-text); }
.sd-compare thead { border-bottom: 0 !important; }
.sd-compare thead th { background: var(--sd-soft); font-weight: 700; border-bottom: 1px solid var(--sd-line) !important; }
.sd-compare thead th:nth-child(4) { background: var(--sd-black); color: #fff; }
.sd-compare td { color: var(--sd-muted); }
.sd-compare tbody tr:last-child td { border-bottom: 0 !important; }
.sd-compare tbody tr:hover td { background: #fafafa; }

@media (max-width: 1024px) {
	.sd-pricing--4 .sd-prices { flex-wrap: wrap !important; }
	.sd-pricing--4 .sd-prices > .wp-block-column { flex-basis: calc(50% - 8px) !important; flex-grow: 0; }
}
@media (max-width: 781px) {
	.sd-pricing--4 .sd-prices > .wp-block-column { flex-basis: 100% !important; }
	.sd-payg { padding: 22px; }
	.sd-payg__credits, .sd-payg__price { font-size: 30px; }
	.sd-enterprise { padding: 24px; }
}

/* Panou automatizări: text deasupra, schema dedesubt */
.sd-panel__intro { margin: 0 0 40px !important; max-width: none; text-align: center; }
.sd-panel__intro .sd-lead { max-width: none; margin-left: auto !important; margin-right: auto !important; }
.sd-panel__intro .sd-h2 { margin-bottom: 10px; text-wrap: balance; }
.sd-panel__intro .sd-lead { margin: 0; }
.sd-panel > .sd-flow { margin: 0 !important; }

/* ==========================================================================
   Asistent AI – chat (colțul din dreapta jos)
   ========================================================================== */
.sd-chat { position: fixed; right: 20px; bottom: 20px; z-index: 99999; font-family: inherit; }
.sd-chat__launcher {
	position: relative; width: 62px; height: 62px; border-radius: 50%;
	border: 0; padding: 0; cursor: pointer; background: var(--sd-black);
	box-shadow: 0 10px 30px rgba(10, 10, 11, .3); display: flex; align-items: center; justify-content: center;
	transition: transform .2s;
}
.sd-chat__launcher:hover { transform: translateY(-2px) scale(1.04); }
.sd-chat__launcher img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; transition: opacity .2s; }
.sd-chat__launcher-close { position: absolute; inset: 0; opacity: 0; transition: opacity .2s; }
.sd-chat__launcher-close::before, .sd-chat__launcher-close::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 2px; background: #fff; border-radius: 2px;
}
.sd-chat__launcher-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.sd-chat__launcher-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.sd-chat.is-open .sd-chat__launcher img { opacity: 0; }
.sd-chat.is-open .sd-chat__launcher-close { opacity: 1; }

.sd-chat__panel {
	position: absolute; right: 0; bottom: 76px;
	width: 370px; height: min(560px, calc(100vh - 120px));
	background: #fff; border: 1px solid var(--sd-line); border-radius: 18px;
	box-shadow: 0 24px 60px rgba(10, 10, 11, .22);
	display: flex; flex-direction: column; overflow: hidden;
}
.sd-chat__panel[hidden] { display: none; }
.sd-chat__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--sd-black); color: #fff; }
.sd-chat__head img { border-radius: 50%; background: #fff; }
.sd-chat__head div { flex: 1; line-height: 1.25; }
.sd-chat__head strong { display: block; font-size: 15px; }
.sd-chat__head span { font-size: 12px; color: #b5b5bd; }
.sd-chat__close { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }

.sd-chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--sd-soft); }
.sd-chat__msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5; word-wrap: break-word; }
.sd-chat__msg p { margin: 0 0 6px; } .sd-chat__msg p:last-child { margin: 0; }
.sd-chat__msg ul { margin: 4px 0 6px; padding-left: 18px; } .sd-chat__msg li { margin: 2px 0; }
.sd-chat__msg a { color: inherit; text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.sd-chat__msg--assistant { align-self: flex-start; background: #fff; border: 1px solid var(--sd-line); color: var(--sd-text); border-bottom-left-radius: 4px; }
.sd-chat__msg--user { align-self: flex-end; background: var(--sd-black); color: #fff; border-bottom-right-radius: 4px; }
.sd-chat__msg--typing { display: flex; gap: 4px; padding: 13px 14px; }
.sd-chat__msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: #b5b5bd; animation: sd-typing 1s infinite; }
.sd-chat__msg--typing span:nth-child(2) { animation-delay: .15s; } .sd-chat__msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes sd-typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.sd-chat__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px; background: var(--sd-soft); }
.sd-chat__chips:not(:empty) { padding-bottom: 10px; }
.sd-chat__chips button {
	border: 1px solid var(--sd-line); background: #fff; color: var(--sd-text);
	border-radius: 999px; padding: 6px 12px; font-size: 12.5px; cursor: pointer;
}
.sd-chat__chips button:hover { border-color: var(--sd-black); }
.sd-chat__form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--sd-line); background: #fff; }
.sd-chat__form textarea {
	flex: 1; resize: none; border: 1px solid #d4d4da; border-radius: 12px; padding: 10px 12px;
	font: inherit; font-size: 14px; line-height: 1.4; max-height: 110px; background: #fff; color: var(--sd-text);
}
.sd-chat__form textarea:focus { outline: none; border-color: var(--sd-black); }
.sd-chat__form button {
	width: 40px; height: 40px; flex: none; border: 0; border-radius: 50%;
	background: var(--sd-black); color: #fff; font-size: 15px; cursor: pointer;
}
.sd-chat__form button:disabled { opacity: .45; cursor: default; }
.sd-chat__note { margin: 0; padding: 0 14px 10px; font-size: 10.5px; line-height: 1.4; color: var(--sd-muted); background: #fff; }

@media (max-width: 480px) {
	.sd-chat { right: 14px; bottom: 14px; }
	.sd-chat__panel { position: fixed; right: 10px; left: 10px; bottom: 86px; width: auto; height: calc(100vh - 110px); }
}
@media (prefers-reduced-motion: reduce) { .sd-chat__msg--typing span { animation: none; } }

/* Tooltip lângă butonul de chat */
.sd-chat__tip {
	position: absolute; right: 74px; bottom: 8px; width: max-content; max-width: 240px;
	display: flex; align-items: flex-start; gap: 8px;
	background: #fff; color: var(--sd-text); border: 1px solid var(--sd-line); border-radius: 14px;
	padding: 11px 12px 11px 14px; font-size: 13.5px; line-height: 1.4;
	box-shadow: 0 12px 32px rgba(10, 10, 11, .16);
	opacity: 0; transform: translateY(6px) scale(.96); transform-origin: right bottom; pointer-events: none;
	transition: opacity .25s, transform .25s;
}
.sd-chat__tip.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.sd-chat__tip span { cursor: pointer; }
.sd-chat__tip button { border: 0; background: none; color: var(--sd-muted); font-size: 18px; line-height: 1; cursor: pointer; padding: 0 2px; }
.sd-chat__tip::after {
	content: ""; position: absolute; right: -6px; bottom: 22px; width: 11px; height: 11px;
	background: #fff; border-right: 1px solid var(--sd-line); border-top: 1px solid var(--sd-line); transform: rotate(45deg);
}
.sd-chat.is-open .sd-chat__tip { display: none; }
@media (max-width: 480px) { .sd-chat__tip { max-width: 200px; right: 70px; } }
@media (prefers-reduced-motion: reduce) { .sd-chat__tip { transition: none; } }
