.scp-root,
.scp-root * {
	box-sizing: border-box;
}

.scp-root[hidden],
.scp-root [hidden] {
	display: none !important;
}

.scp-root {
	position: fixed;
	inset: 0;
	z-index: 999999;
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: var(--scp-text, #132238);
}

.scp-overlay {
	position: absolute;
	inset: 0;
	background: rgba(4, 17, 29, var(--scp-overlay, .72));
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	animation: scp-fade-in .2s ease-out;
}

.scp-modal {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(var(--scp-width, 960px), calc(100vw - 48px));
	max-height: var(--scp-max-height, 90vh);
	transform: translate(-50%, -50%);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--scp-bg, #fff);
	border: 1px solid rgba(15, 46, 69, .1);
	border-radius: var(--scp-radius, 20px);
	box-shadow: 0 28px 90px rgba(0, 22, 40, .34), 0 6px 22px rgba(0, 22, 40, .16);
	outline: 0;
	animation: scp-modal-in .28s cubic-bezier(.2, .8, .2, 1);
}

body.scp-modal-open {
	overflow: hidden !important;
}

.scp-close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 5;
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	min-width: 38px;
	padding: 0;
	border: 1px solid #d8e1e7;
	border-radius: 50%;
	background: rgba(255, 255, 255, .96);
	color: #15324a;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(12, 40, 62, .12);
	transition: transform .18s ease, border-color .18s ease, color .18s ease;
}

