@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════
   BRAND TOKENS — SIMMARK
   Based on official brand guidelines
═══════════════════════════════════════ */
:root {
  /* Core brand palette */
  --cream:   #FBF6EF;
  --black:   #101419;
  --red:     #DD2031;
  --blue:    #0C84CA;
  --yellow:  #FFB301;
  --green:   #3E742B;
  --navy:    #002C4D;
  --white:   #FFFFFF;
  --grey:    #6B6B6B;
  --light:   #E8E2D9;

  /* Typography */
  /* Outfit: body. Dashiell Bright: display/titles (licensed, fallback Georgia) */
  --sans:    'Outfit', system-ui, sans-serif;
  --serif:   Georgia, 'Times New Roman', serif; /* Replace with Dashiell Bright when available */

  /* Layout */
  --nav-h:   72px;
  --bar-h:   0px;
  --pad:     clamp(20px, 5vw, 80px);
  --max:     1280px;
  --r-sm:    8px;
  --r-md:    12px;
  --r-lg:    16px;
}

/* ═══════════════ RESET ═══════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { /* scroll-behavior removed — Lenis handles smooth scrolling */ }
body { font-family: var(--sans); background: var(--cream); color: var(--black); overflow-x: hidden; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul { list-style: none; }

/* ═══════════════ LANG ═══════════════ */
[data-lang="pt"], [data-lang="es"] { display: none; }
body.lang-pt [data-lang="en"] { display: none; }
body.lang-pt [data-lang="pt"] { display: unset; }
body.lang-es [data-lang="en"] { display: none; }
body.lang-es [data-lang="es"] { display: unset; }
.lb { display: block; }
body.lang-pt .lb[data-lang="en"] { display: none; }
body.lang-pt .lb[data-lang="pt"] { display: block; }
body.lang-es .lb[data-lang="en"] { display: none; }
body.lang-es .lb[data-lang="es"] { display: block; }
.lb[data-lang="pt"], .lb[data-lang="es"] { display: none; }

/* ═══════════════ NAV ═══════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad); z-index: 1000;
  background: var(--cream);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.1); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 600; color: var(--black); opacity: .55; transition: opacity .2s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-sw { display: flex; gap: 2px; }
.lb-btn {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 4px; color: rgba(16,20,25,.4);
  transition: all .2s; border: 1px solid transparent;
}
.lb-btn:hover, .lb-btn.on { color: var(--black); background: rgba(0,0,0,.07); border-color: rgba(0,0,0,.1); }
.nav-cta {
  font-size: 13px; font-weight: 700; padding: 11px 24px;
  background: var(--red); color: var(--white); border-radius: var(--r-sm);
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: #bf1a28; transform: translateY(-1px); }

/* ═══════════════ PAGE BASE ═══════════════ */
.page { padding-top: calc(var(--nav-h) + var(--bar-h)); min-height: 100vh; }
.wrap { max-width: var(--max); margin: 0 auto; }
.section { padding: 100px var(--pad); }
.section-sm { padding: 64px var(--pad); }

/* ═══════════════ TYPOGRAPHY ═══════════════ */
.h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 700; line-height: .93; letter-spacing: -.025em;
}
.h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 700; line-height: 1.05; letter-spacing: -.02em;
}
.h3 { font-family: var(--serif); font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; line-height: 1.2; }
.lead { font-size: 17px; font-weight: 300; line-height: 1.7; color: rgba(16,20,25,.6); }

/* Brand highlight blocks (brand guideline — colored rectangles on titles) */
.hl-r { background: var(--red);    color: var(--white); padding: 1px 8px; border-radius: 4px; }
.hl-b { background: var(--blue);   color: var(--white); padding: 1px 8px; border-radius: 4px; }
.hl-y { background: var(--yellow); color: var(--black); padding: 1px 8px; border-radius: 4px; }
.hl-g { background: var(--green);  color: var(--white); padding: 1px 8px; border-radius: 4px; }
.hl-n { background: var(--navy);   color: var(--white); padding: 1px 8px; border-radius: 4px; }

