/* ===========================================================================
   Inner pages — about, services, service detail, clients, contact
   =========================================================================== */

.section-subtitle {
  font-size: var(--text-xl);
  color: var(--color-amber);
  margin-bottom: var(--space-5);
}

/* --- Two-column split --------------------------------------------------------
   Text beside a picture, the arrangement the profile uses on most of its
   pages. `--reverse` puts the picture first on a wide screen while leaving
   the reading order alone on a narrow one. */

.split {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 0.9fr;
    gap: var(--space-8);
  }

  .split--reverse .split__text {
    order: 2;
  }

  .split--reverse .split__media {
    order: 1;
  }
}

.split__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
}

/* --- Tick list ---------------------------------------------------------------- */

.tick-list {
  display: grid;
  gap: var(--space-3);
  margin: 0 0 var(--space-6);
  padding: 0;
  list-style: none;
}

.tick-list li {
  position: relative;
  padding-left: var(--space-6);
  color: var(--color-text-muted);
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--color-amber);
}

/* --- Gallery -------------------------------------------------------------------
   The equipment and vehicle pictures in the profile are cut-outs on a dark
   ground, so they sit in tiles rather than being cropped to a shape. */

.gallery {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.gallery__item {
  display: grid;
  place-items: center;
  margin: 0;
  padding: var(--space-5);
  min-height: 220px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  background: var(--color-surface-glass);
  transition: border-color var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
}

.gallery__item:hover {
  border-color: var(--color-amber-line);
  transform: translateY(-4px);
}

.gallery__item img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
}

/* Full photographs fill the tile edge to edge at one shared shape, so a row
   of differently proportioned shots still lines up. */
.gallery--photos .gallery__item {
  padding: 0;
  min-height: 0;
  overflow: hidden;
}

.gallery--photos .gallery__item img {
  max-height: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* --- Tag cloud ------------------------------------------------------------------ */

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-cloud .pill {
  font-size: var(--text-lg);
  padding: var(--space-3) var(--space-6);
}

.tag-cloud__note {
  margin-top: var(--space-6);
  text-align: center;
  color: var(--color-text-dim);
  font-size: var(--text-sm);
}

/* --- Clients --------------------------------------------------------------------- */

.client-list {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 840px) {
  .client-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.client {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6);
  border: var(--border-card);
  border-radius: var(--radius-lg);
  background: var(--color-surface-glass);
  transition: border-color var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
}

.client:hover {
  border-color: var(--color-amber);
  transform: translateY(-4px);
}

.client i {
  flex-shrink: 0;
  font-size: 32px;
  color: var(--color-amber);
}

.client__name {
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
}

/* --- Contact ---------------------------------------------------------------------- */

.contact-layout {
  display: grid;
  gap: var(--space-7);
  align-items: start;
}

@media (min-width: 980px) {
  .contact-layout {
    grid-template-columns: 0.85fr 1fr;
    gap: var(--space-8);
  }
}

.contact-details {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-6);
  border: var(--border-card);
  border-radius: var(--radius-lg);
  background: var(--color-surface-glass);
}

.contact-row {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-row i {
  flex-shrink: 0;
  font-size: 24px;
  color: var(--color-amber);
}

.contact-row__label {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: var(--space-1);
}

.contact-row a {
  color: var(--color-text);
  text-decoration: none;
}

.contact-row a:hover {
  color: var(--color-amber);
}

.contact-form-wrap {
  padding: var(--space-6);
  border: var(--border-card);
  border-radius: var(--radius-lg);
  background: var(--color-ink-raised);
}

.contact-form-wrap .form-note {
  margin-top: var(--space-4);
}

.contact-form-wrap .form-note p {
  margin-top: var(--space-2);
}
