/* ==========================================================================
   Patria Invest — shared stylesheet
   Layout & palette follow the reference design: off-white canvas, soft mint
   panels, charcoal sections and a #8EEF50 accent for actions and highlights.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --green: #8eef50;          /* primary accent */
  --green-deep: #6fd62e;     /* hover / pressed */
  --mint: #e9f3ea;           /* soft panel background */
  --mint-line: #d6e8d8;
  --ink: #272a23;            /* headings, dark sections */
  --ink-2: #3a3e35;
  --text: #4c5048;           /* body copy */
  --muted: #7b8077;
  --canvas: #fdfdfd;         /* page background */
  --white: #ffffff;
  --line: #e4e8e2;
  --up: #2f9e44;
  --down: #d9480f;

  --font-head: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1040px;
  --container-wide: 1240px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --pill: 999px;

  --shadow-soft: 0 10px 30px rgba(39, 42, 35, 0.08);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
img.logo-dark {
    filter: invert(1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
main img { background-color: var(--mint-line); } /* visible frame while placeholders load */
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--green); color: var(--ink); padding: 10px 16px; border-radius: var(--pill); font-weight: 500; }
.skip-link:focus { top: 12px; }

/* ---------- 3. Layout helpers ---------- */
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.container.wide { width: min(100% - 40px, var(--container-wide)); }
.section { padding: 110px 0; }
.section.tight { padding: 70px 0; }
.section.mint { background: var(--mint); }
.section.dark { background: var(--ink); color: #c9ccc4; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.lead { font-size: 13.5px; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { margin-bottom: 44px; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.kicker {
  font-family: var(--font-head);
  font-size: 11.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--pill); border: 1px solid transparent;
  font-family: var(--font-head); font-size: 14px; font-weight: 500; line-height: 1.2;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn-sm { padding: 7px 16px; font-size: 12.5px; }