/* Kicker label */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.kicker::before { content: ''; width: 20px; height: 2px; background: currentColor; flex-shrink: 0; }
.kicker-blue  { color: var(--blue); }
.kicker-yellow{ color: var(--yellow); }
.kicker-green { color: var(--green); }
.kicker-white { color: var(--white); }

/* ═══════════════ BUTTONS ═══════════════ */
.btn { display: inline-flex; align-items: center; gap: 8px; transition: all .2s; font-weight: 700; border-radius: var(--r-sm); }
.btn-r { font-size: 14px; padding: 15px 36px; background: var(--red); color: var(--white); }
.btn-r:hover { background: #bf1a28; transform: translateY(-2px); }
.btn-k { font-size: 14px; padding: 15px 36px; background: var(--black); color: var(--white); }
.btn-k:hover { background: #2a2e33; transform: translateY(-2px); }
.btn-o { font-size: 14px; padding: 14px 36px; border: 2px solid var(--black); color: var(--black); }
.btn-o:hover { background: var(--black); color: var(--cream); transform: translateY(-2px); }
.btn-w { font-size: 14px; padding: 15px 36px; background: var(--white); color: var(--red); }
.btn-w:hover { background: var(--cream); transform: translateY(-2px); }
.btn-ow { font-size: 14px; padding: 14px 36px; border: 2px solid var(--white); color: var(--white); }
.btn-ow:hover { background: var(--white); color: var(--red); }
.btn-sm { font-size: 12px; padding: 10px 22px; }
.btn-link { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.btn-link:hover { opacity: .7; }

/* ═══════════════ CARDS ═══════════════ */
/* Service card */
.svc-card {
  padding: 34px 28px; background: var(--white);
  border-radius: var(--r-md); border: 1.5px solid rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.svc-accent { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.svc-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px; margin-bottom: 18px;
}
.tag-r { background: rgba(221,32,49,.1);  color: var(--red); }
.tag-b { background: rgba(12,132,202,.1); color: var(--blue); }
.tag-y { background: rgba(255,179,1,.15); color: #7a5500; }
.tag-g { background: rgba(62,116,43,.1);  color: var(--green); }
.tag-n { background: rgba(0,44,77,.08);   color: var(--navy); }
.tag-k { background: rgba(16,20,25,.07);  color: var(--black); }

/* Case card */
.case-card {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  border: 1.5px solid rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(0,0,0,.1); }
.case-color-strip { position: absolute; top: 0; left: 0; right: 0; height: 5px; z-index: 2; }
.case-thumb { width: 100%; aspect-ratio: 16/10; background: var(--light); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; }
.case-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,20,25,.9) 35%, transparent); }
.case-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px 26px; }
.case-cat { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 5px; }
.case-ttl { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 7px; line-height: 1.2; }
.case-sub { font-size: 12px; font-weight: 300; color: rgba(255,255,255,.55); margin-bottom: 10px; }
.case-stat { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--yellow); }

