/* Gran Private Equity static site. Brand colors sampled from the original logo:
   blue #0d89c4, gray #7f8789. Base font: Montserrat (as on the WP site). */

:root {
  --brand: #0d89c4;
  --brand-strong: #0a6da0;
  --brand-soft: #e3f2fa;
  --navy-1: #0a1e2c;
  --navy-2: #0e2c40;
  --navy-3: #123a54;
  --ink: #1c2b35;
  --gray: #5d6a73;
  --gray-logo: #7f8789;
  --line: #dde6ec;
  --bg: #ffffff;
  --bg-alt: #f3f8fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 30, 44, .08);
  --shadow-lift: 0 18px 40px rgba(10, 30, 44, .14);
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; margin-top: 2.2rem; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -.01em; }
h3 { font-size: 1.13rem; }

.kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 .9rem;
}
.kicker-light { color: #7fc6e8; }
.section-lead { max-width: 46rem; color: var(--gray); font-size: 1.06rem; margin-bottom: 2.4rem; }

/* ------------------------------------------------------------- header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; padding: 8px 0; }
.logo img { height: 54px; width: auto; display: block; }
.logo-light img { height: 64px; }

.site-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  transition: background .18s, color .18s;
}
.site-nav a:hover { background: var(--brand-soft); color: var(--brand-strong); }
.lang-switch {
  border: 1.5px solid var(--line);
  color: var(--gray) !important;
  letter-spacing: .08em;
}
.lang-switch:hover { border-color: var(--brand); color: var(--brand-strong) !important; }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: 8px 16px;
    font: 600 .85rem 'Montserrat', sans-serif;
    color: var(--ink);
    cursor: pointer;
  }
  .nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; }
  .nav-toggle-bars i { width: 16px; height: 2px; background: var(--brand); border-radius: 2px; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 18px; }
  .site-nav a { display: block; padding: 12px 10px; border-radius: 10px; }
  .lang-item { margin-top: 6px; }
}

/* --------------------------------------------------------------- hero --- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(13, 137, 196, .55), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(13, 137, 196, .35), transparent 55%),
    linear-gradient(160deg, var(--navy-1), var(--navy-2) 55%, var(--navy-3));
}
.hero-home { padding: clamp(5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }
.hero-sub { padding: clamp(3.4rem, 7vw, 5.5rem) 0 clamp(2.6rem, 5vw, 4rem); }
.hero-decor { position: absolute; inset: 0; pointer-events: none; }
.hero-decor path, .hero-decor circle { fill: #7cc7ea; }
.decor-a { position: absolute; right: -3%; top: 8%; width: 44%; min-width: 380px; opacity: .26; }
.decor-b { position: absolute; left: -5%; top: 12%; width: 40%; min-width: 330px; opacity: .3; transform: scaleX(-1); }
.decor-c { position: absolute; left: 18%; top: 50%; width: 27%; min-width: 230px; opacity: .15; transform: scaleX(-1); }
@media (max-width: 640px) {
  .decor-a { min-width: 260px; width: 70%; opacity: .16; top: 4%; }
  .decor-b { min-width: 220px; width: 60%; opacity: .18; top: auto; bottom: 6%; left: auto; right: -12%; }
  .decor-c { display: none; }
  .decor-arcs { width: 240px; right: -50px; bottom: -50px; opacity: .14; }
}
.decor-arcs { position: absolute; right: -60px; bottom: -60px; width: 380px; opacity: .2; }
.decor-arcs circle { fill: none; stroke: #7cc7ea; }
.hero-v-fund {
  background:
    radial-gradient(900px 460px at -10% -20%, rgba(13, 137, 196, .5), transparent 60%),
    linear-gradient(200deg, var(--navy-2), var(--navy-1) 60%, var(--navy-3));
}
.hero-v-disc {
  background:
    radial-gradient(1000px 480px at 50% 130%, rgba(13, 137, 196, .45), transparent 62%),
    linear-gradient(140deg, var(--navy-1) 30%, var(--navy-3));
}
.hero-kicker {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #8ecdec;
  margin: 0 0 1.1rem;
}
.hero h1 { max-width: 17em; color: #fff; }
.hero-home h1 { font-size: clamp(1.35rem, 3vw, 2.7rem); max-width: none; }
@media (min-width: 861px) { .hero-home h1 { white-space: nowrap; } }
.hero-lead { max-width: 38rem; font-size: 1.12rem; color: rgba(255, 255, 255, .82); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }

/* ------------------------------------------------------------ buttons --- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .93rem;
  letter-spacing: .02em;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(120deg, var(--brand), #23a7e0);
  color: #fff;
  box-shadow: 0 8px 22px rgba(13, 137, 196, .35);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(13, 137, 196, .45); }
.btn-ghost {
  border: 1.5px solid var(--brand);
  color: var(--brand-strong);
  background: #fff;
}
.btn-ghost:hover { background: var(--brand-soft); transform: translateY(-2px); }
.btn-ghost-light {
  border: 1.5px solid rgba(255, 255, 255, .55);
  color: #fff;
}
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); transform: translateY(-2px); }

/* ----------------------------------------------------------- sections --- */
.section { padding: clamp(3.4rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }

.section-about { position: relative; overflow: hidden; }
.about-text { max-width: 44rem; position: relative; z-index: 1; }
.about-text .section-lead { margin-bottom: 0; }
.about-bg { position: absolute; inset: 0; pointer-events: none; }
.about-bg svg { position: absolute; right: -6%; top: 6%; width: 52%; min-width: 380px; opacity: .14; }
.about-bg svg path { fill: var(--brand); }
.about-bg .about-bg-2 { right: 6%; top: 46%; width: 34%; min-width: 250px; opacity: .08; }
@media (max-width: 1100px) {
  .about-bg svg { opacity: .09; right: -18%; }
  .about-bg .about-bg-2 { opacity: .05; right: -4%; }
}
@media (max-width: 640px) {
  .about-bg svg { opacity: .06; right: -30%; width: 90%; min-width: 280px; }
  .about-bg .about-bg-2 { display: none; }
}

/* --------------------------------------------------------- fund cards --- */
.fund-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.fund-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.fund-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: #bcd9ea; }
.fund-card::before {
  content: '';
  position: absolute;
  top: 0; left: 26px; right: 26px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--brand), #23a7e0);
}
.fund-card h3 { margin-top: .5rem; }
.fund-card p { color: var(--gray); font-size: .94rem; flex: 1; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.card-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 5px 12px;
}
.card-tag-closed { background: #e8ebee; color: #74808a; }

.card-kv { margin: .2rem 0 0; display: flex; flex-direction: column; gap: 6px; }
.kv-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px dashed var(--line);
  padding-top: 6px;
}
.kv-row dt {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
}
.kv-row dd { margin: 0; font-size: .85rem; font-weight: 700; color: var(--ink); white-space: nowrap; }

.fund-card.is-closed {
  background: #f1f4f6;
  border-color: #e0e6ea;
  box-shadow: none;
}
.fund-card.is-closed:hover { transform: none; box-shadow: none; border-color: #e0e6ea; }
.fund-card.is-closed::before { background: #c3ccd2; }
.fund-card.is-closed h3 { color: #74808a; }
.fund-card.is-closed .card-tag { background: #e4e9ec; color: #74808a; }
.fund-card.is-closed .kv-row dd { color: #5d6a73; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.1rem; }
.card-actions .btn { padding: 9px 18px; font-size: .85rem; }

/* ---------------------------------------------------- portfolio cards --- */
.pf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}
.pf-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.pf-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pf-card p { color: var(--gray); font-size: .92rem; flex: 1; }
.pf-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: .9rem; }
.card-site { font-weight: 600; font-size: .9rem; margin-top: .4rem; }

.badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 11px;
}
.badge-year { background: var(--brand-soft); color: var(--brand-strong); }
.badge-closed { background: #f2e8e6; color: #a5533f; }
.badge-type { background: #eef2f5; color: var(--gray); flex-shrink: 0; }

/* -------------------------------------------------------- disclosures --- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2.4rem;
  position: sticky;
  top: calc(var(--header-h) + 10px);
  z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  padding: 10px 0;
}
.chip {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 16px;
  font: 600 .85rem 'Montserrat', sans-serif;
  color: var(--gray);
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-strong); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.disc-year { margin-bottom: 2.2rem; }
.disc-year-h {
  font-size: 1.05rem;
  letter-spacing: .14em;
  color: var(--brand-strong);
  border-bottom: 2px solid var(--brand-soft);
  padding-bottom: .45rem;
}
.disc-list { list-style: none; margin: 0; padding: 0; }
.disc-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 14px;
  border-radius: 10px;
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.disc-item:hover { background: var(--bg-alt); }
.disc-date {
  flex-shrink: 0;
  width: 6.4em;
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums;
}
.disc-link { flex: 1; font-size: .95rem; font-weight: 500; color: var(--ink); }
.disc-link:hover { color: var(--brand-strong); }
.disc-text { flex: 1; margin: 0; font-size: .95rem; font-weight: 500; color: var(--ink); line-height: 1.6; }
.disc-teaser { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.disc-teaser .disc-item { padding: 16px 20px; }
.disc-teaser .disc-item:last-child { border-bottom: 0; }
@media (max-width: 640px) {
  .disc-item { flex-wrap: wrap; gap: 6px 12px; }
  .disc-link { flex-basis: 100%; order: 3; }
}

/* ------------------------------------------------------------ contact --- */
.section-contact {
  color: #fff;
  background:
    radial-gradient(900px 400px at 110% 120%, rgba(13, 137, 196, .4), transparent 60%),
    linear-gradient(160deg, var(--navy-2), var(--navy-1));
}
.section-contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.contact-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 20px;
}
.contact-card h3 {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8ecdec;
  margin-bottom: .5rem;
}
.contact-card p { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .88); }
.contact-card a { color: #fff; font-weight: 600; }
.contact-card a:hover { color: #8ecdec; }

/* ------------------------------------------------------------- footer --- */
.site-footer {
  background: var(--navy-1);
  color: rgba(255, 255, 255, .75);
  padding: 3.2rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
  gap: 2.2rem;
  padding-bottom: 2.4rem;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-soon {
  display: inline-block;
  padding: 5px 0;
  color: rgba(255, 255, 255, .38);
  font-size: .93rem;
  font-weight: 500;
  cursor: default;
}
.footer-soon em { font-style: normal; font-size: .78rem; color: rgba(255, 255, 255, .3); }
.footer-reg { font-size: .84rem; line-height: 1.7; margin-top: 1rem; }
.footer-h {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8ecdec;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a {
  display: inline-block;
  padding: 5px 0;
  color: rgba(255, 255, 255, .82);
  font-size: .93rem;
  font-weight: 500;
}
.footer-links a:hover { color: #8ecdec; }
.footer-contact { font-size: .93rem; line-height: 1.8; margin: 0 0 .6rem; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-contact a:hover { color: #8ecdec; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 1.1rem;
  padding-bottom: 1.4rem;
}
.footer-bottom p { margin: 0; font-size: .8rem; color: rgba(255, 255, 255, .5); }

/* ------------------------------------------------------------- reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
