/* =============================================================
   ALAQAAR — SOFT-RELIEF (NEUMORPHIC) SYSTEM FOR THE HOME PAGE (redesign phase 2)
   Ported from the "Soft-relief (neumorphic) system" block of
   docs/redesign/alaqaar-home-reference.html. Tokens (--nm-*, --ink, --muted, --gold*) live
   in site.css :root and flip under html[data-mode="dark"] (header.css). Sections restyled
   here: About, Choose your designer, Services, Guarantee, Our Media, Why ALAQAAR,
   Talk to experts, Testimonials, Branches, Footer. Icons: img/icons-arch.svg (.ci), no bubble.
   ============================================================= */

/* The whole home page sits on the cream relief surface. */
body.has-hero { background: var(--nm-bg); color: var(--ink); }
.has-hero .section-spacer { background: transparent; }

.nm-raised { background: var(--nm-bg); box-shadow: 14px 14px 30px var(--nm-lo), -14px -14px 30px var(--nm-hi); }
.nm-sm { background: var(--nm-bg); box-shadow: 7px 7px 14px var(--nm-lo), -7px -7px 14px var(--nm-hi); }
.nm-well { background: var(--nm-bg); box-shadow: inset 9px 9px 18px var(--nm-lo), inset -9px -9px 18px var(--nm-hi); }

.sec {
  position: relative;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  padding-inline: 16px;
  --heading-pill-color: var(--ink);
}
.sec .section-subtitle { color: var(--muted); }
.wrap { max-width: 1180px; margin: 0 auto; }
.section-heading { margin-bottom: 2.5rem; }

.frame { padding: clamp(10px, 1.4vw, 16px); border-radius: 2rem; }
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 1.4rem; }

/* Architectural line icons: no bubble behind them. */
.ci-wrap { flex: 0 0 auto; display: grid; place-items: center; width: 4.2rem; height: 4.2rem; justify-items: start; color: var(--gold-dark); }
.ci { width: 2.7rem; height: 2.7rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.s-card .ci-wrap, .service-card--full .ci-wrap { width: 3.6rem; height: 3.6rem; }
.s-card .ci, .service-card--full .ci { width: 3.6rem; height: 3.6rem; stroke-width: 1.35; }
html[data-mode="dark"] .ci-wrap { color: var(--gold-light); }

.eyebrow-gold { font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
[dir="rtl"] .eyebrow-gold { letter-spacing: 0; }
.link-gold { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--gold-dark); font-weight: 700; letter-spacing: 0.04em; }
.link-gold .icon { width: 1.1rem; height: 1.1rem; transition: transform 0.2s; }
.link-gold:hover .icon { transform: translateX(4px); }
[dir="rtl"] .link-gold { letter-spacing: 0; }
[dir="rtl"] .link-gold:hover .icon { transform: scaleX(-1) translateX(4px); }
html[data-mode="dark"] .link-gold { color: var(--gold-light); }
.btn-soft {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.95rem 2rem; border-radius: 999px;
  color: var(--ink); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem;
  transition: box-shadow 0.2s, color 0.2s;
}
[dir="rtl"] .btn-soft { letter-spacing: 0; }
.btn-soft:hover { color: var(--gold-dark); box-shadow: inset 5px 5px 10px var(--nm-lo), inset -5px -5px 10px var(--nm-hi); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.display { font: 700 clamp(1.8rem, 1.3rem + 1.8vw, 2.9rem)/1.15 'Jost', var(--font-body); letter-spacing: 0.02em; color: var(--ink); margin: 0; text-wrap: balance; }
[dir="rtl"] .display { font-family: var(--font-body); letter-spacing: 0; }
.display span { color: var(--gold-dark); }
html[data-mode="dark"] .display span { color: var(--gold-light); }
p.body { color: var(--muted); line-height: 1.8; margin: 0 0 1.4rem; max-width: 60ch; }

/* ---------- about ---------- */
.about .frame { aspect-ratio: 9 / 10; }
.about__statement { font: 600 clamp(1.15rem, 1rem + 0.5vw, 1.4rem)/1.5 var(--font-body); color: var(--ink); margin: 0 0 1rem; }
.about__statement b { color: var(--gold-dark); }
.features { list-style: none; margin: 1.8rem 0; padding: 0; display: grid; gap: 1rem; }
.features li { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: 1.4rem; }
.features .ci-wrap { width: 3.2rem; height: 3.2rem; }
.features .ci { width: 2.7rem; height: 2.7rem; }
.features strong { display: block; color: var(--ink); font-size: 1.05rem; }
.features span { color: var(--muted); font-size: 0.92rem; }

/* ---------- choose your designer ---------- */
.designer { border-radius: 2.6rem; padding: clamp(14px, 2vw, 22px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: stretch; }
.designer .frame { min-height: 420px; }
.designer__body { padding: clamp(1rem, 3vw, 2.5rem) clamp(0.5rem, 2vw, 1.5rem); display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.designer__body .heading-pill { margin: 0; }
.designer__body p.body { margin: 0; }
.d-items { display: grid; gap: 0.9rem; width: 100%; }
.d-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 1.3rem; }
.d-item .ci-wrap, .g-card .ci-wrap, .why-item .ci-wrap { width: 3.2rem; height: 3.2rem; }
.d-item .ci, .g-card .ci, .why-item .ci { width: 2.7rem; height: 2.7rem; }
.d-item h3, .why-item h3, .g-card h4 { margin: 0 0 0.25rem; font-size: 1rem; color: var(--ink); }
.d-item p, .why-item p, .g-card p { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ---------- services (scroll-snap row of raised cards) ---------- */
.svc__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 1.8rem) / 3); gap: 1.8rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 1.5rem 1.2rem 2.2rem; margin-inline: -1.2rem; scrollbar-width: none;
}
.svc__track::-webkit-scrollbar { display: none; }
.svc__track:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.s-card {
  position: relative; overflow: hidden; scroll-snap-align: start; border-radius: 2rem; padding: 2rem 1.7rem 1.8rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; min-height: 360px;
}
.s-card h3 { margin: 0; font: 700 1.05rem/1.35 'Jost', var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
[dir="rtl"] .s-card h3 { font-family: var(--font-body); letter-spacing: 0; text-transform: none; }
.s-card h3::after { content: ""; display: block; width: 2.4rem; height: 2px; background: var(--gold); margin-top: 0.7rem; }
.s-card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 0.94rem; flex: 1; }
.s-card .link-gold { position: relative; z-index: 1; }
.s-card__num {
  position: absolute; inset-inline-end: 1.2rem; bottom: 0.4rem; font: 700 5.5rem/1 'Jost', var(--font-body);
  color: transparent; -webkit-text-stroke: 1px rgba(178, 138, 80, 0.35); pointer-events: none;
}
.svc__nav { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 0.5rem; }
.round { width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 0; display: grid; place-items: center; color: var(--ink); cursor: pointer; transition: box-shadow 0.2s, color 0.2s; }
.round:hover { color: var(--gold-dark); }
.round:active { box-shadow: inset 5px 5px 10px var(--nm-lo), inset -5px -5px 10px var(--nm-hi); }
.round .icon { width: 1.2rem; height: 1.2rem; }
.dots { display: flex; gap: 0.6rem; padding: 0.6rem 0.9rem; border-radius: 999px; }
.dots i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--nm-lo); transition: background 0.2s, transform 0.2s; }
.dots i.on { background: var(--gold); transform: scale(1.25); }
.center { text-align: center; margin-top: 2.2rem; }

