/* ==========================================================================
   JINNI JINS — shared design system
   Interior finishing studio, Lahore. Grey structure -> finished space.
   Palette is the client-supplied 5 brand colors + 2 neutrals.
   ========================================================================== */

/* ---- Fonts: Clash Display (display) + Satoshi (body) via Fontshare ----
   Loaded with <link> in each page <head>; families referenced here. */

:root {
  /* Brand palette (exact client spec) */
  --ink:      #071E22;   /* deepest teal / near-black */
  --teal:     #1D7874;   /* primary brand */
  --sage:     #679289;   /* secondary, calm surfaces */
  --peach:    #F4C095;   /* warm accent */
  --red:      #EE2E31;   /* energy accent — CTAs only */
  --paper:    #FAF8F4;   /* off-white base */
  --paper-2:  #FFFFFF;   /* pure white cards on dark */

  /* Derived tints */
  --ink-2:    #0c2a30;
  --teal-ink: #0f3f3c;
  --red-deep: #c8211f;
  --line:     color-mix(in srgb, var(--ink) 14%, transparent);
  --line-on-dark: color-mix(in srgb, var(--paper) 18%, transparent);

  /* Type */
  --font-display: "Clash Display", "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Satoshi", "Inter", system-ui, -apple-system, sans-serif;

  /* Fluid type scale (clamp: mobile -> desktop) */
  --fs-mega:  clamp(2.8rem, 1.2rem + 8vw, 6rem);
  --fs-h1:    clamp(2.3rem, 1.2rem + 5.2vw, 4.5rem);
  --fs-h2:    clamp(1.9rem, 1.2rem + 3.2vw, 3.1rem);
  --fs-h3:    clamp(1.35rem, 1rem + 1.6vw, 1.9rem);
  --fs-lead:  clamp(1.05rem, 0.95rem + 0.6vw, 1.35rem);
  --fs-body:  clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --fs-sm:    0.875rem;
  --fs-eyebrow: 0.78rem;

  /* Spacing */
  --space-section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --container: 1240px;
  --gutter: clamp(1.15rem, 0.6rem + 2.4vw, 2.6rem);
  --radius: 18px;
  --radius-lg: 28px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* z-index scale */
  --z-base: 1;
  --z-reel: 2;
  --z-nav: 50;
  --z-float: 60;
  --z-panel: 70;
  --z-overlay: 80;
  --z-curtain: 95;
  --z-loader: 100;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
.display { font-family: var(--font-display); font-weight: 700; line-height: 0.98; letter-spacing: -0.03em; }
.fs-mega { font-size: var(--fs-mega); }
.fs-h1 { font-size: var(--fs-h1); }
.fs-h2 { font-size: var(--fs-h2); }
.fs-h3 { font-size: var(--fs-h3); }
.lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 60ch; }
p { max-width: 68ch; }
.muted { color: color-mix(in srgb, currentColor 66%, transparent); }
.eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); display: inline-flex; align-items: center; gap: 0.6em; margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; opacity: 0.9; }
.accent-teal { color: var(--teal); }
.accent-red { color: var(--red); }
.accent-peach { color: var(--peach); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1480px; }
.section { position: relative; padding-block: var(--space-section); }
.section-head { max-width: 56ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.grid { display: grid; gap: clamp(1rem, 2.5vw, 2rem); }

/* Section color system — consecutive sections alternate. Text contrast baked in. */
.sec--ink    { background: var(--ink);   color: var(--paper); }
.sec--teal   { background: var(--teal);  color: var(--paper); }
.sec--sage   { background: var(--sage);  color: var(--ink); }
.sec--peach  { background: var(--peach); color: var(--ink); }
.sec--paper  { background: var(--paper); color: var(--ink); }
.sec--paper2 { background: var(--paper-2); color: var(--ink); }
.on-dark, .sec--ink, .sec--teal { --hairline: var(--line-on-dark); }
.sec--sage, .sec--peach, .sec--paper, .sec--paper2 { --hairline: var(--line); }
.sec--ink .eyebrow, .sec--teal .eyebrow { color: var(--peach); }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--paper);
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.95em 1.6em; border-radius: 100px;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-body);
  background: var(--btn-bg); color: var(--btn-fg);
  position: relative; will-change: transform;
  transition: transform 0.45s var(--ease-out), background 0.3s ease, color 0.3s ease, box-shadow 0.4s var(--ease-out);
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform 0.4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { --btn-bg: var(--red); --btn-fg: var(--paper-2); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--red) 70%, transparent); }
.btn--primary:hover { box-shadow: 0 16px 40px -10px color-mix(in srgb, var(--red) 65%, transparent); }
.btn--ghost { background: transparent; color: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: currentColor; }
.btn--ghost:hover span { color: var(--ink); }
.sec--ink .btn--ghost:hover span, .sec--teal .btn--ghost:hover span { color: var(--ink); }
.btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); }

