/* ===== TOKENS ===== */
:root {
	--green-700: #0b6b30;
	--green-600: #0e8a3c;
	--green-500: #17a44a;
	--green-400: #2fbb62;
	--green-050: #eef7f1;
	--green-100: #dcefe3;

	--ink: #16241c;
	--body: #33413a;
	--muted: #6a7c72;
	--line: #e3ece6;
	--bg: #f4f7f5;
	--surface: #ffffff;

	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 10px 30px rgba(11, 107, 48, 0.08);
}

/* ===== RESET ===== */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html { -webkit-text-size-adjust: 100%; }

body {
	font-family: "Quicksand", system-ui, sans-serif;
	font-size: 14px;
	line-height: 1.55;
	color: var(--body);
	background: var(--bg);
	padding: 32px 16px;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== LAYOUT ===== */
.cv {
	max-width: 1200px;
	margin: 0 auto;
	background: var(--surface);
	border-radius: 22px;
	box-shadow: var(--shadow);
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 26px;
}

/* ===== HEADER ===== */
.cv-header {
	display: flex;
	align-items: center;
	gap: 26px;
}

.photo {
	width: 122px;
	height: 122px;
	object-fit: cover;
	border-radius: 20px;
	flex-shrink: 0;
	border: 3px solid var(--green-100);
}

.identity h1 {
	font-size: 2.3rem;
	font-weight: 700;
	color: var(--ink);
	letter-spacing: -0.5px;
	line-height: 1.1;
}

.role {
	margin-top: 4px;
	font-weight: 700;
	color: var(--green-600);
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.tagline {
	margin-top: 8px;
	color: var(--muted);
	max-width: 46ch;
	font-weight: 500;
}

/* ===== INFO CARD ===== */
.card {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.1fr;
	gap: 0;
	color: #fff;
	background: linear-gradient(135deg, var(--green-500) 0%, var(--green-700) 100%);
	border-radius: var(--radius);
	overflow: hidden;
}

.card-col {
	padding: 22px 24px;
	position: relative;
}

.card-col + .card-col::before {
	content: "";
	position: absolute;
	left: 0;
	top: 18px;
	bottom: 18px;
	width: 1px;
	background: rgba(255, 255, 255, 0.28);
}

.card-col h2 {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.4px;
	margin-bottom: 10px;
	color: rgba(255, 255, 255, 0.85);
}

.about p { font-weight: 500; }

.strengths ul { display: flex; flex-direction: column; gap: 7px; }
.strengths li {
	position: relative;
	padding-left: 16px;
	font-weight: 600;
	line-height: 1.35;
}
.strengths li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
}

.contact-list { display: flex; flex-direction: column; gap: 9px; }
.contact-list li {
	display: flex;
	align-items: center;
	gap: 9px;
	font-weight: 600;
	word-break: break-word;
}
.contact-list svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	fill: none;
	stroke: #fff;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ===== SECTIONS ===== */
.block { display: flex; flex-direction: column; gap: 14px; }

.section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: var(--ink);
}
.section-title::before {
	content: "";
	width: 18px;
	height: 4px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--green-500), var(--green-400));
	flex-shrink: 0;
}
.section-title.mt { margin-top: 18px; }

/* ===== TIMELINE (experience) ===== */
.timeline { display: flex; flex-direction: column; gap: 16px; }
.timeline > li {
	padding-left: 18px;
	border-left: 2px solid var(--line);
	position: relative;
}
.timeline > li::before {
	content: "";
	position: absolute;
	left: -5px;
	top: 8px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--green-500);
	border: 2px solid var(--surface);
}

.tl-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin-bottom: 5px;
}
.tl-role { font-weight: 700; color: var(--ink); font-size: 1rem; }
.tl-meta {
	font-weight: 700;
	color: var(--green-600);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.bullets { display: flex; flex-direction: column; gap: 4px; }
.bullets li {
	position: relative;
	padding-left: 15px;
	color: var(--body);
	font-weight: 500;
}
.bullets li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--green-400);
}

/* ===== STACK CHIPS ===== */
.stack {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px 26px;
}
.stack-label {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--muted);
	margin-bottom: 7px;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
	background: var(--green-050);
	color: var(--green-700);
	border: 1px solid var(--green-100);
	border-radius: 999px;
	padding: 3px 11px;
	font-size: 0.8rem;
	font-weight: 600;
}

/* ===== BOTTOM GRID ===== */
.grid {
	display: grid;
	grid-template-columns: 1.2fr 1.2fr 0.8fr;
	gap: 26px;
}
.plain { display: flex; flex-direction: column; gap: 10px; }
.pl-title { font-weight: 700; color: var(--ink); line-height: 1.25; }
.pl-meta {
	font-weight: 700;
	color: var(--green-600);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}
.pl-note { color: var(--muted); font-weight: 500; font-size: 0.85rem; margin-top: 2px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 760px) {
	.cv { padding: 26px 22px; }
	.cv-header { flex-direction: column; text-align: center; align-items: center; gap: 16px; }
	.tagline { margin-inline: auto; }
	.card { grid-template-columns: 1fr; }
	.card-col + .card-col::before { display: none; }
	.card-col:not(:first-child) { border-top: 1px solid rgba(255,255,255,0.25); }
	.stack { grid-template-columns: 1fr; }
	.grid { grid-template-columns: 1fr; }
}