/* Blog card */
.blog-card { border-radius: var(--r-md); overflow: hidden; border: 1.5px solid rgba(0,0,0,.07); background: var(--white); transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.blog-thumb { width: 100%; aspect-ratio: 16/9; background: var(--light); display: flex; align-items: center; justify-content: center; }
.blog-body { padding: 20px; }
.blog-cat { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.blog-ttl { font-family: var(--serif); font-size: 17px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.blog-exc { font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--grey); }
.blog-foot { padding: 13px 20px; border-top: 1px solid rgba(0,0,0,.06); display: flex; justify-content: space-between; align-items: center; }
.blog-meta { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(16,20,25,.3); }

/* Resource card */
.res-card { border-radius: var(--r-md); overflow: hidden; border: 1.5px solid rgba(0,0,0,.07); background: var(--white); transition: transform .2s, box-shadow .2s; }
.res-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.res-thumb { width: 100%; aspect-ratio: 16/9; background: var(--light); display: flex; align-items: center; justify-content: center; font-size: 36px; }
.res-body { padding: 20px; }
.res-cat { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.res-ttl { font-family: var(--serif); font-size: 17px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.res-desc { font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--grey); }
.res-foot { padding: 13px 20px; border-top: 1px solid rgba(0,0,0,.06); display: flex; justify-content: space-between; align-items: center; }
.res-badge { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(16,20,25,.3); }
.bm-btn { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); display: flex; align-items: center; gap: 4px; transition: color .2s; }
.bm-btn:hover { color: var(--red); }

/* Plan card */
.plan-card { padding: 40px 32px; border-radius: var(--r-md); border: 1.5px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); position: relative; }
.plan-card.feat { border-color: var(--yellow); background: rgba(255,179,1,.06); }
.plan-pop { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--yellow); color: var(--black); padding: 5px 18px; border-radius: 20px; white-space: nowrap; }
.plan-name { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.plan-price { font-family: var(--serif); font-size: 52px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.plan-price sup { font-size: 22px; vertical-align: top; margin-top: 10px; }
.plan-period { font-size: 11px; font-weight: 500; letter-spacing: .06em; color: rgba(255,255,255,.35); margin-bottom: 10px; }
.plan-tagline { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.55); margin-bottom: 22px; line-height: 1.5; min-height: 38px; }
.plan-feats { margin-bottom: 28px; }
.plan-feats li { font-size: 13px; font-weight: 300; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.65); display: flex; align-items: flex-start; gap: 8px; }
.plan-feats li::before { content: '✓'; color: var(--yellow); font-size: 11px; flex-shrink: 0; margin-top: 2px; }
.plan-cta-y { display: block; width: 100%; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 14px; border-radius: var(--r-sm); background: var(--yellow); color: var(--black); transition: all .2s; }
.plan-cta-y:hover { background: #e6a200; }
.plan-cta-o { display: block; width: 100%; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 13px; border-radius: var(--r-sm); border: 1.5px solid rgba(255,255,255,.2); color: var(--white); transition: all .2s; }
.plan-cta-o:hover { border-color: var(--white); }

/* ═══════════════ FORM ═══════════════ */
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(16,20,25,.45); }
.form-inp { font-family: var(--sans); font-size: 15px; font-weight: 400; padding: 13px 16px; background: var(--white); border: 1.5px solid rgba(0,0,0,.12); border-radius: var(--r-sm); color: var(--black); outline: none; transition: border-color .2s; }
.form-inp:focus { border-color: var(--blue); }
.form-inp::placeholder { color: rgba(16,20,25,.25); }
select.form-inp option { background: var(--white); }
textarea.form-inp { min-height: 110px; resize: vertical; }

/* ═══════════════ PROOF STRIP ═══════════════ */
.proof-strip { background: var(--black); padding: 20px var(--pad); display: flex; align-items: center; gap: 40px; overflow: hidden; }
.proof-lbl { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.3); white-space: nowrap; flex-shrink: 0; }
.proof-logos { display: flex; gap: 48px; align-items: center; animation: marquee 22s linear infinite; white-space: nowrap; }
.proof-logo { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.28); white-space: nowrap; transition: color .3s; }
.proof-logo:hover { color: rgba(255,255,255,.7); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════ METHOD ═══════════════ */
.method-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-top: 52px; }
.method-card { padding: 26px 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); transition: background .25s; }
.method-card:hover { background: rgba(255,255,255,.09); }
.method-num { font-family: var(--serif); font-size: 36px; font-weight: 700; color: rgba(255,255,255,.05); line-height: 1; margin-bottom: 12px; transition: color .25s; }
.method-card:hover .method-num { color: var(--yellow); }
.method-title { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 7px; color: rgba(255,255,255,.9); }
.method-desc { font-size: 11px; font-weight: 300; line-height: 1.55; color: rgba(255,255,255,.38); }

