/* Humana Slovenija — Home page */

:root {
	--humana-blue: #0D67A2;
	--humana-blue-dark: #0a527f;
	--humana-orange: #367454;
	--humana-light: #f0f7ff;
	--humana-light-gradient: linear-gradient(135deg, #f0f7ff 0%, #e3f0fc 45%, #f5faff 100%);
	--radius-lg: 20px;
	--radius-btn: 8px;
	--container: 1240px;
	--font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
	margin: 0;
	font-family: var(--font);
	color: var(--humana-blue);
	background: #fff;
	overflow-x: hidden;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.humana-site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.humana-main {
	flex: 1;
}

.humana-container {
	width: min(100% - 2.5rem, var(--container));
	margin-inline: auto;
}

/* —— Header —— */
.humana-header {
	background: var(--humana-blue);
	color: #fff;
	padding: 0.85rem 0;
	position: sticky;
	top: 0;
	z-index: 100;
}

.humana-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.humana-logo {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: #fff;
	flex-shrink: 0;
}

.humana-logo__img {
	height: 46px;
	width: auto;
	display: block;
}

.humana-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.humana-logo__title {
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.humana-logo__subtitle {
	font-size: 0.8rem;
	font-weight: 400;
	opacity: 0.95;
}

.humana-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.35rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.humana-nav a {
	color: #fff;
	text-decoration: none;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: opacity 0.2s;
}

.humana-nav a:hover,
.humana-nav a:focus-visible {
	opacity: 0.85;
}

.humana-nav__num {
	font-weight: 700;
	margin-right: 0.2em;
}

.humana-nav-toggle {
	display: none;
	background: transparent;
	border: 2px solid #fff;
	color: #fff;
	border-radius: 6px;
	padding: 0.35rem 0.65rem;
	font-family: inherit;
	font-size: 0.75rem;
	font-weight: 600;
	cursor: pointer;
}

/* —— Home content —— */
.humana-home {
	padding: 1.75rem 0 2.5rem;
}

.humana-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.humana-card {
	background: var(--humana-light-gradient);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: grid;
	grid-template-columns: 1fr minmax(200px, 42%);
	min-height: 400px;
	position: relative;
}

.humana-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 60% at 90% 50%, rgba(255, 255, 255, 0.7) 0%, transparent 70%);
	pointer-events: none;
}

.humana-card__content {
	padding: 2.25rem 1.75rem 2.25rem 2.25rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.humana-card__title {
	margin: 0 0 0.65rem;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--humana-blue);
	line-height: 1.2;
}

.humana-card__line {
	width: 48px;
	height: 4px;
	background: var(--humana-blue);
	border-radius: 2px;
	margin-bottom: 1.25rem;
}

.humana-card__text {
	margin: 0 0 1.5rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--humana-blue);
	max-width: 22rem;
}

.humana-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 1.35rem;
	border-radius: var(--radius-btn);
	font-family: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform 0.15s, box-shadow 0.15s;
	width: fit-content;
}

.humana-btn:hover,
.humana-btn:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(13, 103, 162, 0.2);
}

.humana-btn--blue {
	background: var(--humana-blue);
	color: #fff;
}

.humana-btn--orange {
	background: var(--humana-orange);
	color: #fff;
}

.humana-btn--white {
	background: #fff;
	color: var(--humana-blue);
}

.humana-btn__arrow {
	font-size: 1.1em;
	line-height: 1;
}

.humana-card__visual {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0.5rem;
	position: relative;
	z-index: 1;
	min-height: 200px;
}

.humana-card__visual {
	min-height: 360px;
}

.humana-card__visual--collection {
	background: url("../images/home-collection-card.jpg") center / cover no-repeat,
		url("../images/mockup-reference.png") 56% 24% / 240% auto no-repeat,
		var(--humana-light-gradient);
}

