@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900; /* fără asta, Bold (700) și Medium (500) nu se aplică bine*/
	src: url("InterVariable.woff2") format("woff2");
}

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

/*
		RESET styles
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
	display: block;
}
html {
	font-size: 100.01%;
	scroll-behavior: smooth;
	width: 100%;
	overflow-x: clip;
}

:root {
	--layout-max-width: 1440px;
	--layout-gutter: 80px;
	--layout-gutter-header-left: 63px;
	--header-height: 86px;
	--header-height-mobile: 68px;
}
body {
	font-size: 1em;
	line-height: 1.4;
	-webkit-touch-callout: none;
}
a {
	color: inherit;
	text-decoration: none;
}
a:active, a:hover {
	outline-width: 0;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
img {
	border-style: none;
}
button, input, textarea, select {
  font: inherit;
}
button, input {
	overflow: visible;
}
button, select {
	text-transform: none;
}
/* button, html [type="button"], [type="reset"], [type="submit"] { 
 -webkit-appearance: button; 
}*/

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}
textarea {
	overflow: auto;
}
[type="checkbox"], [type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/*
		ELEMENTS
*/
html {
	color: #3c4950;
	font-family: "Inter", "Arial", sans-serif;
	-webkit-font-kerning: normal;
	font-kerning: normal;
	-webkit-font-variant-ligatures: common-ligatures contextual;
	font-variant-ligatures: common-ligatures contextual;
	-webkit-font-feature-settings: "kern", "liga", "clig", "calt";
	font-feature-settings: "kern", "liga", "clig", "calt";
	height: 100%;
}
body {
	color: #202f44;
	display: flex;
	flex-flow: column;
	width: 100%;
	min-height: 100%;
	margin: 0;
	overflow-x: clip;
	overflow-y: auto;
	-webkit-font-smoothing: antialiased;
	background: #ffffff;
}
header {
	background: transparent;
	box-shadow: none;
	font-size: 1.1rem;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 1001;
	display: flex;
	justify-content: center;
}

/* Desktop header — restaurat din git (08b7afb) */
.header-desktop {
	display: none;
}

.header {
	width: 100%;
	max-width: var(--layout-max-width);
	padding: 0 var(--layout-gutter) 0 var(--layout-gutter-header-left);
	margin: 0 auto;
	background: #2b3e61;
	box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
	height: var(--header-height);
	box-sizing: border-box;
}
main {
	display: flex;
	flex: 1 0 auto;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	min-width: 0;
	margin-top: var(--header-height-mobile);
	overflow-x: clip;
}
footer {
	background: transparent;
	color: #f5f4f0;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.footer {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
	max-width: var(--layout-max-width);
	height: auto;
	margin: 0 auto;
	padding: 48px var(--layout-gutter);
	background-color: #2b3e61;
	box-sizing: border-box;
}

.footer-top {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	width: 100%;
}

.footer-logo {
	justify-self: start;
}

.footer-logo .logo_box {
	float: none;
	height: auto;
}

.footer-contact {
	justify-self: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.footer-email {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
}

.footer-email img {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.footer-email-text {
	font-size: 18px;
	font-weight: 500;
	line-height: 24px;
	color: #f5f4f0;
	text-decoration: none;
}

.footer-email-text:hover {
	color: #4280de;
}

.footer-contact-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #4280de;
	border-radius: 30px;
	color: #f5f4f0;
	font-size: 18px;
	font-weight: 600;
	line-height: normal;
	padding: 0 28px;
	height: 46px;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.footer-contact-btn:hover {
	background-color: #2262c3;
	color: #f5f4f0;
}

.footer-social {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 16px;
}

.footer_links {
	display: flex;
	justify-content: center;
	width: 100%;
}

.footer_legal-list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer_legal-list .footer_element {
	margin: 0;
	text-align: center;
}

.footer_element {
	font-weight: 700;
	margin: 10px 0 0 0;
	width: 100%;
}

.footer_link {
	color: #f5f4f0;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer_link:hover,
.footer_link.is-active {
	color: #4280de;
}

.footer_legal-list .footer_element {
	width: auto;
}

strong {
	font-weight: 700;
}
h2 {
	font-size: 36px;
}
input {
	border: 1px solid #868e92;
	border-radius: 20px;
	outline: none;
	padding: 0.5rem 1rem;
}
input[type="submit"] {
	background-color: #4280de;
	border: none;
	border-radius: 20px;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 0.85rem;
	line-height: 1rem;
	outline: none;
	padding: 0.5rem 2rem;
	transition: 300ms ease-in-out;
	-webkit-tap-highlight-color: transparent;
}
input[type="submit"]:hover,
input[type="submit"]:focus {
/*	box-shadow: 0px 3px 10px 0px #969696;*/
	background-color: #2262c3;
	outline: none;
}
.input_error {
	border: 1px solid #ea3b28;
	box-shadow: 0 0 5px 0 #ea3b28;
}
.input_error:focus {
	border: 1px solid #ea3b28;
	box-shadow: 0 0 5px 0 #ea3b28;
}
button {
	border: none;
	background: none;
	cursor: pointer;
	font-family: inherit;
}
img {
	display: block;
	max-width: 100%;
	height: auto;
}

/*
		LAYOUT
 */
.container {
	position: relative;
	line-height: 52px;
	margin: 0 auto;
	max-width: 1440px;
	width: 100%;
}
.flex_column {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.flex_row {
	align-items: center;
	display: flex;
	justify-content: space-between;
}
.row {
	margin: 0 auto;
}
	/*max-width: 62.5rem;
	max-width: 1440px;
	width: 100%;
}
.s1 {
	background: #2b3e61;
	height: 600px;
}
.s2 {
	background: #f5f4f0;
	height: 600px;
}
.s3 {
	background: #fff;
	height: 600px;
}
.s4 {
	background: #e2f1ff;
	height: 600px;
}
.s5 {
	background: #f5f4f0;
	height: 600px;
}
.s6 {
	background: #fff;
	height: 600px;
}
.s7 {
	background: #b7d1e8;
	height: 600px;
	padding: 80px;
	text-align: center;
}

/*
		TEXT
*/

.large {
	font-size: 1.1rem;
}

/*
		HEADER
*/
.logo_box {
	align-items: center;
	display: flex;
	float: left;
	height: var(--header-height);
	position: relative;
}
.logo_white {
	height: 52px;
	position: relative;
	z-index: 1;
}
.logo_blue {
	height: 52px;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	opacity: 0;
	transition: opacity 0.2s ease;
}
.logo_box:hover .logo_white {
	opacity: 0;
}
.logo_box:hover .logo_blue {
	opacity: 1;
}

/*
		FOOTER (legacy helpers)
*/
.footer_group {
	display: inline-block;
	list-style: none;
	padding-left: 10px;
}

.copyright {
	width: 100%;
	max-width: var(--layout-max-width);
	margin: 0 auto;
	background-color: #e2f1ff;
	color: #556581;
	padding: 20px 0;
	text-align: center;
}

/*
		NAV
*/
.main_menu {
	line-height: var(--header-height);
	list-style: none;
	text-align: right;
}
.main_menu_element {
	display: inline-block;
	font-weight: 700;
	margin: 0 0 0 90px;
}
.main_menu_link {
	color: #f5f4f0;
	display: inline-block;
	position: relative;
}
.main_menu_link:hover {
	color: #4280de;
}
.btn_link {
	background-color: #4280de;
	border: none;
	border-radius: 20px;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1rem;
	outline: none;
	padding: 0.5rem 2rem;
	transition: 300ms ease-in-out;
	-webkit-tap-highlight-color: transparent;
}
.btn_link:hover,
.btn_link:focus {
	background-color: #2262c3;
	outline: none;
}

/*
 * messages
 */

.error_msg {
	color: #ea3b28;
	display: none;
	font-size: 0.8rem;
	font-weight: bold;
	margin: 0.3rem 0;
	text-align: center;
}


/* ===== BUTTONS ===== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	background: #4280de;
	color: #f5f4f0;
	font-size: 18px;
	font-weight: 600;
	border-radius: 30px;
	cursor: pointer;
	transition: background 0.3s ease;
	white-space: nowrap;
	height: 46px;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
	.btn:hover {
		background: #2262c3;
	}
}

.btn-sm {
	padding: 8px 16px;
	font-size: 14px;
	height: auto;
}

.btn-md {
	padding: 10px 20px;
	font-size: 16px;
	height: 39px;
}

.btn-lg {
	padding: 12px 28px;
	font-size: 18px;
	height: auto;
}

.btn-full {
	width: 100%;
	height: 54px;
}

.btn-primary {
	background: #4280de;
	color: #f5f4f0;
}

.btn-secondary {
	background: none;
	color: #202f44;
	padding: 10px 20px;
	gap: 10px;
}

@media (hover: hover) and (pointer: fine) {
	.btn-secondary:hover {
		background: none;
		color: #2262c3;
	}
}

.btn-secondary-sm {
	background: none;
	color: #4280de;
	padding: 8px 0;
	gap: 8px;
	font-size: 14px;
	height: auto;
}

@media (hover: hover) and (pointer: fine) {
	.btn-secondary-sm:hover {
		background: none;
		color: #2262c3;
	}
}

/* ===== NAVBAR ===== */
.navbar {
	position: relative;
	width: 100%;
	background: #2b3e61;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.navbar.hidden {
	transform: translateY(-100%);
}

.navbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	width: 100%;
	height: var(--header-height-mobile);
	box-sizing: border-box;
}

.navbar-logo img {
	width: 73px;
	height: 37px;
	object-fit: contain;
}

.navbar-menu-btn,
.navbar-menu-close {
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
}

.navbar-menu-btn[hidden],
.navbar-menu-close[hidden] {
	display: none;
}

.navbar-menu-close {
	width: 19px;
	height: 19px;
}

.navbar-menu-btn img {
	width: 100%;
	height: 100%;
}

.navbar-menu-close img {
	width: 19px;
	height: 19px;
	filter: brightness(0) invert(1);
}

.desktop-nav {
	display: none;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
	position: fixed;
	top: var(--header-height-mobile);
	left: 0;
	right: 0;
	background: #2b3e61;
	z-index: 999;
	transform: translateY(-100%);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
	pointer-events: none;
}

.mobile-nav.open {
	transform: translateY(0);
	opacity: 1;
	pointer-events: all;
}

.mobile-nav ul {
	list-style: none;
	padding: 20px;
	max-width: 393px;
	margin: 0 auto;
}

.mobile-nav li {
	padding: 16px 0;
	border-bottom: 1px solid rgba(245, 244, 240, 0.1);
}

.mobile-nav a {
	color: #f5f4f0;
	font-size: 18px;
	font-weight: 500;
}

/* ===== MOBILE MENU OVERLAY (Figma 853:6333) ===== */
.menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	pointer-events: none;
	visibility: hidden;
}

.menu-overlay.open {
	pointer-events: auto;
	visibility: visible;
}

.menu-panel {
	position: absolute;
	top: var(--header-height-mobile);
	left: 0;
	right: 0;
	width: 100%;
	max-height: calc(100dvh - var(--header-height-mobile) - 80px);
	background: #ffffff;
	border-radius: 0 0 16px 16px;
	padding: 16px 20px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	transform: translateY(-100%);
	transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
	box-sizing: border-box;
}

.menu-overlay.open .menu-panel {
	transform: translateY(0);
}

.menu-nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: 100%;
}

.menu-nav-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	width: max-content;
	min-width: 0;
	height: 62px;
}

.menu-nav-link {
	display: block;
	padding-top: 6px;
	font-size: 18px;
	font-weight: 500;
	line-height: normal;
	color: #2b3e61;
	text-decoration: none;
	text-align: center;
	white-space: nowrap;
}

.menu-nav-link.active {
	font-weight: 700;
}

.menu-nav-line {
	display: block;
	width: 100%;
	height: 1px;
	background: #dbe3ed;
	flex-shrink: 0;
}

.menu-nav-item.is-active .menu-nav-line {
	height: 4px;
	background: #4280de;
}

.menu-contact-btn {
	min-width: 126px;
	height: 46px;
	padding: 0 28px;
	margin-top: 0;
}

.menu-handle {
	width: 58px;
	height: 5px;
	background: #d9d9d9;
	border-radius: 4px;
	flex-shrink: 0;
}

/* ===== HERO SECTION ===== */
.hero {
	position: relative;
	width: 100%;
	min-width: 0;
	padding-top: 34px;
	background: #2b3e61;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
}

/* Figma mobil — dreptunghi text 299px, lățime fluidă */
.hero-content {
	order: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	padding: 0;
	text-align: center;
	z-index: 1;
	width: 100%;
	box-sizing: border-box;
}

.hero-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: 100%;
}

