/*!
 * SOHA Elementor Footer — responsive layer
 * Base styles are already fluid (clamp / minmax / auto-fit);
 * these breakpoints only handle the structural changes.
 */

/* ---------- Laptop and small desktop: doctor moves above the addresses ---------- */
@media (max-width: 1240px) {

	.soha-footer .sf-main {
		grid-template-columns: minmax(0, 1fr);
	}

	.soha-footer .sf-doc {
		min-height: 190px;
	}

	.soha-footer .sf-addrs {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.soha-footer .sf-dots {
		display: none;
	}
}

/* ---------- Tablet: quick access moves below and becomes a grid ---------- */
@media (max-width: 1000px) {

	.soha-footer .sf-top {
		grid-template-columns: minmax(0, 1fr);
	}

	.soha-footer .sf-quick {
		order: 2;
	}

	.soha-footer .sf-quick__list {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(var(--sf-quick-min), 1fr));
		column-gap: clamp(10px, 2vw, 24px);
	}

	.soha-footer .sf-quick__item + .sf-quick__item {
		border-top: none;
	}

	.soha-footer .sf-quick__item {
		border-top: 1px solid var(--sf-line-2);
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {

	.soha-footer .sf-addrs,
	.soha-footer .sf-addrs--no-dots {
		grid-template-columns: minmax(0, 1fr);
	}

	.soha-footer .sf-doc {
		text-align: center;
		align-items: center;
		min-height: 0;
	}

	.soha-footer .sf-doc__inner {
		max-width: 38ch;
	}

	.soha-footer .sf-doc__name,
	.soha-footer .sf-doc__spec,
	.soha-footer .sf-doc__desc {
		padding-inline-end: 0;
	}

	.soha-footer .sf-doc__rule {
		margin-inline: auto;
	}

	.soha-footer .sf-social {
		justify-content: center;
	}

	.soha-footer .sf-doc__art {
		width: 46%;
		inset-inline-end: -10%;
		opacity: .3;
	}

	.soha-footer .sf-feature {
		justify-content: flex-start;
	}

	.soha-footer .sf-feature:not(:first-child)::after {
		display: none;
	}

	.soha-footer .sf-features {
		gap: 6px;
	}

	.soha-footer .sf-bottom__in {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		text-align: center;
	}

	.soha-footer .sf-bottom__pad {
		display: none;
	}

	.soha-footer .sf-copy {
		justify-content: center;
	}

	.soha-footer .sf-copy__txt,
	.soha-footer .sf-copy__year {
		text-align: center;
	}

	.soha-footer .sf-links {
		justify-content: center;
	}
}

/* ---------- Small mobile ---------- */
@media (max-width: 420px) {

	.soha-footer .sf-quick__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.soha-footer .sf-addr__text {
		max-width: 100%;
	}
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {

	.soha-footer *,
	.soha-footer *::before,
	.soha-footer *::after {
		transition: none !important;
		animation: none !important;
	}

	.soha-footer .sf-addr:hover,
	.soha-footer .sf-phone:hover,
	.soha-footer .sf-feature:hover,
	.soha-footer .sf-social__link:hover {
		transform: none;
	}
}
