:root {
	--ustm-navy: #0b1f44;
	--ustm-navy-deep: #071430;
	--ustm-red: #d0202f;
	--ustm-red-dark: #ab1624;
	--ustm-cream: #f5f2ea;
	--ustm-ink: #0f172a;
	--ustm-slate: #475569;
	--ustm-line: #dfe5ee;
	--ustm-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--ustm-body: "Public Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { font-family: var(--ustm-body); color: var(--ustm-ink); -webkit-font-smoothing: antialiased; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header / footer wrappers ---------- */
.ustm-site-header { position: sticky; top: 0; z-index: 990; box-shadow: 0 1px 0 rgba(11, 31, 68, .08), 0 8px 24px -18px rgba(11, 31, 68, .45); }
.admin-bar .ustm-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ustm-site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ustm-site-header { top: 0; } }
.ustm-site-footer a { text-decoration: none; }
.ustm-site-footer a:hover { text-decoration: underline; }

/* ---------- Quote form ---------- */
.ustm-quote {
	background: #fff;
	border-radius: 18px;
	padding: 30px 28px 26px;
	box-shadow: 0 30px 60px -28px rgba(7, 20, 48, .55), 0 2px 6px rgba(7, 20, 48, .08);
	border-top: 6px solid var(--ustm-red);
	font-family: var(--ustm-body);
	text-align: left;
}
.ustm-quote__title { margin: 0 0 4px; font-family: var(--ustm-head); font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -.01em; color: var(--ustm-navy); }
.ustm-quote__sub { margin: 0 0 18px; color: var(--ustm-slate); font-size: 15px; }
.ustm-quote__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; margin: 0; }
.ustm-field { min-width: 0; }
.ustm-field--full, .ustm-quote__submit, .ustm-quote__note, .ustm-quote__error { grid-column: 1 / -1; }
.ustm-field label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .01em; color: var(--ustm-navy); }
.ustm-quote .ustm-field input,
.ustm-quote .ustm-field select {
	display: block; width: 100%; height: 50px; box-sizing: border-box;
	padding: 0 14px; margin: 0;
	border: 1.5px solid #c9d2df; border-radius: 10px;
	background: #fbfcfe; color: var(--ustm-ink);
	font: 500 16px/1.2 var(--ustm-body);
	transition: border-color .15s, box-shadow .15s;
	-webkit-appearance: none; appearance: none;
}
.ustm-quote .ustm-field select {
	padding-right: 38px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b1f44' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
.ustm-quote .ustm-field input:focus,
.ustm-quote .ustm-field select:focus { outline: none; border-color: var(--ustm-navy); box-shadow: 0 0 0 4px rgba(11, 31, 68, .14); background-color: #fff; }
.ustm-quote .ustm-field.is-invalid input,
.ustm-quote .ustm-field.is-invalid select { border-color: var(--ustm-red); background-color: #fff6f6; }
.ustm-field__msg { display: block; margin-top: 5px; font-size: 12.5px; font-weight: 600; color: var(--ustm-red-dark); }
.ustm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ustm-quote__error { padding: 10px 14px; border-radius: 10px; background: #fff1f1; color: var(--ustm-red-dark); font-size: 14px; font-weight: 600; }
.ustm-quote__error[hidden] { display: none; }
.ustm-quote .ustm-quote__submit {
	display: block; width: 100%; min-height: 56px; margin-top: 4px; padding: 0 20px;
	border: 0; border-radius: 10px; cursor: pointer;
	background: var(--ustm-red); color: #fff;
	font: 800 18px/1 var(--ustm-head); letter-spacing: .01em; text-transform: none;
	box-shadow: 0 12px 22px -12px rgba(208, 32, 47, .9);
	transition: background-color .15s, transform .15s;
}
.ustm-quote .ustm-quote__submit:hover { background: var(--ustm-red-dark); transform: translateY(-1px); }
.ustm-quote .ustm-quote__submit:focus-visible { outline: 3px solid var(--ustm-navy); outline-offset: 3px; }
.ustm-quote .ustm-quote__submit[disabled] { opacity: .65; cursor: progress; transform: none; }
.ustm-quote__note { margin: 0; text-align: center; font-size: 12.5px; color: #64748b; }
.ustm-quote__done { text-align: center; padding: 26px 6px 14px; }
.ustm-quote__done svg { display: block; margin: 0 auto 14px; }
.ustm-quote__done h3 { margin: 0 0 8px; font: 800 24px/1.15 var(--ustm-head); color: var(--ustm-navy); }
.ustm-quote__done p { margin: 0; color: var(--ustm-slate); font-size: 16px; line-height: 1.5; }
@media (max-width: 480px) {
	.ustm-quote { padding: 24px 18px 20px; border-radius: 14px; }
	.ustm-quote__title { font-size: 24px; }
	.ustm-quote__form { grid-template-columns: 1fr; }
}

/* ---------- Call buttons ---------- */
.ustm-call-wrap { display: flex; }
.ustm-call {
	display: inline-flex; align-items: center; gap: 12px;
	padding: 10px 20px 10px 10px; border-radius: 999px;
	background: var(--ustm-red); color: #fff !important;
	text-decoration: none !important; font-family: var(--ustm-head);
	transition: background-color .15s, transform .15s, box-shadow .15s;
}
.ustm-call:hover { background: var(--ustm-red-dark); transform: translateY(-1px); }
.ustm-call:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--ustm-navy); }
.ustm-call__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.ustm-call__text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.ustm-call__label { font: 600 11.5px/1.2 var(--ustm-body); letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.ustm-call__number { font-weight: 800; font-size: 18px; letter-spacing: .01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ustm-call--light { background: #fff; color: var(--ustm-navy) !important; box-shadow: inset 0 0 0 1.5px var(--ustm-line); }
.ustm-call--light:hover { background: #f3f6fb; }
.ustm-call--light .ustm-call__icon { background: var(--ustm-red); color: #fff; }
.ustm-call--outline { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.ustm-call--outline:hover { background: rgba(255, 255, 255, .1); }
.ustm-call--plain { background: transparent; color: var(--ustm-navy) !important; padding: 0; }
.ustm-call--plain:hover { background: transparent; color: var(--ustm-red) !important; }
.ustm-call--plain .ustm-call__icon { background: var(--ustm-red); color: #fff; }

/* Floating button that follows the visitor */
.ustm-float { position: fixed; right: 22px; bottom: 22px; z-index: 995; }
.ustm-call--float { padding: 12px 24px 12px 12px; box-shadow: 0 18px 34px -12px rgba(7, 20, 48, .6), 0 0 0 4px rgba(255, 255, 255, .9); }
.ustm-call--float .ustm-call__icon { width: 44px; height: 44px; position: relative; }
.ustm-call--float .ustm-call__icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: ustm-ring 2.2s ease-out infinite; }
@keyframes ustm-ring { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ustm-call--float .ustm-call__icon::after { animation: none; opacity: 0; } html { scroll-behavior: auto; } }
@media (max-width: 767px) {
	.ustm-float { left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); box-shadow: 0 -8px 24px -14px rgba(7, 20, 48, .5); }
	.ustm-call--float { display: flex; justify-content: center; width: 100%; box-sizing: border-box; padding: 8px 18px; box-shadow: none; }
	.ustm-call--float .ustm-call__icon { width: 38px; height: 38px; }
	body.ustm-has-float { padding-bottom: 76px; }
}

/* ---------- Generic button used in plugin-rendered areas ---------- */
.ustm-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 10px; background: var(--ustm-red); color: #fff !important; font: 800 16px/1 var(--ustm-head); text-decoration: none !important; }
.ustm-btn:hover { background: var(--ustm-red-dark); }

/* ---------- Navigation ---------- */
.ustm-nav { font-family: var(--ustm-head); }
.ustm-nav ul { list-style: none; margin: 0; padding: 0; }
.ustm-nav a { color: var(--ustm-navy); text-decoration: none; font-weight: 600; font-size: 15.5px; transition: color .15s; }
.ustm-nav a:hover, .ustm-nav .current-menu-item > a { color: var(--ustm-red); }
.ustm-nav--horizontal .ustm-nav__list { display: flex; align-items: center; gap: 19px; }
.ustm-nav--horizontal .ustm-nav__list > li { position: relative; }
.ustm-nav--horizontal .ustm-nav__list > li > a { display: block; padding: 12px 0; white-space: nowrap; }
.ustm-nav--horizontal .sub-menu { position: absolute; left: -16px; top: 100%; min-width: 220px; padding: 8px 0; background: #fff; border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(7, 20, 48, .4); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.ustm-nav--horizontal li:hover > .sub-menu, .ustm-nav--horizontal li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ustm-nav--horizontal .sub-menu a { display: block; padding: 9px 18px; }
.ustm-nav--vertical .ustm-nav__list li { margin: 0 0 10px; }
.ustm-nav--vertical a { font-family: var(--ustm-body); font-weight: 500; font-size: 15.5px; }
.ustm-nav__toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1.5px solid var(--ustm-line); border-radius: 10px; background: #fff; color: var(--ustm-navy); cursor: pointer; }
.ustm-nav__toggle:hover, .ustm-nav__toggle:focus { background: #f3f6fb; color: var(--ustm-navy); }
.ustm-nav__bars, .ustm-nav__bars::before, .ustm-nav__bars::after { display: block; width: 20px; height: 2px; margin: 0 auto; background: currentColor; border-radius: 2px; transition: transform .2s; }
.ustm-nav__bars { position: relative; }
.ustm-nav__bars::before, .ustm-nav__bars::after { content: ""; position: absolute; left: 0; }
.ustm-nav__bars::before { top: -6px; }
.ustm-nav__bars::after { top: 6px; }
@media (max-width: 1024px) {
	.ustm-nav--horizontal .ustm-nav__toggle { display: block; }
	.ustm-nav--horizontal .ustm-nav__list { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 5; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; background: #fff; box-shadow: 0 24px 30px -20px rgba(7, 20, 48, .45); border-top: 1px solid var(--ustm-line); }
	.ustm-nav--horizontal.is-open .ustm-nav__list { display: flex; }
	.ustm-nav--horizontal .ustm-nav__list > li > a { padding: 14px 0; border-bottom: 1px solid var(--ustm-line); font-size: 17px; }
	.ustm-nav--horizontal .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 14px; }
	/* let the dropdown span the header, not just the widget */
	.ustm-site-header .elementor-widget-ustm-nav-menu, .ustm-site-header .elementor-widget-ustm-nav-menu .ustm-nav { position: static; }
}

/* ---------- Editable-content helpers used by the starter pages ---------- */
.ustm-card { transition: transform .2s, box-shadow .2s; }
.ustm-card:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -26px rgba(7, 20, 48, .45); }
.ustm-prose p { margin: 0 0 1em; }
.ustm-prose p:last-child { margin-bottom: 0; }
.ustm-prose a { color: var(--ustm-red); font-weight: 600; }
.ustm-media-slot img { display: block; width: 100%; height: auto; }

/* ---------- Moving guides (blog posts and archives) ---------- */
body.single-post main.site-main, body.blog main.site-main, body.archive main.site-main, body.search main.site-main { max-width: 800px; margin: 0 auto; padding: 56px 22px 72px; font-family: var(--ustm-body); }
body.single-post .page-header .entry-title, body.blog .page-header .entry-title, body.archive .page-header .entry-title {
	font: 800 clamp(32px, 5vw, 48px)/1.08 var(--ustm-head); letter-spacing: -.02em; color: var(--ustm-navy); margin: 0 0 22px; max-width: none;
}
body.single-post .page-content { font-size: 18px; line-height: 1.7; color: #1f2937; }
body.single-post .page-content h2 { margin: 1.9em 0 .5em; font: 800 28px/1.15 var(--ustm-head); letter-spacing: -.01em; color: var(--ustm-navy); }
body.single-post .page-content h3 { margin: 1.6em 0 .4em; font: 700 21px/1.2 var(--ustm-head); color: var(--ustm-navy); }
body.single-post .page-content a { color: var(--ustm-red); }
body.single-post .page-content li { margin-bottom: .45em; }
body.single-post .page-content .ustm-lede { font-size: 21px; line-height: 1.55; color: var(--ustm-slate); }
body.single-post .page-content .ustm-tip { margin: 1.6em 0; padding: 18px 22px; border-left: 5px solid var(--ustm-red); background: var(--ustm-cream); border-radius: 0 12px 12px 0; }
body.single-post .page-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 16px; }
body.single-post .page-content th, body.single-post .page-content td { padding: 11px 12px; border-bottom: 1px solid var(--ustm-line); text-align: left; vertical-align: top; }
body.single-post .page-content th { font-family: var(--ustm-head); color: var(--ustm-navy); background: #f3f6fb; }
.ustm-table-wrap { overflow-x: auto; }
body.blog article.post, body.archive article.post { padding: 26px 0; border-bottom: 1px solid var(--ustm-line); }
body.blog article.post .entry-title, body.archive article.post .entry-title { margin: 0 0 8px; font: 800 24px/1.2 var(--ustm-head); }
body.blog article.post .entry-title a, body.archive article.post .entry-title a { color: var(--ustm-navy); text-decoration: none; }
body.blog article.post .entry-title a:hover, body.archive article.post .entry-title a:hover { color: var(--ustm-red); }
.ustm-article-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin: 48px 0 0; padding: 30px 32px; border-radius: 18px; background: var(--ustm-navy); color: #fff; }
.ustm-article-cta h3 { margin: 0 0 6px; font: 800 24px/1.15 var(--ustm-head); color: #fff !important; }
.ustm-article-cta p { margin: 0; color: #c9d5ea; font-size: 16px; line-height: 1.5; }
.ustm-article-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header layout (content stays editable in Elementor) ---------- */
.ustm-site-header .ustm-header-logo { flex: none; }
.ustm-site-header .ustm-header-logo img { display: block; }
@media (min-width: 1025px) and (max-width: 1380px) { .ustm-site-header .ustm-header-logo img { max-width: clamp(250px, 23vw, 318px); } }
.ustm-site-header .elementor-widget-ustm-nav-menu { flex: 1 1 auto; }
.ustm-site-header .ustm-nav--horizontal .ustm-nav__list { justify-content: center; }
.ustm-site-header .ustm-header-actions { width: auto; flex: none; }
.ustm-site-header .ustm-header-actions .elementor-button { white-space: nowrap; }
.ustm-phone-link { color: inherit; font-weight: 700; text-decoration: none; }
.ustm-phone-link:hover { text-decoration: underline; }
.ustm-site-footer .ustm-footer-contact a { color: inherit; }
.ustm-footer-contact div { margin-bottom: 8px; }
@media (max-width: 1320px) {
	.ustm-site-header .ustm-header-actions .ustm-call__label { display: none; }
	.ustm-nav--horizontal .ustm-nav__list { gap: 20px; }
}
@media (max-width: 1024px) {
	.ustm-site-header .elementor-widget-ustm-nav-menu { flex: none; order: 3; }
	.ustm-site-header .ustm-header-actions { margin-left: auto; }
}
