/* ------------------------------------------------------------------------
   Taxes Personales — "Costos" section polish
   Scoped exclusively under .taxes-personales-page so the shared
   .service-detail-card / .service-price-panel / .service-sticky-panel
   components (reused by every other service page) stay untouched.
   -------------------------------------------------------------------------- */

/* ---- Costos card shell ---- */

.taxes-personales-page #costos.service-detail-card {
  border: 1px solid rgba(35, 105, 120, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(85, 190, 197, 0.14), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfefe 100%);
  box-shadow: 0 18px 50px rgba(18, 63, 73, 0.06);
}

.taxes-personales-page #costos .service-detail-copy .section-label {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(35, 105, 120, 0.1);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.taxes-personales-page #costos .service-detail-copy h2 {
  color: var(--teal);
}

/* ---- Trust row under the description ---- */

.taxes-costos-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(35, 105, 120, 0.12);
  list-style: none;
}

.taxes-costos-trust li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.taxes-costos-trust svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  padding: 3px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(244, 119, 53, 0.12);
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.taxes-costos-trust span {
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 800;
}

/* ---- Price / reference panel ---- */

.taxes-personales-page #costos .service-price-panel {
  padding: 26px;
  border: 1px solid rgba(35, 105, 120, 0.14);
  border-radius: 20px;
  background: linear-gradient(165deg, var(--soft) 0%, #ffffff 65%);
  box-shadow: 0 14px 34px rgba(18, 63, 73, 0.05);
}

.taxes-personales-page #costos .service-price-panel span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-size: 0.7rem;
}

.taxes-personales-page #costos .service-price-panel span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

/* Override the shared price-panel rule tuned for numeric prices
   (overflow-wrap: anywhere) — here the value is a text phrase, and that
   rule was breaking it mid-word ("Cotizació" / "n" / "personali" / "zada"). */
.taxes-personales-page #costos .service-price-panel strong {
  margin-top: 4px;
  font-size: 1.5rem;
  line-height: 1.18;
  color: var(--teal);
  overflow-wrap: normal;
  word-break: normal;
}

.taxes-personales-page #costos .service-price-panel ul {
  display: grid;
  gap: 11px;
  margin-top: 16px;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px dashed rgba(35, 105, 120, 0.18);
}

.taxes-personales-page #costos .service-price-panel li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.taxes-personales-page #costos .service-price-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 900;
  line-height: 1;
}

.taxes-personales-page #costos .service-price-panel .button {
  margin-top: 4px;
  box-shadow: 0 12px 26px rgba(244, 119, 53, 0.24);
}

@media (min-width: 840px) {
  .taxes-personales-page #costos.service-detail-card {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.4fr);
    gap: 30px;
  }
}

/* ---- Sticky CTA card (right rail) ---- */

.taxes-personales-page .service-sticky-panel {
  border-radius: 22px;
}

.taxes-personales-page .service-sticky-actions .button-light {
  font-weight: 900;
}

.taxes-personales-page .service-sticky-actions .button-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.taxes-personales-page .service-sticky-actions .button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
}
