/* Final responsive UX pass. */
.ys-hero {
	background: #030405;
}

.ys-mobile-actions {
	display: none;
}

.ys-stats--features > div {
	grid-template-rows: auto;
}

.ys-stats--features > div i {
	grid-row: auto;
}

.ys-stats--features > div strong {
	font-size: 18px;
	line-height: 1.25;
}

.ys-license-grid--home {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	width: min(100%, 1100px);
	margin-inline: auto;
}

html,
body.ys-site {
	max-width: 100%;
	overflow-x: clip;
	overscroll-behavior-x: none;
}

@media (min-width: 1025px) {
	.ys-menu-toggle {
		display: none !important;
	}
}

@media (min-width: 768px) {
	.ys-hero-slide [data-popup-open] {
		border-color: #fff;
		background: #fff;
		color: #111;
	}

	.ys-hero-slide [data-popup-open]:hover,
	.ys-hero-slide [data-popup-open]:focus {
		border-color: #111;
		background: #111;
		color: #fff;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.ys-menu-toggle {
		display: grid;
		width: 48px;
		height: 48px;
		padding: 11px;
		border: 0;
		border-radius: 6px;
		place-content: center;
	}

	.ys-menu-toggle:hover,
	.ys-menu-toggle:focus {
		background: #f4f4f4;
		color: #111;
	}

	.ys-menu-toggle span {
		width: 25px;
		height: 3px;
		margin: 3px 0;
		border-radius: 2px;
		background: #111;
	}

	.admin-bar .ys-nav {
		top: 162px;
	}

	.admin-bar .ys-nav.is-open {
		max-height: calc(100dvh - 162px);
	}

	.ys-hero-slide h1,
	.ys-hero-slide h2 {
		font-size: clamp(44px, 5.2vw, 50px);
		line-height: 1;
	}

	.ys-hero__content > p {
		font-size: 16px;
	}

	.ys-actions .ys-btn {
		min-height: 48px;
		font-size: 14px;
	}
}

