/*
 * /pricing — the live estimator (assets/js/estimator.js).
 *
 * Without the script (no html.est-js) every panel is open and the sending
 * block sits at the bottom of the form: the page still works as a plain
 * form. With it, panels open and close, figures roll, the summary follows
 * the visitor and sending happens in a dialog.
 */

.est-section {
    --est-navy: #0A2540;
    --est-blue: #0369A1;
    --est-cyan: #22D3EE;
    --est-line: #E1E8EF;
    --est-soft: #F4F8FC;
    --est-ease: cubic-bezier(.2, .75, .15, 1);
    position: relative;
    padding-block: clamp(3.5rem, 7vw, 6rem);
    background:
        radial-gradient(50rem 26rem at 0% 0%, rgba(34, 211, 238, .07), transparent 60%),
        radial-gradient(40rem 24rem at 100% 40%, rgba(3, 105, 161, .06), transparent 60%),
        #FFFFFF;
    scroll-margin-top: var(--header-compact, 72px);
}
#quotePill { display: none !important; }

/* ---------------------------------------------------------------- Hero */

.est-hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.est-hero-chips li {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .5rem .85rem; border-radius: 999px;
    background: #FFFFFF; border: 1px solid #DCE6EF;
    font-size: 14px; font-weight: 600; color: #22364D;
}

