/* socials.zonixtec.net — one calm card over a softened photo of the entrance. Phone first; wider on PC. */
:root {
  --ink: #15181a; --ink-2: #50565a; --muted: #7a7f84; --line: #e4e0d7; --soft: #f6f4ef;
  --accent: #0b6b45; --gold: #b98a2e; --night: #121614;
  --font-display: 'Manrope', system-ui, sans-serif; --font-body: 'Instrument Sans', system-ui, sans-serif;
}
:lang(ar) { --font-display: 'Readex Pro', 'IBM Plex Sans Arabic', system-ui, sans-serif; --font-body: 'IBM Plex Sans Arabic', system-ui, sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--night); color: var(--ink); font: 16px/1.6 var(--font-body); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #d9b36a; outline-offset: 2px; border-radius: 10px; }
svg { flex-shrink: 0; }

.sx-bg { position: fixed; inset: 0; background: center / cover no-repeat; filter: blur(18px) saturate(.9) brightness(.55); transform: scale(1.08); }
.sx { position: relative; width: min(100% - 24px, 620px); margin: 12px auto 24px; background: rgba(252,251,248,.97); border-radius: 26px; padding: 24px 18px 18px; box-shadow: 0 30px 80px rgba(0,0,0,.35); display: grid; gap: 22px; }

.sx-head { text-align: center; display: grid; justify-items: center; gap: 8px; position: relative; padding-top: 8px; }
.sx-lang { position: absolute; top: -6px; inset-inline-end: 0; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.sx-logo { width: 170px; height: auto; margin-top: 18px; }
.sx-head h1 { margin: 6px 0 0; font: 700 22px/1.35 var(--font-display); }
.sx-about { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 46ch; }

.sx-h { margin: 0 0 10px; font: 600 13px var(--font-body); color: var(--gold); text-transform: uppercase; letter-spacing: .12em; }
:lang(ar) .sx-h { text-transform: none; letter-spacing: 0; font-size: 15px; }

.sx-social { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.sx-soc { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 600; transition: transform .15s, border-color .15s; }
.sx-soc:hover { transform: translateY(-1px); border-color: #c9c4b8; }
.sx-soc svg { color: var(--ink); }
.sx-facebook svg { color: #1877f2; } .sx-instagram svg { color: #c13584; } .sx-youtube svg { color: #e00; }
.sx-linkedin svg { color: #0a66c2; } .sx-snapchat svg { color: #e5c500; }

.sx-actions { display: grid; gap: 10px; }
.sx-act { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .15s, border-color .15s; }
.sx-act:hover { transform: translateY(-1px); border-color: #c9c4b8; }
.sx-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--soft); color: var(--accent); }
.sx-act.wa { background: var(--accent); border-color: var(--accent); color: #fff; }
.sx-act.wa .sx-ico { background: rgba(255,255,255,.16); color: #fff; }
.sx-act.wa small { color: rgba(255,255,255,.8); }
.sx-txt { display: grid; min-width: 0; }
.sx-txt b { font: 700 16px/1.35 var(--font-display); }
.sx-txt small { color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sx-info { display: grid; gap: 2px; border-radius: 18px; background: var(--soft); padding: 6px 14px; }
.sx-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; color: var(--ink); }
.sx-row + .sx-row { border-top: 1px solid var(--line); }
.sx-row svg { color: var(--gold); margin-top: 2px; }
.sx-row span { display: grid; gap: 2px; }
.sx-row b { font: 700 15px var(--font-display); }
.sx-row small { color: var(--ink-2); font-size: 15px; }
.sx-row em { font-style: normal; color: var(--accent); font-weight: 600; font-size: 14px; }

.sx-save { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 54px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }
.sx-save:hover { background: #000; }

.sx-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; padding: 2px 4px 0; }
.sx-foot a { color: var(--ink-2); font-weight: 600; }

@media (min-width: 720px) {
  .sx { width: min(100% - 48px, 760px); margin: 48px auto; padding: 36px 36px 26px; gap: 28px; }
  .sx-logo { width: 200px; }
  .sx-head h1 { font-size: 28px; }
  .sx-actions { grid-template-columns: 1fr 1fr; }
  .sx-actions .sx-act.wa { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .sx-soc, .sx-act { transition: none; } .sx-soc:hover, .sx-act:hover { transform: none; } }
