/* Service / landing pages (services.html + every keyword page).
   Mobile-first: base rules target phones, min-width queries scale up.
   Same palette, type and components as the rest of the site. */
:root{
  --ink:#0C0B08; --panel:#151209; --panel-2:#1B1710;
  --gold:#D3A44C; --amber:#F4C56A; --cream:#F2ECDD; --muted:#8F8570;
  --line:rgba(242,236,221,0.12);
  --disp:'Bricolage Grotesque', sans-serif; --sans:'Inter', sans-serif;
  --gutter:18px;
}
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; -webkit-text-size-adjust:100%; }
body{
  background:var(--ink); color:var(--cream); font-family:var(--sans);
  font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
a{ color:inherit; text-decoration:none; }
img, svg{ max-width:100%; display:block; }
.wrap{ max-width:1240px; margin:0 auto; padding:0 var(--gutter); }
::selection{ background:var(--gold); color:var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible{ outline:2px solid var(--amber); outline-offset:3px; }
[id]{ scroll-margin-top:80px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}

/* ================= NAV ================= */
header.nav{
  position:fixed; top:0; left:0; right:0; z-index:100; padding:14px 0;
  border-bottom:1px solid transparent;
  transition:background .4s ease, padding .4s ease, border-color .4s ease;
}
header.nav.scrolled{ background:rgba(12,11,8,.9); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); padding:10px 0; border-bottom-color:var(--line); }
header.nav .wrap{ display:flex; align-items:center; justify-content:space-between; }
.brandmark{ display:flex; align-items:center; gap:12px; }
.brandmark-icon{ height:30px; width:auto; }
.brandmark .word{ font-family:var(--disp); font-size:19px; font-weight:700; letter-spacing:-.01em; }
nav.links{ display:none; gap:6px; font-size:14px; align-items:center; }
nav.links a{ color:var(--muted); padding:9px 14px; border-radius:100px; transition:color .25s ease, background .25s ease; }
nav.links a:hover, nav.links a.active{ color:var(--cream); background:var(--panel-2); }
nav.links a.cta{ background:var(--gold); color:var(--ink); font-weight:600; margin-left:6px; }
nav.links a.cta:hover{ background:var(--amber); color:var(--ink); }

.nav-toggle{
  display:flex; width:44px; height:44px; flex-direction:column; align-items:center; justify-content:center; gap:5px;
  border:1px solid var(--line); border-radius:12px; background:rgba(21,18,9,.72); cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.nav-toggle span{ display:block; width:20px; height:2px; border-radius:2px; background:var(--cream); transition:transform .3s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"]{ border-color:var(--gold); }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-menu{
  display:flex; flex-direction:column; justify-content:space-between;
  position:fixed; inset:0; z-index:99; padding:96px 24px calc(28px + env(safe-area-inset-bottom));
  background:radial-gradient(circle at 88% 0%, rgba(244,197,106,.16), transparent 55%), var(--ink);
  overflow-y:auto; opacity:0; visibility:hidden; transform:translateY(-10px);
  transition:opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.mobile-menu.open{ opacity:1; visibility:visible; transform:none; transition:opacity .3s ease, transform .3s ease; }
.mobile-menu nav{ display:flex; flex-direction:column; }
.mobile-menu nav a{
  display:flex; align-items:center; justify-content:space-between;
  font-family:var(--disp); font-weight:600; font-size:clamp(26px,8vw,36px); letter-spacing:-.02em;
  padding:12px 0; border-bottom:1px solid var(--line);
}
.mobile-menu nav a::after{ content:'\2192'; font-family:var(--sans); font-size:20px; color:var(--gold); }
.mobile-menu nav a.active{ color:var(--gold); }
.mobile-menu nav a.menu-cta{
  margin-top:24px; border-bottom:none; justify-content:center; border-radius:100px;
  background:linear-gradient(155deg, var(--amber), var(--gold)); color:var(--ink);
  font-family:var(--sans); font-weight:700; font-size:17px; letter-spacing:0; padding:16px 24px;
}
.mobile-menu nav a.menu-cta::after{ display:none; }
.mobile-menu-foot{ margin-top:32px; display:flex; flex-direction:column; gap:8px; font-size:14px; color:var(--muted); }
.mobile-menu-foot a{ color:var(--cream); }
body.menu-open{ overflow:hidden; }
body.menu-open .float-btn{ opacity:0; pointer-events:none; }

@media (min-width:821px){
  header.nav{ padding:24px 0; }
  header.nav.scrolled{ padding:16px 0; }
  nav.links{ display:flex; }
  .nav-toggle, .mobile-menu{ display:none; }
}

/* ================= BUTTONS ================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 22px; min-height:48px; font-size:14.5px; font-weight:600; border-radius:100px;
  border:1px solid var(--gold); transition:background .3s ease, color .3s ease, transform .3s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-solid{ background:var(--gold); color:var(--ink); }
.btn-solid:hover{ background:var(--amber); }
.btn-outline{ background:transparent; color:var(--cream); }
.btn-outline:hover{ color:var(--gold); }
.cta-row{ display:flex; flex-wrap:wrap; gap:10px; }
.cta-row .btn{ flex:1 1 100%; }
@media (min-width:420px){ .cta-row .btn{ flex:0 1 auto; } }

/* ================= SECTIONS ================= */
section{ padding:72px 0; position:relative; }
.kicker{ display:inline-flex; font-size:clamp(14px,1.6vw,18px); font-weight:700; color:var(--gold); margin-bottom:16px; letter-spacing:.01em; }
.section-title{
  font-family:var(--disp); font-weight:600; font-size:clamp(30px,6.4vw,56px);
  letter-spacing:-.02em; line-height:1.08; max-width:22ch;
}
.section-lede{ color:var(--muted); font-size:16px; line-height:1.75; max-width:62ch; margin-top:18px; }
.alt{ background:var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
@media (min-width:821px){ section{ padding:110px 0; } .section-lede{ font-size:17px; } }

/* ================= BREADCRUMB ================= */
.crumbs{ font-size:13px; color:var(--muted); margin-bottom:22px; }
.crumbs ol{ list-style:none; display:flex; flex-wrap:wrap; gap:6px; }
.crumbs li + li::before{ content:'/'; margin-right:6px; color:var(--line); }
.crumbs a:hover{ color:var(--gold); }
.crumbs [aria-current]{ color:var(--cream); }

/* ================= HERO ================= */
.svc-hero{ padding:112px 0 56px; overflow:hidden; isolation:isolate; }
.svc-hero::before{
  content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:radial-gradient(ellipse 70% 60% at 85% 0%, rgba(244,197,106,.16), transparent 70%),
             radial-gradient(ellipse 50% 50% at 0% 100%, rgba(211,164,76,.08), transparent 70%);
}
.svc-hero h1{
  font-family:var(--disp); font-weight:700; font-size:clamp(34px,8.4vw,76px);
  line-height:1.02; letter-spacing:-.03em; max-width:18ch;
}
.svc-hero .lede{ color:var(--muted); font-size:16px; line-height:1.75; max-width:60ch; margin:20px 0 28px; }
.answer{
  margin-top:36px; padding:20px; border:1px solid rgba(244,197,106,.3); border-radius:18px;
  background:linear-gradient(155deg, rgba(244,197,106,.08), rgba(244,197,106,.02));
  max-width:780px;
}
.answer h2{ font-family:var(--sans); font-size:12.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); margin-bottom:10px; }
.answer p{ font-size:15.5px; line-height:1.7; color:var(--cream); }
@media (min-width:821px){
  .svc-hero{ padding:180px 0 80px; }
  .svc-hero .lede{ font-size:18px; }
  .answer{ padding:26px 30px; }
}

/* ================= FACTS ================= */
.facts{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:28px; }
.fact{ padding:18px 14px; border:1px solid var(--line); border-radius:16px; background:linear-gradient(155deg, var(--panel), #171209); text-align:center; }
.fact .num{ font-family:var(--disp); font-weight:700; font-size:28px; color:var(--amber); line-height:1; }
.fact .label{ font-size:12.5px; color:var(--muted); margin-top:8px; line-height:1.4; }
@media (min-width:760px){ .facts{ grid-template-columns:repeat(4,1fr); gap:16px; } .fact .num{ font-size:36px; } }

/* ================= PROSE ================= */
.prose{ display:grid; gap:28px; }
.prose p{ color:var(--muted); font-size:16px; line-height:1.8; max-width:66ch; }
.prose p + p{ margin-top:16px; }
.prose strong{ color:var(--cream); font-weight:600; }
@media (min-width:900px){ .prose{ grid-template-columns:.9fr 1.1fr; gap:70px; align-items:start; } }

/* ================= CARDS ================= */
.cards{ display:grid; grid-template-columns:1fr; gap:12px; margin-top:36px; }
.card{
  padding:22px; border:1px solid var(--line); border-radius:18px;
  background:linear-gradient(155deg, #1a140a, #100d07);
  transition:border-color .3s ease, transform .3s ease;
}
.card:hover{ border-color:rgba(244,197,106,.55); transform:translateY(-3px); }
.card h3{ font-family:var(--disp); font-size:19px; font-weight:700; margin-bottom:8px; letter-spacing:-.01em; }
.card p{ color:var(--muted); font-size:14.5px; line-height:1.65; }
.card .idx{ display:block; font-size:12px; font-weight:700; color:var(--gold); letter-spacing:.12em; margin-bottom:12px; }
@media (min-width:640px){ .cards{ grid-template-columns:repeat(2,1fr); gap:16px; } }
@media (min-width:1000px){ .cards{ grid-template-columns:repeat(3,1fr); margin-top:52px; } .card{ padding:28px; } }

/* ================= PROCESS ================= */
.steps{ list-style:none; counter-reset:step; margin-top:36px; display:grid; gap:0; }
.steps li{ counter-increment:step; position:relative; padding:20px 0 20px 56px; border-top:1px solid var(--line); }
.steps li:last-child{ border-bottom:1px solid var(--line); }
.steps li::before{
  content:counter(step, decimal-leading-zero); position:absolute; left:0; top:20px;
  font-family:var(--disp); font-weight:700; font-size:22px; color:var(--amber);
}
.steps h3{ font-family:var(--disp); font-size:19px; font-weight:600; margin-bottom:4px; }
.steps p{ color:var(--muted); font-size:15px; line-height:1.7; max-width:70ch; }
@media (min-width:821px){ .steps li{ padding:26px 0 26px 84px; } .steps li::before{ font-size:28px; top:24px; } }

/* ================= CHECKLIST ================= */
.checks{ list-style:none; display:grid; gap:12px; margin-top:30px; }
.checks li{ position:relative; padding-left:30px; color:var(--muted); font-size:15.5px; line-height:1.7; }
.checks li::before{
  content:''; position:absolute; left:0; top:.45em; width:16px; height:16px;
  background:linear-gradient(155deg, var(--amber), var(--gold));
  clip-path:polygon(0% 50%, 25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%);
}
.checks strong{ color:var(--cream); font-weight:600; }
@media (min-width:821px){ .checks{ grid-template-columns:1fr 1fr; gap:16px 40px; } }

/* ================= FAQ ================= */
.faq{ margin-top:32px; border-top:1px solid var(--line); }
.faq details{ border-bottom:1px solid var(--line); }
.faq summary{
  list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:flex-start; gap:16px;
  padding:20px 0; font-family:var(--disp); font-size:18px; font-weight:600; line-height:1.35;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:'+'; flex:none; font-family:var(--sans); font-size:24px; line-height:1; color:var(--gold); transition:transform .3s ease; }
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq details p{ color:var(--muted); font-size:15.5px; line-height:1.75; padding:0 0 22px; max-width:72ch; }
@media (min-width:821px){ .faq summary{ font-size:21px; padding:24px 0; } }

/* ================= RELATED / HUB LINKS ================= */
.links-grid{ display:grid; grid-template-columns:1fr; gap:10px; margin-top:30px; }
.links-grid a{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:16px 18px; border:1px solid var(--line); border-radius:14px; font-size:15px; font-weight:500;
  transition:border-color .25s ease, color .25s ease, background .25s ease;
}
.links-grid a::after{ content:'\2192'; color:var(--gold); flex:none; }
.links-grid a:hover{ border-color:var(--gold); color:var(--amber); background:rgba(244,197,106,.05); }
@media (min-width:640px){ .links-grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1000px){ .links-grid{ grid-template-columns:repeat(3,1fr); gap:14px; } }
.hub-group + .hub-group{ margin-top:56px; }
.hub-group h2{ font-family:var(--disp); font-size:clamp(24px,4vw,34px); font-weight:600; letter-spacing:-.01em; }
.hub-group > p{ color:var(--muted); margin-top:10px; max-width:64ch; }

/* ================= CTA BAND ================= */
.cta-band{
  padding:32px 22px; border-radius:24px; text-align:left;
  background:radial-gradient(circle at 90% 0%, rgba(255,255,255,.25), transparent 50%), linear-gradient(155deg, var(--amber), var(--gold));
  color:var(--ink);
}
.cta-band h2{ font-family:var(--disp); font-size:clamp(26px,5.4vw,46px); font-weight:700; line-height:1.08; letter-spacing:-.02em; max-width:20ch; }
.cta-band p{ margin:14px 0 24px; font-size:16px; max-width:56ch; color:rgba(12,11,8,.78); }
.cta-band .btn-solid{ background:var(--ink); color:var(--cream); border-color:var(--ink); }
.cta-band .btn-outline{ color:var(--ink); border-color:var(--ink); }
@media (min-width:821px){ .cta-band{ padding:56px; } }

/* ================= FLOATING CONTACT BUTTONS ================= */
.float-btn{
  position:fixed; bottom:calc(16px + env(safe-area-inset-bottom)); z-index:999;
  width:50px; height:50px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 26px -10px rgba(0,0,0,.55); transition:transform .25s ease, opacity .25s ease;
}
.float-btn:hover{ transform:scale(1.08); }
.float-btn svg{ width:22px; height:22px; }
.float-call{ left:calc(14px + env(safe-area-inset-left)); background:linear-gradient(155deg, var(--amber), var(--gold)); }
.float-call svg{ color:var(--ink); }
.float-whatsapp{ right:calc(14px + env(safe-area-inset-right)); background:#25D366; }
.float-whatsapp svg{ color:#fff; }
@media (min-width:641px){
  .float-btn{ width:58px; height:58px; bottom:calc(24px + env(safe-area-inset-bottom)); }
  .float-btn svg{ width:26px; height:26px; }
  .float-call{ left:28px; } .float-whatsapp{ right:28px; }
}

/* Reveal on scroll */
.rv{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease; }
.rv.is-visible{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .rv{ opacity:1; transform:none; } }

/* ================= OFFICE CARD (local pages) ================= */
.office-card{
  display:grid; gap:22px; margin-top:44px; padding:24px 20px;
  border:1px solid rgba(244,197,106,.3); border-radius:20px;
  background:linear-gradient(155deg, rgba(244,197,106,.08), rgba(244,197,106,.02));
}
.office-card .kicker{ margin-bottom:10px; }
.office-card h3{ font-family:var(--disp); font-size:clamp(20px,3.4vw,26px); font-weight:700; letter-spacing:-.01em; margin-bottom:10px; }
.office-card address{ font-style:normal; color:var(--cream); font-size:16px; line-height:1.7; }
.office-meta{ margin-top:10px; color:var(--muted); font-size:15px; line-height:1.8; overflow-wrap:anywhere; }
.office-meta a:hover{ color:var(--amber); }
@media (min-width:821px){
  .office-card{ grid-template-columns:1fr auto; align-items:end; padding:34px 36px; }
}

/* ================= ARTICLES & GLOSSARY ================= */
.byline{ margin-top:18px; font-size:13.5px; color:var(--muted); }
.answer .updated{ margin-top:12px; font-size:12.5px; color:var(--muted); }
.article-wrap{ display:grid; gap:28px; }
.takeaways, .toc{ padding:22px 20px; border:1px solid var(--line); border-radius:18px; background:var(--ink); }
.takeaways h2, .toc h2{ font-family:var(--sans); font-size:12.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); margin-bottom:12px; }
.takeaways ul{ list-style:none; display:grid; gap:10px; }
.takeaways li{ position:relative; padding-left:22px; color:var(--cream); font-size:15px; line-height:1.6; }
.takeaways li::before{ content:''; position:absolute; left:0; top:.55em; width:9px; height:9px; border-radius:2px; background:var(--amber); transform:rotate(45deg); }
.toc ol{ padding-left:20px; display:grid; gap:8px; color:var(--muted); font-size:15px; }
.toc a:hover{ color:var(--amber); }
.article-body{ max-width:72ch; }
.article-body h2{ font-family:var(--disp); font-size:clamp(24px,4.4vw,32px); font-weight:600; letter-spacing:-.01em; line-height:1.2; margin:40px 0 14px; }
.article-body h2:first-child{ margin-top:0; }
.article-body p{ color:var(--muted); font-size:16.5px; line-height:1.8; }
.article-body p + p{ margin-top:14px; }
.article-body ul{ margin-top:14px; padding-left:20px; display:grid; gap:10px; color:var(--muted); font-size:16px; line-height:1.7; }
.article-body li::marker{ color:var(--gold); }
.more-title{ font-family:var(--disp); font-size:22px; font-weight:600; margin-top:48px; }
@media (min-width:1000px){
  .article-wrap{ grid-template-columns:minmax(0,1fr) 320px; grid-template-rows:auto auto 1fr; align-items:start; column-gap:64px; row-gap:20px; }
  .article-body{ grid-column:1; grid-row:1 / span 3; }
  .takeaways{ grid-column:2; grid-row:1; }
  .toc{ grid-column:2; grid-row:2; position:sticky; top:110px; }
}
.glossary{ display:grid; grid-template-columns:1fr; gap:12px; }
.term{ padding:20px; border:1px solid var(--line); border-radius:16px; background:var(--ink); }
.term dt{ font-family:var(--disp); font-size:19px; font-weight:700; color:var(--amber); margin-bottom:6px; }
.term dd{ color:var(--muted); font-size:15px; line-height:1.7; }
@media (min-width:700px){ .glossary{ grid-template-columns:repeat(2,1fr); gap:16px; } }
@media (min-width:1100px){ .glossary{ grid-template-columns:repeat(3,1fr); } }

/* Comfortable tap target for the logo link */
.brandmark{ min-height:44px; }
