/* Nuform Group – site styles. Bootstrap 5 provides the grid and base components. */

:root {
  --ink: #12241d;
  --ink-soft: #4a5b53;
  --green: #0a7a4a;
  --green-deep: #0b3d2b;
  --orange: #e5671e;
  --yellow: #ffbc26;
  --blue: #0064c8;
  --paper: #ffffff;
  --tint: #f6f4ee;
  --line: #e4e1d7;
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(11, 61, 43, .35);
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; color: var(--ink); }
h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
a { color: var(--green); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--green-deep); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 2000; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(11, 61, 43, .3); }
.site-header .navbar { padding: .55rem 0; }
.navbar-brand img { height: 62px; width: auto; display: block; }
.navbar .nav-link { color: var(--ink); font-weight: 600; font-size: .95rem; padding: .5rem .9rem !important; position: relative; }
.navbar .nav-link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .25rem; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
.navbar .nav-link.active { color: var(--green); }
.navbar-toggler { border-color: var(--line); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(0, 100, 200, .3); }
@media (max-width: 991.98px) {
  .navbar-collapse { padding: 1rem 0 1.25rem; }
  .navbar .nav-link::after { display: none; }
}

/* ---------- Buttons & links ---------- */
.btn { font-weight: 700; border-radius: 999px; padding: .75rem 1.6rem; display: inline-flex; align-items: center; gap: .55rem; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s; }
.btn-sm { padding: .5rem 1.2rem; font-size: .9rem; }
.btn-lg { padding: .9rem 2rem; font-size: 1.02rem; }
.btn-nuform { background: var(--green); border: 2px solid var(--green); color: #fff; }
.btn-nuform:hover, .btn-nuform:focus { background: var(--green-deep); border-color: var(--green-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; border: 2px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-light-solid { background: #fff; color: var(--green-deep); border: 2px solid #fff; }
.btn-light-solid:hover { background: var(--yellow); border-color: var(--yellow); color: var(--green-deep); transform: translateY(-2px); }
.icon-arrow { transition: transform .2s; flex: none; }
.btn:hover .icon-arrow, .link-arrow:hover .icon-arrow { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; color: var(--accent, var(--green)); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Type helpers ---------- */
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; display: flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--yellow); }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 1.1rem; }
.section-intro { color: var(--ink-soft); font-size: 1.08rem; max-width: 640px; margin: 0 auto; }
.lead-text { font-size: 1.18rem; color: var(--ink); }
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--green-deep); color: #dbe7e0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .eyebrow { justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); background:
  radial-gradient(circle at 92% 8%, rgba(255, 188, 38, .16), transparent 38%),
  radial-gradient(circle at 0% 100%, rgba(10, 122, 74, .08), transparent 40%), var(--paper); overflow: hidden; }
.hero__title { font-size: clamp(2.3rem, 5vw, 3.9rem); margin-bottom: 1.3rem; }
.hero__lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__visual { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: start; }
.hero__panel { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; transition: transform .4s ease; }
.hero__panel--1 { margin-top: 36px; } .hero__panel--2 { margin-top: 0; } .hero__panel--3 { margin-top: 56px; } .hero__panel--4 { margin-top: 18px; }
.hero__panel:hover { transform: translateY(-6px); }
@media (max-width: 575.98px) { .hero__visual { gap: 8px; } .hero__panel { border-radius: 10px; } .hero__panel--1 { margin-top: 20px; } .hero__panel--3 { margin-top: 30px; } .hero__panel--4 { margin-top: 10px; } }

/* ---------- Ecosystem strip ---------- */
.ecosystem { border-block: 1px solid var(--line); padding: 2rem 0; background: #fff; }
.ecosystem__label { text-align: center; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--ink-soft); margin-bottom: 1.2rem; }
.ecosystem__logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.5rem 3.5rem; }
.ecosystem__logos img { height: 44px; width: auto; display: block; transition: transform .25s; }
.ecosystem__logos a:hover img { transform: scale(1.06); }
@media (max-width: 575.98px) { .ecosystem__logos img { height: 34px; } .ecosystem__logos { gap: 1.2rem 2rem; } }

/* ---------- Pillars ---------- */
.pillar { height: 100%; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; border-top: 4px solid var(--orange); transition: transform .25s, box-shadow .25s; }
.pillar--2 { border-top-color: var(--green); } .pillar--3 { border-top-color: var(--blue); } .pillar--4 { border-top-color: var(--yellow); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar__num { font-family: var(--font-display); color: var(--ink-soft); font-size: .95rem; }
.pillar h3 { font-size: 1.15rem; margin: .5rem 0 .4rem; }
.pillar p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* ---------- Company cards ---------- */
.company-card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; border-top: 4px solid var(--accent); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.company-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.company-card__logo { height: 84px; display: flex; align-items: center; margin-bottom: 1.4rem; }
.company-card__logo img { max-height: 76px; max-width: 280px; width: auto; height: auto; }
.company-card__sector { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent, var(--orange)); margin-bottom: .4rem; }
.company-card__title { font-size: 1.4rem; font-family: var(--font-display); font-weight: 600; margin-bottom: .6rem; }
.company-card__text { color: var(--ink-soft); flex: 1; }