/* ═══════════════ PAGE HERO ═══════════════ */
.page-hero { min-height: 46vh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--nav-h) + var(--bar-h) + 40px) var(--pad) 64px; position: relative; overflow: hidden; background: var(--cream); }
.page-hero-deco { position: absolute; top: 40px; right: -60px; width: 380px; opacity: .07; transform: rotate(12deg); pointer-events: none; }
.breadcrumb { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(16,20,25,.35); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.breadcrumb a { transition: color .2s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: rgba(16,20,25,.2); }

/* ═══════════════ FILTER TABS ═══════════════ */
.filter-bar { display: flex; gap: 6px; flex-wrap: wrap; margin: 32px 0 8px; }
.filter-btn { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding: 10px 20px; border: 1.5px solid rgba(0,0,0,.12); color: rgba(16,20,25,.45); border-radius: 30px; transition: all .2s; }
.filter-btn:hover, .filter-btn.on { border-color: var(--red); color: var(--red); background: rgba(221,32,49,.05); }

/* ═══════════════ CONTACT INFO ═══════════════ */
.ci-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.ci-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.ci-lbl { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-bottom: 3px; }
.ci-val { font-size: 14px; font-weight: 400; color: var(--black); }

/* ═══════════════ FAQ ═══════════════ */
.faq-item { border-bottom: 1px solid rgba(0,0,0,.08); }
.faq-q { width: 100%; text-align: left; padding: 20px 0; font-size: 15px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-icon { font-size: 18px; color: var(--red); flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { font-size: 14px; font-weight: 300; line-height: 1.7; color: rgba(16,20,25,.6); padding-bottom: 18px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ═══════════════ FOOTER ═══════════════ */
footer { background: var(--black); color: var(--white); padding: 72px var(--pad) 36px; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 52px; max-width: var(--max); margin-left: auto; margin-right: auto; }
.ft-tagline { font-size: 13px; font-weight: 300; line-height: 1.65; color: rgba(255,255,255,.35); max-width: 240px; margin-top: 14px; }
.ft-col-title { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 18px; }
.ft-links { display: flex; flex-direction: column; gap: 11px; }
.ft-links a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.4); transition: color .2s; }
.ft-links a:hover { color: var(--white); }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.06); max-width: var(--max); margin: 0 auto; }
.ft-copy { font-size: 11px; color: rgba(255,255,255,.2); }
.ft-legal { display: flex; gap: 20px; }
.ft-legal a { font-size: 11px; color: rgba(255,255,255,.2); transition: color .2s; }
.ft-legal a:hover { color: rgba(255,255,255,.5); }
.ft-socs { display: flex; gap: 10px; }
.ft-soc { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; transition: all .2s; }
.ft-soc:hover { border-color: var(--red); color: var(--red); }

/* ═══════════════ PLACEHOLDERS ═══════════════ */
.ph { background: var(--light); border: 1.5px dashed rgba(0,0,0,.15); border-radius: var(--r-md); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; overflow: hidden; position: relative; }
.ph::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent, transparent 12px, rgba(0,0,0,.03) 12px, rgba(0,0,0,.03) 24px); }
.ph-icon { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center; font-size: 18px; color: rgba(0,0,0,.2); position: relative; }
.ph-txt { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(0,0,0,.2); text-align: center; padding: 0 20px; position: relative; }
.ph-sub { font-size: 10px; color: rgba(0,0,0,.15); font-style: italic; position: relative; text-align: center; padding: 0 20px; }
/* Dark placeholder (on dark sections) */
.ph-dk { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.ph-dk::before { background: repeating-linear-gradient(-45deg, transparent, transparent 12px, rgba(255,255,255,.02) 12px, rgba(255,255,255,.02) 24px); }
.ph-dk .ph-icon { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.2); }
.ph-dk .ph-txt { color: rgba(255,255,255,.22); }
.ph-dk .ph-sub { color: rgba(255,255,255,.14); }

