/* Top-Apps — site stylesheet */
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --text: #2e3133;
  --muted: #5b6166;
  --sky: #e7f6ff;
  --sky-2: #d6eefc;
  --blue: #008afc;
  --blue-dark: #0070cc;
  --accent: #0376bd;
  --white: #fff;
  --line: #dfe6ea;
  --whatsapp: #1fb40f;
  --mail: #f7a325;
  --radius: 8px;
  --wrap: 1100px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.7; font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.25; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; }
.accent { color: var(--accent); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 22px; flex: 1; }
.nav a { color: var(--text); text-decoration: none; font-size: 14px; white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.header-actions { display: flex; gap: 18px; margin-left: auto; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  transition: transform .15s;
}
.round-btn:hover { transform: scale(1.06); color: #fff; }
.round-btn svg { width: 26px; height: 26px; }
.round-btn.wa { background: var(--whatsapp); }
.round-btn.mail { background: var(--mail); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-left: 4px; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 980px) {
  .site-header .wrap { gap: 12px; }
  .nav-toggle { display: block; order: 3; }
  .header-actions { gap: 10px; }
  .round-btn { width: 40px; height: 40px; }
  .round-btn svg { width: 22px; height: 22px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 0; background: var(--white); box-shadow: 0 8px 16px rgba(0,0,0,.12); padding: 8px 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 24px; font-size: 16px; border-bottom: 0; }
  .brand img { height: 42px; }
}

/* ---------- Hero with V-shaped bottom ---------- */
.hero {
  background: var(--sky); position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 70px), 50% 100%, 0 calc(100% - 70px));
  padding: 56px 0 130px;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.hero h1 { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: .4em; }
.hero .lead { font-size: clamp(1.2rem, 2.1vw, 2rem); line-height: 1.55; margin-bottom: 1.4em; }
.hero.centered { text-align: center; padding-bottom: 120px; }
.hero.centered .wrap { display: block; }
.hero .tagline { font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.45; margin: 0; }
.scroll-down { display: flex; justify-content: center; margin: -60px 0 30px; position: relative; z-index: 2; color: var(--blue); }
.scroll-down svg { width: 44px; height: 44px; }
.scroll-down a { color: inherit; }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 110px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 50% 100%, 0 calc(100% - 40px)); }
  .hero-art { max-width: 340px; margin: 0 auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--blue); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px; letter-spacing: .06em; padding: 14px 26px; border-radius: var(--radius);
  border: 2px solid var(--blue); transition: background .15s, border-color .15s; cursor: pointer;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn.outline { background: transparent; color: var(--text); border: 1px solid var(--text); font-weight: 400; letter-spacing: 0; border-radius: 0; padding: 10px 22px; }
.btn.outline:hover { background: var(--text); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.sky { background: var(--sky); }
.section-title { text-align: center; margin-bottom: .4em; }
.section-sub { text-align: center; font-size: clamp(1.15rem, 2vw, 1.9rem); line-height: 1.5; margin-bottom: 2em; }
.prose { font-size: 1.15rem; line-height: 1.85; }
.prose-lg { font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.9; }

.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 48px 70px; }
.steps img { border-radius: 4px; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 340px); gap: 28px; } }

.timeline img { margin: 0 auto; width: 100%; max-width: 980px; }

.partner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.partner .big { font-size: clamp(1.8rem, 3.3vw, 2.8rem); line-height: 1.3; color: var(--accent); margin: .6em 0; }
.partner .logo { max-width: 300px; }
@media (max-width: 760px) { .partner { grid-template-columns: 1fr; } .partner-art { max-width: 300px; margin: 0 auto; } }

