/* responsive.css
   Split from the previous shared stylesheet to match the PriLink Digital CSS structure. */

@media (max-width: 900px) {
  .footer-inner > :first-child {
    display: none;
  }

  .footer-inner > div {
    text-align: left;
  }

  .footer-inner ul {
    justify-items: start;
  }

  .card,
  .gallery-item,
  .btn {
    -webkit-tap-highlight-color: transparent;
  }

  .btn:hover,
  .card:hover,
  .card:not(.no-hover):hover,
  .gallery-item:hover {
    transform: none;
  }

  .card:not(.no-hover):hover {
    border-color: var(--line);
    box-shadow: none;
  }

  .values-grid .card:not(.no-hover):hover {
    border-color: #cfdae1;
  }

  .card,
  .gallery-item,
  .gallery-item img {
    transition: none;
  }

  .gallery-item:hover img {
    transform: none;
    opacity: 1;
  }

  .gallery-item:hover::after {
    transform: none;
    opacity: 0;
  }

  .footer-pages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    max-width: 320px;
    margin: 0 auto;
    text-align: left;
  }

  .footer-hiring {
    grid-column: 1;
    justify-self: start;
  }

  .topbar-inner {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
  }

  .topbar-address,
  .topbar-contact,
  .topbar-hours {
    justify-self: auto;
    text-align: left;
  }

  .topbar-contact {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    background: white;
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .nav-links .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 72px;
  }

  .hero-panel,
  .grid.three,
  .grid.two,
  .split,
  .gallery-preview,
  .gallery-full,
  .coverage-map,
  .hiring-layout,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .gallery-item-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .hero-panel {
    margin-bottom: 20px;
  }

  .hero-stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 24px 0;
  }

  .section-head,
  .cta .section {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .split-media {
    height: 442px;
    min-height: 442px;
  }

  .split-media img {
    height: 100%;
    min-height: 442px;
  }

  .page-hero,
  .map-frame {
    min-height: 442px;
    height: 442px;
  }
}

@media (max-width: 620px) {
  .topbar {
    font-size: 0.8rem;
  }

  .topbar-inner {
    gap: 6px;
    padding: 6px 0;
  }

  .topbar-inner,
  .nav-inner,
  .section,
  .footer-inner,
  .hero-inner,
  .hero-panel {
    width: min(100% - 28px, 1140px);
  }

  .hero-panel {
    margin-bottom: 14px;
  }

  .section {
    padding: 22px 0;
  }

  .values-section .section {
    width: auto;
    margin-right: 16px;
    margin-left: 16px;
  }

  .values-grid {
    justify-items: stretch;
  }

  .values-grid .card {
    width: 100%;
  }

  .values-grid .card h3,
  .values-grid .card p {
    max-width: none;
    text-align: left;
  }

  .brand img {
    width: 150px;
    height: 54px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.55rem, 16vw, 4.2rem);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .split-media {
    height: 364px;
    min-height: 364px;
  }

  .split-media img {
    height: 100%;
    min-height: 364px;
  }

  .page-hero,
  .map-frame {
    min-height: 416px;
    height: auto;
  }

  .btn {
    width: 100%;
  }

  .mobile-title {
  display: none;
}

@media (max-width: 620px) {
  .desktop-title {
    display: none;
  }

  .mobile-title {
    display: block;
    font-size: clamp(2rem, 9vw, 2.6rem);
    line-height: 1.1;
  }
}
.floating-label {
  position: relative;
  display: block;
}

.floating-label span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #aeb4bb;
  pointer-events: none;
  transition: 0.2s ease;
}

.floating-label input:focus + span,
.floating-label input:valid + span {
  top: 6px;
  font-size: 0.75rem;
  color: var(--blue);
}
}

.booking-note {
  margin: -10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.booking-note a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}
