/* Dar Tiraz — public site. Mirrors the original theme: Noto Kufi Arabic, orange #EE772F, dark #212121, beige #F9F6EF. */
:root {
  --orange: #ee772f;
  --orange-d: #d9641e;
  --dark: #212121;
  --dark-2: #2b2b2b;
  --beige: #f9f6ef;
  --white: #fff;
  --text: #5e5e5e;
  --text-alt: #ababab;
  --head: #2d2d2d;
  --radius: 8px;
  --card-radius: 0.5rem;
  --wrap: 1240px;
  --font: "Noto Kufi Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.75; color: var(--text); background: var(--beige); overflow-x: hidden; }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { color: var(--head); line-height: 1.35; margin: 0 0 .6em; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - 48px); }
.center { text-align: center; }
.h1 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 600; }
.h2 { font-size: clamp(20px, 2vw, 24px); font-weight: 600; }
.h3 { font-size: 18px; }
.skip { position: absolute; top: 8px; left: 8px; transform: translateY(-200%); z-index: 999; background: #fff; color: var(--dark); padding: 8px 14px; border-radius: 6px; }
.skip:focus { transform: none; }
.flip { transition: transform .2s; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.flip-rev { transform: scaleX(-1); }
[dir="rtl"] .flip-rev { transform: none; }
.ic { flex: none; }
.hp { position: absolute !important; left: 0; top: 0; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: var(--radius); padding: .8em 1.6em; font-size: 15px; font-weight: 600; line-height: 1.2; transition: background .2s, color .2s, box-shadow .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-d); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--dark); }
.link { color: var(--orange); font-weight: 600; font-size: 14px; border-bottom: 1px solid currentColor; }