.scp-close:hover {
	transform: rotate(5deg) scale(1.04);
	border-color: var(--scp-accent, #0a88c6);
	color: var(--scp-accent, #0a88c6);
}

.scp-close svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

.scp-logo-row {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 105px;
	padding: 18px 62px 14px;
	background: var(--scp-bg, #fff);
	border-bottom: 1px solid #e7edf1;
}

.scp-logo {
	display: block;
	width: min(var(--scp-logo-width, 190px), 100%);
	height: auto;
	max-height: 72px;
	object-fit: contain;
}

.scp-main {
	display: grid;
	grid-template-columns: minmax(320px, .82fr) minmax(440px, 1.18fr);
	min-height: 510px;
}

.scp-intro {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-width: 0;
	overflow: hidden;
	padding: 50px 34px 50px 42px;
	background: linear-gradient(150deg, #f5fbfe 0%, #eef7fb 100%);
}

.scp-intro::before {
	position: absolute;
	z-index: -2;
	top: 50%;
	left: -200px;
	width: 610px;
	height: 610px;
	content: "";
	transform: translateY(-50%);
	border-radius: 50%;
	background:
		radial-gradient(circle at 68% 28%, rgba(255, 255, 255, .22) 0 2px, transparent 3px),
		linear-gradient(145deg, color-mix(in srgb, var(--scp-accent, #0a88c6) 82%, white), var(--scp-accent, #0a88c6));
	background-size: 24px 24px, auto;
	box-shadow: 28px 0 70px rgba(10, 136, 198, .2);
}

.scp-intro::after {
	position: absolute;
	z-index: -1;
	top: calc(50% - 188px);
	left: 110px;
	width: 210px;
	height: 210px;
	content: "";
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 50%;
}

.scp-intro__content {
	width: 100%;
	max-width: 330px;
	color: #fff;
}

.scp-intro h2,
.scp-success h2 {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: inherit;
	font-size: clamp(30px, 3vw, 43px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.035em;
	color: inherit;
}

.scp-intro p {
	margin: 17px 0 24px;
	font-size: 15px;
	line-height: 1.65;
	color: rgba(255, 255, 255, .9);
}

.scp-contact-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.scp-contact-button,
.scp-success__whatsapp,
.scp-shortcode-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid rgba(255, 255, 255, .8);
	border-radius: 9px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.scp-contact-button svg {
	width: 17px;
	height: 17px;
	margin-right: 7px;
	fill: currentColor;
}

.scp-contact-button--call {
	background: #fff;
	color: #0878ad !important;
}

.scp-contact-button--whatsapp {
	border-color: #20ad62;
	background: #20ad62;
	color: #fff !important;
}

.scp-contact-button:hover,
.scp-success__whatsapp:hover,
.scp-shortcode-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(5, 38, 61, .2);
}

.scp-form-panel {
	min-width: 0;
	padding: 28px 34px 30px;
	background: var(--scp-bg, #fff);
}

.scp-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px;
}

.scp-field {
	min-width: 0;
}

.scp-field--full {
	grid-column: 1 / -1;
}

.scp-field label,
.scp-services legend {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	font-family: inherit;
	font-size: 12px;
	font-weight: 750;
	line-height: 1.3;
	letter-spacing: .025em;
	color: #29455a;
}

.scp-field input,
.scp-field textarea {
	display: block;
	width: 100% !important;
	min-width: 0;
	min-height: 43px;
	margin: 0 !important;
	padding: 10px 12px !important;
	border: 1px solid #cbd8e1 !important;
	border-radius: 8px !important;
	outline: 0;
	background: #fff !important;
	box-shadow: none !important;
	color: #132238 !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 400;
	line-height: 1.4 !important;
	transition: border-color .16s ease, box-shadow .16s ease;
}

.scp-field textarea {
	min-height: 82px;
	resize: vertical;
}

.scp-field input:focus,
.scp-field textarea:focus {
	border-color: var(--scp-accent, #0a88c6) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--scp-accent, #0a88c6) 17%, transparent) !important;
}

.scp-field input[aria-invalid="true"],
.scp-field textarea[aria-invalid="true"] {
	border-color: #c72c41 !important;
}

.scp-field-error {
	display: block;
	min-height: 0;
	margin-top: 4px;
	font-size: 11px;
	line-height: 1.3;
	color: #b42336;
}

.scp-field-error:not(:empty) {
	min-height: 14px;
}

.scp-services {
	min-width: 0;
	margin: 17px 0 0;
	padding: 0;
	border: 0;
}

.scp-services legend {
	width: 100%;
	margin-bottom: 9px;
	font-size: 12px;
	letter-spacing: .085em;
	color: var(--scp-accent, #0a88c6);
}

.scp-service-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px 12px;
}

.scp-service-option {
	display: flex;
	align-items: flex-start;
	min-width: 0;
	margin: 0;
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	line-height: 1.35;
	color: #273f52;
}

.scp-service-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.scp-checkmark {
	position: relative;
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin: 1px 8px 0 0;
	border: 1px solid #b7c8d4;
	border-radius: 4px;
	background: #fff;
	transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.scp-service-option input:checked + .scp-checkmark {
	border-color: var(--scp-accent, #0a88c6);
	background: var(--scp-accent, #0a88c6);
}

.scp-service-option input:checked + .scp-checkmark::after {
	position: absolute;
	top: 2px;
	left: 5px;
	width: 4px;
	height: 8px;
	content: "";
	transform: rotate(45deg);
	border: solid #fff;
	border-width: 0 2px 2px 0;
}

.scp-service-option input:focus-visible + .scp-checkmark {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--scp-accent, #0a88c6) 22%, transparent);
}

.scp-privacy {
	margin-top: 14px;
}

.scp-privacy label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-size: 11px;
	line-height: 1.45;
	color: #536979;
}

.scp-privacy input {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	accent-color: var(--scp-accent, #0a88c6);
}

.scp-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.scp-form-status {
	display: none;
	margin: 12px 0 0;
	padding: 9px 11px;
	border-radius: 7px;
	background: #fff1f2;
	font-size: 12px;
	color: #a51d31;
}

.scp-form-status:not(:empty) {
	display: block;
}

.scp-submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 46px;
	margin: 17px 0 0 !important;
	padding: 11px 20px !important;
	border: 0 !important;
	border-radius: 9px !important;
	background: var(--scp-button, #087db5) !important;
	box-shadow: 0 8px 20px color-mix(in srgb, var(--scp-button, #087db5) 24%, transparent) !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	letter-spacing: .12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.scp-submit:hover:not(:disabled) {
	transform: translateY(-1px);
	background: var(--scp-button-hover, #075f8a) !important;
	box-shadow: 0 10px 24px color-mix(in srgb, var(--scp-button, #087db5) 30%, transparent) !important;
}

.scp-submit:disabled {
	cursor: wait;
	opacity: .72;
}

.scp-spinner {
	display: none;
	width: 16px;
	height: 16px;
	margin-left: 9px;
	border: 2px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
	animation: scp-spin .7s linear infinite;
}

.scp-submit.is-loading .scp-spinner {
	display: inline-block;
}

.scp-success {
	min-height: 470px;
	padding: 68px 28px;
	text-align: center;
	background: linear-gradient(150deg, #fff, #eff9fd);
	outline: 0;
}

.scp-success__icon {
	display: grid;
	place-items: center;
	width: 74px;
	height: 74px;
	margin: 0 auto 22px;
	border-radius: 50%;
	background: var(--scp-accent, #0a88c6);
	box-shadow: 0 12px 30px color-mix(in srgb, var(--scp-accent, #0a88c6) 30%, transparent);
}

.scp-success__icon svg {
	width: 38px;
	height: 38px;
	fill: none;
	stroke: #fff;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.scp-success h2 {
	font-size: 38px;
	color: var(--scp-text, #132238);
}

.scp-success p {
	max-width: 520px;
	margin: 15px auto 24px;
	color: #4f6576;
}

.scp-success__whatsapp {
	border: 0;
	background: #20ad62;
	color: #fff !important;
}

.scp-shortcode-button {
	border: 0;
	background: #087db5;
	color: #fff !important;
}

.scp-root :focus-visible {
	outline: 3px solid color-mix(in srgb, var(--scp-accent, #0a88c6) 45%, white);
	outline-offset: 2px;
}

@keyframes scp-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes scp-modal-in {
	from { opacity: 0; transform: translate(-50%, calc(-50% + 18px)) scale(.985); }
	to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

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

@media (max-width: 1024px) {
	.scp-modal {
		width: min(var(--scp-width, 960px), calc(100vw - 32px));
	}

	.scp-main {
		grid-template-columns: minmax(280px, .75fr) minmax(390px, 1.25fr);
	}

	.scp-intro {
		padding: 42px 25px 42px 30px;
	}

	.scp-intro::before {
		left: -260px;
	}

	.scp-intro h2 {
		font-size: 34px;
	}

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

	.scp-form-panel {
		padding: 24px 27px 27px;
	}
}

@media (max-width: 767px), (max-height: 500px) and (orientation: landscape) and (max-width: 932px) {
	.scp-overlay {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.scp-modal {
		top: 8px;
		left: 8px;
		width: calc(100vw - 16px);
		max-height: calc(100dvh - 16px);
		transform: none;
		border-radius: min(var(--scp-radius, 20px), 16px);
		animation: scp-mobile-in .24s ease-out;
	}

	.scp-logo-row {
		min-height: 76px;
		padding: 10px 52px;
	}

	.scp-logo {
		width: min(var(--scp-logo-width, 190px), 158px);
		max-height: 56px;
	}

	.scp-close {
		top: 10px;
		right: 10px;
		width: 36px;
		height: 36px;
	}

	.scp-main {
		display: block;
		min-height: 0;
	}

	.scp-intro {
		min-height: 260px;
		padding: 30px 22px 25px;
	}

	.scp-intro::before {
		top: -270px;
		left: -70px;
		width: 650px;
		height: 650px;
		transform: none;
	}

	.scp-intro::after {
		top: 22px;
		left: auto;
		right: -50px;
	}

	.scp-intro__content {
		max-width: none;
	}

	.scp-intro h2 {
		max-width: 330px;
		font-size: clamp(29px, 9vw, 38px);
	}

	.scp-intro p {
		max-width: 430px;
		margin: 12px 0 18px;
		font-size: 14px;
	}

	.scp-contact-actions {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.scp-contact-button {
		min-height: 45px;
	}

	.scp-form-panel {
		padding: 24px 20px 26px;
	}

	.scp-form-grid,
	.scp-service-list {
		grid-template-columns: 1fr;
	}

	.scp-form-grid {
		gap: 12px;
	}

	.scp-success {
		min-height: 430px;
		padding: 60px 22px;
	}

	.scp-success h2 {
		font-size: 33px;
	}

	@keyframes scp-mobile-in {
		from { opacity: 0; transform: translateY(18px); }
		to { opacity: 1; transform: translateY(0); }
	}
}

@media (max-width: 767px) and (orientation: landscape) {
	.scp-intro {
		min-height: 220px;
	}

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

@media (max-width: 380px) {
	.scp-form-panel {
		padding-right: 16px;
		padding-left: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.scp-overlay,
	.scp-modal,
	.scp-spinner {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}

	.scp-root * {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
