/* Abbia — redesign (2026) */
:root {
  --ink: #0d0607;
  --night: #160a0c;
  --wine: #2a0e12;
  --brand: #41171c;
  --ember: #8e2633;
  --gold: #c9a46c;
  --gold-soft: #e6cf9f;
  --cream: #f4ece1;
  --text: rgba(244, 236, 225, .92);
  --muted: rgba(244, 236, 225, .62);
  --faint: rgba(244, 236, 225, .12);
  --line: rgba(201, 164, 108, .22);
  --radius: 18px;
  --wrap: 1240px;
  --display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --body: "IBM Plex Sans Arabic", "Alexandria", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- type ---------- */
/* Arabic hamza and tanween marks sit high: keep enough line-height so they never touch the line above */
h1, h2, h3, h4 { font-family: var(--display); color: var(--cream); margin: 0; line-height: 1.42; font-weight: 700; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); font-weight: 500; font-size: 14px;
  color: var(--gold); letter-spacing: .02em;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.eyebrow .en { font-family: "Alexandria", sans-serif; font-weight: 300; letter-spacing: .28em; text-transform: uppercase; font-size: 11px; color: var(--muted); }
.h-xl { font-size: clamp(44px, 8.4vw, 118px); font-weight: 800; letter-spacing: -.01em; line-height: 1.24; }
.h-lg { font-size: clamp(32px, 4.8vw, 62px); }
.h-md { font-size: clamp(24px, 2.6vw, 34px); }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); max-width: 62ch; }
.gold { color: var(--gold); }
.num { font-family: "Alexandria", sans-serif; font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--ink);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--display); font-weight: 600; font-size: 16px;
  transition: transform .35s var(--ease), background .35s, color .35s, box-shadow .35s;
  box-shadow: 0 10px 40px -12px rgba(201, 164, 108, .55);
}
.btn:hover { transform: translateY(-2px); background: var(--gold-soft); }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(-4px); }
.btn.ghost { --bg: transparent; --fg: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { background: rgba(201, 164, 108, .1); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s, transform .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(13, 6, 7, .78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--faint);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 52px; width: auto; }
.menu { display: flex; gap: 6px; align-items: center; }
.menu a {
  position: relative; padding: 8px 16px; border-radius: 999px;
  font-family: var(--display); font-size: 15px; color: var(--muted);
  transition: color .3s, background .3s;
}
.menu a:hover, .menu a[aria-current="page"] { color: var(--cream); }
.menu a[aria-current="page"]::after {
  content: ""; position: absolute; inset-inline: 16px; bottom: 2px; height: 1px; background: var(--gold);
}
.nav .btn { padding: 11px 22px; font-size: 14px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--cream); margin: 4px auto; transition: transform .35s var(--ease), opacity .3s; }
.nav-open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 40; display: grid; align-content: center; gap: 8px;
  padding: 100px 28px 40px; background: radial-gradient(120% 80% at 80% 0%, var(--brand), var(--ink) 70%);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.drawer a { font-family: var(--display); font-size: clamp(30px, 9vw, 44px); font-weight: 700; color: var(--cream); padding: 6px 0; border-bottom: 1px solid var(--faint); }