/* /Services page cards share the icon treatment (no bubble) */
.service-card--full .service-card__icon { background: none; border: 0; box-shadow: none; width: 3.6rem; height: 3.6rem; padding: 0; }

/* ---------- guarantee ---------- */
.g-visual { position: relative; }
.g-visual .frame { aspect-ratio: 4 / 5; }
.g-badge {
  position: absolute; inset-inline-end: -1rem; bottom: 2.2rem; width: 9.5rem; height: 9.5rem; border-radius: 50%;
  display: grid; place-items: center; text-align: center; align-content: center; gap: 0.2rem;
}
.g-badge strong { font: 700 2.1rem/1 'Jost', var(--font-body); color: var(--gold-dark); }
.g-badge span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--ink); max-width: 7rem; }
[dir="rtl"] .g-badge span { letter-spacing: 0; }
html[data-mode="dark"] .g-badge strong { color: var(--gold-light); }
.g-content { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }
.g-content p.body { margin: 0; }
.g-cards { display: grid; gap: 0.9rem; width: 100%; }
.g-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.05rem 1.15rem; border-radius: 1.3rem; }

/* ---------- our media ---------- */
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.2rem); }
.m-card { display: block; border-radius: 2rem; padding: 12px; color: var(--ink); transition: transform 0.25s; }
.m-card:hover { transform: translateY(-4px); }
.m-thumb { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 1.5rem; overflow: hidden; }
.m-thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(27, 35, 43, 0.75), rgba(27, 35, 43, 0) 55%); }
.m-play {
  position: absolute; z-index: 1; left: 50%; top: 45%; translate: -50% -50%; width: 4.2rem; height: 4.2rem; border-radius: 50%;
  display: grid; place-items: center; background: rgba(235, 221, 212, 0.92); color: #93703f; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
.m-play .icon { width: 1.5rem; height: 1.5rem; }
.m-badge { position: absolute; z-index: 1; top: 0.8rem; inset-inline-start: 0.8rem; padding: 0.25rem 0.7rem; border-radius: 999px; background: rgba(235, 221, 212, 0.92); color: #93703f; font-size: 0.72rem; font-weight: 700; }
.m-cap { position: absolute; z-index: 1; inset-inline: 1.1rem; bottom: 1rem; color: #fbf6ee; }
.m-cap b { display: block; font: 700 1.05rem 'Jost', var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; }
.m-cap span { font-size: 0.82rem; opacity: 0.85; }

/* ---------- why ALAQAAR ---------- */
.why .frame { aspect-ratio: 4 / 5; }
.why-list { display: grid; gap: 1.4rem; margin: 1.8rem 0; }
.why-item { display: flex; gap: 1.1rem; align-items: flex-start; }

/* ---------- talk to experts ---------- */
.talk-section { padding-block: clamp(1rem, 3vw, 2rem); }
.talk { border-radius: 999px; padding: 1.4rem 1.6rem; padding-inline-start: 2.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.talk p { margin: 0; font: 700 clamp(1.15rem, 1rem + 0.6vw, 1.55rem) 'Jost', var(--font-body); letter-spacing: 0.03em; color: var(--ink); }
[dir="rtl"] .talk p { font-family: var(--font-body); letter-spacing: 0; }

/* ---------- testimonials ---------- */
.t-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.2rem); }
.t-card { margin: 0; border-radius: 2rem; padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.t-quote { font: 300 5rem/0.7 'Jost', Georgia, serif; color: var(--gold); height: 2.4rem; display: block; }
.t-card p { margin: 0; font-size: 1.02rem; line-height: 1.75; color: var(--ink); flex: 1; }
.t-card footer { display: flex; flex-direction: column; gap: 0.15rem; padding-top: 1rem; border-top: 1px solid rgba(178, 138, 80, 0.35); }
.t-card cite { font-style: normal; font-weight: 700; color: var(--ink); }
.t-card footer span { font-size: 0.85rem; color: var(--gold-dark); font-weight: 600; }
html[data-mode="dark"] .t-card footer span { color: var(--gold-light); }

/* ---------- branches ---------- */
.branches { border-radius: 2.4rem; padding: clamp(14px, 2vw, 22px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.2rem, 3vw, 2.4rem); }
.b-list { list-style: none; margin: 0; padding: clamp(0.8rem, 2vw, 1.6rem); display: grid; gap: 1.6rem; align-content: center; }
.b-list li { display: flex; gap: 1rem; align-items: flex-start; }
.b-pin { flex: 0 0 auto; color: var(--gold); }
.b-pin .icon { width: 1.7rem; height: 1.7rem; stroke-width: 1.5; }
.b-list h3 { margin: 0 0 0.3rem; font-size: 1.05rem; color: var(--ink); }
.b-list p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 0.94rem; }
.b-list .link-gold { margin-top: 0.5rem; font-size: 0.9rem; }
.map { position: relative; min-height: 320px; border-radius: 1.8rem; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- footer: navy, rounded top corners ---------- */
.site-footer {
  background: #232d36; color: rgba(235, 221, 212, 0.8); margin-top: clamp(2rem, 5vw, 4rem);
  border-radius: clamp(1.6rem, 3vw, 2.8rem) clamp(1.6rem, 3vw, 2.8rem) 0 0; padding: clamp(3rem, 6vw, 4.5rem) 16px 0;
}
.f-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.f-brand img { height: 46px; width: auto; display: block; }
.f-brand p { line-height: 1.7; margin: 0.9rem 0 0; max-width: 30ch; color: rgba(235, 221, 212, 0.8); }
.f-grid h4 { margin: 0 0 1rem; color: var(--color-cream); font-size: 1rem; letter-spacing: 0.06em; }
[dir="rtl"] .f-grid h4 { letter-spacing: 0; }
.f-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.f-grid a { color: rgba(235, 221, 212, 0.8); }
.f-grid a:hover { color: var(--gold-light); }
.f-grid ul.f-social { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.f-social a { display: inline-flex; width: auto; height: auto; border: 0; border-radius: 0; background: none; color: var(--gold-light); }
.f-social a:hover { background: none; color: #fff; transform: none; }
.f-social .icon { width: 1.4rem; height: 1.4rem; stroke-width: 1.4; }
.f-bottom { margin-top: 2.5rem; border-top: 1px solid rgba(235, 221, 212, 0.12); padding: 1.3rem 0; text-align: center; font-size: 0.85rem; }
.f-bottom p { margin: 0; color: rgba(235, 221, 212, 0.7); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .split, .designer, .branches { grid-template-columns: 1fr; }
  .svc__track { grid-auto-columns: calc((100% - 1.8rem) / 2); }
  .media-grid, .t-grid { grid-template-columns: 1fr 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .g-badge { inset-inline-end: 0.5rem; }
  .talk { border-radius: 2rem; padding: 1.6rem; justify-content: center; text-align: center; }
}
@media (max-width: 575.98px) {
  .sec { padding-block: 3rem; }
  .svc__track { grid-auto-columns: 86%; }
  .media-grid, .t-grid, .f-grid { grid-template-columns: 1fr; }
  .designer .frame { min-height: 260px; }
  .g-badge { width: 7.5rem; height: 7.5rem; }
  .g-badge strong { font-size: 1.6rem; }
  .section-heading { margin-bottom: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .m-card, .link-gold .icon { transition: none; }
}
