/* FINAL MOBILE CTA BUTTON FIX — loaded last */

:root{
  --pr-dark:#151c24;
  --pr-gold:#c8a06a;
  --pr-gold-dark:#7a552a;
  --pr-cream:#fff8ed;
  --pr-line:#e6d8c6;
}

/* All important buttons: no blue, visible text */
a[href*="laskuri"],
a[href*="#laskuri"],
a[href*="avoimet"],
button,
.btn,
.button,
.cta,
.primary,
.primary-btn,
.submit,
input[type="submit"],
form button,
.interest-button,
.interest-btn,
.contractor-interest-button,
.open-job-interest,
.lead-submit,
.calculate-button,
.calc-button{
  background:#151c24 !important;
  background-color:#151c24 !important;
  color:#ffffff !important;
  border:1px solid #151c24 !important;
  text-decoration:none !important;
  font-weight:900 !important;
  opacity:1 !important;
  visibility:visible !important;
  text-shadow:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
}

/* Hover/focus */
a[href*="laskuri"]:hover,
a[href*="#laskuri"]:hover,
a[href*="avoimet"]:hover,
button:hover,
.btn:hover,
.button:hover,
.cta:hover,
.primary:hover,
.primary-btn:hover,
.submit:hover,
input[type="submit"]:hover,
form button:hover{
  background:#7a552a !important;
  background-color:#7a552a !important;
  color:#ffffff !important;
  border-color:#7a552a !important;
}

/* Secondary buttons */
.secondary,
.secondary-btn,
.outline,
.ghost,
a.secondary,
a.outline{
  background:#fff8ed !important;
  background-color:#fff8ed !important;
  color:#151c24 !important;
  border:1px solid #c8a06a !important;
}

/* Specific Finnish CTA texts often inside links/buttons */
a,
button{
  -webkit-text-fill-color:currentColor !important;
}

/* Mobile stronger override */
@media(max-width:900px){

  a[href*="laskuri"],
  a[href*="#laskuri"],
  a[href*="avoimet"],
  button,
  .btn,
  .button,
  .cta,
  .primary,
  .primary-btn,
  .submit,
  input[type="submit"],
  form button,
  .interest-button,
  .interest-btn,
  .contractor-interest-button,
  .open-job-interest,
  .lead-submit,
  .calculate-button,
  .calc-button{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:44px !important;
    padding:0 16px !important;
    background:#151c24 !important;
    background-color:#151c24 !important;
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
    border:1px solid #151c24 !important;
    font-size:14px !important;
    line-height:1.15 !important;
    font-weight:900 !important;
    text-align:center !important;
    text-decoration:none !important;
    white-space:normal !important;
    opacity:1 !important;
    visibility:visible !important;
    border-radius:0 !important;
  }

  /* Menu CTA remains compact */
  .topbar .main-menu .cta{
    height:34px !important;
    min-height:34px !important;
    padding:0 4px !important;
    background:#151c24 !important;
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
    border-color:#151c24 !important;
    font-size:12px !important;
  }

  /* Avoimet työt in menu should be readable */
  .topbar .main-menu .work{
    background:#fff8ed !important;
    color:#7a552a !important;
    -webkit-text-fill-color:#7a552a !important;
    border-color:#e6d8c6 !important;
  }

  /* Big hero/open estimate buttons */
  .hero a,
  .hero button,
  .premium-band a,
  .premium-band button,
  .home-open-jobs-section a,
  .home-open-jobs-section button{
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
  }

  /* If some old blue class remains */
  .bg-blue-500,
  .bg-blue-600,
  .bg-blue-700,
  .bg-indigo-500,
  .bg-indigo-600,
  [class*="blue"]{
    background:#151c24 !important;
    background-color:#151c24 !important;
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
  }
}
