.cotizador-hero {
  padding: var(--subpage-hero-start-gap) 0 var(--hero-end-gap);
}

html:has(body[data-cotizador-mode]),
body[data-cotizador-mode] {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body[data-cotizador-mode] .site-header {
  position: sticky;
  top: 0;
  width: 100%;
}

body[data-cotizador-mode] main,
body[data-cotizador-mode] .site-header,
body[data-cotizador-mode] .container,
body[data-cotizador-mode] .cotizador-hero-inner,
body[data-cotizador-mode] .cotizador-layout,
body[data-cotizador-mode] .cotizador-form,
body[data-cotizador-mode] .cotizador-results,
body[data-cotizador-mode] .cotizador-result-card {
  min-width: 0;
  max-width: 100%;
}

.cotizador-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
  gap: 44px;
  align-items: start;
}

.cotizador-heading {
  margin-bottom: 0;
  text-align: left;
  align-self: start;
}

.cotizador-heading .eyebrow {
  margin-inline: 0;
}

.cotizador-heading .cotizador-hero-support {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 650;
}

.cotizador-hero-note {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: start;
  min-height: clamp(480px, 35vw, 525px);
  gap: 22px;
  padding: clamp(34px, 4vw, 48px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 42px;
  background:
    radial-gradient(circle at 82% 12%, rgba(251,156,9,0.45), transparent 16rem),
    linear-gradient(135deg, #494e51, #2f3336);
  box-shadow: 0 28px 70px rgba(52,56,59,0.22);
}

.cotizador-hero-note::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,0.06);
}

.cotizador-hero-note strong {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: clamp(36px, 4.6vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.cotizador-hero-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  gap: 9px;
  margin-bottom: 0;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 950;
}

.cotizador-hero-note-text {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.76);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0;
  font-weight: 300;
}

.cotizador-hero-note-internal,
body[data-cotizador-mode="internal"] .cotizador-hero-note {
  border-color: rgba(255,255,255,0.10);
}

.cotizador-section {
  padding-top: 88px;
}

.cotizador-section::before {
  display: block;
}

.cotizador-section::after {
  display: block;
}

.cotizador-layout {
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.cotizador-layout-public {
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
}

.cotizador-panel-toggle {
  display: none;
}

.cotizador-form,
.cotizador-result-card,
.cotizador-internal-card {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.cotizador-form {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 22px;
}

.cotizador-preset-note {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(251, 156, 9, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 4% 35%, rgba(251, 156, 9, 0.18), transparent 8rem),
    rgba(255, 255, 255, 0.76);
  color: var(--graphite);
  box-shadow: 0 10px 24px rgba(52, 56, 59, 0.055);
}

.cotizador-preset-note strong {
  color: var(--dark);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 950;
}

.cotizador-preset-note span {
  font-size: 14px;
  line-height: 1.48;
  font-weight: 550;
}

.cotizador-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.cotizador-form legend {
  margin-bottom: 11px;
  color: var(--dark);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 950;
}

.cotizador-form label:not(.cotizador-check) {
  display: grid;
  gap: 8px;
  color: var(--graphite-light);
  font-size: 14px;
  font-weight: 900;
}

.cotizador-form input[type="number"],
.cotizador-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 18px;
  padding: 13px 16px;
  background: var(--cream);
  color: var(--graphite-light);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  outline: none;
}

.cotizador-form select {
  padding-right: 44px;
}

.cotizador-form input::placeholder {
  color: rgba(52, 53, 59, 0.48);
  font-style: italic;
  opacity: 1;
}

.cotizador-form select:required:invalid {
  color: rgba(52, 53, 59, 0.48);
  font-style: italic;
}

.cotizador-form select option {
  color: var(--graphite-light);
  font-style: normal;
}

.cotizador-form select option:disabled {
  color: rgba(52, 53, 59, 0.48);
  font-style: italic;
}

.cotizador-form input:focus,
.cotizador-form select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 5px rgba(251,156,9,0.14);
  background: var(--white);
}

.cotizador-option {
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 10px;
  padding: 13px;
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 18px;
  background: var(--cream);
  color: var(--dark);
  cursor: pointer;
}

.cotizador-compact-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cotizador-compact-options legend {
  grid-column: 1 / -1;
}

.cotizador-compact-options .cotizador-option {
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 0;
}

.cotizador-compact-options .cotizador-option strong {
  white-space: nowrap;
}

.cotizador-fabric-options {
  display: grid;
  gap: 8px;
}