@media (max-width: 767px) {
	body.ys-site {
		font-size: 16px;
		padding-bottom: 0;
	}

	body.ys-site.home .ys-footer {
		padding-bottom: calc(86px + env(safe-area-inset-bottom));
	}

	.ys-container {
		width: calc(100% - 32px);
	}

	.ys-topbar {
		display: none;
	}

	.ys-topbar__inner > div:first-child {
		display: none;
	}

	.ys-topbar__inner {
		justify-content: center;
	}

	.ys-topbar a {
		min-height: 36px;
		margin: 0;
		display: inline-flex;
		align-items: center;
		font-size: 12px;
	}

	.ys-header {
		height: 70px;
		transition: transform .25s ease, box-shadow .2s ease;
		will-change: transform;
	}

	.ys-header.is-hidden {
		transform: translateY(-100%);
	}

	.admin-bar .ys-header {
		top: 0;
	}

	.admin-bar .ys-header.is-hidden {
		transform: translateY(-100%);
	}

	.ys-logo,
	.ys-logo img {
		width: 145px;
		height: auto;
	}

	.ys-menu-toggle {
		display: grid;
		width: 48px;
		height: 48px;
		padding: 11px;
		border: 0;
		border-radius: 6px;
		color: #111;
		place-content: center;
	}

	body.ys-site .ys-menu-toggle:hover,
	body.ys-site .ys-menu-toggle:focus {
		background-color: var(--brand-red);
		color: #fff;
	}

	.ys-menu-toggle:hover span,
	.ys-menu-toggle:focus span {
		background: #fff;
	}

	.ys-menu-toggle span {
		width: 25px;
		height: 3px;
		margin: 3px 0;
		border-radius: 2px;
		background: #111;
	}

	.ys-nav {
		top: 70px;
		inset-inline: 0;
		z-index: 110;
	}

	.ys-nav.is-open {
		max-height: calc(100dvh - 70px);
	}

	.admin-bar .ys-nav {
		top: 70px;
	}

	.admin-bar .ys-nav.is-open {
		max-height: calc(100dvh - 70px);
	}

	.ys-menu {
		padding: 8px 16px 18px;
	}

	.ys-menu a {
		min-height: 48px;
		padding-inline: 8px;
		font-size: 16px;
	}

	.ys-hero {
		padding-top: 0;
	}

	.ys-hero-slider,
	.ys-hero-slide .ys-hero__grid {
		min-height: 490px;
	}

	.ys-hero-slide .ys-hero__grid {
		display: flex;
		align-items: center;
	}

	.ys-hero-slide::after {
		background:
			linear-gradient(90deg, rgba(3, 4, 5, .97) 0%, rgba(3, 4, 5, .86) 46%, rgba(3, 4, 5, .46) 72%, rgba(3, 4, 5, .2) 100%),
			linear-gradient(0deg, rgba(3, 4, 5, .28), rgba(3, 4, 5, .12));
	}

	.ys-hero-slide__image {
		object-position: 67% center;
	}

	.ys-hero-slide .ys-hero__content {
		max-width: none;
		padding: 20px 0;
		text-align: left;
	}

	.ys-hero-slide h1,
	.ys-hero-slide h2 {
		margin-bottom: 18px;
		font-size: clamp(32px, 9.6vw, 38px);
		line-height: 1.06;
	}

	.ys-hero__content > p {
		margin-right: auto;
		margin-left: 0;
		font-size: 15px;
		line-height: 1.6;
	}

	.ys-features {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
		margin: 12px 0;
	}

	.ys-features span {
		gap: 8px;
		font-size: 21px;
	}

	.ys-features b {
		font-size: 13px;
		line-height: 1.35;
	}

	.ys-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		margin-top: 20px;
	}

	.ys-actions .ys-btn {
		min-height: 48px;
		padding-inline: 10px;
		font-size: 14px;
	}

	.ys-actions .ys-btn:last-child {
		grid-column: 1 / -1;
	}

	.ys-hero-slide .ys-actions {
		display: none;
	}

	.ys-mobile-actions {
		position: fixed;
		z-index: 190;
		right: 0;
		bottom: 0;
		left: 0;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		min-height: 66px;
		padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
		border-top: 1px solid #e3e3e3;
		background: rgba(255, 255, 255, .97);
		box-shadow: 0 -5px 18px rgba(0, 0, 0, .14);
		backdrop-filter: blur(8px);
	}

	.ys-mobile-actions a,
	.ys-mobile-actions button {
		display: flex;
		min-width: 0;
		min-height: 54px;
		padding: 5px 3px;
		border: 0;
		border-right: 1px solid #ececec;
		border-radius: 0;
		background: transparent;
		color: #111;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		font-size: 12px;
		font-weight: 800;
		line-height: 1.1;
		text-transform: none;
		white-space: nowrap;
	}

	.ys-mobile-actions > :last-child {
		border-right: 0;
	}

	.ys-mobile-actions a:hover,
	.ys-mobile-actions a:focus,
	.ys-mobile-actions button:hover,
	.ys-mobile-actions button:focus {
		background: #fff1f1;
		color: var(--brand-red);
	}

	.ys-mobile-actions .ys-icon {
		width: 22px;
		height: 22px;
		color: var(--brand-red);
	}

	.ys-slider-arrow {
		display: none;
	}

	.ys-slider-dots {
		bottom: 90px;
	}

	.ys-slider-dots button {
		width: 9px;
		height: 9px;
	}

	.ys-slider-dots button[aria-selected="true"] {
		width: 26px;
	}

	.ys-quick-info {
		position: relative;
		z-index: 4;
		display: grid;
		width: calc(100% - 24px);
		margin: -72px auto 24px;
		border: 1px solid var(--brand-red);
		border-radius: 12px;
		background: linear-gradient(110deg, #7c0007 0%, #940009 58%, #bd000e 100%);
		box-shadow: 0 14px 28px rgba(91, 0, 7, .18);
		grid-template-columns: repeat(2, minmax(0, 1fr));
		overflow: hidden;
	}

	.ys-quick-info > div {
		display: flex;
		min-width: 0;
		min-height: 88px;
		padding: 14px 12px;
		flex-direction: column;
		justify-content: center;
	}

	.ys-quick-info > div:nth-child(odd) {
		border-right: 1px solid rgba(255, 255, 255, .24);
	}

	.ys-quick-info > div:nth-child(-n + 2) {
		border-bottom: 1px solid rgba(255, 255, 255, .24);
	}

	.ys-quick-info strong,
	.ys-quick-info span {
		display: block;
		overflow-wrap: anywhere;
	}

	.ys-quick-info strong {
		color: #fff;
		font-size: 14px;
		font-weight: 750;
		line-height: 1.25;
	}

	.ys-quick-info span {
		margin-top: 5px;
		color: rgba(255, 255, 255, .76);
		font-size: 11px;
		line-height: 1.35;
	}

	.ys-hero .ys-stats {
		width: calc(100% - 24px);
		min-height: 0;
		padding: 12px 8px;
		border: 2px solid var(--brand-red);
		border-bottom: 0;
		border-radius: 14px 14px 0 0;
		background: linear-gradient(110deg, #8f0007, #3b0307 58%, #0b080a);
		box-shadow: none;
	}

	.ys-stats > div {
		grid-template-columns: 38px minmax(0, auto);
		min-width: 0;
		padding: 12px 7px;
		border: 0;
	}

	.ys-stats > div:nth-child(odd) {
		border-right: 1px solid rgba(255, 255, 255, .28);
	}

	.ys-stats > div:nth-child(-n + 2) {
		border-bottom: 1px solid rgba(255, 255, 255, .28);
	}

	.ys-stats i {
		font-size: 25px;
	}

	.ys-stats strong {
		font-size: 21px;
	}

	.ys-stats span {
		font-size: 12px;
	}

	.ys-section {
		padding: 48px 0;
	}

	.ys-title {
		margin-bottom: 28px;
		font-size: 25px;
	}

	.ys-info {
		padding-top: 38px;
		padding-bottom: 42px;
	}

	.ys-info__grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ys-info article {
		min-height: 0;
		padding: 21px;
		gap: 16px;
	}

	.ys-info article > i {
		font-size: 38px;
	}

	.ys-info h2 {
		font-size: 17px;
	}

	.ys-info p {
		font-size: 14px;
		line-height: 1.6;
	}

	.ys-info a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		font-size: 14px;
	}

	.ys-license-grid {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.ys-license {
		padding-bottom: 12px;
	}

	.ys-license > span {
		height: 102px;
	}

	.ys-license strong {
		font-size: 14px;
		line-height: 1.3;
	}

	.ys-license small {
		font-size: 12px;
	}

	.ys-license-grid .ys-license:last-child {
		grid-column: 1 / -1;
	}

	.ys-process__grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.ys-process article {
		display: grid;
		grid-template-columns: 64px 1fr;
		grid-template-rows: auto auto;
		gap: 3px 16px;
		padding: 16px;
		border-radius: 10px;
		background: #fff;
		text-align: left;
		box-shadow: 0 5px 18px rgba(0, 0, 0, .07);
	}

	.ys-process article > div {
		grid-row: 1 / 3;
		width: 64px;
		height: 64px;
		margin: 0;
	}

	.ys-process article i {
		font-size: 26px;
	}

	.ys-process article b {
		width: 23px;
		height: 23px;
		font-size: 11px;
	}

	.ys-process h3 {
		align-self: end;
		margin: 0;
		font-size: 15px;
	}

	.ys-process p {
		margin: 0;
		font-size: 14px;
		line-height: 1.55;
	}

	.ys-benefits__grid {
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}

	.ys-benefits article {
		padding: 18px 12px;
		border: 1px solid rgba(255, 255, 255, .08);
		border-radius: 10px;
		background: rgba(255, 255, 255, .025);
	}

	.ys-benefits i {
		font-size: 34px;
	}

	.ys-benefits__icon {
		width: 44px;
		height: 44px;
	}

	.ys-benefits h3 {
		margin: 10px 0 7px;
		font-size: 15px;
	}

	.ys-benefits p {
		margin: 0;
		font-size: 13px;
		line-height: 1.5;
	}

	.ys-gallery__grid {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.ys-gallery button:last-child {
		grid-column: 1 / -1;
	}

	.ys-gallery-art {
		height: 132px;
	}

	.ys-gallery button:last-child .ys-gallery-art {
		height: 170px;
	}

	.ys-faq {
		padding-top: 38px;
	}

	.ys-faq__grid {
		grid-template-columns: 1fr;
		gap: 9px;
	}

	.ys-faq h3 button {
		min-height: 54px;
		padding-inline: 15px;
		font-size: 15px;
		white-space: normal;
	}

	.ys-faq h3 button > span {
		margin-left: 12px;
	}

	.ys-faq article > div {
		font-size: 15px;
		line-height: 1.6;
	}

	.ys-cta {
		padding: 28px 0;
	}

	.ys-cta h2 {
		font-size: 23px;
	}

	.ys-cta a {
		min-height: 50px;
		margin: 6px 0;
	}

	.ys-footer {
		padding-top: 42px;
	}

	.ys-footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.ys-footer img {
		width: 145px;
	}

	.ys-footer,
	.ys-footer__grid > div > a {
		font-size: 14px;
	}

	.ys-footer__grid > div > a {
		display: flex;
		align-items: center;
		min-height: 44px;
		margin: 0;
	}

	.ys-footer h3 {
		font-size: 16px;
	}

	.ys-footer__bottom {
		font-size: 12px;
		line-height: 1.7;
	}

	.ys-whatsapp {
		right: 14px;
		left: auto;
		bottom: 14px;
		width: 52px;
		height: 52px;
	}

	.ys-modal {
		padding: 12px;
	}

	.ys-modal__panel {
		max-height: calc(100dvh - 24px);
		padding: 28px 18px 20px;
	}

	.ys-form {
		grid-template-columns: 1fr;
		gap: 13px;
	}

	.ys-form__full {
		grid-column: auto;
	}
}

@media (max-width: 359px) {
	.ys-container {
		width: calc(100% - 24px);
	}

	.ys-logo,
	.ys-logo img {
		width: 132px;
	}

	.ys-hero-slider,
	.ys-hero-slide .ys-hero__grid {
		min-height: 540px;
	}

	.ys-hero-slide h1,
	.ys-hero-slide h2 {
		font-size: 32px;
	}

	.ys-actions {
		grid-template-columns: 1fr;
	}

	.ys-actions .ys-btn:last-child {
		grid-column: auto;
	}

	.ys-benefits__grid {
		grid-template-columns: 1fr;
	}

	.ys-license > span {
		height: 92px;
	}
}
