/**
 * HCB components — header, footer, secțiuni comune, carduri, servicii.
 * Depinde de base.css (reset). Fără duplicare a regulilor din base.
 */

/* —— Topbar —— */
.topbar {
	background: #f0f0f0;
	border-bottom: 1px solid #ddd;
	padding: 7px 0;
}

.topbar-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.tb-l {
	font-size: 12px;
	color: #555;
	display: flex;
	align-items: center;
	gap: 12px;
}

.tb-dot {
	width: 5px;
	height: 5px;
	background: #c8001a;
	border-radius: 50%;
	flex-shrink: 0;
}

.tb-r a {
	color: #555;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	margin-left: 20px;
	font-weight: 600;
}

/* —— Nav —— */
.nav {
	background: #fff;
	border-bottom: 1px solid #e8e8e8;
	padding: 0;
}

.nav-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 90px;
	gap: 16px;
}

.logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.nav-mid {
	font-family: Georgia, serif;
	font-size: 21px;
	font-style: italic;
	color: #555;
	font-weight: 400;
	letter-spacing: 0.01em;
	flex: 1;
	text-align: center;
}

.nav-right {
	display: flex;
	align-items: center;
	gap: 0;
	flex-shrink: 0;
}

.nav-angebot {
	font-size: 17px;
	color: #1a1a1a;
	font-weight: 500;
	text-decoration: none;
	padding-right: 18px;
}

.nav-sep {
	width: 1px;
	height: 32px;
	background: #ccc;
	margin-right: 18px;
}

.nav-tel {
	font-size: 14px;
	font-weight: 700;
	color: #1a1a1a;
	text-decoration: none;
}

a.nav-tel:hover {
	color: #c8001a;
}

/* —— Meniu principal (fallback HTML) —— */
.menu {
	border-bottom: 1px solid #e8e8e8;
}

.menu-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	width: 100%;
}

.menu-item {
	position: relative;
	flex: 1;
}

.menu-item > a {
	display: block;
	width: 100%;
	text-align: center;
	padding: 13px 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #333;
	text-decoration: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
}

.menu-item > a.on,
.menu a.on {
	color: #c8001a;
	border-bottom-color: #c8001a;
}

.menu-item:hover > a {
	color: #c8001a;
}

.menu a {
	display: block;
	flex: 1;
	text-align: center;
	padding: 13px 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #333;
	text-decoration: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
}

.drop-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	border: 1px solid #e8e8e8;
	border-top: 2px solid #c8001a;
	min-width: 220px;
	z-index: 999;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.menu-item:hover .drop-menu {
	display: block;
}

.drop-menu a {
	display: block;
	padding: 11px 20px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: none;
	color: #333;
	text-decoration: none;
	border-bottom: 1px solid #f0f0f0;
	white-space: nowrap;
	text-align: left;
}

.drop-menu a:last-child {
	border-bottom: none;
}

.drop-menu a:hover {
	background: #f7f4ef;
	color: #c8001a;
}

/* —— Secțiuni —— */
.section {
	padding: 52px 24px;
}

.section-inner {
	max-width: 1100px;
	margin: 0 auto;
}

.sec-label {
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #c8001a;
	font-weight: 700;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.sec-label::before,
.sec-label::after {
	content: '';
	width: 22px;
	height: 2px;
	background: #c8001a;
	display: block;
}

/* —— Page hero (legacy .page-hero + eyebrow) —— */
.page-hero {
	background: #fff;
	border-bottom: 1px solid #e8e8e8;
	padding: 44px 0;
}

.page-hero-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
	position: relative;
	overflow: hidden;
}

.page-hero-inner::after {
	content: '';
	position: absolute;
	right: -20px;
	top: -20px;
	width: 180px;
	height: 180px;
	border: 36px solid #f7f4ef;
	border-radius: 50%;
	z-index: 0;
}

.page-hero-content {
	position: relative;
	z-index: 1;
	max-width: 560px;
}