.link-grow { position: relative; font-weight: 600; }
.link-grow::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease-out); }
.link-grow:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem var(--gutter);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.site-nav.scrolled {
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-on-dark); padding-block: 0.8rem;
}
.site-nav.scrolled .brand, .site-nav.scrolled .nav-links a, .site-nav.scrolled .hamburger { color: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--paper); }
.brand .mark { width: 30px; height: 30px; flex: none; }
.mark { fill: none; stroke: var(--peach); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mark * { vector-effect: non-scaling-stroke; }
.brand b { color: var(--red); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav-links a { color: var(--paper); font-weight: 500; font-size: 0.96rem; position: relative; padding-block: 0.3rem; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--peach); transform: scaleX(0); transform-origin: center; transition: transform 0.4s var(--ease-out); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--peach); }
.nav-cta { margin-left: 0.5rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 34px; height: 34px; align-items: center; justify-content: center; color: var(--paper); z-index: calc(var(--z-overlay) + 1); }
.hamburger span { width: 26px; height: 2px; background: currentColor; transition: transform 0.4s var(--ease-out), opacity 0.3s ease; }
.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .hamburger span:nth-child(2) { opacity: 0; }
.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 0.2rem;
  padding: 2rem var(--gutter); transform: translateY(-100%);
  visibility: hidden; pointer-events: none;
  transition: transform 0.55s var(--ease-out), visibility 0s linear 0.55s;
}
.nav-overlay a { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.18; color: var(--paper); }
.nav-overlay a .idx { font-family: var(--font-body); font-size: 0.9rem; color: var(--peach); vertical-align: super; margin-right: 0.6rem; font-weight: 600; }
.nav-overlay .ov-foot { margin-top: 2.2rem; font-family: var(--font-body); color: color-mix(in srgb, var(--paper) 70%, transparent); display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: 0.95rem; }
.nav-overlay .ov-foot a { font-family: var(--font-body); font-size: 0.95rem; }
.nav-open .nav-overlay { transform: translateY(0); visibility: visible; pointer-events: auto; transition: transform 0.55s var(--ease-out); }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ---------- Loader ---------- */
#loader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
}
#loader .ldr-inner { text-align: center; }
#loader .ldr-mark { width: 56px; height: 56px; margin: 0 auto 1.1rem; }
#loader .ldr-word { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 7vw, 3rem); letter-spacing: -0.02em; }
#loader .ldr-word b { color: var(--red); }
#loader .ldr-sub { font-size: 0.8rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--peach); margin-top: 0.6rem; }
#loader .ldr-bar { width: min(220px, 60vw); height: 2px; background: var(--line-on-dark); margin: 1.4rem auto 0; overflow: hidden; }
#loader .ldr-bar i { display: block; height: 100%; width: 0; background: var(--peach); }