.humana-card__visual--shops {
	background: url("../images/home-shops-card.jpg") center / cover no-repeat,
		url("../images/mockup-reference.png") 94% 20% / 240% auto no-repeat,
		linear-gradient(135deg, #faf8f5 0%, #f0ebe3 100%);
}

.humana-card--shops .humana-card__visual {
	background-color: #f5f0ea;
}

/* —— Hero carousel —— */
.humana-hero {
	border-radius: var(--radius-lg);
	overflow: hidden;
	position: relative;
	min-height: 280px;
	background: var(--humana-blue);
}

.humana-logo__mark {
	flex-shrink: 0;
}

.humana-hero__track {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	width: 100%;
	transition: transform 0.5s ease;
	will-change: transform;
}

.humana-hero__slide {
	flex: 0 0 100%;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	display: grid;
	grid-template-columns: minmax(280px, 48%) 1fr;
	min-height: 280px;
}

.humana-hero__panel {
	background: linear-gradient(135deg, rgba(13, 103, 162, 0.97) 0%, rgba(10, 82, 127, 0.92) 100%);
	color: #fff;
	padding: 1.6rem 2.25rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.humana-hero__eyebrow {
	margin: 0 0 0.6rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.95;
}

.humana-hero__title {
	margin: 0 0 0.7rem;
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	font-weight: 800;
	line-height: 1.2;
	max-width: 18ch;
}

.humana-hero__text {
	margin: 0 0 1rem;
	font-size: 0.88rem;
	line-height: 1.5;
	max-width: 32rem;
	opacity: 0.95;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.humana-hero__cta-text {
	margin: -0.75rem 0 0.85rem;
	font-size: 0.9rem;
	font-weight: 600;
	opacity: 0.95;
}

.humana-hero__image {
	position: relative;
	min-height: 220px;
	background: #c8d6e5 center / cover no-repeat;
}

.humana-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	display: block;
	min-height: 280px;
}

.humana-hero__image--from-mockup {
	background-image: url("../images/home-hero-slide-1.jpg"), url("../images/mockup-reference.png");
	background-size: cover, 320%;
	background-position: center, 91% 72%;
}

.humana-hero__image--slide-2 {
	background-image: url("../images/home-hero-slide-2.jpg"), url("../images/mockup-reference.png");
	background-size: cover, 280%;
	background-position: center, 48% 68%;
}

.humana-hero__image--slide-future {
	background-image: url("../images/home-hero-slide-future-we-want.png");
	background-size: cover;
	background-position: center;
}

.humana-hero__image--slide-3 {
	background-image: url("../images/home-hero-slide-3.jpg"), url("../images/mockup-reference.png");
	background-size: cover, 260%;
	background-position: center, 94% 22%;
}

.humana-hero__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	border: none;
	color: var(--humana-blue);
	font-size: 1.25rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
	transition: transform 0.15s;
	z-index: 2;
}

.humana-hero__nav:hover,
.humana-hero__nav:focus-visible {
	transform: translateY(-50%) scale(1.05);
}

.humana-hero__nav--prev {
	left: 1rem;
}

.humana-hero__nav--next {
	right: 1rem;
}

.humana-hero__dots {
	position: absolute;
	bottom: 1.25rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 0.5rem;
	z-index: 2;
}

.humana-hero__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid var(--humana-blue);
	background: transparent;
	padding: 0;
	cursor: pointer;
}

.humana-hero__dot.is-active {
	background: var(--humana-blue);
}

/* —— Footer —— */
.humana-footer {
	border-top: 3px solid var(--humana-blue);
	background: #fff;
	padding: 1.75rem 0;
	margin-top: auto;
}

.humana-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.humana-footer__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem 2rem;
	flex: 1;
	min-width: 0;
}

.humana-footer__item {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-size: 0.8rem;
	line-height: 1.45;
	color: var(--humana-blue);
}

.humana-footer__item a {
	color: inherit;
	text-decoration: none;
}

.humana-footer__item a:hover {
	text-decoration: underline;
}

.humana-footer__text strong {
	font-weight: 700;
}

