/* Finexo.swiss landing page — Finexo brand alignment
   Brand colours follow the Finexo identity: dark blue #0f1031 and green #66ff33.
*/

:root {
  --ink: #202129;
  --muted: #5f6069;
  --paper: #ffffff;
  --soft: #f7f7f5;
  --line: #e2e3e6;
  --accent: #66ff33;
  --accent-strong: #39c91a;
  --dark: #0f1031;
  --max: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { max-width: 860px; }
.skip-link { position: absolute; left: -9999px; top: 10px; background: #fff; padding: 10px 14px; z-index: 1000; }
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.985);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; margin-right: auto; flex: 0 0 auto; }
.brand-logo-img { width: 118px; height: auto; max-height: 36px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  position: relative;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .02em;
}
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 3px;
  background: var(--accent);
  transition: right .16s ease;
}
.main-nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta {
  padding: 10px 15px;
  border: 1px solid var(--dark);
  border-radius: 0;
  background: var(--dark);
  color: #fff !important;
}
.nav-cta:hover { border-color: var(--accent); color: var(--dark) !important; background: var(--accent); }
.language-switch { display: flex; align-items: center; gap: 7px; padding-left: 18px; border-left: 1px solid var(--line); }
.language-switch a, .language-switch span { font-size: 12px; text-decoration: none; color: var(--muted); }
.language-switch span { opacity: .42; cursor: default; }
.language-switch a[aria-current="page"] { color: var(--dark); font-weight: 800; box-shadow: inset 0 -3px 0 var(--accent); }

.hero {
  padding: 88px 0 76px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 70px; align-items: center; }
