/* Mobile-first utility pages: pricing, process and contact.
   Loaded only on the three high-intent pages so the rest of the site stays untouched. */

.master-utility-page .page-hero .container {
  position: relative;
  z-index: 1;
}

.master-utility-page .page-hero-actions .btn-primary {
  box-shadow: 0 12px 24px rgba(4, 120, 87, .24);
}

@media (min-width: 769px) {
  .master-utility-page .page-hero {
    padding-top: clamp(46px, 5vw, 70px) !important;
    padding-bottom: clamp(50px, 5.5vw, 76px) !important;
  }

  .master-utility-page .page-hero h1 {
    max-width: 880px;
  }

  .master-utility-page .page-hero p {
    max-width: 760px;
  }
}

@media (max-width: 768px) {
  .master-utility-page .topbar {
    display: none !important;
  }

  .master-utility-page .header {
    min-height: 64px;
  }

  .master-utility-page .header .container {
    min-height: 64px;
  }

  .master-utility-page .page-hero {
    min-height: 0 !important;
    padding: 22px 0 26px !important;
    background: linear-gradient(90deg, rgba(5, 20, 36, .83) 0%, rgba(5, 20, 36, .68) 62%, rgba(5, 20, 36, .56) 100%), image-set(url("../img/photos/approved-2026/parking-hero-mobile-760.avif") type("image/avif"), url("../img/photos/approved-2026/parking-hero-mobile-760.webp") type("image/webp"), url("../img/photos/approved-2026/parking-hero-mobile.jpg") type("image/jpeg")) center 55% / cover no-repeat !important;
  }

  .master-utility-page .page-hero::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 45%) !important;
  }

  .master-utility-page .page-hero::after {
    display: none !important;
  }

  html[lang="cs"] body.master-utility-page .page-hero .breadcrumb {
    display: block !important;
    margin-bottom: 12px !important;
    font-size: 12px !important;
    opacity: .86;
  }

  .master-utility-page .page-hero .breadcrumb a {
    display: inline !important;
    min-height: 0 !important;
  }

  .master-utility-page .page-hero h1 {
    max-width: 350px;
    margin: 0 0 12px !important;
    font-size: clamp(32px, 9.2vw, 38px) !important;
    line-height: 1.04 !important;
    letter-spacing: -.035em !important;
  }

  .master-utility-page .page-hero p {
    max-width: 345px !important;
    margin: 0 0 18px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .master-utility-page .page-hero-actions {
    display: block !important;
    margin-top: 0 !important;
  }

  .master-utility-page .page-hero-actions .btn {
    width: 100% !important;
    min-height: 50px;
    padding: 13px 18px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
  }

  .master-utility-page .page-hero-actions .btn-secondary {
    display: none !important;
  }

  /* Pricing: the useful controls and current table now start immediately below the hero. */
  .master-utility-pricing .pricing-full {
    padding-top: 0 !important;
  }

  .master-utility-pricing .pricing-full > .container {
    display: flex;
    flex-direction: column;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .master-utility-pricing .pricing-full > .container > * {
    order: 20;
    margin-left: 16px !important;
    margin-right: 16px !important;
  }

  .master-utility-pricing .pricing-full .price-quick-grid {
    display: none !important;
  }

  .master-utility-pricing .pricing-full .seasonal-tabs {
    order: 1;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 12px 16px 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: 0 1px 0 rgba(15, 23, 42, .1) !important;
  }

  .master-utility-pricing .seasonal-tabs .tab-btn {
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 8px 5px !important;
    border: 1px solid #d9e0e7 !important;
    border-right-width: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #253449 !important;
    box-shadow: none !important;
  }

  .master-utility-pricing .seasonal-tabs .tab-btn:first-child {
    border-radius: 7px 0 0 7px !important;
  }

  .master-utility-pricing .seasonal-tabs .tab-btn:last-child {
    border-right-width: 1px !important;
    border-radius: 0 7px 7px 0 !important;
  }

  .master-utility-pricing .seasonal-tabs .tab-btn.active {
    border-color: #0b6f54 !important;
    background: #0b6f54 !important;
    color: #fff !important;
  }

  .master-utility-pricing .seasonal-tabs .icon,
  .master-utility-pricing .seasonal-tabs .tab-date {
    display: none !important;
  }

  .master-utility-pricing .seasonal-tabs .tab-label {
    font-size: 12px !important;
    line-height: 1.1 !important;
    white-space: normal !important;
  }

  .master-utility-pricing .pricing-full .tab-content {
    order: 2;
    margin: 0 !important;
    padding: 14px 16px 6px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .master-utility-pricing .tab-content .pricing-block {
    margin: 0 !important;
  }

  .master-utility-pricing .tab-content .pricing-block > h2 {
    margin: 0 0 6px !important;
    font-size: 19px !important;
    line-height: 1.25 !important;
  }

  .master-utility-pricing .tab-content .pricing-note {
    margin: 0 0 10px !important;
    padding: 0 !important;
    background: transparent !important;
    color: #5b6775 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  .master-utility-pricing .pricing-table {
    display: table !important;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #e1e6eb !important;
    border-radius: 8px !important;
    overflow: hidden;
  }

  .master-utility-pricing .pricing-table thead {
    display: table-header-group !important;
  }

  .master-utility-pricing .pricing-table tbody {
    display: table-row-group !important;
  }

  .master-utility-pricing .pricing-table tr {
    display: table-row !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .master-utility-pricing .pricing-table tr:nth-child(even) {
    background: #f8fafb !important;
  }

  .master-utility-pricing .pricing-table th,
  .master-utility-pricing .pricing-table td {
    display: table-cell !important;
    width: auto !important;
    border: 0 !important;
    border-bottom: 1px solid #e7ebef !important;
    text-align: left !important;
    vertical-align: middle !important;
  }

  .master-utility-pricing .pricing-table th:not(:first-child),
  .master-utility-pricing .pricing-table td:not(:first-child) {
    text-align: right !important;
  }

  .master-utility-pricing .pricing-table td::before {
    display: none !important;
    content: none !important;
  }

  .master-utility-pricing .pricing-table th,
  .master-utility-pricing .pricing-table td {
    padding: 11px 13px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  .master-utility-pricing .pricing-table thead th {
    background: #f4f7f8 !important;
    color: #4f5d6b !important;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: .045em;
  }

  .master-utility-pricing .pricing-table .price-cell {
    color: #0b6f54 !important;
    font-weight: 800 !important;
  }

  /* Process: one scannable four-step list before all explanations. */
  .master-utility-process .steps-detail {
    padding: 16px 0 56px !important;
  }

  .master-utility-process .mobile-steps-summary {
    display: grid !important;
    gap: 0 !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    border: 1px solid #dfe5ea;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
  }

  .master-utility-process .mobile-steps-summary > div {
    display: grid !important;
    grid-template-columns: 38px 1fr !important;
    column-gap: 10px !important;
    padding: 14px !important;
    border: 0 !important;
    border-bottom: 1px solid #e7ebef !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .master-utility-process .mobile-steps-summary > div:last-child {
    border-bottom: 0 !important;
  }

  .master-utility-process .mobile-steps-summary span {
    grid-row: 1 / span 2;
    width: 34px !important;
    height: 34px !important;
    display: grid !important;
    place-items: center;
    margin: 0 !important;
    border-radius: 50% !important;
    background: #0b6f54 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  .master-utility-process .mobile-steps-summary strong {
    margin: 0 0 2px !important;
    font-size: 16px !important;
    color: #17253a !important;
  }

  .master-utility-process .mobile-steps-summary p {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #5b6775 !important;
  }

  /* Contact: navigation choices before explanatory content. */
  .master-utility-contact .contact-full {
    padding-top: 16px !important;
  }

  .master-utility-contact .contact-full > .container {
    display: flex;
    flex-direction: column;
    gap: 0 !important;
  }

  .master-utility-contact .contact-full > .container > * {
    order: 20;
  }

  .master-utility-contact .mobile-location-heading {
    order: 1 !important;
    display: block !important;
    margin: 0 0 10px !important;
    font-size: 22px !important;
  }

  .master-utility-contact .contact-location-quick {
    order: 2 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin: 0 0 14px !important;
    align-self: stretch !important;
  }

  .master-utility-contact .location-warning {
    order: 3 !important;
    margin: 0 0 14px !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  .master-utility-contact .trust-decision-panel--contact {
    order: 4 !important;
  }

  .master-utility-contact .contact-main {
    order: 5 !important;
  }

  .master-utility-contact .contact-location-card {
    padding: 16px !important;
    border: 1px solid #dfe5ea !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06) !important;
  }

  .master-utility-contact .contact-location-card h2 {
    margin: 0 0 8px !important;
    font-size: 20px !important;
  }

  .master-utility-contact .contact-location-card address,
  .master-utility-contact .contact-location-card p {
    margin-bottom: 10px !important;
    font-size: 14px !important;
  }

  .master-utility-contact .contact-location-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .master-utility-contact .contact-location-actions .btn {
    min-width: 0 !important;
    min-height: 44px;
    padding: 10px 8px !important;
    font-size: 12px !important;
  }

  .master-utility-contact .contact-location-actions .btn:last-child {
    grid-column: 1 / -1;
  }
}