.hero-title {
	font-size: 40px;
	font-weight: 700;
	line-height: 40px;
	width: 100%;
	color: #f5f4f0;
}

.hero-title-white {
	color: #f5f4f0;
}

.hero-title-blue {
	color: #4280de; /* #5a9bfd anterior */
}

.hero-title-red {
	color: #e93853;
}

.hero-subtitle {
	font-size: 18px;
	font-weight: 500;
	line-height: 24px;
	color: #f5f4f0;
	width: 100%;
}

.hero .btn {
	margin-top: 0;
	height: 46px;
	min-width: 170px;
	padding: 0 28px;
	font-size: 18px;
}

.hero-photo {
	order: 2;
	width: 362px;
	max-width: calc(100% - 32px);
	height: 452px;
	position: relative;
	overflow: hidden;
	margin-top: 29px;
	flex-shrink: 0;
}

.hero-photo img {
	position: absolute;
	width: 110.22%;
	height: 110.11%;
	left: -5.08%;
	top: -4.22%;
	object-fit: cover;
}

/* ===== SECTIONS (General) ===== */
.section {
	width: 100%;
	min-width: 0;
	padding: 64px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	overflow-x: clip;
}

.section-white {
	background: #ffffff;
}

.section-beige {
	background: #f3eae0;
}

.section-lightblue {
	background: #f3f9ff;
}

.section-dark {
	background: #2b3e61;
}

.section-header {
	display: flex;
	flex-direction: column;
	gap: 16px;
	text-align: center;
	width: 100%;
}

.section-title {
	font-size: 36px;
	font-weight: 700;
	line-height: 44px;
	color: #202f44;
}

.section-title-white {
	color: #f5f4f0;
}

.section-title-left {
	text-align: left;
}

.section-desc {
	font-size: 18px;
	font-weight: 500;
	line-height: normal;
	color: #202f44;
}

.section-desc-light {
	color: #f5f4f0;
}

/* ===== PROJECTS CAROUSEL ===== */
.projects-carousel-shell {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.projects-carousel-fade {
	display: none;
}

.projects-carousel {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	overflow-y: clip;
	width: calc(100% + 20px);
	padding: 0 20px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.projects-carousel::-webkit-scrollbar {
	display: none;
}

.project-card {
	flex-shrink: 0;
	width: 248px;
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	scroll-snap-align: start;
	isolation: isolate;
}

.project-card-image {
	width: 248px;
	height: 313px;
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: -140px;
	position: relative;
	z-index: 1;
}

.project-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
}

.project-card-body {
	width: 248px;
	min-height: 313px;
	background: #ffffff;
	border: 2px solid #e5e5e5;
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	box-sizing: border-box;
	position: relative;
	z-index: 2;
}

.project-card-inner {
	flex: 1 0 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 24px;
	width: 100%;
}

.project-card-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	width: 100%;
}

.project-card-icon {
	width: 57px;
	height: 36px;
	flex-shrink: 0;
	overflow: hidden;
}

.project-card-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.project-card-btn {
	align-self: flex-end;
	width: auto;
	height: auto;
	min-height: 0;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 600;
	line-height: normal;
	flex-shrink: 0;
}

.project-card-content {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
}

.project-card-meta {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
}

.project-card-heading {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.project-card-title {
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
	color: #202f44;
}

.tag {
	display: inline-flex;
	align-items: center;
	height: 25px;
	background: #f3f9ff;
	color: #4280de;
	font-size: 12px;
	font-weight: 500;
	padding: 5px 10px;
	border-radius: 24px;
	width: fit-content;
	box-sizing: border-box;
}

.project-card-desc {
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
	color: #202f44;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.project-card-date {
	display: flex;
	align-items: center;
	gap: 8px;
}

.project-card-date img {
	width: 24px;
	height: 24px;
}

.project-card-date span {
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: #202f44;
}

.carousel-controls {
	display: flex;
	gap: 12px;
	align-items: center;
}

.projects-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	width: 100%;
}

.projects-panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: 100%;
}

.arrow-btn {
	width: 36px;
	height: 36px;
	padding: 0;
	flex-shrink: 0;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 36px 36px;
}

.arrow-left {
	background-image: url('icons/icon-button-arrow-left-default.svg');
}

.arrow-right {
	background-image: url('icons/icon-button-arrow-right-default.svg');
}

@media (hover: hover) and (pointer: fine) {
	.arrow-right:hover {
		background-image: url('icons/icon-button-arrow-right-hover.svg');
	}
}

/* ===== PURPOSE SECTION ===== */
.purpose-list {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
}

.purpose-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.purpose-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 6px;
}

.purpose-icon img {
	width: 100%;
	height: 100%;
}

.purpose-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.purpose-content h3 {
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	color: #202f44;
}

.purpose-content p {
	font-size: 18px;
	font-weight: 400;
	line-height: normal;
	color: #202f44;
}

.purpose-photo {
	width: 100%;
	aspect-ratio: 3277 / 4096;
	overflow: hidden;
}

.purpose-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.purpose-layout {
	display: contents;
}

.purpose-copy {
	display: contents;
}

.purpose-media {
	display: contents;
}

/* ===== MOTTO SECTION ===== */
/* Mobil: poză sus, text centrat dedesubt (fără dreptunghi fix de lățime). */
.section-motto {
	background: #2b3e61;
	position: relative;
	padding-top: 0;
	gap: 0;
}

.motto-bg {
	width: 100%;
	height: 275px;
	overflow: hidden;
}

.motto-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.motto-content {
	display: flex;
	flex-direction: column;
	gap: 32px;
	align-items: center;
	text-align: center;
	padding: 64px 0 0;
	width: 100%;
}

.motto-text {
	font-size: 18px;
	font-weight: 400;
	line-height: normal;
	color: #fffffe;
}

/* ===== TIMELINE / EXPERIENCE ===== */
.timeline {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
	position: relative;
	padding-left: 0;
}

.timeline::before {
	content: '';
	position: absolute;
	left: 19px;
	top: 7px;
	bottom: 0;
	width: 2px;
	background: #4280de;
}

.timeline-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	position: relative;
}

.timeline-bullet {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}

.timeline-bullet img {
	width: 100%;
	height: 100%;
}

.timeline-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 6px;
	flex: 1;
}

.timeline-content h3 {
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	color: #202f44;
}

