/* ================================================================
 * IGM 2026 – CHI SIAMO PAGE /chi-siamo/ (design option A, 2026-11-16)
 * Loaded only on that page (functions.php, $igm_pages 'chisiamo'), after igm-2026.css.
 * Page content (page ID 43): five Divi sections with the classes "igm-scope igm-sec igm-cs-…",
 * one Code module each:
 *   igm-cs-hero   title + app illustration (report screen, HTML, cropped to 70 % of its height)
 *   igm-cs-vals-sec   three cards (assistenza, obiettivi, dati)
 *   igm-cs-team-sec   team photo + text
 *   igm-cs-feat-sec   eight strengths
 *   igm-cs-cta    closing card (prova gratis, demo, social)
 * Section rules repeat the ".et-db #et-boc .et-l" selector: with Theme Builder header/footer
 * Divi wraps the page in #et-boc, and the shared .igm-sec rule in igm-2026.css uses it too.
 *
 * [19.1] title   [19.2] app illustration   [19.3] cards   [19.4] team
 * [19.5] strengths   [19.6] closing card   [19.7] tablets and phones
 * ================================================================ */

/* [19.1] Title */
.et_pb_section.igm-cs-hero,
.et-db #et-boc .et-l .et_pb_section.igm-cs-hero {
	padding-top: 72px;
	padding-bottom: 0;
	background: var(--igm-lavanda);
}
.igm-cs-head {
	max-width: 800px;
	margin: 0 auto 48px;
	text-align: center;
}
.igm-cs-h1 {
	margin: 0 0 16px;
	padding: 0;
	font-family: var(--igm-font);
	font-size: clamp(36px, 4.6vw, 58px);
	line-height: 1.05;
	letter-spacing: -0.025em;
	font-weight: 800;
	color: var(--igm-inchiostro);
}
.igm-cs-lead {
	margin: 0;
	padding: 0;
}

/* [19.2] App illustration: drawn at 1080 px, cropped to 420 px (70 %), zoomed down on small screens */
.igm-cs-shot {
	max-width: 1080px;
	margin: 0 auto;
	border: 1px solid var(--igm-bordo);
	border-bottom: 0;
	border-radius: 16px 16px 0 0;
	background: var(--igm-bianco);
	box-shadow: 0 12px 40px rgba(94, 42, 114, 0.12);
	overflow: hidden;
}
.igm-cs-shot__bar {
	display: flex;
	gap: 6px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--igm-bordo);
}
.igm-cs-shot__bar span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--igm-bordo);
}
.igm-cs-shot__crop {
	overflow: hidden;
}
.igm-cs-shot .mk {
	display: flex;
	width: 1080px;
	height: 420px;
	overflow: hidden;
	background: #F4F3F6;
	font-family: var(--igm-font);
	color: var(--igm-inchiostro);
	text-align: left;
	line-height: 1.3;
}
.igm-cs-shot .mk-side {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	flex: none;
	width: 56px;
	padding-top: 18px;
	background: var(--igm-prugna);
}
.igm-cs-shot .mk-logo {
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 800;
	color: var(--igm-bianco);
}
.igm-cs-shot .mk-ic {
	width: 18px;
	height: 18px;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.28);
}
.igm-cs-shot .mk-ic--on {
	background: #B1A1CC;
}
.igm-cs-shot .mk-main {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
	min-width: 0;
	padding: 16px 18px;
}
.igm-cs-shot .mk-tabs {
	display: flex;
	align-items: stretch;
	height: 34px;
	border-radius: 6px;
	background: var(--igm-viola);
	overflow: hidden;
}
.igm-cs-shot .mk-tab {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 0 14px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--igm-bianco);
}
.igm-cs-shot .mk-tab--on {
	background: #5E2A72;
}
.igm-cs-shot .mk-dot {
	width: 10px;
	height: 10px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.75);
}
.igm-cs-shot .mk-filter {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 10px;
	color: var(--igm-testo);
}
.igm-cs-shot .mk-date {
	min-width: 96px;
	padding: 5px 8px;
	border-bottom: 1px solid #D9D2DF;
	font-weight: 600;
	text-align: right;
	color: var(--igm-inchiostro);
}
.igm-cs-shot .mk-b {
	padding: 6px 18px;
	border-radius: 4px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--igm-bianco);
}
.igm-cs-shot .mk-b--p {
	background: var(--igm-viola);
}
.igm-cs-shot .mk-b--r {
	background: var(--igm-rosa);
}
.igm-cs-shot .mk-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px;
	gap: 16px;
	min-height: 0;
}
.igm-cs-shot p.mk-h {
	margin: 2px 0 6px;
	padding: 0;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
	color: var(--igm-testo);
}
.igm-cs-shot table.mk-t {
	width: 100%;
	margin: 0 0 14px;
	border: 0;
	border-collapse: collapse;
	background: var(--igm-bianco);
	font-size: 9.5px;
}
.igm-cs-shot .mk-t th,
.igm-cs-shot .mk-t td {
	padding: 4px 6px;
	border: 1px solid #E6E1EA;
	text-align: right;
	color: #3D3646;
}
.igm-cs-shot .mk-t th {
	padding: 5px 6px;
	font-size: 8.5px;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--igm-inchiostro);
}
.igm-cs-shot .mk-t th:first-child,
.igm-cs-shot .mk-t td:first-child {
	text-align: left;
}
.igm-cs-shot .mk-t .mk-tot td {
	font-weight: 800;
	color: var(--igm-inchiostro);
}
.igm-cs-shot .mk-card {
	margin-bottom: 10px;
	padding: 10px 12px;
	border: 1px solid #E6E1EA;
	border-radius: 8px;
	background: var(--igm-bianco);
}
.igm-cs-shot p.mk-ct {
	margin: 0 0 6px;
	padding: 0;
	font-size: 9.5px;
	font-weight: 700;
	text-align: center;
	color: #3D3646;
}
.igm-cs-shot .mk-leg {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-bottom: 6px;
	font-size: 8.5px;
	color: var(--igm-testo);
}
.igm-cs-shot .mk-leg i {
	display: inline-block;
	width: 16px;
	height: 7px;
	margin-right: 4px;
	border-radius: 2px;
	vertical-align: middle;
}
.igm-cs-shot .mk-l1 { background: #CBC0DD; }
.igm-cs-shot .mk-l2 { background: #F3E8F7; border: 1px solid #B1A1CC; }
.igm-cs-shot .mk-l3 { background: var(--igm-viola); }
.igm-cs-shot .mk-l4 { background: #DD5ACA; }
.igm-cs-shot .mk-l5 { background: var(--igm-rosa); }
.igm-cs-shot .mk-l6 { background: #B1A1CC; }
.igm-cs-shot .mk-days {
	display: flex;
	justify-content: space-between;
	margin-top: 4px;
	font-size: 8px;
	color: var(--igm-testo);
}
.igm-cs-shot .mk-pies {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 10px;
}
.igm-cs-shot .mk-pies .mk-card {
	margin: 0;
}
.igm-cs-shot svg {
	display: block;
	max-width: none;
}

/* [19.3] Three cards */
.igm-cs-vals-sec .igm-h2,
.igm-cs-feat-sec .igm-h2 {
	margin-bottom: 40px;
}
.igm-cs-vals {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.igm-cs-card {
	padding: 32px;
	border: 1px solid var(--igm-bordo);
	border-radius: 16px;
	background: var(--igm-bianco);
}
.igm-cs-card--dark {
	border-color: #5E2A72;
	background: #5E2A72;
	color: var(--igm-bianco);
}
.igm-cs-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: var(--igm-badge-bg);
	color: var(--igm-viola);
}
.igm-cs-card--dark .igm-cs-ico {
	background: rgba(255, 255, 255, 0.14);
	color: var(--igm-bianco);
}
.igm-cs-card__t {
	margin: 0 0 8px;
	padding: 0;
	font-family: var(--igm-font);
	font-size: 22px;
	line-height: 1.3;
	font-weight: 800;
	color: inherit;
}
.igm-cs-card__d {
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--igm-testo);
}
.igm-cs-card--dark .igm-cs-card__d {
	color: #E7D6F0;
}

/* [19.4] Team */
.et_pb_section.igm-cs-team-sec,
.et-db #et-boc .et-l .et_pb_section.igm-cs-team-sec {
	background: var(--igm-lavanda);
}
.igm-cs-team {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: 64px;
	align-items: center;
}
.igm-cs-team__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 24px;
}
.igm-cs-team__t {
	font-size: clamp(30px, 3.2vw, 40px);
	margin-bottom: 16px;
}
.igm-cs-team__d {
	margin: 0 0 20px;
	padding: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--igm-testo);
}
.et_pb_section.igm-scope ul.igm-cs-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.igm-cs-chips li {
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--igm-bianco);
	font-size: 14px;
	font-weight: 700;
	color: var(--igm-inchiostro);
}

