/* Assly Devis — quote form. Self-contained (works with any theme). */
/* Font: inherited from the site (theme). */
.adv input, .adv select, .adv textarea, .adv button { font-family: inherit; letter-spacing: inherit; }
.adv-title, .adv-card__title, .adv-done h2 { letter-spacing: -0.025em; }

.adv {
	--adv-ink: #0f1a1e;
	--adv-text: #33403f;
	--adv-muted: #66727a;
	--adv-line: #e3e8eb;
	--adv-line-strong: #d0d8dd;
	--adv-soft: #f5f8f9;
	--adv-tint: #eaf4f7;
	--adv-primary: #005d7c;
	--adv-primary-dark: #00465e;
	--adv-accent: #e77103;
	--adv-success: #1f9d49;
	--adv-danger: #d2092b;
	--adv-r: 10px;
	--adv-r-sm: 6px;
	--adv-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 14px 32px -16px rgba(16, 24, 40, .14);
	max-width: 1180px;
	margin: 0 auto;
	padding: clamp(20px, 4vw, 44px) clamp(14px, 3vw, 24px) 56px;
	color: var(--adv-text);
	font-size: 15px;
	line-height: 1.5;
}
.adv *, .adv *::before, .adv *::after { box-sizing: border-box; }
.adv [hidden] { display: none !important; }
.adv .adv-i { display: block; flex-shrink: 0; }
.adv button { font: inherit; cursor: pointer; }

/* Intro */
.adv-intro { max-width: 720px; margin: 0 auto clamp(20px, 3vw, 32px); text-align: center; }
.adv-eyebrow { display: inline-block; margin-bottom: 6px; color: var(--adv-primary); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.adv-title { margin: 0 0 8px; color: var(--adv-ink); font-size: clamp(26px, 1.2rem + 2vw, 38px); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
.adv-lead { margin: 0 0 18px; color: var(--adv-muted); font-size: clamp(15px, .9rem + .2vw, 17px); }
.adv-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 700; color: var(--adv-text); }
.adv-steps li { display: flex; align-items: center; gap: 7px; }
.adv-steps span { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--adv-tint); color: var(--adv-primary); font-size: 12px; font-weight: 800; }

/* Layout & cards */
.adv-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
@media (min-width: 960px) {
	.adv-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; }
	.adv-card--client { position: sticky; top: 20px; }
}
.adv-card { padding: clamp(16px, 2.4vw, 24px); background: #fff; border: 1px solid var(--adv-line); border-radius: var(--adv-r); box-shadow: var(--adv-shadow); }
.adv-card__title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--adv-ink); font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.adv-num { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--adv-tint); color: var(--adv-primary); font-size: 14px; font-weight: 800; box-shadow: inset 0 0 0 1.5px #b8d6e1; }