.timeline-detail {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.timeline-detail-icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.timeline-detail p {
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	color: #202f44;
}

.timeline-detail-body {
	min-width: 0;
}

.timeline-detail-body p {
	margin: 0;
}

.timeline-date {
	font-size: 18px;
	font-weight: 600;
	line-height: 24px;
	color: #202f44;
	margin-top: 8px;
}

/* ===== BLOG SECTION ===== */
.blog-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: clip;
    width: 100%;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.blog-carousel::-webkit-scrollbar {
	display: none;
}

.blog-card {
	flex-shrink: 0;
	width: 304px;
	background: #ffffff;
	border: 2px solid #e5e5e5;
	border-radius: 16px;
	overflow: hidden;
	scroll-snap-align: start;
	position: relative;
}

.blog-card-badge {
	position: absolute;
	top: 24px;
	left: -2px;
	background: #4280de;
	color: #fffffe;
	font-size: 14px;
	font-weight: 800;
	padding: 0 11px;
	height: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.blog-card-image {
	width: 100%;
	height: 226px;
	overflow: hidden;
	border-radius: 14px 14px 0 0;
}

.blog-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-card-body {
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.blog-card-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #e2f1ff;
	border-radius: 30px;
	padding: 8px 16px;
	width: fit-content;
}

.blog-card-tag img {
	width: 24px;
	height: 24px;
}

.blog-card-tag span {
	font-size: 14px;
	font-weight: 600;
	color: #4280de;
}

.blog-card-title {
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
	color: #202f44;
}

.blog-card-desc {
	font-size: 16px;
	font-weight: 400;
	line-height: normal;
	color: #202f44;
}

.blog-card-date {
	display: flex;
	align-items: center;
	gap: 8px;
}

.blog-card-date img {
	width: 24px;
	height: 24px;
}

.blog-card-date span {
	font-size: 14px;
	font-weight: 600;
	line-height: 24px;
	color: #202f44;
}

.blog-card-link {
	display: inline-flex;
	align-self: flex-end;
	align-items: center;
	gap: 8px;
	color: #4280de;
	font-size: 14px;
	font-weight: 600;
	transition: color 0.2s;
}

@media (hover: hover) and (pointer: fine) {
	.blog-card-link:hover {
		color: #2262c3;
	}
}

.blog-card-link-icon {
	position: relative;
	display: block;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	transform: rotate(180deg);
}

.blog-card-link-icon img {
	position: absolute;
	inset: 0;
	width: 24px;
	height: 24px;
	transition: opacity 0.2s;
}

.blog-card-link-icon-default {
	opacity: 1;
}

.blog-card-link-icon-hover {
	opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
	.blog-card-link:hover .blog-card-link-icon-default {
		opacity: 0;
	}

	.blog-card-link:hover .blog-card-link-icon-hover {
		opacity: 1;
	}
}

/* ===== BENEFITS SECTION ===== */
.benefits-carousel {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	overflow-y: clip;
	width: 100%;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.benefits-carousel::-webkit-scrollbar {
	display: none;
}

.benefit-card {
	flex-shrink: 0;
	width: 310px;
	background: #e2f1ff;
	border-radius: 16px;
	padding: 36px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	scroll-snap-align: start;
}

.benefit-copy {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
}

.benefit-icon {
	width: 62px;
	height: 62px;
	flex-shrink: 0;
}

.benefit-icon img {
	width: 100%;
	height: 100%;
}

.benefit-title {
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
	color: #202f44;
}

.benefit-desc {
	font-size: 18px;
	font-weight: 400;
	line-height: normal;
	color: #202f44;
}

/* ===== NEWSLETTER SECTION ===== */
.section-newsletter {
	background: #e2f1ff;
	padding-bottom: 0;
	position: relative;
	gap: 64px;
	align-items: flex-start;
	width: 100%;
}

.newsletter-content {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
}

.newsletter-desc {
	font-size: 18px;
	font-weight: 500;
	line-height: normal;
	color: #202f44;
}

.newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.newsletter-form-row {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
}

.input-group {
	display: flex;
	align-items: center;
	background: #ffffff;
	border-radius: 30px;
	padding: 16px 23px;
	height: 54px;
	gap: 13px;
	border: 1px solid #e5e5e5;
	transition: border-color 0.2s, background-color 0.2s;
}

.input-group:hover {
	background: #ebf5ff;
	border-color: #4280de;
}

.input-group:focus-within {
	background: #ffffff;
	border-color: #4280de;
}

.input-group.input-error {
	border-color: #de4245;
}

.input-group.input-done {
	opacity: 0.6;
	background: #ffffff;
	border-color: transparent;
}

.input-group.input-done input:disabled {
	color: #202f44;
	-webkit-text-fill-color: #202f44;
}

.input-group:hover:not(.input-error):not(.input-done) .input-icon-default,
.input-group:focus-within:not(.input-error):not(.input-done) .input-icon-default {
	opacity: 0;
}

.input-group:hover:not(.input-error):not(.input-done) .input-icon-hover,
.input-group:focus-within:not(.input-error):not(.input-done) .input-icon-hover {
	opacity: 1;
}

.input-group.input-done .input-icon-default,
.input-group.input-done .input-icon-error {
	opacity: 0;
}

.input-group.input-done .input-icon-hover {
	opacity: 1;
}

.input-group.input-user-field:hover:not(.input-error) .input-icon-default,
.input-group.input-user-field:focus-within:not(.input-error) .input-icon-default,
.input-group.input-user-field.input-filled:not(.input-error) .input-icon-default {
	opacity: 0;
}

.input-group.input-user-field:hover:not(.input-error) .input-icon-hover,
.input-group.input-user-field:focus-within:not(.input-error) .input-icon-hover,
.input-group.input-user-field.input-filled:not(.input-error) .input-icon-hover {
	opacity: 1;
}

.input-group.input-filled:not(.input-error) .input-icon-default {
	opacity: 0;
}

.input-group.input-filled:not(.input-error) .input-icon-hover {
	opacity: 1;
}

.input-icon {
	position: relative;
	display: block;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.input-icon-state {
	position: absolute;
	inset: 0;
	width: 24px;
	height: 24px;
	transition: opacity 0.2s;
}

.input-icon-hover,
.input-icon-error {
	opacity: 0;
}

.input-group.input-error .input-icon-default,
.input-group.input-error .input-icon-hover {
	opacity: 0;
}

.input-group.input-error .input-icon-error {
	opacity: 1;
}

.input-group input {
	border: none;
	outline: none;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #202f44;
	flex: 1;
	background: transparent;
}

.input-group textarea {
	border: none;
	outline: none;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #202f44;
	flex: 1;
	background: transparent;
	width: 100%;
	min-width: 0;
	resize: vertical;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
	color: #6c7d96;
}

.newsletter-error {
	display: none;
	font-size: 12px;
	font-weight: 500;
	color: #de4245;
	padding-left: 20px;
	width: 100%;
}

.newsletter-error.visible {
	display: block;
}

.newsletter-success {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
}

.newsletter-success.visible {
	display: flex;
}

.newsletter-success img {
	width: 24px;
	height: 24px;
}

.newsletter-success span {
	font-size: 16px;
	font-weight: 600;
	color: #008770;
	white-space: nowrap;
}

.checkbox-group {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
	cursor: pointer;
}

.checkbox-control {
	position: relative;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.checkbox-input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 1;
}

.checkbox-icon {
	position: absolute;
	inset: 0;
	width: 24px;
	height: 24px;
	pointer-events: none;
}

.checkbox-icon-state {
	position: absolute;
	inset: 0;
	width: 24px;
	height: 24px;
	transition: opacity 0.2s;
}

.checkbox-icon-hover,
.checkbox-icon-checked,
.checkbox-icon-error {
	opacity: 0;
}

.checkbox-control:hover .checkbox-input:not(:checked) ~ .checkbox-icon .checkbox-icon-default,
.checkbox-input:focus-visible:not(:checked) ~ .checkbox-icon .checkbox-icon-default {
	opacity: 0;
}

.checkbox-control:hover .checkbox-input:not(:checked) ~ .checkbox-icon .checkbox-icon-hover,
.checkbox-input:focus-visible:not(:checked) ~ .checkbox-icon .checkbox-icon-hover {
	opacity: 1;
}

.checkbox-input:checked ~ .checkbox-icon .checkbox-icon-default,
.checkbox-input:checked ~ .checkbox-icon .checkbox-icon-hover {
	opacity: 0;
}

.checkbox-input:checked ~ .checkbox-icon .checkbox-icon-checked {
	opacity: 1;
}

.checkbox-group.checkbox-error .checkbox-icon-default,
.checkbox-group.checkbox-error .checkbox-icon-hover {
	opacity: 0;
}

.checkbox-group.checkbox-error .checkbox-icon-error {
	opacity: 1;
}

.checkbox-group.checkbox-error .checkbox-icon-checked {
	opacity: 0;
}

.checkbox-group.checkbox-error .checkbox-control:hover .checkbox-input:not(:checked) ~ .checkbox-icon .checkbox-icon-hover {
	opacity: 0;
}

.checkbox-group.checkbox-error .checkbox-control:hover .checkbox-input:not(:checked) ~ .checkbox-icon .checkbox-icon-error {
	opacity: 1;
}

.checkbox-label {
	font-size: 14px;
	font-weight: 500;
	color: #202f44;
	line-height: normal;
}

.newsletter-checkbox-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.newsletter-checkbox-error {
	padding-left: 36px;
}

.newsletter-photo {
	width: 100%;
	aspect-ratio: 3277 / 4096;
	overflow: hidden;
}

.newsletter-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ===== SOCIAL ICON LINKS (shared) ===== */
.social-link {
	position: relative;
	display: block;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}

.social-link img {
	position: absolute;
	inset: 0;
	width: 32px;
	height: 32px;
	transition: opacity 0.2s;
}

.social-icon-hover {
	opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
	.social-link:hover .social-icon-default,
	.social-link:focus-visible .social-icon-default {
		opacity: 0;
	}

	.social-link:hover .social-icon-hover,
	.social-link:focus-visible .social-icon-hover {
		opacity: 1;
	}
}

/* ===== SOCIAL BAR MOBILE (bottom sticky bar) ===== */
.social-bar-mobile {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 998;
	background: #2b3e61;
	box-shadow: 4px 0 6px rgba(0, 0, 0, 0.08);
	min-height: 58px;
	padding-bottom: env(safe-area-inset-bottom, 0px);
	box-sizing: border-box;
	transition: transform 0.3s ease;
}

.social-bar-mobile.hidden {
	transform: translateY(100%);
}

.social-bar-mobile-inner {
	display: grid;
	grid-template-columns: 40px 1fr 40px;
	align-items: center;
	padding: 9px 20px;
	min-height: 58px;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

.social-bar-mobile-cookie {
	position: relative;
	display: block;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	grid-column: 1;
}

.social-bar-mobile-cookie img {
	position: absolute;
	inset: 0;
	width: 40px;
	height: 40px;
	transition: opacity 0.2s;
}

.cookie-icon-hover {
	opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
	.social-bar-mobile-cookie:hover .cookie-icon-default,
	.social-bar-mobile-cookie:focus-visible .cookie-icon-default {
		opacity: 0;
	}

	.social-bar-mobile-cookie:hover .cookie-icon-hover,
	.social-bar-mobile-cookie:focus-visible .cookie-icon-hover {
		opacity: 1;
	}
}

.social-bar-mobile-icons {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #4280de;
	border-radius: 32px;
	padding: 4px;
	width: 160px;
	height: 40px;
	justify-content: center;
	flex-shrink: 0;
	grid-column: 2;
	justify-self: center;
	box-sizing: border-box;
}

/* ===== SOCIAL BAR DESKTOP (right sidebar) ===== */
.social-bar-desktop {
	display: none;
}

/* ===== BACK TO TOP MOBILE (inside social-bar-mobile) ===== */
.back-to-top-mobile {
	position: relative;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	flex-shrink: 0;
	grid-column: 3;
	justify-self: end;
	opacity: 1;
	pointer-events: all;
}

.back-to-top-desktop {
	display: none;
}

.back-to-top img {
	position: absolute;
	inset: 0;
	width: 40px;
	height: 40px;
	transition: opacity 0.2s;
}

.back-to-top-icon-hover {
	opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
	.back-to-top:hover .back-to-top-icon-default,
	.back-to-top:focus-visible .back-to-top-icon-default {
		opacity: 0;
	}

	.back-to-top:hover .back-to-top-icon-hover,
	.back-to-top:focus-visible .back-to-top-icon-hover {
		opacity: 1;
	}
}

/* Touch: feedback scurt la apăsare, fără :hover lipit după revenire */
@media (hover: none) {
	.btn:active,
	.btn.is-touch-active {
		background: #2262c3;
	}

	.btn-secondary:active,
	.btn-secondary.is-touch-active,
	.btn-secondary-sm:active,
	.btn-secondary-sm.is-touch-active {
		color: #2262c3;
	}

	.social-link:active .social-icon-default,
	.social-link.is-touch-active .social-icon-default,
	.social-bar-mobile-cookie:active .cookie-icon-default,
	.social-bar-mobile-cookie.is-touch-active .cookie-icon-default,
	.back-to-top:active .back-to-top-icon-default,
	.back-to-top.is-touch-active .back-to-top-icon-default,
	.blog-card-link:active .blog-card-link-icon-default,
	.blog-card-link.is-touch-active .blog-card-link-icon-default {
		opacity: 0;
	}

	.social-link:active .social-icon-hover,
	.social-link.is-touch-active .social-icon-hover,
	.social-bar-mobile-cookie:active .cookie-icon-hover,
	.social-bar-mobile-cookie.is-touch-active .cookie-icon-hover,
	.back-to-top:active .back-to-top-icon-hover,
	.back-to-top.is-touch-active .back-to-top-icon-hover,
	.blog-card-link:active .blog-card-link-icon-hover,
	.blog-card-link.is-touch-active .blog-card-link-icon-hover {
		opacity: 1;
	}

	.blog-card-link:active,
	.blog-card-link.is-touch-active {
		color: #2262c3;
	}

	.arrow-right:active,
	.arrow-right.is-touch-active {
		background-image: url('icons/icon-button-arrow-right-hover.svg');
	}
}

@media (max-width: 1023px) {
	body.menu-open .social-bar-mobile {
		visibility: hidden;
	}

	.section-newsletter {
		gap: 64px;
		padding-bottom: 0;
	}

	.section-newsletter .newsletter-photo {
		position: relative;
		align-self: stretch;
		width: calc(100% + 20px);
		height: 441px;
		aspect-ratio: 349 / 436;
		margin-left: -55px;
		margin-right: 0;
	}

	.section-newsletter .newsletter-photo img {
		object-position: 12% center;
	}

	.section-newsletter .social-bar-mobile-inner {
		display: flex;
		justify-content: space-between;
		padding: 8px 20px;
	}
	/* fundal alb setat pt cookie, temporar, pentru ca icon ul nu are background la export */
	.section-newsletter .social-bar-mobile-cookie {
		width: 42px;
		height: 42px;
		background-color: #ffffff;
		border-radius: 50%;
		grid-column: auto;
	}

	.section-newsletter .social-bar-mobile-cookie img {
		width: 42px;
		height: 42px;
	}

	.section-newsletter .social-bar-mobile-icons {
		grid-column: auto;
		justify-self: auto;
	}

	.section-newsletter .back-to-top-mobile {
		display: flex;
		position: absolute;
		right: 19px;
		bottom: 19px;
		top: auto;
		width: 36px;
		height: 36px;
	}

	.section-newsletter .back-to-top-mobile img {
		width: 36px;
		height: 36px;
	}

	footer {
		width: 100%;
		background: #e2f1ff;
	}

	.footer {
		width: 100%;
		max-width: none;
		padding: 32px 20px;
		gap: 40px;
		box-sizing: border-box;
		align-items: center;
	}

	.footer-top {
		display: contents;
	}

	.footer-logo {
		display: flex;
		justify-content: center;
		order: 1;
		width: 100%;
	}

	.footer-logo .logo_box {
		height: auto;
		float: none;
	}

	.footer_links {
		order: 2;
		width: 100%;
	}

	.footer-contact {
		order: 3;
		width: 100%;
		align-items: center;
		gap: 24px;
	}

	.footer-email {
		justify-content: center;
		width: 100%;
	}

	.footer-contact-btn {
		width: 100%;
		max-width: 100%;
	}

	.footer-social {
		display: none;
	}

	.footer_legal-list {
		flex-direction: column;
		align-items: center;
		gap: 8px;
	}

	.footer_legal-list .footer_element {
		margin: 0;
		font-weight: 500;
		width: auto;
	}

	.footer_link {
		font-size: 16px;
		font-weight: 500;
		line-height: 24px;
	}

	.copyright {
		max-width: none;
		width: 100%;
		padding: 12px 20px;
		box-sizing: border-box;
	}

	/* Hero mobil — box text 299px */
	.hero-content {
		width: min(100%, 299px);
		margin-inline: auto;
		text-align: center;
	}

	.hero-text {
		align-items: stretch;
	}

	.hero-title {
		display: block;
		text-align: center;
	}

	.hero-subtitle {
		text-align: center;
		min-height: 48px;
	}

	/* Hero mobil — poză centrată */
	.hero-photo {
		margin-inline: auto;
		align-self: center;
	}

	.hero-photo img {
		left: 50%;
		transform: translateX(-50%);
	}

	/* Scopul proiectelor — mobil (Figma 521:1843) */
	#despre .purpose-layout {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 32px;
		width: 100%;
	}

	#despre .purpose-copy {
		display: flex;
		flex-direction: column;
		gap: 32px;
		width: 100%;
		max-width: 353px;
	}

	#despre .purpose-media {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		max-width: 353px;
		gap: 0;
	}

	#despre .section-title,
	#despre .purpose-list {
		width: 100%;
		max-width: none;
		align-self: stretch;
	}

	#despre .purpose-heading-line {
		display: block;
	}

	#despre .purpose-photo {
		position: relative;
		width: 100%;
		aspect-ratio: 3277 / 4096;
		overflow: hidden;
	}

	#despre .purpose-photo img {
		position: absolute;
		width: 100%;
		height: 100.05%;
		left: -5.6%;
		top: -0.03%;
		object-fit: cover;
	}

	#despre .purpose-media .btn {
		margin-top: 0;
	}

	.purpose-btn-desktop {
		display: none;
	}

	/* Motto mobil — poză full-bleed 393px (Figma 521:1986) */
	.section-motto {
		padding: 0;
		align-items: stretch;
	}

	.motto-bg {
		width: 100%;
		height: 275px;
	}

	.motto-content {
		padding: 64px 20px;
		box-sizing: border-box;
	}
}