.drawer a .n { font-size: 13px; color: var(--gold); margin-inline-start: 10px; font-weight: 400; }
.drawer .contact-mini { margin-top: 26px; color: var(--muted); font-size: 15px; border: 0; }
.nav-open .drawer { opacity: 1; visibility: visible; }
.nav-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  padding: 140px 0 72px; isolation: isolate; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease, transform 9s linear;
  filter: saturate(.85) contrast(1.05);
}
.hero-media img.on { opacity: .55; transform: scale(1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(70% 60% at 85% 10%, rgba(142, 38, 51, .55), transparent 70%),
    linear-gradient(180deg, rgba(13, 6, 7, .55) 0%, rgba(13, 6, 7, .35) 35%, rgba(13, 6, 7, .92) 80%, var(--ink) 100%),
    linear-gradient(90deg, rgba(13, 6, 7, .1), rgba(13, 6, 7, .75));
}
.mandala {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(78vw, 980px); aspect-ratio: 1; inset-inline-end: -22vw; top: -16vw;
  background: url("../img/mandala.png") center/contain no-repeat;
  opacity: .14; animation: spin 140s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; align-items: end; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }
.hero .lead { margin: 22px 0 34px; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-side { display: grid; gap: 18px; justify-items: start; padding-bottom: 8px; }
.hero-side .quote {
  font-family: var(--display); font-size: 18px; line-height: 1.7; color: var(--cream);
  border-inline-start: 1px solid var(--gold); padding-inline-start: 18px;
}
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 28px; height: 3px; border-radius: 3px; background: var(--faint); transition: background .3s, width .3s; }
.hero-dots button.on { background: var(--gold); width: 46px; }
.scroll-cue { position: absolute; inset-inline-start: 50%; bottom: 22px; transform: translateX(50%); width: 22px; height: 36px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.scroll-cue::after { content: ""; position: absolute; top: 8px; inset-inline-start: 50%; width: 2px; height: 7px; margin-inline-start: -1px; background: var(--gold); border-radius: 2px; animation: cue 2s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* page hero (inner pages) */
.page-hero { position: relative; padding: 180px 0 90px; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(60% 90% at 80% 0%, rgba(142, 38, 51, .55), transparent 70%), linear-gradient(180deg, var(--wine), var(--ink));
}
.page-hero .mandala { width: min(70vw, 720px); top: -10vw; inset-inline-end: -14vw; opacity: .12; }
.page-hero h1 { margin: 18px 0 16px; }
.crumbs { font-size: 14px; color: var(--muted); margin-top: 26px; }
.crumbs a:hover { color: var(--gold); }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--faint); background: var(--night); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 28px; padding: 22px 14px; font-family: var(--display); font-size: clamp(18px, 2vw, 24px); color: var(--muted); white-space: nowrap; }
.ticker span::after { content: "✦"; color: var(--gold); font-size: 12px; }
@keyframes ticker { to { transform: translateX(50%); } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: clamp(64px, 8vw, 112px) 0; overflow-x: clip; }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2 { margin-top: 16px; }
.sec-head .lead { margin-top: 16px; }
.tint { background: linear-gradient(180deg, var(--ink), var(--night) 30%, var(--night) 70%, var(--ink)); }
.glow { position: absolute; width: 60vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(142, 38, 51, .32), transparent); pointer-events: none; z-index: 0; }
.sec > .wrap { position: relative; z-index: 1; }

/* about block */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.about-copy p { color: var(--muted); margin: 0 0 18px; }
.about-copy .big { font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.6; color: var(--cream); margin-bottom: 24px; }
.collage { position: relative; aspect-ratio: 1 / 1.05; }
.collage figure { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collage figure:hover img { transform: scale(1.06); }
.collage .a { inset: 0 0 26% 22%; }
.collage .b { inset: 48% 52% 0 0; border: 6px solid var(--ink); }
.collage .badge {
  position: absolute; inset-inline-end: 4%; bottom: 6%; z-index: 2;
  width: 132px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--gold); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 14px; line-height: 1.4;
  box-shadow: 0 20px 50px -15px rgba(201, 164, 108, .6);
}
.collage .badge b { display: block; font-size: 30px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--faint); }
.stat { padding: 34px 26px; border-inline-start: 1px solid var(--faint); }
.stat:first-child { border-inline-start: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(38px, 4.6vw, 60px); color: var(--cream); font-weight: 700; line-height: 1.1; }
.stat b sup { color: var(--gold); font-size: .5em; }
.stat > span { color: var(--muted); font-size: 15px; }

/* services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--faint); border: 1px solid var(--faint); border-radius: var(--radius); overflow: hidden; }
.svc { position: relative; background: var(--ink); padding: 34px 28px 32px; min-height: 330px; display: flex; flex-direction: column; overflow: hidden; transition: background .5s var(--ease); }
.svc::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 120%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(142, 38, 51, .55), transparent); opacity: 0; transition: opacity .6s; }
.svc:hover { background: var(--night); }
.svc:hover::before { opacity: 1; }
.svc .n { font-family: "Alexandria", sans-serif; color: var(--gold); font-size: 14px; letter-spacing: .1em; }
.svc .ic { width: 46px; height: 46px; margin: 22px 0 18px; color: var(--gold); }
.svc h3 { font-size: 21px; line-height: 1.45; margin-bottom: 14px; position: relative; }
.svc .tag { font-family: "Alexandria", sans-serif; font-size: 10px; letter-spacing: .3em; color: var(--muted); display: block; margin-top: 4px; }
.svc ul { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 4px; position: relative; }
.svc li { font-size: 14.5px; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.svc li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-2px); opacity: .7; }

/* services page — detailed rows */
.svc-rows { display: grid; }
.svc-row { display: grid; grid-template-columns: 90px 1.1fr 1.4fr; gap: 32px; padding: 44px 0; border-top: 1px solid var(--faint); align-items: start; }
.svc-row:last-child { border-bottom: 1px solid var(--faint); }
.svc-row .n { font-family: "Alexandria", sans-serif; font-size: 44px; font-weight: 300; color: var(--gold); line-height: 1; }
.svc-row h3 { font-size: clamp(24px, 2.6vw, 34px); }
.svc-row p { color: var(--muted); margin: 12px 0 0; }
.svc-row ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.svc-row li { padding: 14px 18px; border-radius: 12px; background: rgba(244, 236, 225, .035); box-shadow: inset 0 0 0 1px var(--faint); font-size: 15.5px; transition: box-shadow .3s, background .3s; }
.svc-row li:hover { box-shadow: inset 0 0 0 1px var(--line); background: rgba(201, 164, 108, .06); }

