/* Sanad One — marketing pages */
body.site { background: var(--surface); }
.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }

.site-top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.site-nav { display: flex; align-items: center; gap: 18px; font-weight: 700; font-size: .95rem; }
.site-nav > a:not(.btn) { color: var(--ink-2); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.35; font-weight: 800; max-width: 22ch; }
.hero-lead { margin-top: 16px; font-size: 1.08rem; color: var(--ink-2); max-width: 52ch; }
.claim { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; max-width: 560px; }
.claim-box { flex: 1 1 280px; display: flex; align-items: center; min-height: 54px; padding: 0 6px 0 16px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--surface); }
.claim-box:focus-within { box-shadow: 0 0 0 4px var(--brand-tint); border-color: var(--brand); }
.claim-box span { color: var(--muted); font-weight: 700; white-space: nowrap; }
.claim-box input { border: 0; box-shadow: none !important; min-height: 50px; padding: 0 4px; font-weight: 700; font-size: 1.02rem; min-width: 0; }
.claim .btn { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.claim + .muted { margin-top: 10px; }

/* Hero visual: phone + table tent */
.hero-visual { position: relative; display: grid; justify-items: center; min-height: 540px; }
.demo-phone { width: 270px; height: 540px; border-radius: 42px; padding: 10px; background: var(--ink); box-shadow: 0 40px 80px -30px rgba(27, 31, 59, .55); }
.demo-screen {
  height: 100%; border-radius: 32px; padding: 34px 18px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: linear-gradient(170deg, #1E4D43, #143630); color: #F4EFE3; overflow: hidden;
}
.demo-avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #F4EFE3; color: #1E4D43; font-weight: 800; font-size: 1.6rem; }
.demo-title { font-size: 1.05rem; font-weight: 800; }
.demo-bio { font-size: .78rem; opacity: .8; margin-top: -8px; }
.demo-social { display: flex; gap: 12px; margin: 2px 0 6px; }
.demo-social .ic { width: 18px; height: 18px; }
.demo-btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 42px; border-radius: 12px; background: #F4EFE3; color: #1E4D43; font-weight: 700; font-size: .82rem; }
.demo-btn .ic { position: absolute; inset-inline-start: 12px; width: 16px; height: 16px; }
.demo-btn em { position: absolute; inset-inline-end: 10px; font-style: normal; font-size: .6rem; font-weight: 800; border: 1.2px solid currentColor; border-radius: 4px; padding: 0 4px; opacity: .7; }
.tent {
  position: absolute; bottom: 10px; inset-inline-start: -6px; width: 168px; padding: 16px 16px 12px; display: grid; justify-items: center; gap: 6px;
  background: var(--saffron); border-radius: 14px; transform: rotate(-6deg);
  box-shadow: 0 24px 40px -18px rgba(27, 31, 59, .5);
}
html[dir=ltr] .tent { transform: rotate(6deg); }
.tent-qr { width: 128px; height: 128px; padding: 8px; background: #fff; border-radius: 10px; }
.tent-qr svg { width: 100%; height: 100%; display: block; }
.tent span { font-weight: 800; font-size: .92rem; color: var(--ink); }

/* Sections */
.band, .steps-sec, .pricing-sec { padding: clamp(48px, 7vw, 84px) 0; }
.band h2, .steps-sec h2, .pricing-sec h2, .pricing-sec h1 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; margin-bottom: 26px; max-width: 30ch; }
.pricing-sec h1 + .muted, .pricing-sec h2 + .muted { margin: -16px 0 26px; }
.what { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.what li { display: flex; align-items: center; gap: 14px; padding: 20px 4px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.02rem; }
.what li .ic { width: 26px; height: 26px; color: var(--brand); }
.steps-sec { background: var(--ink); color: #fff; }
.steps-sec h2 { color: #fff; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { counter-increment: s; display: grid; gap: 6px; padding-top: 18px; border-top: 2px solid rgba(255, 255, 255, .2); }
.steps li::before { content: counter(s); font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--saffron); margin-bottom: 6px; }
.steps strong { font-size: 1.12rem; }
.steps span { color: rgba(255, 255, 255, .72); }
.page-top { padding-top: clamp(36px, 5vw, 60px); }

.site-foot { padding: 28px 0; border-top: 1px solid var(--line); }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

/* Features grouped by the job they do */
.jobs { padding: clamp(48px, 7vw, 84px) 0; }
.jobs h2, .agencies h2, .faq h2, .last-cta h2, .counter h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; max-width: 26ch; }
.jobs h2 { margin-bottom: 30px; }
.jobs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.job h3 { font-size: 1.05rem; font-weight: 800; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.job ul { list-style: none; margin: 0; padding: 0; }
.job li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.job li .ic { width: 24px; height: 24px; color: var(--brand); margin-top: 3px; }
.job li strong { display: block; font-size: 1rem; }
.job li span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.6; }

/* NFC at the counter */
.counter { padding: clamp(56px, 8vw, 100px) 0; background: #1E4D43; color: #F4EFE3; overflow: hidden; }
.counter-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.counter h2 { color: #fff; margin-bottom: 14px; }
.counter-copy > p { color: rgba(244, 239, 227, .82); font-size: 1.05rem; max-width: 48ch; }
.ticks { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; font-weight: 700; }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks .ic { color: var(--saffron); flex: none; }
.ticks.dark .ic { color: var(--brand); }
.btn-saffron { background: var(--saffron); color: var(--ink); }
.btn-saffron:hover { background: #E5A71F; text-decoration: none; }
.counter-scene { position: relative; height: 380px; }
.scene-card {
  position: absolute; bottom: 10px; inset-inline-start: 0; width: min(100%, 340px); aspect-ratio: 1.586; padding: 22px 24px;
  display: grid; grid-template-rows: auto 1fr auto; border-radius: 18px; color: #F4EFE3;
  background: radial-gradient(120% 140% at 100% 0%, #2E8E78 0%, #1E6B5C 40%, #12302A 100%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transform: rotate(-4deg);
}
html[dir=ltr] .scene-card { transform: rotate(4deg); }
.scene-chip { position: relative; z-index: 1; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 13px; background: rgba(244, 239, 227, .15); }
.scene-chip .ic { width: 28px; height: 28px; }
.scene-name { align-self: end; font-weight: 800; font-size: 1.15rem; }
.scene-hint { font-size: .8rem; opacity: .7; }
.scene-rings { position: absolute; top: 22px; inset-inline-start: 24px; width: 50px; height: 50px; }
.scene-rings i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(242, 182, 50, .7); opacity: 0; animation: ring 2.8s ease-out infinite; }
.scene-rings i:nth-child(2) { animation-delay: .5s; }
.scene-rings i:nth-child(3) { animation-delay: 1s; }
@keyframes ring { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.scene-phone {
  position: absolute; top: 0; inset-inline-end: 6%; width: 150px; height: 290px; border-radius: 30px; padding: 8px;
  background: #0E1A17; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .6); transform: rotate(8deg);
  display: flex; flex-direction: column; align-items: center;
}
html[dir=ltr] .scene-phone { transform: rotate(-8deg); }
.scene-phone::before { content: ''; position: absolute; inset: 8px; border-radius: 23px; background: linear-gradient(170deg, #F4EFE3, #E8E0CC); }
.scene-notch { position: relative; z-index: 1; width: 44px; height: 6px; margin-top: 8px; border-radius: 9px; background: #0E1A17; }
.scene-link { position: relative; z-index: 1; margin-top: 18px; padding: 4px 10px; border-radius: 99px; background: #fff; color: #1E4D43; font-size: .66rem; font-weight: 800; direction: ltr; white-space: nowrap; }

/* Agencies */
.agencies { padding: clamp(56px, 8vw, 96px) 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.agencies-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.agencies h2 { margin-bottom: 12px; }
.agencies .muted { max-width: 52ch; font-size: 1.02rem; }
.ag-shot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; box-shadow: 0 30px 60px -36px rgba(27, 31, 59, .4); }
.ag-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); color: var(--muted); font-size: .88rem; margin-bottom: 8px; }
.ag-row { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.ag-row strong { flex: 1; font-size: .95rem; }
.ag-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; }
.ag-av-0 { background: #1E4D43; } .ag-av-1 { background: #B8341F; } .ag-av-2 { background: #F2B632; color: var(--ink); } .ag-av-3 { background: #1B1F3B; }
.ag-n { font-weight: 800; font-size: .9rem; } .ag-n small { color: var(--muted); font-weight: 600; }
.ag-foot { display: flex; align-items: center; justify-content: center; gap: 6px; padding-top: 12px; font-size: .82rem; font-weight: 700; color: var(--muted); }

/* FAQ */
.faq { padding: clamp(48px, 7vw, 84px) 0; background: var(--paper); border-top: 1px solid var(--line); }
.faq-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; font-size: 1.02rem; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { padding: 0 0 18px; color: var(--ink-2); max-width: 64ch; }

/* Closing claim */
.last-cta { padding: clamp(48px, 7vw, 80px) 0; text-align: center; }
.last-cta .claim { margin-inline: auto; justify-content: center; }
.last-cta h2 { margin-inline: auto; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; padding-bottom: 20px; }
  .what { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .jobs-grid, .agencies-grid, .faq-wrap { grid-template-columns: 1fr; }
  .counter-grid { grid-template-columns: 1fr; }
  .counter-scene { height: 330px; max-width: 420px; }
}
@media (max-width: 560px) {
  .site-nav { gap: 12px; font-size: .88rem; }
  .site-nav > a:not(.btn):not(.lang-toggle) { display: none; }
  .what { grid-template-columns: 1fr; }
  .tent { inset-inline-start: 0; width: 140px; }
  .tent-qr { width: 104px; height: 104px; }
  .claim .btn { flex: 1 1 100%; }
  .scene-card { width: 270px; }
  .scene-phone { width: 120px; height: 236px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-rings i { animation: none; }
}

/* Legal & contact */
.legal { padding-bottom: 72px; }
.legal-wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-nav { position: sticky; top: 90px; display: grid; gap: 2px; }
.legal-nav a { padding: 8px 12px; border-radius: var(--r-sm); color: var(--ink-2); font-weight: 700; }
.legal-nav a:hover { background: var(--paper); text-decoration: none; }
.legal-nav a.on { background: var(--brand-tint); color: var(--brand-ink); }
.legal-body { max-width: 72ch; }
.legal-body h1 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 18px; }
.legal-body h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.legal-body p { margin: 0 0 12px; color: var(--ink-2); }
.legal-body ul { margin: 0 0 12px; padding-inline-start: 22px; color: var(--ink-2); }
.legal-body li { margin-bottom: 6px; }
.contact-list { list-style: none; padding: 0 !important; margin-top: 18px !important; display: grid; gap: 10px; }
.contact-list li { display: grid; grid-template-columns: 22px 140px 1fr; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); }
.contact-list .ic { color: var(--brand); }
.contact-list span { color: var(--muted); font-weight: 600; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 700; font-size: .9rem; }
.foot-nav a { color: var(--ink-2); }
@media (max-width: 760px) {
  .legal-wrap { grid-template-columns: 1fr; gap: 20px; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; }
  .contact-list li { grid-template-columns: 22px 1fr; }
  .contact-list li > :last-child { grid-column: 2; }
}