/* ===== CV MODAL ===== */
.cv-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 3000;
	background: rgba(43, 62, 97, 0.6);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.cv-modal-overlay.open {
	opacity: 1;
	visibility: visible;
}

.cv-modal {
	background: #ffffff;
	border-radius: 16px 16px 0 0;
	padding: 16px 20px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	width: 100%;
	max-width: 393px;
	max-height: 90vh;
	overflow-y: auto;
	transform: translateY(100%);
	transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.cv-modal-overlay.open .cv-modal {
	transform: translateY(0);
}

.cv-modal-handle {
	width: 58px;
	height: 5px;
	background: #d9d9d9;
	border-radius: 4px;
	flex-shrink: 0;
}

.cv-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 54px;
}

.cv-modal-title {
	font-size: 28px;
	font-weight: 700;
	color: #202f44;
	line-height: 80px;
}

.cv-modal-close {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background: none;
	border: none;
}

.cv-modal-close img {
	width: 100%;
	height: 100%;
}

.cv-modal-body {
	width: 100%;
}

.cv-modal-image {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

/* ===== BLOG PAGE ===== */
.blog-page {
	background: #ffffff;
	padding-top: var(--header-height-mobile);
}

.blog-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 24px 20px 0;
	text-align: center;
}

.blog-back-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 20px;
	border-radius: 30px;
	font-size: 16px;
	font-weight: 600;
	color: #202f44;
	align-self: flex-start;
	cursor: pointer;
	text-decoration: none;
}

.blog-back-btn img {
	width: 24px;
	height: 24px;
}

.blog-title {
	font-size: 40px;
	font-weight: 700;
	line-height: 80px;
	color: #202f44;
}

.blog-description {
	font-size: 18px;
	font-weight: 500;
	line-height: normal;
	color: #202f44;
}

.blog-tags {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
	padding: 0 20px;
	margin-top: 16px;
}

.blog-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 30px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	white-space: nowrap;
	border: none;
	background: none;
	font-family: inherit;
}

.blog-tag img {
	width: 24px;
	height: 24px;
}

.blog-tag-inactive {
	background: #f5f4f0;
	color: #68788e;
}

.blog-tag-active {
	background: #e2f1ff;
	color: #4280de;
}

.blog-grid {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 44px 20px 0;
	width: 100%;
}