/* Header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; background: var(--beige); transition: background .3s, box-shadow .3s; }
.hdr__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.hdr__logo img { height: 50px; width: auto; }
.hdr__logo .logo-light { display: none; }
.hdr__nav { display: flex; align-items: center; gap: 30px; margin-inline: auto; font-size: 15px; font-weight: 500; color: var(--head); }
.hdr__nav a { transition: color .2s; }
.hdr__nav a:hover, .hdr__nav a.on { color: var(--orange); }
.hdr__lang { margin-inline-start: 40px; }
.btn--call { background: var(--orange); color: #fff; font-size: 14px; padding: .8em 1.5em; border-radius: 7px; }
.hdr__burger { display: none; background: none; border: 0; color: inherit; padding: 6px; }
.hdr--transparent:not(.is-scrolled) { background: transparent; }
.hdr--transparent:not(.is-scrolled) .hdr__nav { color: #fff; }
.hdr--transparent:not(.is-scrolled) .hdr__nav a.on { color: var(--orange); }
.hdr--transparent:not(.is-scrolled) .logo-dark { display: none; }
.hdr--transparent:not(.is-scrolled) .logo-light { display: block; }
.hdr--transparent:not(.is-scrolled) .btn--call { background: transparent; box-shadow: inset 0 0 0 2px #fff; }
.hdr--transparent:not(.is-scrolled) .hdr__burger { color: #fff; }
.hdr.is-scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.06); }
body:not(.has-hero) main { padding-top: 76px; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; background: var(--dark); overflow: hidden; color: #fff; text-align: center; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.15) 40%, rgba(0,0,0,.35)); }
.hero__in { position: relative; padding: 120px 24px 80px; }
.hero__eyebrow { font-size: 12px; letter-spacing: .08em; margin-bottom: 1.4em; color: #f1f1f1; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero__title { color: #fff; font-size: clamp(30px, 4vw, 40px); font-weight: 500; margin-bottom: 1.2em; text-shadow: 0 2px 18px rgba(0,0,0,.45); }

/* Hero motion: architect's drawing sheet — tatreez star → key plan → compass → palace elevation */
.hm { position: absolute; inset: 0; overflow: hidden; background: #171615; }
.hm__svg { width: 100%; height: 100%; display: block; }
.hm-line { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.hm-wall { stroke: #eadfcf; stroke-width: 1.35; stroke-opacity: .92; }
.hm-wall--strong { stroke-width: 1.8; }
.hm-detail { stroke: #eadfcf; stroke-width: 1.05; stroke-opacity: .72; }
.hm-fine { stroke: #eadfcf; stroke-width: .8; stroke-opacity: .45; }
.hm-frame { stroke: #eadfcf; stroke-width: 1; stroke-opacity: .22; }
.hm-frame--in { stroke-opacity: .1; }
.hm-mark { stroke: var(--orange); stroke-width: 1.2; stroke-opacity: .8; }
.hm-guide { stroke: #eadfcf; stroke-width: .8; stroke-opacity: .16; stroke-dasharray: 1; }
.hm-compass { stroke: var(--orange); stroke-width: .9; stroke-opacity: .55; }
.hm-dim { stroke: var(--orange); stroke-width: .9; stroke-opacity: .7; }
.hm-map { stroke: #eadfcf; stroke-width: 1; stroke-opacity: .55; }
.hm-thread { stroke: var(--orange); stroke-width: 1.6; }
.hm-thread--long { stroke-width: 1.3; stroke-opacity: .85; }
.hm-stitch { stroke: var(--orange); stroke-width: 2.3; }
.hm-frieze { stroke: var(--orange); stroke-width: 1.3; }
.hm-accent { stroke: var(--orange); stroke-width: 2.6; }
.hm-rib { stroke: #ee772f; stroke-width: 1; }
.hm-orb, .hm-pivot { fill: var(--orange); opacity: 0; }
.hm-glow { opacity: 0; }
.hm-txt { opacity: 0; font-family: var(--font); }
.hm-note { fill: #eadfcf; fill-opacity: .6; font-size: 11px; letter-spacing: .08em; }
.hm-note--dim { fill-opacity: .38; }
.hm-title { fill: #eadfcf; fill-opacity: .85; font-size: 13px; font-weight: 600; letter-spacing: .14em; }
.hm-pinlabel { fill: #eadfcf; font-size: 10px; }
.hm.is-narrow .hm-kp-extra { display: none; }
.hm-pin { opacity: 0; }
.hm-pin circle { fill: var(--orange); }
.hm-pin .hm-pin__pulse { fill: none; stroke: var(--orange); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; }
.hm__grid { opacity: 0; }
.hm__motif-wrap { transform-box: view-box; transform-origin: 0 0; transform: translate(var(--lx0, 0px), var(--ly0, 0px)) scale(var(--ls0, 1)); }
.hm-logo-bar, .hm-logo-arc { vector-effect: none; }
.hm-logo-bar { stroke: #eadfcf; stroke-width: 26; }
.hm-logo-arc { stroke: var(--orange); stroke-width: 30; stroke-linecap: butt; }
.hm__phrases { position: absolute; top: 132px; inset-inline-end: max(64px, calc((100% - var(--wrap)) / 2)); text-align: end; pointer-events: none; }
.hm__phrase { position: absolute; inset-inline-end: 0; top: 0; margin: 0; white-space: nowrap; color: #eadfcf; font-size: clamp(14px, 1.35vw, 19px); font-weight: 300; letter-spacing: .04em; opacity: 0; }
.hm__phrase::after { content: ""; display: block; width: 44px; height: 1px; background: var(--orange); margin-top: 10px; margin-inline-start: auto; }
.is-en .hm__phrase { text-transform: uppercase; letter-spacing: .16em; font-size: clamp(12px, 1.05vw, 15px); }

.hm.play .hm__grid { animation: hmIn 1.6s ease .1s forwards; }
.hm.play .hm-line { animation: hmDraw var(--t, 1s) cubic-bezier(.5, 0, .2, 1) var(--d, 0s) forwards; }
.hm.play .hm-guide { animation: hmDraw var(--t, 1s) cubic-bezier(.5, 0, .2, 1) var(--d, 0s) forwards, hmDim 2s ease 12.5s forwards; }
.hm.play .hm-compass { animation: hmDraw var(--t, 1s) cubic-bezier(.5, 0, .2, 1) var(--d, 0s) forwards, hmDim 2s ease 13s forwards; }
.hm.play .hm-txt, .hm.play .hm-orb, .hm.play .hm-pivot, .hm.play .hm-pin { animation: hmIn .6s ease var(--d) forwards; }
.hm.play .hm-glow { animation: hmIn .9s ease var(--d) forwards, hmFlicker 3.2s ease-in-out calc(var(--d) + 1s) infinite; }
.hm.play .hm-pin__pulse { animation: hmPulse 1.8s ease-out calc(var(--d) + .2s) 3; }
.hm.play .hm__phrase { animation: hmIn .9s ease var(--d) forwards, hmOut .7s ease var(--o) forwards; }
.hm.play .hm__motif-wrap { animation: hmLogoFly 1.7s cubic-bezier(.7, 0, .25, 1) 3.9s forwards; }
.hm.play .hm__ribbon { animation: hmWave 12s ease-in-out infinite alternate; }
.hm.ending .hm__svg > g:not(.hm__ribbon):not(.hm__grid), .hm.ending .hm__phrase { opacity: 0 !important; transition: opacity 1.3s ease; }
@keyframes hmDraw { to { stroke-dashoffset: 0; } }
@keyframes hmIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes hmOut { to { opacity: 0; } }
@keyframes hmDim { to { stroke-opacity: .07; } }
@keyframes hmPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4.5); opacity: 0; } }
@keyframes hmFlicker { 0%, 100% { opacity: 1; } 45% { opacity: .72; } 60% { opacity: .95; } }
@keyframes hmLogoFly { 0% { transform: translate(var(--lx0), var(--ly0)) scale(var(--ls0)); } 100% { transform: translate(var(--lx1), var(--ly1)) scale(var(--ls1)); } }
@keyframes hmWave { 0% { transform: translateY(0) scaleY(1); } 100% { transform: translateY(-16px) scaleY(1.05); } }
.hm.static .hm-line { stroke-dashoffset: 0; animation: none; }
.hm.static .hm__grid, .hm.static .hm-txt, .hm.static .hm-orb, .hm.static .hm-glow, .hm.static .hm-pin, .hm.static .hm__phrase:last-child { opacity: 1; }
.hm.static .hm__motif-wrap { transform: translate(var(--lx1), var(--ly1)) scale(var(--ls1)); }
.hero--motion .hero__shade { background: radial-gradient(ellipse 30% 22% at 50% 30%, rgba(23,22,21,.85), rgba(23,22,21,0) 100%); }
.hero--motion .hero__in { padding-bottom: 38vh; }
.hm-green { stroke: #a9bb93; stroke-width: 1.1; stroke-opacity: .75; }
.hero--motion .hero__title { text-shadow: 0 2px 24px rgba(0,0,0,.6); }
@media (max-width: 900px) {
  .hm__phrases { top: 96px; inset-inline-end: 20px; }
  .hm__phrase { white-space: normal; width: 64vw; }
  .hero--motion .hero__shade { background: radial-gradient(ellipse 70% 22% at 50% 44%, rgba(23,22,21,.92), rgba(23,22,21,0) 100%); }
}
/* Phones (portrait): the whole palace sits in the lower part of the hero, on a drawing-sheet grid */
.hm.is-narrow { background-color: #171615;
  background-image: linear-gradient(rgba(234,223,207,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(234,223,207,.05) 1px, transparent 1px),
                    linear-gradient(rgba(234,223,207,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(234,223,207,.025) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px; }
.hm.is-narrow .hm__svg { position: absolute; left: 0; right: 0; bottom: 92px; height: 46%; }
.hm.is-narrow .hm__svg > rect { display: none; }
.hm.is-narrow::after { content: ""; position: absolute; left: 12px; right: 12px; top: 84px; bottom: 12px; border: 1px solid rgba(234,223,207,.12); pointer-events: none; }
@media (max-width: 900px) and (orientation: portrait) { .hero--motion .hero__in { padding-bottom: 42vh; } }

/* Design menu — expanding service panels (inspired by madbrick, in Dar Tiraz colours) */
.dmenu { background: var(--beige); padding: 96px 0 84px; overflow: hidden; }
.dmenu__head { position: relative; margin-bottom: 26px; }
.dmenu__ghost { position: absolute; inset-inline-start: -6px; bottom: -.12em; font-size: clamp(64px, 10vw, 150px); font-weight: 800; line-height: 1; color: #2d2d2d; opacity: .05; white-space: nowrap; pointer-events: none; }
.is-en .dmenu__ghost { text-transform: uppercase; letter-spacing: .02em; }
.dmenu__title { position: relative; margin: 0; font-size: clamp(28px, 3.2vw, 46px); font-weight: 300; color: var(--head); letter-spacing: .01em; }
.is-en .dmenu__title { text-transform: uppercase; }
.dmenu__title::after { content: ""; display: block; width: 56px; height: 2px; background: var(--orange); margin-top: 14px; }
.dmenu__panels { display: flex; gap: 14px; height: 400px; }
.dpanel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 6px; background: #2a2522; cursor: pointer; color: #fff; outline: none;
  transition: flex-grow .75s cubic-bezier(.6, .05, .25, 1), box-shadow .4s; }
.dpanel.is-active { flex-grow: 3.6; cursor: default; box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); }
.dpanel:focus-visible { box-shadow: 0 0 0 3px var(--orange); }
.dpanel__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55) brightness(.62); transform: scale(1.02); transition: transform 1.4s ease, filter .8s ease; }
.dpanel.is-active .dpanel__bg { transform: scale(1.08); filter: grayscale(.2) brightness(.5); }
.dpanel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,26,25,.55), rgba(27,26,25,.88)); transition: background .6s; }
.dpanel.is-active .dpanel__shade { background: linear-gradient(180deg, rgba(58,40,26,.55) 0%, rgba(23,22,21,.92) 85%); }
.dpanel:not(.is-active):hover .dpanel__shade { background: linear-gradient(180deg, rgba(58,40,26,.5), rgba(27,26,25,.85)); }
.dpanel__num { position: absolute; top: 20px; inset-inline-start: 22px; z-index: 2; font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.dpanel__icon { position: absolute; z-index: 2; top: 76px; left: 50%; transform: translateX(-50%); width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--orange); display: grid; place-items: center; color: #eadfcf; transition: opacity .35s, transform .5s; }
.dpanel__vtitle { position: absolute; z-index: 2; bottom: 24px; left: 50%; margin: 0; color: #fff; font-size: 17px; font-weight: 500; white-space: nowrap; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); transition: opacity .35s; }
.is-ar .dpanel__vtitle { transform: translateX(-50%); }
.dpanel.is-active .dpanel__icon, .dpanel.is-active .dpanel__vtitle { opacity: 0; transform: translateX(-50%) scale(.85); pointer-events: none; }
.is-ar .dpanel.is-active .dpanel__vtitle { transform: translateX(-50%); }
.dpanel__open { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; padding: 18px 26px 24px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
.dpanel.is-active .dpanel__open { opacity: 1; visibility: visible; transition: opacity .5s ease .35s, visibility 0s; }
.dpanel__title { margin: 0 0 6px; padding-inline-start: 46px; color: #fff; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; line-height: 1.35; }
.svc-art { flex: 1; min-height: 0; width: 100%; max-width: 300px; margin: 4px auto; }
.svc-art path { fill: none; stroke: #eadfcf; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.svc-art path:first-child { stroke: var(--orange); }
.dpanel.is-active .svc-art path { animation: hmDraw 1.1s cubic-bezier(.5, 0, .2, 1) calc(.45s + var(--i) * .18s) forwards; }
.dpanel__open p { margin: 0 0 12px; max-width: 460px; font-size: 14px; line-height: 1.75; color: #e3d9cb; }
.dpanel__link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-size: 14px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.dpanel__link:hover { color: #ffb47e; }
@media (max-width: 900px) {
  .dmenu { padding: 72px 0 60px; }
  .dmenu__panels { flex-direction: column; height: auto; gap: 10px; }
  .dpanel { flex: none; height: 76px; transition: height .6s cubic-bezier(.6, .05, .25, 1); }
  .dpanel.is-active { height: 400px; }
  .dpanel__icon { display: none; }
  .dpanel__num { top: 26px; }
  .dpanel__vtitle, .is-ar .dpanel__vtitle { writing-mode: horizontal-tb; transform: none; top: 24px; bottom: auto; left: auto; inset-inline-start: 68px; font-size: 16px; }
  .dpanel.is-active .dpanel__vtitle { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .svc-art path { stroke-dashoffset: 0; } }

/* Services strip */
.services { background: var(--dark); color: var(--text-alt); padding: 56px 0 72px; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.svc__ic { color: #fff; margin-bottom: 10px; }
.svc__t { color: #fff; font-size: 20px; font-weight: 500; margin-bottom: .4em; }
.svc p { font-size: 15px; }

/* About */
.about { padding: 96px 0 80px; background: var(--beige); }
.about__card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.about__txt { background: #fff; border-radius: 12px; padding: 48px; margin-block: 0; align-self: start; box-shadow: 0 2px 10px rgba(0,0,0,.03); }
.about__txt p { color: var(--text); }
.about__img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; min-height: 320px; margin-inline-start: 24px; width: calc(100% - 24px); }
.about__strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 40px; }
.about__strip img { width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; border-radius: 12px; transition: transform .4s; }
.about__strip img:hover { transform: scale(1.03); }

/* Sections */
.sec { padding: 96px 0; }
.dark { background: var(--dark); color: var(--text-alt); }
.dark .h1, .dark h2, .dark h3 { color: #fff; }
.beige { background: var(--beige); }
.white { background: #fff; }
.sec__head { text-align: center; margin-bottom: 48px; }
.sec__head p { font-size: 15px; }
.dark .sec__head p { color: #d4d4d4; }

/* Project cards + carousel */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 32px) / 3); gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__btn { position: absolute; top: 40%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--dark); display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.25); transition: background .2s, color .2s, opacity .2s; }
.carousel__btn:hover { background: var(--orange); color: #fff; }
.carousel__btn.prev { inset-inline-start: -22px; }
.carousel__btn.next { inset-inline-end: -22px; }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }
.carousel + .center, .pgrid + .center { margin-top: 48px; }
.center .btn { margin-top: 48px; }
.pcard, .bcard { background: #fff; border-radius: var(--card-radius); overflow: hidden; display: flex; flex-direction: column; }
.pcard__img, .bcard__img { display: block; overflow: hidden; aspect-ratio: 16 / 10.5; }
.pcard__img img, .bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pcard:hover .pcard__img img, .bcard:hover .bcard__img img { transform: scale(1.05); }
.pcard__body { padding: 20px 6% 36px; color: var(--text); font-size: 15px; }
.pcard__t { font-size: 19px; font-weight: 600; margin-bottom: .5em; color: var(--head) !important; }
.pcard__t a:hover { color: var(--orange); }
.pcard__body p { margin-bottom: .7em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bcard__body { padding: 24px 7% 28px; text-align: center; color: var(--text); font-size: 15px; }
.bcard__t { font-size: 17px; color: var(--head) !important; font-weight: 600; }
.bcard__t a:hover { color: var(--orange); }
.bcard__more { color: var(--orange); font-weight: 600; font-size: 14px; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* Team */
.team-card { background: #fff; border-radius: 12px; padding: 56px 40px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; align-items: start; }
.member { margin: 0; text-align: center; }
.member__ph { margin: 0 auto 16px; width: 150px; overflow: hidden; }
.member--rect .member__ph { width: 150px; aspect-ratio: 3 / 4; border-radius: 4px; }
.member--round .member__ph { width: 150px; aspect-ratio: 1; border-radius: 50%; }
.member__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.member:hover .member__ph img { transform: scale(1.04); }
.member:nth-child(3n+2) { margin-top: 60px; }
.member__n { font-size: 15px; font-weight: 600; margin-bottom: .3em; }
.member p { font-size: 13px; max-width: 240px; margin-inline: auto; }

/* CTA */
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta__t { font-size: clamp(22px, 2.3vw, 30px); }
.cta__stats { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; font-size: 14px; }
.cta__stats li { display: flex; gap: 10px; align-items: center; }
.cta__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta__img { width: 100%; object-fit: cover; border-radius: 12px; aspect-ratio: 16 / 10; }
.cta__img--3 { grid-column: 1 / -1; aspect-ratio: 16 / 8; }

/* CTA strip (compact, animated counters) */
.cta-strip { background: #191817; color: var(--text-alt); padding: 44px 0; border-top: 1px solid #2f2a25; border-bottom: 3px solid var(--orange); }
.cta-strip__in { display: flex; align-items: center; gap: 40px; }
.cta-strip__txt { flex: 1 1 300px; min-width: 0; }
.cta-strip__t { color: #fff; font-size: clamp(20px, 1.9vw, 26px); font-weight: 600; margin: 0 0 6px; }
.cta-strip__txt p { margin: 0; font-size: 15px; color: #c9c0b3; }
.cta-strip__stats { display: flex; margin: 0; }
.cta-stat { text-align: center; padding: 0 28px; }
.cta-stat + .cta-stat { border-inline-start: 1px solid #3a3a3a; }
.cta-stat__n { color: var(--orange); font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.cta-stat dd { margin: 6px 0 0; font-size: 13px; color: #d7cec1; white-space: nowrap; }
.cta-strip__btn { flex: none; white-space: nowrap; }
@media (max-width: 1100px) { .cta-strip__in { flex-wrap: wrap; gap: 24px; } .cta-strip__txt { flex-basis: 100%; text-align: center; } .cta-strip__stats { flex: 1; justify-content: center; } }
@media (max-width: 600px) {
  .cta-strip { padding: 36px 0; }
  .cta-strip__stats { width: 100%; }
  .cta-stat { flex: 1; padding: 0 8px; }
  .cta-stat dd { white-space: normal; }
  .cta-strip__btn { width: 100%; justify-content: center; }
}

/* Testimonials */
.tgrid { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 8px; }
.tgrid::-webkit-scrollbar { display: none; }
.tgrid .tcard { flex: 0 0 calc((100% - 72px) / 4); scroll-snap-align: start; background: #fff; }
.tcard { border: 1px solid #ececec; border-radius: 12px; padding: 22px; font-size: 14px; }
.tcard__h { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; min-height: 48px; }
.tcard__h img, .tcard__av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.tcard__svg-av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.tcard__svg-av svg { width: 100%; height: 100%; display: block; }
.tcard__av { display: grid; place-items: center; background: #f3e4d8; color: var(--orange-d); font-weight: 600; }
.tcard__h strong { display: block; color: var(--head); font-size: 14px; }
.tcard__h small { color: var(--text); font-size: 12px; }
.stars { display: flex; gap: 2px; color: var(--orange); margin-bottom: 10px; }

/* Presence (new) */
.presence__head { text-align: center; margin-bottom: 28px; }
.eyebrow { color: var(--orange); font-size: 14px; margin-bottom: 6px; }
.presence__tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 28px; }
.ptab { background: transparent; color: #ccc; border: 1px solid #555; border-radius: var(--radius); padding: .5em 1.4em; font-size: 15px; transition: .2s; }
.ptab.on, .ptab:hover { color: var(--orange); border-color: var(--orange); }
.presence__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.presence__map .land { fill: #2c2c2c; stroke: #555; stroke-width: 1; transition: fill .4s, stroke .4s; }
.presence__map .land.on { fill: #3a2a1e; stroke: var(--orange); }
.presence__map .route { fill: none; stroke: var(--orange); stroke-width: 1.6; stroke-dasharray: 5 6; animation: dash 1.2s linear infinite; opacity: .85; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.presence__map .pin { cursor: pointer; outline: none; }
.pin__dot { fill: var(--orange); }
.pin__pulse { fill: var(--orange); opacity: .25; transform-box: fill-box; transform-origin: center; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(1.8); opacity: 0; } }
.presence__map text { fill: #eee; font-size: 16px; font-family: var(--font); }
.pin:focus-visible .pin__dot { stroke: #fff; stroke-width: 3; }
.bcardx { border: 1px solid #444; border-radius: 12px; padding: 24px; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.bcardx h3 { font-size: 19px; color: #fff; }
.row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #ccc; margin: 0 0 10px; }
.row .ic { color: var(--orange); margin-top: 3px; }
.beige .row, .cbox .row { color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.chip { border: 1px solid #555; border-radius: 6px; padding: 2px 10px; font-size: 12px; color: #bbb; transition: .2s; }
.chip:hover { color: var(--orange); border-color: var(--orange); }
.bcardx__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.obtn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--orange); color: var(--orange); border-radius: var(--radius); padding: .45em 1em; font-size: 13px; transition: .2s; }
.obtn:hover { background: var(--orange); color: #fff; }

/* Inner pages */
.phead { background: var(--dark); color: #d4d4d4; padding: 150px 0 64px; text-align: center; }
.phead .h1 { color: #fff; }
.phead--404 { padding: 200px 0 160px; }
.crumbs { display: flex; justify-content: center; gap: 8px; font-size: 13px; color: #aaa; margin-bottom: 12px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--orange); }
body:not(.has-hero) main .phead { margin-top: -76px; }
.filters { display: grid; gap: 12px; justify-items: center; margin-bottom: 36px; }
.filters__group { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.fbtn { background: #fff; border: 1px solid #e3ddd0; color: var(--head); border-radius: 30px; padding: .35em 1.2em; font-size: 14px; transition: .2s; }
.fbtn.on, .fbtn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.empty { text-align: center; margin-top: 24px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery__item--lead { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery:has(.gallery__item:only-child) { grid-template-columns: 1fr; }
.gallery:has(.gallery__item:only-child) .gallery__item--lead { grid-column: auto; aspect-ratio: 16 / 9; }
.pmeta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 28px 0; font-size: 14px; }
.pmeta strong { color: var(--head); }
.prose { color: var(--text); font-size: 16px; }
.prose h2, .prose h3 { margin-top: 1.5em; }
.prose img { border-radius: 12px; height: auto; margin: 1.5em 0; }
.prose a { color: var(--orange); text-decoration: underline; }
.lead-txt { font-size: 17px; }
.post__cover { width: 100%; border-radius: 12px; margin-bottom: 32px; aspect-ratio: 16 / 9; object-fit: cover; }
.pager { margin-top: 40px; }
.pg { display: flex; justify-content: center; gap: 8px; }
.pg a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #555; color: #ccc; }
.pg a.on, .pg a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.contact__info { display: grid; gap: 24px; }
.cbox { background: #fff; border-radius: 12px; padding: 24px; }
.cmap { width: 100%; height: 220px; border: 0; border-radius: 10px; margin-top: 10px; }
.cform { background: #fff; border-radius: 12px; padding: 32px; display: grid; gap: 16px; position: sticky; top: 100px; }
.cform label { display: grid; gap: 6px; font-size: 14px; color: var(--head); font-weight: 500; }
.cform input, .cform textarea, .lead-form input, .lead-form select { width: 100%; font: inherit; font-size: 15px; padding: .7em .9em; border: 1px solid #e3ddd0; border-radius: var(--radius); background: #fdfcf9; color: var(--head); }
.cform input:focus, .cform textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: transparent; }
.ok { background: #e8f5e9; color: #2e7d32; padding: 10px 14px; border-radius: 8px; }
.err { background: #fdecea; color: #c62828; padding: 10px 14px; border-radius: 8px; }

/* Footer */
.ftr { background: var(--dark); color: var(--text-alt); padding: 72px 0 0; font-size: 14px; }
.ftr__grid { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; gap: 40px; padding-bottom: 48px; }
.ftr__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; color: #fff; font-size: 22px; font-weight: 600; }
.ftr__brand img { height: 46px; width: auto; }
.ftr__h { color: #fff; font-size: 22px; font-weight: 600; margin-bottom: 18px; }
.ftr__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ftr__list li { display: flex; gap: 12px; align-items: flex-start; color: #fff; }
.ftr__list .ic { color: var(--orange); margin-top: 3px; }
.ftr__list li.ftr__phones { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 6px; }
.ftr__phone { display: flex; align-items: center; gap: 10px; color: #fff; white-space: nowrap; }
.ftr__flag { flex: none; width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.ftr__phone-t { display: flex; flex-direction: column; line-height: 1.35; }
.ftr__phone-t small { font-size: 11.5px; color: var(--text-alt); }
.ftr__phone-t bdi { font-weight: 600; letter-spacing: .02em; font-size: 14px; }
.ftr__list a:hover, .ftr__links a:hover, .ftr__social a:hover, .ftr__email:hover { color: var(--orange); }
.ftr__links { display: flex; flex-wrap: wrap; gap: 6px 16px; color: #fff; }
.ftr__links a.on { color: var(--orange); }
.ftr__social-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 20px; }
.ftr__social { display: flex; gap: 14px; color: #fff; }
.ftr__email { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; transition: color .2s; }
.ftr__email .ic { color: var(--orange); }
.ftr__copy { border-top: 1px solid #333; text-align: center; padding: 22px 16px; font-size: 13px; }

/* Floating buttons */
.totop { position: fixed; bottom: 96px; inset-inline-end: 24px; z-index: 40; width: 44px; height: 44px; border-radius: 8px; border: 0; background: var(--orange); color: #fff; display: grid; place-items: center; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .3s; }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float { position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(37,211,102,.35); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }

/* Assistant */
.asst { position: fixed; bottom: 24px; z-index: 60; }
.asst--right { right: 24px; }
.asst--left { left: 24px; }
[dir="rtl"] .asst--right { right: auto; left: 24px; }
.asst__fab { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(238,119,47,.45); position: relative; transition: transform .2s; }
.asst__fab:hover { transform: scale(1.06); }
.asst__fab .ic { grid-area: 1 / 1; transition: opacity .2s, transform .2s; }
.asst__i-close { opacity: 0; transform: rotate(-90deg); }
.asst.open .asst__i-open { opacity: 0; transform: rotate(90deg); }
.asst.open .asst__i-close { opacity: 1; transform: none; }
.asst__dot { position: absolute; top: 4px; inset-inline-end: 4px; width: 12px; height: 12px; border-radius: 50%; background: #3ddc84; border: 2px solid #fff; }
.asst.open .asst__dot { display: none; }
.asst__panel { position: absolute; bottom: 76px; right: 0; width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100vh - 190px)); background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.25); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: pop .25s ease; }
.asst--left .asst__panel, [dir="rtl"] .asst--right .asst__panel { right: auto; left: 0; transform-origin: bottom left; }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(10px); } }
.asst__head { display: flex; align-items: center; gap: 12px; background: var(--dark); color: #fff; padding: 14px 16px; }
.asst__head img { height: 30px; width: auto; }
.asst__head strong { display: block; font-size: 14px; font-weight: 600; }
.asst__head span { font-size: 12px; color: #bbb; display: flex; align-items: center; gap: 6px; }
.asst__live { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; display: inline-block; }
.asst__x { margin-inline-start: auto; background: none; border: 0; color: #fff; padding: 4px; }
.asst__body { flex: 1; overflow-y: auto; padding: 16px; background: var(--beige); display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.7; word-wrap: break-word; }
.msg--bot { background: #fff; color: var(--head); border-start-start-radius: 4px; align-self: flex-start; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.msg--me { background: var(--orange); color: #fff; border-start-end-radius: 4px; align-self: flex-end; }
.msg a { color: var(--orange-d); font-weight: 600; }
.msg--typing span { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: #bbb; animation: blink 1s infinite; }
.msg--typing span:nth-child(2) { animation-delay: .15s; } .msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; } }
.msg-btns { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; max-width: 95%; }
.msg-btns a, .msg-btns button, .asst__quick button { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--orange); background: #fff; color: var(--orange-d); border-radius: 20px; padding: .3em .9em; font-size: 13px; transition: .2s; }
.msg-btns a:hover, .msg-btns button:hover, .asst__quick button:hover { background: var(--orange); color: #fff; }
.msg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-self: stretch; }
.msg-cards a { background: #fff; border-radius: 8px; overflow: hidden; font-size: 11px; color: var(--head); line-height: 1.4; }
.msg-cards img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.msg-cards span { display: block; padding: 4px 6px; }
.asst__quick { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px; border-top: 1px solid #eee; scrollbar-width: thin; }
.asst__quick button { white-space: nowrap; flex: none; }
.asst__form { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid #eee; }
.asst__form input { flex: 1; min-width: 0; font: inherit; font-size: 14px; border: 1px solid #e3ddd0; border-radius: 22px; padding: .6em 1em; background: #fdfcf9; }
.asst__form input:focus { outline: 2px solid var(--orange); border-color: transparent; }
.asst__form button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--orange); color: #fff; display: grid; place-items: center; flex: none; }
[dir="rtl"] .asst__form button .ic { transform: scaleX(-1); }
.lead-form { display: grid; gap: 8px; background: #fff; padding: 12px; border-radius: 12px; align-self: stretch; }
.lead-form input, .lead-form select { font-size: 14px; padding: .55em .8em; }
.lead-err { color: #c62828; }

/* Lightbox */
.lb { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 100; display: grid; place-items: center; padding: 24px; }
.lb img { max-height: 90vh; width: auto; border-radius: 8px; }
.lb button { position: absolute; background: none; border: 0; color: #fff; font-size: 34px; padding: 12px; }
.lb .lb-x { top: 10px; inset-inline-end: 14px; } .lb .lb-p { inset-inline-start: 10px; } .lb .lb-n { inset-inline-end: 10px; }

/* Responsive */
@media (max-width: 1100px) {
  .tgrid .tcard { flex-basis: calc((100% - 48px) / 3); }
  .hdr__nav { gap: 20px; } .hdr__lang { margin-inline-start: 12px; }
}
@media (max-width: 900px) {
  .hdr__burger { display: block; margin-inline-start: auto; }
  .hdr .btn--call { display: none; }
  .hdr__nav { position: fixed; inset: 76px 0 auto; background: var(--dark); color: #fff !important; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; transform: translateY(-120%); transition: transform .3s; margin: 0; }
  .hdr__nav a { padding: 12px 0; border-bottom: 1px solid #333; color: #fff; }
  .hdr__nav.open { transform: none; }
  .hdr__lang { margin: 0; }
  .services__grid, .pgrid, .gallery { grid-template-columns: 1fr 1fr; }
  .about__card, .cta, .presence__grid, .contact, .ftr__grid { grid-template-columns: 1fr; }
  .about__card { gap: 18px; }
  .about__img { margin: 0; width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .about__strip { display: flex; gap: 14px; margin-top: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -24px; padding: 2px 24px 6px; scroll-padding-inline: 24px; }
  .about__strip::-webkit-scrollbar { display: none; }
  .about__strip img { flex: 0 0 40%; aspect-ratio: 4 / 4.6; scroll-snap-align: start; }
  .carousel__track { grid-auto-columns: calc((100% - 24px) / 2); gap: 24px; }
  .carousel__btn { display: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .member:nth-child(3n+2) { margin-top: 0; }
  .cform { position: static; }
  .sec { padding: 72px 0; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .services__grid, .pgrid, .gallery, .tgrid, .team-grid { grid-template-columns: 1fr; }
  .gallery__item--lead { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .about__txt, .team-card { padding: 28px 20px; }
  .about__strip { gap: 12px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .about__strip img { flex-basis: 44%; }
  .carousel__track { grid-auto-columns: 85%; gap: 16px; }
  .msg-cards { grid-template-columns: repeat(3, 1fr); }
  .asst { bottom: 16px; } .asst--right { right: 16px; } [dir="rtl"] .asst--right { left: 16px; }
  .asst__panel { height: min(560px, calc(100vh - 110px)); }
  .wa-float { width: 50px; height: 50px; bottom: 16px; inset-inline-start: 16px; }

}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Carousel navigation row (dots everywhere; arrows on phones/tablets) */
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.carousel__nav + .center .btn { margin-top: 28px; }
.carousel__dots { display: flex; gap: 7px; }
.carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 5px; background: rgba(234,223,207,.3); transition: width .3s, background .3s; position: relative; }
.carousel__dots button::after { content: ""; position: absolute; inset: -10px -4px; }
.carousel__dots button.on { width: 24px; background: var(--orange); }
.beige .carousel__dots button, .white .carousel__dots button { background: #d9cfc0; }
.cnav-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(234,223,207,.35); background: transparent; color: #fff; place-items: center; transition: background .2s, border-color .2s, opacity .2s; }
.cnav-btn:hover:not([disabled]) { background: var(--orange); border-color: var(--orange); }
.cnav-btn[disabled] { opacity: .3; }
@media (max-width: 900px) {
  .cnav-btn { display: grid; }
  .carousel__track { margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; }
}
@media (max-width: 600px) {
  .carousel__track { grid-auto-columns: 100%; gap: 16px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; align-items: stretch; }
  .carousel .pcard__body, .carousel .bcard__body { flex: 1; display: flex; flex-direction: column; }
  .carousel .pcard__body .link { margin-top: auto; align-self: flex-start; }
  .carousel .bcard__body .bcard__more { margin-top: auto; }
  .carousel .pcard__t, .carousel .bcard__t { min-height: 2.7em; }
  .carousel .pcard__img, .carousel .bcard__img { aspect-ratio: 4 / 3; }
  .carousel .pcard__body { padding: 16px 18px 20px; }
  .carousel .pcard__t, .carousel .bcard__t { font-size: 17px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .carousel .pcard__body p, .carousel .bcard__body p { -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: .6em; }
  .carousel .bcard__body { padding: 18px 16px 20px; }
  .dark .sec__head, .sec__head { margin-bottom: 28px; }
}

/* Team — option 1: leadership row, then designers */
.leads-dots { display: flex; justify-content: center; gap: 6px; margin: 14px 0 4px; }
.leads-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 4px; background: #d9d0c2; transition: width .3s, background .3s; cursor: pointer; }
.leads-dots button.on { width: 22px; background: var(--orange); }
.greview { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 32px; padding: 18px 22px; border: 1px solid #ececec; border-radius: 14px; background: #fbf8f3; }
.greview__score { display: flex; align-items: center; gap: 10px; color: var(--head); }
.greview__score b { font-size: 26px; line-height: 1; }
.greview__score small { display: block; font-size: 12.5px; color: var(--text); }
.greview .stars { margin: 0; }
.greview__btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--head); border: 1.5px solid var(--orange); border-radius: 30px; padding: .6em 1.3em; font-weight: 600; font-size: 14px; text-decoration: none; transition: background .2s, color .2s; }
.greview__btn:hover { background: var(--orange); color: #fff; }
.team-leads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 920px; margin-inline: auto; }
.lead-card { margin: 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.lead-card__badge { display: inline-block; font-size: 12px; font-weight: 600; color: #8a3d10; background: #fbe3d3; border-radius: 6px; padding: 3px 12px; margin-bottom: 12px; }
.lead-card__ph { width: 100%; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #efe9de; margin-bottom: 16px; }
.lead-card__ph img, .tm-card__ph img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s ease; }
.lead-card:hover .lead-card__ph img, .tm-card:hover .tm-card__ph img { transform: scale(1.04); }
.team-members { display: flex; justify-content: center; gap: 56px; margin-top: 48px; padding-top: 40px; border-top: 1px solid #eee7da; }
.tm-card { margin: 0; text-align: center; width: 220px; }
.team-offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; padding-top: 40px; border-top: 1px solid #eee7da; }
.office-card { background: var(--beige); border: 1px solid #eee7da; border-radius: 12px; padding: 20px 20px 24px; }
.office-card__tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #8a3d10; background: #fbe3d3; border-radius: 6px; padding: 4px 12px; margin-bottom: 20px; }
.office-card { min-width: 0; display: flex; flex-direction: column; }
.office-card > .office-card__body { flex: 1 1 auto; }
.office-card__body > .office-card__people { align-items: stretch; }
.office-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.office-card__head .office-card__tag { margin: 0; }
.office-card__count { font-size: 12px; color: var(--text); }
.office-card__nav { margin-inline-start: auto; display: flex; gap: 6px; }
.office-card:not(.is-scrollable) .office-card__nav, .office-card:not(.is-scrollable) .office-card__dots { display: none; }
.sbtn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e3ddd0; background: #fff; color: var(--head); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.sbtn:hover:not([disabled]) { background: var(--orange); border-color: var(--orange); color: #fff; }
.sbtn[disabled] { opacity: .35; cursor: default; }
.office-card__people { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; justify-content: center; }
.office-card.is-scrollable .office-card__people { justify-content: flex-start; }
.office-card__people::-webkit-scrollbar { display: none; }
.office-card .tm-card { flex: 0 0 210px; width: 210px; min-width: 0; scroll-snap-align: start; background: #fff; border-radius: 12px; padding: 18px 10px 14px; }
.office-card__dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.office-card__dots span { width: 7px; height: 7px; border-radius: 4px; background: #ddd3c3; transition: width .25s, background .25s; }
.office-card__dots span.on { width: 20px; background: var(--orange); }
.tm-card__ph { width: 140px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #efe9de; margin: 0 auto 14px; }
.member__n { font-size: 16px; font-weight: 600; margin-bottom: .25em; }
.member__r { font-size: 13px; line-height: 1.6; margin: 0 auto; max-width: 260px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.2em; }
.member__more { margin-top: 8px; background: none; border: 0; padding: 6px 4px; font-size: 13px; font-weight: 600; color: var(--orange-text); border-bottom: 1px solid currentColor; min-height: 32px; }
.bio { border: 0; border-radius: 16px; padding: 28px; max-width: 520px; width: calc(100% - 32px); display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; box-shadow: 0 20px 60px rgba(0,0,0,.25); color: var(--text); }
.bio:not([open]) { display: none; }
.bio::backdrop { background: rgba(0,0,0,.55); }
.bio img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center top; }
.bio h3 { font-size: 18px; margin-bottom: .4em; }
.bio p { margin: 0; font-size: 15px; }
.bio__x { position: absolute; top: 10px; inset-inline-end: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f3efe7; display: grid; place-items: center; color: var(--head); }
@media (max-width: 900px) {
  .team-leads { gap: 16px; }
  .team-members { gap: 24px; }
}
@media (max-width: 600px) {
  .team-leads { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: 0; padding: 2px 0 6px; scroll-padding-inline: 0; max-width: none; }
  .team-leads::-webkit-scrollbar { display: none; }
  .team-leads .lead-card { flex: 0 0 calc((100% - 14px) / 2); scroll-snap-align: start; }
  .team-leads .lead-card__ph { aspect-ratio: 4 / 4.6; margin-bottom: 12px; }
  .team-leads .lead-card__badge { font-size: 11px; padding: 3px 10px; margin-bottom: 10px; }
  .team-leads .member__n { font-size: 15px; }
  .team-leads .member__r { font-size: 12.5px; }
  .team-members { gap: 12px; }
  .tm-card { width: 46%; }
  .office-card .tm-card { flex-basis: 170px; width: 170px; }
  .tm-card__ph { width: 110px; }
  .bio { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* Office card body: fixed rotating featured card + scrolling team */
.office-card__body { display: flex; gap: 16px; align-items: stretch; }
.office-card__body .office-card__people { flex: 1 1 auto; min-width: 0; }
.office-card__body.has-rotator .office-card__people { justify-content: flex-start; }
.office-card__body.has-rotator .office-card__people .tm-card { flex-basis: 210px; }
@media (min-width: 901px) { .team-offices:has(.office-card:first-child .fam-rotator) { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.fam-rotator { flex: 0 0 210px; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; border: 1.5px solid var(--orange); background: #fff4ec; border-radius: 14px; padding: 12px 12px 10px; box-shadow: 8px 0 16px -10px rgba(0,0,0,.18); }
[dir="rtl"] .fam-rotator { box-shadow: -8px 0 16px -10px rgba(0,0,0,.18); }
.fam-rotator__ribbon { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: max-content; max-width: calc(100% - 12px); white-space: normal; text-align: center; line-height: 1.35; font-size: 12px; font-weight: 600; color: #fff; background: var(--orange-d); border-radius: 16px; padding: 5px 12px; box-shadow: 0 4px 12px rgba(217,100,30,.3); z-index: 2; }
.fam-rotator__ribbon .ic { flex: none; }
.is-en .fam-rotator__ribbon { font-size: 11px; letter-spacing: .02em; }
.office-card__body { padding-top: 14px; }
.fam-rotator__stage { display: grid; width: 100%; flex: 1; padding-top: 6px; }
.fam-rotator__slide { grid-area: 1 / 1; opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .6s ease, transform .6s ease; pointer-events: none; }
.fam-rotator__slide.on { opacity: 1; transform: none; pointer-events: auto; }
.fam-rotator .tm-card { width: 100%; height: 100%; padding: 18px 10px 14px; }
.fam-rotator .member__r { -webkit-line-clamp: 3; }
.consult-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; min-height: 40px; padding: 8px 14px; border-radius: 22px; background: #25d366; color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 4px 12px rgba(37,211,102,.3); transition: background .2s, transform .2s; }
.consult-btn:hover { background: #1ebe5b; transform: translateY(-1px); }
.consult-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.fam-rotator .tm-card__ph { width: 128px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--orange); }
.fam-rotator__dots { display: flex; gap: 6px; margin-top: 10px; }
.fam-rotator__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: #e9c6ad; transition: width .3s, background .3s; }
.fam-rotator__dots button.on { width: 22px; background: var(--orange); }
.fam-rotator__dots button::after { content: ""; display: block; margin: -12px; height: 32px; }
@media (max-width: 600px) {
  .office-card__body.has-rotator { flex-direction: row; gap: 10px; }
  .fam-rotator { flex: 0 0 calc(50% - 5px); padding: 10px 6px 8px; box-shadow: none; }
  .office-card__body.has-rotator .office-card__people .tm-card, .office-card .tm-card { flex-basis: 100%; width: 100%; padding: 14px 6px 12px; }
  .office-card .tm-card__ph, .fam-rotator .tm-card__ph { width: 92px; }
  .office-card .member__n { font-size: 14px; }
  .office-card .member__r { font-size: 12px; min-height: 0; }
  .consult-btn { font-size: 11.5px; padding: 7px 10px; gap: 4px; min-height: 36px; }
  .fam-rotator__ribbon { font-size: 10.5px; padding: 4px 8px; }
  .fam-rotator .tm-card { max-width: none; }
  .office-card__body:not(.has-rotator) .office-card__people .tm-card { flex-basis: 62%; width: 62%; }
  .office-card__body.has-rotator .office-card__people { padding-top: 0; }
  .asst__hello { width: min(270px, calc(100vw - 32px)); }
  .asst__hello-body { padding: 12px 14px; gap: 10px; }
  .asst__hello-body small { display: none; }
}

/* Assistant launcher: AI identity + first-visit welcome bubble */
.asst__fab { background: linear-gradient(135deg, #f08a45, #d9641e); }
.asst__fab::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(238,119,47,.45); animation: asstRing 2.4s ease-out infinite; }
.asst.open .asst__fab::after { display: none; }
@keyframes asstRing { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.asst__ai { position: absolute; top: -4px; inset-inline-end: -4px; background: var(--dark); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .04em; line-height: 1; padding: 4px 6px; border-radius: 8px; border: 2px solid #fff; font-family: system-ui, sans-serif; }
.asst.open .asst__ai { display: none; }
.asst__hello { position: absolute; bottom: 78px; right: 0; width: min(300px, calc(100vw - 40px)); background: #fff; border-radius: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.18); animation: pop .35s ease; }
.asst--left .asst__hello, [dir="rtl"] .asst--right .asst__hello { right: auto; left: 0; }
.asst__hello::after { content: ""; position: absolute; bottom: -7px; right: 24px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); box-shadow: 3px 3px 6px rgba(0,0,0,.05); }
.asst--left .asst__hello::after, [dir="rtl"] .asst--right .asst__hello::after { right: auto; left: 24px; }
.asst__hello-body { display: flex; gap: 12px; align-items: flex-start; width: 100%; background: none; border: 0; padding: 16px 18px 16px 16px; text-align: start; color: var(--head); }
.asst__hello-av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #f08a45, #d9641e); }
.asst__hello-body strong { display: block; font-size: 14px; line-height: 1.5; margin-bottom: 4px; }
.asst__hello-body small { display: block; font-size: 12.5px; color: var(--text); line-height: 1.6; }
.asst__hello-body em { display: inline-block; margin-top: 8px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--orange-text); }
.asst__hello-x { position: absolute; top: 6px; inset-inline-end: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #f3efe7; color: var(--head); display: grid; place-items: center; z-index: 1; }

/* UI/UX Pro Max checklist pass: focus rings, readable link contrast, 44px touch targets */
:root { --orange-text: #c4581a; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.dark :focus-visible, .ftr :focus-visible, .hero :focus-visible { outline-color: #fff; }
.link, .bcard__more, .msg a, .prose a { color: var(--orange-text); }
.msg-btns a, .msg-btns button, .asst__quick button { min-height: 36px; }
.msg-btns .ic { width: 15px; height: 15px; }
@media (pointer: coarse) {
  .msg-btns a, .msg-btns button, .asst__quick button, .fbtn, .ptab, .obtn, .chip, .hdr__nav a, .ftr__links a, .crumbs a { min-height: 44px; display: inline-flex; align-items: center; }
  .ftr__social a { width: 44px; height: 44px; display: grid; place-items: center; }
}

/* ===== Phone polish pass ===== */
.hdr__mcta { display: none; }
.hdr__burger .ic { transition: opacity .2s, transform .25s; }
.hdr__burger-close { display: none; }
.hdr.menu-open .hdr__burger-open { display: none; }
.hdr.menu-open .hdr__burger-close { display: block; }
.btn--wa { background: #25d366; color: #fff; }
@media (max-width: 900px) {
  /* menu: full-width sheet with call + WhatsApp */
  .hdr__nav { max-height: calc(100vh - 76px); overflow-y: auto; padding-bottom: 20px; box-shadow: 0 18px 30px rgba(0,0,0,.35); }
  .hdr__nav a { font-size: 16px; }
  .hdr__mcta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .hdr__mcta .btn { justify-content: center; padding: .85em .5em; border: 0; font-size: 13px; white-space: nowrap; gap: 6px; }
  /* presence: compact card */
  .presence__map { max-height: 230px; margin-inline: auto; display: block; }
  .presence__grid { gap: 16px; }
  .bcardx { padding: 18px; }
  .bcardx .chips { display: none; }
  .bcardx__btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .bcardx__btns .obtn { justify-content: center; padding: .5em .4em; font-size: 12.5px; }
  /* testimonials: swipe row */
  .tgrid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 14px; margin-inline: -24px; padding: 4px 24px 8px; scroll-padding-inline: 24px; }
  .tgrid::-webkit-scrollbar { display: none; }
  .tgrid .tcard { flex: 0 0 calc((100% - 14px) / 2); scroll-snap-align: start; background: #fff; }
  /* inner page header */
  .phead { padding: 108px 0 36px; }
  .phead .h1 { font-size: clamp(22px, 6vw, 30px); }
  .phead p { font-size: 14px; margin-bottom: 0; }
  .crumbs { font-size: 12px; margin-bottom: 8px; }
  .crumbs > span[aria-current], .crumbs > span[aria-hidden]:nth-last-child(2) { display: none; }
  /* team offices header */
  .office-card { padding: 16px 14px 18px; }
  .office-card__head { flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
  .office-card__tag { white-space: nowrap; }
  .office-card__count { display: none; }
}
@media (max-width: 600px) {
  .tgrid { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .tgrid .tcard { flex-basis: 100%; }
  .greview { margin-top: 18px; padding: 16px; gap: 12px; }
  .greview__btn { width: 100%; justify-content: center; }
  .totop { display: none; }
  .ftr { padding-bottom: 70px; }
  .ftr__list li.ftr__phones { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; margin-top: 8px; }
  .ftr__phone { width: 100%; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 12px 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.04); }
  .ftr__phone:hover { border-color: var(--orange); }
  .ftr__flag { width: 30px; height: 20px; }
  .ftr__phone-t { align-items: center; }
  .ftr__phone-t bdi { font-size: 14px; }
  .sec { padding: 60px 0; }
  .presence__tabs { margin-bottom: 18px; }
  .presence__head p { font-size: 14px; }
  .fam-rotator .tm-card__ph { width: 104px; }
  .cta-strip__t { font-size: 20px; }
}

/* Project page: big image with details panel beside it, thumbnails strip below */
.pview { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: stretch; }
.pview__media { min-width: 0; }
.pview__stage { position: relative; display: block; height: 100%; min-height: 420px; max-height: 640px; border-radius: 16px; overflow: hidden; background: #e9e2d4; }
.pview__stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s, transform .5s; }
.pview__stage:hover img { transform: scale(1.02); }
.pview__count, .pview__zoom { position: absolute; top: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: rgba(33,33,33,.72); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }
.pview__count { inset-inline-start: 16px; }
.pview__count b { color: var(--orange); }
.pview__zoom { inset-inline-end: 16px; }
.pdetails { background: var(--dark); color: #d6d6d6; border-radius: 16px; padding: 28px 26px; display: flex; flex-direction: column; }
.pdetails__t { color: #fff; font-size: 20px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 2px solid var(--orange); }
.pdetails__list { margin: 0; }
.pdetails__row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid #3a3a3a; font-size: 14px; }
.pdetails__row dt { display: inline-flex; align-items: center; gap: 8px; color: var(--text-alt); white-space: nowrap; }
.pdetails__row dt .ic { color: var(--orange); }
.pdetails__row dd { margin: 0; color: #fff; font-weight: 600; text-align: end; }
.pdetails__sub { color: #fff; font-size: 15px; margin: 22px 0 10px; }
.pdetails__works { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pdetails__works li { background: rgba(238,119,47,.14); color: #ffc9a6; border: 1px solid rgba(238,119,47,.35); border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.pdetails__cta { margin-top: auto; justify-content: center; }
.pdetails__works + .pdetails__cta, .pdetails__list + .pdetails__cta { margin-top: 24px; }
.pthumbs { margin-top: 24px; background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.pthumbs__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pthumbs__head .h3 { margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.pthumbs__badge { background: var(--orange); color: #fff; font-size: 12px; border-radius: 999px; padding: 2px 10px; }
.pthumbs__nav { display: flex; gap: 8px; }
.pthumbs__nav button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #e3dccd; background: var(--beige); color: var(--head); transition: background .2s, color .2s; }
.pthumbs__nav button:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.pthumbs__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 6px; }
.pthumbs__item { position: relative; flex: 0 0 calc((100% - 48px) / 5); aspect-ratio: 4 / 3; padding: 0; border: 3px solid transparent; border-radius: 12px; overflow: hidden; background: #eee; scroll-snap-align: start; opacity: .7; transition: opacity .2s, border-color .2s; }
.pthumbs__item img { width: 100%; height: 100%; object-fit: cover; }
.pthumbs__item span { position: absolute; bottom: 6px; inset-inline-start: 6px; background: rgba(33,33,33,.75); color: #fff; font-size: 11px; font-weight: 600; border-radius: 999px; padding: 1px 8px; }
.pthumbs__item:hover, .pthumbs__item.is-active { opacity: 1; }
.pthumbs__item.is-active { border-color: var(--orange); }
.pview + .prose, .pview + .lead-txt, .pthumbs + .prose, .pthumbs + .lead-txt { margin-top: 36px; }
@media (max-width: 900px) {
  .pview { grid-template-columns: 1fr; }
  .pview__stage { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
  .pthumbs__item { flex-basis: calc((100% - 24px) / 3); }
}
@media (max-width: 600px) {
  .pdetails { padding: 22px 18px; }
  .pthumbs { padding: 14px; }
  .pthumbs__item { flex-basis: 40%; }
  .pview__zoom { display: none; }
}
