/* VELTORRA FONTANERO — brand-suffix and small refinements on top of the core VELTORRA styles */

.brand {
  gap: 10px;
  padding-right: 16px;
}

/* Three service groups instead of seven directions: cluster them with a
   measured gap instead of stretching across the full row. */
@media (min-width: 1181px) {
  .head-primary {
    justify-content: flex-start;
    gap: clamp(36px, 5.5vw, 96px);
  }
}

/* Home-page imagery: plumbing scenes instead of the parent site's visuals.
   Only background-image is overridden so the responsive position/size tuning
   in style.css keeps applying. */
.hero {
  background-image: url("/images/pl-taps-sinks.webp");
}

/* City-page and service-page geo strips: the city chips are links now. */
a.sp-city {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}

a.sp-city:hover {
  color: var(--copper-light, #d69a5c);
  border-color: var(--copper, #c17b3c);
}

/* Home service-area index entries are links to the city pages. */
a.service-area__place {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

a.service-area__place:hover b {
  color: var(--copper-light, #d69a5c);
}

.va-section {
  background-image: url("/images/pl-emergency.webp");
}

.brand-sub {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper-light, #d69a5c);
  padding-left: 10px;
  border-left: 1px solid var(--line, rgba(193, 123, 60, .28));
  line-height: 1;
  transform: translateY(2px);
}

/* Desktop header: the suffix and the language switch need room the seven-item
   original never reserved — compact the logo and the secondary nav slightly. */
@media (min-width: 1181px) {
  .site-head .brand img {
    height: 66px;
  }

  .head-secondary {
    font-size: 11px;
    letter-spacing: .12em;
    gap: clamp(12px, 1.4vw, 22px);
    padding-right: clamp(14px, 1.6vw, 24px);
  }
}

.veltorra-footer__brand .brand-sub {
  display: inline-block;
  margin-top: 10px;
  border-left: 0;
  padding-left: 0;
  transform: none;
}

/* Tablet header: keep the suffix but slimmer. */
@media (max-width: 1180px) {
  .brand-sub {
    font-size: 14px;
    letter-spacing: .16em;
    padding-left: 8px;
  }

  .brand {
    padding-right: 8px;
  }
}

/* Phone header: the suffix cannot fit next to the language switch without
   forcing horizontal overflow (the brand is white-space: nowrap) — hide it.
   The logo alone carries the identity, as on the parent site. */
@media (max-width: 767px) {
  .brand-sub {
    display: none;
  }

  .brand {
    padding-right: 0;
  }
}

/* Our service names are longer than the parent site's one-word disciplines:
   the two-column hero list collides on narrow phones — stack it. */
@media (max-width: 560px) {
  .hero-disciplines {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

/* Phones load the 800w variants of the two CSS-driven home backgrounds.
   Kept last in the file so it wins the cascade over the base rules above. */
@media (max-width: 800px) {
  .hero {
    background-image: url("/images/pl-taps-sinks-800w.webp");
  }

  .va-section {
    background-image: url("/images/pl-emergency-800w.webp");
  }
}
