:root {
	--omct-cyan: #0db6d4;
	--omct-navy: #082b48;
	--omct-deep: #061d2d;
	--omct-cream: #f8f5ee;
	--omct-gold: #d0a85e;
	--omct-green: #1f9d62;
}

.omct-modal,
.omct-modal * {
	box-sizing: border-box;
}

.omct-modal[aria-hidden="true"] {
	display: none;
}

.omct-modal {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 22px;
}

.omct-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 22, 34, 0.76);
	backdrop-filter: blur(7px);
}

.omct-dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 690px);
	max-height: calc(100vh - 44px);
	max-height: calc(100svh - 44px);
	overflow-y: auto;
	padding: 30px;
	border: 1px solid rgba(8, 43, 72, 0.12);
	border-radius: 26px;
	background: var(--omct-cream);
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
	color: var(--omct-deep);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.omct-dialog:focus {
	outline: none;
}

.omct-close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(8, 43, 72, 0.08);
	color: var(--omct-navy);
	font-size: 27px;
	line-height: 1;
	cursor: pointer;
}

.omct-header {
	display: flex;
	align-items: center;
	gap: 15px;
	padding-right: 38px;
	margin-bottom: 24px;
}

.omct-header img {
	border-radius: 16px;
	box-shadow: 0 10px 25px rgba(13, 182, 212, 0.18);
}

.omct-header p {
	margin: 0 0 3px;
	color: #527080;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.omct-header h2 {
	margin: 0;
	color: var(--omct-navy);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(28px, 6vw, 38px);
	font-weight: 500;
	line-height: 1.05;
}

.omct-whatsapp {
	display: block;
	padding: 16px 18px;
	border-radius: 16px;
	background: var(--omct-green);
	box-shadow: 0 12px 26px rgba(31, 157, 98, 0.18);
	color: #fff;
	text-decoration: none;
	transition: transform 150ms ease, background 150ms ease;
}

.omct-whatsapp:hover,
.omct-whatsapp:focus-visible {
	background: #178453;
	color: #fff;
	transform: translateY(-1px);
}

.omct-whatsapp strong,
.omct-whatsapp span {
	display: block;
}

.omct-whatsapp strong {
	font-size: 17px;
}

.omct-whatsapp span {
	margin-top: 3px;
	opacity: 0.82;
	font-size: 13px;
}

.omct-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 20px 0;
	color: #73838b;
	font-size: 12px;
}

.omct-divider::before,
.omct-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #d6dedf;
}

.omct-form,
.omct-form label {
	display: grid;
	gap: 7px;
}

.omct-form {
	gap: 14px;
}

.omct-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.omct-form label {
	color: #263f4b;
	font-size: 13px;
	font-weight: 750;
}

.omct-form label > span {
	color: #b25942;
}

.omct-form label small {
	color: #718087;
	font-weight: 500;
}

.omct-form input:not([type="checkbox"]),
.omct-form textarea {
	width: 100%;
	padding: 12px 13px;
	border: 1px solid #c9d4d8;
	border-radius: 11px;
	background: #fff;
	color: #102d3a;
	font: inherit;
	font-weight: 500;
}

.omct-form input:focus,
.omct-form textarea:focus {
	border-color: var(--omct-cyan);
	box-shadow: 0 0 0 3px rgba(13, 182, 212, 0.15);
	outline: none;
}

.omct-form textarea {
	resize: vertical;
}

.omct-consent {
	display: flex !important;
	grid-template-columns: 18px 1fr;
	align-items: flex-start;
	gap: 9px !important;
	font-weight: 500 !important;
	line-height: 1.45;
}

.omct-consent input {
	width: 17px;
	height: 17px;
	margin: 2px 0 0;
	accent-color: var(--omct-cyan);
}

.omct-consent span {
	color: #52656e !important;
}

.omct-trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.omct-submit,
.omct-inline-button,
.omct-floating-button {
	border: 0;
	border-radius: 999px;
	font-family: inherit;
	font-weight: 800;
	cursor: pointer;
}

.omct-submit {
	min-height: 50px;
	padding: 12px 22px;
	background: var(--omct-navy);
	color: #fff;
	font-size: 15px;
}

.omct-submit:disabled {
	opacity: 0.6;
	cursor: wait;
}

.omct-floating-button {
	position: fixed;
	z-index: 99990;
	right: 22px;
	bottom: 22px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 49px;
	padding: 11px 20px;
	background: var(--omct-gold);
	box-shadow: 0 12px 35px rgba(7, 31, 47, 0.25);
	color: #09253a;
	font-size: 15px;
}

.omct-floating-button span {
	font-size: 18px;
}

.omct-inline-button {
	padding: 12px 22px;
	background: var(--omct-gold);
	color: #09253a;
}

.omct-status {
	min-height: 20px;
	margin: 0;
	font-size: 13px;
	font-weight: 650;
}

.omct-status.is-success { color: #177148; }
.omct-status.is-error { color: #a83a32; }
.omct-modal-open { overflow: hidden; }

@media (max-width: 620px) {
	.omct-modal { padding: 0; align-items: end; }
	.omct-dialog { width: 100%; max-height: 94svh; padding: 24px 18px 28px; border-radius: 24px 24px 0 0; }
	.omct-field-row { grid-template-columns: 1fr; }
	.omct-floating-button { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	.omct-whatsapp { transition: none; }
}
