/* InnoMundi — international boutique consultancy.
   Layout: white ground, ink (#100146) for hierarchy, DROXO gradient reserved for
   connections (logo, hero routes, process line, market codes). Single light theme by design. */
:root {
  color-scheme: light;
  --ink: #100146;          /* brand primary */
  --text: #241D4F;         /* body copy, ink-tinted */
  --muted: #565075;        /* secondary copy, 7:1 on white */
  --line: #E4E1EF;         /* hairlines */
  --tint: #F6F5FB;         /* quiet section ground */
  --white: #FFFFFF;
  --teal: #66EDE8;
  --violet: #A861F1;
  --droxo: linear-gradient(90deg, #66EDE8 0%, #79C5EB 34%, #9982EF 68%, #A861F1 100%);
  --font: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 18px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

*, *::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: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.skip-link { position: absolute; left: 12px; top: -48px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Type scale */
h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 3.9rem); line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); line-height: 1.15; letter-spacing: -0.025em; }
h3 { font-size: 1.15rem; line-height: 1.35; letter-spacing: -0.01em; }
p { margin: 0; max-width: 64ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--droxo); }
.lead { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--muted); line-height: 1.65; }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: 600 0.95rem/1.2 var(--font); text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #22107A; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #EEEBFA; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; font-size: 0.88rem; font-weight: 500; color: var(--text); text-decoration: none; }
.nav a:hover { color: var(--ink); background: var(--tint); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; align-items: center; gap: 2px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; }
.lang a, .lang span { padding: 6px 7px; border-radius: 6px; text-decoration: none; color: var(--muted); }
.lang a:hover { color: var(--ink); background: var(--tint); }
.lang [aria-current="true"] { color: var(--ink); }
.lang .sep { padding: 0; color: var(--line); }
.header-cta { min-height: 42px; padding: 10px 18px; font-size: 0.85rem; }
.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--white); color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.mobile-panel { display: none; }

@media (max-width: 1120px) {
  .nav, .header-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-panel { display: block; border-top: 1px solid var(--line); background: var(--white); }
  .mobile-panel[hidden] { display: none; }
  .mobile-panel nav { display: grid; padding-block: 12px; }
  .mobile-panel nav a { padding: 14px 0; font-weight: 500; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-panel .mobile-foot { display: grid; gap: 16px; padding-block: 16px 24px; }
}

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-note { font-size: 0.85rem; color: var(--muted); }
.hero-visual { min-width: 0; }
.route-card { margin: 0; width: 100%; background: var(--tint); border-radius: 28px; padding: clamp(20px, 3vw, 32px); }
.route-card svg { width: 100%; height: auto; display: block; }
.route-card figcaption { margin-top: 12px; font-size: 0.8rem; color: var(--muted); text-align: center; }
.route-flow { stroke-dasharray: 2 14; animation: flow 3.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -64; } }
.node-ring { transform-box: fill-box; transform-origin: center; animation: pulse 3.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: .8; transform: scale(1.18); } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-tint { background: var(--tint); }

/* Who we help */
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.who-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; }
.who-route { display: flex; align-items: center; gap: 10px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.who-route .arrow { flex: 1; max-width: 64px; height: 2px; border-radius: 2px; background: var(--droxo); position: relative; }
.who-route .arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--violet); border-right: 0; }
.who-close { margin-top: 28px; color: var(--muted); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 820px) { .services-grid { grid-template-columns: minmax(0, 1fr); } }
.service { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; background: var(--white); min-width: 0; }
.service-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.service-tagline { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.service p { color: var(--text); }
.service .optional { font-size: 0.9rem; color: var(--muted); }
.service .optional strong { color: var(--ink); font-weight: 600; }
.service-receive { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--text); }
.service-receive strong { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.badge { flex: none; display: inline-block; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.services-note { margin-top: 24px; font-size: 0.92rem; color: var(--muted); }

/* Approach */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px 32px; margin-bottom: clamp(56px, 7vw, 88px); }
.principle { display: grid; gap: 8px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line); }
.principle p { color: var(--muted); font-size: 0.95rem; }
.process-title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; border-radius: 2px; background: var(--droxo); opacity: .9; }
.process li { position: relative; display: grid; gap: 10px; align-content: start; counter-increment: step; }
.process li::before {
  content: counter(step); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--ink); color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; position: relative; margin-bottom: 8px;
}
.process p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) {
  .process { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .process::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; background: linear-gradient(180deg, #66EDE8, #A861F1); }
  .process li { grid-template-columns: 46px minmax(0, 1fr); column-gap: 20px; }
  .process li::before { grid-row: span 2; margin: 0; }
}

/* Markets */
.markets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.market { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); display: grid; gap: 12px; align-content: start; }
.market-code { font-size: 3rem; line-height: 1; font-weight: 600; letter-spacing: -0.03em; background: var(--droxo); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.market-region { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.market p { color: var(--text); font-size: 0.95rem; }
.markets-other { margin-top: 24px; color: var(--muted); }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
.about-copy { display: grid; gap: 20px; min-width: 0; }
.about-copy p { color: var(--text); }
.facts { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); display: grid; gap: 20px; background: var(--white); }
.facts-name { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.facts-name img { width: 40px; height: auto; }
.facts-name strong { display: block; color: var(--ink); font-weight: 600; }
.facts-name span { font-size: 0.85rem; color: var(--muted); }
.facts dl { margin: 0; display: grid; gap: 16px; }
.facts dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; color: var(--text); font-size: 0.95rem; }
.facts ul { margin: 4px 0 0; padding-left: 18px; color: var(--text); font-size: 0.95rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-weight: 600; color: var(--ink); font-size: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq-list details p { padding-bottom: 22px; color: var(--muted); }

/* Contact / final CTA */
.contact { background: var(--ink); color: #DCD8F2; position: relative; overflow: hidden; }
.contact-symbol { position: absolute; right: -40px; bottom: -60px; width: min(46vw, 420px); opacity: .14; pointer-events: none; }
.contact-inner { position: relative; display: grid; gap: 24px; max-width: 720px; }
.contact h2 { color: var(--white); }
.contact .eyebrow { color: #B9B2E0; }
.contact p { color: #DCD8F2; }
.contact-small { font-size: 0.85rem; color: #B9B2E0 !important; }
.contact-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.95rem; }
.contact-alt a { color: var(--white); font-weight: 600; text-underline-offset: 4px; overflow-wrap: anywhere; }

/* Footer */
.site-footer { padding-block: 48px 32px; border-top: 1px solid var(--line); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-start; }
.footer-brand { display: grid; gap: 12px; max-width: 360px; }
.footer-brand img { height: 24px; width: auto; }
.footer-brand p { font-size: 0.88rem; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 0.88rem; }
.footer-nav a { color: var(--text); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.8rem; color: var(--muted); }
