/* EXI AI Marketing Check – frontend (χρώματα logo: κόκκινο #C20012, γκρι #686868) */
.eac {
	--eac-red: #c20012;
	--eac-red-dark: #9e000f;
	--eac-red-soft: #fdf1f2;
	--eac-red-line: #f1c4c8;
	--eac-gray: #686868;
	--eac-ink: #262626;
	--eac-muted: #6f6f6f;
	--eac-line: #e4e4e4;
	--eac-bg: #f6f6f6;
	--eac-card: #ffffff;
	--eac-radius: 16px;
	max-width: 920px;
	margin: 40px auto 80px;
	padding: 0 16px;
	color: var(--eac-ink);
	font-size: 16px;
	line-height: 1.55;
	box-sizing: border-box;
}
.eac *, .eac *::before, .eac *::after { box-sizing: border-box; }

/* Hero – ανοιχτόχρωμο */
.eac .eac-hero {
	position: relative;
	overflow: hidden;
	padding: 44px 44px 40px;
	margin-bottom: 26px;
	border-radius: 22px;
	background:
		radial-gradient(520px 260px at 100% 0%, rgba(194, 0, 18, .07), transparent 65%),
		linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
	border: 1px solid var(--eac-line);
	box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .25);
}
.eac .eac-hero::before {
	content: "";
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 6px;
	background: var(--eac-red);
}
.eac .eac-hero__kicker {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--eac-red-soft);
	border: 1px solid var(--eac-red-line);
	color: var(--eac-red);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.eac .eac-hero__title {
	margin: 18px 0 12px;
	color: var(--eac-ink);
	font-size: clamp(28px, 4.2vw, 42px);
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -.01em;
}
.eac .eac-hero__title { margin-top: 0; }
.eac .eac-hero__title span { display: block; color: var(--eac-red); }
.eac .eac-hero__lead { margin: 0; max-width: 660px; color: var(--eac-muted); font-size: 17px; }
.eac .eac-hero__lead p { margin: 0 0 .7em; color: inherit; font-size: inherit; }
.eac .eac-hero__lead > :last-child { margin-bottom: 0; }
.eac .eac-hero__lead a { color: var(--eac-red); }
.eac .eac-hero__lead img { max-width: 100%; height: auto; }

/* Progress */
.eac .eac-progress {
	position: sticky;
	top: 12px;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px 20px;
	margin-bottom: 20px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(8px);
	border: 1px solid var(--eac-line);
	box-shadow: 0 8px 22px -16px rgba(0, 0, 0, .3);
}
.eac .eac-progress__bar { flex: 1; height: 8px; border-radius: 999px; background: #ececec; overflow: hidden; }
.eac .eac-progress__bar span {
	display: block; height: 100%; width: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--eac-red-dark), var(--eac-red));
	transition: width .35s ease;
}
.eac .eac-progress__text { font-size: 14px; color: var(--eac-muted); white-space: nowrap; }
.eac .eac-progress__text b { color: var(--eac-red); }

