/* LuxMed Footer Widget v1.0 — blue footer with green wave, 4 columns and bottom bar */

.lmf-footer {
	--lmf-bg: #123a8c;
	--lmf-accent: #2eaa4a;
	--lmf-text: #d7e0f2;
	--lmf-heading: #ffffff;
	background: var(--lmf-bg);
	color: var(--lmf-text);
	font-size: 0.9rem;
	line-height: 1.6;
}

/* ---------- Wave ---------- */

.lmf-wave {
	--lmf-wave-top: #ffffff;
	line-height: 0;
	background: var(--lmf-bg);
}

.lmf-wave svg {
	display: block;
	width: 100%;
	height: 64px;
}

.lmf-wave__top { fill: var(--lmf-wave-top); }
.lmf-wave__green { fill: var(--lmf-accent); }

/* ---------- Main grid ---------- */

.lmf-main {
	padding: 44px 40px 36px;
}

.lmf-grid {
	display: grid;
	grid-template-columns: 1.2fr 1.2fr 1fr 1.2fr;
	gap: 40px;
	max-width: 1240px;
	margin: 0 auto;
}

.lmf-col__title {
	margin: 0 0 18px;
	color: var(--lmf-heading);
	font-size: 1.05rem;
	font-weight: 700;
}

.lmf-footer a {
	color: var(--lmf-text);
	text-decoration: none;
	transition: color 0.15s ease;
}

.lmf-footer a:hover {
	color: #ffffff;
}

.lmf-footer a:focus-visible {
	outline: 2px solid var(--lmf-accent);
	outline-offset: 2px;
}

.lmf-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ---------- Brand column ---------- */

.lmf-brand__logo {
	margin-bottom: 16px;
}

.lmf-brand__logo img {
	display: block;
	width: 170px;
	height: auto;
}

.lmf-brand__tagline {
	margin: 0 0 20px;
	font-size: 0.85rem;
}

.lmf-socials {
	display: flex;
	gap: 10px;
}

.lmf-socials__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #ffffff;
	color: var(--lmf-bg) !important;
	font-size: 16px;
	line-height: 1;
	transition: transform 0.15s ease, background 0.15s ease;
}

.lmf-socials__item:hover {
	transform: translateY(-3px);
	background: var(--lmf-accent);
	color: #ffffff !important;
}

.lmf-socials__item svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* ---------- Quick links ---------- */

.lmf-links {
	column-count: 2;
	column-gap: 32px;
}

.lmf-links li {
	margin-bottom: 12px;
	break-inside: avoid;
}

/* ---------- Products ---------- */

.lmf-products li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 12px;
}

.lmf-check {
	display: inline-flex;
	flex-shrink: 0;
	margin-top: 3px;
	color: var(--lmf-accent);
	line-height: 0;
}

/* ---------- Contacts ---------- */

.lmf-contacts li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 14px;
}

.lmf-contacts__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 20px;
	margin-top: 2px;
	color: #ffffff;
	font-size: 15px;
	line-height: 1;
}

.lmf-contacts__icon svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

/* ---------- Bottom bar ---------- */

.lmf-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px 24px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 16px 40px 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 0.8rem;
}

.lmf-bottom__copy {
	margin: 0;
}

.lmf-bottom__links {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lmf-bottom__links a + a::before {
	content: "|";
	margin-right: 12px;
	color: rgba(255, 255, 255, 0.4);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
	.lmf-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
	.lmf-main { padding: 32px 22px 26px; }
	.lmf-grid { grid-template-columns: 1fr; gap: 30px; }
	.lmf-bottom { padding: 14px 22px 18px; flex-direction: column; text-align: center; }
	.lmf-wave svg { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	.lmf-socials__item { transition: none; }
	.lmf-socials__item:hover { transform: none; }
}

/* ---------- About section (above the wave) ---------- */

.lmf-about {
	background: #f4f7fa;
	padding: 44px 40px;
}

.lmf-about__inner {
	display: grid;
	grid-template-columns: 340px 1fr 260px;
	gap: 40px;
	align-items: center;
	max-width: 1240px;
	margin: 0 auto;
}

.lmf-about__media img {
	display: block;
	width: 100%;
	height: 260px;
	object-fit: cover;
	border-radius: 14px;
}

.lmf-about__title {
	margin: 0 0 14px;
	color: #1a3e8f;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.25;
}

.lmf-about__desc {
	margin: 0 0 24px;
	color: #4a5a6e;
	font-size: 0.88rem;
	line-height: 1.65;
}

/* Stats */

.lmf-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 22px 34px;
}

.lmf-stat {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.lmf-stat__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 46px;
	height: 46px;
	border: 1px solid #cfe6d6;
	border-radius: 50%;
	background: #fff;
	color: var(--lmf-accent);
	font-size: 19px;
	line-height: 1;
}

.lmf-stat__icon svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.lmf-stat__text {
	display: flex;
	flex-direction: column;
}

.lmf-stat__value {
	color: #1a3e8f;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.2;
}

.lmf-stat__label {
	color: #5a6a7e;
	font-size: 0.78rem;
	line-height: 1.4;
	max-width: 110px;
}

/* Certification badge card */

.lmf-badge {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 8px 26px rgba(26, 62, 143, 0.08);
	padding: 28px 24px;
	text-align: center;
}

.lmf-badge__img {
	display: block;
	max-width: 130px;
	height: auto;
	margin: 0 auto 12px;
}

.lmf-badge__line1 {
	margin: 0 0 2px;
	color: #1a3e8f;
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.lmf-badge__line2 {
	margin: 0 0 14px;
	color: #35455a;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.lmf-badge__tagline {
	margin: 0;
	color: #1e7a3c;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.45;
}

/* About responsive */

@media (max-width: 1024px) {
	.lmf-about__inner { grid-template-columns: 1fr 1fr; }
	.lmf-about__media { grid-column: 1 / -1; }
	.lmf-about__media img { height: 220px; }
}

@media (max-width: 767px) {
	.lmf-about { padding: 30px 22px; }
	.lmf-about__inner { grid-template-columns: 1fr; gap: 26px; }
	.lmf-stats { gap: 18px 24px; }
}

/* ---------- Full-bleed mode: stretch to the viewport edges ---------- */

.lmf-bleed-yes {
	position: relative;
	width: 100vw !important;
	max-width: 100vw !important;
	left: 50%;
	margin-left: -50vw !important;
	margin-right: 0 !important;
}

/* Elementor sometimes constrains the widget wrapper itself */
.elementor-widget.lmf-bleed-yes .elementor-widget-container {
	width: 100%;
}