/* ═══════════════ DEV NOTES ═══════════════ */
.dn { font-family: var(--sans); font-size: 10px; letter-spacing: .04em; background: rgba(255,179,1,.1); border: 1px solid rgba(255,179,1,.25); border-left: 3px solid var(--yellow); color: rgba(100,65,0,.75); padding: 9px 14px; border-radius: 0 6px 6px 0; margin: 10px 0; line-height: 1.5; }
.dn::before { content: '⚙ DEV: '; font-weight: 700; }

/* ═══════════════ SCROLL REVEAL ═══════════════ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* When GSAP is active, disable CSS-based animations (GSAP takes over) */
body.sm-gsap-active .reveal { transition: none; }
body.sm-gsap-active .au,
body.sm-gsap-active .au2,
body.sm-gsap-active .au3,
body.sm-gsap-active .au4 { animation: none !important; }

/* ═══════════════ ANIMATIONS (CSS fallback) ═══════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.au  { animation: fadeUp .75s cubic-bezier(.16,1,.3,1) both; }
.au2 { animation: fadeUp .75s cubic-bezier(.16,1,.3,1) .15s both; }
.au3 { animation: fadeUp .75s cubic-bezier(.16,1,.3,1) .3s both; }
.au4 { animation: fadeUp .75s cubic-bezier(.16,1,.3,1) .45s both; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ═══════════════ PAGE LOAD OVERLAY ═══════════════ */
.sm-page-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--cream);
  transform-origin: top;
  pointer-events: none;
}

/* ═══════════════ CUSTOM CURSOR ═══════════════ */
.sm-cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99998;
  mix-blend-mode: difference;
  will-change: transform;
}
.sm-cursor-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--white);
  position: absolute; top: -4px; left: -4px;
  transition: transform .15s ease, opacity .15s ease;
}
.sm-cursor-ring {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.5);
  position: absolute; top: -20px; left: -20px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .2s, background .2s, width .3s, height .3s, top .3s, left .3s;
}
.sm-cursor-text {
  position: absolute; top: -10px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--white);
  white-space: nowrap; opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.sm-cursor-hover .sm-cursor-ring {
  width: 56px; height: 56px; top: -28px; left: -28px;
  border-color: rgba(255,255,255,.8);
}
.sm-cursor-hover .sm-cursor-dot { transform: scale(0.6); }
.sm-cursor-label .sm-cursor-text { opacity: 1; top: 50%; transform: translate(-50%, -50%); }
.sm-cursor-label .sm-cursor-ring {
  width: 72px; height: 72px; top: -36px; left: -36px;
  background: rgba(221,32,49,.9); border-color: transparent;
}
.sm-cursor-label .sm-cursor-dot { opacity: 0; }
.sm-cursor-hidden { opacity: 0; }

/* Hide default cursor when custom cursor active */
body.sm-gsap-active { cursor: none; }
body.sm-gsap-active a, body.sm-gsap-active button,
body.sm-gsap-active input, body.sm-gsap-active textarea,
body.sm-gsap-active select { cursor: none; }

/* Restore cursor on mobile */
@media (max-width: 768px), (hover: none) {
  body.sm-gsap-active { cursor: auto; }
  body.sm-gsap-active a, body.sm-gsap-active button,
  body.sm-gsap-active input, body.sm-gsap-active textarea,
  body.sm-gsap-active select { cursor: auto; }
  .sm-cursor { display: none !important; }
}

/* ═══════════════ DECORATIVE ELEMENTS ═══════════════ */
.sm-deco {
  position: absolute; pointer-events: none; z-index: 0;
  will-change: transform;
}
.sm-float {
  position: absolute; pointer-events: none; z-index: 0;
  will-change: transform;
}

/* Speech bubble decorations */
.sm-deco-bubble {
  width: clamp(60px, 8vw, 120px);
  opacity: 0.12;
}
.sm-deco-stroke {
  width: clamp(80px, 12vw, 180px);
  opacity: 0.08;
}
.sm-deco-circle {
  width: clamp(60px, 10vw, 140px);
  opacity: 0.06;
}
.sm-deco-bar {
  width: clamp(80px, 10vw, 160px);
  height: clamp(14px, 2vw, 24px);
  border-radius: 6px;
  opacity: 0.1;
}