/* works */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filters button { padding: 10px 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--faint); font-family: var(--display); font-size: 14.5px; color: var(--muted); transition: all .3s; }
.filters button:hover { color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.filters button.on { background: var(--gold); color: var(--ink); box-shadow: none; }
.masonry { columns: 3 280px; column-gap: 14px; }
.tile { position: relative; display: block; margin: 0 0 14px; break-inside: avoid; border-radius: 14px; overflow: hidden; background: var(--night); cursor: zoom-in; }
.tile img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .6s; filter: saturate(.9); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13, 6, 7, .85)); opacity: 0; transition: opacity .5s; }
.tile .cap { position: absolute; inset: auto 16px 14px; z-index: 1; font-family: var(--display); font-size: 14px; color: var(--cream); opacity: 0; transform: translateY(8px); transition: all .5s var(--ease); }
.tile:hover img { transform: scale(1.05); filter: saturate(1.1); }
.tile:hover::after, .tile:hover .cap { opacity: 1; transform: none; }
.tile.hide { display: none; }

.works-strip { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 14px; }
.works-strip a { position: relative; border-radius: 14px; overflow: hidden; }
.works-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.works-strip a:hover img { transform: scale(1.06); }
.works-strip .lbl { position: absolute; inset: auto 0 0 0; padding: 50px 18px 14px; font-family: var(--display); font-size: 15px; color: var(--cream); background: linear-gradient(180deg, transparent, rgba(13, 6, 7, .9)); }
.works-strip .lbl small { display: block; font-family: "Alexandria", sans-serif; font-size: 10px; letter-spacing: .25em; color: var(--gold); }
.ws-1 { grid-column: span 7; grid-row: span 3; }
.ws-2 { grid-column: span 5; grid-row: span 2; }
.ws-3 { grid-column: span 5; grid-row: span 2; }
.ws-4 { grid-column: span 4; grid-row: span 2; }
.ws-5 { grid-column: span 3; grid-row: span 2; }

.cat-block { margin-top: 90px; }
.cat-block:first-of-type { margin-top: 0; }
.cat-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--faint); padding-bottom: 18px; margin-bottom: 26px; }
.cat-title h2 { font-size: clamp(26px, 3vw, 40px); }
.cat-title .en { font-family: "Alexandria", sans-serif; font-size: 11px; letter-spacing: .3em; color: var(--muted); text-transform: uppercase; }

.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.video { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--night); aspect-ratio: 16 / 9; box-shadow: inset 0 0 0 1px var(--faint); }
.video video, .video img { width: 100%; height: 100%; object-fit: cover; }
.video .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(13, 6, 7, .1), rgba(13, 6, 7, .75)); transition: background .4s; }
.video .play span { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); transition: transform .4s var(--ease); }
.video .play svg { width: 26px; margin-inline-end: -4px; }
.video:hover .play span { transform: scale(1.08); }
.video .t { position: absolute; inset: auto 22px 18px; font-family: var(--display); color: var(--cream); font-size: 18px; }
.video.playing .play, .video.playing .t { display: none; }

/* why */
.why { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.why-item { padding: 30px 24px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(244, 236, 225, .045), rgba(244, 236, 225, .01)); box-shadow: inset 0 0 0 1px var(--faint); transition: transform .5s var(--ease), box-shadow .5s; }
.why-item:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line); }
.why-item .ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); color: var(--gold); margin-bottom: 22px; }
.why-item .ic svg { width: 24px; height: 24px; }
.why-item .n { font-family: "Alexandria", sans-serif; font-size: 12px; color: var(--gold); letter-spacing: .15em; }
.why-item h3 { font-size: 19px; margin: 6px 0 10px; }
.why-item p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.75; }
.why-close { margin-top: 44px; text-align: center; font-family: var(--display); font-size: clamp(19px, 2vw, 25px); color: var(--gold-soft); }