.page-hero h1 {
	font-size: 38px;
	font-weight: 700;
	color: #08152a;
	line-height: 1.1;
	margin-bottom: 10px;
	font-family: Georgia, serif;
}

.page-hero h1 em {
	color: #08152a;
	font-style: italic;
	font-weight: 700;
}

.page-hero p {
	font-size: 17px;
	color: #777;
	font-weight: 300;
	line-height: 1.75;
	max-width: 480px;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.ey-line {
	width: 20px;
	height: 2px;
	background: #c8001a;
	flex-shrink: 0;
}

.ey-txt {
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #fff;
	font-weight: 600;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hcb-page-hero .ey-txt,
.ey-on-dark {
	color: #fff;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.split-text .ey-txt {
	color: #c8001a;
	text-shadow: none;
}

/* —— Hero nav box (servicii) —— */
.hero-nav-box {
	background: rgba(247, 244, 239, 0.96);
	border: 1px solid #e2dfd8;
	border-left: 3px solid #c8001a;
	padding: 20px 22px;
	min-width: 210px;
	max-width: 220px;
	flex-shrink: 0;
	align-self: flex-start;
}

.hero-nav-box-label {
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #c8001a;
	font-weight: 700;
	margin-bottom: 12px;
}

.hero-nav-box a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 0;
	border-bottom: 1px solid #e2dfd8;
	font-size: 14px;
	color: #08152a;
	text-decoration: none;
	font-weight: 400;
}

.hero-nav-box a:last-child {
	border-bottom: none;
}

.hero-nav-box a.active {
	color: #c8001a;
	font-weight: 600;
}

.hn-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #ccc;
	flex-shrink: 0;
}

.hero-nav-box a.active .hn-dot {
	background: #c8001a;
}

/* —— Info bar —— */
.info-bar {
	border-bottom: 1px solid #e8e8e8;
}

.info-bar-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.info-item {
	padding: 18px 0;
	display: flex;
	align-items: center;
	gap: 12px;
	border-right: 1px solid #e8e8e8;
}

.info-item:last-child {
	border-right: none;
}

.info-icon {
	width: 32px;
	height: 32px;
	background: rgba(200, 0, 26, 0.07);
	border: 1px solid rgba(200, 0, 26, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 14px;
	color: #c8001a;
}

.info-label {
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #888;
	font-weight: 500;
	margin-bottom: 2px;
}

.info-val {
	font-size: 14px;
	font-weight: 600;
	color: #08152a;
	line-height: 1.35;
}

.info-sub {
	font-size: 14px;
	color: #777;
	font-weight: 300;
}

/* —— Red CTA —— */
.red-cta {
	background: #c8001a;
	padding: 36px 0;
}

.red-cta-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.red-cta-l {
	font-family: Georgia, serif;
	font-size: 24px;
	font-style: italic;
	color: #fff;
	font-weight: 600;
}

.red-cta-sub {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
	font-weight: 300;
	margin-top: 4px;
}

.red-cta-r {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
	flex-wrap: wrap;
}

.red-cta-tel {
	font-size: 21px;
	font-weight: 700;
	color: #fff;
	font-family: Georgia, serif;
	text-decoration: none;
}

a.red-cta-tel:hover {
	color: #fff;
	opacity: 0.9;
}

.red-cta-btn {
	background: #fff;
	color: #c8001a;
	border: none;
	padding: 12px 24px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	cursor: pointer;
	font-family: Arial, sans-serif;
	white-space: nowrap;
	text-decoration: none;
	display: inline-block;
}

/* —— Footer —— */
footer {
	background: #1a1a1a;
	color: rgba(255, 255, 255, 0.45);
	padding: 44px 0 18px;
}

.ft-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
}