/* ---------- Page transition curtain ---------- */
#curtain { position: fixed; inset: 0; z-index: var(--z-curtain); background: var(--ink); transform: translateY(100%); pointer-events: none; }
#curtain .curtain-mark { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; }
#curtain .curtain-mark span { font-family: var(--font-display); font-weight: 700; color: var(--paper); font-size: clamp(1.6rem, 6vw, 2.6rem); }
#curtain .curtain-mark b { color: var(--red); }

/* ---------- Floating actions: WhatsApp + Chatbot ---------- */
.float-stack { position: fixed; right: clamp(1rem, 3vw, 1.6rem); bottom: clamp(1rem, 3vw, 1.6rem); z-index: var(--z-float); display: flex; flex-direction: column; gap: 0.85rem; align-items: center; }
.fab { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,0.4); transition: transform 0.4s var(--ease-out); }
.fab svg { width: 28px; height: 28px; }
.fab:hover { transform: scale(1.08); }
.fab--wa { background: #25D366; color: #fff; }
.fab--wa::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #25D366; opacity: 0.5; animation: waPulse 2.4s var(--ease-out) infinite; }
.fab-wrap { position: relative; }
@keyframes waPulse { 0% { transform: scale(0.9); opacity: 0.6; } 70% { transform: scale(1.4); opacity: 0; } 100% { opacity: 0; } }
.fab--bot { background: var(--ink); color: var(--peach); box-shadow: 0 12px 30px -8px rgba(7,30,34,0.6); }
@media (prefers-reduced-motion: reduce) { .fab--wa::after { animation: none; } }

/* Chatbot panel */
.chat-panel {
  position: fixed; right: clamp(1rem, 3vw, 1.6rem); bottom: calc(58px + 58px + 2.4rem + clamp(1rem,3vw,1.6rem));
  width: min(380px, calc(100vw - 2rem)); height: min(540px, calc(100vh - 8rem));
  background: var(--paper); border-radius: 22px; z-index: var(--z-panel);
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(7,30,34,0.55), 0 0 0 1px var(--line);
  opacity: 0; transform: translateY(24px) scale(0.96); pointer-events: none;
  transform-origin: bottom right;
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.chat-open .chat-panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.chat-head { background: var(--ink); color: var(--paper); padding: 1rem 1.15rem; display: flex; align-items: center; gap: 0.75rem; }
.chat-head .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; flex: none; }
.chat-head .avatar svg { width: 20px; height: 20px; }
.chat-head h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; }
.chat-head .status { font-size: 0.74rem; color: var(--peach); display: flex; align-items: center; gap: 0.35rem; }
.chat-head .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.chat-head .chat-close { margin-left: auto; color: var(--paper); opacity: 0.8; }
.chat-head .chat-close:hover { opacity: 1; }
.chat-body { flex: 1; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; background: var(--paper); }
.chat-msg { max-width: 82%; padding: 0.7rem 0.95rem; border-radius: 16px; font-size: 0.93rem; line-height: 1.45; }
.chat-msg.bot { background: var(--paper-2); color: var(--ink); border-bottom-left-radius: 5px; box-shadow: 0 2px 10px -4px rgba(7,30,34,0.18); align-self: flex-start; }
.chat-msg.user { background: var(--teal); color: var(--paper); border-bottom-right-radius: 5px; align-self: flex-end; }
.chat-msg a { text-decoration: underline; }
.chat-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 0.8rem 1rem; background: var(--paper-2); border-radius: 16px; box-shadow: 0 2px 10px -4px rgba(7,30,34,0.18); }
.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); animation: blink 1.2s infinite both; }
.chat-typing i:nth-child(2) { animation-delay: 0.2s; } .chat-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0 1.1rem 0.6rem; }
.chip { font-size: 0.8rem; padding: 0.45rem 0.8rem; border-radius: 100px; background: color-mix(in srgb, var(--sage) 22%, var(--paper)); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.25s ease; }
.chip:hover { background: var(--peach); }
.chat-input { display: flex; gap: 0.5rem; padding: 0.8rem; border-top: 1px solid var(--line); background: var(--paper); }
.chat-input input { flex: 1; padding: 0.7rem 0.95rem; border-radius: 100px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.92rem; }
.chat-input input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--teal); }
.chat-send { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; transition: transform 0.3s var(--ease-out); }
.chat-send:hover { transform: scale(1.06); }
.chat-send svg { width: 18px; height: 18px; }

