.calc-launch {
  position: fixed;
  top: 144px;
  right: clamp(24px, 3vw, 36px);
  z-index: 4;
  gap: 10px;
  padding: 13px 18px;
  border-color: #ffb36780;
  background: #081c30e8;
  box-shadow: 0 8px 24px #0004;
  font-size: 13px;
}
.calc-launch svg { color: #ffb367; width: 19px; height: 19px; }
.calc-modal {
  width: min(920px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #6386a24d;
  border-radius: 26px;
  background: radial-gradient(ellipse at top left, #17354d 0, transparent 55%), #071727;
  color: #f3f7fc;
  box-shadow: 0 28px 100px #0009, 0 0 60px #ff9b3d0d;
  scrollbar-width: thin;
  scrollbar-color: #456075 #071727;
}
.calc-modal[open] { animation: calc-enter .25s ease-out; }
.calc-modal::backdrop { background: #010913b3; backdrop-filter: blur(7px); }
.calc-header { display: flex; align-items: flex-start; gap: 16px; padding: 28px 30px 24px; border-bottom: 1px solid #ffffff12; }
.calc-mark { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border: 1px solid #ffb36740; border-radius: 15px; background: #ff9b3d12; color: #ffb367; }
.calc-mark svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.calc-heading { flex: 1; min-width: 0; }
.calc-eyebrow { margin: 0 0 7px; color: #ffb367; font-size: 10px; font-weight: 700; letter-spacing: .19em; }
.calc-heading h2 { margin: 0; font-size: clamp(23px, 3vw, 30px); line-height: 1.15; letter-spacing: -.035em; }
.calc-intro { margin: 9px 0 0; color: #b6c8d8; font-size: 13px; line-height: 1.5; }
.calc-close { flex: 0 0 44px; padding: 0; min-width: 44px; height: 44px; border-radius: 12px; background: #ffffff06; }
.calc-close svg { width: 19px; height: 19px; }
.calc-content { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 26px; padding: 26px 30px 30px; }
.calc-section-title { margin: 0 0 18px; font-size: 14px; font-weight: 700; }
.calc-step { display: inline-grid; place-items: center; width: 23px; height: 23px; margin-right: 8px; border: 1px solid #ffffff25; border-radius: 50%; color: #ffb367; font-size: 11px; }
.calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 14px; }
.calc-field label { display: block; margin-bottom: 8px; color: #d4e0eb; font-size: 12px; font-weight: 600; }
.calc-field input, .calc-field select {
  width: 100%;
  min-height: 47px;
  padding: 12px;
  border: 1px solid #58708766;
  border-radius: 11px;
  background: #031221b3;
  color: #f3f7fc;
  font: inherit;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.calc-field input::placeholder { color: #7890a6; }
.calc-field input:focus, .calc-field select:focus { outline: none; border-color: #ffb367; box-shadow: 0 0 0 3px #ffb36718; }
.calc-field select option { background: #071727; color: #fff; }
.calc-field small { display: block; margin-top: 7px; color: #91a8bb; font-size: 11px; line-height: 1.5; }
.calc-options { display: grid; gap: 10px; margin: 22px 0; }
.calc-check { display: flex; align-items: flex-start; gap: 11px; padding: 13px; border: 1px solid #ffffff14; border-radius: 11px; background: #ffffff03; cursor: pointer; }
.calc-check input { flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #ffb367; cursor: pointer; }
.calc-check input:focus-visible { outline: 2px solid #ffb367; outline-offset: 3px; }
.calc-check strong { display: block; font-size: 12px; font-weight: 600; line-height: 1.5; }
.calc-check small { display: block; margin-top: 3px; color: #91a8bb; font-size: 11px; line-height: 1.5; }
.calc-modal [hidden] { display: none !important; }
.calc-submit { width: 100%; min-height: 49px; border: 1px solid #ffc082; border-radius: 12px; background: linear-gradient(110deg, #ffb367, #ff943b); color: #1a120a; font-size: 14px; font-weight: 700; box-shadow: 0 6px 22px #ff9b3d18; }
.calc-submit:hover { border-color: #ffd1a1; background: #ffc082; }
.calc-submit svg { width: 18px; height: 18px; }
.calc-summary { align-self: start; padding: 22px; border: 1px solid #69869c40; border-radius: 18px; background: linear-gradient(160deg, #142d42, #0b1d2e); }
.calc-summary .calc-section-title { margin-bottom: 20px; }
.calc-empty { padding: 22px 0; color: #91a8bb; text-align: center; }
.calc-empty svg { width: 42px; height: 42px; margin-bottom: 10px; fill: none; stroke: #ffb367; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.calc-empty p { margin: 0; font-size: 13px; line-height: 1.7; }
.calc-total-label { margin: 0 0 6px; color: #b6c8d8; font-size: 12px; }
.calc-total { display: block; margin-bottom: 8px; color: #ffbf7e; font-size: clamp(30px, 4vw, 39px); font-weight: 800; letter-spacing: -.04em; }
.calc-route { margin: 0; color: #d4e0eb; font-size: 12px; line-height: 1.7; }
.calc-breakdown { display: grid; gap: 12px; margin: 20px 0; padding-top: 18px; border-top: 1px solid #ffffff14; font-size: 12px; }
.calc-breakdown div { display: flex; justify-content: space-between; gap: 12px; }
.calc-breakdown dt { color: #9cb2c5; }
.calc-breakdown dd { margin: 0; font-variant-numeric: tabular-nums; }
.calc-actions { display: grid; gap: 9px; }
.calc-copy, .calc-whatsapp { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; width: 100%; padding: 11px 12px; border-radius: 10px; font-size: 12px; font-weight: 600; }
.calc-copy { background: #ffffff05; border: 1px solid #ffffff26; }
.calc-whatsapp { border: 1px solid #53e28a55; background: #25d36618; color: #8af2b0; text-decoration: none; transition: background .2s; }
.calc-whatsapp:hover { background: #25d36630; }
.calc-whatsapp:focus-visible { outline: 2px solid #8af2b0; outline-offset: 3px; }
.calc-whatsapp svg { width: 16px; height: 16px; }
.calc-message { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: #b6c8d8; }
.calc-message:empty { display: none; }
.calc-error { color: #ffb5a9; }
.calc-manual { width: 100%; min-height: 100px; margin-top: 12px; padding: 10px; border: 1px solid #587087; border-radius: 8px; background: #031221; color: #fff; font: inherit; font-size: 12px; line-height: 1.6; resize: vertical; }
.calc-general { grid-column: 1 / -1; padding-top: 17px; border-top: 1px solid #ffffff12; }
.calc-general summary { color: #b6c8d8; font-size: 12px; cursor: pointer; }
.calc-general summary:focus-visible { outline: 2px solid #ffb367; outline-offset: 5px; }
.calc-general ul { margin: 14px 0 0; padding-left: 18px; color: #91a8bb; font-size: 12px; line-height: 1.85; }
@keyframes calc-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 680px) {
  .calc-launch { top: 124px; right: 24px; }
  .calc-modal { border-radius: 20px; }
  .calc-header { gap: 12px; padding: 22px 20px 18px; }
  .calc-mark { display: none; }
  .calc-heading h2 { font-size: 24px; }
  .calc-content { grid-template-columns: 1fr; gap: 22px; padding: 22px 20px; }
  .calc-summary { padding: 20px; }
  .calc-fields { gap: 16px 12px; }
}
@media (max-width: 360px) {
  .calc-header, .calc-content { padding-left: 16px; padding-right: 16px; }
  .calc-heading h2 { font-size: 21px; }
  .calc-fields { grid-template-columns: 1fr; }
}