.ft {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ft-brand .ft-logo {
	font-size: 24px;
	font-weight: 800;
	color: #c8001a;
	margin-bottom: 8px;
}

.ft-brand p {
	font-size: 12px;
	line-height: 1.8;
	font-weight: 300;
}

.ft-col h4 {
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 10px;
	font-weight: 700;
}

.ft-col ul {
	list-style: none;
}

.ft-col li {
	margin-bottom: 6px;
}

.ft-col a {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
	text-decoration: none;
}

.ft-col-contact .ft-contact-hours {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ft-col-contact .ft-contact-hours span,
.ft-col-contact li > span {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
	line-height: 1.5;
}

.ft-col-contact .ft-contact-sub {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.28);
}

.ft-bottom {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	flex-wrap: wrap;
	gap: 12px;
}

.ft-bottom a {
	color: rgba(255, 255, 255, 0.25);
	text-decoration: none;
	margin-left: 14px;
}

/* —— Service layout helpers —— */
.dl-wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: flex-end;
	gap: 28px;
}

.dl-hero-content {
	flex: 1;
}

/* —— Cards —— */
.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
}

.card {
	background: #f7f4ef;
	padding: 24px 20px;
	border-bottom: 3px solid transparent;
}

.card-img {
	height: 150px;
	background: #1a1e28;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: relative;
	margin: -24px -20px 18px;
	overflow: hidden;
}

.card-img .hcb-img-cover {
	position: absolute;
	inset: 0;
	margin: 0;
	height: 100%;
}

.card-img-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	background: #c8001a;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 2px 6px;
	z-index: 1;
}

.card-img-lbl {
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	text-align: center;
	padding: 0 10px;
}

.card-num {
	font-family: Georgia, serif;
	font-size: 34px;
	color: rgba(21, 82, 168, 0.07);
	font-weight: 700;
	line-height: 1;
	margin-bottom: 8px;
}

.card h3 {
	font-size: 14px;
	font-weight: 700;
	color: #08152a;
	margin-bottom: 6px;
	line-height: 1.3;
}

.card p {
	font-size: 12px;
	color: #777;
	line-height: 1.7;
	font-weight: 300;
}

.card-dark {
	background: #08152a;
	padding: 24px 20px;
	border-bottom: 3px solid #c8001a;
}

.card-dark h3 {
	font-family: Georgia, serif;
	font-size: 17px;
	color: #fff;
	font-weight: 600;
	margin-bottom: 7px;
}

.card-dark p {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
	font-weight: 400;
	line-height: 1.7;
}

.card-dark .card-num {
	color: rgba(255, 255, 255, 0.04);
}

.btn-sm {
	display: inline-block;
	margin-top: 12px;
	background: #c8001a;
	color: #fff;
	border: none;
	padding: 8px 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	cursor: pointer;
	font-family: Arial, sans-serif;
	text-decoration: none;
}

/* —— Split / imagini —— */
.split-wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.img-ph {
	background: #1a1e28;
	min-height: 160px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: relative;
	overflow: hidden;
}

.split-wrap .img-ph {
	min-height: 280px;
}

.img-ph .hcb-img-cover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.img-ph-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	background: #c8001a;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 2px 6px;
	z-index: 1;
}

.img-ph-lbl {
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	text-align: center;
	padding: 0 10px;
}

.split-text h2 {
	font-family: Georgia, serif;
	font-size: 24px;
	color: #08152a;
	font-weight: 700;
	margin-bottom: 10px;
	line-height: 1.2;
}

.split-text p {
	font-size: 14px;
	color: #666;
	line-height: 1.8;
	font-weight: 300;
	margin-bottom: 8px;
}

/* —— Feature grid (legacy) —— */
.feat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
}

.feat {
	background: #fff;
	padding: 24px 20px;
	border-bottom: 3px solid transparent;
}

.feat-num {
	font-family: Georgia, serif;
	font-size: 34px;
	color: rgba(21, 82, 168, 0.06);
	font-weight: 700;
	line-height: 1;
	margin-bottom: 7px;
}

.feat h3 {
	font-size: 14px;
	font-weight: 700;
	color: #08152a;
	margin-bottom: 5px;
}

