/* ==========================================================================
   مُتقَن — white gallery · navy + paint orange · 3D & motion
   ========================================================================== */
:root {
  --white: #FFFFFF;
  --soft: #F5F7FA;
  --soft-2: #EEF2F7;
  --warm: #FFF6EC;
  --navy: #0E2A47;
  --navy-2: #1B4673;
  --navy-soft: #E7EEF6;
  --orange: #F08A2E;
  --orange-ink: #B4561A;
  --orange-soft: #FDEBDA;
  --ink: #0D1826;
  --text: #2B3A4A;
  --muted: #5D6D7E;
  --line: #E3E9F0;
  --wa: #0E7A44;
  --wa-hover: #0A6537;

  --font-display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --r-sm: 12px; --r: 20px; --r-lg: 28px;
  --max: 1260px;
  --gutter: clamp(16px, 4vw, 44px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-sm: 0 1px 2px rgba(13, 24, 38, .06), 0 8px 20px -10px rgba(13, 24, 38, .16);
  --shadow: 0 2px 6px rgba(13, 24, 38, .05), 0 30px 60px -30px rgba(13, 24, 38, .3);
  --shadow-lg: 0 50px 100px -40px rgba(13, 24, 38, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font-body); font-size: 16.5px; line-height: 1.75; overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.is-busy { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.28; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1.15em; height: 1.15em; flex: none; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.container { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 900; }
.skip:focus { top: 12px; }
.section { position: relative; padding: clamp(64px, 8vw, 120px) 0; }

/* ------------------------------------------------------------- type bits */
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--orange-ink); background: var(--orange-soft); border-radius: 999px; padding: 5px 14px; margin-bottom: 14px; }
.tag--light { background: rgba(255, 255, 255, .14); color: #FFD3AA; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); position: relative; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--orange); animation: ping 2s ease-out infinite; }
.h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: -.015em; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 18px 40px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 52px); position: relative; z-index: 2; }
.head--center { flex-direction: column; align-items: center; text-align: center; }
.head__lead { color: var(--muted); max-width: 36rem; font-size: 1.04rem; }
.word-mask { display: inline-block; overflow: clip; padding-bottom: .12em; margin-bottom: -.12em; vertical-align: top; }

/* ---------------------------------------------------------------- buttons */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 50px; padding: 0 1.35em; border-radius: 14px; font-weight: 600; font-size: .98rem; white-space: nowrap; border: 1px solid transparent; transition: color .3s, border-color .3s, box-shadow .3s, transform .25s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .16); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 40px; padding: 0 1em; font-size: .9rem; border-radius: 11px; }
.btn--lg { min-height: 58px; padding: 0 1.7em; font-size: 1.04rem; border-radius: 16px; }
.btn--block { width: 100%; }
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 14px 30px -14px rgba(14, 42, 71, .8); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 14px 30px -14px rgba(14, 122, 68, .8); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--line { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--line::before { background: var(--navy-soft); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white::before { background: var(--navy-soft); }
.btn > * { position: relative; }

/* ------------------------------------------------------ progress + cursor */
.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 600; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(270deg, var(--orange), #F7B267, var(--navy-2)); transform-origin: right; transform: scaleX(0); }
.cursor { position: fixed; top: 0; left: 0; z-index: 700; pointer-events: none; width: 0; height: 0; display: none; }
.has-cursor .cursor { display: block; }
.cursor span { position: absolute; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .82rem; font-weight: 600; transform: scale(0); transition: transform .35s var(--ease); }
.cursor.is-on span { transform: scale(1); }

/* -------------------------------------------------------------------- nav */
.nav { position: fixed; top: 0; inset-inline: 0; z-index: 500; padding: 12px var(--gutter); transition: transform .5s var(--ease); }
.nav.is-hidden { transform: translateY(-120%); }
.nav__inner { max-width: var(--max); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px; padding-inline-start: 16px; border-radius: 20px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgba(227, 233, 240, .9); box-shadow: 0 14px 34px -22px rgba(13, 24, 38, .45); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; color: var(--ink); }
.brand__text small { font-size: .72rem; color: var(--muted); }
.nav__links { display: flex; gap: 2px; }
.nav__links a { padding: 8px 12px; border-radius: 10px; font-size: .93rem; font-weight: 500; transition: color .2s, background-color .2s; }
.nav__links a:hover, .nav__links a.is-current { background: var(--navy-soft); color: var(--navy); }
.nav__cta { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; position: relative; }
.burger span { position: absolute; inset-inline: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease); }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 450; background: #fff; padding: 110px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.menu[hidden] { display: none; }
.menu__photos { position: absolute; inset-inline-start: -40px; bottom: 80px; display: flex; gap: 10px; transform: rotate(-8deg); opacity: .5; }
.menu__photos img { width: 120px; aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; }
.menu__links { display: grid; gap: 2px; position: relative; }
.menu__links a { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 8vw, 2.8rem); color: var(--ink); display: flex; align-items: baseline; gap: 12px; line-height: 1.4; }
.menu__links small { font-size: .9rem; color: var(--orange); direction: ltr; }
.menu__phone { position: relative; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--navy); }