.btn-green { background: var(--green); color: var(--ink); }
.btn-green:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(142, 239, 80, .35); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header.scrolled { background: rgba(253,253,253,.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand .logo-dark { display: none; }
.site-header.scrolled .logo-light, .site-header.menu-open .logo-light { display: none; }
.site-header.scrolled .logo-dark, .site-header.menu-open .logo-dark { display: block; }

.main-nav { background: var(--white); border-radius: var(--pill); padding: 5px 8px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.site-header.scrolled .main-nav { background: var(--mint); box-shadow: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav a {
  display: block; padding: 6px 12px; border-radius: var(--pill);
  font-family: var(--font-head); font-size: 13px; color: var(--muted);
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); font-weight: 600; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.header-actions .btn-login { color: var(--white); border-color: rgba(255,255,255,.6); background: transparent; }
.site-header.scrolled .header-actions .btn-login { color: var(--ink); border-color: var(--ink); }
.header-actions .btn-login:hover { background: rgba(255,255,255,.15); }
.site-header.scrolled .header-actions .btn-login:hover { background: var(--ink); color: var(--white); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--green); position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 18px; height: 2px; background: var(--ink);
  transform: translateX(-50%); transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; transform: none; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.menu-open .nav-toggle span { background: transparent; }
.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
.mobile-actions { display: none; }

/* ---------- 6. Home hero ---------- */
.hero {
  position: relative; min-height: 640px; display: flex; align-items: flex-end;
  padding: 150px 0 150px; color: var(--white);
  background: #2f3833 center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,24,20,.55) 0%, rgba(20,24,20,.25) 45%, rgba(20,24,20,.6) 100%);
}
.hero .container { position: relative; }
.hero h1 { color: var(--white); max-width: 16ch; margin-bottom: 0; }
.hero .hero-sub { max-width: 52ch; color: rgba(255,255,255,.82); margin-top: 16px; }

.hero-cards {
  position: relative; z-index: 2; margin-top: -110px;
  display: grid; grid-template-columns: 240px 335px 1fr; gap: 22px; align-items: stretch;
}
.trust-card { background: var(--mint); border-radius: var(--r-sm); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; min-height: 225px; }
.avatars { display: flex; }
.avatars span {
  width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--white);
  margin-left: -10px; display: grid; place-items: center;
  font: 600 12px var(--font-head); color: var(--ink);
}
.avatars span:first-child { margin-left: 0; background: #cfe9c0; }
.avatars span:nth-child(2) { background: #b6e39a; }
.avatars span:nth-child(3) { background: #9edc76; }
.avatars span:nth-child(4) { background: var(--green); }
.trust-card h3 { font-size: 18px; margin: 0 0 8px; }
.trust-card p { font-size: 12.5px; color: var(--muted); margin: 0; }

/* Market mockup card (animated chart) */
.market-card {
  background: var(--ink); border-radius: var(--r-sm); padding: 16px 18px; color: #d8dbd3;
  display: flex; flex-direction: column; gap: 10px; min-height: 225px; overflow: hidden;
}
.market-card .mc-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.market-card .mc-pair { font: 600 14px var(--font-head); color: var(--white); }
.market-card .mc-price { font: 600 22px var(--font-head); color: var(--white); letter-spacing: -.02em; }
.market-card .mc-chg { color: var(--green); font-size: 12px; }
.market-card .mc-chart { flex: 1; min-height: 90px; }
.mc-line { fill: none; stroke: var(--green); stroke-width: 2; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s var(--ease) .4s forwards; }
.mc-area { fill: url(#mcGrad); opacity: 0; animation: fadeIn 1s ease 1.6s forwards; }
.mc-dot { fill: var(--green); animation: pulse 1.8s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.market-card .mc-tabs { display: flex; gap: 6px; font-size: 11px; }
.market-card .mc-tabs span { padding: 3px 9px; border-radius: var(--pill); background: rgba(255,255,255,.07); }
.market-card .mc-tabs span.on { background: var(--green); color: var(--ink); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: .5; } }

.hero-side { display: flex; flex-direction: column; justify-content: space-between; padding-top: 2px; }
.dots-list { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0 0 40px; font-size: 12.5px; color: var(--white); }
.dots-list li { display: flex; align-items: center; gap: 7px; }
.dots-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.hero-side p { font-size: 13px; color: var(--muted); max-width: 44ch; }

/* ---------- 7. Market ticker ---------- */
.ticker-wrap { padding: 80px 0 30px; }
.ticker-wrap .kicker { display: block; text-align: center; max-width: 42ch; margin: 0 auto 28px; line-height: 1.6; }
.ticker { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); border-block: 1px solid var(--line); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick { display: flex; align-items: center; gap: 10px; padding: 16px 28px; font-size: 13px; border-right: 1px solid var(--line); white-space: nowrap; }
.tick b { font: 600 14px var(--font-head); color: var(--ink); }
.tick .px { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tick .up { color: var(--up); } .tick .down { color: var(--down); }
.ticker-note { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 8. About intro ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: stretch; }
.about-grid .about-copy h2 { max-width: 16ch; }
.about-grid .about-copy .lead { margin-bottom: 18px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.stat-tile { background: var(--mint); border-radius: var(--r-sm); padding: 14px; display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; }
.icon-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.icon-dot svg { width: 14px; height: 14px; }
.icon-dot.lg { width: 40px; height: 40px; } .icon-dot.lg svg { width: 20px; height: 20px; }
.stat-tile .stat-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.stat-tile strong { font: 500 26px var(--font-head); color: var(--ink); letter-spacing: -.02em; }
.stat-tile small { font-size: 11px; color: var(--muted); text-align: right; }
.img-tile { position: relative; border-radius: var(--r-sm); overflow: hidden; min-height: 150px; background: var(--mint); }
.img-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-photo { position: relative; border-radius: var(--r-sm); overflow: hidden; min-height: 480px; background: var(--mint); }
.feature-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-quote {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  background: rgba(39,42,35,.88); color: #e9ebe6; border-radius: var(--r-sm); padding: 16px 18px;
  font-size: 12.5px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end;
}
.photo-quote p { margin: 0 0 14px; max-width: 32ch; }
.photo-quote small { display: block; font-size: 11px; color: #b7bbb2; }
.photo-quote .q-mark { width: 30px; color: var(--green); }

/* ---------- 9. Markets / solution cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.img-card { background: var(--white); border-radius: var(--r-sm); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.img-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.img-card .ic-media { aspect-ratio: 16/10; overflow: hidden; background: var(--mint-line); }
.img-card .ic-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.img-card:hover .ic-media img { transform: scale(1.05); }
.img-card .ic-body { padding: 12px 14px 14px; }
.img-card h3 { font-size: 15.5px; margin: 0 0 4px; }
.img-card p { font-size: 12.5px; color: var(--muted); margin: 0; }
.img-card .ic-meta { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.img-card .ic-meta b { color: var(--ink); font-weight: 500; }

.dark-bar {
  margin-top: 22px; background: var(--ink); color: var(--white); border-radius: var(--pill);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 10px 10px 10px 24px; font-size: 13px;
}
.dark-bar p { margin: 0; }

/* ---------- 10. Step / showcase cards ---------- */
.step-list { display: grid; gap: 18px; }
.step-card { background: var(--mint); border-radius: var(--r-sm); padding: 20px; transition: transform .35s var(--ease); }
.step-card:hover { transform: translateY(-4px); }
.step-card .sc-row { display: flex; justify-content: space-between; font: 700 10.5px var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.step-card .sc-main { display: grid; grid-template-columns: 370px 1fr; gap: 30px; align-items: center; margin: 22px 0; }
.step-card .sc-main img { border-radius: var(--r-sm); width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.step-card h3 { font-size: 24px; }
.step-card p { font-size: 13px; color: var(--muted); max-width: 44ch; }

/* ---------- 11. Why choose ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.05fr .9fr; gap: 22px; align-items: stretch; }
.why-photo { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.why-photo img { border-radius: var(--r-sm); width: 100%; aspect-ratio: 9/10; object-fit: cover; }
.goal-bar { background: var(--ink); color: var(--green); border-radius: var(--r-sm); padding: 14px 18px; font: 500 18px var(--font-head); }
.feature-stack { display: grid; gap: 16px; }
.feature-card { background: var(--mint); border-radius: var(--r-sm); padding: 16px; transition: transform .3s var(--ease), background .3s; }
.feature-card:hover { transform: translateX(4px); background: #e0efe2; }
.feature-card .icon-dot { width: 32px; height: 32px; margin-bottom: 26px; }
.feature-card .icon-dot svg { width: 16px; height: 16px; }
.feature-card h3 { font-size: 19px; margin-bottom: 6px; }
.feature-card p { font-size: 12.5px; color: var(--muted); margin: 0; }
.widget-stack { display: grid; gap: 16px; align-content: start; }
.widget { background: var(--green); border-radius: var(--r-sm); padding: 8px 10px 10px; }
.widget h4 { font-size: 11.5px; font-weight: 500; letter-spacing: .02em; margin: 0 0 6px; padding: 0 2px; }
.widget-inner { background: var(--white); border-radius: 6px; padding: 12px; }
.donut-row { display: flex; align-items: center; gap: 12px; }
.donut { width: 118px; aspect-ratio: 1; border-radius: 50%; flex-shrink: 0; background: conic-gradient(#63d94a 0 50%, #8eef50 0 80%, #a9f07c 0 95%, #c9f5ad 0 100%); position: relative; }
.donut::after { content: ""; position: absolute; inset: 24%; background: var(--white); border-radius: 50%; }
.legend { list-style: none; margin: 0; padding: 0; font-size: 10.5px; color: var(--muted); display: grid; gap: 5px; }
.legend li { display: grid; grid-template-columns: 10px auto; column-gap: 6px; }
.legend li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--green)); margin-top: 3px; }
.legend b { grid-column: 2; color: var(--ink); font-weight: 500; font-size: 11px; }
.line-chart path { fill: none; stroke: #9be66d; stroke-width: 2.5; }
.chart-dates { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--ink); margin: 6px 0 12px; }
.tf-tabs { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); margin-bottom: 12px; }
.tf-tabs span { padding: 3px 8px; border-radius: 4px; }
.tf-tabs span.on { background: var(--green); color: var(--ink); font-weight: 600; }
.kpi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpi { background: #eef0f4; border-radius: 6px; padding: 8px; text-align: center; font-size: 10px; color: var(--muted); }
.kpi b { display: block; font: 600 15px var(--font-head); color: var(--ink); }
.demo-note { font-size: 10.5px; color: var(--muted); margin: 8px 2px 0; }

/* ---------- 12. Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.testi-grid h2 { max-width: 12ch; }
.testi-slider { position: relative; min-height: 230px; }
.testi { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), transform .6s var(--ease); transform: translateY(10px); }
.testi.active { opacity: 1; visibility: visible; transform: none; position: relative; }
.testi .q-mark { width: 34px; color: var(--green); margin-bottom: 18px; }
.testi blockquote { margin: 0 0 30px; font-size: 14px; color: #dfe2da; max-width: 46ch; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .who span.av { width: 44px; height: 44px; border-radius: 50%; background: var(--green); display: grid; place-items: center; font: 600 14px var(--font-head); color: var(--ink); border: 3px solid rgba(255,255,255,.2); }
.testi .who b { display: block; color: var(--green); font: 500 13px var(--font-head); }
.testi .who small { font-size: 11px; color: #a8aca3; }
.testi-dots { display: flex; gap: 8px; margin-top: 26px; }
.testi-dots button { width: 22px; height: 6px; border: 0; border-radius: var(--pill); background: rgba(255,255,255,.2); padding: 0; transition: background .3s, width .3s; }
.testi-dots button.on { background: var(--green); width: 36px; }
.disclaimer-sm { font-size: 11px; color: #8f9489; margin-top: 18px; }

/* ---------- 13. Insights ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { background: var(--mint); border-radius: var(--r-sm); padding: 16px; transition: transform .3s var(--ease); display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); }
.post-card .meta { font-size: 11px; color: var(--muted); margin-bottom: 26px; }
.post-card h3 { font-size: 16px; margin-bottom: 8px; }
.post-card p { font-size: 12.5px; color: var(--muted); }
.post-card .read { margin-top: auto; font: 500 12.5px var(--font-head); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--green); text-decoration-thickness: 2px; }

/* ---------- 14. Green CTA ---------- */
.cta-green { background: var(--green); padding: 110px 0 90px; overflow: hidden; }
.cta-green h2 { font-size: clamp(2rem, 4vw, 2.9rem); max-width: 19ch; margin-bottom: 30px; }
.cta-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: end; }
.cta-copy .cta-text { margin-left: 0;
    max-width: 50ch; }
.cta-copy .cta-text p { color: var(--ink); font-size: 13.5px; }
.cta-green img { border-radius: var(--r-sm); width: 100%; aspect-ratio: 3/2; object-fit: cover; }

/* ---------- 15. Accordion (FAQ) ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.faq-intro img { border-radius: var(--r-sm); margin-top: 50px; width: 72%; margin-left: auto; margin-right: auto; aspect-ratio: 5/3; object-fit: cover; }
.accordion { display: grid; gap: 10px; }
.acc-item { background: var(--mint); border-radius: 4px; overflow: hidden; }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  border: 0; background: transparent; padding: 11px 14px; text-align: left;
  font: 500 13px var(--font-head); color: var(--ink);
}
.acc-btn .plus { position: relative; width: 12px; height: 12px; flex-shrink: 0; }
.acc-btn .plus::before, .acc-btn .plus::after { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.acc-btn .plus::after { transform: rotate(90deg); }
.acc-item.open .acc-btn .plus::after { transform: rotate(0); }
.acc-item.open { background: #dff0e1; }
.acc-panel { height: 0; overflow: hidden; transition: height .4s var(--ease); }
.acc-panel > div { padding: 0 14px 14px; font-size: 13px; color: var(--text); }
.acc-panel p:last-child { margin-bottom: 0; }

/* FAQ page categories */
.faq-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.faq-tabs button { border: 1px solid var(--line); background: var(--white); border-radius: var(--pill); padding: 8px 18px; font: 500 13px var(--font-head); color: var(--muted); transition: all .25s; }
.faq-tabs button:hover { color: var(--ink); border-color: var(--ink); }
.faq-tabs button.on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.faq-group { max-width: 780px; margin: 0 auto 46px; }
.faq-group h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 16px; }
.faq-group[hidden] { display: none; }

/* ---------- 16. Inner page hero ---------- */
.page-hero { position: relative; padding: 170px 0 70px; background: #2f3833 center/cover no-repeat; color: var(--white); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,20,.7), rgba(20,24,20,.5)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 56ch; margin: 0; }
.crumbs { display: flex; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,.7); margin-bottom: 18px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--green); }
.crumbs a:hover { color: var(--white); }

/* ---------- 17. About page ---------- */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mvv-card { background: var(--white); border-radius: var(--r-sm); padding: 24px; border: 1px solid var(--mint-line); transition: transform .3s var(--ease), box-shadow .3s; }
.mvv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.mvv-card .icon-dot { margin-bottom: 30px; }
.mvv-card h3 { font-size: 20px; }
.mvv-card p { font-size: 13.5px; color: var(--muted); margin: 0; }
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stats-band div { padding: 10px 26px; border-left: 1px solid rgba(255,255,255,.14); }
.stats-band div:first-child { border-left: 0; padding-left: 0; }
.stats-band strong { display: block; font: 500 clamp(2rem, 3.6vw, 2.8rem) var(--font-head); color: var(--green); letter-spacing: -.03em; }
.stats-band span { font-size: 13px; color: #b9bdb4; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.value-row { display: grid; grid-template-columns: 40px 1fr; gap: 16px; background: var(--mint); border-radius: var(--r-sm); padding: 20px; }
.value-row h3 { font-size: 17px; margin-bottom: 4px; }
.value-row p { font-size: 13px; color: var(--muted); margin: 0; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.timeline li { border-top: 2px solid var(--green); padding-top: 16px; }
.timeline b { font: 600 13px var(--font-head); color: var(--ink); }
.timeline p { font-size: 13px; color: var(--muted); margin: 6px 0 0; }

/* ---------- 18. Accounts page ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.tier {
  background: var(--white); border: 1px solid var(--mint-line); border-radius: var(--r-md);
  padding: 22px 18px; display: flex; flex-direction: column; position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.tier h3 { font-size: 19px; margin-bottom: 2px; }
.tier .tier-for { font-size: 12px; color: var(--muted); margin-bottom: 18px; min-height: 38px; }
.tier .deposit { font: 500 30px var(--font-head); color: var(--ink); letter-spacing: -.03em; }
.tier .deposit small { display: block; font: 400 11.5px var(--font-body); color: var(--muted); letter-spacing: 0; }
.tier dl { margin: 18px 0; display: grid; gap: 8px; font-size: 12.5px; }
.tier dl div { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.tier dt { color: var(--muted); } .tier dd { margin: 0; color: var(--ink); font-weight: 500; text-align: right; }
.tier ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 7px; font-size: 12.5px; }
.tier ul li { display: flex; gap: 8px; align-items: flex-start; }
.tier ul li svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; color: var(--up); }
.tier .btn { margin-top: auto; width: 100%; }
.tier.popular { background: var(--ink); border-color: var(--ink); color: #c9ccc4; transform: translateY(-14px); box-shadow: 0 24px 50px rgba(39,42,35,.25); }
.tier.popular:hover { transform: translateY(-20px); }
.tier.popular h3, .tier.popular .deposit, .tier.popular dd { color: var(--white); }
.tier.popular dt, .tier.popular .tier-for, .tier.popular .deposit small { color: #a8aca3; }
.tier.popular dl div { border-color: rgba(255,255,255,.12); }
.tier.popular ul li svg { color: var(--green); }
.badge { position: absolute; top: -12px; left: 18px; background: var(--green); color: var(--ink); font: 600 11px var(--font-head); padding: 5px 12px; border-radius: var(--pill); }

.table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--mint-line); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 13px; }
.compare th, .compare td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--mint); font: 600 13px var(--font-head); color: var(--ink); position: sticky; top: 0; }
.compare th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink); background: var(--white); }
.compare .col-gold { background: rgba(142,239,80,.14); }
.compare thead .col-gold { background: var(--green); }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: #f5faf5; }
.compare tbody tr:hover .col-gold { background: rgba(142,239,80,.22); }
.compare tr.group th { background: var(--canvas); font: 700 10.5px var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: left; }
.yes { color: var(--up); font-weight: 600; } .no { color: #b5b9b0; }
.table-note { font-size: 12px; color: var(--muted); margin-top: 14px; }

/* ---------- 19. Markets page ---------- */
.market-rows { display: grid; gap: 18px; }
.market-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; background: var(--mint); border-radius: var(--r-md); padding: 22px; }
.market-row:nth-child(even) .mr-media { order: 2; }
.market-row img { border-radius: var(--r-sm); width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.market-row h3 { font-size: 26px; }
.market-row p { font-size: 13.5px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; list-style: none; padding: 0; }
.chips li { background: var(--white); border-radius: var(--pill); padding: 4px 12px; font: 500 12px var(--font-head); color: var(--ink); }
.spec-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.spec-row div { background: var(--white); border-radius: 6px; padding: 10px 12px; font-size: 11.5px; color: var(--muted); }
.spec-row b { display: block; font: 600 14px var(--font-head); color: var(--ink); }

/* ---------- 20. Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; align-items: start; }
.form-card { background: var(--mint); border-radius: var(--r-md); padding: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 13px var(--font-head); color: var(--ink); }
.field input, .field textarea {
  font: 14px var(--font-body); color: var(--ink); background: var(--white);
  border: 1px solid var(--mint-line); border-radius: var(--r-sm); padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 3px rgba(142,239,80,.3); }
.field.invalid input, .field.invalid textarea { border-color: var(--down); }
.field .err { font-size: 12px; color: var(--down); min-height: 1em; }
.form-status { margin-top: 16px; font-size: 13.5px; border-radius: var(--r-sm); padding: 0; }
.form-status.ok { background: var(--white); border-left: 4px solid var(--green); padding: 12px 14px; color: var(--ink); }
.consent { grid-column: 1/-1; display: flex; gap: 10px; font-size: 12.5px; color: var(--muted); align-items: flex-start; }
.consent input { margin-top: 4px; accent-color: var(--green-deep); }
.info-stack { display: grid; gap: 14px; }
.info-card { display: grid; grid-template-columns: 40px 1fr; gap: 14px; background: var(--white); border: 1px solid var(--mint-line); border-radius: var(--r-sm); padding: 18px; }
.info-card h3 { font-size: 15px; margin: 0 0 2px; }
.info-card p, .info-card a { font-size: 13.5px; color: var(--muted); margin: 0; }
.info-card a:hover { color: var(--ink); }
.map-box {
  margin-top: 26px; border-radius: var(--r-md); overflow: hidden; min-height: 340px; position: relative;
  background-color: #eef3ee;
  background-image: linear-gradient(var(--mint-line) 1px, transparent 1px), linear-gradient(90deg, var(--mint-line) 1px, transparent 1px);
  background-size: 34px 34px; display: grid; place-items: center; text-align: center;
}
.map-box .pin { width: 46px; color: var(--ink); margin: 0 auto 10px; animation: bob 2.2s ease-in-out infinite; }
.map-box p { font-size: 13px; color: var(--muted); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- 21. Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 50px; align-items: start; }
.toc { position: sticky; top: 100px; background: var(--mint); border-radius: var(--r-sm); padding: 18px; font-size: 13px; }
.toc h2 { font-size: 14px; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--muted); }
.toc a:hover { color: var(--ink); }
.legal-body { max-width: 72ch; }
.legal-body h2 { font-size: 22px; margin: 42px 0 12px; scroll-margin-top: 100px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 16px; margin: 22px 0 8px; }
.legal-body p, .legal-body li { font-size: 14.5px; }
.legal-body ul { padding-left: 20px; }
.legal-body li { margin-bottom: 6px; }
.legal-body .callout { background: var(--mint); border-left: 4px solid var(--green); padding: 16px 18px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 20px 0; }
.updated { font-size: 12.5px; color: var(--muted); margin-bottom: 26px; }

/* ---------- 22. Footer ---------- */
.site-footer { background: var(--ink); color: #b9bdb4; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.45fr; gap: 30px; }
.footer-col h3 { font-size: 14px; color: var(--white); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 12.5px; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--green); }
.footer-col .brand img { height: 28px; margin-bottom: 16px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: background .25s, border-color .25s; }
.socials a:hover { background: var(--green); border-color: var(--green); color: var(--ink); }
.socials svg { width: 14px; height: 14px; }
.foot-card { background: var(--green); color: var(--ink); border-radius: var(--r-sm); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; }
.foot-card h3 { font-size: 24px; max-width: 12ch; }
.foot-card p { font-size: 12.5px; margin: 0 0 14px; max-width: 38ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; padding: 40px 0 26px; border-bottom: 1px solid rgba(255,255,255,.1); margin-top: 50px; }
.risk-banner { background: #1f221c; padding: 24px 0 30px; font-size: 12px; line-height: 1.7; color: #9da196; }
.risk-banner strong { color: var(--green); font-family: var(--font-head); font-weight: 600; }
.risk-banner p { margin: 0 0 8px; }

/* ---------- 23. Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* back-to-top */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--green); color: var(--ink); display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .3s var(--ease); z-index: 90; box-shadow: var(--shadow-soft); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 18px; }

/* ---------- 24. Responsive ---------- */
@media (max-width: 1100px) {
  .tier-grid { grid-template-columns: repeat(3, 1fr); }
  .tier.popular { transform: none; } .tier.popular:hover { transform: translateY(-6px); }
}
@media (max-width: 980px) {
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: block; }
  .site-header.menu-open { background: var(--canvas); box-shadow: 0 1px 0 var(--line); }
  .site-header.menu-open .main-nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--canvas); border-radius: 0; box-shadow: 0 20px 30px rgba(0,0,0,.08); padding: 10px 20px 24px;
  }
  .menu-open .main-nav ul { flex-direction: column; }
  .menu-open .main-nav ul a { font-size: 16px; padding: 12px 6px; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .menu-open .mobile-actions { display: flex; gap: 10px; margin-top: 18px; }
  .menu-open .mobile-actions .btn { flex: 1; }

  .hero-cards { grid-template-columns: 1fr 1fr; margin-top: -90px; }
  .hero-side { grid-column: 1 / -1; }
  .hero-side .dots-list { color: var(--ink); margin-bottom: 16px; }
  .about-grid, .testi-grid, .faq-grid, .contact-grid, .cta-layout { grid-template-columns: 1fr; }
  .feature-photo { min-height: 420px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-photo { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
  .why-photo img { aspect-ratio: 16/9; flex: 2; }
  .goal-bar { flex: 1; display: flex; align-items: flex-end; }
  .step-card .sc-main { grid-template-columns: 1fr 1fr; }
  .card-grid, .post-grid, .mvv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-card { grid-column: 1 / -1; min-height: 200px; }
  .stats-band { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .stats-band div:nth-child(3) { border-left: 0; padding-left: 0; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .market-row { grid-template-columns: 1fr; }
  .market-row:nth-child(even) .mr-media { order: 0; }
  .cta-copy .cta-text { margin-left: 0; }
  .cta-green img { max-width: 360px; }
}
@media (max-width: 680px) {
  body { font-size: 14.5px; }
  .section { padding: 76px 0; }
  .hero { min-height: 560px; padding-bottom: 130px; }
  .hero-cards { grid-template-columns: 1fr; }
  .card-grid, .post-grid, .mvv-grid, .values-grid, .why-grid, .tier-grid, .form-grid { grid-template-columns: 1fr; }
  .why-photo { flex-direction: column; }
  .mini-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .step-card .sc-main { grid-template-columns: 1fr; gap: 18px; }
  .step-card .sc-row { font-size: 9.5px; }
  .dark-bar { border-radius: var(--r-md); flex-direction: column; align-items: flex-start; padding: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .spec-row { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
  .brand img { height: 26px; }
}

/* ---------- 25. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .mc-line { stroke-dashoffset: 0; } .mc-area { opacity: 1; }
}

/* ---------- 27. 2026-10 additions (live-site content, FR | ES) ---------- */
.hero-kicker { display: inline-block; font: 600 12px var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 0 0 14px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-card { background: #31352c; border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-sm); padding: 24px; display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s; }
.svc-card:hover { transform: translateY(-5px); border-color: rgba(142,239,80,.45); }
.svc-card .icon-dot { margin-bottom: 26px; color: var(--ink); }
.svc-card h3 { font-size: 19px; }
.svc-card p { font-size: 13.5px; color: #b9bdb4; }
.svc-link { margin-top: auto; font: 500 13px var(--font-head); color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.svc-link:hover { color: var(--white); }
.dark-bar.roomy { border-radius: var(--r-md); padding: 20px 20px 20px 26px; line-height: 1.6; }
.dark-bar.roomy b { color: var(--green); font-family: var(--font-head); font-weight: 500; }
.section.mint .value-row { background: var(--white); border: 1px solid var(--mint-line); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-panel { background: var(--mint); border-radius: var(--r-sm); padding: 28px; }
.info-panel h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.info-panel p { font-size: 14px; color: var(--text); }
.info-panel p:last-child { margin-bottom: 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tier-grid.six { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
.tier .deposit { white-space: nowrap; }
.compare td { white-space: nowrap; }
.compare { min-width: 900px; }
/* language switcher (inserted by the build before the menu button) */
.site-header .lang-switch { color: var(--white); font-family: var(--font-head); font-size: 12.5px; gap: .3em; padding: 6px 12px; border: 1px solid rgba(255,255,255,.45); border-radius: var(--pill); flex-shrink: 0; }
.site-header .lang-switch a { opacity: .7; padding: .15em .15em; border-bottom: 2px solid transparent; }
.site-header .lang-switch a:hover, .site-header .lang-switch a:focus-visible { opacity: 1; color: var(--green); }
.site-header .lang-switch a[aria-current="true"] { opacity: 1; border-bottom-color: var(--green); }
.site-header.scrolled .lang-switch, .site-header.menu-open .lang-switch { color: var(--ink); border-color: var(--ink); }
.site-header.scrolled .lang-switch a:hover, .site-header.menu-open .lang-switch a:hover { color: var(--green-deep); }
.legal-lang-note { border-left: 4px solid var(--green); background: var(--mint); color: var(--text); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 0 0 26px; font-size: 13.5px; }
.legal-lang-note a { color: var(--ink); }
@media (max-width: 1100px) {
  .main-nav a { padding: 6px 9px; }
  .site-header .container { gap: 12px; }
}
@media (max-width: 980px) {
  .site-header .lang-switch { margin-left: auto; }
  .svc-grid, .tier-grid.six { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .svc-grid, .tier-grid.six { grid-template-columns: 1fr; }
  .site-header .lang-switch { padding: 5px 10px; }
  .dark-bar.roomy { padding: 18px; }
  .info-panel { padding: 22px; }
}

/* ---------- 26. Real image additions ---------- */
.avatars img { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--white); margin-left: -10px; object-fit: cover; background: var(--mint-line); }
.avatars img:first-child { margin-left: 0; }
.foot-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; margin-bottom: 16px; }
.foot-card { justify-content: flex-start; gap: 4px; }
.foot-card > div { margin-top: auto; }
.tier .deposit + ul { margin-top: 18px; }
