/* GreenDots – site styles. Shares its base with the Demunt site; plain CSS, no build step. */

/* Plus Jakarta Sans, self-hosted (SIL Open Font License, see fonts/jakarta/OFL.txt) */
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/jakarta/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  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;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/jakarta/plus-jakarta-sans-latin.woff2) format('woff2');
  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;
}

:root {
  --forest-900: #1f3a2c;      /* deep GreenDots green */
  --forest-700: #344e41;      /* GreenDots brand green */
  --green: #7bb37a;           /* logo dots */
  --green-600: #4e8a52;
  --green-50: #eef6ec;
  --ink: #1b2a22;
  --body: #4a5a51;
  --muted: #6d7b73;
  --line: #e2e9e3;
  --bg: #ffffff;
  --bg-alt: #f5f8f3;          /* pale sage */
  --radius: 14px;
  --shadow: 0 1px 2px rgba(31, 58, 44, .05), 0 8px 24px rgba(31, 58, 44, .06);
  --shadow-lg: 0 20px 50px rgba(31, 58, 44, .18);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: .75rem;
}
/* Numbered section labels: "01 —— INDUSTRIES" */
main { counter-reset: section; }
.section .eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .85rem; }
.section .eyebrow::before {
  counter-increment: section;
  content: counter(section, decimal-leading-zero);
  order: -2; font-size: 1.6rem; font-weight: 800; letter-spacing: 0; color: var(--forest-700);
}
.section .eyebrow::after { content: ""; order: -1; width: 36px; height: 3px; border-radius: 2px; background: var(--green); }
.section-head h2 { font-size: clamp(2rem, 1.3rem + 2vw, 2.85rem); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.2rem; border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .9rem 1.5rem; font-size: 1rem; }
.btn-primary { background: var(--forest-700); color: #fff; }
.btn-primary:hover { background: var(--forest-900); }
.btn-ghost { border-color: var(--forest-700); color: var(--forest-700); background: rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--green); outline-offset: 2px;
}

