/* Reputation management page. Loads after styles.css, pages.css and services.css. */

/* ---------- why reviews matter ---------- */
.signals4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sig { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.sig h3 { font-size: 1.12rem; margin: 14px 0 6px; }
.sig p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--muted); }
.sig .stars { font-size: 1.1rem; }

/* ---------- interactive customer journey ---------- */
.journey-demo { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 72px); align-items: center; }
.jsteps { display: grid; gap: 10px; margin-top: 24px; counter-reset: js; }
.jsteps button { counter-increment: js; display: grid; grid-template-columns: 38px 1fr; gap: 4px 14px; text-align: left; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font: inherit; color: var(--muted); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.jsteps button::before { content: counter(js); grid-row: span 2; align-self: center; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--mist); color: var(--navy); font: 800 .95rem var(--display); }
.jsteps button strong { font-family: var(--display); font-size: 1.08rem; color: var(--navy); }
.jsteps button span { font-size: .98rem; line-height: 1.45; }
.jsteps button:hover { border-color: var(--teal); }
.jsteps button[aria-pressed="true"] { border-color: var(--teal); box-shadow: var(--shadow); transform: translateX(6px); }
.jsteps button[aria-pressed="true"]::before { background: var(--navy); color: var(--aqua); }

.phone { position: relative; width: 320px; max-width: 100%; margin-inline: auto; aspect-ratio: 9 / 18.5; border-radius: 44px; background: var(--navy-deep); padding: 12px; box-shadow: 0 40px 80px -30px rgb(16 47 75 / 70%), inset 0 0 0 2px rgb(135 209 214 / 25%); font-family: var(--ui); }
.phone::before { content: ""; position: absolute; left: 50%; top: 20px; width: 84px; height: 22px; margin-left: -42px; border-radius: 20px; background: var(--navy-deep); z-index: 2; }
.phone-screen { position: relative; height: 100%; border-radius: 34px; background: #f4f8fb; overflow: hidden; }
.pscreen { position: absolute; inset: 0; padding: 58px 18px 20px; display: flex; flex-direction: column; gap: 12px; opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity .3s ease, transform .3s ease, visibility .3s; }
.pscreen.on { opacity: 1; visibility: visible; transform: none; }
.pscreen p { margin: 0; }
.p-head { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.sms { align-self: flex-start; max-width: 88%; padding: 11px 14px; border-radius: 18px 18px 18px 5px; background: #e4e9ee; color: var(--ink); font-size: .86rem; line-height: 1.45; }
.sms a, .sms u { color: var(--blue); text-decoration: underline; }
.sms-meta { font-size: .68rem; color: var(--muted); padding-left: 6px; }
.p-logo { display: grid; place-items: center; width: 54px; height: 54px; margin: 4px auto 0; border-radius: 16px; background: var(--navy); color: var(--aqua); }
.p-logo svg { width: 26px; height: 26px; }
.p-title { font-family: var(--display); font-weight: 800; font-size: 1.12rem; color: var(--navy); text-align: center; line-height: 1.25; }
.p-sub { font-size: .8rem; color: var(--muted); text-align: center; }
.rate { display: flex; justify-content: center; gap: 4px; }
.rate button { border: 0; background: none; padding: 4px; cursor: pointer; font-size: 2rem; line-height: 1; color: #c9d6e0; transition: color .12s ease, transform .12s ease; }
.rate button:hover { transform: scale(1.15); }
.rate button.lit { color: var(--amber); }
.p-box { padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: .82rem; line-height: 1.45; color: var(--ink); min-height: 76px; }
.p-btn { display: block; width: 100%; text-align: center; padding: 12px; border: 0; border-radius: 50px; background: var(--teal); color: var(--navy-deep); font: 800 .78rem var(--display); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.p-btn:disabled { background: #d5dee6; color: #8a99a8; cursor: default; }
.p-site { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: .86rem; font-weight: 600; color: var(--ink); }
.p-site i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--teal-tint); color: var(--teal-ink); }
.p-site i svg { width: 17px; height: 17px; }
.p-site svg:last-child { width: 16px; height: 16px; color: var(--muted); }
.p-note { margin-top: auto !important; font-size: .7rem; line-height: 1.4; color: var(--muted); text-align: center; }
.phone-caption { margin: 16px 0 0; text-align: center; font-family: var(--ui); font-size: .78rem; color: var(--muted); }

/* ---------- ways in ---------- */
.ways { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.way { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; transition: border-color .2s ease, transform .2s ease; }
.way:hover { border-color: var(--teal); transform: translateY(-3px); }
.way h3 { font-size: 1.02rem; margin: 12px 0 4px; }
.way p { margin: 0; font-size: .96rem; line-height: 1.45; color: var(--muted); }

/* ---------- review inbox mock ---------- */
.inbox { margin-top: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--mist); padding: 12px; font-family: var(--ui); font-size: .84rem; }
.rev { background: #fff; border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; box-shadow: 0 1px 2px rgb(16 47 75 / 8%); }
.rev:last-child { margin-bottom: 0; }
.rev p { margin: 0; }
.rev-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); font-size: .76rem; }
.rev-top b { color: var(--ink); font-size: .84rem; margin-right: 8px; }
.rev-text { margin: 5px 0 0 !important; color: var(--ink); line-height: 1.45; }
.rev-reply { margin-top: 9px !important; padding: 9px 11px; border-radius: 10px; background: var(--teal-tint); color: var(--teal-ink); line-height: 1.45; }
.rev-reply span { display: flex; align-items: center; gap: 5px; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.rev-reply svg { width: 12px; height: 12px; }
.rev-hold { background: #fdf2dc; color: #7c560a; }

/* ---------- widget layouts ---------- */
.wlayouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.wl { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 14px; font-family: var(--ui); text-align: center; }
.wl p { margin: 10px 0 0; font-size: .8rem; font-weight: 600; color: var(--ink); }
.wl-art { position: relative; height: 92px; border-radius: 10px; background: var(--mist); display: grid; gap: 5px; padding: 9px; }
.wl-art i { border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgb(16 47 75 / 12%); border-top: 3px solid var(--amber); }
.wl-carousel { grid-template-columns: repeat(3, 1fr); align-items: center; }
.wl-carousel i { height: 62%; } .wl-carousel i:nth-child(2) { height: 100%; }
.wl-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); }
.wl-masonry { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); }
.wl-masonry i:nth-child(1) { grid-row: span 2; } .wl-masonry i:nth-child(3) { grid-row: span 3; } .wl-masonry i:nth-child(4) { grid-row: span 2; grid-column: 2; }
.wl-toast { align-items: end; justify-items: end; }
.wl-toast i { width: 56%; height: 46%; border-top-color: var(--teal); }

@media (max-width: 1100px) {
  .signals4, .wlayouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ways { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  .journey-demo { grid-template-columns: minmax(0, 1fr); }
  .jsteps button[aria-pressed="true"] { transform: none; }
}
@media (max-width: 620px) {
  .signals4 { grid-template-columns: minmax(0, 1fr); }
  .ways { grid-template-columns: minmax(0, 1fr); }
}
.section-head-sub { margin: clamp(40px, 6vw, 72px) auto 24px; }
.section-head-sub h3 { font-size: 1.5rem; margin: 0; }
.duo-top, .who-grid-top { margin-top: clamp(32px, 5vw, 56px); }
.p-site span { min-width: 0; }