/* ------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(60% 70% at 15% 45%, var(--soft), #fff 70%), #fff; }
.hero__inner { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); padding: 120px 0 90px; }
.hero__content { position: relative; z-index: 2; }
.hero__title { font-size: clamp(2.5rem, 5.2vw, 4.7rem); font-weight: 900; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 18px; }
.hero__line { display: block; }
.hero__title em { font-style: normal; color: var(--orange); position: relative; white-space: nowrap; }
.hero__title em::after { content: ""; position: absolute; inset-inline: 0; bottom: .06em; height: .2em; background: var(--orange-soft); z-index: -1; border-radius: 4px; }
.hero__lead { font-size: clamp(1rem, 1.25vw, 1.14rem); color: var(--muted); max-width: 34rem; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 11px; background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 500; color: var(--ink); }
.hero__chips svg { color: var(--orange); }

/* framed photo wall: neat columns drifting up/down, tilted like a gallery wall */
.hero__visual { position: relative; perspective: 1600px; }
.photo-wall {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  height: clamp(460px, 72vh, 680px);
  transform: rotateY(-10deg) rotateX(4deg);
  transform-style: preserve-3d;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}
.wall-col { overflow: hidden; }
.wall-col__track { display: flex; flex-direction: column; gap: 16px; animation: wallUp 40s linear infinite; will-change: transform; }
.wall-col--down .wall-col__track { animation-name: wallDown; animation-duration: 46s; }
.wall-col--slow .wall-col__track { animation-duration: 52s; }
.photo-wall:hover .wall-col__track { animation-play-state: paused; }
@keyframes wallUp { to { transform: translateY(calc(-50% - 8px)); } }
@keyframes wallDown { from { transform: translateY(calc(-50% - 8px)); } to { transform: translateY(0); } }
.frame { margin: 0; padding: 7px; background: #fff; border-radius: 18px; box-shadow: 0 1px 2px rgba(13, 24, 38, .08), 0 18px 34px -18px rgba(13, 24, 38, .45); border: 1px solid var(--line); }
.frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; background: var(--soft); transition: transform .8s var(--ease); }
.frame:hover img { transform: scale(1.04); }
.hero__badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); font-size: .84rem; line-height: 1.3; color: var(--ink); animation: bob 5s ease-in-out infinite; }
.hero__badge b { font-family: var(--font-display); font-size: 2rem; color: var(--orange); }
.hero__badge--a { top: 12%; inset-inline-end: -14px; }
.hero__badge--b { bottom: 14%; inset-inline-start: -10px; animation-delay: -2.5s; }
.hero__badge-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--navy); color: #fff; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ------------------------------------------------------------------ trust */
.trust-wrap { position: relative; z-index: 3; margin-top: -40px; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust__item { display: flex; align-items: center; gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.trust b { display: block; font-family: var(--font-display); font-size: .98rem; color: var(--ink); line-height: 1.4; }
.trust small { color: var(--muted); font-size: .84rem; }
.trust__icon { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.trust__icon svg { width: 22px; height: 22px; }

/* --------------------------------------------------------- bg decorations */
.bg-photo { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 48%; pointer-events: none; overflow: hidden; z-index: 0; }
.bg-photo img { width: 100%; height: 120%; object-fit: cover; opacity: .09; filter: grayscale(.3); -webkit-mask-image: radial-gradient(70% 60% at 70% 40%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 70% 40%, #000, transparent 75%); }
.bg-photo--left { inset-inline-end: auto; inset-inline-start: 0; }
.floater { position: absolute; z-index: 1; width: clamp(120px, 12vw, 180px); aspect-ratio: 3/4; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); border: 6px solid #fff; pointer-events: none; }
.floater--a { top: 380px; inset-inline-end: -70px; rotate: 8deg; }
.floater--b { bottom: 90px; inset-inline-start: -40px; rotate: -10deg; }
.floater--c { top: 40px; inset-inline-start: -46px; rotate: -7deg; }

/* ---------------------------------------------------------- flip cards */
.services { background: linear-gradient(180deg, #fff, var(--soft) 30%, var(--soft) 80%, #fff); overflow: clip; }
.services .container { z-index: 2; }
.flips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1400px; }
.flip { height: 390px; perspective: 1200px; cursor: pointer; outline: none; }
.flip__inner { position: relative; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.flip:hover .flip__inner, .flip:focus-visible .flip__inner, .flip.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip:focus-visible .flip__inner { box-shadow: 0 0 0 3px var(--orange); border-radius: var(--r); }
.flip__face { position: absolute; inset: 0; border-radius: var(--r); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: var(--shadow); }
.flip__front img { width: 100%; height: 100%; object-fit: cover; }
.flip__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 24, 38, .82), rgba(13, 24, 38, .05) 55%); }
.flip__no { position: absolute; top: 14px; left: 16px; z-index: 1; font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1rem; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); padding: 2px 10px; border-radius: 8px; }
.flip__title { position: absolute; inset-inline: 18px; bottom: 18px; z-index: 1; display: grid; gap: 10px; }
.flip__title h3 { color: #fff; font-size: 1.3rem; }
.flip__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--orange); color: #fff; }
.flip__icon svg { width: 22px; height: 22px; }
.flip__turn { position: absolute; top: 14px; right: 14px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; }
.flip__back { transform: rotateY(180deg); background: var(--navy); color: #D5E1EE; padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; background-image: radial-gradient(80% 60% at 100% 0%, rgba(240, 138, 46, .3), transparent 70%); }
.flip__back h3 { color: #fff; font-size: 1.3rem; }
.flip__back p { font-size: .94rem; }
.flip__back .btn { margin-top: auto; align-self: flex-start; }
.flip__back .ticks li { color: #fff; }
.flip--cta { height: 390px; border-radius: var(--r); background: linear-gradient(150deg, var(--orange), #F6A35A); color: #fff; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow); }
.flip--cta__big { font-family: var(--font-display); font-weight: 900; font-size: 1.9rem; line-height: 1.3; }
.flip--cta__arrow { width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--orange-ink); display: grid; place-items: center; align-self: flex-end; transition: transform .4s var(--ease); }
.flip--cta:hover .flip--cta__arrow { transform: rotate(45deg); }
.ticks { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ticks li { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 500; color: var(--ink); }
.ticks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/11px no-repeat; }

/* ---------------------------------------------------------- cross marquee */
.xmarquee { position: relative; height: clamp(130px, 13vw, 180px); overflow: hidden; z-index: 3; }
.xmarquee__band { position: absolute; inset-inline: -6%; top: 50%; padding: 14px 0; overflow: hidden; }
.xmarquee__band--a { background: var(--navy); color: #fff; transform: translateY(-50%) rotate(-2.4deg); z-index: 2; box-shadow: var(--shadow); }
.xmarquee__band--b { background: var(--orange); color: #fff; transform: translateY(-50%) rotate(2deg); }
.xmarquee__track { display: flex; align-items: center; gap: 28px; width: max-content; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 2.2vw, 1.6rem); white-space: nowrap; will-change: transform; }
.xmarquee__track i { width: 9px; height: 9px; background: currentColor; transform: rotate(45deg); opacity: .6; }

/* ---------------------------------------------------------------- 360 ring */
.ring-sec { overflow: hidden; background: radial-gradient(60% 50% at 50% 60%, var(--soft), #fff 70%); }
.ring-sec__ghost { position: absolute; top: 40px; left: 50%; translate: -50% 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(8rem, 24vw, 22rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line); pointer-events: none; direction: ltr; }
.ring-stage { --w: clamp(170px, 17vw, 240px); position: relative; height: clamp(400px, 46vw, 600px); perspective: 1700px; display: grid; place-items: center; cursor: grab; touch-action: pan-y; user-select: none; }
.ring-stage:active { cursor: grabbing; }
.ring { position: relative; width: var(--w); aspect-ratio: 3 / 4; transform-style: preserve-3d; will-change: transform; }
.ring__card { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; background: var(--soft); box-shadow: 0 20px 40px -20px rgba(13, 24, 38, .5); transform: rotateY(var(--a)) translateZ(var(--r)); }
.ring__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ring__card span { position: absolute; inset-inline: 8px; bottom: 8px; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: .8rem; font-weight: 600; }
.ring__card::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: var(--dim, 0); pointer-events: none; }
.ring-floor { position: absolute; bottom: 4%; left: 50%; width: min(900px, 90vw); height: 80px; translate: -50% 0; background: radial-gradient(50% 50% at 50% 50%, rgba(13, 24, 38, .18), transparent 70%); pointer-events: none; }
.ring-ctrl { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 8px; }
.ring-ctrl__btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background-color .25s, color .25s; }
.ring-ctrl__btn:hover { background: var(--navy); color: #fff; }
.ring-ctrl__count { font-family: var(--font-display); font-weight: 600; color: var(--muted); min-width: 80px; text-align: center; }
.ring-ctrl__count b { color: var(--ink); }

/* -------------------------------------------------------------- colours */
.colors { --pick: #F4F1EA; overflow: hidden; }
.colors__tint { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 55% at 25% 55%, color-mix(in srgb, var(--pick) 55%, transparent), transparent 70%), radial-gradient(35% 45% at 85% 30%, color-mix(in srgb, var(--pick) 35%, transparent), transparent 70%); transition: background .8s; }
.colors__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; position: relative; }
.fan { position: relative; aspect-ratio: 1 / 1; max-height: 600px; width: 100%; }
.fan__gl { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.fan__hint { position: absolute; bottom: 4%; left: 50%; translate: -50% 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: .84rem; white-space: nowrap; }
.studio { display: grid; gap: 18px; }
.wall { position: relative; aspect-ratio: 4 / 4; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--soft); }
.wall__img, .wall__paint, .wall__wipe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.wall__img { object-fit: cover; }
.wall__paint { mix-blend-mode: multiply; pointer-events: none; background: var(--wall-now, #F4F1EA); clip-path: var(--wall-clip, inset(100%)); }
.wall__wipe { background: var(--wall-next, transparent); transform-origin: top; transform: scaleY(0); }
.wall__label { position: absolute; bottom: 14px; inset-inline-end: 14px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 600; font-size: .92rem; color: var(--ink); }
.wall__label i { width: 24px; height: 24px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.wall__hex { font-size: .78rem; color: var(--muted); }
.swatches { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.swatch { aspect-ratio: 1 / 1.35; border-radius: 9px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); transition: transform .35s var(--ease), box-shadow .3s; }
.swatch:hover { transform: translateY(-4px); }
.swatch[aria-checked="true"] { transform: translateY(-6px); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }

/* -------------------------------------------------------- stacking cards */
.process { background: linear-gradient(180deg, #fff, var(--soft)); }
.stack { display: grid; gap: 28px; }
.stack__card { position: sticky; top: calc(110px + var(--i) * 24px); display: grid; grid-template-columns: 1fr 1fr; min-height: min(62vh, 480px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; transform-origin: 50% 0; will-change: transform; }
.stack__card:nth-child(2) { background: var(--warm); }
.stack__card:nth-child(3) { background: var(--navy-soft); }
.stack__card:nth-child(4) { background: var(--navy); }
.stack__card:nth-child(4) h3 { color: #fff; }
.stack__card:nth-child(4) p { color: #C9D6E4; }
.stack__card:nth-child(4) .ticks li { color: #fff; }
.stack__text { padding: clamp(26px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.stack__no { font-family: var(--font-display); font-weight: 900; font-size: clamp(3.5rem, 7vw, 6rem); line-height: 1; color: var(--orange); direction: ltr; text-align: end; }
.stack__text h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.stack__text p { color: var(--muted); max-width: 30rem; }
.stack__media { position: relative; overflow: hidden; }
.stack__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ----------------------------------------------------------- before/after */
.transform { background: var(--warm); overflow: hidden; }
.transform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; z-index: 1; }
.transform .head__lead { margin-top: 12px; }
.compare { position: relative; aspect-ratio: 4 / 4.6; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); --pos: 50%; user-select: none; touch-action: pan-y; border: 8px solid #fff; }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare__label { position: absolute; top: 14px; padding: 4px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; pointer-events: none; }
.compare__label--before { left: 14px; background: rgba(13, 24, 38, .7); color: #fff; }
.compare__label--after { right: 14px; background: #fff; color: var(--ink); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; transform: translate(-50%, -50%); box-shadow: 0 0 0 6px rgba(255, 255, 255, .7); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.steps-done { display: grid; gap: 10px; margin-top: 22px; }
.steps-done li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #fff; border-radius: var(--r-sm); box-shadow: var(--shadow-sm); font-weight: 500; color: var(--ink); }
.steps-done b { font-family: var(--font-display); color: var(--orange); direction: ltr; }

/* ---------------------------------------------------- horizontal gallery */
.work { position: relative; overflow: hidden; background: #fff; }
.work__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 100px 0 60px; }
.work__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; }
.work__count { font-family: var(--font-display); font-weight: 600; color: var(--muted); direction: ltr; }
.work__count b { color: var(--ink); font-size: 1.6rem; }
.work__track { display: flex; gap: 22px; width: max-content; padding-inline: var(--gutter); perspective: 1400px; }
.wcard { position: relative; width: clamp(250px, 26vw, 360px); aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); box-shadow: var(--shadow); text-align: start; transform-style: preserve-3d; will-change: transform; }
.wcard__media { position: absolute; inset: 0; overflow: hidden; }
.wcard__media img { position: absolute; top: 0; left: -10%; width: 120%; max-width: none; height: 100%; object-fit: cover; will-change: transform; }
.wcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 24, 38, .7), transparent 50%); }
.wcard__cap { position: absolute; inset-inline: 18px; bottom: 16px; z-index: 1; color: #fff; display: grid; line-height: 1.5; }
.wcard__cap b { font-family: var(--font-display); font-size: 1.2rem; }
.wcard__cap small { opacity: .85; }
.wcard--cta { display: flex; flex-direction: column; justify-content: space-between; padding: 28px; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; line-height: 1.3; }
.wcard--cta::after { display: none; }
.wcard--cta svg { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--orange); align-self: flex-end; }

/* ----------------------------------------------------------------- types */
.types__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1200px; }
.type { position: relative; aspect-ratio: 3 / 3.8; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transform-style: preserve-3d; will-change: transform; }
.type img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.type:hover img { transform: scale(1.08); }
.type::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 24, 38, .78), transparent 55%); }
.type__glare { position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .45), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.type:hover .type__glare { opacity: 1; }
.type__cap { position: absolute; inset-inline: 18px; bottom: 16px; z-index: 2; color: #fff; display: grid; line-height: 1.45; transform: translateZ(40px); }
.type__cap b { font-family: var(--font-display); font-size: 1.25rem; }

/* ------------------------------------------------------------------ band */
.band { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(36px, 5vw, 56px) 0; }
.band__bg { position: absolute; inset: -20% 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .14; }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.band__num { display: flex; align-items: center; gap: 12px; }
.band__num span { font-family: var(--font-display); font-weight: 900; font-size: 4rem; line-height: 1; color: var(--orange); }
.band__num small { font-size: .95rem; max-width: 7.5rem; line-height: 1.4; color: #D5E1EE; }
.band__text { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.2rem, 2.2vw, 1.6rem); flex: 1; min-width: 240px; }
.band__btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ------------------------------------------------------------ areas + faq */
.faq { overflow: clip; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; z-index: 2; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.areas li { padding: 6px 14px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--ink); transition: background-color .25s, color .25s; }
.areas li:hover { background: var(--navy); color: #fff; }
.areas__more { background: var(--orange-soft) !important; border-color: transparent !important; color: var(--orange-ink) !important; }
.faq__list { display: grid; gap: 10px; margin-top: 22px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 18px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--navy-soft); color: var(--navy); font-size: 1.2rem; transition: transform .35s var(--ease), background-color .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 18px 16px; color: var(--muted); }

/* --------------------------------------------------------------- contact */
.contact { padding-top: 0; }
.contact__box { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 48px); align-items: center; background: var(--navy); color: #D5E1EE; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 52px); background-image: radial-gradient(50% 80% at 100% 0%, rgba(240, 138, 46, .3), transparent 70%); overflow: visible; }
.contact__photos { position: absolute; inset: 0; pointer-events: none; }
.contact__photos img { position: absolute; width: 130px; aspect-ratio: 3/4; object-fit: cover; border-radius: 16px; border: 5px solid #fff; box-shadow: var(--shadow-lg); z-index: 1; pointer-events: none; }
.contact__photos img:first-child { top: -50px; inset-inline-start: 34%; rotate: -8deg; }
.contact__photos img:last-child { bottom: -40px; inset-inline-start: 40%; rotate: 7deg; }
.contact__copy { position: relative; z-index: 2; }
.contact__title { color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 900; margin-bottom: 10px; }
.contact__phone { display: inline-block; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 3.8vw, 2.8rem); color: #fff; margin: 14px 0; border-bottom: 3px solid var(--orange); line-height: 1.4; }
.contact__list { display: grid; gap: 8px; }
.contact__list li { display: flex; align-items: center; gap: 8px; }
.contact__list svg { color: var(--orange); }
.quote { position: relative; z-index: 2; background: #fff; color: var(--text); border-radius: var(--r); padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; box-shadow: var(--shadow-lg); }
.quote h3 { font-size: 1.25rem; }
.quote__services { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.quote__services legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; color: var(--ink); }
.quote__services legend small { color: var(--muted); font-weight: 400; }
.pill { position: relative; }
.pill input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-block; padding: 6px 13px; border-radius: 10px; border: 1px solid var(--line); background: var(--soft); font-size: .88rem; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; transform: scale(1.04); }
.pill input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.quote__services[aria-invalid="true"] .pill span { border-color: #C62828; }
.quote__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 4px; }
.field span { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); width: 100%; padding: 10px 14px; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-soft); }
.field [aria-invalid="true"] { border-color: #C62828; }
.quote__error { color: #C62828; font-size: .9rem; font-weight: 500; }

/* ---------------------------------------------------------------- footer */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: 52px 0 20px; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; position: relative; z-index: 1; }
.footer__about { margin-top: 14px; color: var(--muted); max-width: 26rem; font-size: .95rem; }
.footer nav, .footer__contact { display: grid; gap: 8px; align-content: start; font-size: .95rem; }
.footer nav b, .footer__contact b { font-family: var(--font-display); color: var(--ink); margin-bottom: 4px; }
.footer a:hover { color: var(--orange-ink); }
.footer__contact a:first-of-type { font-weight: 700; color: var(--navy); justify-self: start; }
.footer__giant { font-family: var(--font-display); font-weight: 900; font-size: clamp(6rem, 22vw, 20rem); line-height: 1.35; text-align: center; padding-top: .1em; color: transparent; background: linear-gradient(90deg, var(--navy), var(--orange)) 0 0 / var(--fill, 0%) 100% no-repeat, linear-gradient(var(--soft-2), var(--soft-2)); -webkit-background-clip: text; background-clip: text; user-select: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); position: relative; z-index: 1; }

/* ------------------------------------------------------------------- fab */
/* call on the left edge, WhatsApp on the right edge */
.fab { display: contents; }
.fab__btn { position: fixed; bottom: 18px; z-index: 400; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .4); transition: transform .25s var(--ease); }
.fab__btn svg { width: 24px; height: 24px; }
.fab__btn:hover { transform: scale(1.07); }
.fab__btn--wa { right: 18px; background: var(--wa); color: #fff; }
.fab__btn--wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s ease-out infinite; }
.fab__btn--call { left: 18px; background: #fff; color: var(--navy); border: 1px solid var(--line); }
@keyframes ping { to { transform: scale(1.7); opacity: 0; } }

/* ---------------------------------------------------------------- viewer */
.viewer { position: fixed; inset: 0; z-index: 850; display: grid; place-items: center; }
.viewer[hidden] { display: none; }
.viewer__bg { position: absolute; inset: 0; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.viewer__img { position: fixed; top: 0; left: 0; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); transform-origin: 0 0; }
.viewer__cap { position: fixed; bottom: 4vh; left: 50%; translate: -50% 0; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--ink); background: #fff; padding: 6px 18px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.viewer__close { position: fixed; top: 20px; inset-inline-end: 20px; width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 1.7rem; line-height: 1; display: grid; place-items: center; }

/* -------------------------------------------------------- motion hooks */
.js-motion [data-up] { opacity: 0; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1120px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .flips { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .floater { display: none; }
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding: 110px 0 70px; }
  .photo-wall { height: 420px; transform: none; }
  .hero__badge--a { inset-inline-end: 6px; }
  .hero__badge--b { inset-inline-start: 6px; }
  .trust-wrap { margin-top: -30px; }
  .colors__grid, .transform__grid, .faq__grid, .contact__box { grid-template-columns: 1fr; }
  .fan { max-width: 480px; margin-inline: auto; }
  .stack__card { grid-template-columns: 1fr; min-height: 0; top: calc(90px + var(--i) * 14px); }
  .stack__media { aspect-ratio: 16 / 10; order: -1; }
  .work__pin { min-height: 0; padding: 70px 0; }
  .work__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
  .work__track::-webkit-scrollbar { display: none; }
  .wcard { flex: 0 0 72vw; scroll-snap-align: center; }
  .types__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__photos { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: span 2; }
  .swatches { grid-template-columns: repeat(10, 1fr); gap: 4px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hide-sm { display: none !important; }
  .brand__text small { display: none; }
  .hero__chips { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .flips { grid-template-columns: 1fr 1fr; gap: 10px; }
  .flip, .flip--cta { height: 280px; }
  .flip__title h3, .flip__back h3 { font-size: 1.02rem; }
  .flip__back { padding: 16px 14px; gap: 8px; }
  .flip__back p { font-size: .8rem; line-height: 1.6; }
  .flip__back .ticks { display: none; }
  .flip__icon { width: 38px; height: 38px; }
  .flip--cta { padding: 18px; }
  .flip--cta__big { font-size: 1.3rem; }
  .trust { grid-template-columns: 1fr; gap: 8px; }
  .trust__item { padding: 12px; }
  .ring-stage { --w: 150px; height: 360px; }
  .quote__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__grid > div:first-child { grid-column: auto; }
  .footer__bottom { flex-direction: column; }
  .fab__btn { bottom: 12px; width: 50px; height: 50px; }
  .fab__btn--call { left: 12px; }
  .fab__btn--wa { right: 12px; }
}
@media (max-width: 380px) { .hide-xs { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js-motion [data-up] { opacity: 1; }
}