/* ═══════════════ ENHANCED CARD HOVER (GSAP-powered) ═══════════════ */
body.sm-gsap-active .svc-card {
  transform-style: preserve-3d;
  will-change: transform;
}
body.sm-gsap-active .case-card img {
  will-change: transform;
}
body.sm-gsap-active .method-card {
  will-change: transform;
}

/* ═══════════════ NAV HIDE/SHOW ═══════════════ */
body.sm-gsap-active .nav {
  will-change: transform;
}

/* ═══════════════ DIAGNOSTICS ═══════════════ */
.diag-opt { width: 100%; text-align: left; padding: 16px 20px; border: 1.5px solid rgba(0,0,0,.1); border-radius: var(--r-sm); margin-bottom: 10px; font-size: 14px; font-weight: 400; color: rgba(16,20,25,.65); transition: all .2s; background: var(--white); cursor: pointer; display: block; }
.diag-opt:hover { border-color: var(--red); background: rgba(221,32,49,.04); color: var(--black); }
.diag-opt.sel { border-color: var(--red); background: rgba(221,32,49,.08); color: var(--black); }
.prog-bar { width: 100%; height: 3px; background: rgba(0,0,0,.08); border-radius: 2px; margin-bottom: 40px; }
.prog-fill { height: 100%; background: var(--red); border-radius: 2px; transition: width .4s ease; }

/* ═══════════════ INLINE LOGO SVG ═══════════════ */
/* Used across all pages */
.logo-wrap { display: inline-flex; align-items: center; gap: 10px; }

/* ═══════════════ WHATSAPP FLOATING BUTTON ═══════════════ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.wa-bubble {
  background: var(--white);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.14);
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  max-width: 220px;
  line-height: 1.45;
  position: relative;
  opacity: 0;
  transform: translateY(8px) scale(.97);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  border: 1px solid rgba(0,0,0,.07);
}
.wa-bubble::after {
  content: '';
  position: absolute;
  bottom: -7px;
  right: 22px;
  width: 14px;
  height: 14px;
  background: var(--white);
  border-right: 1px solid rgba(0,0,0,.07);
  border-bottom: 1px solid rgba(0,0,0,.07);
  transform: rotate(45deg);
}
.wa-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.wa-bubble-close {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 14px;
  line-height: 1;
  color: rgba(16,20,25,.3);
  cursor: pointer;
  transition: color .15s;
  background: none;
  border: none;
  padding: 2px 4px;
}
.wa-bubble-close:hover { color: var(--black); }
.wa-bubble-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 4px;
}
.wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  flex-shrink: 0;
}
.wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}
.wa-btn svg { width: 28px; height: 28px; fill: #fff; }
.wa-pulse {
  position: absolute;
  top: 0; right: 0;
  width: 14px; height: 14px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--white);
  animation: wa-ping 2s ease-in-out infinite;
}
@keyframes wa-ping {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: .7; }
}
@media (max-width: 640px) {
  .wa-float { bottom: 20px; right: 16px; }
  .wa-btn { width: 52px; height: 52px; }
  .wa-bubble { max-width: 190px; font-size: 12px; }
}

/* ═══════════════════════════════
   MOBILE NAV — hamburger menu
   Breakpoint: ≤ 900px
═══════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background .2s;
  flex-shrink: 0;
  margin-left: 8px;
}
.hamburger:hover { background: rgba(0,0,0,.06); }
.hamburger span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .3s, width .3s;
  transform-origin: center;
}
.hamburger span:nth-child(1) { width: 22px; }
.hamburger span:nth-child(2) { width: 16px; }
.hamburger span:nth-child(3) { width: 22px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 22px; }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 22px; }

/* Mobile overlay drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--cream);
  z-index: 999;
  flex-direction: column;
  padding: 28px var(--pad) 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .3s;
}
.mobile-drawer.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.mobile-drawer a.mob-link {
  font-size: 26px;
  font-family: var(--serif);
  font-weight: 700;
  color: var(--black);
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
  display: block;
  letter-spacing: -.02em;
  opacity: .8;
  transition: opacity .15s, color .15s;
}
.mobile-drawer a.mob-link:hover { opacity: 1; color: var(--red); }
.mobile-drawer a.mob-link:last-of-type { border-bottom: none; }
.mob-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mob-cta {
  font-size: 15px; font-weight: 700; padding: 16px 28px;
  background: var(--red); color: var(--white);
  border-radius: 8px; text-align: center; display: block;
  transition: background .2s;
}
.mob-cta:hover { background: #bf1a28; }
.mob-cta-sec {
  font-size: 15px; font-weight: 600; padding: 15px 28px;
  border: 2px solid var(--black); color: var(--black);
  border-radius: 8px; text-align: center; display: block;
  transition: all .2s;
}
.mob-cta-sec:hover { background: var(--black); color: var(--cream); }
.mob-lang {
  display: flex; gap: 8px; margin-top: 24px; padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,.07);
}
.mob-lbtn {
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 8px 18px;
  border: 1.5px solid rgba(0,0,0,.12); border-radius: 6px;
  color: rgba(16,20,25,.4); cursor: pointer; transition: all .2s;
  background: none; font-family: var(--sans);
}
.mob-lbtn.on, .mob-lbtn:hover {
  color: var(--black); border-color: var(--black);
  background: rgba(0,0,0,.05);
}
.mob-contact {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,.07);
}
.mob-contact a {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 400; color: rgba(16,20,25,.55);
  padding: 8px 0; transition: color .2s;
}
.mob-contact a:hover { color: var(--black); }
.mob-contact a svg { flex-shrink: 0; }

/* Prevent body scroll when drawer open */
body.menu-open { overflow: hidden; }

