/* =====================================================================
   NAYA home — hero with field photo + accreditation plates, services,
   proof, delivery. Loaded only by landing/NewWelcome.
   Palette: night #0b1538 · navy #17265c · teal #19abb8 · paper #f4f7fb
   Single accent: hi-vis yellow #f2b705 (echoes the crane in the photo).
   ===================================================================== */
:root {
  --hx-night: #0b1538;
  --hx-navy: #17265c;
  --hx-teal: #19abb8;
  --hx-teal-dark: #118491;
  --hx-paper: #f4f7fb;
  --hx-line: #dce5ee;
  --hx-ink: #1d2b5b;
  --hx-muted: #5d6b86;
  --hx-yellow: #f2b705;
  --hx-pad: clamp(1.25rem, 5.5vw, 6rem);
}

/* ---------- Hero ---------- */
.hx { position: relative; isolation: isolate; color: #fff; background: var(--hx-night); }
.hx-photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hx-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 74%; }
.hx::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,16,48,.96) 0%, rgba(8,16,48,.84) 34%, rgba(8,16,48,.42) 66%, rgba(8,16,48,.10) 100%),
    linear-gradient(0deg, rgba(8,16,48,.55) 0%, rgba(8,16,48,0) 30%); }
[dir="rtl"] .hx::before {
  background:
    linear-gradient(270deg, rgba(8,16,48,.96) 0%, rgba(8,16,48,.84) 34%, rgba(8,16,48,.42) 66%, rgba(8,16,48,.10) 100%),
    linear-gradient(0deg, rgba(8,16,48,.55) 0%, rgba(8,16,48,0) 30%); }
