/* Baltic Clean — price calculator (calculate.php). Same palette, radii and shadows as the home page. */
.bcc-page .bc-lang-menu { max-height: 70vh; overflow-y: auto; }
.bcc-skip { position: absolute; left: -9999px; top: 0; z-index: 10100; background: #0f766e; color: #fff; padding: .75rem 1rem; border-radius: 0 0 .75rem 0; font-weight: 700; }
.bcc-skip:focus { left: 0; }

.bcc { display: block; background: #f9fafb; padding-bottom: 4rem; outline: none; color: #1f2937; }
.bcc *, .bcc *::before, .bcc *::after { box-sizing: border-box; }
.bcc [hidden] { display: none !important; }
.bcc a:focus-visible, .bcc button:focus-visible, .bcc input:focus-visible, .bcc textarea:focus-visible,
.bcc-bar a:focus-visible { outline: 3px solid #0f766e; outline-offset: 2px; }

/* hero — same look as the home hero (teal overlay over a photo) */
.bcc-hero {
  position: relative; color: #fff; text-align: center;
  background: linear-gradient(120deg, rgba(11,58,54,.92) 0%, rgba(15,118,110,.86) 50%, rgba(15,118,110,.74) 100%), url('/images/bc/generalnaya-uborka.jpg') center / cover no-repeat;
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(5rem, 10vw, 6.5rem);
}
.bcc-eyebrow { display: inline-block; background: rgba(255,255,255,.2); border-radius: 999px; padding: .55rem 1.4rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.1rem; }
.bcc-hero h1 { font-size: clamp(1.9rem, 6vw, 3.25rem); line-height: 1.15; font-weight: 800; margin: 0 0 1rem; color: #fff; overflow-wrap: anywhere; }
.bcc-lead { font-size: clamp(1.05rem, 2.6vw, 1.3rem); line-height: 1.5; max-width: 44rem; margin: 0 auto 1.6rem; color: rgba(255,255,255,.92); }
.bcc-steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; padding: 0; margin: 0; }
.bcc-steps li { display: inline-flex; align-items: center; gap: .55rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: .4rem 1rem .4rem .4rem; font-size: .92rem; font-weight: 600; }
.bcc-steps b { width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #fff; color: #0f766e; display: inline-grid; place-items: center; font-size: .85rem; flex: none; }

/* layout */
.bcc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-top: -3rem; position: relative; z-index: 1; }
@media (min-width: 1024px) {
  .bcc-layout { grid-template-columns: minmax(0, 1fr) 23rem; gap: 1.5rem; align-items: start; }
  .bcc-services { grid-column: 1; grid-row: 1; }
  .bcc-loc { grid-column: 1; grid-row: 2; }
  .bcc-contact { grid-column: 1; grid-row: 3; }
  .bcc-aside { grid-column: 2; grid-row: 1 / span 3; position: sticky; top: 6.5rem; }
}
@media (min-width: 1280px) { .bcc-layout { grid-template-columns: minmax(0, 1fr) 25rem; } }

.bcc-card { background: #fff; border: 1px solid #edf2f1; border-radius: 1.5rem; box-shadow: 0 12px 32px -14px rgba(15,118,110,.22); padding: clamp(1.1rem, 3.5vw, 2rem); min-width: 0; }
fieldset.bcc-card { margin: 0; }
.bcc-h2 { display: flex; align-items: center; gap: .65rem; font-size: clamp(1.2rem, 3.2vw, 1.5rem); line-height: 1.25; font-weight: 700; color: #111827; margin: 0 0 1.1rem; padding: 0; }
legend.bcc-h2 { float: left; width: 100%; }
legend.bcc-h2 + * { clear: both; }
.bcc-h-ico { width: 2.5rem; height: 2.5rem; border-radius: .9rem; background: #ccfbf1; color: #0f766e; display: inline-grid; place-items: center; font-size: 1rem; flex: none; }
.bcc-muted { color: #4b5563; font-size: .92rem; margin: -.5rem 0 1rem; }

/* service cards */
.bcc-group { border: 0; padding: 0; margin: 0 0 1.4rem; min-width: 0; }
.bcc-group:last-child { margin-bottom: 0; }
.bcc-legend { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0f766e; margin: 0 0 .65rem; padding: 0; }
.bcc-svc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; align-items: start; }
@media (min-width: 640px) { .bcc-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bcc-svc { position: relative; border: 2px solid #e5e7eb; border-radius: 1.15rem; background: #fff; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.bcc-svc:hover { border-color: #99f6e4; }
.bcc-svc.is-on, .bcc-svc:has(.bcc-check:checked) { border-color: #0d9488; background: #f0fdfa; box-shadow: 0 8px 20px -12px rgba(13,148,136,.55); }
.bcc-check { position: absolute; top: 1.4rem; right: 1.35rem; width: 1.5rem; height: 1.5rem; margin: 0; opacity: 0; }
.bcc-svc-head { display: flex; align-items: center; gap: .85rem; padding: 1rem; min-height: 4.75rem; cursor: pointer; border-radius: 1rem; }
.bcc-svc-ico { width: 2.75rem; height: 2.75rem; border-radius: .9rem; background: #f0fdfa; color: #0d9488; display: grid; place-items: center; flex: none; font-size: 1.1rem; transition: background-color .15s, color .15s; }
.bcc-svc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bcc-svc-name { font-weight: 700; color: #111827; line-height: 1.25; overflow-wrap: anywhere; }
.bcc-svc-rate { font-size: .85rem; color: #4b5563; margin-top: .2rem; }
.bcc-tick { width: 1.8rem; height: 1.8rem; border-radius: .55rem; border: 2px solid #94a3b8; background: #fff; display: grid; place-items: center; color: transparent; flex: none; font-size: .85rem; transition: all .15s; }
.bcc-check:checked + .bcc-svc-head .bcc-tick { background: #0d9488; border-color: #0d9488; color: #fff; }
.bcc-check:checked + .bcc-svc-head .bcc-svc-ico { background: #0d9488; color: #fff; }
.bcc-check:focus-visible + .bcc-svc-head { outline: 3px solid #0f766e; outline-offset: 2px; }
.bcc-qty { display: none; align-items: center; flex-wrap: wrap; gap: .5rem .9rem; padding: 0 1rem 1rem; }
.bcc-check:checked ~ .bcc-qty { display: flex; }
.bcc-qty-label { width: 100%; font-size: .85rem; font-weight: 600; color: #374151; }
.bcc-stepper { display: inline-flex; align-items: stretch; border: 2px solid #d1d5db; border-radius: .9rem; overflow: hidden; background: #fff; }
.bcc-stepper:focus-within { border-color: #0d9488; box-shadow: 0 0 0 3px rgba(13,148,136,.2); }
.bcc-step { width: 3rem; min-height: 3rem; border: 0; background: #f0fdfa; color: #0f766e; font-size: 1rem; cursor: pointer; display: grid; place-items: center; }
.bcc-step:hover { background: #ccfbf1; }
.bcc-step:focus-visible { outline-offset: -3px; }
.bcc-stepper input { width: 5.25rem; border: 0; text-align: center; font: inherit; font-size: 1.1rem; font-weight: 700; color: #111827; background: #fff; padding: 0 .25rem; -moz-appearance: textfield; appearance: textfield; }
.bcc-stepper input:focus { outline: none; }
.bcc-stepper input::-webkit-outer-spin-button, .bcc-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bcc-stepper input[aria-invalid="true"] { color: #b91c1c; }
.bcc-svc-price { margin-left: auto; font-weight: 800; color: #0f766e; font-size: 1.05rem; white-space: nowrap; }
.bcc-nojs .bcc-step, .bcc-nojs .bcc-line-rm, .bcc-nojs .bcc-bar, .bcc-nojs .bcc-svc-price { display: none !important; }

/* location */
.bcc-loc { border: 1px solid #edf2f1; }
.bcc-loc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
@media (min-width: 640px) { .bcc-loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bcc-radio { position: relative; display: block; cursor: pointer; }
.bcc-radio input { position: absolute; top: 1.25rem; left: 1.25rem; width: 1.25rem; height: 1.25rem; margin: 0; opacity: 0; }
.bcc-radio-box { display: flex; align-items: center; gap: .85rem; min-height: 4.25rem; padding: .9rem 1rem; border: 2px solid #e5e7eb; border-radius: 1.15rem; background: #fff; transition: border-color .15s, background-color .15s; }
.bcc-radio:hover .bcc-radio-box { border-color: #99f6e4; }
.bcc-radio input:checked + .bcc-radio-box { border-color: #0d9488; background: #f0fdfa; }
.bcc-radio input:focus-visible + .bcc-radio-box { outline: 3px solid #0f766e; outline-offset: 2px; }
.bcc-radio-ico { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #f0fdfa; color: #0d9488; display: grid; place-items: center; flex: none; }
.bcc-radio input:checked + .bcc-radio-box .bcc-radio-ico { background: #0d9488; color: #fff; }
.bcc-radio-txt { display: flex; flex-direction: column; min-width: 0; }
.bcc-radio-txt strong { color: #111827; font-weight: 700; }
.bcc-radio-txt small { color: #4b5563; font-size: .85rem; margin-top: .15rem; }

/* summary */
.bcc-lines { list-style: none; margin: 0; padding: 0; }
.bcc-line { display: flex; align-items: flex-start; gap: .6rem; padding: .8rem 0; border-bottom: 1px dashed #e5e7eb; }
.bcc-line-main { flex: 1; min-width: 0; }
.bcc-line-name { display: block; font-weight: 600; color: #111827; overflow-wrap: anywhere; }
.bcc-line-meta { display: block; font-size: .8rem; color: #4b5563; margin-top: .1rem; }
.bcc-line-price { font-weight: 700; white-space: nowrap; padding-top: .05rem; }
.bcc-line-rm { width: 2.5rem; height: 2.5rem; margin: -.4rem 0 -.4rem 0; border: 0; border-radius: .75rem; background: #f3f4f6; color: #4b5563; cursor: pointer; flex: none; display: grid; place-items: center; }
.bcc-line-rm:hover { background: #fee2e2; color: #b91c1c; }
.bcc-line--fee { padding-right: 3.1rem; }
.bcc-nojs .bcc-line--fee { padding-right: 0; }
.bcc-empty { color: #4b5563; background: #f9fafb; border: 1px dashed #cbd5e1; border-radius: 1rem; padding: 1rem; text-align: center; margin: 0; font-size: .95rem; }
.bcc-total { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .25rem 1rem; margin-top: 1rem; padding: 1rem 1.15rem; border-radius: 1.15rem; background: linear-gradient(135deg, #0f766e, #134e4a); color: #fff; }
.bcc-total span { font-weight: 600; font-size: .95rem; }
.bcc-total strong { font-size: clamp(1.6rem, 5vw, 2rem); font-weight: 800; line-height: 1.1; white-space: nowrap; }
.bcc-note { display: flex; gap: .55rem; align-items: flex-start; font-size: .85rem; line-height: 1.45; color: #374151; margin: .8rem 0 0; }
.bcc-note i { color: #0d9488; margin-top: .2rem; }
.bcc-to-form { width: 100%; margin-top: 1rem; }
@media (max-width: 1023px) { .bcc-to-form { display: none; } }

/* form */
.bcc-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 640px) { .bcc-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bcc-f--full { grid-column: 1 / -1; } }
.bcc-f { min-width: 0; }
.bcc-f label { display: block; font-weight: 600; font-size: .92rem; color: #111827; margin-bottom: .35rem; }
.bcc-req { color: #b91c1c; }
.bcc-opt { font-weight: 500; color: #4b5563; font-size: .8rem; }
.bcc-f input, .bcc-f textarea { display: block; width: 100%; min-height: 3.1rem; padding: .75rem 1rem; border: 2px solid #d1d5db; border-radius: .9rem; font: inherit; font-size: 1rem; background: #fff; color: #111827; transition: border-color .15s, box-shadow .15s; }
.bcc-f textarea { min-height: 6.5rem; resize: vertical; }
.bcc-f input::placeholder, .bcc-f textarea::placeholder { color: #6b7280; opacity: 1; }
.bcc-f input:focus, .bcc-f textarea:focus { border-color: #0d9488; box-shadow: 0 0 0 3px rgba(13,148,136,.2); outline: 2px solid transparent; }
.bcc-f input[aria-invalid="true"], .bcc-consent input[aria-invalid="true"] { border-color: #dc2626; }
.bcc-err { color: #b91c1c; font-size: .87rem; font-weight: 600; margin: .4rem 0 0; }
.bcc-services > .bcc-err { margin: -.4rem 0 1rem; padding: .65rem .9rem; background: #fef2f2; border-radius: .8rem; }
.bcc-qty .bcc-err { width: 100%; margin: 0; }
.bcc-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.bcc-consent { display: flex; gap: .8rem; align-items: flex-start; margin: 1.25rem 0; padding: 1rem; background: #f9fafb; border: 1px solid #edf2f1; border-radius: 1rem; }
.bcc-consent input { width: 1.5rem; height: 1.5rem; flex: none; margin: .05rem 0 0; accent-color: #0d9488; cursor: pointer; }
.bcc-consent label { cursor: pointer; color: #111827; }
.bcc-consent a { display: inline-block; margin-top: .25rem; color: #0f766e; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.bcc-alert { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 1rem; padding: .9rem 1.1rem; margin: 0 0 1.1rem; }
.bcc-alert p { margin: 0; font-weight: 700; }
.bcc-alert ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.bcc-alert a { color: #991b1b; text-decoration: underline; }
.bcc-call { text-align: center; color: #4b5563; font-size: .9rem; margin: .9rem 0 0; }
.bcc-call a { color: #0f766e; font-weight: 600; white-space: nowrap; }

/* buttons — like the home page CTA buttons */
.bcc-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; padding: .85rem 1.6rem; border-radius: 1rem; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1.05rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, transform .15s, box-shadow .15s; }
.bcc-btn--primary { background: #0d9488; color: #fff; box-shadow: 0 6px 16px -6px rgba(13,148,136,.6); }
.bcc-btn--primary:hover { background: #0f766e; color: #fff; transform: translateY(-1px); }
.bcc-btn--primary:disabled { opacity: .7; cursor: progress; transform: none; }
.bcc-btn--ghost { background: #f0fdfa; color: #0f766e; border-color: #ccfbf1; }
.bcc-btn--ghost:hover { background: #ccfbf1; }
.bcc-submit { width: 100%; min-height: 3.75rem; font-size: 1.15rem; }

/* thank-you */
.bcc-thanks { max-width: 42rem; margin: -3rem auto 0; position: relative; z-index: 1; text-align: center; outline: none; padding: clamp(1.5rem, 5vw, 2.75rem); }
.bcc-thanks-ico { font-size: 3.25rem; color: #0d9488; line-height: 1; margin-bottom: .75rem; }
.bcc-thanks h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 800; color: #111827; margin: 0 0 .6rem; }
.bcc-thanks p { color: #374151; font-size: 1.05rem; margin: 0 0 1rem; }
.bcc-thanks-total { font-weight: 700; color: #0f766e !important; }
.bcc-thanks-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.25rem; }

/* mobile bottom bar (leaves room for the chat / callback buttons on the right) */
.bcc-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: .75rem; background: #fff; border-top: 1px solid #e5e7eb; box-shadow: 0 -10px 24px -14px rgba(0,0,0,.3); padding: .6rem 5.25rem .6rem 1rem; padding-bottom: max(.6rem, env(safe-area-inset-bottom)); }
.bcc-bar[hidden] { display: none; }
.bcc-bar-l { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.bcc-bar-l span { font-size: .78rem; color: #4b5563; font-weight: 600; }
.bcc-bar-l strong { font-size: 1.3rem; font-weight: 800; color: #0f766e; white-space: nowrap; }
.bcc-bar .bcc-btn { min-height: 2.9rem; padding: .6rem 1.1rem; font-size: 1rem; flex: none; }
@media (min-width: 1024px) { .bcc-bar { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  .bcc *, .bcc-bar { transition: none !important; scroll-behavior: auto !important; }
}