.blog-grid-row {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	overflow-y: clip;
	padding-bottom: 20px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.blog-grid-row::-webkit-scrollbar {
	display: none;
}

.blog-grid .blog-card {
	width: 304px;
	flex-shrink: 0;
	scroll-snap-align: start;
}

.blog-see-all {
	align-self: center;
	margin-top: 24px;
}

/* ==========================================================
   DESKTOP STYLES (1024px+)
   Figma desktop frame: 1440px wide
   ========================================================== */
@media (min-width: 1024px) {

	main {
		margin-top: var(--header-height);
	}

	header {
		height: var(--header-height);
	}

	.header-desktop {
		display: block;
	}

	.navbar {
		display: none;
	}

	.main_menu_link.active {
		color: #f5f4f0;
	}

	.main_menu_link.active::after {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		bottom: 22px;
		height: 4px;
		background: #4280de;
		border-radius: 2px;
	}

	.mobile-nav {
		display: none !important;
	}

	/* --- Hero Desktop --- */
	.hero {
		max-width: var(--layout-max-width);
		margin: 0 auto;
		flex-direction: row;
		align-items: center;
		height: 764px;
		min-height: auto;
		padding: 112px var(--layout-gutter) 0;
		gap: 38px;
		justify-content: flex-start;
		box-sizing: border-box;
	}

	.hero-photo {
		width: 522px;
		height: 652px;
		margin-top: 0;
		flex-shrink: 0;
		order: 1;
	}

	.hero-photo img {
		position: static;
		width: 100%;
		height: 100%;
		object-fit: cover;
		left: auto;
		top: auto;
		transform: none;
	}

	/* Figma: „Text & CTA" — 668px lățime, 54px până la buton */
	.hero-content {
		order: 2;
		text-align: left;
		align-items: flex-start;
		padding: 0;
		gap: 54px;
		width: auto;
		max-width: 668px;
		margin-inline: 0;
		flex: 0 0 668px;
	}

	/* Figma: „Text" — 668px, gap 28px între titlu și subtitlu */
	.hero-text {
		align-items: stretch;
		gap: 28px;
		width: 100%;
		min-width: 0;
		padding-right: 100px;
	}

	/* width: 100% — umple box-ul de 668px; altfel align-items: flex-start strânge textul la lățimea conținutului */
	.hero-title {
		font-size: 80px;
		line-height: 80px;
		width: 100%;
		max-width: 668px;
		text-align: left;
	}

	.hero-subtitle {
		font-size: 32px;
		font-weight: 500;
		line-height: normal;
		width: 100%;
		max-width: 668px;
		min-width: 0;
		min-height: 0;
		text-align: left;
	
	}

	.hero .btn {
		margin-top: 0;
		height: 46px;
		padding: 0 28px;
		justify-content: center;
		align-items: center;
		gap: 10px;
		border-radius: 30px;
	}

	.hero .btn:hover {
		background: #2262c3;
	}

	/* --- Sections Desktop --- */
	.hero,
	.section {
		width: 100%;
		max-width: var(--layout-max-width);
		margin-left: auto;
		margin-right: auto;
	}

	.section {
		padding: 100px var(--layout-gutter);
		gap: 54px;
	}

	.section-header {
		max-width: 534px;
	}

	.section-title {
		font-size: 36px;
		line-height: 80px;
	}

	/* --- Projects Desktop --- */
	#proiecte.section-white {
		padding: 100px 0;
		gap: 60px;
		overflow: hidden;
	}

	.projects-carousel-shell {
		overflow: hidden;
	}

	.projects-carousel-fade {
		display: block;
		position: absolute;
		top: 0;
		bottom: 0;
		pointer-events: none;
		z-index: 4;
	}

	.projects-carousel-fade-right {
		right: 0;
		width: 207px;
		background: linear-gradient(88.78deg, rgba(255, 255, 255, 0) 8.77%, #ffffff 75.21%);
	}

	.projects-carousel-fade-left {
		left: 0;
		width: 140px;
		background: linear-gradient(271.18deg, rgba(255, 255, 255, 0) 8.77%, #ffffff 75.21%);
		opacity: 0;
		transition: opacity 0.2s ease;
	}

	.projects-carousel-shell.is-scrolled .projects-carousel-fade-left {
		opacity: 1;
	}

	.projects-carousel {
		width: 100%;
		margin: 0;
		padding: 27px 0 27px 140px;
		gap: 48px;
		justify-content: flex-start;
		overflow-x: auto;
		scroll-padding-left: 140px;
	}

	.project-card {
		flex-direction: row;
		align-items: stretch;
		gap: 8px;
		width: 504px;
		height: 313px;
		flex-shrink: 0;
	}

	.project-card-image {
		order: 2;
		margin-bottom: 0;
		width: 248px;
		height: 100%;
		flex-shrink: 0;
	}

	.project-card-body {
		order: 1;
		width: 248px;
		height: 100%;
		min-height: 0;
		flex-shrink: 0;
	}

	/* --- Purpose Desktop --- */
	#despre.section-beige {
		padding: 0 158px;
		min-height: 729px;
		gap: 0;
	}

	.purpose-layout {
		display: grid;
		grid-template-columns: 483px 584px;
		gap: 56px;
		align-items: center;
		min-height: 729px;
		width: 100%;
		max-width: 1123px;
		margin: 0 auto;
	}

	.purpose-copy {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		width: 483px;
	}

	.purpose-media {
		display: block;
		grid-column: 2;
		grid-row: 1;
		align-self: center;
	}

	.purpose-btn-mobile {
		display: none;
	}

	.purpose-btn-desktop {
		display: inline-flex;
	}

	#despre .purpose-photo {
		width: 584px;
		height: 729px;
		flex-shrink: 0;
	}

	#despre .section-title {
		margin: 0 0 32px;
		line-height: 54px;
		font-size: 36px;
	}

	#despre .purpose-heading-line {
		display: inline;
	}

	#despre .purpose-list {
		display: flex;
		flex-direction: column;
		gap: 24px;
		width: 100%;
		margin: 0 0 54px;
	}

	#despre .purpose-item {
		gap: 16px;
	}

	#despre .purpose-content {
		gap: 16px;
		max-width: 447px;
	}

	#despre .purpose-content h3 {
		font-size: 24px;
		line-height: 24px;
	}

	#despre .purpose-content p {
		font-size: 18px;
		line-height: normal;
	}

	#despre .purpose-photo {
		width: 584px;
		height: 729px;
		flex-shrink: 0;
	}

	#despre .purpose-photo img {
		height: 100%;
		object-fit: cover;
		object-position: center top;
	}

	#despre .purpose-copy > .btn,
	#despre .purpose-btn-desktop {
		align-self: flex-start;
	}

	/* --- Motto Desktop (≥1024px) --- */
	/* Grid 2 coloane: poză stânga 687px | coloană albastră dreapta (restul până la 1440px). */
	.section-motto {
		display: grid;
		grid-template-columns: 687px minmax(0, 1fr);
		grid-template-rows: 588px;
		padding: 0;
		max-width: var(--layout-max-width);
		min-height: 588px;
		height: 588px;
		position: relative;
		overflow: hidden;
	}

	/* Poză — dimensiuni Figma */
	.motto-bg {
		position: relative;
		grid-column: 1;
		grid-row: 1;
		width: 687px;
		height: 588px;
		flex-shrink: 0;
		aspect-ratio: 111 / 95;
		overflow: hidden;
	}

	.motto-bg img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	/*
	 * Coloana albastră dreapta (.motto-content):
	 * — padding: 119px = distanța față de poză (stânga), față de marginea secțiunii (dreapta),
	 *   și față de sus/jos (zonă liberă, inclusiv lângă social bar).
	 * — Nu e un dreptunghi vizibil; e containerul flex care centrează titlul, textul și butonul.
	 */
	.motto-content {
		position: relative;
		grid-column: 2;
		grid-row: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		padding: 119px;
		height: 100%;
		box-sizing: border-box;
		z-index: 1;
		gap: 0;
	}

	/*
	 * „Dreptunghiul” titlului Motto — lățime fixă 554px (Figma).
	 * max-width: 100% = nu depășește spațiul rămas după padding (la 1440px ≈ 515px util).
	 */
	.motto-content .section-title {
		width: 554px;
		max-width: 100%;
		line-height: 54px;
		margin: 0 0 32px;
	}

	/*
	 * „Dreptunghiul” paragrafului Lorem — aceeași lățime ca titlul (554px).
	 * Textul se rupe pe rânduri în interiorul acestei lățimi.
	 */
	.motto-content .motto-text {
		width: 554px;
		max-width: 100%;
		margin: 0 0 54px;
		font-size: 18px;
		line-height: normal;
	}

	.motto-content .btn {
		align-self: center;
	}

	/* --- Experience Desktop (Figma 289:518) --- */
	.section-lightblue {
		padding: 100px 240px;
	}

	.section-lightblue .timeline {
		position: relative;
		max-width: 959px;
		min-height: 668px;
		margin: 0 auto;
		width: 100%;
		overflow: visible;
	}

	.section-lightblue #openCvBtn {
		margin-left: auto;
		margin-right: auto;
	}

	.timeline {
		gap: 0;
		padding-left: 0;
	}

	.timeline::before {
		left: 50%;
		transform: translateX(-50%);
		top: 17px;
		height: 651px;
		bottom: auto;
	}

	.timeline-item {
		position: absolute;
		width: 552px;
		max-width: none;
		display: flex;
		align-items: flex-start;
		gap: 24px;
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}

	/* Right-side items: bullet at x=0, content at x=64 */
	.timeline-item:nth-child(1) {
		top: 0;
		left: calc(50% - 20.547px);
	}

	.timeline-item:nth-child(3) {
		top: 272px;
		left: calc(50% - 20.453px);
	}

	.timeline-item:nth-child(5) {
		top: 544px;
		left: calc(50% - 20.516px);
	}

	/* Left-side items: content at x=0, bullet at x=512 */
	.timeline-item:nth-child(2) {
		top: 130px;
		left: calc(50% - 532.312px);
		flex-direction: row-reverse;
	}

	.timeline-item:nth-child(4) {
		top: 402px;
		left: calc(50% - 532.484px);
		flex-direction: row-reverse;
	}

	.timeline-bullet {
		position: static;
		flex: 0 0 40px;
	}

	.timeline-content {
		width: 488px;
		max-width: 488px;
		flex: 0 0 488px;
		padding-top: 6px;
		gap: 16px;
	}

	.timeline-content h3 {
		line-height: 24px;
		min-height: 24px;
	}

	.timeline-item:nth-child(1) .timeline-detail-body {
		max-width: 456px;
	}

	.timeline-item:nth-child(2) .timeline-detail-body {
		max-width: 161px;
	}

	.timeline-item:nth-child(2) .timeline-date {
		padding-left: 30px;
	}

	.timeline-item:nth-child(3) .timeline-detail-body {
		max-width: 351px;
	}

	.timeline-item:nth-child(4) .timeline-detail-body {
		max-width: 163px;
	}

	.timeline-item:nth-child(4) .timeline-date {
		padding-left: 32px;
	}

	.timeline-item:nth-child(5) .timeline-detail-body {
		max-width: 419px;
	}

	.timeline-item:nth-child(even) .timeline-content {
		text-align: right;
	}

	.timeline-item:nth-child(even) .timeline-detail {
		width: 100%;
		justify-content: flex-end;
	}

	/* --- Blog Desktop --- */
	#blog.section-white {
		padding: 100px 102px;
	}

	.blog-carousel {
		width: 100%;
		margin: 0;
		padding: 0;
		gap: 48px;
		justify-content: flex-start;
		overflow: visible;
	}

	.blog-card {
		width: 380px;
		flex-shrink: 0;
	}

	/* --- Benefits Desktop --- */
	#usr.section-dark {
		padding: 100px 132px;
		min-height: 764px;
		justify-content: center;
		gap: 54px;
	}

	#usr .section-header {
		max-width: 651px;
		width: 651px;
		gap: 3px;
		align-items: center;
	}

	#usr .section-title {
		width: 100%;
		text-align: center;
		white-space: nowrap;
		line-height: 80px;
		font-weight: 700;
	}

	#usr .usr-title-brand {
		font-weight: 900;
	}

	#usr .section-desc {
		width: 534px;
		max-width: 534px;
		text-align: center;
	}

	.benefits-carousel {
		width: 100%;
		margin: 0;
		padding: 0;
		gap: 48px;
		justify-content: center;
		overflow: visible;
	}

	.benefit-card {
		width: 360px;
		flex-shrink: 0;
	}

	/* --- Newsletter Desktop --- */
	.section-newsletter {
		flex-direction: row;
		padding: 32px 217px 0 131px;
		gap: 54px;
		align-items: center;
		justify-content: center;
		max-width: var(--layout-max-width);
	}

	.newsletter-photo {
		width: 444px;
		height: 555px;
		aspect-ratio: auto;
		flex-shrink: 0;
		order: -1;
	}

	.newsletter-content {
		max-width: 640px;
		padding-bottom: 32px;
	}

	.newsletter-form-row {
		flex-direction: row;
		gap: 12px;
		align-items: center;
	}

	.newsletter-form-row .input-group {
		width: 417px;
		flex-shrink: 0;
	}

	.newsletter-form-row .btn-full {
		width: auto;
		padding: 14px 28px;
		height: 54px;
		flex-shrink: 0;
	}

	.newsletter-error {
		padding-left: 20px;
		margin-top: -8px;
	}

	.newsletter-checkbox-field {
		padding-left: 20px;
	}

	.newsletter-checkbox-error {
		padding-left: 36px;
	}

	.checkbox-group {
		margin-top: 0;
	}

	/* --- Footer Desktop --- */
	.footer {
		padding: 40px var(--layout-gutter) 40px var(--layout-gutter-header-left);
		gap: 35px;
	}

	.footer-top {
		margin-top:-10px;
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	}

	.footer-logo {
		display: block;
	}

	.footer-logo img {
		width: 120px;
		height: auto;
	}

	.footer-social {
		display: flex;
	}

	.footer-email-text {
		font-size: 1.1rem;
		font-weight: 700;
	}

	.footer-contact {
		flex-direction: row;
		gap: 24px;
	}

	.footer-contact-btn {
		width: auto;
		height: auto;
		border-radius: 20px;
		font-size: 0.85rem;
		font-weight: 700;
		line-height: 1rem;
		padding: 0.5rem 2rem;
	}

	.footer_legal-list {
		gap: 48px;
	}

	.footer_legal-list .footer_element:nth-child(1) {
		order: 1;
	}

	.footer_legal-list .footer_element:nth-child(2) {
		order: 3;
	}

	.footer_legal-list .footer_element:nth-child(3) {
		order: 2;
	}

	.footer_element {
		font-weight: 700;
	}

	.copyright {
		padding: 10px var(--layout-gutter);
		text-align: center;
	}

	/* --- Social bar desktop / mobile --- */
	.social-bar-mobile {
		display: none;
	}

	.back-to-top-mobile {
		display: none;
	}

	.social-bar-desktop {
		display: flex;
		flex-direction: column;
		gap: 8px;
		position: fixed;
		top: 338px;
		right: calc((100vw - min(100vw, var(--layout-max-width))) / 2 + 16px);
		z-index: 999;
		background: #4280de;
		border-radius: 32px;
		padding: 4px;
		align-items: center;
		width: 40px;
	}

	/* --- Back to top Desktop --- */
	.back-to-top-desktop {
		display: block;
		position: fixed;
		bottom: 40px;
		right: calc((100vw - min(100vw, var(--layout-max-width))) / 2 + 16px);
		width: 36px;
		height: 36px;
		padding: 0;
		border: none;
		background: none;
		cursor: pointer;
		z-index: 999;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.3s ease, bottom 0.3s ease, top 0.3s ease;
	}

	.back-to-top-desktop img {
		width: 36px;
		height: 36px;
	}

	.back-to-top-desktop.visible {
		opacity: 1;
		pointer-events: all;
	}

	/* --- CV Modal Desktop --- */
	.cv-modal-overlay {
		align-items: center;
	}

	.cv-modal {
		border-radius: 16px;
		padding: 24px;
		max-width: 576px;
		gap: 16px;
		transform: scale(0.9);
		opacity: 0;
		max-height: 85vh;
	}

	.cv-modal-overlay.open .cv-modal {
		transform: scale(1);
		opacity: 1;
	}

	.cv-modal-handle {
		display: none;
	}

	.cv-modal-title {
		font-size: 36px;
	}

	/* --- Blog Page Desktop --- */
	.blog-page {
		padding-top: var(--header-height);
		max-width: var(--layout-max-width);
		margin: 0 auto;
		width: 100%;
	}

	.blog-header {
		padding: 200px 152px 0;
		position: relative;
	}

	.blog-back-btn {
		position: absolute;
		left: 152px;
		top: 200px;
	}

	.blog-title {
		font-size: 44px;
	}

	.blog-description {
		font-size: 20px;
		max-width: 684px;
	}

	.blog-tags {
		gap: 11px;
		margin-top: 25px;
	}

	.blog-grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 380px));
		gap: 48px;
		justify-content: center;
		padding: 60px 80px 0;
	}

	.blog-grid-row {
		display: contents;
	}

	.blog-grid .blog-card {
		width: 100%;
	}

	.blog-see-all {
		margin-top: 0;
	}
}