.est-ticket { position: relative; display: grid; place-items: center; padding: 1.5rem 0; }
/* Sur un téléphone, l'estimateur lui-même fait la démonstration. */
@media (max-width: 639px) { .est-ticket { display: none; } }
.est-ticket-glow {
    position: absolute; inset: 12% 8%; z-index: 0; border-radius: 40%;
    background: radial-gradient(closest-side, rgba(34, 211, 238, .35), transparent);
    filter: blur(30px);
}
.est-ticket-card {
    position: relative; z-index: 1; width: min(100%, 22rem);
    padding: 1.4rem 1.4rem 1.2rem; border-radius: 1.4rem;
    background: linear-gradient(160deg, #0A2540 0%, #0E3A62 100%);
    color: #FFFFFF;
    box-shadow: 0 40px 80px -40px rgba(10, 37, 64, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
    animation: est-float 7s ease-in-out infinite;
}
.est-ticket-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #7DD3FC; }
.est-ticket-card ul { margin: .9rem 0 1rem; display: grid; gap: .55rem; }
.est-ticket-card li {
    display: flex; align-items: center; gap: .6rem;
    padding: .6rem .7rem; border-radius: .8rem; background: rgba(255, 255, 255, .06);
    font-size: 14px; color: #D6E4F0;
    animation: est-line-in .7s var(--est-ease, ease) both;
    animation-delay: calc(.35s + var(--i) * .18s);
}
.est-ticket-card li .cmg-ic { color: #FFFFFF; --cmg-icon-accent: #22D3EE; }
.est-ticket-card li b { margin-left: auto; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.est-ticket-total { display: flex; align-items: baseline; justify-content: space-between; padding-top: .9rem; border-top: 1px dashed rgba(255, 255, 255, .2); }
.est-ticket-total span { font-size: 13px; color: #9FB7CC; }
.est-ticket-total small { display: block; margin-top: .15rem; font-size: 12px; color: #7DD3FC; font-variant-numeric: tabular-nums; }
.est-ticket-total b { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(34, 211, 238, .45); }
.est-ticket-bar { margin-top: .9rem; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.est-ticket-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #0EA5E9, #22D3EE); transform-origin: left; animation: est-grow 1.6s var(--est-ease, ease) .9s both; }

@keyframes est-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes est-line-in { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@keyframes est-grow { from { scale: 0 1; } to { scale: 1 1; } }

/* ---------------------------------------------------------------- Picker */

.est { margin-top: 2.5rem; }
.est-legend { display: flex; align-items: baseline; gap: .6rem; font-size: 1.05rem; font-weight: 700; color: var(--est-navy); margin-bottom: 1rem; }
.est-legend span { font-size: 13px; font-weight: 500; color: #5B7089; }

.est-picker-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .est-picker-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.est-svc {
    position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .55rem;
    padding: 1rem 1rem .95rem; border-radius: 1.1rem; cursor: pointer;
    background: #FFFFFF; border: 1.5px solid var(--est-line);
    transition: transform .35s var(--est-ease), border-color .25s ease, box-shadow .35s ease, background-color .25s ease;
}
.est-svc input { position: absolute; opacity: 0; pointer-events: none; }
.est-svc:hover { transform: translateY(-3px); border-color: #B9CCDD; box-shadow: 0 18px 34px -24px rgba(10, 37, 64, .45); }
.est-svc:has(input:focus-visible) { outline: 3px solid var(--est-blue); outline-offset: 2px; }
.est-svc .cmg-ic-medium { width: 2.9rem; height: 2.9rem; }
.est-svc-name { font-size: 15px; font-weight: 700; line-height: 1.25; color: var(--est-navy); }
.est-svc-from { font-size: 12.5px; font-weight: 600; color: #5B7089; font-variant-numeric: tabular-nums; }
.est-svc-check {
    position: absolute; top: .7rem; right: .7rem; width: 1.45rem; height: 1.45rem; border-radius: 50%;
    display: grid; place-items: center; border: 1.5px solid #C9D6E3; background: #FFFFFF;
    transition: background-color .25s ease, border-color .25s ease, transform .4s var(--est-ease);
}
.est-svc-check svg { width: .85rem; height: .85rem; fill: none; stroke: #FFFFFF; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .35s ease .08s; }
.est-svc:has(input:checked) {
    border-color: var(--est-blue);
    background: linear-gradient(160deg, #F0FAFF 0%, #FFFFFF 70%);
    box-shadow: 0 20px 40px -28px rgba(3, 105, 161, .8), 0 0 0 3px rgba(34, 211, 238, .18);
}
.est-svc:has(input:checked) .est-svc-check { background: var(--est-blue); border-color: var(--est-blue); transform: scale(1.08); }
.est-svc:has(input:checked) .est-svc-check svg { stroke-dashoffset: 0; }
.est-svc:has(input:checked) .est-svc-from { color: var(--est-blue); }

/* ---------------------------------------------------------------- Layout */

.est-layout { display: grid; gap: 1.5rem; margin-top: 1.75rem; align-items: start; }
@media (min-width: 1024px) {
    .est-layout { grid-template-columns: minmax(0, 1fr) 24rem; gap: 2rem; }
    .est-summary { position: sticky; top: calc(var(--header-compact, 72px) + 1.25rem); }
}
.est-panels { display: grid; gap: 0; }

/* ---------------------------------------------------------------- Panels */

.est-panel { margin-bottom: 1.25rem; }
.est-panel-inner {
    padding: clamp(1.1rem, 2.5vw, 1.75rem); border-radius: 1.35rem;
    background: #FFFFFF; border: 1px solid var(--est-line);
    box-shadow: 0 24px 48px -40px rgba(10, 37, 64, .45);
}
.est-js .est-panel {
    display: grid; grid-template-rows: 0fr; opacity: 0; margin-bottom: 0;
    transition: grid-template-rows .55s var(--est-ease), opacity .35s ease, margin-bottom .55s var(--est-ease);
}
.est-js .est-panel > .est-panel-inner { min-height: 0; overflow: hidden; translate: 0 18px; transition: translate .55s var(--est-ease); }
.est-js .est-panel.is-on { grid-template-rows: 1fr; opacity: 1; margin-bottom: 1.25rem; }
.est-js .est-panel.is-on > .est-panel-inner { overflow: visible; translate: 0 0; }
.est-js .est-panel:not(.is-on) > .est-panel-inner { padding-block: 0; border-width: 0; }

.est-panel-head { display: flex; align-items: center; gap: .9rem; padding-bottom: 1.1rem; margin-bottom: .4rem; border-bottom: 1px solid #EDF2F7; }
.est-panel-head h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; color: var(--est-navy); }
.est-panel-head p { font-size: 14px; color: #5B7089; margin-top: .1rem; }
.est-remove {
    margin-left: auto; flex: none; width: 2.3rem; height: 2.3rem; border-radius: 50%;
    color: #5B7089; background: var(--est-soft); transition: background-color .2s ease, color .2s ease, transform .3s var(--est-ease);
}
.est-remove:hover { background: #FEE2E2; color: #B91C1C; transform: rotate(90deg); }
html:not(.est-js) .est-remove { display: none; }

/* ---------------------------------------------------------------- Questions */

.est-q { margin-top: 1.35rem; }
.est-q legend { display: block; font-size: 15px; font-weight: 700; color: var(--est-navy); margin-bottom: .7rem; }
.est-q legend small { display: block; margin-top: .2rem; font-size: 13px; font-weight: 500; color: #5B7089; }

.est-opts { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
@media (min-width: 640px) { .est-opts { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); } }
.est-opt { position: relative; cursor: pointer; }
.est-opt input { position: absolute; opacity: 0; pointer-events: none; }
.est-opt-body {
    display: flex; flex-direction: column; gap: .3rem; height: 100%;
    padding: .8rem .9rem; border-radius: .95rem; border: 1.5px solid var(--est-line); background: #FFFFFF;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .3s ease, transform .3s var(--est-ease);
}
.est-opt:hover .est-opt-body { border-color: #9DB6CC; transform: translateY(-1px); }
.est-opt input:focus-visible + .est-opt-body { outline: 3px solid var(--est-blue); outline-offset: 2px; }
.est-opt-top { display: flex; align-items: flex-start; gap: .5rem; }
.est-opt-label { font-size: 14.5px; font-weight: 650; line-height: 1.3; color: var(--est-navy); }
.est-opt-hint { font-size: 12.5px; line-height: 1.45; color: #5B7089; }
.est-opt-price {
    align-self: flex-start; margin-top: auto; padding: .18rem .55rem; border-radius: 999px;
    font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
    color: var(--est-blue); background: #EAF6FD;
}
.est-opt-tick {
    margin-left: auto; flex: none; width: 1.15rem; height: 1.15rem; border-radius: 50%;
    border: 1.5px solid #C9D6E3; background: #FFFFFF; transition: all .25s ease;
}
.est-q-multi .est-opt-tick { border-radius: .35rem; }
.est-opt input:checked + .est-opt-body {
    border-color: var(--est-blue); background: #F2FAFF;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, .16);
}
.est-opt input:checked + .est-opt-body .est-opt-tick {
    border-color: var(--est-blue); background: var(--est-blue);
    box-shadow: inset 0 0 0 3px #FFFFFF;
    animation: est-pop .4s var(--est-ease);
}
.est-q-multi .est-opt input:checked + .est-opt-body .est-opt-tick {
    box-shadow: none;
    background: var(--est-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.est-opt input:checked + .est-opt-body .est-opt-price { color: #FFFFFF; background: var(--est-blue); }
@keyframes est-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* Toggle */
.est-switch {
    display: flex; align-items: center; gap: .9rem; cursor: pointer;
    padding: .85rem 1rem; border-radius: .95rem; border: 1.5px solid var(--est-line);
    transition: border-color .2s ease, background-color .2s ease;
}
.est-switch input { position: absolute; opacity: 0; pointer-events: none; }
.est-switch-track { flex: none; width: 2.75rem; height: 1.6rem; border-radius: 99px; background: #CBD5E1; position: relative; transition: background-color .3s ease; }
.est-switch-track span { position: absolute; top: .2rem; left: .2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #FFFFFF; box-shadow: 0 2px 6px rgba(10, 37, 64, .3); transition: translate .35s var(--est-ease); }
.est-switch-text { display: flex; flex-direction: column; gap: .15rem; }
.est-switch .est-opt-price { margin: 0 0 0 auto; align-self: center; }
.est-switch:has(input:checked) { border-color: var(--est-blue); background: #F2FAFF; }
.est-switch:has(input:checked) .est-switch-track { background: linear-gradient(90deg, #0369A1, #0EA5E9); }
.est-switch:has(input:checked) .est-switch-track span { translate: 1.15rem 0; }
.est-switch:has(input:focus-visible) { outline: 3px solid var(--est-blue); outline-offset: 2px; }

/* Stepper + range */
.est-stepper { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.est-stepper button {
    width: 2.6rem; height: 2.6rem; border-radius: 50%; font-size: 1.3rem; font-weight: 600; line-height: 1;
    color: var(--est-navy); background: var(--est-soft); border: 1.5px solid var(--est-line);
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.est-stepper button:hover:not(:disabled) { background: #E6F4FB; border-color: var(--est-blue); }
.est-stepper button:active:not(:disabled) { transform: scale(.92); }
.est-stepper button:disabled { opacity: .4; cursor: not-allowed; }
.est-stepper input[type="number"] {
    width: 4.5rem; height: 2.6rem; text-align: center; border-radius: .8rem;
    border: 1.5px solid var(--est-line); font-size: 1.15rem; font-weight: 800; color: var(--est-navy);
    font-variant-numeric: tabular-nums; -moz-appearance: textfield;
}
.est-stepper input[type="number"]::-webkit-inner-spin-button,
.est-stepper input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.est-stepper input[type="number"]:focus { outline: none; border-color: var(--est-blue); box-shadow: 0 0 0 3px rgba(34, 211, 238, .25); }
.est-stepper input.is-bump { animation: est-pop .35s var(--est-ease); }
.est-stepper-unit { font-size: 13px; font-weight: 600; color: #5B7089; }
.est-stepper-unit small { display: block; font-weight: 500; }
.est-range { display: none; }
.est-js .est-range {
    display: block; width: 100%; margin-top: .9rem; height: 6px; border-radius: 99px; cursor: pointer;
    -webkit-appearance: none; appearance: none;
    background: linear-gradient(90deg, #0369A1, #22D3EE) 0 0 / var(--p, 0%) 100% no-repeat, #E2E8F0;
}
.est-range::-webkit-slider-thumb { -webkit-appearance: none; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #FFFFFF; border: 3px solid var(--est-blue); box-shadow: 0 4px 12px rgba(3, 105, 161, .35); transition: transform .2s ease; }
.est-range::-webkit-slider-thumb:hover { transform: scale(1.12); }
.est-range::-moz-range-thumb { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #FFFFFF; border: 3px solid var(--est-blue); }

.est-scope { margin-top: 1.4rem; border-top: 1px solid #EDF2F7; padding-top: 1rem; }
.est-scope summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--est-blue); list-style: none; display: inline-flex; align-items: center; gap: .4rem; }
.est-scope summary::-webkit-details-marker { display: none; }
.est-scope summary::after { content: '+'; font-size: 1.1rem; transition: transform .3s ease; }
.est-scope[open] summary::after { transform: rotate(45deg); }
.est-scope-grid { display: grid; gap: .5rem 1.5rem; margin-top: .8rem; }
@media (min-width: 640px) { .est-scope-grid { grid-template-columns: 1fr 1fr; } }
.est-scope li { display: flex; gap: .55rem; font-size: 13.5px; line-height: 1.5; color: #22364D; padding-block: .15rem; }
.est-scope li i { margin-top: .28rem; font-size: 11px; color: var(--est-blue); }
.est-scope-out li { color: #5B7089; }
.est-scope-out li i { color: #94A3B8; }

.est-flash { margin-bottom: 1.25rem; padding: .9rem 1.1rem; border-radius: .9rem; font-weight: 600; font-size: 15px; }
.est-flash.is-ok { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.est-flash.is-error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.est-nudge {
    margin-top: 1.1rem; padding: .75rem .95rem; border-radius: .9rem;
    display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem;
    font-size: 13.5px; font-weight: 600; line-height: 1.5; color: #075985;
    background: #ECFEFF; border: 1px solid #A5F3FC;
    animation: est-line-in .45s var(--est-ease) both;
}
.est-nudge button { padding: .3rem .8rem; border-radius: 99px; background: #0369A1; color: #FFFFFF; font-size: 13px; font-weight: 700; }
.est-nudge button:hover { background: #075985; }
.est-js .est-q.is-muted { opacity: .7; }
.est-js .est-q.is-muted .est-range { pointer-events: none; }
.est-error { margin-top: .5rem; font-size: 13.5px; font-weight: 600; color: #B91C1C; }

/* ---------------------------------------------------------------- Summary card */

.est-card {
    position: relative; overflow: hidden;
    padding: 1.5rem; border-radius: 1.5rem; color: #FFFFFF;
    background:
        radial-gradient(30rem 16rem at 100% 0%, rgba(34, 211, 238, .22), transparent 60%),
        linear-gradient(165deg, #0A2540 0%, #0C3155 60%, #0A2540 100%);
    box-shadow: 0 40px 80px -46px rgba(10, 37, 64, .9);
}
.est-card-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #7DD3FC; }
.est-totals { margin-top: .8rem; display: grid; gap: .35rem; }
.est-total-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .75rem; }
.est-total-label { font-size: 13px; font-weight: 600; color: #9FB7CC; }
.est-amount {
    display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .4rem;
    font-size: clamp(2.1rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05;
    font-variant-numeric: tabular-nums; text-shadow: 0 0 30px rgba(34, 211, 238, .35);
}
.est-amount-sm { font-size: 1.55rem; }
.est-per { font-size: .95rem; font-weight: 600; color: #9FB7CC; }
.est-high { display: inline-flex; gap: .4rem; font-size: .62em; font-weight: 700; color: #BAE6FD; }
.est-dash { color: #7DD3FC; }
.est-amount { position: relative; }
.est-amount.is-bump { animation: est-bump .6s var(--est-ease); }
.est-delta {
    position: absolute; right: 0; top: -1.1rem; font-size: 13px; font-weight: 800; letter-spacing: 0;
    padding: .1rem .45rem; border-radius: 99px; opacity: 0; pointer-events: none; text-shadow: none;
}
.est-delta.is-up { color: #06283F; background: #5EEAD4; }
.est-delta.is-down { color: #06283F; background: #BAE6FD; }
.est-delta.is-on { animation: est-delta 1.3s var(--est-ease) both; }
@keyframes est-delta { 0% { opacity: 0; translate: 0 8px; } 20% { opacity: 1; translate: 0 0; } 75% { opacity: 1; } 100% { opacity: 0; translate: 0 -10px; } }
@keyframes est-bump {
    0% { transform: scale(1); }
    35% { transform: scale(1.045); text-shadow: 0 0 40px rgba(34, 211, 238, .8); }
    100% { transform: scale(1); }
}

.est-meter { display: flex; gap: 3px; height: 8px; margin: 1.1rem 0 .4rem; border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.est-meter i { flex-basis: 0; flex-grow: 0; min-width: 0; transition: flex-grow .7s var(--est-ease); background: #22D3EE; }
.est-meter i:nth-child(9n+2) { background: #38BDF8; }
.est-meter i:nth-child(9n+3) { background: #0EA5E9; }
.est-meter i:nth-child(9n+4) { background: #2DD4BF; }
.est-meter i:nth-child(9n+5) { background: #818CF8; }
.est-meter i:nth-child(9n+6) { background: #67E8F9; }
.est-meter i:nth-child(9n+7) { background: #60A5FA; }
.est-meter i:nth-child(9n+8) { background: #5EEAD4; }
.est-meter i:nth-child(9n+9) { background: #A5B4FC; }

.est-blocks { display: grid; gap: .6rem; margin-top: 1rem; max-height: calc(100vh - var(--header-compact, 72px) - 25rem); min-height: 9rem; overflow-y: auto; padding-right: .2rem; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.est-block { padding: .8rem .9rem; border-radius: 1rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.est-block.is-new { animation: est-line-in .5s var(--est-ease) both; }
.est-block-head { display: flex; align-items: center; gap: .55rem; }
.est-block-head .cmg-ic { color: #FFFFFF; --cmg-icon-accent: #22D3EE; }
.est-block-head b { font-size: 14.5px; }
.est-block-head [data-block-total] { margin-left: auto; font-size: 13.5px; font-weight: 700; color: #E0F2FE; font-variant-numeric: tabular-nums; text-align: right; }
.est-lines { margin-top: .5rem; display: grid; gap: .25rem; }
.est-lines li { display: flex; justify-content: space-between; gap: 1rem; font-size: 13px; line-height: 1.45; color: #B9CBDC; padding: .15rem .35rem; border-radius: .4rem; }
.est-lines li span:last-child { flex: none; color: #E2EEF8; font-variant-numeric: tabular-nums; }
.est-lines li.is-new { animation: est-flash 1.2s ease both; }
@keyframes est-flash { 0% { background: rgba(34, 211, 238, .28); translate: -6px 0; opacity: 0; } 25% { opacity: 1; translate: 0 0; } 100% { background: transparent; } }
.est-block-days { margin-top: .45rem; font-size: 12.5px; font-weight: 600; color: #7DD3FC; }
.est-block-days small { display: block; margin-top: .1rem; font-size: 11.5px; font-weight: 500; line-height: 1.4; color: #8FA6BC; }
.est-empty { margin-top: 1rem; font-size: 14px; color: #B9CBDC; }

.est-fine { margin-top: 1rem; font-size: 12px; line-height: 1.5; color: #8FA6BC; }
.est-actions { margin-top: 1.1rem; display: grid; gap: .7rem; }
.est-card .est-send-btn {
    justify-content: center; width: 100%;
    background: linear-gradient(90deg, #22D3EE, #67E8F9); color: #06283F; border-color: transparent;
    box-shadow: 0 14px 30px -14px rgba(34, 211, 238, .8);
    position: relative; overflow: hidden;
}
.est-card .est-send-btn:hover { background: linear-gradient(90deg, #67E8F9, #A5F3FC); color: #06283F; border-color: transparent; }
.est-send-btn::after {
    content: ''; position: absolute; inset: 0; left: -60%; width: 40%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .7), transparent);
    transform: skewX(-18deg); animation: est-shine 4.5s ease-in-out 2s infinite;
}
@keyframes est-shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.est-actions-sub { display: flex; justify-content: space-between; gap: .5rem; }
.est-link { display: inline-flex; align-items: center; gap: .45rem; font-size: 13px; font-weight: 600; color: #BAE6FD; padding: .35rem .2rem; border-radius: .4rem; transition: color .2s ease; }
.est-link:hover { color: #FFFFFF; }
.est-card :focus-visible { outline: 3px solid var(--est-cyan); outline-offset: 2px; }
.est-link.is-done { color: #5EEAD4; }
html:not(.est-js) .est-actions { display: none; }

/* ---------------------------------------------------------------- Phone dock */

.est-dock { display: none; }
@media (max-width: 1023px) {
    .est-js .est-dock {
        position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 40;
        display: flex; align-items: center; justify-content: space-between; gap: 1rem;
        padding: .7rem .7rem .7rem 1.1rem; border-radius: 1.1rem; color: #FFFFFF;
        background: rgba(10, 37, 64, .94); backdrop-filter: blur(12px);
        box-shadow: 0 20px 40px -18px rgba(10, 37, 64, .8);
        translate: 0 140%; opacity: 0; transition: translate .45s var(--est-ease), opacity .3s ease;
    }
    .est-js .est-dock.is-on { translate: 0 0; opacity: 1; }
    .est-dock-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7DD3FC; }
    .est-dock-total { display: block; font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; }
    .est-dock .site-btn { padding: .7rem 1.1rem; background: #22D3EE; border-color: #22D3EE; color: #06283F; }
}

/* ---------------------------------------------------------------- Sending */

html:not(.est-js) .est-send { margin-top: 2rem; }
html:not(.est-js) .est-send-backdrop, html:not(.est-js) .est-send-close, html:not(.est-js) [data-est-done] { display: none; }
.est-send-panel { position: relative; }
.est-js .est-send { position: fixed; inset: 0; z-index: 60; display: grid; align-items: end; justify-items: center; visibility: hidden; pointer-events: none; }
.est-js .est-send.is-open { visibility: visible; pointer-events: auto; }
.est-js .est-send-backdrop { position: absolute; inset: 0; background: rgba(10, 37, 64, .6); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s ease; }
.est-js .est-send.is-open .est-send-backdrop { opacity: 1; }
.est-js .est-send-panel {
    width: 100%; max-width: 36rem; max-height: 94vh; overflow-y: auto;
    padding: 1.6rem 1.4rem 1.4rem; border-radius: 1.5rem 1.5rem 0 0; background: #FFFFFF;
    translate: 0 100%; transition: translate .5s var(--est-ease);
}
.est-js .est-send.is-open .est-send-panel { translate: 0 0; }
@media (min-width: 640px) {
    .est-js .est-send { align-items: center; padding: 1rem; }
    .est-js .est-send-panel { border-radius: 1.5rem; translate: 0 24px; scale: .96; opacity: 0; transition: translate .45s var(--est-ease), scale .45s var(--est-ease), opacity .3s ease; }
    .est-js .est-send.is-open .est-send-panel { translate: 0 0; scale: 1; opacity: 1; }
}
body.est-lock { overflow: hidden; }
.est-send-close { position: absolute; top: 1rem; right: 1rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--est-soft, #F4F8FC); color: #22364D; }
.est-send-title { margin-top: .6rem; font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; color: #0A2540; }
.est-send-lead { margin-top: .4rem; font-size: 14.5px; line-height: 1.6; color: #47617A; }
.est-send-recap { margin-top: 1rem; padding: .9rem 1rem; border-radius: 1rem; background: #F4F8FC; border: 1px solid #E1E8EF; display: grid; gap: .3rem; }
.est-send-recap:empty { display: none; }
.est-send-recap p { display: flex; justify-content: space-between; gap: 1rem; font-size: 13.5px; color: #22364D; }
.est-send-recap p b { font-variant-numeric: tabular-nums; text-align: right; }
.est-send-recap .est-send-total { margin-top: .3rem; padding-top: .5rem; border-top: 1px dashed #C9D6E3; font-size: 14.5px; color: #0A2540; }
.est-alert { margin-top: 1rem; padding: .75rem 1rem; border-radius: .8rem; background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; font-size: 14px; font-weight: 600; }
.est-fields { margin-top: 1.1rem; display: grid; gap: .9rem; }
@media (min-width: 640px) { .est-fields { grid-template-columns: 1fr 1fr; } .est-fields-wide { grid-column: 1 / -1; } }
.est-fields label { display: block; margin-bottom: .35rem; font-size: 13.5px; font-weight: 700; color: #22364D; }
.est-fields label span { font-weight: 500; color: #5B7089; }
.est-fields input, .est-fields textarea {
    width: 100%; padding: .75rem .9rem; border-radius: .8rem; border: 1.5px solid #D9E2EC; background: #FFFFFF;
    font-size: 15px; color: #0A2540; transition: border-color .2s ease, box-shadow .2s ease;
}
.est-fields input:focus, .est-fields textarea:focus { outline: none; border-color: #0369A1; box-shadow: 0 0 0 3px rgba(34, 211, 238, .25); }
.est-fields [aria-invalid="true"] { border-color: #DC2626; }
.est-submit { margin-top: 1.2rem; width: 100%; justify-content: center; }
.est-send-fine { margin-top: .7rem; font-size: 12.5px; color: #5B7089; text-align: center; }

.est-done { padding: 1.2rem 0 .4rem; text-align: center; outline: none; }
.est-done .site-btn { margin-top: 1.3rem; }
.est-done-mark { width: 4.2rem; height: 4.2rem; margin: 0 auto; }
.est-done-mark circle { fill: none; stroke: #22D3EE; stroke-width: 3; stroke-dasharray: 152; stroke-dashoffset: 152; animation: est-draw .7s ease forwards; }
.est-done-mark path { fill: none; stroke: #0369A1; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: est-draw .45s ease .55s forwards; }
@keyframes est-draw { to { stroke-dashoffset: 0; } }

/* ---------------------------------------------------------------- Steps */

.est-steps { display: grid; gap: 1rem; counter-reset: est; }
@media (min-width: 768px) { .est-steps { grid-template-columns: repeat(3, 1fr); } }
.est-step { position: relative; padding: 1.6rem; }
.est-step h3 { margin-top: 1rem; font-size: 1.1rem; font-weight: 800; color: #0A2540; }
.est-step-n { position: absolute; top: 1.2rem; right: 1.3rem; font-size: 2.6rem; font-weight: 800; line-height: 1; color: #E3EDF5; }

/* ---------------------------------------------------------------- Motion off */

@media (prefers-reduced-motion: reduce) {
    .est-section *, .est-hero * { animation: none !important; transition: none !important; }
    .est-done-mark circle, .est-done-mark path { stroke-dashoffset: 0; }
}
@media print {
    .est-dock, .est-send, .est-actions, .est-picker, .est-remove { display: none !important; }
    .est-card { color: #0A2540; background: none; box-shadow: none; border: 1px solid #CBD5E1; }
    .est-js .est-panel:not(.is-on) { display: none; }
}
