/* ================================================================
   BrandMe Agency — portfolio.
   Editorial, image-led, bilingual (LTR / RTL). No framework.
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* ---------------------------------------------------------- tokens */
:root {
  --brand:       #4A9A10;
  --brand-ink:   #2F6A08;
  --brand-soft:  #EEF6E6;
  --lime:        #8CD32B;

  --ink:         #0C0F0C;
  --ink-70:      #3A413A;
  --ink-50:      #5E665E;
  --paper:       #FBFBF9;
  --surface:     #FFFFFF;
  --line:        #E3E6DF;
  --line-2:      #C9CEC3;
  --night:       #0C0F0C;
  --night-2:     #171B16;

  --f-lat-display: 'Archivo', system-ui, sans-serif;
  --f-lat-text:    'IBM Plex Sans', system-ui, sans-serif;
  --f-ar:          'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-display: var(--f-lat-display);
  --f-text:    var(--f-lat-text);

  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --maxw: 1360px;

  --ease:   cubic-bezier(.22, .61, .36, 1);
  --ease-o: cubic-bezier(.16, 1, .3, 1);
  --hdr: 60px;

  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 20'%3E%3Cpath d='M2 4c8 0 8 14 16 14s8-14 16-14 8 14 16 14 8-14 16-14' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}
html[lang="ar"] { --f-display: var(--f-ar); --f-text: var(--f-ar); }

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-text); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.locked { overflow: hidden; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }

h1, h2, h3 {
  font-family: var(--f-display); font-weight: 600; margin: 0;
  line-height: 1.04; letter-spacing: -.03em; text-wrap: balance;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 {
  letter-spacing: 0; line-height: 1.26; font-weight: 700;
}

::selection { background: var(--brand-ink); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; inset-inline-start: -9999px; top: 0; z-index: 300; background: var(--ink); color: #fff; padding: .75rem 1.25rem; }
.skip:focus { inset-inline-start: 0; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --------------------------------------------------------- layout */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(4.5rem, 10vw, 9rem); }

.kick {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--f-lat-text); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-50);
}
html[lang="ar"] .kick { font-family: var(--f-ar); letter-spacing: 0; text-transform: none; font-size: .85rem; }
.kick::before {
  content: ''; width: 34px; height: 10px; flex: none; background: var(--brand);
  -webkit-mask: var(--wave) center/contain no-repeat; mask: var(--wave) center/contain no-repeat;
}

.h1 { font-size: clamp(2.6rem, 7.2vw, 5.6rem); }
.h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.h3 { font-size: clamp(1.35rem, 2.4vw, 2rem); }

.lead { font-size: clamp(1.05rem, 1.45vw, 1.28rem); line-height: 1.55; color: var(--ink-70); max-width: 46ch; }
.sechead { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 4vw, 4rem); }

/* --------------------------------------------------------- header */
.hdr {
  position: sticky; top: 0; z-index: 100; height: var(--hdr);
  background: rgba(251,251,249,.82); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background .3s var(--ease);
}
.hdr.stuck { border-color: var(--line); }
.hdr__in { max-width: var(--maxw); margin-inline: auto; height: 100%; padding-inline: var(--gutter); display: flex; align-items: center; gap: 1.25rem; }

.mark { direction: ltr; display: block; flex: none; width: 104px; height: 26px; overflow: hidden; box-sizing: content-box; padding-block: 9px; }
.mark img { width: 132px; height: 132px; max-width: none; margin: -50px 0 0 -16px; }

.nav { display: flex; gap: 1.75rem; margin-inline-start: auto; }
.nav a { position: relative; font-size: .88rem; font-weight: 500; color: var(--ink-50); padding-block: .4rem; transition: color .2s var(--ease); }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a::after {
  content: ''; position: absolute; inset-inline-start: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--brand); transform: scaleX(0); transform-origin: var(--o, left);
  transition: transform .3s var(--ease-o);
}
html[dir="rtl"] .nav a::after { --o: right; }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }

.acts { display: flex; align-items: center; gap: .55rem; margin-inline-start: auto; }
.nav + .acts { margin-inline-start: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  padding: .74rem 1.3rem; border-radius: 2px; min-height: 44px;
  font-size: .88rem; font-weight: 600; white-space: nowrap;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .12s var(--ease);
}
.btn:hover { background: var(--brand-ink); border-color: var(--brand-ink); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--lime { background: var(--lime); border-color: var(--lime); color: #0C0F0C; }
.btn--lime:hover { background: #fff; border-color: #fff; }
.btn--sm { padding: .5rem .9rem; min-height: 40px; font-size: .82rem; }
.btn i { display: block; width: 15px; height: 15px; flex: none; background: currentColor;
  -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat;
  transition: transform .3s var(--ease-o); }
.btn:hover i { transform: translateX(4px); }
html[dir="rtl"] .btn i { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover i { transform: scaleX(-1) translateX(4px); }
:root { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 7.2h8.2L8.1 4.1l1.1-1.1L14.2 8l-5 5-1.1-1.1 3.1-3.1H3z'/%3E%3C/svg%3E"); }

.lang { border: 1px solid var(--line-2); border-radius: 2px; padding: .5rem .8rem; min-height: 40px; font-size: .8rem; font-weight: 600; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.lang:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); position: relative; transition: background .2s var(--ease); }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease-o); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.sheet {
  position: fixed; inset: var(--hdr) 0 auto 0; z-index: 99;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 1rem var(--gutter) 2rem;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .28s var(--ease), transform .28s var(--ease-o), visibility .28s;
}
.sheet.open { transform: none; opacity: 1; visibility: visible; }
.sheet a { display: block; padding: 1rem 0; font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; border-bottom: 1px solid var(--line); }

/* ----------------------------------------------------------- hero */
.hero { padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5rem); }
.hero__kick { font-family: var(--f-lat-text); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); }
html[lang="ar"] .hero__kick { font-family: var(--f-ar); letter-spacing: 0; text-transform: none; font-size: .9rem; }
.hero h1 { margin-block: 1.4rem 1.6rem; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--brand-ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.2rem; }

.hero__art { position: relative; margin: clamp(3rem, 6vw, 5rem) 0 0; }
.hero__art .frame { max-width: 100%; }
.hero__phone {
  position: absolute; inset-inline-end: 2%; bottom: -6%;
  width: clamp(96px, 13vw, 180px); border-radius: 16px; padding: 5px;
  background: var(--ink); box-shadow: 0 24px 50px rgba(12,15,12,.28);
}
.hero__phone img { border-radius: 11px; }
.stats { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: clamp(3.5rem, 5vw, 4.5rem); padding-top: 1.8rem; border-top: 1px solid var(--line); }
.stats div { min-width: 7rem; }
.stats dt { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-50); margin-bottom: .3rem; }
html[lang="ar"] .stats dt { letter-spacing: 0; text-transform: none; font-size: .82rem; }
.stats dd { margin: 0; font-size: .98rem; font-weight: 500; }

/* browser frame */
.frame { background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.frame__bar { display: flex; align-items: center; gap: .4rem; padding: .55rem .85rem; background: #F3F4F0; border-bottom: 1px solid var(--line); }
.frame__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); display: block; }
.frame__bar span { margin-inline-start: .75rem; font-family: var(--f-lat-text); font-size: .7rem; color: var(--ink-50); direction: ltr; }
.frame__win { overflow: hidden; }
.frame__win img { width: 100%; }

/* --------------------------------------------------- what we build */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-flex; align-items: center; min-height: 46px;
  padding: .6rem 1.15rem; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: clamp(.9rem, 1.3vw, 1.05rem); font-weight: 500; background: var(--surface);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease-o);
}
.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }

/* --------------------------------------------------- featured work */
.feat { display: grid; gap: clamp(3.5rem, 7vw, 6.5rem); }
.fcard { display: grid; gap: clamp(1.5rem, 3vw, 2.75rem); align-items: center; }
@media (min-width: 900px) {
  .fcard { grid-template-columns: 1.15fr .85fr; }
  .fcard:nth-child(even) .fcard__media { order: 2; }
}
.fcard__media { position: relative; }
.fcard__shot { display: block; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.fcard__shot .frame__win { aspect-ratio: 16 / 10; }
.fcard__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .8s var(--ease-o), filter .5s var(--ease); }
.fcard:hover .fcard__shot img, .fcard__link:focus-visible ~ .fcard__media img { transform: scale(1.035); }
.fcard__n {
  position: absolute; top: -.7em; inset-inline-start: -.15em; z-index: 2;
  font-family: var(--f-lat-display); font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 700;
  line-height: 1; letter-spacing: -.05em; color: var(--paper);
  -webkit-text-stroke: 1.5px var(--line-2); pointer-events: none;
}
.fcard__cat { font-family: var(--f-lat-text); font-size: .74rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--brand-ink); }
html[lang="ar"] .fcard__cat { font-family: var(--f-ar); letter-spacing: 0; text-transform: none; font-size: .85rem; }
.fcard h3 { margin-block: .9rem .35rem; }
.fcard__sub { font-size: .92rem; color: var(--ink-50); font-weight: 500; }
.fcard__line { font-size: clamp(1rem, 1.35vw, 1.16rem); line-height: 1.5; color: var(--ink-70); margin-top: 1.1rem; max-width: 42ch; }
.fcard__link {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.7rem; min-height: 44px;
  font-size: .9rem; font-weight: 600; color: var(--ink);
  border-bottom: 1.5px solid var(--brand); padding-bottom: .1rem;
}
.fcard__link i { display: block; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat;
  transition: transform .3s var(--ease-o); }