/* Hero: fundal albastru edge-to-edge când viewport > 1440px (doar desktop) */
@media (min-width: 1441px) {
	.hero {
		background: transparent;
	}

	.hero::before {
		content: '';
		position: absolute;
		top: 0;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 100vw;
		background: #2b3e61;
		z-index: 0;
	}

	.hero-photo,
	.hero-content {
		position: relative;
		z-index: 1;
	}

	/* Header: aceeași extensie stânga-dreapta cât timp e deasupra hero (clasa JS) */
	header.header-over-hero::before {
		content: '';
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 100vw;
		height: var(--header-height);
		background: #2b3e61;
		box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08);
		z-index: -1;
	}

	header.header-over-hero .header {
		background: transparent;
		box-shadow: none;
	}
}

/* ==========================================================
   TABLET / INTERMEDIATE (768px - 1023px)
   ========================================================== */
@media (min-width: 768px) and (max-width: 1023px) {
	.navbar-inner {
		max-width: 100%;
		padding: 14px 40px;
	}

	.hero {
		max-width: 100%;
		padding: 34px 40px 0;
	}

	.hero-content {
		width: min(100%, 299px);
		padding: 0;
	}

	.hero-photo {
		width: min(362px, calc(100% - 32px));
		height: 452px;
		margin-top: 29px;
	}

	.section {
		max-width: 100%;
		padding: 80px 40px;
	}

	.footer {
		max-width: 100%;
	}

	.social-bar-mobile-inner {
		max-width: 100%;
	}

	.projects-carousel,
	.blog-carousel,
	.benefits-carousel {
		width: calc(100% + 80px);
		margin: 0 -40px;
		padding: 0 40px;
	}

	/* --- Blog Page Tablet --- */
	.blog-header {
		padding: 40px 40px 0;
	}

	.blog-grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 32px;
		padding: 44px 40px 0;
	}

	.blog-grid-row {
		display: contents;
	}

	.blog-grid .blog-card {
		width: 100%;
	}
}


/* ============================================================
   ABOUT ME PAGE  (despre_mine)
   ============================================================ */

/* ----- Hero ----- */
.about-hero {
	padding: 0;
	overflow: hidden;
}

.about-hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 32px 20px 40px;
	gap: 24px;
	box-sizing: border-box;
}

.about-hero-photo {
	order: -1;
	width: 100%;
	max-width: 340px;
	height: 260px;
	overflow: hidden;
	flex-shrink: 0;
	border-radius: 12px;
}

.about-hero-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.about-back-btn {
	display: none;
	gap: 10px;
	align-items: center;
	color: #202f44;
	font-size: 16px;
	font-weight: 600;
	line-height: normal;
	text-decoration: none;
	padding: 10px 20px;
	border-radius: 30px;
	flex-shrink: 0;
	align-self: flex-start;
}

.about-back-btn img {
	width: 24px;
	height: 24px;
}

.about-hero-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
	text-align: center;
	width: 100%;
}

.about-hero-copy {
	display: flex;
	flex-direction: column;
	gap: 32px;
	align-items: center;
	width: 100%;
}

.about-hero-text {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.about-hero-title {
	font-size: 40px;
	font-weight: 700;
	line-height: 44px;
	color: #202f44;
}

.about-hero-desc {
	font-size: 20px;
	font-weight: 500;
	line-height: normal;
	color: #202f44;
}

/* ----- Cum a inceput? ----- */
.about-intro {
	align-items: center;
}

.about-intro-inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
	align-items: center;
	width: 100%;
}

.about-intro-subtitle {
	font-family: 'Gwendolyn', cursive;
	font-size: 44px;
	font-weight: 700;
	color: #4280de;
	line-height: 24px;
}

.about-intro-text {
	font-size: 18px;
	font-weight: 400;
	line-height: normal;
	color: #202f44;
	text-align: center;
}

.about-intro-date {
	display: flex;
	gap: 8px;
	align-items: center;
}

.about-intro-date img {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.about-intro-date span {
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: #202f44;
}

/* ----- Split sections (Ce mă ghidează / Educatia / De ce dreptul / De ce politica) ----- */
.about-split-section {
	display: flex;
	flex-direction: column;
	padding: 64px 20px;
	gap: 32px;
	box-sizing: border-box;
	width: 100%;
}

.about-split-image {
	display: none;
}

.about-split-text {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
}

.about-split-heading {
	font-size: 36px;
	font-weight: 700;
	line-height: 44px;
	color: #202f44;
}

.about-split-subtitle {
	font-family: 'Gwendolyn', cursive;
	font-size: 44px;
	font-weight: 700;
	color: #4280de;
	line-height: 32px;
}

.about-split-desc {
	font-size: 18px;
	font-weight: 400;
	line-height: normal;
	color: #202f44;
}

.about-split-text-light .about-split-heading,
.about-split-text-light .about-split-desc {
	color: #f5f4f0;
}

/* ----- Scopul meu? ----- */
.about-scope-grid {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 100%;
}

.about-scope-item {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.about-scope-icon {
	width: 62px;
	height: 62px;
	flex-shrink: 0;
}

.about-scope-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.about-scope-copy {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.about-scope-title {
	font-size: 24px;
	font-weight: 600;
	line-height: 24px;
	color: #202f44;
}

.about-scope-desc {
	font-size: 18px;
	font-weight: 400;
	line-height: normal;
	color: #202f44;
}

/* ----- Galerie ----- */
.about-gallery {
	padding-left: 0;
	padding-right: 0;
	gap: 32px;
}

.about-gallery .section-header {
	padding: 0 20px;
	box-sizing: border-box;
}

.about-gallery-scroll {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	overflow-y: clip;
	width: 100%;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 0 20px;
	box-sizing: border-box;
}

.about-gallery-scroll::-webkit-scrollbar {
	display: none;
}

.about-gallery-item {
	width: 280px;
	height: 280px;
	flex-shrink: 0;
	overflow: hidden;
	scroll-snap-align: start;
	border-radius: 8px;
}

.about-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-gallery-controls {
	display: flex;
	gap: 12px;
	justify-content: center;
	align-items: center;
	padding: 0 20px;
}


/* ============================================================
   ABOUT ME — DESKTOP  (min-width: 1024px)
   ============================================================ */
@media (min-width: 1024px) {
	/* Hero */
	.about-hero-inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 0 80px;
		min-height: 650px;
		max-width: 1440px;
		margin: 0 auto;
		gap: 56px;
	}

	.about-hero-photo {
		order: 1;
		width: 521px;
		height: 651px;
		max-width: none;
		flex-shrink: 0;
		border-radius: 0;
	}

	.about-back-btn {
		display: flex;
		flex-shrink: 0;
		margin-top: 6px;
	}

	.about-hero-content {
		flex-direction: row;
		align-items: flex-start;
		text-align: left;
		width: auto;
		flex: 1;
		min-width: 0;
		gap: 24px;
	}

	.about-hero-copy {
		flex: 1;
		min-width: 0;
		align-items: flex-start;
		gap: 54px;
	}

	.about-hero-title {
		font-size: 44px;
		line-height: 80px;
	}

	/* Intro */
	.about-intro-inner {
		max-width: 750px;
	}

	/* Split sections */
	.about-split-section {
		display: flex;
		flex-direction: row;
		padding: 0;
		height: 695px;
		align-items: stretch;
		gap: 0;
	}

	.about-split-section.about-split-reverse {
		flex-direction: row-reverse;
	}

	.about-split-image {
		display: block;
		width: 50%;
		flex-shrink: 0;
		overflow: hidden;
	}

	.about-split-image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.about-split-text {
		width: 50%;
		flex-shrink: 0;
		padding: 0 140px;
		justify-content: center;
		gap: 32px;
		box-sizing: border-box;
	}

	/* Scopul meu? */
	.about-scope-grid {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		max-width: 1114px;
	}

	.about-scope-item {
		flex-direction: column;
		gap: 20px;
		width: 321px;
	}

	/* Gallery */
	.about-gallery {
		padding-top: 100px;
		padding-bottom: 100px;
	}

	.about-gallery .section-header {
		padding: 0;
		max-width: 1280px;
		width: 100%;
		margin: 0 auto;
	}

	.about-gallery-scroll {
		padding: 0;
	}

	.about-gallery-item {
		width: 364px;
		height: 351px;
		border-radius: 0;
	}

	.about-gallery-controls {
		padding: 0;
	}
}


/* ============================================================
   PETITIONS PAGE
   ============================================================ */

/* ----- Hero Section ----- */
.petition-hero {
	position: relative;
	width: 100%;
	max-width: var(--layout-max-width);
	margin: 0 auto;
	overflow: hidden;
}

.petition-hero-img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	object-position: center;
}

.petition-hero-badge {
	position: absolute;
	left: 0;
	bottom: 0;
	top: auto;
	background: #4280de;
	color: #fffffe;
	font-size: 14px;
	font-weight: 800;
	padding: 6px 16px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	line-height: 24px;
}

/* ----- Content Section ----- */
.petition-content-section {
	padding: 32px 20px 64px;
	gap: 32px;
	align-items: flex-start;
	overflow: visible;
}

/* Sticky sidebar: ancestors must not clip (html/main/section use overflow-x: clip) */
.petition-page,
.petition-page.petition-content-section {
	overflow: visible;
}

html:has(.petition-page),
body:has(.petition-page),
main:has(.petition-page) {
	overflow-x: visible;
}

.petition-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 24px;
	width: 100%;
}

.petition-back-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #202f44;
	font-size: 16px;
	font-weight: 600;
	padding: 10px 20px;
	border-radius: 30px;
	align-self: flex-start;
}

.petition-back-btn img {
	width: 24px;
	height: 24px;
}

.petition-header-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	width: 100%;
	text-align: center;
}

.petition-title {
	font-size: 32px;
	font-weight: 700;
	line-height: 40px;
	color: #202f44;
	text-align: center;
	width: 100%;
}

.petition-subtitle {
	font-size: 18px;
	font-weight: 500;
	line-height: normal;
	color: #202f44;
}

