/* Emergency Roof Repair: its parts placed and sized with the tokens of system.css (the shared parts are in components.css). */

/* ---------- 1. the header: the call first and largest, "Text us a photo" beside it ---------- */
.svc-hero--emergency .btn--call-now { min-height: 60px; padding-inline: 1.5em; font-size: 1.18rem; }
.svc-hero--emergency .btn--call-now .icon { width: 1.2em; height: 1.2em; }
@media (max-width: 520px) { .svc-hero--emergency .svc-hero__actions { flex-direction: column; align-items: stretch; } }

/* ---------- 2. signature: the next ten minutes (the shared cards over a photo, with the scene's bar); its action's
   room is shared (components.css) ---------- */

/* ---------- 3. we stand behind it: Tosi's own roof, the yard sign left clear, three promises at the right ---------- */
.behind__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.behind__copy .head { margin-bottom: var(--space-5); }
.behind__stage { --rise: 10cqi; position: relative; }
.behind__stage .gable__media { aspect-ratio: 4 / 3.3; box-shadow: var(--shadow-l); }
.behind__stage .gable__media > img { object-position: 50% 45%; }
.behind__cards { list-style: none; margin: 0; padding: 0; position: absolute; z-index: 4; right: 4%; bottom: 6%; width: min(17.5rem, 46%); display: grid; gap: 0.55rem; }
.behind__card { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 1rem 0.7rem 0.7rem; border-radius: var(--radius-l); background: rgba(14, 38, 25, 0.92); box-shadow: inset 0 1px 0 var(--glass-edge), var(--shadow-m); color: var(--c-paper); font: 700 1.02rem/1.2 var(--font-display); }
.behind__ico { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c-accent); color: var(--c-on-accent); }
.behind__ico .icon { width: 18px; height: 18px; stroke-width: 2.4; }
@media (max-width: 960px) { .behind__grid { grid-template-columns: 1fr; gap: var(--space-5); } }
/* phone: the promises under the photo, overlapping its foot, so the roof and the sign stay clear */
@media (max-width: 600px) {
  .behind__cards { position: relative; right: auto; bottom: auto; width: auto; margin: -1.6rem 0.75rem 0; }
  .behind__card { font-size: 0.98rem; }
}
