/* ==========================================================
   Brandellox — premium layer (Apple-inspired)
   Loaded after style.css on every page. Calm white + light-grey
   canvas, very large tight headlines, frosted nav, pill buttons,
   and the brand purple used only as an accent.
   ========================================================== */
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1d1d1f;
  --heading: #1d1d1f;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --soft: #f5f5f7;
  --line: #d2d2d7;
  --accent: #a100ff;
  --accent-hover: #8700d6;
  --purple: #a100ff;
  --purple-2: #b44dff;
  --grad: linear-gradient(135deg, #a100ff 0%, #c46bff 100%);
  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-alt: var(--font);
  --header-h: 52px;
  --ease: cubic-bezier(.25, .1, .25, 1);
}

body { background: #fff; color: var(--ink); font-family: var(--font); letter-spacing: -0.01em; line-height: 1.47; }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -0.025em; font-weight: 600; }
::selection { background: rgba(161, 0, 255, .18); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Buttons: pills ---------- */
.btn { border-radius: 980px !important; font-weight: 500; letter-spacing: -0.01em; transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.btn-purple, .btn-glow, .btn-pill { background: var(--accent); color: #fff; border: 0; box-shadow: none; }
.btn-purple:hover, .btn-glow:hover, .btn-pill:hover { background: var(--accent-hover); transform: none; box-shadow: none; }
.btn-black { background: var(--ink); color: #fff; }
.btn-black:hover { background: #000; }
.btn-dark-outline { background: transparent; border: 1px solid rgba(255, 255, 255, .5); color: #fff; }
.btn-dark-outline:hover { border-color: #fff; }
.link-more { color: var(--accent); font-weight: 500; font-size: 17px; }
.link-more:hover { text-decoration: underline; }
.link-more::after { content: " ›"; }

/* ---------- Header: frosted glass ---------- */
.site-header {
  height: var(--header-h); background: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, .08); box-shadow: none;
}
/* Frosted glass lives on a pseudo-element: a backdrop-filter on the header itself
   would trap the fixed mobile menu inside the 52px bar. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.site-header .brand-logo img { height: 20px; width: auto; }
.nav-link { font-size: 13px; font-weight: 400; color: rgba(29, 29, 31, .85); padding: 0 10px; letter-spacing: -0.01em; }
.nav-link:hover, .nav-link.active, .nav-item:hover > .nav-link { color: var(--ink); }
.nav-link.active { font-weight: 500; }
.nav-login { background: var(--ink) !important; color: #fff !important; border-radius: 980px; padding: 5px 14px !important; font-size: 12px; font-weight: 500; }
.nav-login:hover { background: #000 !important; }
.dropdown {
  border-radius: 14px; border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); padding: 8px 0;
}
.dropdown a { font-size: 14px; color: var(--ink); padding: 8px 20px; }
.dropdown a:hover, .dropdown a.active { background: var(--soft); color: var(--ink); }
.menu-toggle { color: var(--ink); }

/* ---------- Home hero ---------- */
.hero.hero-apple { background: #fff; padding: 72px 0 0; text-align: center; overflow: hidden; }
.hero-apple .hero-copy { width: min(860px, 100% - 40px); margin: 0 auto; }
.hero-apple .hero-kicker { font-size: 21px; font-weight: 600; color: var(--accent); margin: 0 0 8px; letter-spacing: -0.01em; }
.hero-apple h1 { font-size: clamp(44px, 7.4vw, 88px); font-weight: 700; line-height: 1.03; letter-spacing: -0.045em; color: var(--ink); }
.hero-apple .hero-text { margin: 22px auto 0; max-width: 640px; font-size: clamp(19px, 2.1vw, 24px); line-height: 1.38; color: var(--muted); font-weight: 400; }
.hero-apple .hero-actions { justify-content: center; align-items: center; gap: 28px; margin-top: 30px; }
.hero-apple .hero-actions .btn { padding: 12px 24px; font-size: 17px; }
.hero-apple .hero-photo { width: min(1200px, 100% - 40px); margin: 56px auto 0; }
.hero-apple .hero-photo img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 35%;
  border-radius: 28px; transform-origin: 50% 0;
}
@supports (animation-timeline: view()) {
  .hero-apple .hero-photo img { animation: bx-settle linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  @keyframes bx-settle { from { transform: scale(.94); } to { transform: scale(1); } }
}

/* Old decorative hero shapes are retired */
.hero-deco { display: none !important; }

/* ---------- Tagline strip ---------- */
.marquee { background: #fff; border: 0; padding: 60px 0 24px; }
.marquee-item { font-size: clamp(28px, 4vw, 48px); font-weight: 600; letter-spacing: -0.035em; color: #d2d2d7; }
.marquee-dot { width: 10px; height: 10px; background: var(--accent); }

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.04em; color: var(--ink); line-height: 1.07; }
.section-head p { font-size: 21px; color: var(--muted); margin-top: 14px; line-height: 1.38; }

/* ---------- Solutions: Apple tiles ---------- */
.solutions { background: var(--soft); padding: 110px 0; }
.solutions .cards-3 { gap: 20px; }
.sol-card {
  background: #fff; border-radius: 28px; border: 0; box-shadow: none; padding: 44px 36px 40px; text-align: left;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.sol-card:hover { transform: scale(1.015); box-shadow: 0 20px 50px rgba(0, 0, 0, .08); }
.icon-circle { width: 52px; height: 52px; border-radius: 14px; background: var(--soft); color: var(--accent); margin: 0 0 26px; font-size: 22px; }
.sol-card h3 { font-size: 30px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 12px; }
.sol-card h3 br { display: none; }
.sol-card p { font-size: 17px; color: var(--muted); min-height: 0; margin-bottom: 22px; }
.sol-card .btn-pill { background: none !important; color: var(--accent) !important; padding: 0 !important; font-size: 17px; }
.sol-card .btn-pill:hover { text-decoration: underline; }

/* ---------- Dark CTA band (like Apple's Pro tiles) ---------- */
.cta-band { padding: 0; margin: 0; background: #fff; }
.cta-inner { background: #000; padding: 120px 0; border-radius: 0; }
.cta-inner h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.cta-inner h2 br { display: none; }
.cta-inner p { color: #a1a1a6; font-size: 19px; line-height: 1.45; }
.cta-actions .btn { padding: 12px 24px; font-size: 17px; }
.contact-card { background: #1d1d1f; border: 1px solid #2c2c2e; border-radius: 20px; box-shadow: none; }
.contact-card:hover { transform: none; border-color: #48484a; }
.contact-card .ic { background: rgba(161, 0, 255, .16); color: #c98bff; }
.contact-card small { color: #86868b; }
.contact-card strong { color: #f5f5f7; font-weight: 600; }
.contact-card span { color: #86868b; }

/* ---------- Trending + FAQ ---------- */
.trend-faq { background: #fff; padding: 110px 0; }
.trending h2 { font-size: 40px; font-weight: 700; letter-spacing: -0.035em; }
.trend-list a { color: var(--ink); }
.trend-list a:hover { color: var(--accent); }
.faq-item { border-color: var(--line); }
.faq-q { color: var(--ink); font-weight: 600; letter-spacing: -0.015em; }
.faq-a p { color: var(--muted); }

/* ---------- Inner page heroes ---------- */
.page-hero { background: #fff; padding: 96px 0 56px; text-align: center; }
.page-hero .container > * { margin-left: auto; margin-right: auto; }
.page-hero h1 { font-size: clamp(42px, 6.4vw, 80px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.04; color: var(--ink); }
.page-hero p { font-size: 21px; color: var(--muted); line-height: 1.4; }
.crumbs { color: var(--muted); font-size: 13px; }
.section, .bg-soft { background: var(--soft); }

/* ---------- Cards across inner pages ---------- */
.post-grid { gap: 22px; }
.post-card { border-radius: 24px; box-shadow: none; background: #fff; }
.post-card:hover { transform: scale(1.015); box-shadow: 0 20px 50px rgba(0, 0, 0, .08); }
.post-cover { background: #000; }
.post-cover::after { background: var(--grad); opacity: .85; }
.post-body h3 { letter-spacing: -0.02em; }
.post-body p, .post-meta { color: var(--muted); }
.read-link { color: var(--accent); }
.mv-card, .svc-item, .step, .value, .form-card, .role-opt, .callout { border-radius: 24px; box-shadow: none; }
.callout { border-left: 0; background: var(--soft); }
.chip { border-color: var(--line); }
.chip-purple { background: var(--accent); border-color: var(--accent); }
.service-chips li { background: var(--ink); border-radius: 980px; }
.prose { color: #333336; font-size: 19px; line-height: 1.6; }
.prose h2 { font-size: 32px; letter-spacing: -0.03em; }
.prose a { color: var(--accent); }
.grad-text { background: none; -webkit-text-fill-color: currentColor; color: var(--accent); }

/* ---------- Footer: Apple-style light ---------- */
.site-footer { background: var(--soft); color: var(--muted); padding: 56px 0 26px; font-size: 12px; border-top: 1px solid #e8e8ed; }
.footer-logo { width: 150px; margin: 0; }
.footer-social { justify-content: flex-start; margin: 22px 0 26px; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-color: var(--line); color: var(--ink); font-size: 15px; }
.footer-social a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.footer-links { justify-content: flex-start; gap: 8px 26px; margin: 0 0 22px; }
.footer-links a { color: var(--ink); font-size: 13px; font-weight: 400; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; padding-top: 16px; }

/* ---------- Floating WhatsApp ---------- */
.chat-btn { background: #25d366; box-shadow: 0 8px 24px rgba(37, 211, 102, .35); }
.chat-bubble { border-radius: 12px; color: var(--ink); font-family: var(--font); }

/* ---------- Reveal on scroll ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ---------- Small screens ---------- */
@media (max-width: 1024px) {
  .nav-link { font-size: 17px; padding: 12px 0; }
  .nav { background: #fff; }
  .nav-login { display: inline-block; margin-top: 8px; font-size: 15px; padding: 8px 18px !important; }
}
@media (max-width: 680px) {
  .hero.hero-apple { padding-top: 48px; }
  .hero-apple .hero-kicker { font-size: 17px; }
  .hero-apple .hero-actions { flex-direction: column; gap: 16px; }
  .hero-apple .hero-photo { width: calc(100% - 24px); margin-top: 40px; }
  .hero-apple .hero-photo img { border-radius: 20px; aspect-ratio: 4 / 3; }
  .solutions, .trend-faq { padding: 72px 0; }
  .cta-inner { padding: 80px 0; }
  .sol-card { padding: 34px 26px; }
  .section-head p, .page-hero p { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .hero-apple .hero-photo img { animation: none !important; }
}

/* ---------- Fixes after first review ---------- */
.cta-inner .container, .trend-faq .container { width: min(1140px, 100% - 40px); }
.footer-logo { height: auto; }
.trend-list a { font-size: 17px; letter-spacing: -0.015em; }
.trending .btn-pill { background: none !important; color: var(--accent) !important; padding: 0 !important; font-size: 17px; }

/* ---------- Client logo strip (replaces the marquee) ---------- */
.logo-strip { background: #fff; padding: 72px 0 64px; }
.logo-strip-title { text-align: center; font-size: 15px; font-weight: 500; color: var(--muted); margin: 0 0 32px; letter-spacing: -0.01em; }
.logo-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px 36px; align-items: center; }
.logo-item { display: flex; justify-content: center; color: #a1a1a6; transition: color .25s ease; }
.logo-item:hover { color: var(--ink); }
.logo-item svg { width: 100%; max-width: 200px; height: 46px; }
@media (max-width: 1024px) { .logo-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) {
  .logo-strip { padding: 56px 0 44px; }
  .logo-row { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
  .logo-item svg { height: 34px; }
}

/* Industries strip: greyscale icon-over-word marks */
.logo-row .ind-logo { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #8e8e93; transition: color .25s ease; }
.ind-logo i { font-size: 34px; line-height: 1; }
.ind-logo span { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ind-logo:hover { color: var(--ink); }
@media (max-width: 560px) { .ind-logo i { font-size: 28px; } .ind-logo span { font-size: 11.5px; } }

/* Solutions: illustration panel on top of the normal white card */
.sol-card .sol-art { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; border-radius: 18px; margin: 0 0 26px; object-fit: cover; }

/* Chat button: Call / WhatsApp menu */
.chat-float .chat-btn { border: 0; cursor: pointer; font-size: inherit; }
.chat-menu { position: absolute; right: 0; bottom: 74px; background: #fff; border-radius: 18px; padding: 8px; min-width: 200px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18); border: 1px solid rgba(0, 0, 0, .06); display: grid; gap: 2px; transform-origin: bottom right; animation: bx-pop .18s ease; }
.chat-menu[hidden] { display: none; }
@keyframes bx-pop { from { opacity: 0; transform: scale(.92) translateY(6px); } to { opacity: 1; transform: none; } }
.chat-opt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: 15px; }
.chat-opt:hover { background: var(--soft); }
.chat-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 16px; flex: none; }
.chat-ic.call { background: var(--ink); }
.chat-ic.wa { background: #25d366; font-size: 19px; }
.chat-float.open .chat-bubble { display: none; }
/* Marketing Works: Next button */
.works-pager { display: flex; justify-content: center; margin-top: 48px; }
.works-pager .btn { padding: 14px 30px; border-radius: 980px; }
