.gato-solution-cases {
	--gato-solution-cases-blue: #0097df;
	--gato-solution-cases-light-blue: #48b6f1;
	--gato-solution-cases-ink: #1c1c1c;
	--gato-solution-cases-copy: #5f5f5f;
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding: 0 30px 34px;
	overflow: hidden;
	color: var(--gato-solution-cases-ink);
	font-family: "Montserrat", Arial, sans-serif;
}

.gato-solution-cases *,
.gato-solution-cases *::before,
.gato-solution-cases *::after {
	box-sizing: border-box;
}

.gato-solution-cases:focus-visible {
	outline: 2px solid var(--gato-solution-cases-blue);
	outline-offset: -2px;
}

.gato-solution-cases__viewport,
.gato-solution-case,
.gato-solution-case__content,
.gato-solution-case__visual {
	min-width: 0;
	max-width: 100%;
}

.gato-solution-case {
	display: none;
	width: 100%;
	align-items: center;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	animation: gato-solution-case-fade 0.35s ease;
}

.gato-solution-case.is-active {
	display: grid;
}

.gato-solution-case__visual {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 400px;
	min-height: 400px;
	margin: 0;
	overflow: hidden;
	border-radius: 10px;
	background: #dfe5e8;
}

.gato-solution-case__image {
	display: none;
	width: 100%;
	height: 100%;
}

.gato-solution-case__image.is-active {
	display: block;
}

.gato-solution-case__visual img {
	display: block;
	width: 100%;
	height: 400px;
	min-height: 400px;
	object-fit: cover;
	object-position: center;
}