/* ─── Responsive breakpoints ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .lang-sw   { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 680px) {
  :root { --pad: 20px; }
  .hero-stats { gap: 28px; }
  .stat-n { font-size: 36px; }
  .method-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .svc-grid { grid-template-columns: 1fr !important; }
  .cases-grid { grid-template-columns: 1fr !important; }
  .about-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
  .founder-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
  .featured-case { grid-template-columns: 1fr !important; }
  .fc-info { padding: 28px 24px !important; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
  .plans-grid { grid-template-columns: 1fr !important; }
  .row { grid-template-columns: 1fr !important; }
  .ft-grid { grid-template-columns: 1fr 1fr !important; gap: 32px !important; }
  .page-hero-deco { width: 220px !important; opacity: .05 !important; }
  .h1 { font-size: clamp(38px, 10vw, 64px) !important; }
  .hero-h1 { font-size: clamp(40px, 10vw, 70px) !important; }
  .cd { grid-template-columns: 1fr !important; direction: ltr !important; }
  .sf { grid-template-columns: 1fr !important; direction: ltr !important; }
  .about-photo-accent { display: none; }
  .team-card { grid-template-columns: 1fr !important; }
  .tl-item { grid-template-columns: 60px 1fr !important; gap: 14px !important; }
}
@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-stats > div { min-width: 45%; }
  .ft-grid { grid-template-columns: 1fr !important; }
  .ft-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .method-grid { grid-template-columns: 1fr !important; }
  .mv-grid { grid-template-columns: 1fr !important; }
  .res-grid { grid-template-columns: 1fr !important; }
  .blog-grid { grid-template-columns: 1fr !important; }
  .vid-grid { grid-template-columns: 1fr 1fr !important; }
  .at-grid { grid-template-columns: 1fr !important; }
  .proc-grid { grid-template-columns: 1fr 1fr !important; }
  .cg { grid-template-columns: 1fr !important; gap: 36px !important; }
  .lead-mag { grid-template-columns: 1fr !important; }
  .featured-case { border-radius: 10px !important; }
}