.cotizador-fabric-options .cotizador-option {
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 0;
  padding: 11px 13px;
}

.cotizador-system-options .cotizador-option {
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
}

.cotizador-fabric-options .cotizador-option strong {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.cotizador-legend-help {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cotizador-help-button {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1.5px solid rgba(98, 104, 108, 0.42);
  border-radius: 999px;
  background: transparent;
  color: #555b5f;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
}

.cotizador-help-button:hover,
.cotizador-help-button:focus-visible {
  border-color: rgba(98, 104, 108, 0.66);
  background: rgba(98, 104, 108, 0.08);
  color: #34383b;
  outline: none;
}

.cotizador-option-disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.cotizador-option-disabled input,
.cotizador-option-disabled span {
  cursor: not-allowed;
}

.cotizador-option input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--orange);
}

.cotizador-option small {
  display: block;
  margin-top: 3px;
  color: var(--graphite-light);
  font-weight: 600;
  line-height: 1.35;
}

.cotizador-compact-options .cotizador-option small {
  display: none;
}

.cotizador-check {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 10px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
}

.cotizador-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
}

.cotizador-check span {
  display: inline;
}

.cotizador-measures {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(120px, 0.72fr);
  gap: 12px;
}

.cotizador-measures legend {
  grid-column: 1 / -1;
}

.cotizador-context-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.cotizador-context-grid legend {
  grid-column: 1 / -1;
}

.cotizador-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.cotizador-results {
  position: relative;
  display: grid;
  gap: 18px;
}

.cotizador-help-modal[hidden] {
  display: none;
}

.cotizador-help-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: block;
  pointer-events: none;
}

.cotizador-help-backdrop {
  display: none;
}

.cotizador-help-card {
  position: fixed;
  top: var(--popover-top, 140px);
  left: var(--popover-left, 24px);
  z-index: 1;
  width: min(var(--popover-width, 340px), calc(100vw - 32px));
  border: 1px solid rgba(53, 118, 147, 0.28);
  border-radius: 22px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(237, 244, 246, 0.96)),
    #edf4f6;
  box-shadow:
    0 18px 42px rgba(53, 118, 147, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  pointer-events: auto;
}

.cotizador-help-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: var(--cream);
  color: var(--dark);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.cotizador-help-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(53, 118, 147, 0.16);
  color: #2f6d87;
  font-size: 12px;
  font-weight: 800;
}

.cotizador-help-card h2 {
  margin: 0 34px 10px 0;
  color: var(--dark);
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 850;
}

.cotizador-help-card p {
  margin: 0;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 450;
  line-height: 1.58;
}

.cotizador-help-card p span {
  display: block;
}

.cotizador-help-card p span + span {
  margin-top: 12px;
}

.cotizador-help-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}

.cotizador-help-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(53, 118, 147, 0.16);
  color: var(--graphite-light);
  font-size: 11px;
  font-weight: 780;
  line-height: 1;
}

.cotizador-help-fit {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px solid rgba(53, 118, 147, 0.18);
  color: var(--graphite-light) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.cotizador-result-card[hidden] {
  display: none;
}

.cotizador-result-empty {
  min-height: 220px;
  display: grid;
  align-content: center;
}

.cotizador-result-card,
.cotizador-internal-card {
  padding: clamp(20px, 3vw, 30px);
  overflow-wrap: anywhere;
}

.cotizador-analytics-card {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 24px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.cotizador-analytics-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.cotizador-analytics-header h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 2.5vw, 34px);
}

.cotizador-analytics-header p {
  margin: 0;
  color: var(--graphite-light);
}

.cotizador-result-card h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  word-spacing: -0.05em;
}

.cotizador-result-card p,
.cotizador-internal-card p {
  line-height: 1.6;
}

.result-summary {
  display: grid;
  gap: 18px;
  margin-bottom: 0;
}

.result-summary p {
  margin: 0;
}

.iva-note {
  font-style: italic;
}

.status-banner {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(251,156,9,0.14);
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
}

.status-banner.ok {
  background: rgba(37, 211, 102, 0.14);
  color: #138344;
}

.status-banner.warn,
.status-banner.info {
  background: rgba(251,156,9,0.16);
  color: var(--orange);
}

.comparison-section {
  margin-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.10);
  padding-top: 16px;
}

.comparison-heading {
  margin: 0;
}

.comparison-heading h3 {
  margin: 0;
  color: var(--graphite);
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -0.04em;
  word-spacing: -0.06em;
}