.gato-solution-case__gallery-dots {
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 16px;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.gato-solution-case__gallery-dots button,
.gato-solution-cases__dots button {
	min-width: 0;
	min-height: 0;
	padding: 0;
	border-radius: 50%;
	cursor: pointer;
}

.gato-solution-case__gallery-dots button {
	width: 8px;
	height: 8px;
	border: 1px solid rgba(255, 255, 255, 0.85);
	background: rgba(255, 255, 255, 0.52);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.gato-solution-case__gallery-dots button[aria-current="true"],
.gato-solution-case__gallery-dots button:hover,
.gato-solution-case__gallery-dots button:focus-visible {
	background: #fff;
	transform: scale(1.22);
}

.gato-solution-case__gallery-dots button:focus-visible,
.gato-solution-cases__dots button:focus-visible {
	outline: 3px solid rgba(0, 151, 223, 0.35);
	outline-offset: 2px;
}

.gato-solution-case__content {
	position: relative;
	z-index: 2;
	width: calc(100% + 18px);
	min-height: 400px;
	margin-left: -18px;
	padding: 50px 50px 50px 80px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(25, 48, 63, 0.08);
}

.gato-solution-case__title {
	margin: 0 0 20px;
	color: var(--gato-solution-cases-ink);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
}

.gato-solution-case__requirements {
	margin: 0 0 10px;
}

.gato-solution-case__requirements h4 {
	margin: 0 0 7px;
	color: var(--gato-solution-cases-ink);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
}

.gato-solution-case__requirements p {
	margin: 0;
	color: var(--gato-solution-cases-copy);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
}

.gato-solution-case__accordion {
	margin: 4px 0 20px;
	border-top: 1px solid #eee;
}

.gato-solution-case__accordion details {
	margin: 0;
	border-bottom: 1px solid #eee;
}

.gato-solution-case__accordion summary {
	position: relative;
	display: flex;
	min-height: 43px;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 30px 10px 0;
	color: var(--gato-solution-cases-ink);
	cursor: pointer;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	list-style: none;
}

.gato-solution-case__accordion summary::-webkit-details-marker {
	display: none;
}

.gato-solution-case__accordion summary::after {
	position: absolute;
	top: 50%;
	right: 4px;
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	content: "";
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.2s ease;
}

.gato-solution-case__accordion details[open] summary,
.gato-solution-case__accordion summary:hover,
.gato-solution-case__accordion summary:focus-visible {
	color: var(--gato-solution-cases-blue);
}

.gato-solution-case__accordion details[open] summary::after {
	transform: translateY(-30%) rotate(225deg);
}

.gato-solution-case__accordion summary:focus-visible {
	outline: 2px solid rgba(0, 151, 223, 0.35);
	outline-offset: 2px;
}

.gato-solution-case__accordion ul {
	margin: 0;
	padding: 8px 0 10px;
	list-style: none;
}

.gato-solution-case__accordion li {
	position: relative;
	margin: 0 0 7px;
	padding-left: 16px;
	color: var(--gato-solution-cases-copy);
	font-size: 14px;
	line-height: 1.5;
}

.gato-solution-case__accordion li::before {
	position: absolute;
	top: 0.63em;
	left: 1px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--gato-solution-cases-blue);
	content: "";
}

.gato-solution-case__more {
	display: inline-flex;
	min-width: 174px;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 28px;
	padding: 14px 34px;
	border-radius: 50px;
	background: var(--gato-solution-cases-light-blue);
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.gato-solution-case__more:hover,
.gato-solution-case__more:focus-visible {
	background: var(--gato-solution-cases-blue);
	color: #fff;
	transform: translateY(-1px);
}

.gato-solution-case__more:focus-visible {
	outline: 3px solid rgba(0, 151, 223, 0.28);
	outline-offset: 3px;
}

.gato-solution-case__more svg {
	width: 7px;
	height: 12px;
	flex: 0 0 auto;
}

.gato-solution-cases__arrow {
	position: absolute;
	z-index: 4;
	top: calc(50% - 34px);
	display: inline-flex;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 4px 16px rgba(19, 58, 82, 0.16);
	color: var(--gato-solution-cases-light-blue);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gato-solution-cases__arrow.is-previous { left: 4px; }
.gato-solution-cases__arrow.is-next { right: 4px; }

.gato-solution-cases__arrow:hover,
.gato-solution-cases__arrow:focus-visible {
	background: var(--gato-solution-cases-blue);
	color: #fff;
	transform: scale(1.04);
}

.gato-solution-cases__arrow:focus-visible {
	outline: 3px solid rgba(0, 151, 223, 0.3);
	outline-offset: 3px;
}

.gato-solution-cases__arrow svg {
	width: 8px;
	height: 14px;
}

.gato-solution-cases__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-top: 22px;
}

.gato-solution-cases__dots button {
	display: block;
	width: 8px;
	height: 8px;
	border: 0;
	background: #aeb7bc;
	box-shadow: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.gato-solution-cases__dots button[aria-current="true"],
.gato-solution-cases__dots button:hover,
.gato-solution-cases__dots button:focus-visible {
	background: var(--gato-solution-cases-blue);
	transform: scale(1.25);
}

.gato-solution-cases__empty {
	padding: 28px;
	border: 1px dashed #9aa5ab;
	background: #f7f9fa;
	color: #46545c;
	text-align: center;
}

@keyframes gato-solution-case-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (max-width: 1100px) {
	.gato-solution-cases { padding-right: 24px; padding-left: 24px; }
	.gato-solution-case__content { padding: 40px 40px 40px 65px; }
	.gato-solution-case__title { font-size: 22px; }
}

@media (max-width: 900px) {
	.gato-solution-cases { padding: 0 0 30px; }
	.gato-solution-case,
	.gato-solution-case.is-active { display: none; grid-template-columns: minmax(0, 1fr); }
	.gato-solution-case.is-active { display: grid; }
	.gato-solution-case__visual { width: 100%; border-radius: 8px 8px 0 0; }
	.gato-solution-case__content { width: 100%; min-height: 0; margin: 0; padding: 38px 36px; border-radius: 0 0 8px 8px; }
	.gato-solution-cases__arrow { top: 112px; }
	.gato-solution-cases__arrow.is-previous { left: 12px; }
	.gato-solution-cases__arrow.is-next { right: 12px; }
}

@media (max-width: 480px) {
	.gato-solution-case__content { padding: 30px 24px; }
	.gato-solution-case__title { margin-bottom: 16px; font-size: 20px; }
	.gato-solution-case__requirements h4,
	.gato-solution-case__accordion summary { font-size: 15px; }
	.gato-solution-case__requirements p,
	.gato-solution-case__accordion li { font-size: 14px; }
	.gato-solution-case__more { width: 100%; min-width: 0; }
	.gato-solution-cases__arrow { top: 84px; width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	.gato-solution-case { animation: none; }
	.gato-solution-case__accordion summary::after,
	.gato-solution-case__more,
	.gato-solution-cases__arrow,
	.gato-solution-cases__dots button { transition: none; }
}