/* Κάρτες ερωτήσεων */
.eac .eac-q, .eac .eac-contact {
	padding: 28px 30px;
	margin-bottom: 16px;
	border-radius: var(--eac-radius);
	background: var(--eac-card);
	border: 1px solid var(--eac-line);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
	transition: border-color .2s, box-shadow .2s;
}
.eac .eac-q.is-answered { border-color: var(--eac-red-line); box-shadow: 0 12px 28px -24px rgba(194, 0, 18, .55); }
.eac .eac-q__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.eac .eac-q__num {
	flex: 0 0 auto;
	display: grid; place-items: center;
	width: 42px; height: 42px;
	border-radius: 12px;
	background: var(--eac-bg);
	border: 1px solid var(--eac-line);
	color: var(--eac-gray);
	font-weight: 800;
	font-size: 15px;
	transition: background .2s, color .2s, border-color .2s;
}
.eac .eac-q.is-answered .eac-q__num { background: var(--eac-red); border-color: var(--eac-red); color: #fff; }
.eac .eac-q__title { margin: 0 0 4px; font-size: 19px; line-height: 1.35; font-weight: 700; color: var(--eac-ink); }
.eac .eac-q:has(.wpcf7-validates-as-required) .eac-q__title::after,
.eac .eac-q--radio .eac-q__title::after { content: " *"; color: var(--eac-red); }
.eac .eac-q__hint { margin: 0; font-size: 14px; color: var(--eac-muted); }
.eac .eac-q__hint .eac-count { font-weight: 700; color: var(--eac-red); }

/* Επιλογές */
.eac .wpcf7-form-control-wrap { display: block; }
.eac .eac-q .wpcf7-checkbox, .eac .eac-q .wpcf7-radio {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
.eac .eac-q .wpcf7-list-item { display: block; margin: 0; }
.eac .eac-q .wpcf7-list-item label {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	height: 100%;
	padding: 13px 16px;
	margin: 0;
	border: 1.5px solid var(--eac-line);
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--eac-ink);
	transition: border-color .15s, background .15s;
}
.eac .eac-q .wpcf7-list-item label:hover { border-color: #cfcfcf; background: #fafafa; }
.eac .eac-q .wpcf7-list-item input {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 auto;
	width: 20px; height: 20px;
	margin: 1px 0 0;
	border: 2px solid #c4c4c4;
	border-radius: 6px;
	background: #fff center / 12px no-repeat;
	cursor: pointer;
	transition: all .15s;
}
.eac .eac-q--radio .wpcf7-list-item input { border-radius: 50%; }
.eac .eac-q .wpcf7-list-item input:checked {
	border-color: var(--eac-red);
	background-color: var(--eac-red);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E");
}
.eac .eac-q--radio .wpcf7-list-item input:checked {
	background-image: radial-gradient(circle, #fff 0 4px, transparent 4.5px);
	background-size: auto;
}
.eac .eac-q .wpcf7-list-item input:focus-visible { outline: 3px solid rgba(194, 0, 18, .25); outline-offset: 2px; }
.eac .eac-q .wpcf7-list-item label:has(input:checked) { border-color: var(--eac-red); background: var(--eac-red-soft); }
.eac .eac-q .wpcf7-list-item.is-disabled label { opacity: .45; cursor: not-allowed; }
.eac .eac-q .wpcf7-list-item.is-disabled input { cursor: not-allowed; }
.eac .eac-q .wpcf7-list-item-label { flex: 1; }

/* Πεδία κειμένου */
.eac textarea.wpcf7-form-control,
.eac input.wpcf7-text,
.eac input.wpcf7-email {
	width: 100%;
	padding: 13px 16px;
	border: 1.5px solid var(--eac-line);
	border-radius: 12px;
	background: #fff;
	color: var(--eac-ink);
	font: inherit;
	font-size: 15px;
	box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
}
.eac textarea.wpcf7-form-control { min-height: 140px; resize: vertical; }
.eac textarea.wpcf7-form-control:focus,
.eac input.wpcf7-text:focus,
.eac input.wpcf7-email:focus {
	outline: none;
	border-color: var(--eac-gray);
	box-shadow: 0 0 0 4px rgba(104, 104, 104, .12);
}

/* Στοιχεία επικοινωνίας */
.eac .eac-contact { background: var(--eac-bg); border-color: #dedede; }
.eac .eac-contact__head h3 { margin: 0 0 6px; font-size: 21px; font-weight: 800; color: var(--eac-ink); }
.eac .eac-contact__head p { margin: 0 0 20px; color: var(--eac-muted); font-size: 14px; }
.eac .eac-contact__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.eac .eac-field label { display: block; margin: 0; }
.eac .eac-field__label { display: block; margin-bottom: 7px; font-weight: 600; font-size: 14px; color: var(--eac-ink); }
.eac .eac-field__note { display: block; margin-top: 6px; font-size: 12.5px; color: var(--eac-muted); }
.eac .eac-req { color: var(--eac-red); }
.eac .eac-opt { font-weight: 400; color: var(--eac-muted); font-size: 12.5px; }
.eac .eac-field--eac-industry { grid-column: 1 / -1; }

/* Αποδοχή πολιτικής απορρήτου */
.eac .eac-consent { display: flex; justify-content: center; margin: 6px 0 18px; }
.eac .eac-consent .wpcf7-list-item { margin: 0; }
.eac .eac-consent label { display: inline-flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; font-size: 15px; color: var(--eac-ink); }
.eac .eac-consent input {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 auto;
	width: 20px; height: 20px;
	margin: 0;
	border: 2px solid #c4c4c4;
	border-radius: 6px;
	background: #fff center / 12px no-repeat;
	cursor: pointer;
	transition: all .15s;
}
.eac .eac-consent input:checked {
	border-color: var(--eac-red);
	background-color: var(--eac-red);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E");
}
.eac .eac-consent input:focus-visible { outline: 3px solid rgba(194, 0, 18, .25); outline-offset: 2px; }
.eac .eac-consent a { color: var(--eac-red); text-decoration: underline; }
.eac .eac-consent .wpcf7-not-valid-tip { text-align: center; }

/* Κουμπί */
.eac .eac-submit { display: flex; justify-content: center; padding: 10px 0 0; position: relative; }
.eac .eac-btn,
.eac input.wpcf7-submit {
	appearance: none;
	padding: 17px 46px;
	border: 0;
	border-radius: 999px;
	background: var(--eac-red);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .01em;
	cursor: pointer;
	box-shadow: 0 14px 28px -14px rgba(194, 0, 18, .75);
	transition: transform .15s, box-shadow .15s, background .15s, opacity .15s;
}
.eac .eac-btn:hover { background: var(--eac-red-dark); transform: translateY(-2px); }
.eac .eac-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.eac .wpcf7-spinner { position: absolute; right: calc(50% - 170px); top: 50%; margin: 0; }

/* Validation / μηνύματα */
.eac .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: var(--eac-red); }
.eac .wpcf7-not-valid { border-color: var(--eac-red) !important; }
/* Το μήνυμα εμφανίζεται σε SweetAlert – το πλαίσιο κάτω από τη φόρμα κρύβεται */
.wpcf7 form .eac ~ .wpcf7-response-output { display: none; }

/* SweetAlert2 */
.eac-swal.swal2-popup {
	width: min(460px, calc(100vw - 32px));
	padding: 32px 28px 28px;
	border-radius: 20px;
	font-family: inherit;
	color: #262626;
}
.eac-swal .swal2-title { font-family: inherit; font-size: 24px; font-weight: 800; color: #262626; padding-top: 4px; }
.eac-swal .swal2-html-container { font-family: inherit; font-size: 16px; line-height: 1.55; color: #6f6f6f; }
.eac-swal .swal2-icon.swal2-success { border-color: rgba(46, 158, 79, .3); color: #2e9e4f; }
.eac-swal .swal2-icon.swal2-success [class^='swal2-success-line'] { background-color: #2e9e4f; }
.eac-swal .swal2-icon.swal2-success .swal2-success-ring { border-color: rgba(46, 158, 79, .3); }
.eac-swal--success .eac-swal__btn { background: #2e9e4f; box-shadow: 0 12px 24px -12px rgba(46, 158, 79, .7); }
.eac-swal--success .eac-swal__btn:hover { background: #237a3c; }
.eac-swal--success .eac-swal__btn:focus-visible { outline-color: rgba(46, 158, 79, .3); }
.eac-swal .swal2-icon.swal2-warning { border-color: #686868; color: #686868; }
.eac-swal .swal2-icon.swal2-error { border-color: #c20012; }
.eac-swal .swal2-icon.swal2-error [class^='swal2-x-mark-line'] { background-color: #c20012; }
.eac-swal .eac-swal__btn {
	padding: 13px 40px;
	border: 0;
	border-radius: 999px;
	background: #c20012;
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 12px 24px -12px rgba(194, 0, 18, .7);
	transition: background .15s;
}
.eac-swal .eac-swal__btn:hover { background: #9e000f; }
.eac-swal .eac-swal__btn:focus-visible { outline: 3px solid rgba(194, 0, 18, .3); outline-offset: 2px; }

.eac-wrap .wpcf7 form .wpcf7-response-output {
	max-width: 888px;
	margin: 0 auto 60px;
	padding: 14px 18px;
	border-radius: 12px;
	border-width: 1.5px;
	font-size: 15px;
	text-align: center;
}
.wpcf7 form.sent .eac ~ .wpcf7-response-output { border-color: #2e7d32; background: #f1f8f1; color: #1b5e20; }
.wpcf7 form.invalid .eac ~ .wpcf7-response-output,
.wpcf7 form.failed .eac ~ .wpcf7-response-output { border-color: var(--eac-red-line, #f1c4c8); background: #fdf1f2; color: #9e000f; }

@media (max-width: 720px) {
	.eac { margin-top: 20px; }
	.eac .eac-hero { padding: 30px 22px 28px 26px; border-radius: 18px; }
	.eac .eac-q, .eac .eac-contact { padding: 22px 18px; }
	.eac .eac-q .wpcf7-checkbox, .eac .eac-q .wpcf7-radio, .eac .eac-contact__grid { grid-template-columns: 1fr; }
	.eac .eac-q__num { width: 36px; height: 36px; font-size: 14px; }
	.eac .eac-q__title { font-size: 17px; }
	.eac .eac-progress { top: 8px; padding: 10px 14px; }
	.eac .eac-btn { width: 100%; }
	.eac .wpcf7-spinner { right: 16px; }
}