/* [19.5] Eight strengths */
.et_pb_section.igm-scope ul.igm-cs-feat {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.igm-cs-feat li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px;
	border: 1px solid var(--igm-bordo);
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--igm-inchiostro);
}
.igm-cs-fi {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--igm-badge-bg);
	color: var(--igm-viola);
}

/* [19.6] Closing card */
.et_pb_section.igm-cs-cta,
.et-db #et-boc .et-l .et_pb_section.igm-cs-cta {
	padding-top: 0;
}
.igm-cs-end {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 32px;
	align-items: center;
	padding: 56px;
	border-radius: 32px;
	background: var(--igm-lavanda-2);
}
.igm-cs-end__t {
	margin: 0 0 12px;
	padding: 0;
	font-family: var(--igm-font);
	font-size: clamp(30px, 3.2vw, 40px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	font-weight: 800;
	color: var(--igm-inchiostro);
}
.igm-cs-end__d {
	margin: 0 0 20px;
	padding: 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--igm-testo);
}
.igm-cs-soc {
	display: flex;
	gap: 8px;
}
.igm-cs-soc a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--igm-bianco);
	color: var(--igm-viola);
}
.igm-cs-soc a:hover {
	background: var(--igm-badge-bg);
}
.igm-cs-end__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* [19.7] Tablets and phones */
@media (max-width: 1180px) {
	.igm-cs-zoom { zoom: 0.82; }
}
@media (max-width: 900px) {
	.igm-cs-zoom { zoom: 0.62; }
}
@media (max-width: 760px) {
	.igm-cs-zoom { zoom: 0.5; }
}
@media (max-width: 600px) {
	.igm-cs-zoom { zoom: 0.325; }
}
@media (max-width: 1000px) {
	.igm-cs-vals {
		grid-template-columns: minmax(0, 1fr);
	}
	.igm-cs-team {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
	.et_pb_section.igm-scope ul.igm-cs-feat {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.igm-cs-end {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 600px) {
	.et_pb_section.igm-cs-hero,
	.et-db #et-boc .et-l .et_pb_section.igm-cs-hero {
		padding-top: 48px;
	}
	.igm-cs-head {
		margin-bottom: 32px;
	}
	.igm-cs-card {
		padding: 24px 20px;
	}
	.et_pb_section.igm-scope ul.igm-cs-feat {
		grid-template-columns: minmax(0, 1fr);
	}
	.igm-cs-end {
		padding: 32px 20px;
	}
	.igm-cs-end__cta,
	.igm-cs-end__cta .igm-btn {
		width: 100%;
	}
}