.hx-main { padding: clamp(4rem, 9vw, 8.5rem) var(--hx-pad) clamp(3.5rem, 6vw, 5.5rem); min-height: clamp(460px, 62svh, 680px); display: flex; flex-direction: column; justify-content: center; }
.hx-copy { max-width: 40rem; }
.hx h1 { margin: 0; font-size: clamp(2.7rem, 6.6vw, 5.6rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 650; }
.hx-lead { margin: 1.4rem 0 0; max-width: 34rem; color: #cfdaea; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.65; }
.hx-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.hx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.7rem; border-radius: 999px; font-weight: 750; font-size: .95rem; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.hx-btn.primary { background: var(--hx-teal); color: #06142e; }
.hx-btn.primary:hover { background: #fff; }
.hx-btn.ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.hx-btn.ghost:hover { background: #fff; color: var(--hx-navy); border-color: #fff; }
.hx-caption { position: absolute; inset-inline-end: var(--hx-pad); top: 1.2rem; margin: 0; padding: .3rem .7rem; border-radius: 999px; background: rgba(8,16,48,.55); font-size: .76rem; color: rgba(255,255,255,.85); }

/* accreditation plates */
.hx-plates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; background: rgba(8,16,48,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,.16); }
.plate { padding: 1.15rem 1.5rem 1.2rem; border-inline-end: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.plate .plate-id { align-self: flex-start; margin-bottom: .45rem; padding: .1rem .5rem; background: var(--hx-yellow); color: #1a1500; font-size: .74rem; font-weight: 800; border-radius: 3px; font-variant-numeric: tabular-nums; }
.plate .plate-id.is-none { background: transparent; color: #9fb2cf; padding-inline: 0; font-weight: 600; }
.plate strong { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
.plate span:not(.plate-id) { color: #b7c6dc; font-size: .84rem; }
.plate-verify { display: flex; align-items: center; gap: .6rem; padding: 1.15rem 1.7rem; font-weight: 700; font-size: .9rem; color: #fff; }
.plate-verify:hover { color: var(--hx-yellow); }
.plate-verify i { font-style: normal; color: var(--hx-yellow); }
.plates-note { margin: 0; padding: .55rem var(--hx-pad); background: rgba(8,16,48,.88); color: #8ea2c2; font-size: .72rem; }

/* ---------- Shared section frame ---------- */
.hs { padding: clamp(3.5rem, 7vw, 6.5rem) var(--hx-pad); }
.hs-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.hs-head h2 { margin: 0; font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 650; }
.hs-head p { margin: 0; color: var(--hx-muted); line-height: 1.7; }
.hs-light { background: #fff; color: var(--hx-ink); }
.hs-paper { background: var(--hx-paper); color: var(--hx-ink); }
.hs-dark { background: var(--hx-night); color: #fff; }
.hs-dark .hs-head p { color: #aebdd4; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--hx-line); border: 1px solid var(--hx-line); border-radius: 14px; overflow: hidden; }
.svc-tile { position: relative; display: flex; flex-direction: column; gap: .55rem; padding: 1.6rem 1.5rem 1.7rem; background: #fff; transition: background .2s; }
.svc-tile .svc-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: #e9f6f8; color: var(--hx-teal-dark); }
.svc-tile .svc-ico svg { width: 24px; height: 24px; }
.svc-tile h3 { margin: .7rem 0 0; font-size: 1.05rem; line-height: 1.3; font-weight: 700; color: var(--hx-navy); }
.svc-tile p { margin: 0; color: var(--hx-muted); font-size: .9rem; line-height: 1.55; }
.svc-tile .svc-go { position: absolute; inset-block-start: 1.4rem; inset-inline-end: 1.4rem; color: #b4c1d3; font-style: normal; transition: color .2s, transform .2s; }
.svc-tile:hover { background: #f6fbfc; }
.svc-tile:hover .svc-go { color: var(--hx-teal-dark); transform: translate(2px, -2px); }
.svc-tile:hover h3 { color: var(--hx-teal-dark); }
[dir="rtl"] .svc-tile .svc-go { transform: scaleX(-1); }
[dir="rtl"] .svc-tile:hover .svc-go { transform: scaleX(-1) translate(2px, -2px); }
.hs-more { margin-top: 1.6rem; display: flex; justify-content: flex-end; }
.hs-more a { font-weight: 750; color: var(--hx-navy); border-bottom: 2px solid var(--hx-teal); padding-bottom: .15rem; }
.hs-more a:hover { color: var(--hx-teal-dark); }

/* ---------- Why NAYA ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.why h2 { margin: 0 0 1.2rem; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 650; }
.why > div:first-child > p { margin: 0 0 2rem; color: var(--hx-muted); line-height: 1.75; max-width: 34rem; }
.why-nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2rem; padding-top: 1.8rem; border-top: 1px solid var(--hx-line); }
.why-nums strong { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; font-weight: 650; letter-spacing: -.03em; color: var(--hx-navy); }
.why-nums span { display: block; margin-top: .45rem; color: var(--hx-muted); font-size: .88rem; }
.why-list { display: flex; flex-direction: column; }
.why-list article { padding: 1.4rem 0; border-bottom: 1px solid var(--hx-line); display: grid; grid-template-columns: 2.4rem 1fr; gap: 0 1rem; }
.why-list article:first-child { padding-top: 0; }
.why-list .tick { grid-row: span 2; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--hx-teal); color: #fff; display: grid; place-items: center; font-size: .8rem; margin-top: .2rem; }
.why-list h3 { margin: 0 0 .35rem; font-size: 1.12rem; font-weight: 700; color: var(--hx-navy); }
.why-list p { margin: 0; color: var(--hx-muted); line-height: 1.65; font-size: .95rem; }
.why-link { margin-top: 1.6rem; display: inline-block; font-weight: 750; color: var(--hx-navy); border-bottom: 2px solid var(--hx-teal); padding-bottom: .15rem; }

/* ---------- Delivery ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.flow::before { content: ''; position: absolute; inset-inline: 0; top: 1.1rem; height: 1px; background: rgba(255,255,255,.22); }
.flow article { position: relative; padding-inline-end: 2rem; }
.flow .dot { position: relative; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--hx-night); border: 1.5px solid var(--hx-teal); color: #7fdde4; font-weight: 800; font-size: .85rem; }
.flow h3 { margin: 1.3rem 0 .5rem; font-size: 1.15rem; font-weight: 700; }
.flow p { margin: 0; color: #aebdd4; line-height: 1.65; font-size: .93rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hx-plates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plate { border-bottom: 1px solid rgba(255,255,255,.12); }
  .plate-verify { grid-column: 1 / -1; justify-content: space-between; }
  .hx-caption { display: none; }
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hs-head, .why { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; gap: 2.2rem 1rem; } .flow::before { display: none; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx::before { background: linear-gradient(0deg, rgba(8,16,48,.92) 0%, rgba(8,16,48,.7) 55%, rgba(8,16,48,.45) 100%); }
  .hx-photo img { object-position: 62% 30%; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .hx-actions .hx-btn { flex: 1 1 100%; }
  .hx-plates { grid-template-columns: 1fr 1fr; }
  .plate { padding: .9rem 1rem; } .plate strong { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .hx-btn, .svc-tile, .svc-tile .svc-go { transition: none; } }

/* RTL: keep LTR number islands pinned to the start (right) edge */
.why-nums strong { display: table; }