/* ---------- Vision / approach list ---------- */
.vision-lead { font-size: 1.12rem; color: #c3d6cc; }
.approach { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.6rem; }
.approach li { display: flex; gap: 1.2rem; padding-bottom: 1.6rem; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.approach li:last-child { border: 0; padding: 0; }
.approach span { font-family: var(--font-display); font-size: 1.6rem; color: var(--yellow); min-width: 2.2rem; }
.approach h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.approach p { margin: 0; color: #c3d6cc; }
.approach--light li { border-color: var(--line); }
.approach--light span { color: var(--orange); }
.approach--light h3 { color: var(--ink); }
.approach--light p { color: var(--ink-soft); }

/* ---------- Leadership ---------- */
.leader-card { display: flex; align-items: center; gap: 1.4rem; padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 100%; transition: transform .25s, box-shadow .25s; }
.leader-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.leader-card h3 { font-family: var(--font-display); font-size: 1.4rem; margin: 0 0 .15rem; }
.leader-card__role { margin: 0; color: var(--ink-soft); }
.leader-card__avatar, .leader-card__photo { width: 84px; height: 84px; border-radius: 50%; flex: none; object-fit: cover; }
.leader-card__avatar, .leader-feature__avatar { display: grid; place-items: center; background: var(--green-deep); color: var(--yellow); font-family: var(--font-display); font-weight: 600; }
.leader-card__avatar { font-size: 1.7rem; }
.leader-feature { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s; }
.leader-feature:hover { box-shadow: var(--shadow); }
.leader-feature__avatar, .leader-feature__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.leader-feature__avatar { background: linear-gradient(135deg, var(--green-deep), var(--green)); position: relative; overflow: hidden; }
.leader-feature__avatar::before { content: ""; position: absolute; inset: auto -40px -60px auto; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 188, 38, .18); }
.leader-feature__avatar span { font-size: clamp(3.5rem, 8vw, 5.5rem); position: relative; }
.leader-feature__body { padding: 2rem; }
.leader-feature__body h2 { font-size: 1.9rem; margin-bottom: .8rem; }
.leader-feature__body p:last-child { color: var(--ink-soft); margin: 0; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(4rem, 7vw, 6rem); }
.cta__inner { background: var(--green-deep); border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.8rem; position: relative; overflow: hidden; }
.cta__inner::before { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 188, 38, .35), transparent 70%); }
.cta__inner > * { position: relative; }
.cta__inner h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .6rem; }
.cta__inner p { color: #c3d6cc; margin: 0; max-width: 560px; }
.section--tint + .cta, .section--dark + .cta { padding-top: clamp(4rem, 7vw, 6rem); }
.section--tint + .cta { background: transparent; }

/* ---------- Inner pages ---------- */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); background: linear-gradient(180deg, var(--tint), #fff); border-bottom: 1px solid var(--line); position: relative; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: linear-gradient(90deg, var(--orange) 0 25%, var(--yellow) 25% 50%, var(--green) 50% 75%, var(--blue) 75% 100%); }
.page-hero__title { font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 820px; margin-bottom: 1rem; }
.page-hero__lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 640px; margin: 0; }
.breadcrumb-lite { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0 0 1.4rem; font-size: .88rem; color: var(--ink-soft); }
.breadcrumb-lite li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.breadcrumb-lite a { color: var(--ink-soft); text-decoration: none; } .breadcrumb-lite a:hover { color: var(--green); text-decoration: underline; }
.jump-links { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 1.8rem 0 0; }
.jump-links a { display: inline-block; padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; transition: background .2s, color .2s, border-color .2s; }
.jump-links a:hover { background: var(--green); border-color: var(--green); color: #fff; }

.statement { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.statement h2 { font-size: 1.5rem; margin-bottom: .8rem; }
.statement p:last-child { color: var(--ink-soft); margin: 0; }
.vertical { height: 100%; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 1.8rem; transition: transform .25s, box-shadow .25s; }
.vertical:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vertical h3 { font-family: var(--font-display); font-size: 1.4rem; }
.vertical p { color: var(--ink-soft); }

.company-detail { border-top: 1px solid var(--line); }
.company-detail__logo { height: 96px; display: flex; align-items: center; margin-bottom: 1.6rem; }
.company-detail__logo img { max-height: 90px; max-width: 320px; width: auto; height: auto; }
.company-detail .section-title { margin-bottom: 1rem; }
.company-detail .company-card__sector { color: var(--accent); }
.list-heading { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 1.6rem 0 .8rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 1.8rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.company-detail__image { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 420px; margin-inline: auto; }
.company-detail__image img { display: block; width: 100%; }
.company-detail .btn-nuform { background: var(--accent); border-color: var(--accent); }
.company-detail .btn-nuform:hover { background: var(--ink); border-color: var(--ink); }

/* ---------- Contact ---------- */
.contact-form .form-label { font-weight: 700; font-size: .92rem; }
.contact-form .form-control { border-radius: 12px; padding: .8rem 1rem; border-color: #cfcbbd; }
.contact-form .form-control:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(10, 122, 74, .15); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-card { background: var(--tint); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); }
.contact-card h2 { font-size: 1.25rem; margin-bottom: .8rem; }
.contact-card address { color: var(--ink-soft); }
.contact-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.contact-links a { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.contact-links a:hover { text-decoration: underline; }
.alert { border-radius: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--tint); color: var(--ink-soft); }
.brand-strip { display: flex; height: 5px; }
.brand-strip span { flex: 1; }
.brand-strip span:nth-child(1) { background: var(--orange); } .brand-strip span:nth-child(2) { background: var(--yellow); }
.brand-strip span:nth-child(3) { background: var(--green); } .brand-strip span:nth-child(4) { background: var(--blue); }
.footer-main { padding: 4rem 0 3rem; }
.footer-logo img { height: 84px; width: auto; display: block; }
.footer-about { margin-top: 1rem; max-width: 320px; }
.footer-title { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink); margin-bottom: 1rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-list a, .footer-address a { color: var(--ink-soft); text-decoration: none; }
.footer-list a:hover, .footer-address a:hover { color: var(--green); text-decoration: underline; }
.footer-address { font-style: normal; }
.footer-bottom { border-top: 1px solid var(--line); padding: 1.4rem 0 1.8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------- Reveal animation (enabled only when JS adds .js-reveal) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
