/* "Free repair estimate" card in the sidebar of the 11 service pages.
   Uses the site palette: gold #c98a3c, soft gold #ecc995, cream #fcf8f3, line #e8ddd1, text #b8b8b8. */
.est-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(232, 221, 209, .22);
  border-radius: 10px;
  background: linear-gradient(180deg, #121316 0%, #0a0a0b 100%);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9);
}
.est-card::before {                       /* thin gold accent along the top edge */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, #c98a3c 0%, #ecc995 55%, rgba(236, 201, 149, 0) 100%);
}
.est-card__eyebrow {
  display: flex; align-items: center; gap: .6rem; margin: 0;
  font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #c98a3c;
}
.est-card__eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: #c98a3c; }
.est-card__title {
  margin: .7rem 0 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  line-height: 1.15; letter-spacing: -.01em; color: #fff; text-wrap: balance;
}
.est-card__text { margin: .65rem 0 0; font-size: .95rem; line-height: 1.6; color: #b8b8b8; text-wrap: pretty; }
.est-card__actions { display: grid; gap: .65rem; margin-top: 1.4rem; }
.est-card__btn { width: 100%; }
.est-card__btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.est-card__btn--primary {
  background: #ecc995; color: #121418; border: 1px solid #ecc995;
  box-shadow: 0 10px 22px -14px rgba(236, 201, 149, .55);
}
.est-card__btn--primary svg { transition: transform .2s ease; }
.est-card__btn--secondary { background: transparent; color: #fff; border: 1px solid rgba(232, 221, 209, .45); }
@media (hover: hover) {
  .est-card__btn--primary:hover { background: #f4d8ad; border-color: #f4d8ad; }
  .est-card__btn--primary:hover svg { transform: translateX(3px); }
  .est-card__btn--secondary:hover { border-color: #ecc995; color: #ecc995; }
}
.est-card__info { display: grid; gap: .85rem; margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(232, 221, 209, .16); }
.est-card__row { display: grid; grid-template-columns: 1.1rem 1fr; column-gap: .7rem; align-items: start; }
.est-card__row svg { width: 1.1rem; height: 1.1rem; margin-top: .1rem; color: #c98a3c; }
.est-card__label { margin: 0; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8f8a84; }
.est-card__value { margin: .2rem 0 0; font-size: .92rem; line-height: 1.45; color: #e6e6e6; }
@media (min-width: 1024px) and (max-width: 1180px) { .est-card { padding: 1.5rem 1.25rem 1.25rem; } .est-card__title { font-size: 1.35rem; } }
@media (min-width: 640px) and (max-width: 1023.98px) {   /* tablet: card spans the column, so buttons sit side by side */
  .est-card__actions { grid-template-columns: 1fr 1fr; }
  .est-card__info { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 359.98px) {   /* smallest phones: keep "Request a Free Estimate →" on one line */
  .est-card { padding-left: 1rem; padding-right: 1rem; }
  .est-card__btn { padding-inline: .75rem; }
}