/* ---------- Video components ---------- */
.video-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink-2); box-shadow: 0 30px 60px -28px rgba(7,30,34,0.6); }
.video-frame video, .video-frame img { width: 100%; height: 100%; object-fit: cover; }
.video-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line-on-dark); border-radius: inherit; pointer-events: none; }
.v-portrait { aspect-ratio: 9 / 16; }
.v-land { aspect-ratio: 16 / 9; }
.v-square { aspect-ratio: 1; }
.video-caption { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; color: var(--peach); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; text-shadow: 0 2px 14px rgba(0,0,0,0.6); }

/* Phone-reel marquee (auto-scrolling column/row of portrait clips used as motion) */
.reel { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reel-track { display: flex; gap: 1.1rem; width: max-content; will-change: transform; }
.reel-track .video-frame { width: clamp(150px, 22vw, 230px); aspect-ratio: 9/16; flex: none; }

/* ---------- Cards ---------- */
.card { background: var(--paper-2); border-radius: var(--radius); padding: clamp(1.4rem, 2.5vw, 2rem); box-shadow: 0 1px 0 var(--line); position: relative; overflow: hidden; }
.sec--ink .card, .sec--teal .card { background: color-mix(in srgb, var(--paper) 8%, transparent); box-shadow: inset 0 0 0 1px var(--line-on-dark); color: var(--paper); }
.stat { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 1.5rem + 4vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; }
.stat .unit { color: var(--red); }
.sec--ink .stat .unit, .sec--teal .stat .unit { color: var(--peach); }
.stat-label { margin-top: 0.5rem; font-size: var(--fs-sm); color: color-mix(in srgb, currentColor 65%, transparent); }

/* ---------- Reveal utilities ----------
   Content is visible by default. JS (motion allowed) sets the from-state. */
[data-reveal], [data-stagger] > * { will-change: transform, opacity; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.site-footer .brand { font-size: 1.6rem; margin-bottom: 1rem; }
.site-footer p { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.footer-col h5 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--peach); margin-bottom: 1rem; }
.footer-col a { display: block; padding: 0.3rem 0; color: color-mix(in srgb, var(--paper) 82%, transparent); }
.footer-col a:hover { color: var(--peach); }
.footer-bottom { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.4rem; border-top: 1px solid var(--line-on-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; font-size: 0.85rem; color: color-mix(in srgb, var(--paper) 58%, transparent); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .site-footer .brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Shared hero scaffold ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding-bottom: clamp(3rem, 7vw, 6rem); padding-top: 8rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg video, .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 55%, transparent) 0%, color-mix(in srgb, var(--ink) 35%, transparent) 40%, color-mix(in srgb, var(--ink) 88%, transparent) 100%); }
.hero .container { position: relative; z-index: 1; }
.hero-sub { margin-top: 1.4rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.scroll-hint { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 1; color: var(--peach); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.scroll-hint i { width: 1px; height: 34px; background: currentColor; transform-origin: top; animation: scrollLine 1.8s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (prefers-reduced-motion: reduce) { .scroll-hint i, .scroll-line { animation: none; } }

/* Decorative parallax shapes */
.deco { position: absolute; pointer-events: none; z-index: 0; opacity: 0.5; }
.deco-ring { border-radius: 50%; border: 1px solid var(--line-on-dark); }

/* Generic two-column */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Utility */
.center { text-align: center; margin-inline: auto; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Reduced motion: kill heavy effects */
@media (prefers-reduced-motion: reduce) {
  .reel-track { transform: none !important; }
  .deco { display: none; }
  .fab:hover { transform: none; }
}

/* ---------- Shared section components (used by several pages) ---------- */
.hero--short { min-height: 78svh; }
.cta-band { text-align: center; }
.cta-band .hero-cta { margin-top: 2rem; }
.stat-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 760px) { .stat-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.svc-num { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--red); letter-spacing: 0.05em; display: inline-block; margin-bottom: 0.6rem; }
.sec--ink .svc-num, .sec--teal .svc-num { color: var(--peach); }
.tick-list { display: grid; gap: 0.55rem; max-width: 46ch; }
.tick-list li { position: relative; padding-left: 1.8rem; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 11px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.sec--ink .tick-list li::before, .sec--teal .tick-list li::before { border-color: var(--peach); }
.split--rev .svc-media { order: 2; }
@media (max-width: 820px) { .split--rev .svc-media { order: 0; } }

/* ── Market grid (Pakistan + UAE section) ───────────────────────────────── */
.markets { }
.market-grid { grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 740px) { .market-grid { grid-template-columns: 1fr; } }
.market-card {
  background: color-mix(in srgb, var(--paper) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--paper) 14%, transparent);
  border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.8rem);
}
.market-card--ae { background: color-mix(in srgb, var(--peach) 10%, transparent); border-color: color-mix(in srgb, var(--peach) 22%, transparent); }
.market-badge { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.18em; color: var(--peach); border: 1.5px solid var(--peach); border-radius: 6px; padding: 0.25rem 0.65rem; margin-bottom: 1rem; }
.market-card--ae .market-badge { color: var(--teal); border-color: var(--teal); }
.market-years { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 7vw, 5rem); line-height: 1; color: var(--paper); margin-bottom: 0.5rem; }
.market-years sup { font-size: 0.5em; vertical-align: super; }
.market-card h3 { color: var(--paper); }
.muted-light { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.tick-list--light li { color: color-mix(in srgb, var(--paper) 88%, transparent); }
.tick-list--light li::before { border-color: var(--peach); }

/* ── Trade lines (about page grid of all 11 trades) ─────────────────────── */
.trade-line { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0; font-weight: 600; font-size: 0.96rem; border-bottom: 1px solid var(--line); color: var(--ink); }
.trade-icon { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; }
.trade-icon svg { width: 22px; height: 22px; }
.sec--sage .trade-line { border-color: color-mix(in srgb, var(--ink) 14%, transparent); }

/* ── Service nav grid (top of services page) ─────────────────────────────── */
.svc-nav-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.7rem; }
.svc-nav-card { display: flex; flex-direction: column; align-items: center; gap: 0.55rem; padding: 1.2rem 0.8rem; border-radius: 14px; text-align: center; background: var(--paper-2); box-shadow: 0 1px 0 var(--line); font-weight: 700; font-size: 0.85rem; color: var(--ink); transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out); }
.svc-nav-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px -14px rgba(7,30,34,0.3); color: var(--teal); }
.svc-nav-card .svc-icon { width: 42px; height: 42px; display: grid; place-items: center; background: color-mix(in srgb, var(--teal) 10%, var(--paper)); border-radius: 10px; color: var(--teal); }
.svc-nav-card .svc-icon svg { width: 22px; height: 22px; }
.svc-nav-label { line-height: 1.25; }

/* ── Contact page enhancements ───────────────────────────────────────────── */
.contact-scope h3 { font-size: 1.25rem; }
.contact-markets { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.mkt-badge { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; padding: 0.35rem 0.9rem; border-radius: 100px; background: color-mix(in srgb, var(--teal) 12%, var(--paper-2)); color: var(--teal); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--teal) 30%, transparent); }

/* ── Testimonials quote country badge ───────────────────────────────────── */
.quote-head { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.quote-country { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; padding: 0.2rem 0.6rem; border-radius: 6px; background: color-mix(in srgb, var(--teal) 12%, var(--paper)); color: var(--teal); }

/* ── Values grid (about) ────────────────────────────────────────────────── */
.values-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 680px) { .values-grid { grid-template-columns: 1fr; } }
