/* Portal BORA parteneri - stil inspirat din partner.bora.com */

:root {
	--ink: #111214;
	--ink-soft: #4a4d52;
	--muted: #83878e;
	--line: #e3e4e6;
	--line-strong: #c9cbcf;
	--bg: #ffffff;
	--bg-soft: #f5f5f6;
	--accent: #111214;
	--danger: #b3261e;
	--ok: #1d6f42;
	--maxw: 1240px;
	--radius: 2px;
}

* { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1, h2, h3, h4 {
	margin: 0 0 .5em 0;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.12;
}

h1 { font-size: clamp(38px, 6vw, 76px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: 20px; }

p { margin: 0 0 1em 0; }

.wrap {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 32px;
}

@media (max-width: 700px) {
	.wrap { padding: 0 20px; }
}

/* ---------- header ---------- */

.site-header {
	position: absolute;
	top: 0; left: 0; right: 0;
	z-index: 40;
}

.site-header.solid {
	position: sticky;
	background: #fff;
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 32px;
	height: 76px;
}

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 21px; display: block; }
.brand .sub {
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: rgba(255,255,255,.75);
	border-left: 1px solid rgba(255,255,255,.35);
	padding-left: 14px;
}
.solid .brand .sub { color: var(--muted); border-left-color: var(--line-strong); }

.header-nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.header-nav a {
	color: #fff;
	text-decoration: none;
	font-size: 15px;
}
.solid .header-nav a { color: var(--ink); }
.header-nav a:hover { opacity: .7; }

/* ---------- hero ---------- */

.hero {
	position: relative;
	min-height: 640px;
	display: flex;
	align-items: center;
	color: #fff;
	background: #1b1c1e center/cover no-repeat;
	padding: 130px 0 80px;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.5) 42%, rgba(0,0,0,.18) 100%);
}

.hero .wrap { position: relative; z-index: 2; width: 100%; }

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
	gap: 64px;
	align-items: center;
}

@media (max-width: 940px) {
	.hero-grid { grid-template-columns: 1fr; gap: 40px; }
	.hero { min-height: 0; padding-top: 110px; }
}

.eyebrow {
	font-size: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: rgba(255,255,255,.8);
	margin-bottom: 22px;
}
.eyebrow.dark { color: var(--muted); }

.hero h1 { color: #fff; margin-bottom: 22px; }
.hero .lede {
	font-size: 18px;
	max-width: 30em;
	color: rgba(255,255,255,.9);
	margin-bottom: 0;
}

/* ---------- card / formulare ---------- */

.card {
	background: #fff;
	color: var(--ink);
	padding: 34px;
	box-shadow: 0 24px 60px rgba(0,0,0,.22);
}

.card h2 { font-size: 24px; margin-bottom: 6px; }
.card .card-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

.tabs {
	display: flex;
	gap: 26px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 26px;
}
.tabs button {
	appearance: none;
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	padding: 0 0 12px 0;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--muted);
	cursor: pointer;
}
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }

.field { margin-bottom: 16px; }
.field label {
	display: block;
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-bottom: 6px;
	font-weight: 600;
}
.field input, .field textarea, .field select {
	width: 100%;
	padding: 12px 14px;
	font: inherit;
	font-size: 15px;
	color: var(--ink);
	background: #fff;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
}
.field input:focus, .field textarea:focus, .field select:focus {
	outline: none;
	border-color: var(--ink);
	box-shadow: 0 0 0 3px rgba(17,18,20,.08);
}
.field textarea { min-height: 84px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: var(--ink);
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	cursor: pointer;
	text-decoration: none;
	transition: background .15s, color .15s;
}
.btn:hover { background: #35383d; border-color: #35383d; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--bg-soft); color: var(--ink); }
.btn.small { padding: 9px 16px; font-size: 14px; }

.linkish {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 14px;
	color: var(--ink-soft);
	text-decoration: underline;
	cursor: pointer;
}

.msg {
	padding: 13px 16px;
	font-size: 14px;
	margin-bottom: 18px;
	border-left: 3px solid var(--line-strong);
	background: var(--bg-soft);
}
.msg.error { border-left-color: var(--danger); color: var(--danger); background: #fdf3f2; }
.msg.ok { border-left-color: var(--ok); color: var(--ok); background: #f1f8f3; }
.msg[hidden] { display: none; }

/* ---------- sectiuni ---------- */

.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: 54px; }
.section-head p { color: var(--ink-soft); font-size: 17px; margin-bottom: 0; }

.grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
@media (max-width: 940px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.tile { background: #fff; padding: 34px 28px 38px; }
.tile .num {
	font-size: 12px;
	letter-spacing: .18em;
	color: var(--muted);
	margin-bottom: 20px;
}
.tile h3 { margin-bottom: 10px; }
.tile p { color: var(--ink-soft); font-size: 15px; margin: 0; }

.arrow-link {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	text-decoration: none;
	font-weight: 500;
}
.arrow-link::before { content: "\2192"; }
.arrow-link:hover { text-decoration: underline; }

/* ---------- footer ---------- */

.site-footer {
	background: var(--ink);
	color: rgba(255,255,255,.72);
	padding: 56px 0 40px;
	font-size: 14px;
}
.site-footer img { height: 18px; margin-bottom: 22px; }
.site-footer a { color: #fff; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }

/* ---------- pagina simpla (set-password) ---------- */

.plain {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
	background: var(--bg-soft);
}
.plain .card { width: 100%; max-width: 460px; box-shadow: 0 18px 44px rgba(0,0,0,.12); }
.plain .brand { justify-content: center; margin-bottom: 26px; }
.plain .brand img { height: 22px; }
