/* ---- Provider profile page ---- */

/* Header card: cover strip + logo + name + call buttons */
.profile-head { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-bottom: var(--space-lg); }
.profile-head__cover { position: relative; height: 190px; background: var(--ink); overflow: hidden; }
.profile-head__body { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); padding: var(--space-md) clamp(24px, 4vw, 44px) clamp(28px, 4vw, 40px); }
.profile-head__body .avatar--xl { margin-top: -50px; border: 4px solid var(--card); box-sizing: content-box; }
@media (min-width: 768px) { .profile-head__body .avatar--xl { margin-top: 0; border: 0; } }
.profile-head__title { flex: 1; min-width: 240px; }
.profile-head__title h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); display: flex; align-items: center; gap: 10px; }
.profile-head__title p { margin-top: 10px; }
.profile-head__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.about p + p { margin-top: 18px; }

/* Services grid */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.service-tile { display: flex; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.service-tile .icon { color: var(--red); margin-top: 2px; }
.service-tile strong { display: block; font-size: 0.92rem; }
.service-tile span { font-size: 0.82rem; color: var(--muted); }

/* Fleet photos placeholders */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.photo-placeholder { aspect-ratio: 4 / 3; background: var(--line); border-radius: var(--radius-sm); display: grid; place-items: center; color: var(--muted); font-size: 0.8rem; text-align: center; }
.fleet-stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: var(--space-md); font-size: 0.9rem; }

/* Contact + hours sidebar */
.dl { display: grid; gap: 18px; margin: 0; }
.dl dt { font-size: 0.78rem; color: var(--muted); }
.dl dd { margin: 0; font-weight: 600; font-size: 0.92rem; word-break: break-word; }
.hours { display: grid; gap: 12px; font-size: 0.92rem; }
.hours div { display: flex; justify-content: space-between; }
.hours strong { font-weight: 600; }
.claim p { font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }
.claim .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Uploaded photos: same 4:3 tiles as the placeholders */
.photo { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
.photo:hover img { transform: scale(1.03); }

/* Cover photo (theirs, or our default) fills the banner */
.profile-head__cover--photo { height: clamp(180px, 26vw, 300px); }
.profile-head__cover--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Our default photo: crop lower so the man and car stay in view, not just sky */
.profile-head__default-cover { object-position: center 80%; }