.humana-footer__icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	color: var(--humana-blue);
}

.humana-footer__links {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	align-items: flex-start;
}

.humana-footer__links a {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--humana-blue);
	text-decoration: none;
}

.humana-footer__links a:hover,
.humana-footer__links a:focus {
	text-decoration: underline;
}

.humana-footer__social {
	display: flex;
	gap: 0.65rem;
	align-items: center;
}

.humana-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--humana-blue);
	color: #fff;
	text-decoration: none;
	transition: background 0.2s;
}

.humana-footer__social a:hover,
.humana-footer__social a:focus-visible {
	background: var(--humana-orange);
}

.humana-footer__social svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
	.humana-cards {
		grid-template-columns: 1fr;
	}

	.humana-card {
		grid-template-columns: 1fr;
	}

	.humana-card__visual {
		min-height: 180px;
		order: -1;
		padding-top: 1rem;
	}

	.humana-hero__slide {
		grid-template-columns: 1fr;
	}

	.humana-hero__image {
		min-height: 220px;
		order: -1;
	}

	.humana-hero__image img {
		min-height: 220px;
	}

	.humana-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.humana-nav-toggle {
		display: block;
	}

	.humana-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--humana-blue);
		flex-direction: column;
		align-items: stretch;
		padding: 1rem 1.25rem 1.25rem;
		gap: 0.75rem;
		box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	}

	.humana-nav.is-open {
		display: flex;
	}

	.humana-header__inner {
		position: relative;
		flex-wrap: wrap;
	}

	.humana-hero__panel {
		padding: 2rem 1.5rem;
	}

	.humana-hero__nav--prev {
		left: 0.5rem;
	}

	.humana-hero__nav--next {
		right: 0.5rem;
	}

	.humana-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.humana-footer__grid {
		grid-template-columns: 1fr;
		width: 100%;
	}
}

/* —— Floating donate badge —— */
.humana-floater {
	position: fixed;
	bottom: 26px;
	left: 0;
	z-index: 60;
	pointer-events: none;
	animation: humana-floater-drift 30s linear infinite;
	will-change: transform;
}

.humana-floater__badge {
	position: relative;
	display: block;
	width: 138px;
	height: 138px;
	pointer-events: auto;
	text-decoration: none;
	animation: humana-floater-bob 4s ease-in-out infinite;
}

.humana-floater__disc {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: radial-gradient(circle at 32% 28%, #2189cc 0%, var(--humana-blue) 60%, var(--humana-blue-dark) 100%);
	box-shadow: 0 12px 30px rgba(13, 103, 162, 0.45);
}

.humana-floater__svg {
	position: relative;
	width: 100%;
	height: 100%;
	animation: humana-floater-spin 16s linear infinite;
}

.humana-floater__text {
	font-size: 11.5px;
	font-weight: 800;
	fill: #fff;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}

.humana-floater__center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 2.1rem;
	line-height: 1;
	color: #ffd700;
	pointer-events: none;
}

.humana-floater__badge:hover .humana-floater__disc,
.humana-floater__badge:focus-visible .humana-floater__disc {
	box-shadow: 0 16px 38px rgba(13, 103, 162, 0.6);
}

.humana-floater__badge:hover,
.humana-floater__badge:focus-visible {
	animation-play-state: paused;
}

@keyframes humana-floater-drift {
	0% {
		transform: translateX(-170px);
	}
	100% {
		transform: translateX(calc(100vw + 30px));
	}
}

@keyframes humana-floater-bob {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-12px);
	}
}

@keyframes humana-floater-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 768px) {
	.humana-floater__badge {
		width: 108px;
		height: 108px;
	}

	.humana-floater__text {
		font-size: 10px;
	}

	.humana-floater__center {
		font-size: 1.6rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.humana-floater {
		animation: none;
		left: auto;
		right: 22px;
	}

	.humana-floater__badge,
	.humana-floater__svg {
		animation: none;
	}
}