/* vision / mission */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.vm-card { position: relative; padding: clamp(32px, 4vw, 54px); border-radius: var(--radius); overflow: hidden; background: radial-gradient(90% 120% at 100% 0%, rgba(142, 38, 51, .45), transparent 60%), var(--night); box-shadow: inset 0 0 0 1px var(--faint); }
.vm-card .n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); font-family: "Alexandria", sans-serif; }
.vm-card h3 { font-size: clamp(26px, 3vw, 38px); margin: 26px 0 14px; }
.vm-card p { color: var(--muted); margin: 0; font-size: 18px; }

.values { display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--faint); }
.value { padding: 40px 22px; text-align: center; border-inline-start: 1px solid var(--faint); }
.value:first-child { border-inline-start: 0; }
.value .n { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--gold), 0 0 40px -10px rgba(201, 164, 108, .5); color: var(--gold); font-family: "Alexandria", sans-serif; }
.value h3 { font-size: 22px; }
.value p { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* iso */
.iso { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.iso-card { padding: 28px 22px; border-radius: var(--radius); background: var(--night); box-shadow: inset 0 0 0 1px var(--faint); display: grid; gap: 14px; align-content: start; transition: box-shadow .4s, transform .4s var(--ease); }
.iso-card:hover { box-shadow: inset 0 0 0 1px var(--line); transform: translateY(-4px); }
.iso-card .seal { width: 58px; height: 58px; color: var(--gold); }
.iso-card b { font-family: "Alexandria", sans-serif; font-weight: 600; font-size: 17px; color: var(--cream); direction: ltr; text-align: right; }
.iso-card span { color: var(--muted); font-size: 15px; }

/* clients */
.logos { display: grid; gap: 18px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos-row { display: flex; width: max-content; gap: 18px; animation: ticker 70s linear infinite; }
.logos-row.rev { animation-direction: reverse; animation-duration: 80s; }
.logos:hover .logos-row { animation-play-state: paused; }
.logo-cell { width: 200px; height: 104px; flex: none; display: grid; place-items: center; padding: 18px 24px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--faint); background: rgba(244, 236, 225, .02); transition: background .4s, box-shadow .4s; }
.logo-cell img { max-height: 62px; width: auto; max-width: 100%; object-fit: contain; opacity: .78; transition: opacity .4s; }
.logo-cell:hover { background: rgba(201, 164, 108, .07); box-shadow: inset 0 0 0 1px var(--line); }
.logo-cell:hover img { opacity: 1; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.logo-grid .logo-cell { width: auto; }

/* cta */
.cta { position: relative; margin: 0 auto; padding: clamp(50px, 8vw, 100px) clamp(24px, 6vw, 80px); border-radius: 28px; overflow: hidden; isolation: isolate; text-align: center; background: radial-gradient(80% 140% at 50% 0%, rgba(142, 38, 51, .85), var(--wine) 55%, var(--night)); box-shadow: inset 0 0 0 1px var(--line); }
.cta .mandala { width: 520px; inset: -180px auto auto -160px; opacity: .1; }
.cta h2 { margin: 18px 0 14px; }
.cta .lead { margin: 0 auto 32px; }
.cta .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* contact page */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.info-list { display: grid; gap: 14px; margin-top: 34px; }
.info { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--night); box-shadow: inset 0 0 0 1px var(--faint); transition: box-shadow .3s; }
a.info:hover { box-shadow: inset 0 0 0 1px var(--line); }
.info .ic { width: 50px; height: 50px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(201, 164, 108, .12); color: var(--gold); }
.info .ic svg { width: 22px; height: 22px; }
.info small { display: block; color: var(--muted); font-size: 13px; }
.info b { font-family: var(--display); font-weight: 500; color: var(--cream); font-size: 17px; }
.form { padding: clamp(26px, 4vw, 46px); border-radius: 24px; background: linear-gradient(180deg, var(--night), var(--ink)); box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form h3 { grid-column: 1 / -1; font-size: 26px; }
.form p.note { grid-column: 1 / -1; margin: -6px 0 6px; color: var(--muted); font-size: 14.5px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--muted); font-family: var(--display); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; border-radius: 12px; border: 0; outline: 0;
  background: rgba(244, 236, 225, .05); color: var(--cream); font: inherit; font-size: 16px;
  box-shadow: inset 0 0 0 1px var(--faint); transition: box-shadow .3s, background .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: 22px 50%, 16px 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--night); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 0 0 1px var(--gold); background: rgba(201, 164, 108, .06); }
.form .btn { grid-column: 1 / -1; justify-content: center; }

/* footer */
.site-footer { position: relative; margin-top: clamp(80px, 10vw, 140px); padding: 80px 0 30px; background: var(--night); border-top: 1px solid var(--faint); overflow: hidden; }
.site-footer .mandala { width: 560px; inset: auto -180px -240px auto; opacity: .08; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-grid img { height: 66px; width: auto; margin-bottom: 18px; }
.foot-grid p { color: var(--muted); font-size: 15px; margin: 0; max-width: 34ch; }
.foot-grid h4 { font-size: 15px; color: var(--gold); margin-bottom: 18px; font-weight: 500; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid li a, .foot-grid li span { color: var(--muted); font-size: 15px; transition: color .3s; }
.foot-grid li a:hover { color: var(--cream); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--faint); color: var(--muted); transition: all .3s; }
.socials a:hover { color: var(--ink); background: var(--gold); box-shadow: none; }
.socials svg { width: 17px; height: 17px; }
.foot-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--faint); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
.foot-bottom .en { font-family: "Alexandria", sans-serif; letter-spacing: .2em; font-size: 11px; }

/* whatsapp float */
.wa { position: fixed; z-index: 45; inset-inline-start: 22px; bottom: 22px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .6); transition: transform .35s var(--ease); }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 28px; height: 28px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(8, 3, 4, .94); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lb.open { opacity: 1; visibility: visible; }
.lb img { max-width: min(92vw, 1400px); max-height: 84vh; border-radius: 10px; box-shadow: 0 40px 100px -30px #000; }
.lb .cap { position: absolute; bottom: 22px; inset-inline: 0; text-align: center; color: var(--muted); font-size: 14px; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--cream); box-shadow: inset 0 0 0 1px var(--faint); background: rgba(13, 6, 7, .5); transition: background .3s; }
.lb button:hover { background: var(--gold); color: var(--ink); }
.lb .x { top: 20px; inset-inline-end: 20px; }
.lb .prev, .lb .next { top: 50%; margin-top: -26px; }
.lb .prev { inset-inline-start: 20px; }
.lb .next { inset-inline-end: 20px; }
.lb svg { width: 20px; height: 20px; }

/* reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(3, 1fr); }
  .iso { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); }
  .value:nth-child(4) { border-inline-start: 0; }
  .value { border-bottom: 1px solid var(--faint); }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu, .nav > .btn { display: none; }
  .burger { display: block; }
  .hero-grid, .about-grid, .contact-grid, .vm { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--faint); }
  .sec-head { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 16px; }
  .works-strip { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .works-strip a { grid-column: span 1 !important; grid-row: span 1 !important; }
  .works-strip a:first-child { grid-column: span 2 !important; grid-row: span 2 !important; }
  .works-strip .lbl { padding: 40px 12px 10px; font-size: 13.5px; }
  .works-strip .lbl small { display: none; }
  .videos { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { height: 72px; }
  .brand img { height: 44px; }
  .hero { padding-bottom: 56px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .services, .why, .iso { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .values { grid-template-columns: 1fr 1fr; }
  .value { border-inline-start: 0 !important; }
  .value:nth-child(even) { border-inline-start: 1px solid var(--faint) !important; }
  .svc-row ul { grid-template-columns: 1fr; }
  .masonry { columns: 2 140px; column-gap: 10px; }
  .tile { margin-bottom: 10px; border-radius: 10px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-cell { width: 160px; height: 88px; }
  .form { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .collage .badge { width: 108px; font-size: 12px; }
  .collage .badge b { font-size: 24px; }
}
/* custom cursor (mouse devices only; main.js adds .has-cursor) */
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: text !important; }
.has-cursor select { cursor: pointer !important; }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  border-radius: 50%; opacity: 0; will-change: transform;
}
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--gold); transition: opacity .3s, scale .3s var(--ease); }
.cursor-ring {
  width: 42px; height: 42px; margin: -21px 0 0 -21px;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(201, 164, 108, .65);
  transition: opacity .3s, width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .45s, box-shadow .45s, scale .25s var(--ease);
}
.cursor-ring span {
  font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--ink);
  opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--ease);
}
.cursor-on .cursor-dot, .cursor-on .cursor-ring { opacity: 1; }
.cursor-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(201, 164, 108, .12); box-shadow: inset 0 0 0 1px var(--gold); }
.cursor-hover .cursor-dot { scale: 0; }
.cursor-label .cursor-ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--gold); box-shadow: 0 12px 40px -10px rgba(201, 164, 108, .6); }
.cursor-label .cursor-ring span { opacity: 1; transform: none; }
.cursor-label .cursor-dot { scale: 0; }
.cursor-down .cursor-ring { scale: .82; }
.cursor-field .cursor-dot, .cursor-field .cursor-ring { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}