.fcard:hover .fcard__link i { transform: translateX(4px); }
html[dir="rtl"] .fcard__link i { transform: scaleX(-1); }
html[dir="rtl"] .fcard:hover .fcard__link i { transform: scaleX(-1) translateX(4px); }

/* --------------------------------------------------------- filters */
.filters { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 2rem; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filt {
  flex: none; min-height: 42px; padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: .86rem; font-weight: 600; color: var(--ink-70);
  background: var(--surface); white-space: nowrap;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.filt:hover { border-color: var(--ink); color: var(--ink); }
.filt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* --------------------------------------------------------- grid */
.grid { display: grid; gap: clamp(1.25rem, 2.2vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.pcard {
  display: flex; flex-direction: column; text-align: start; width: 100%;
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: border-color .3s var(--ease), transform .35s var(--ease-o), box-shadow .35s var(--ease);
}
.pcard:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(12,15,12,.4); }
.pcard__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint, #F2F3EF); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--ease-o); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__img--p { display: flex; align-items: flex-end; justify-content: center; padding: 1rem 1rem 0; background: var(--night); }
.pcard__img--p img { width: auto; height: 100%; max-width: 58%; object-fit: contain; border-radius: 10px 10px 0 0; box-shadow: 0 10px 28px rgba(0,0,0,.45); }
.pcard:hover .pcard__img--p img { transform: scale(1.03); }
.pcard__b { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.pcard__cat { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); }
html[lang="ar"] .pcard__cat { letter-spacing: 0; text-transform: none; font-size: .82rem; }
.pcard h3 { font-size: 1.2rem; }
.pcard p { font-size: .93rem; color: var(--ink-50); line-height: 1.5; }
.pcard__go { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 600; color: var(--brand-ink); }
.pcard__go i { display: block; width: 13px; height: 13px; background: currentColor;
  -webkit-mask: var(--arrow) center/contain no-repeat; mask: var(--arrow) center/contain no-repeat;
  transition: transform .3s var(--ease-o); }
.pcard:hover .pcard__go i { transform: translateX(4px); }
html[dir="rtl"] .pcard__go i { transform: scaleX(-1); }
html[dir="rtl"] .pcard:hover .pcard__go i { transform: scaleX(-1) translateX(4px); }
.pcard.hide { display: none; }
.empty { padding: 3rem 0; color: var(--ink-50); }

/* --------------------------------------------------------- studio */
.studio { border-top: 1px solid var(--line); }
.two { display: grid; gap: clamp(1.5rem, 4vw, 4rem); }
@media (min-width: 900px) { .two { grid-template-columns: .9fr 1.1fr; } }

.tech { display: grid; gap: 1.75rem; margin-top: 1rem; }
@media (min-width: 640px) { .tech { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .tech { grid-template-columns: repeat(4, 1fr); } }
.tech h3 { font-family: var(--f-lat-text); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-50); padding-bottom: .7rem; border-bottom: 2px solid var(--brand); margin-bottom: .8rem; }
html[lang="ar"] .tech h3 { font-family: var(--f-ar); letter-spacing: 0; text-transform: none; font-size: .85rem; font-weight: 700; }
.tech li { padding-block: .45rem; font-size: .93rem; font-weight: 500; border-bottom: 1px solid var(--line); }

/* ------------------------------------------------------------ cta */
.cta { background: var(--night); color: #fff; }
.cta h2 span { display: block; }
.cta h2 span:last-child { color: var(--lime); }
.cta .lead { color: #C7CDC2; margin-top: 1.4rem; max-width: 40ch; }
.cta .kick { color: #8A927F; }
.cta .kick::before { background: var(--lime); }
.contact { display: grid; gap: 1.75rem; margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid #262B23; }
@media (min-width: 760px) { .contact { grid-template-columns: repeat(3, 1fr); } }
.contact dt { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: #8A927F; margin-bottom: .4rem; }
html[lang="ar"] .contact dt { letter-spacing: 0; text-transform: none; font-size: .82rem; }
.contact dd { margin: 0; font-size: 1rem; }
.contact a { border-bottom: 1px solid transparent; transition: border-color .2s var(--ease), color .2s var(--ease); }
.contact a:hover { color: var(--lime); border-color: var(--lime); }
.note { font-size: .85rem; color: #7E866F; line-height: 1.6; margin-top: 3rem; max-width: 62ch; }

.ftr { background: var(--night-2); color: #7E866F; padding-block: 1.5rem; font-size: .82rem; }
.ftr__in { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }

/* ------------------------------------------------------- detail view */
.scrim {
  position: fixed; inset: 0; z-index: 200; background: rgba(12,15,12,.5);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  backdrop-filter: blur(2px);
}
.scrim.open { opacity: 1; visibility: visible; }

.detail {
  position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 201;
  width: min(760px, 100%); background: var(--paper);
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(var(--x, 100%));
  transition: transform .45s var(--ease-o);
  box-shadow: -30px 0 80px -30px rgba(12,15,12,.35);
}
html[dir="rtl"] .detail { --x: -100%; box-shadow: 30px 0 80px -30px rgba(12,15,12,.35); }
.detail.open { transform: none; }

.detail__bar {
  position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: .5rem;
  padding: .7rem clamp(1.25rem, 3vw, 2.25rem);
  background: rgba(251,251,249,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.detail__bar .sp { margin-inline-start: auto; }
.iconbtn {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 2px;
  border: 1px solid var(--line-2); transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.iconbtn:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.iconbtn:disabled { opacity: .35; cursor: default; }
.iconbtn svg { width: 16px; height: 16px; }
html[dir="rtl"] .iconbtn svg { transform: scaleX(-1); }

.detail__body { padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.25rem) 4rem; }
.detail__cat { font-family: var(--f-lat-text); font-size: .74rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--brand-ink); }
html[lang="ar"] .detail__cat { font-family: var(--f-ar); letter-spacing: 0; text-transform: none; font-size: .85rem; }
.detail h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-block: .8rem .3rem; }
.detail__sub { color: var(--ink-50); font-weight: 500; }
.detail__line { font-size: clamp(1.05rem, 1.6vw, 1.24rem); line-height: 1.5; margin-top: 1.2rem; font-weight: 500; }
.detail__hero { margin-top: 1.9rem; }
.detail__hero .frame__win { aspect-ratio: 16 / 10; }
.detail__hero img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, top center); }

.blk { margin-top: 2.2rem; }
.blk__h { font-family: var(--f-lat-text); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: .7rem; }
html[lang="ar"] .blk__h { font-family: var(--f-ar); letter-spacing: 0; text-transform: none; font-size: .85rem; }
.blk p { color: var(--ink-70); }
.blk li { position: relative; padding: .6rem 0 .6rem 1.4rem; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink-70); }
html[dir="rtl"] .blk li { padding: .6rem 1.4rem .6rem 0; }
.blk li::before { content: ''; position: absolute; inset-inline-start: 0; top: 1.15rem; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

.value { background: var(--night); color: #fff; padding: 1.6rem 1.7rem; margin-top: 2.2rem; }
.value .blk__h { color: var(--lime); }
.value p { color: #E6E9E3; font-size: 1.02rem; }

.tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag { font-size: .76rem; font-weight: 600; padding: .34rem .75rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-70); background: var(--surface); }

.disc { margin-top: 2rem; padding: 1rem 1.15rem; background: #F3F4F0; border: 1px solid var(--line); font-size: .86rem; color: var(--ink-50); line-height: 1.55; }

.gal { display: grid; gap: 1rem; margin-top: 1.2rem; }
@media (min-width: 640px) { .gal { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: start; } }

.detail__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }

/* --------------------------------------------------------- motion */
.rv { opacity: 0; transform: translateY(18px); }
.rv.in { opacity: 1; transform: none; transition: opacity .7s var(--ease-o) var(--d, 0s), transform .7s var(--ease-o) var(--d, 0s); }

.up { opacity: 0; transform: translateY(22px); animation: up .85s var(--ease-o) forwards; animation-delay: var(--d, 0s); }
@keyframes up { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .rv, .up { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------------------------------------------------- view transition */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
}

/* ------------------------------------------------------- responsive */
@media (max-width: 899px) {
  .nav { display: none; }
  .burger { display: flex; }
  .acts .btn:not(.lang) { display: none; }
  .fcard__n { font-size: 3rem; top: -.55em; }
  .hero__phone { inset-inline-end: 4%; bottom: -8%; }
  .detail { width: 100%; }
}
@media (min-width: 900px) { .sheet { display: none; } }

.hero__cap {
  margin-top: 1.5rem; font-size: .82rem; color: var(--ink-50);
  display: flex; align-items: center; gap: .55rem;
}
.hero__cap::before { content: ''; width: 22px; height: 1px; background: var(--line-2); flex: none; }

.ftr__dl { display: flex; align-items: center; gap: .6rem; }
.ftr__dl a {
  min-height: 32px; display: inline-flex; align-items: center; padding: 0 .6rem;
  border: 1px solid #2A2F27; border-radius: 2px; font-weight: 600; font-size: .76rem;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.ftr__dl a:hover { background: var(--lime); border-color: var(--lime); color: #0C0F0C; }