/* ===== Header =====
   Deep green like the hero overlay, slightly see-through with a blur so the
   hero photo shows through; uses the light (white-lettered) logo. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(31, 58, 44, .78);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
          backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 6px 20px rgba(15, 30, 22, .3); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { height: 64px; width: auto; }
@media (max-width: 600px) { .brand img { height: 54px; } }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a:not(.btn) {
  color: #dbe7dc; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .5rem .75rem; border-radius: 8px;
}
.main-nav a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-cta { margin-left: 8px; }
.site-header .btn-primary { background: var(--green); color: var(--forest-900); }
.site-header .btn-primary:hover { background: #8fc28e; }
.main-nav .nav-demunt { color: var(--green); }
.nav-demunt i { font-size: .75em; }
.header-tools { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; overflow: hidden; }
.lang-switch button {
  background: none; border: 0; color: #b9cbbd; font: inherit; font-size: .8rem; font-weight: 700;
  padding: .35rem .6rem; cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--green); color: var(--forest-900); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .header-tools { margin-left: auto; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(31, 58, 44, .96); padding: 8px 16px 20px; margin: 0;
    border-top: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 12px 24px rgba(15, 30, 22, .3);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: .85rem .5rem; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
  .nav-cta { margin: 16px 0 0; justify-content: center; }
}

/* ===== Hero =====
   Full-width photos cross-fade in the background; a transparent GreenDots-green
   overlay on the left keeps the text readable, with a scatter of green dots
   (the logo motif) in its corner. */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--forest-900); color: #dbe7dc;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 120px) 0 128px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center);
  opacity: 0; transition: opacity 1.6s ease;
}
.hero-bg.is-active { opacity: 1; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(31, 58, 44, .9) 0%, rgba(31, 58, 44, .8) 32%, rgba(31, 58, 44, .4) 56%, rgba(31, 58, 44, 0) 76%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; left: -40px; bottom: -40px; width: 320px; height: 260px; pointer-events: none;
  background-image: radial-gradient(circle, var(--green) 0 4px, transparent 5px);
  background-size: 24px 24px; opacity: .35;
  -webkit-mask-image: radial-gradient(ellipse at bottom left, #000 15%, transparent 70%);
          mask-image: radial-gradient(ellipse at bottom left, #000 15%, transparent 70%);
}
.hero-copy { max-width: 36rem; }
.hero h1 { color: #fff; font-size: clamp(2rem, 1.1rem + 2.4vw, 3.1rem); font-weight: 800; margin-bottom: 20px; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--green); }
.hero .eyebrow { color: var(--green); }
.hero .eyebrow .brand-word { color: #fff; font-weight: 800; letter-spacing: .18em; margin-right: .35em; }
.hero .lead { font-size: 1.15rem; color: #dbe7dc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero .btn-primary { background: var(--green); color: var(--forest-900); }
.hero .btn-primary:hover { background: #8fc28e; }
.hero .btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.hero-badge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; font-size: .95rem; }
.hero-badge i { color: var(--green); font-size: 1.2rem; }
.hero-badge strong { color: #fff; }
@media (max-width: 900px) {
  .hero { padding: calc(var(--header-h) + 64px) 0 72px; }
  .hero::before { background: linear-gradient(180deg, rgba(31, 58, 44, .82) 0%, rgba(31, 58, 44, .72) 50%, rgba(31, 58, 44, .9) 100%); }
}

/* ===== Sections & cards ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
@media (max-width: 700px) { .section { padding: 56px 0; } }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p:last-child { font-size: 1.05rem; margin-bottom: 0; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600); transform: rotate(-45deg); }

/* ===== Model: know-how + local specialists = result ===== */
.model-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 40px; }
.model-intro .section-head { margin-bottom: 0; }
.model-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.equation { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: stretch; }
.eq-sign { align-self: center; font-size: 2.4rem; font-weight: 800; color: var(--green); line-height: 1; }
.eq-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green-50); color: var(--green-600); font-size: 1.5rem; margin-bottom: 14px; }
.eq-result { background: var(--forest-700); border-color: var(--forest-700); color: #dbe7dc; }
.eq-result h3 { color: #fff; }
.eq-result .eq-icon { background: rgba(255,255,255,.12); color: #fff; }
.eq-result .ticks li::before { border-color: var(--green); }
@media (max-width: 900px) {
  .model-intro { grid-template-columns: 1fr; gap: 28px; }
  .equation { grid-template-columns: 1fr; }
  .eq-sign { justify-self: center; font-size: 2rem; }
}

/* ===== Industries: five compact tiles with a coloured dot icon ===== */
.ind-medtech  { --c1: #2dd4bf; --c2: #0f9488; }
.ind-aero    { --c1: #60a5fa; --c2: #1d5fd8; }
.ind-finance { --c1: #fbbf24; --c2: #d97706; }
.ind-telecom { --c1: #a78bfa; --c2: #6d3fe0; }
.ind-media   { --c1: #fb923c; --c2: #e0434f; }
.ind-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ind-tile { border-top: 3px solid var(--c2); background: #fff; box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius); padding: 22px 20px; }
.ind-tile h3 { font-size: 1.05rem; margin-bottom: 6px; }
.ind-tile p { font-size: .9rem; margin: 0; }
.ind-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; font-size: 1.35rem; margin-bottom: 14px; }
.ind-more { margin: 28px 0 0; }
.ind-more a { color: var(--green-600); font-weight: 700; text-decoration: none; }
.ind-more a:hover { text-decoration: underline; }
@media (max-width: 1100px) { .ind-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .ind-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .ind-tiles { grid-template-columns: 1fr; } }

/* ===== Know-how: intro left, list right ===== */
.knowhow-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.knowhow-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.knowhow-grid .section-head .btn { margin-top: 24px; }
.kh-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.kh-list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.kh-list i { flex: none; font-size: 1.4rem; color: var(--green-600); margin-top: 2px; }
.kh-list h3 { font-size: 1.05rem; margin-bottom: 4px; }
.kh-list p { font-size: .92rem; margin: 0; }
@media (max-width: 900px) {
  .knowhow-grid { grid-template-columns: 1fr; gap: 24px; }
  .knowhow-grid .section-head { position: static; }
}
@media (max-width: 560px) { .kh-list { grid-template-columns: 1fr; } }

/* ===== Demunt band: dark green, Demunt logo, link out ===== */
.demunt-band { position: relative; overflow: hidden; background: var(--forest-900); color: #cfdcd1; padding: 72px 0; }
.demunt-band::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 340px; height: 340px; pointer-events: none;
  background-image: radial-gradient(circle, var(--green) 0 4px, transparent 5px);
  background-size: 26px 26px; opacity: .25;
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
          mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.demunt-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; }
.demunt-logo { width: 100%; max-width: 280px; height: auto; }
.demunt-band .eyebrow { color: var(--green); }
.demunt-band h2 { color: #fff; }
.demunt-copy p { font-size: 1.05rem; max-width: 40em; }
.demunt-copy .btn { margin-top: 8px; }
.btn-light { background: #fff; color: var(--forest-900); }
.btn-light:hover { background: var(--green-50); }
@media (max-width: 800px) {
  .demunt-inner { grid-template-columns: 1fr; gap: 24px; }
  .demunt-logo { max-width: 200px; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy > p { font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.contact-list i { color: var(--green-600); font-size: 1.15rem; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-form { display: grid; gap: 14px; padding: 30px; }
.contact-form h3 { font-size: 1.3rem; }
.contact-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--ink); width: 100%;
  border: 1px solid #cfd9d1; border-radius: 10px; padding: .75rem .9rem; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(123,179,122,.25); }
.contact-form .btn { justify-content: center; }
.form-note { font-size: .85rem; color: var(--muted); text-align: center; margin: 0; }
.form-note a { color: var(--green-600); font-weight: 600; }
.form-error { margin: 0; font-size: .9rem; font-weight: 600; color: #b91c1c; text-align: center; }
.hidden { display: none !important; }
#contact-submit:disabled { opacity: .6; cursor: wait; }
/* Honeypot field: off-screen for people, still present for bots */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal.hidden { display: none; }
.modal .overlay { position: absolute; inset: 0; background: rgba(31, 58, 44, .55); }
.modal-content { position: relative; background: #fff; border-radius: var(--radius); padding: 32px; max-width: 420px; text-align: center; box-shadow: var(--shadow-lg); }
.modal-content i { font-size: 2.6rem; color: var(--green-600); }
.modal-content p { color: var(--ink); font-size: 1.05rem; margin: 12px 0 20px; }
body.modal-open { overflow: hidden; }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); color: var(--body); padding: 56px 0 40px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-demunt { font-weight: 700; }
.footer-demunt i { font-size: .8em; }
.footer-logo { height: 64px; width: auto; margin-bottom: 12px; }
.site-footer h3 { color: var(--ink); font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--forest-700); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.ai-note { max-width: 46rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Legal pages (privacy policy) */
.legal { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.6rem); font-weight: 800; margin-bottom: 4px; }
.legal h2 { font-size: 1.2rem; margin: 32px 0 8px; }
.legal p { color: var(--body); }
.legal a { color: var(--green-600); font-weight: 600; }
.legal .updated { color: var(--muted); font-size: .9rem; }
.back-link { display: inline-block; margin-bottom: 24px; text-decoration: none; }
.legal-page .site-header { background: var(--forest-900); }
.legal-page .site-footer { padding: 24px 0; }
.legal-page .footer-bottom { margin-top: 0; border-top: 0; padding-top: 0; }

/* Reveal on scroll (only when JS has added .reveal-ready) */
.reveal-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal-ready .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-ready .reveal { opacity: 1; transform: none; transition: none; } }