.feat p {
	font-size: 12px;
	color: #777;
	line-height: 1.7;
	font-weight: 300;
}

.feat-dark {
	background: #08152a;
	padding: 24px 20px;
	border-bottom: 3px solid #c8001a;
}

.feat-dark h3 {
	font-size: 17px;
	color: #fff;
	font-weight: 600;
	margin-bottom: 7px;
	font-family: Georgia, serif;
}

.feat-dark p {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
	line-height: 1.7;
}

/* —— Services overview strip —— */
.ov-strip {
	background: #08152a;
	padding: 26px 0;
}

.ov-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
}

.ov-strip h3 {
	font-family: Georgia, serif;
	font-size: 17px;
	color: #fff;
	font-weight: 600;
	margin-bottom: 14px;
}

.ov-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
}

.ov-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.65);
	font-weight: 300;
    text-decoration: none;
}

/* a.ov-item {
	text-decoration: none;
	color: inherit;
} */

a.ov-item:hover {
	color: rgba(255, 255, 255, 0.9);
}

.ov-dot {
	width: 4px;
	height: 4px;
	background: #c8001a;
	border-radius: 50%;
	flex-shrink: 0;
}

/* —— Imagini —— */
.hcb-img-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hcb-img-cover--rounded {
	border-radius: 4px;
}

/* —— Button hovers (theme-wide) —— */
.btn-r,
.btn-n,
.btn-sm,
.btn-svc,
.bb,
.red-cta-btn,
.hcb-job-btn,
.hcb-cf7-kontakt input.wpcf7-submit,
.hcb-cf7-jobs-modal input.wpcf7-submit,
.hcb-jobs-apply-card .hcb-cf7-jobs-modal input.wpcf7-submit {
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		opacity 0.2s ease,
		transform 0.2s ease;
}

.btn-r:hover,
.btn-n:hover,
.btn-r:focus-visible,
.btn-n:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
	color: #fff;
}

.btn-sm:hover,
.btn-svc:hover,
.hcb-job-btn:hover,
.hcb-cf7-kontakt input.wpcf7-submit:hover,
.hcb-cf7-jobs-modal input.wpcf7-submit:hover,
.hcb-jobs-apply-card .hcb-cf7-jobs-modal input.wpcf7-submit:hover,
.btn-sm:focus-visible,
.btn-svc:focus-visible,
.hcb-job-btn:focus-visible,
.hcb-cf7-kontakt input.wpcf7-submit:focus-visible,
.hcb-cf7-jobs-modal input.wpcf7-submit:focus-visible {
	background: #a30016;
	color: #fff;
}

.hcb-job-btn-dark:hover,
.hcb-job-btn-dark:focus-visible {
	background: #0f2d52;
	color: #fff;
}

.bb:hover,
.bb:focus-visible {
	background: #124896;
	color: #fff;
}

.red-cta-btn:hover,
.red-cta-btn:focus-visible {
	background: #f0ebe3;
	color: #a30016;
}

a.nav-angebot:hover,
a.nav-angebot:focus-visible {
	color: #c8001a;
}

.hcb-job-modal__close:hover,
.hcb-job-modal__close:focus-visible {
	color: #c8001a;
	background: rgba(8, 21, 42, 0.06);
	border-radius: 4px;
}

@media (prefers-reduced-motion: no-preference) {
	.btn-sm:hover,
	.btn-svc:hover,
	.bb:hover,
	.red-cta-btn:hover,
	.hcb-job-btn:hover,
	.hcb-cf7-kontakt input.wpcf7-submit:hover,
	.hcb-cf7-jobs-modal input.wpcf7-submit:hover {
		transform: translateY(-1px);
	}

	.btn-sm:active,
	.btn-svc:active,
	.bb:active,
	.red-cta-btn:active,
	.hcb-job-btn:active,
	.hcb-cf7-kontakt input.wpcf7-submit:active,
	.hcb-cf7-jobs-modal input.wpcf7-submit:active {
		transform: translateY(0);
	}
}