.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--dark);
}
.eyebrow::before { content: "/"; margin-right: 9px; color: var(--accent-strong); font-weight: 900; }
h1, h2, h3 { line-height: 1.12; margin-top: 0; color: var(--dark); }
h1 { margin-bottom: 24px; max-width: 820px; font-size: clamp(42px, 5.5vw, 72px); font-weight: 800; letter-spacing: -.04em; }
h1 span {
  color: var(--dark);
  background: linear-gradient(transparent 69%, rgba(102,255,51,.62) 69%);
}
h2 { margin-bottom: 18px; font-size: clamp(32px, 3.4vw, 48px); font-weight: 800; letter-spacing: -.03em; }
h3 { margin-bottom: 12px; font-size: 22px; }
.lead { max-width: 760px; margin: 0; font-size: clamp(18px, 2vw, 22px); color: var(--muted); }
.lead-small { max-width: 720px; margin: 0 0 26px; font-size: 18px; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 26px; }
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 0;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.btn-primary { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.btn-secondary { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-secondary:hover { background: var(--soft); }
.btn-full { width: 100%; }
.trust-list { margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; font-size: 14px; font-weight: 700; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--accent-strong); }
.languages { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.hero-card {
  padding: 34px;
  border-radius: 0;
  border-top: 6px solid var(--accent);
  background: var(--dark);
  color: #fff;
  box-shadow: none;
}
.hero-card h2 { font-size: 34px; color: #fff; }
.hero-card p { color: #dcdce6; }
.card-kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.contact-lines { margin-top: 26px; border-top: 1px solid rgba(255,255,255,.18); }
.contact-lines a { display: block; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.18); text-decoration: none; }
.contact-lines span, .contact-lines strong { display: block; }
.contact-lines span { font-size: 12px; color: #b9bac8; }
.contact-lines strong { margin-top: 3px; font-size: 19px; }
.small-note { margin: 22px 0 0; font-size: 12px; }

.visual-proof { padding: 36px 0; border-bottom: 1px solid var(--line); background: #fff; }
.visual-proof-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.visual-proof-image { overflow: hidden; border-radius: 0; background: var(--soft); border: 1px solid var(--line); }
.visual-proof-image img { width: 100%; min-height: 220px; object-fit: cover; }
.visual-proof-copy h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 12px; }
.visual-proof-copy p:last-child { max-width: 610px; margin-bottom: 0; color: var(--muted); font-size: 17px; }

.section { padding: 92px 0; }
.section-light { background: var(--soft); }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading > p:last-child, .section-copy { color: var(--muted); font-size: 18px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { min-height: 245px; padding: 28px; border: 1px solid var(--line); border-radius: 0; background: #fff; }
.service-card p { color: var(--muted); margin-bottom: 0; }
.service-number { display: block; margin-bottom: 30px; font-size: 12px; font-weight: 800; color: var(--dark); }
.service-number::after { content: ""; display: inline-block; width: 24px; height: 4px; margin-left: 8px; vertical-align: middle; background: var(--accent); }
.service-card-accent { background: var(--dark); color: #fff; border-color: var(--dark); border-top: 5px solid var(--accent); }
.service-card-accent h3 { color: #fff; }
.service-card-accent p { color: #e0e0e8; }
.service-card-accent .service-number { color: #fff; }

.switch-section { background: #fff; }
.switch-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: center; }
.check-list { margin: 0 0 30px; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 31px; font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--accent-strong); font-weight: 900; }
.switch-card { padding: 34px; border-radius: 0; border: 1px solid var(--line); border-left: 5px solid var(--accent); background: var(--soft); }
.switch-card h3 { font-size: 28px; }
.switch-card p { color: var(--muted); }
.switch-card > a { display: inline-block; margin-top: 9px; font-size: 22px; font-weight: 800; text-decoration: none; color: var(--dark); }
.switch-label { display: inline-block; margin-bottom: 22px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dark); }

.split-section { background: #fff; }
.split-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps > li > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--dark); border-radius: 0; font-size: 13px; font-weight: 800; color: var(--dark); }
.steps h3 { margin-bottom: 5px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); }

.experience-section { background: var(--dark); color: #fff; border-top: 6px solid var(--accent); }
.experience-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: center; }
.experience-stat { padding-right: 50px; border-right: 1px solid rgba(255,255,255,.18); }
.experience-stat strong { display: block; font-size: clamp(45px, 7vw, 82px); letter-spacing: -.05em; color: var(--accent); }
.experience-stat span { display: block; max-width: 310px; color: #c2c3cd; }
.experience-copy h2, .experience-copy h3 { color: #fff; }
.experience-copy p:not(.eyebrow) { color: #e0e0e8; }
.experience-copy .eyebrow { color: #fff; }
.experience-copy .eyebrow::before { color: var(--accent); }

.faq-section details { border-top: 1px solid var(--line); }
.faq-section details:last-child { border-bottom: 1px solid var(--line); }
.faq-section summary { padding: 22px 0; font-weight: 800; cursor: pointer; color: var(--dark); }
.faq-section details p { margin: -6px 0 24px; max-width: 760px; color: var(--muted); }

.contact-section { background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.contact-intro { max-width: 480px; font-size: 18px; color: var(--muted); }
.contact-boxes { margin-top: 30px; display: grid; gap: 10px; }
.contact-boxes a { width: fit-content; text-decoration: none; }
.contact-boxes span, .contact-boxes strong { display: block; }
.contact-boxes span { color: var(--muted); font-size: 12px; }
.contact-boxes strong { font-size: 22px; color: var(--dark); }
.lead-form { position: relative; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 800; color: var(--dark); }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 13px 14px; border: 1px solid #c9cbd1; border-radius: 0; background: #fff; color: var(--ink); font: inherit; }
.form-row textarea { resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 3px solid rgba(102,255,51,.30); border-color: var(--dark); }
.privacy-check { display: grid; grid-template-columns: 20px 1fr; gap: 9px; margin: 5px 0 18px; font-size: 12px; color: var(--muted); }
.privacy-check input { margin-top: 4px; }
.form-note { margin: 12px 0 0; text-align: center; font-size: 11px; color: var(--muted); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { margin: 0 0 20px; padding: 12px 14px; border-radius: 0; font-size: 14px; font-weight: 700; }
.form-status.success { background: #f1ffe9; border: 1px solid #95df79; }
.form-status.error { background: #fff0f0; border: 1px solid #e4b8b8; }

.site-footer { padding: 42px 0 90px; background: var(--dark); color: #fff; border-top: 6px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; }
.footer-grid p { margin: 6px 0 0; color: #c5c6d0; }
.footer-links { display: flex; gap: 18px; align-items: start; }
.footer-links a { font-size: 13px; color: #fff; text-underline-offset: 4px; }
.footer-links a:hover { color: var(--accent); }
.copyright { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: 12px; }
.mobile-cta { display: none; }

@media (max-width: 1100px) {
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 13px; }
}

@media (max-width: 980px) {
  .main-nav { display: none; }
  .hero-grid, .visual-proof-grid, .switch-grid, .split-grid, .experience-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .experience-stat { padding-right: 0; padding-bottom: 35px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .visual-proof { padding: 46px 0; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 68px; gap: 12px; }
  .brand-logo-img { width: 108px; max-height: 33px; }
  .language-switch { gap: 6px; padding-left: 10px; }
  .language-switch a, .language-switch span { font-size: 11px; }
  .hero { padding: 58px 0 48px; }
  h1 { font-size: clamp(39px, 12vw, 54px); }
  .hero-card, .lead-form, .switch-card { padding: 24px; border-radius: 0; }
  .section { padding: 68px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -4px 22px rgba(0,0,0,.12); }
  .mobile-cta a { padding: 14px 10px; text-align: center; text-decoration: none; font-weight: 800; background: var(--dark); color: #fff; border-top: 1px solid rgba(255,255,255,.12); }
  .mobile-cta a:last-child { background: var(--accent); color: var(--dark); border-color: var(--accent); }
}
