:root {
  --forest-950: #061f14;
  --forest-900: #082a1b;
  --forest-800: #0e3a27;
  --forest-700: #145a36;
  --green: #158447;
  --green-bright: #17a657;
  --lime: #a9df3c;
  --lime-soft: #dfff9f;
  --ink: #143326;
  --muted: #607269;
  --line: #dfe9e1;
  --surface: #f3f7f3;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 24px 60px rgba(5, 39, 23, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, sans-serif; font-size: 16px; line-height: 1.65; }
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--forest-900); font-family: Syne, sans-serif; line-height: 1.05; letter-spacing: -.035em; }
p { margin: 0 0 1em; }
.container { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: 92px; }
.section--surface { background: var(--surface); }
.section--dark { color: var(--white); background: var(--forest-950); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.section-header > div { max-width: 760px; }
.section-header h2 { margin-top: 12px; font-size: clamp(2.2rem, 5vw, 4.25rem); }
.section-header p { max-width: 620px; margin-top: 18px; color: var(--muted); font-size: 1.1rem; }
.section--dark .section-header p { color: rgba(255,255,255,.7); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: '✣'; color: var(--lime); }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 12px 24px; border: 1px solid transparent; border-radius: 11px; font-weight: 800; line-height: 1.1; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--white); background: var(--green); }
.button--primary:hover { background: var(--green-bright); }
.button--outline { color: var(--white); border-color: rgba(255,255,255,.65); background: transparent; }
.button--outline:hover { background: rgba(255,255,255,.1); }
.button--light { color: var(--green); background: var(--white); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 16px; color: #fff; background: #000; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.topbar { color: rgba(255,255,255,.72); background: var(--forest-950); font-size: .75rem; }
.topbar__inner { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__inner div { display: flex; gap: 24px; }
.topbar a { color: #fff; font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(8,42,27,.08); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.site-header__inner { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 36px; }
.brand img { display: block; width: 150px; }
.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav > a { font-size: .88rem; font-weight: 700; }
.primary-nav > a:not(.button):hover { color: var(--green); }
.primary-nav .nav-cta { color: #fff; margin-left: 8px; }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 12px; border: 0; border-radius: 12px; background: #edf5ef; }
.nav-toggle span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: var(--forest-800); }

.hero { position: relative; isolation: isolate; min-height: 760px; overflow: hidden; color: var(--white); background: var(--forest-950); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('../images/realisations/matmut-hero.webp') center/cover; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,31,19,.98) 0%, rgba(5,45,26,.88) 48%, rgba(5,45,26,.48) 100%); }
.hero__inner { display: grid; min-height: 760px; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); align-items: center; gap: 70px; padding-block: 76px 100px; }
.hero h1 { max-width: 800px; margin-top: 28px; color: var(--white); font-size: clamp(3rem, 6.2vw, 5.4rem); }
.hero h1 strong { display: block; color: var(--lime); }
.hero__lead { max-width: 720px; margin: 28px 0; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { display: grid; max-width: 680px; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); }
.hero__stats strong { display: block; color: var(--lime); font-family: Syne, sans-serif; font-size: 1.5rem; }
.hero__stats span { color: rgba(255,255,255,.65); font-size: .69rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero-card { padding: 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 28px; background: rgba(255,255,255,.15); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.hero-card img { width: 100%; aspect-ratio: 1.15; border-radius: 19px; object-fit: cover; }
.hero-card__tag { display: inline-block; margin-top: -18px; margin-left: 18px; padding: 7px 12px; border-radius: 100px; color: var(--lime-soft); background: var(--forest-800); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hero-card h2 { margin: 18px 2px 4px; color: #fff; font-size: 1.3rem; }
.proof-strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { display: flex; min-height: 78px; align-items: center; gap: 12px; padding: 18px 22px; border-right: 1px solid var(--line); font-size: .88rem; font-weight: 750; }
.proof-grid div:last-child { border: 0; }
.proof-grid strong { color: var(--green); font-size: 1.15rem; }

.value-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 72px; }
.value-visual { position: relative; }
.value-visual img { width: 100%; min-height: 520px; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.value-badge { position: absolute; right: -24px; bottom: 30px; max-width: 230px; padding: 24px; border-radius: 18px; color: #fff; background: var(--green); }
.value-badge strong { display: block; color: var(--lime-soft); font-family: Syne, sans-serif; font-size: 2rem; }
.value-copy h2 { margin: 16px 0 22px; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.value-copy > p { color: var(--muted); font-size: 1.12rem; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.check-grid div { padding: 15px 17px; border-radius: 12px; color: var(--forest-800); background: #edf6ef; font-size: .85rem; font-weight: 750; }
.check-grid div::before { content: '✓'; margin-right: 9px; color: var(--green); }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.project-card { position: relative; grid-column: span 4; min-height: 390px; overflow: hidden; border-radius: var(--radius); color: #fff; background: var(--forest-900); }
.project-card:first-child { grid-column: span 8; }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.project-card:hover img { transform: scale(1.04); }
.project-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,25,15,.94), rgba(3,25,15,.05) 70%); }
.project-card__content { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; padding: 28px; }
.project-card__content span { display: inline-block; margin-bottom: 10px; padding: 5px 10px; border-radius: 99px; color: var(--lime-soft); background: rgba(10,61,34,.86); font-size: .67rem; font-weight: 900; text-transform: uppercase; }
.project-card h3 { color: #fff; font-size: clamp(1.2rem, 2.4vw, 2rem); }
.project-card p { margin: 8px 0 0; color: rgba(255,255,255,.7); font-size: .86rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-bar button { padding: 10px 16px; border: 1px solid var(--line); border-radius: 100px; color: var(--ink); background: #fff; font-weight: 700; cursor: pointer; }
.filter-bar button.is-active, .filter-bar button:hover { color: #fff; border-color: var(--green); background: var(--green); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-card { position: relative; min-height: 270px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.process-card__number { position: absolute; top: 5px; right: 18px; color: #edf5ef; font-family: Syne, sans-serif; font-size: 5rem; font-weight: 800; }
.process-card strong { position: relative; display: inline-grid; width: 48px; height: 48px; place-items: center; border-radius: 12px; color: var(--green); background: #e7f4e9; }
.process-card h3 { position: relative; margin-top: 34px; font-size: 1.25rem; }
.process-card p { position: relative; margin-top: 12px; color: var(--muted); font-size: .9rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card, .product-card, .team-card, .quote-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.service-card img, .product-card img { width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.service-card__body, .product-card__body { padding: 24px; }
.service-card h3, .product-card h3 { font-size: 1.35rem; }
.service-card p, .product-card p { margin-top: 12px; color: var(--muted); font-size: .9rem; }
.text-link { color: var(--green); font-size: .82rem; font-weight: 850; text-transform: uppercase; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-card { display: flex; align-items: center; gap: 16px; padding: 22px; }
.team-card__initials { display: grid; width: 52px; height: 52px; flex: 0 0 auto; place-items: center; border-radius: 14px; color: var(--forest-800); background: var(--lime); font-family: Syne, sans-serif; font-weight: 800; }
.team-card h3 { font-size: 1.05rem; }
.team-card p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; }
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card { padding: 28px; color: #fff; border-color: rgba(255,255,255,.12); background: var(--forest-800); }
.quote-card::before { content: '“'; color: var(--lime); font-family: Georgia, serif; font-size: 4rem; line-height: .7; }
.quote-card blockquote { margin: 22px 0; font-size: 1.03rem; }
.quote-card cite { color: var(--lime-soft); font-style: normal; font-weight: 800; }
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.logo-grid div { display: grid; height: 100px; place-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.logo-grid img { max-height: 56px; filter: grayscale(1); opacity: .72; transition: filter .2s, opacity .2s; }
.logo-grid div:hover img { filter: none; opacity: 1; }

.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--forest-900); }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,34,21,.97), rgba(5,34,21,.6)); }
.page-hero__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.page-hero__inner { min-height: 430px; display: flex; flex-direction: column; justify-content: center; padding-block: 70px; }
.page-hero h1 { max-width: 900px; margin-top: 18px; color: #fff; font-size: clamp(2.7rem, 6vw, 5.2rem); }
.page-hero p { max-width: 760px; margin-top: 24px; color: rgba(255,255,255,.78); font-size: 1.15rem; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 64px; }
.prose { font-size: 1.05rem; }
.prose h2 { margin: 1.5em 0 .6em; font-size: 2rem; }
.prose h3 { margin: 1.4em 0 .5em; font-size: 1.35rem; }
.prose p, .prose li { color: #42584c; }
.prose a { color: var(--green); text-decoration: underline; }
.sidebar-card { position: sticky; top: 110px; padding: 28px; border-radius: 18px; color: #fff; background: var(--forest-900); }
.sidebar-card h2 { color: #fff; font-size: 1.5rem; }
.sidebar-card p { margin-top: 12px; color: rgba(255,255,255,.7); }

.product-hero { padding-block: 70px; background: var(--surface); }
.product-hero__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.product-hero img { width: 100%; aspect-ratio: 1.2; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.product-hero h1 { margin: 15px 0 18px; font-size: clamp(2.7rem, 5vw, 4.8rem); }
.product-hero p { color: var(--muted); font-size: 1.12rem; }
.badge { display: inline-block; padding: 6px 11px; border-radius: 99px; color: var(--forest-900); background: var(--lime); font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.details-card { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.details-card h2 { margin-bottom: 20px; font-size: 1.5rem; }
.details-card ul { margin: 0; padding: 0; list-style: none; }
.details-card li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.details-card li::before { content: '✓'; margin-right: 10px; color: var(--green); font-weight: 900; }

.se-form { display: grid; gap: 20px; padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 16px 45px rgba(8,42,27,.08); }
.se-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.se-form label { display: grid; gap: 7px; color: var(--ink); font-size: .85rem; font-weight: 750; }
.se-form input, .se-form textarea, .se-form select { width: 100%; padding: 13px 14px; border: 1px solid #cbd9ce; border-radius: 9px; color: var(--ink); background: #fff; }
.se-form input:focus, .se-form textarea:focus, .se-form select:focus { outline: 3px solid rgba(21,132,71,.18); border-color: var(--green); }
.se-form .se-consent { display: flex; grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-weight: 500; }
.se-form .se-consent input { width: auto; margin-top: 5px; }
.se-honeypot { position: absolute; left: -9999px; }
.se-form-notice { margin-bottom: 20px; padding: 16px; border-radius: 10px; font-weight: 700; }
.se-form-notice--success { color: #07572b; background: #dff6e8; }
.se-form-notice--error { color: #832020; background: #fde7e7; }

.footer-cta { position: relative; overflow: hidden; color: #fff; background: linear-gradient(110deg, #11743e, #17a657); }
.footer-cta__inner { display: flex; min-height: 260px; align-items: center; justify-content: space-between; gap: 50px; padding-block: 55px; }
.footer-cta .eyebrow { color: var(--lime-soft); }
.footer-cta h2 { max-width: 820px; margin-top: 14px; color: #fff; font-size: clamp(2rem, 4.5vw, 3.5rem); }
.site-footer { padding: 70px 0 30px; color: rgba(255,255,255,.65); background: var(--forest-950); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 46px; }
.footer-logo { width: 170px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-grid h2 { margin-bottom: 18px; color: #fff; font-family: Inter, sans-serif; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a { display: block; margin: 8px 0; color: rgba(255,255,255,.72); font-size: .88rem; }
.footer-grid a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .75rem; }
.mobile-actions { display: none; }
.empty-state { padding: 60px 0; text-align: center; }
.pagination { margin-top: 40px; }

@media (max-width: 980px) {
  .topbar { display: none; }
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: 74px; right: 0; left: 0; display: none; padding: 22px 20px 28px; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 20px 30px rgba(8,42,27,.12); }
  .primary-nav.is-open { display: grid; gap: 6px; }
  .primary-nav a { padding: 10px 4px; }
  .primary-nav .nav-cta { margin: 10px 0 0; }
  .hero__inner { min-height: 680px; grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .value-grid, .product-hero__grid { grid-template-columns: 1fr; }
  .project-card, .project-card:first-child { grid-column: span 6; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .card-grid, .team-grid, .quotes-grid { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  .container { width: min(100% - 32px, 1240px); }
  .section { padding-block: 68px; }
  .section-header { align-items: start; flex-direction: column; }
  .site-header__inner { min-height: 74px; }
  .brand img { width: 138px; }
  .hero, .hero__inner { min-height: 775px; }
  .hero__inner { align-items: start; padding-top: 78px; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 3.7rem); }
  .hero__actions { display: grid; }
  .hero__stats { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid div { border-bottom: 1px solid var(--line); }
  .value-grid { gap: 42px; }
  .value-visual img { min-height: 390px; }
  .value-badge { right: 12px; bottom: 12px; }
  .check-grid, .process-grid, .card-grid, .team-grid, .quotes-grid, .details-grid, .se-form-grid { grid-template-columns: 1fr; }
  .project-card, .project-card:first-child { grid-column: 1 / -1; min-height: 360px; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
  .page-hero__inner { min-height: 390px; }
  .page-hero h1 { font-size: 2.7rem; }
  .footer-cta__inner { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: start; flex-direction: column; gap: 8px; }
  .mobile-actions { position: fixed; right: 0; bottom: 0; left: 0; z-index: 200; display: grid; height: 64px; grid-template-columns: 1fr 1.5fr; padding: 7px; background: #fff; box-shadow: 0 -8px 24px rgba(7,42,24,.12); }
  .mobile-actions a { display: grid; place-items: center; border-radius: 9px; color: var(--forest-800); font-weight: 800; }
  .mobile-actions a:last-child { color: #fff; background: var(--green); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