/* valuation (Pipedrive form) */
.valuation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.valuation h2 { margin-bottom: .3em; }
.form-box { background: var(--white); border-radius: 12px; padding: 12px; min-height: 420px; box-shadow: 0 6px 30px rgba(3, 118, 189, .12); }
.form-fallback { padding: 24px; font-size: 15px; }
.contact-box { background: var(--white); border-radius: 12px; padding: 28px; box-shadow: 0 6px 30px rgba(3, 118, 189, .12); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-actions .btn { display: inline-flex; align-items: center; gap: 10px; }
.contact-actions .btn svg { width: 20px; height: 20px; }
.btn.wa { background: var(--whatsapp); border-color: var(--whatsapp); }
.btn.wa:hover { background: #179a0b; border-color: #179a0b; }
@media (max-width: 860px) { .valuation { grid-template-columns: 1fr; } .valuation-art { max-width: 360px; margin: 0 auto; order: -1; } }

/* cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.card { background: var(--sky); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 403 / 334; object-fit: cover; }
.card .body { padding: 26px 28px 32px; font-size: 15px; line-height: 1.75; }
.card h3 { font-size: 1.2rem; margin-bottom: 1em; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

.criteria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; text-align: center; max-width: 960px; margin: 0 auto; }
.criteria img { width: 121px; height: 121px; border-radius: 50%; object-fit: cover; margin: 0 auto 22px; }
.criteria h3 { font-size: 1.6rem; }
.criteria p { font-size: 1.05rem; line-height: 1.9; max-width: 280px; margin: 0 auto; }
@media (max-width: 860px) { .criteria { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .criteria { grid-template-columns: 1fr; } }

/* about */
.intro { max-width: 720px; margin: 0 auto; text-align: center; font-size: 1.05rem; line-height: 1.75; }
.divider { width: 36px; height: 2px; background: var(--text); margin: 18px auto 48px; border: 0; }
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 90px; max-width: 900px; margin: 0 auto; }
.member { text-align: center; width: 220px; }
.member img { width: 216px; height: 216px; border-radius: 50%; margin: 0 auto 20px; }
.member h3 { font-size: 1.2rem; margin-bottom: .4em; }
.member .in { display: inline-block; color: #8a8f93; }
.member .in svg { width: 34px; height: 34px; }
.member .in:hover { color: var(--accent); }
.member .role { font-size: 14px; margin: .4em 0 0; }
.press { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.press-card { background: var(--sky); padding: 28px 32px 40px; text-align: center; }
.press-card .logo { height: 86px; display: grid; place-items: center; margin-bottom: 18px; }
.press-card .logo img { max-height: 86px; width: auto; }
.press-card .when { margin: 0; }
.press-card h3 { font-size: 1.3rem; margin: .2em 0 .3em; }
.press-card blockquote { margin: 0; font-size: 15px; }
@media (max-width: 860px) { .press { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* blog */
.post-list { display: grid; gap: 32px; max-width: 980px; margin: 0 auto; }
.post-card { display: grid; grid-template-columns: 454px 1fr; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--text); transition: box-shadow .15s; }
.post-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.08); color: var(--text); }
.post-card img { width: 100%; height: 100%; aspect-ratio: 454 / 341; object-fit: cover; }
.post-card .body { padding: 28px 32px; display: flex; flex-direction: column; }
.post-card h2 { font-size: 1.6rem; margin: .5em 0; }
.post-card .excerpt { font-size: 15px; color: var(--muted); }
.post-meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
@media (max-width: 860px) { .post-card { grid-template-columns: 1fr; } }

.article { max-width: 760px; margin: 0 auto; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: .4em 0 .4em; }
.article .content { font-size: 1.07rem; line-height: 1.85; }
.article .content h2 { font-size: 1.7rem; margin: 1.6em 0 .6em; }
.article .content h3 { font-size: 1.3rem; margin: 1.4em 0 .5em; }
.article .content figure { margin: 2em 0; }
.article .content img { width: 100%; }
.back { display: inline-block; font-size: 15px; text-decoration: none; margin-bottom: 8px; }

/* jobs */
.jobs-hero { background: url("/assets/img/jobs-forest.jpg") center / cover no-repeat; }
.jobs-hero .title { background: rgba(255,255,255,.72); padding: 26px 0; text-align: center; }
.jobs-hero .title h1 { font-weight: 700; margin: 0; }
.jobs-hero .list { padding: 28px 0 60px; display: grid; gap: 28px; }
.job-card { background: rgba(255,255,255,.82); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 36px 34px; max-width: 922px; margin: 0 auto; width: 100%; }
.job-card h2 { font-size: 1.65rem; margin: 0 0 .5em; }
.job-card p { margin: 0; }
.job-card .btn.outline { background: var(--sky); }
.job-card .btn.outline:hover { background: var(--text); }
@media (max-width: 640px) { .job-card { flex-direction: column; align-items: flex-start; } }
.job-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; }
.job-facts { font-size: 15px; margin-top: 14px; }
.job-facts dt { font-size: 14px; color: var(--muted); }
.job-facts dd { margin: 0 0 8px; }
.job-body { max-width: 720px; margin: 40px auto 0; }
.job-body h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* services / booking */
.service-card { max-width: 620px; margin: 0 auto; border: 1px solid var(--line); background: var(--white); padding: 34px; text-align: center; }
.service-card h2 { font-size: 1.6rem; }
.service-card .facts { color: var(--muted); margin-bottom: 1.4em; }

/* legal */
.legal { background: var(--sky); padding: 64px 0 80px; }
.legal .doc { max-width: 760px; margin: 0 auto; font-size: 1.05rem; line-height: 1.8; overflow-wrap: anywhere; }
.legal h1 { text-align: center; margin-bottom: .2em; }
.legal .app-name { text-align: center; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: .2em; }
.legal .effective { text-align: center; color: var(--muted); margin-bottom: 2em; }
.legal h2 { font-size: 1.35rem; font-weight: 600; margin: 2em 0 .7em; }
.toc { background: var(--white); border-radius: var(--radius); padding: 20px 28px; margin-bottom: 2.5em; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: 4px 0; }

/* ---------- Footer / Contact ---------- */
.site-footer { background: var(--sky); padding: 64px 0 36px; text-align: center; }
.site-footer h2 { margin-bottom: .5em; }
.site-footer .company { font-size: 1.6rem; margin: 0 0 .3em; }
.site-footer .contact-line { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; }
.site-footer .contact-line a { color: var(--text); text-decoration: none; }
.site-footer .contact-line a:hover { color: var(--accent); }
.site-footer .contact-line svg { width: 24px; height: 24px; display: block; }
.site-footer address { font-style: normal; margin-top: 2.2em; }
.footer-bottom { display: flex; justify-content: center; align-items: center; position: relative; margin-top: 10px; }
.footer-bottom small { font-size: 14px; }
.footer-bottom .linkedin { position: absolute; right: 0; color: #0a66c2; }
.footer-bottom .linkedin svg { width: 40px; height: 40px; display: block; }
@media (max-width: 640px) { .footer-bottom { flex-direction: column; gap: 16px; } .footer-bottom .linkedin { position: static; } }

/* 404 */
.notfound { text-align: center; padding: 120px 0; }