/* Search */
.adv-search { position: relative; }
.adv-search > .adv-i { position: absolute; top: 50%; inset-inline-start: 16px; width: 20px; height: 20px; color: var(--adv-muted); transform: translateY(-50%); pointer-events: none; }
.adv .adv-search__input {
	width: 100%; height: 54px; min-height: 54px; margin: 0; padding: 0 48px 0 48px;
	border: 1.5px solid var(--adv-line-strong); border-radius: 8px; background: #fbfcfd;
	color: var(--adv-ink); font-size: 16px; box-shadow: none; -webkit-appearance: none; appearance: none;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.adv .adv-search__input:focus { outline: none; border-color: var(--adv-primary); background: #fff; box-shadow: 0 0 0 4px rgba(0, 93, 124, .12); }
.adv .adv-search__input::-webkit-search-cancel-button { display: none; }
.adv-search__clear { position: absolute; top: 50%; inset-inline-end: 8px; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--adv-muted); transform: translateY(-50%); }
.adv-search__clear:hover { background: var(--adv-soft); color: var(--adv-ink); }
.adv-search__clear .adv-i { width: 18px; height: 18px; }

.adv-results {
	position: absolute; top: calc(100% + 6px); inset-inline: 0; z-index: 30;
	max-height: min(60vh, 440px); overflow-y: auto; overscroll-behavior: contain;
	padding: 6px; background: #fff; border: 1px solid var(--adv-line); border-radius: 8px;
	box-shadow: 0 22px 44px -18px rgba(16, 24, 40, .35);
}
.adv-res { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 6px; cursor: pointer; transition: background .12s ease; }
.adv-res:hover, .adv-res.is-active { background: var(--adv-soft); }
.adv-res img { flex-shrink: 0; width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--adv-line); border-radius: 6px; background: #fff; }
.adv-res__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.adv-res__name { color: var(--adv-ink); font-size: 14px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.adv-res__meta, .adv-item__meta { font-size: 12px; color: var(--adv-muted); }
.adv .is-in { color: var(--adv-success); font-weight: 700; }
.adv .is-out { color: var(--adv-accent); font-weight: 700; }
.adv-res__add { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 38px; height: 38px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 6px; background: var(--adv-primary); color: #fff; transition: background .15s ease, transform .15s ease; }
.adv-res:hover .adv-res__add { transform: scale(1.06); }
.adv-res.is-added .adv-res__add { background: var(--adv-success); }
.adv-res-status { display: flex; align-items: center; gap: 10px; padding: 16px 12px; color: var(--adv-muted); font-size: 14px; }
.adv-res-more { display: block; width: 100%; min-height: 44px; margin: 4px 0 0; padding: 10px; border: 0; border-radius: 6px; background: var(--adv-soft); color: var(--adv-primary); font-weight: 700; }
.adv-res-more:hover { background: var(--adv-tint); }
.adv-spin { width: 18px; height: 18px; border: 2px solid var(--adv-line); border-top-color: var(--adv-primary); border-radius: 50%; animation: adv-spin .7s linear infinite; }
@keyframes adv-spin { to { transform: rotate(360deg); } }

/* List */
.adv-list-head { display: flex; align-items: center; gap: 10px; margin: 20px 0 10px; font-size: 14px; color: var(--adv-ink); }
.adv-count { padding: 2px 10px; border-radius: 999px; background: var(--adv-soft); color: var(--adv-muted); font-size: 12.5px; font-weight: 700; }
.adv-clear-all { margin-inline-start: auto; min-height: 0; padding: 4px 0; border: 0; background: none; color: var(--adv-muted); font-size: 13px; font-weight: 600; text-decoration: underline; }
.adv-clear-all:hover { color: var(--adv-danger); }
.adv-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.adv-item {
	display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; align-items: center; gap: 12px;
	padding: 10px 12px; border: 1px solid var(--adv-line); border-radius: 8px; background: #fff;
	transition: border-color .2s ease, background .4s ease;
}
.adv-item.is-new { border-color: var(--adv-success); background: #f3faef; }
.adv-item__img img { display: block; width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--adv-line); border-radius: 6px; background: #fff; }
.adv-item__info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.adv-item__name { color: var(--adv-ink); font-size: 14px; font-weight: 700; line-height: 1.3; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.adv-item__name:hover { color: var(--adv-primary); }
.adv-qty { display: flex; align-items: center; border: 1.5px solid var(--adv-line-strong); border-radius: 6px; background: #fff; overflow: hidden; }
.adv-qty__btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 40px; min-height: 0; margin: 0; padding: 0; border: 0; background: transparent; color: var(--adv-ink); }
.adv-qty__btn:hover { background: var(--adv-soft); color: var(--adv-primary); }
.adv-qty__btn .adv-i { width: 16px; height: 16px; }
.adv .adv-qty__input { width: 56px; height: 40px; min-height: 0; margin: 0; padding: 0; border: 0; border-inline: 1px solid var(--adv-line); border-radius: 0; background: transparent; box-shadow: none; text-align: center; font-size: 15px; font-weight: 800; color: var(--adv-ink); -moz-appearance: textfield; appearance: textfield; }
.adv .adv-qty__input::-webkit-outer-spin-button, .adv .adv-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.adv .adv-qty__input:focus { outline: none; background: var(--adv-tint); }
.adv-item__remove { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--adv-muted); }
.adv-item__remove:hover { background: #fdecef; color: var(--adv-danger); }
.adv-item__remove .adv-i { width: 18px; height: 18px; }
.adv-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 30px 16px; border: 1.5px dashed var(--adv-line-strong); border-radius: 8px; background: var(--adv-soft); text-align: center; color: var(--adv-muted); font-size: 13.5px; }
.adv-empty .adv-i { width: 34px; height: 34px; margin-bottom: 6px; color: #9fb2ba; }
.adv-empty strong { color: var(--adv-ink); font-size: 15px; }
@media (max-width: 560px) {
	.adv-item { grid-template-columns: 56px minmax(0, 1fr) 34px; grid-template-areas: "img info rm" "img qty qty"; gap: 8px 10px; padding: 10px; }
	.adv-item__img { grid-area: img; align-self: start; }
	.adv-item__img img { width: 56px; height: 56px; }
	.adv-item__info { grid-area: info; }
	.adv-qty { grid-area: qty; justify-self: start; }
	.adv-item__remove { grid-area: rm; align-self: start; width: 34px; height: 34px; }
}

/* Client form */
.adv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.adv-field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.adv-field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .adv-grid { grid-template-columns: minmax(0, 1fr); } }
.adv-field label { margin: 0; color: #2a3134; font-size: 13.5px; font-weight: 700; }
.adv-req { color: var(--adv-accent); }
.adv-opt { color: #8a9296; font-weight: 500; font-size: 12.5px; }
.adv .adv-field input, .adv .adv-field select, .adv .adv-field textarea {
	width: 100%; min-height: 50px; margin: 0; padding: 12px 14px;
	border: 1.5px solid var(--adv-line-strong); border-radius: var(--adv-r-sm);
	background: #fbfcfd; color: var(--adv-ink); font: inherit; font-size: 16px; box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.adv .adv-field textarea { min-height: 88px; resize: vertical; }
.adv .adv-field select { -webkit-appearance: none; appearance: none; padding-inline-end: 38px; background: #fbfcfd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366727a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px; }
[dir="rtl"] .adv .adv-field select { background-position: left 14px center; }
.adv .adv-field input:focus, .adv .adv-field select:focus, .adv .adv-field textarea:focus { outline: none; border-color: var(--adv-primary); background-color: #fff; box-shadow: 0 0 0 4px rgba(0, 93, 124, .12); }
.adv .adv-field.is-invalid input, .adv .adv-field.is-invalid select, .adv .adv-field.is-invalid textarea { border-color: var(--adv-danger); background-color: #fffafb; box-shadow: 0 0 0 4px rgba(210, 9, 43, .08); }
.adv-field.is-invalid label { color: var(--adv-danger); }
.adv-field__msg { color: var(--adv-danger); font-size: 12.5px; font-weight: 600; }
.adv-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.adv-submit-bar { margin-top: 18px; }
.adv-error { margin: 0 0 12px; padding: 12px 14px; border: 1px solid #f3c2cb; border-radius: 6px; background: #fff5f7; color: #9c0a24; font-size: 14px; font-weight: 600; }
.adv .adv-submit {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	width: 100%; min-height: 58px; margin: 0; padding: 14px 20px;
	border: 0; border-radius: 8px; background: linear-gradient(180deg, #f07e14, var(--adv-accent));
	color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .01em;
	box-shadow: 0 12px 26px -10px rgba(231, 113, 3, .6), inset 0 1px 0 rgba(255, 255, 255, .2);
	transition: transform .12s ease, filter .15s ease;
}
.adv .adv-submit:hover { filter: brightness(.96); transform: translateY(-1px); }
.adv .adv-submit:disabled { opacity: .75; cursor: wait; transform: none; }
.adv .adv-submit .adv-i { width: 19px; height: 19px; }
.adv-submit.is-loading .adv-i { animation: adv-spin .8s linear infinite; }
.adv-submit__count { opacity: .85; font-weight: 700; }
.adv-fineprint { margin: 10px 0 0; text-align: center; color: #8a9296; font-size: 12.5px; }

/* Success */
.adv-done { max-width: 560px; margin: 10px auto; padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--adv-line); border-radius: 10px; box-shadow: var(--adv-shadow); text-align: center; }
.adv-done__icon { display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; margin-bottom: 14px; border-radius: 50%; background: var(--adv-success); color: #fff; box-shadow: 0 0 0 8px #e3f3da; }
.adv-done__icon .adv-i { width: 34px; height: 34px; }
.adv-done h2 { margin: 0 0 6px; color: var(--adv-ink); font-size: 26px; font-weight: 900; }
.adv-done__num { margin: 0 0 8px; color: var(--adv-primary); font-weight: 800; }
.adv-done__text { margin: 0 0 22px; color: var(--adv-muted); }
.adv-done__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.adv .adv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1.5px solid transparent; border-radius: 8px; font-size: 15px; font-weight: 800; text-decoration: none; }
.adv .adv-btn--primary { background: var(--adv-primary); color: #fff; }
.adv .adv-btn--primary:hover { background: var(--adv-primary-dark); color: #fff; }
.adv .adv-btn--ghost { background: #fff; border-color: var(--adv-line-strong); color: var(--adv-ink); }
.adv .adv-btn--ghost:hover { border-color: var(--adv-primary); color: var(--adv-primary); }

/* Toast */
.adv-toast {
	position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 99999;
	max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 8px;
	background: var(--adv-ink); color: #fff; font-size: 14px; font-weight: 600;
	box-shadow: 0 16px 34px rgba(0, 0, 0, .25);
	transform: translate(-50%, 24px); opacity: 0; visibility: hidden; pointer-events: none;
	transition: transform .22s ease, opacity .22s ease, visibility .22s;
}
.adv-toast.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

@media (prefers-reduced-motion: reduce) {
	.adv *, .adv *::before, .adv *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Custom header & footer (quote page on a blank template — includes/layout.php)
   ========================================================================== */
.adv-site-header, .adv-site-footer {
	--adv-ink: #0f1a1e; --adv-muted: #66727a; --adv-line: #e3e8eb;
	--adv-primary: #005d7c; --adv-accent: #e77103;
	font-size: 15px; line-height: 1.5;
}
.adv-site-header *, .adv-site-footer * { box-sizing: border-box; }
.adv-site-header .adv-i, .adv-site-footer .adv-i { display: block; flex-shrink: 0; }

.adv-site-header { position: sticky; top: 0; z-index: 80; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--adv-line); backdrop-filter: saturate(1.4) blur(8px); }
.admin-bar .adv-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .adv-site-header { top: 0; } }
.adv-site-header__row { display: flex; align-items: center; gap: 24px; max-width: 1180px; min-height: 70px; margin: 0 auto; padding: 0 clamp(14px, 3vw, 24px); }
.adv-site-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.adv-site-header .adv-logo { display: block; width: 170px; height: auto; max-height: 52px; object-fit: contain; }
.adv-logo--text { font-size: 22px; font-weight: 900; color: var(--adv-ink); }
.adv-site-header__nav { display: flex; gap: 4px; margin-inline-end: auto; }
.adv-site-header__nav a { padding: 8px 12px; border-radius: 6px; color: var(--adv-ink); font-size: 14.5px; font-weight: 700; text-decoration: none; transition: background .15s ease, color .15s ease; }
.adv-site-header__nav a:hover { background: #f1f6f8; color: var(--adv-primary); }
.adv-site-header__actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.adv-site-header__phone { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 8px; color: var(--adv-ink); text-decoration: none; transition: background .15s ease; }
.adv-site-header__phone:hover { background: #f1f6f8; }
.adv-site-header__phone .adv-i { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: #eaf4f7; color: var(--adv-primary); }
.adv-site-header__phone span { display: flex; flex-direction: column; font-size: 15px; font-weight: 800; line-height: 1.15; }
.adv-site-header__phone small { font-size: 11.5px; font-weight: 600; color: var(--adv-muted); }
.adv-site-header__wa { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 8px; background: #25d366; color: #fff; font-size: 14.5px; font-weight: 800; text-decoration: none; box-shadow: 0 10px 20px -12px rgba(37, 211, 102, .9); transition: filter .15s ease, transform .15s ease; }
.adv-site-header__wa:hover { filter: brightness(.95); transform: translateY(-1px); color: #fff; }
@media (max-width: 900px) { .adv-site-header__nav { display: none; } }
@media (max-width: 560px) {
	.adv-site-header__row { min-height: 60px; gap: 10px; }
	.adv-site-header .adv-logo { width: 135px; }
	.adv-site-header__phone { padding: 0; }
	.adv-site-header__phone span { display: none; }
	.adv-site-header__wa { width: 44px; padding: 0; justify-content: center; }
	.adv-site-header__wa span { display: none; }
}

.adv-site-footer { margin-top: 24px; background: linear-gradient(160deg, #062b38 0%, #00465e 100%); color: #cfe0e6; }
.adv-site-footer__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 1180px; margin: 0 auto; padding: clamp(36px, 5vw, 56px) clamp(14px, 3vw, 24px); }
@media (min-width: 700px) { .adv-site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .adv-site-footer__top { grid-template-columns: 1.3fr 1fr 1fr .9fr; gap: 36px; } }
.adv-site-footer__logo { display: inline-block; margin-bottom: 14px; }
.adv-site-footer .adv-logo { display: block; width: 130px; height: auto; filter: brightness(0) invert(1); }
.adv-site-footer .adv-logo--text { color: #fff; }
.adv-site-footer p { margin: 0; }
.adv-site-footer__brand > p { max-width: 340px; margin-bottom: 16px; font-size: 14px; color: #a9c4cd; }
.adv-site-footer__assure { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: #fff; }
.adv-site-footer__assure li { display: flex; align-items: center; gap: 8px; }
.adv-site-footer__assure .adv-i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(231, 113, 3, .2); color: #ffb466; }
.adv-site-footer__h { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.adv-site-footer__addr { margin-bottom: 10px !important; font-size: 13.5px; color: #a9c4cd; }
.adv-site-footer__line { display: flex; align-items: center; gap: 8px; padding: 4px 0; color: #fff; font-size: 14px; text-decoration: none; word-break: break-word; }
.adv-site-footer__line:hover { color: #ffb466; }
.adv-site-footer__line .adv-i { width: 16px; height: 16px; color: #ffb466; }
.adv-site-footer__links { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.adv-site-footer__links a { color: #cfe0e6; font-size: 14px; text-decoration: none; transition: color .15s ease, padding .15s ease; }
.adv-site-footer__links a:hover { color: #fff; padding-inline-start: 4px; }
.adv-site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; max-width: 1180px; margin: 0 auto; padding: 16px clamp(14px, 3vw, 24px) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #8fb0bb; }
@media (max-width: 560px) { .adv-site-footer__bottom { flex-direction: column; text-align: center; } }

/* ── Form UX polish: groups, field icons, valid state, reassurance ─────── */
.adv-group { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 4px 0 -4px; color: var(--adv-muted); font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.adv-group::after { content: ""; flex: 1; height: 1px; background: var(--adv-line); }
.adv-grid > .adv-group:not(:first-child) { margin-top: 10px; }

.adv-field--ico { position: relative; }
.adv-field--ico::before {
	content: ""; position: absolute; inset-inline-start: 14px; top: 40px; width: 20px; height: 20px; pointer-events: none;
	background: var(--adv-muted); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
	transition: background .15s ease;
}
.adv-field--ico:focus-within::before { background: var(--adv-primary); }
.adv .adv-field--ico input, .adv .adv-field--ico select { padding-inline-start: 44px; }
.adv-ico-user { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.adv-ico-company { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V5l8-3v19M13 8h6v13M8 9h2M8 13h2M8 17h2M16 12h1M16 16h1'/%3E%3C/svg%3E"); }
.adv-ico-phone { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.adv-ico-mail { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.adv-ico-pin { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
/* when an error message sits under the input, keep the icon on the input */
.adv-field--ico.is-invalid::before { background: var(--adv-danger); }
.adv-field--ico > label { line-height: 1.4; min-height: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Valid state: green border + check mark */
.adv .adv-field.is-valid input, .adv .adv-field.is-valid select { border-color: #9fd8b3; padding-inline-end: 40px; }
.adv .adv-field.is-valid:not(:has(select)) input { background: #fbfcfd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f9d49' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
[dir="rtl"] .adv .adv-field.is-valid:not(:has(select)) input { background-position: left 14px center; }
.adv-field.is-valid::before { background: var(--adv-success); }

/* Reassurance chips under the submit button */
.adv-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 12px 0 0; padding: 0; list-style: none; color: var(--adv-muted); font-size: 12.5px; font-weight: 600; }
.adv-assure li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.adv-assure li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #e3f6ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f9d49' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 9px; }

/* ── Responsive polish ─────────────────────────────────────────────────── */
.adv-mbar {
	position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px);
	border-top: 1px solid var(--adv-line); box-shadow: 0 -8px 24px -12px rgba(16, 24, 40, .22);
	animation: adv-mbar-in .25s ease both;
}
@keyframes adv-mbar-in { from { transform: translateY(100%); } to { transform: none; } }
.adv-mbar__info { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.adv-mbar__count { color: var(--adv-ink); font-size: 15px; font-weight: 800; }
.adv-mbar__info span { color: var(--adv-muted); font-size: 12px; }
.adv .adv-mbar__btn {
	display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; min-height: 46px; margin: 0; padding: 0 22px;
	border: 0; border-radius: 8px; background: var(--adv-accent); color: #fff; font-size: 15px; font-weight: 800;
	box-shadow: 0 8px 18px -8px rgba(231, 113, 3, .8);
}
.adv .adv-mbar__btn .adv-i { width: 18px; height: 18px; }
.adv.has-mbar { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { .adv-mbar { display: none !important; } }

@media (max-width: 959px) {
	.adv-card--client { scroll-margin-top: 80px; }
}
@media (max-width: 560px) {
	.adv { padding-top: 14px; }
	.adv-intro { margin-bottom: 14px; }
	.adv-title { font-size: 26px; }
	.adv-lead { margin-bottom: 12px; font-size: 14.5px; }
	.adv-steps { gap: 6px 12px; font-size: 12px; }
	.adv-steps span { width: 22px; height: 22px; font-size: 11px; }
	.adv-layout { gap: 14px; }
	.adv-card { padding: 14px 12px; }
	.adv-card__title { margin-bottom: 12px; font-size: 16.5px; }
	.adv-grid { gap: 12px; }
	.adv .adv-field input, .adv .adv-field select { min-height: 48px; }
	.adv-field--ico::before { top: 39px; }
	.adv-results { max-height: 60vh; overflow-y: auto; }
	.adv .adv-submit { width: 100%; }
	.adv-done { padding-inline: 12px; }
	.adv-done__ctas > * { flex: 1 1 100%; }
}