.comparison-heading p {
  margin: 3px 0 0;
  color: var(--graphite-light);
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0;
  word-spacing: 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 20px;
}

.quote-card,
.scenario,
.internal-card {
  min-width: 0;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
  padding: 18px;
  background: rgba(247, 249, 248, 0.72);
}

.quote-card.highlight {
  border-color: rgba(234, 94, 7, 0.34);
  background:
    radial-gradient(circle at 10% 18%, rgba(251,156,9,0.20), transparent 8rem),
    rgba(255, 255, 255, 0.86);
}

.quote-card h3,
.scenario h3,
.internal-card h3 {
  margin: 0 0 10px;
  color: var(--graphite);
  font-size: 20px;
  line-height: 1.16;
  letter-spacing: -0.04em;
  word-spacing: -0.06em;
  font-stretch: normal;
}

.cotizador-result-card .quote-card h3,
.cotizador-result-card .scenario h3 {
  letter-spacing: -0.04em;
  word-spacing: -0.06em;
  font-kerning: normal;
}

.badge {
  display: inline-flex;
  margin: 10px 0 8px;
  border-radius: 999px;
  padding: 7px 10px;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 950;
}

.price-block {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.option-note {
  margin-top: 14px;
  border-left: 4px solid var(--orange);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(251,156,9,0.12);
  color: var(--dark);
  font-size: 15px;
  line-height: 1.45;
}

.price-label {
  margin: 0;
  color: var(--graphite-light);
  font-size: 13px;
  font-weight: 950;
}

.price-range {
  display: grid;
  gap: 6px;
  margin: 0;
  color: var(--orange);
  font-size: clamp(23px, 2.4vw, 31px);
  font-weight: 950;
  line-height: 1.1;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.price-before {
  display: block;
  color: var(--graphite-light);
  font-size: clamp(18px, 0.96em, 24px);
  font-weight: 650;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  overflow-wrap: anywhere;
}

.installation-breakdown {
  display: grid;
  gap: 6px;
  margin-top: 6px;
  color: var(--graphite-light);
  font-size: 13px;
  line-height: 1.35;
}

.installation-breakdown b {
  color: var(--graphite-light);
  font-weight: 950;
}

.installation-breakdown strong {
  color: var(--dark);
  display: block;
  margin-top: 2px;
  font-size: clamp(18px, 1.65vw, 24px);
  font-weight: 950;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.installation-breakdown sup,
.installation-disclaimer sup {
  color: inherit;
  font-size: 0.72em;
  font-weight: 650;
  line-height: 0;
}

.installation-breakdown small {
  color: var(--graphite-light);
  font-size: 12px;
  line-height: 1.35;
}

.scenario-price {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  color: var(--orange);
}

.scenario-price > span:first-child {
  color: var(--dark);
  font-weight: 950;
}

.scenario-price strong {
  color: var(--dark);
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.scenario-price small {
  color: var(--graphite-light);
  font-weight: 850;
}

.muted,
.disclaimer {
  color: var(--graphite-light);
}

.installation-disclaimer {
  margin-top: 12px;
  font-weight: 400;
}

.empty-price,
.warning-list,
.internal-warnings {
  margin: 18px 0;
  border-left: 4px solid var(--orange);
  border-radius: 16px;
  padding: 13px 15px;
  background: rgba(251,156,9,0.12);
  color: var(--dark);
}

.warning-list p,
.internal-warnings p {
  margin: 0 0 8px;
}

.warning-list p:last-child,
.internal-warnings p:last-child {
  margin-bottom: 0;
}

.scenario-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.disclaimer {
  margin: 22px 0 0;
  font-size: 14px;
}

.cotizador-internal-card summary {
  cursor: pointer;
  color: var(--dark);
  font-weight: 950;
}

.internal-header,
.metrics-grid,
.cost-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.internal-card {
  margin-top: 16px;
}

.metrics-grid span,
.cost-summary span {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 11px 12px;
  background: var(--cream);
  color: var(--graphite-light);
  font-size: 14px;
}

.metrics-grid strong,
.cost-summary strong {
  display: block;
  margin-top: 3px;
  color: var(--dark);
  font-size: 16px;
}

.cost-summary {
  margin-top: 12px;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 16px;
}

.cotizador-events-table-wrap {
  overflow-x: auto;
}

.table-wrap table,
.cotizador-events-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.table-wrap th,
.table-wrap td,
.cotizador-events-table th,
.cotizador-events-table td {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.table-wrap th,
.cotizador-events-table th {
  color: var(--graphite-light);
  font-size: 13px;
}

.table-wrap small,
.cotizador-events-table small {
  display: block;
  color: var(--graphite-light);
}

@media (max-width: 980px) {
  .cotizador-hero-inner,
  .cotizador-layout,
  .comparison-grid,
  .internal-header,
  .metrics-grid,
  .cost-summary {
    grid-template-columns: 1fr;
  }

  .cotizador-form {
    position: static;
  }

  .cotizador-panel-toggle {
    display: none;
  }

  .cotizador-layout.has-collapsible-quote-panel .cotizador-panel-toggle {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--dark);
    box-shadow: var(--soft-shadow);
    font: inherit;
    font-size: 15px;
    font-weight: 950;
    text-align: left;
    cursor: pointer;
    transition:
      border-radius 0.2s ease,
      border-color 0.2s ease,
      background 0.2s ease,
      box-shadow 0.2s ease;
  }

  .cotizador-layout.has-collapsible-quote-panel.quote-panel-open .cotizador-panel-toggle {
    border-bottom-color: transparent;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 10px 18px rgba(52, 56, 59, 0.045);
  }

  .cotizador-panel-toggle-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 14px;
    color: var(--orange);
    background: rgba(251, 156, 9, 0.12);
  }

  .cotizador-panel-toggle-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .cotizador-panel-toggle-chevron {
    color: var(--orange);
    font-size: 20px;
    line-height: 1;
    transform: rotate(0deg);
    transition: transform 0.18s ease;
  }

  .cotizador-layout.has-collapsible-quote-panel.quote-panel-open .cotizador-panel-toggle-chevron {
    transform: rotate(180deg);
  }

  .cotizador-layout.has-collapsible-quote-panel .cotizador-form {
    max-height: 0;
    margin-top: -24px;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
    border-top-color: transparent;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition:
      max-height 0.28s ease,
      opacity 0.2s ease,
      transform 0.2s ease,
      padding 0.2s ease,
      border-width 0.2s ease;
  }

  .cotizador-layout.has-collapsible-quote-panel.quote-panel-open .cotizador-form {
    max-height: 3000px;
    margin-top: -24px;
    padding: 28px 22px 22px;
    border-width: 1px;
    border-top-width: 0;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .cotizador-results {
    position: static;
  }

  .cotizador-hero-note strong {
    font-size: clamp(30px, 8vw, 44px);
  }
}

@media (max-width: 820px) {
  .cotizador-hero {
    padding: var(--mobile-subpage-hero-start-gap) 0 var(--mobile-hero-end-gap);
  }
}

@media (min-width: 821px) and (max-width: 980px) {
  .cotizador-layout.has-collapsible-quote-panel .cotizador-panel-toggle {
    display: none;
  }

  .cotizador-layout.has-collapsible-quote-panel .cotizador-form {
    max-height: none;
    margin-top: 0;
    padding: 22px;
    border-width: 1px;
    border-radius: 24px;
    overflow: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

@media (max-width: 640px) {
  .cotizador-section {
    padding-top: 66px;
  }

  .cotizador-measures,
  .cotizador-context-grid {
    grid-template-columns: 1fr;
  }

  .cotizador-compact-options {
    grid-template-columns: 1fr 1fr;
  }

  body[data-cotizador-mode="public"] .cotizador-result-empty {
    display: none;
  }
}

@media (max-width: 420px) {
  .cotizador-compact-options {
    grid-template-columns: 1fr;
  }
}

html[data-theme="dark"] .cotizador-result-card h2,
html[data-theme="dark"] .cotizador-analytics-header h2,
html[data-theme="dark"] .quote-card h3,
html[data-theme="dark"] .scenario h3,
html[data-theme="dark"] .internal-card h3,
html[data-theme="dark"] .cotizador-form legend,
html[data-theme="dark"] .cotizador-option strong,
html[data-theme="dark"] .cotizador-internal-card summary {
  color: #f0f2f1;
}

html[data-theme="dark"] .cotizador-result-card p,
html[data-theme="dark"] .cotizador-internal-card p,
html[data-theme="dark"] .cotizador-analytics-header p,
html[data-theme="dark"] .cotizador-form label,
html[data-theme="dark"] .cotizador-option small,
html[data-theme="dark"] .muted,
html[data-theme="dark"] .disclaimer {
  color: #aeb2b4;
}

html[data-theme="dark"] .cotizador-heading .cotizador-hero-support {
  color: rgba(255, 255, 255, 0.72);
}

html[data-theme="dark"] .cotizador-hero-note {
  background:
    radial-gradient(circle at 82% 12%, rgba(251,156,9,0.26), transparent 16rem),
    linear-gradient(135deg, #24272a, #181a1c);
}

html[data-theme="dark"] .cotizador-form,
html[data-theme="dark"] .cotizador-result-card,
html[data-theme="dark"] .cotizador-internal-card,
html[data-theme="dark"] .cotizador-analytics-card {
  background: rgba(32, 35, 38, 0.92);
  border-color: rgba(255,255,255,0.11);
}

html[data-theme="dark"] .cotizador-layout.has-collapsible-quote-panel .cotizador-panel-toggle {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(18, 20, 22, 0.72);
  color: var(--white);
}

html[data-theme="dark"] .cotizador-preset-note {
  border-color: rgba(251, 156, 9, 0.26);
  background:
    radial-gradient(circle at 4% 35%, rgba(251, 156, 9, 0.16), transparent 8rem),
    rgba(24, 26, 28, 0.72);
  color: rgba(255, 255, 255, 0.76);
}

html[data-theme="dark"] .cotizador-preset-note strong {
  color: var(--white);
}

html[data-theme="dark"] .comparison-section {
  border-top-color: rgba(255, 255, 255, 0.16);
}

html[data-theme="dark"] .cotizador-option,
html[data-theme="dark"] .quote-card,
html[data-theme="dark"] .scenario,
html[data-theme="dark"] .internal-card {
  background: rgba(24, 26, 28, 0.92);
  border-color: rgba(255,255,255,0.12);
}

html[data-theme="dark"] .cotizador-form input[type="number"],
html[data-theme="dark"] .cotizador-form select {
  background-color: #181a1c;
  border-color: rgba(255,255,255,0.12);
  color: #f0f2f1;
}

html[data-theme="dark"] .cotizador-check {
  color: var(--white);
}

html[data-theme="dark"] .cotizador-form select:required:invalid,
html[data-theme="dark"] .cotizador-form select option:disabled {
  color: rgba(240, 242, 241, 0.48);
}

html[data-theme="dark"] .cotizador-form input::placeholder {
  color: rgba(240, 242, 241, 0.48);
  opacity: 1;
}

html[data-theme="dark"] .cotizador-form select option {
  color: #f0f2f1;
}

html[data-theme="dark"] .cotizador-help-button {
  border-color: rgba(0, 0, 0, 0.08);
  background: #4d5356;
  color: #fff;
}

html[data-theme="dark"] .cotizador-help-button:hover,
html[data-theme="dark"] .cotizador-help-button:focus-visible {
  border-color: rgba(0, 0, 0, 0.08);
  background: #444a4d;
  color: #fff;
}

html[data-theme="dark"] .cotizador-help-card {
  background:
    linear-gradient(145deg, rgba(35, 48, 54, 0.98), rgba(27, 34, 38, 0.98));
  border-color: rgba(120, 175, 198, 0.28);
  box-shadow:
    0 18px 42px rgba(53, 118, 147, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .cotizador-help-card h2,
html[data-theme="dark"] .cotizador-help-fit,
html[data-theme="dark"] .cotizador-help-close {
  color: #f0f2f1 !important;
}

html[data-theme="dark"] .cotizador-help-card p {
  color: #aeb2b4;
}

html[data-theme="dark"] .cotizador-help-close {
  background: rgba(24, 26, 28, 0.92);
  border-color: rgba(255,255,255,0.12);
}

html[data-theme="dark"] .cotizador-help-fit {
  border-top-color: rgba(120, 175, 198, 0.18);
}

html[data-theme="dark"] .cotizador-help-tags span {
  background: rgba(255,255,255,0.07);
  border-color: rgba(120, 175, 198, 0.18);
  color: #c5cbcd;
}

html[data-theme="dark"] .cotizador-form input:focus,
html[data-theme="dark"] .cotizador-form select:focus {
  background-color: #202326;
}

html[data-theme="dark"] .quote-card.highlight {
  background:
    radial-gradient(circle at 10% 18%, rgba(251,156,9,0.20), transparent 8rem),
    rgba(32, 35, 38, 0.96);
}

html[data-theme="dark"] .empty-price,
html[data-theme="dark"] .warning-list,
html[data-theme="dark"] .internal-warnings {
  background: rgba(251,156,9,0.12);
  color: #f0f2f1;
}