/* ----- Main Content Layout ----- */
.petition-main {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.petition-article {
	display: flex;
	flex-direction: column;
	gap: 48px;
	width: 100%;
}

/* ----- Petition Sections ----- */
.petition-section {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
}

.petition-section-title {
	font-size: 28px;
	font-weight: 700;
	line-height: 36px;
	color: #202f44;
}

.petition-section-content {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.petition-subsection {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.petition-subsection-title {
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
	color: #202f44;
}

.petition-text {
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: #202f44;
}

/* ----- Project Box ----- */
.petition-project-box {
	background: #f3f9ff;
	padding: 40px 20px;
	display: flex;
	flex-direction: column;
	gap: 27px;
}

.petition-project-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #4280de;
	color: #fffffe;
	font-size: 14px;
	font-weight: 800;
	padding: 6px 16px;
	height: 36px;
	align-self: flex-start;
	margin-left: -20px;
}

.petition-project-content {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.petition-project-header {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.petition-project-title {
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
	color: #202f44;
}

.petition-project-dest {
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
	color: #6c7d96;
}

.petition-project-dest strong {
	font-weight: 600;
}

.petition-project-divider {
	height: 1px;
	background: #dbe3ed;
	width: 100%;
}

.petition-project-body {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.petition-project-body p {
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
	color: #202f44;
	margin: 0;
}

.petition-project-body p strong {
	font-weight: 600;
}

/* ----- FAQ Accordion ----- */
.petition-faq-section {
	gap: 24px;
}

.petition-accordion {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.petition-accordion-item {
	border-top: 1px solid #e5e5e5;
}

.petition-accordion-item:first-child {
	border-top: none;
}

.petition-accordion-header {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 16px 12px 16px 20px;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
}

.petition-accordion-item.is-open .petition-accordion-header {
	background: #ffffff;
	border-radius: 8px 8px 0 0;
	box-shadow: 0px 8px 16px rgba(145, 158, 171, 0.16);
}

.petition-accordion-number {
	font-size: 18px;
	font-weight: 600;
	color: #202f44;
	flex-shrink: 0;
}

.petition-accordion-question {
	flex: 1;
	font-size: 18px;
	font-weight: 600;
	line-height: 24px;
	color: #202f44;
}

.petition-accordion-icon {
	position: relative;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	transform: rotate(180deg);
	transition: transform 0.3s ease;
}

.petition-accordion-item.is-open .petition-accordion-icon {
	transform: rotate(0deg);
}

.petition-accordion-icon img {
	position: absolute;
	inset: 0;
	width: 24px;
	height: 24px;
	transition: opacity 0.2s;
}

.accordion-icon-hover {
	opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
	.petition-accordion-header:hover .accordion-icon-default {
		opacity: 0;
	}

	.petition-accordion-header:hover .accordion-icon-hover {
		opacity: 1;
	}
}

.petition-accordion-body {
	display: none;
	padding: 0 28px 16px;
	background: #ffffff;
	border-radius: 0 0 8px 8px;
	box-shadow: 0px 8px 16px rgba(145, 158, 171, 0.16);
}

.petition-accordion-item.is-open .petition-accordion-body {
	display: block;
}

.petition-accordion-body p {
	font-size: 16px;
	font-weight: 400;
	line-height: 22px;
	color: #202f44;
	margin: 0;
}

/* ----- Petition Form (sticky column on desktop) ----- */
.petition-form-aside {
	width: 100%;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
}

/* ----- Petition Form Card ----- */
.petition-form-card {
	background: #ffffff;
	border: 2px solid rgba(229, 229, 229, 0);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0px 4px 15px rgba(32, 47, 68, 0.12);
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 100%;
}

.petition-form-header {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.petition-form-title {
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
	color: #202f44;
}

.petition-form-subtitle {
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
	color: #202f44;
}

/* ----- Progress Bar ----- */
.petition-progress {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.petition-progress-bar {
	height: 8px;
	background: #f0f0f0;
	border-radius: 4px;
	overflow: hidden;
}

.petition-progress-fill {
	height: 100%;
	background: #4280de;
	border-radius: 4px;
	transition: width 0.5s ease;
}

.petition-progress-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f3f9ff;
	border-radius: 24px;
	padding: 5px 16px;
	height: 25px;
	width: fit-content;
}

.petition-progress-count {
	font-size: 12px;
	font-weight: 500;
	color: #4280de;
	white-space: nowrap;
}

.petition-progress-count strong {
	font-weight: 700;
}

/* ----- Petition Form ----- */
.petition-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.petition-form-row {
	display: flex;
	gap: 12px;
}

.petition-input {
	flex: 1;
	min-width: 0;
}

.petition-input input,
.petition-input select {
	width: 100%;
	border: none;
	outline: none;
	background: transparent;
	font-size: 16px;
	font-weight: 500;
	color: #202f44;
	padding: 0;
}

.petition-input input::placeholder,
.petition-input select {
	color: #6c7d96;
}

.petition-input select {
	appearance: none;
	cursor: pointer;
}

.petition-select-group {
	position: relative;
	display: flex;
	align-items: center;
}

.petition-select-icon {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%) rotate(180deg);
	width: 24px;
	height: 24px;
	pointer-events: none;
}

.petition-select-icon img {
	width: 100%;
	height: 100%;
}

.petition-submit-btn {
	margin-top: 12px;
}

.petition-form-disclaimer {
	box-sizing: border-box;
	display: block;
	width: 500px;
	max-width: 100%;
	height: auto;
	min-height: 54px;
	margin: 16px 0 0;
	font-size: 11px;
	font-weight: 400;
	line-height: 18.37px;
	color: rgb(115, 115, 115);
	tab-size: 4;
}

/* ============================================================
   PETITIONS PAGE — DESKTOP (min-width: 1024px)
   ============================================================ */
@media (min-width: 1024px) {
	.petition-hero {
		height: 500px;
	}

	.petition-hero-img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	.petition-hero-badge {
		top: 35px;
		bottom: auto;
	}

	.petition-content-section {
		padding: 100px 80px;
		gap: 100px;
		max-width: var(--layout-max-width);
		margin: 0 auto;
	}

	.petition-header {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		max-width: 1000px;
		margin: 0 auto;
	}

	.petition-back-btn {
		margin-right: -147px;
	}

	.petition-header-text {
		max-width: 1025px;
		align-items: center;
	}

	.petition-title {
		font-size: 44px;
		line-height: 56px;
	}

	.petition-subtitle {
		font-size: 20px;
		max-width: 684px;
		margin: 0 auto;
	}

	.petition-main {
		flex-direction: row;
		gap: 40px;
		max-width: 1004px;
		margin: 0 auto;
		align-items: flex-start;
	}

	.petition-article {
		flex: 1;
		min-width: 0;
	}

	.petition-form-spacer {
		display: none;
		flex-shrink: 0;
	}

	.petition-form-aside {
		width: 433px;
		flex-shrink: 0;
		align-self: flex-start;
	}

	.petition-section-title {
		font-size: 36px;
		line-height: 44px;
	}

	.petition-text {
		font-size: 18px;
	}

	.petition-project-box {
		padding: 40px 28px;
	}

	.petition-project-badge {
		margin-left: -28px;
	}

	.petition-form-card {
		max-height: calc(100vh - var(--header-height) - 40px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.petition-subsection-title {
		font-size: 24px;
	}
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-page {
	background: #ffffff;
	width: 100%;
}

.contact-hero {
	padding: 24px 20px 40px;
	gap: 0;
	align-items: stretch;
}

.contact-hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: 100%;
	max-width: 100%;
}

.contact-back-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	align-self: flex-start;
	color: #202f44;
	font-size: 16px;
	font-weight: 600;
	padding: 10px 20px;
	border-radius: 30px;
}

.contact-back-btn img {
	width: 24px;
	height: 24px;
}

.contact-hero-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
	width: 100%;
}

.contact-title {
	font-size: 40px;
	font-weight: 700;
	line-height: 44px;
	color: #202f44;
}

.contact-desc {
	font-size: 18px;
	font-weight: 500;
	line-height: normal;
	color: #202f44;
}

.contact-schedule-btn {
	width: 100%;
	max-width: 320px;
	height: 46px;
}

.contact-form-section {
	padding: 40px 20px;
	gap: 0;
	align-items: stretch;
}

.contact-form-layout {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
}

.contact-map-wrap {
	width: 100%;
	border: 12px solid #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 30px rgba(32, 47, 68, 0.12);
	background: #202f44;
}

.contact-map {
	display: block;
	width: 100%;
	aspect-ratio: 513 / 342;
	border: 0;
	background: #4280DE;
	filter: invert(90%) hue-rotate(190deg) brightness(1.4) contrast(0.85) saturate(1.3);
}

.contact-form-wrap {
	width: 100%;
}

.contact-submit-area {
	align-self: flex-end;
	width: 100%;
}

.contact-submit-success.visible {
	justify-content: flex-end;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
}

.contact-form-fields {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.contact-form-row {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.contact-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	min-width: 0;
}

.contact-field .newsletter-error {
	margin-top: 0;
}

.contact-textarea-group {
	align-items: flex-start;
	height: auto;
	min-height: 160px;
	padding: 20px 23px;
	border-radius: 16px;
}

.contact-textarea-group textarea {
	min-height: 120px;
	line-height: normal;
	resize: none;
}

.contact-submit-btn {
	align-self: flex-end;
	width: 100%;
	max-width: 100%;
	height: 46px;
}

.contact-calendar-cta {
	padding: 48px 20px;
	gap: 0;
	text-align: center;
}

.contact-calendar-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: 100%;
	max-width: 100%;
}

.contact-calendar-title {
	font-size: 28px;
	font-weight: 700;
	line-height: 36px;
	color: #f5f4f0;
}

.contact-calendar-desc {
	font-size: 16px;
	font-weight: 400;
	line-height: normal;
	color: #f5f4f0;
}

.contact-calendar-inner .btn {
	width: 100%;
	max-width: 320px;
	height: 46px;
}

/* Calendly modal */
.calendly-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 3000;
	background: rgba(43, 62, 97, 0.6);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0;
}

.calendly-modal-overlay.open {
	opacity: 1;
	visibility: visible;
}

.calendly-modal {
	background: #ffffff;
	border-radius: 16px 16px 0 0;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	max-height: 92vh;
	overflow: hidden;
	transform: translateY(100%);
	transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.calendly-modal-overlay.open .calendly-modal {
	transform: translateY(0);
}

.calendly-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid #e5e5e5;
	flex-shrink: 0;
}

.calendly-modal-title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	color: #202f44;
}

.calendly-modal-close {
	width: 24px;
	height: 24px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	flex-shrink: 0;
}

.calendly-modal-close img {
	width: 24px;
	height: 24px;
}

.calendly-modal-body {
	flex: 1;
	min-height: 0;
	overflow: hidden;
}

.calendly-modal-body .calendly-embed {
	width: 100%;
	min-height: 480px;
	height: calc(92vh - 72px);
}

/* ============================================================
   CONTACT PAGE — DESKTOP (min-width: 1024px)
   ============================================================ */
@media (min-width: 1024px) {
	.contact-hero {
		padding: 60px 80px 40px;
		max-width: var(--layout-max-width);
		margin: 0 auto;
	}

	.contact-hero-inner {
		position: relative;
		align-items: center;
		gap: 40px;
		max-width: 1178px;
		margin: 0 auto;
		width: 100%;
	}

	.contact-back-btn {
		position: absolute;
		left: 0;
		top: 0;
	}

	.contact-hero-text {
		max-width: 684px;
	}

	.contact-title {
		font-size: 44px;
		line-height: 56px;
	}

	.contact-desc {
		font-size: 20px;
	}

	.contact-schedule-btn {
		width: auto;
	}

	.contact-form-section {
		padding: 60px 80px;
		max-width: var(--layout-max-width);
		margin: 0 auto;
	}

	.contact-form-layout {
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
		gap: 54px;
		max-width: 1280px;
		margin: 0 auto;
	}

	.contact-map-wrap {
		width: 513px;
		flex-shrink: 0;
		align-self: flex-start;
		border-radius: 24px;
	}

	.contact-map {
		width: 100%;
		height: 342px;
		aspect-ratio: auto;
	}

	.contact-form-wrap {
		flex: 1;
		min-width: 0;
		max-width: 693px;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.contact-form-row {
		flex-direction: row;
		gap: 16px;
	}

	.contact-form-row .contact-field {
		flex: 1;
	}

	.contact-submit-area {
		width: auto;
	}

	.contact-submit-btn {
		width: auto;
		min-width: 180px;
	}

	.contact-calendar-cta {
		padding: 60px 80px;
		max-width: var(--layout-max-width);
		margin: 0 auto;
	}

	.contact-calendar-inner {
		gap: 32px;
		max-width: 834px;
		margin: 0 auto;
	}

	.contact-calendar-title {
		font-size: 36px;
		line-height: 44px;
	}

	.contact-calendar-desc {
		font-size: 18px;
		max-width: 752px;
	}

	.calendly-modal-overlay {
		align-items: center;
		padding: 24px;
	}

	.calendly-modal {
		border-radius: 16px;
		max-width: 900px;
		max-height: 85vh;
		transform: scale(0.92);
		opacity: 0;
		transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.35s ease;
	}

	.calendly-modal-overlay.open .calendly-modal {
		transform: scale(1);
		opacity: 1;
	}

	.calendly-modal-header {
		padding: 20px 24px;
	}

	.calendly-modal-title {
		font-size: 28px;
	}

	.calendly-modal-body .calendly-embed {
		min-height: 600px;
		height: calc(85vh - 80px);
	}
}

/* --- Article page --- */
.article-page {
	position: relative;
	background: #ffffff;
}

.legal-page .article-intro {
	padding: 40px 0 0;
}

.legal-page .article-body-wrap {
	padding: 40px 0 80px;
}

.legal-page .article-intro-inner,
.legal-page .article-body-inner {
	max-width: var(--layout-max-width);
	width: 100%;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

.legal-page .article-intro-content {
	align-items: center;
	text-align: center;
	width: 100%;
}

.legal-page .article-title {
	max-width: 684px;
	width: 100%;
}

.article-new-badge {
	position: absolute;
	top: 121px;
	left: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	padding: 0 11px;
	background: #4280de;
	color: #fffffe;
	font-size: 14px;
	font-weight: 800;
	line-height: 24px;
}

.article-hero {
	width: 100%;
	height: 280px;
	overflow: hidden;
}

.article-hero img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-intro {
	padding: 24px 20px 0;
}

.article-intro-inner {
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.article-back-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	align-self: flex-start;
	padding: 10px 20px;
	border-radius: 30px;
	color: #202f44;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}

.article-back-btn img {
	width: 24px;
	height: 24px;
}

.article-intro-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
}

.article-title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
	color: #202f44;
	max-width: 684px;
}

.article-excerpt {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	color: #202f44;
	max-width: 684px;
}

.article-tag {
	margin-top: 8px;
}

.article-body-wrap {
	padding: 40px 20px 60px;
}

.article-body-inner {
	max-width: 1000px;
	margin: 0 auto;
}

.article-body {
	display: flex;
	flex-direction: column;
	gap: 32px;
	color: #202f44;
}

.article-body-hero {
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
}

.article-body-hero img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.article-body-title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.article-body-subtitle {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
}

.article-body p {
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
}

.article-legal-toc,
.article-legal-list {
	margin: 0;
	padding-left: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.article-legal-toc li,
.article-legal-list li {
	font-size: 16px;
	line-height: 1.6;
	color: #202f44;
}

.article-inline-link {
	color: #4280de;
	text-decoration: underline;
}

.article-bullet-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.article-bullet-list li {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.article-bullet-list li::before {
	content: '';
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-top: 4px;
	background: url('icons/icon-triangle-blue.svg') center / contain no-repeat;
	transform: rotate(-90deg);
}

.article-bullet-list strong {
	display: block;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 16px;
}

.article-bullet-list span {
	font-size: 16px;
	line-height: 1.6;
}

.article-image-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.article-image-grid img {
	display: block;
	width: 100%;
	height: 195px;
	object-fit: cover;
	border-radius: 8px;
}

.article-comments-section {
	padding: 0 20px 40px;
}

.article-comments-layout {
	max-width: 1000px;
	margin: 0 auto;
}

.article-comments-heading {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 32px;
}

.article-comments-heading img {
	width: 34px;
	height: 34px;
	flex-shrink: 0;
}

.article-comments-heading h2 {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
	color: #202f44;
}

.article-comments-list {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.article-comments-empty {
	font-size: 16px;
	color: #6c7d96;
}

.article-comment {
	display: flex;
	gap: 28px;
	align-items: flex-start;
}

.article-comment-pending {
	background: #f3f9ff;
	border-radius: 8px;
	padding: 16px 12px;
}

.article-comment-avatar {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #f5f4f0;
	color: #68788e;
	font-size: 18px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
}

.article-comment-body {
	flex: 1;
	min-width: 0;
	padding-top: 12px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.article-comment-text {
	font-size: 16px;
	line-height: 1.5;
	color: #202f44;
}

.article-comment-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	align-items: center;
}

.article-comment-author {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 500;
	color: #222222;
}

.article-comment-author img {
	width: 20px;
	height: 20px;
}

.article-comment-time {
	font-size: 14px;
	color: #6c7d96;
}

.article-comment-notice {
	font-size: 12px;
	font-weight: 500;
	color: #de4245;
	background: rgba(222, 66, 69, 0.06);
	border-radius: 4px;
	padding: 6px 8px;
}

.article-comment-form-wrap {
	position: sticky;
	bottom: 0;
	z-index: 20;
	background: #ffffff;
	box-shadow: 0 -8px 20px rgba(32, 47, 68, 0.08);
	padding: 24px 20px 32px;
	margin-top: 32px;
}

.article-comment-form-inner {
	max-width: 1000px;
	margin: 0 auto;
}

.article-comment-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.article-comment-input-wrap {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: stretch;
	background: #f9f9f9;
	border-radius: 16px;
	padding: 24px;
	min-height: 160px;
}

.article-comment-input-wrap textarea {
	border: none;
	outline: none;
	background: transparent;
	resize: none;
	width: 100%;
	min-height: 72px;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #202f44;
	flex: 1;
}

.article-comment-input-wrap textarea::placeholder {
	color: #6c7d96;
}

.article-comment-submit {
	align-self: flex-end;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 39px;
	padding: 10px 20px;
	font-size: 16px;
}

.article-comment-submit img {
	width: 24px;
	height: 24px;
}

.article-recommended {
	padding: 60px 20px;
	background: #2b3e61;
}

.article-recommended-inner {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 40px;
	align-items: center;
}

.article-recommended-title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
	text-align: center;
}

.article-recommended-grid {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
	align-items: center;
}

.article-recommended .blog-card {
	width: 100%;
	max-width: 380px;
}

/* Auth modals */
.auth-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 4000;
	background: rgba(43, 62, 97, 0.72);
	backdrop-filter: blur(6px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.auth-modal-overlay.open {
	opacity: 1;
	visibility: visible;
}

.auth-modal {
	background: #ffffff;
	border-radius: 16px;
	width: 100%;
	max-width: 515px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	padding: 24px;
}

.auth-modal-panel {
	display: none;
	flex-direction: column;
	gap: 32px;
}

.auth-modal-panel.is-active {
	display: flex;
}

.auth-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.auth-modal-title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #202f44;
}

.auth-modal-close {
	width: 27px;
	height: 27px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	flex-shrink: 0;
}

.auth-modal-close img {
	width: 24px;
	height: 24px;
}

.auth-modal-desc {
	font-size: 16px;
	line-height: 1.5;
	color: #202f44;
	margin: 0;
}

.auth-modal-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.auth-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.auth-input {
	width: 100%;
	border: 1px solid #e5e5e5;
	border-radius: 30px;
	height: 54px;
	padding: 16px 23px;
}

.auth-input.input-error {
	border-color: #de4245;
}

.auth-link-btn {
	align-self: flex-end;
	border: none;
	background: none;
	padding: 10px 20px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	color: #4280de;
	cursor: pointer;
}

.auth-link-inline {
	align-self: auto;
	padding: 0;
	font-size: 18px;
}

.auth-submit-btn {
	width: 100%;
	height: 46px;
	font-size: 18px;
}

.auth-form-error {
	display: none;
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	color: #de4245;
}

.auth-form-error.visible {
	display: block;
}

.auth-divider {
	display: flex;
	align-items: center;
	gap: 16px;
	color: #71717b;
	font-size: 16px;
}

.auth-divider::before,
.auth-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e5e5e5;
}

.auth-social-row {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.auth-social-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	height: 48px;
	border: 1px solid #e5e5e5;
	border-radius: 24px;
	background: #ffffff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	color: #3f3f47;
	cursor: not-allowed;
	opacity: 0.7;
}

.auth-social-btn img {
	width: 20px;
	height: 20px;
}

.auth-switch {
	margin: 0;
	text-align: center;
	font-size: 16px;
	color: #202f44;
}

@media (min-width: 768px) {
	.article-hero {
		height: 420px;
	}

	.article-title {
		font-size: 36px;
	}

	.article-excerpt {
		font-size: 18px;
	}

	.article-body-title {
		font-size: 36px;
	}

	.article-comments-heading h2 {
		font-size: 24px;
	}

	.article-image-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.article-recommended-grid {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 32px;
	}

	.auth-social-row {
		flex-direction: row;
	}

	.auth-social-btn {
		flex: 1;
	}
}

@media (min-width: 1024px) {
	.article-hero {
		height: 524px;
	}

	.article-title {
		font-size: 44px;
		line-height: 56px;
	}

	.article-excerpt {
		font-size: 20px;
	}

	.article-intro-inner {
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
	}

	.article-intro-content {
		flex: 1;
		padding-top: 0;
	}

	.article-body p,
	.article-bullet-list span {
		font-size: 18px;
	}

	.article-comment-form-wrap {
		position: static;
		box-shadow: none;
		padding: 32px 0 0;
		margin-top: 0;
	}

	.article-comments-section {
		padding-bottom: 100px;
	}

	.article-recommended {
		padding: 100px 80px;
	}

	.article-recommended-title {
		font-size: 36px;
	}

	.auth-modal-title {
		font-size: 36px;
	}

	.legal-page .article-intro-inner,
	.legal-page .article-body-inner {
		padding-left: var(--layout-gutter-header-left);
		padding-right: var(--layout-gutter);
	}

	.legal-page .article-intro-inner {
		flex-direction: column;
	}
}
