/* ==========================================================================
   MCEE inner pages (About, Products, Contact, Testimonials, Clients, Legal)
   Loaded after main.css. Uses the same tokens (--green, --lime, etc).
   ========================================================================== */

/* Brand lock-up with sub-line */
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text small { margin-top: 3px; color: var(--muted); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.brand--light .brand__text small { color: rgba(255, 255, 255, 0.6); }

.btn--ghost { --bg: transparent; --fg: #fff; --bg-hover: #fff; --glow: rgba(0, 0, 0, 0.2); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { color: var(--green-deep); box-shadow: inset 0 0 0 2px #fff, 0 12px 26px var(--glow); }

/* Page banner */
.page-banner {
	position: relative;
	overflow: hidden;
	padding: 92px 0 84px;
	background: linear-gradient(140deg, var(--green-deep), var(--green-dark));
	color: #fff;
	text-align: center;
}
.page-banner::before,
.page-banner::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.page-banner::before { top: -140px; right: -80px; width: 420px; height: 420px; background: rgba(215, 155, 35, 0.16); }
.page-banner::after { bottom: -160px; left: -100px; width: 380px; height: 380px; background: rgba(255, 255, 255, 0.05); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { margin-bottom: 0.35em; color: #fff; }
.page-banner p { max-width: 640px; margin: 0 auto; color: rgba(255, 255, 255, 0.82); font-size: 1.05rem; }
.breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 18px; color: rgba(255, 255, 255, 0.7); font-size: 0.82rem; font-weight: 600; }
.breadcrumb a { transition: color 0.25s; }
.breadcrumb a:hover { color: var(--lime-light); }
.breadcrumb [aria-current] { color: var(--lime-light); }
.deco--banner-leaf { top: 40px; left: 8%; opacity: 0.9; }
.deco--banner-drum { bottom: 36px; right: 8%; opacity: 0.9; transform: translate3d(0, var(--py, 0px), 0) rotate(-18deg); }

/* 404 page */
.error-code {
	display: block;
	margin-bottom: 0.1em;
	color: var(--lime-light);
	font-size: clamp(4.5rem, 12vw, 8rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	text-shadow: 0 10px 34px rgba(0, 0, 0, 0.25);
}
.center-row { justify-content: center; }

/* Fact strip */
.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fact { padding: 28px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); text-align: center; }
.fact .icon-bubble { margin: 0 auto 14px; }
.fact strong { display: block; color: var(--green); font-size: 1.7rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.fact span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.85rem; font-weight: 600; line-height: 1.45; }

/* Section helpers */
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 72px 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--green-dark); font-weight: 700; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Products page */
.product-nav { position: relative; z-index: 3; margin-top: -30px; }
.product-nav .chip-row { margin: 0; padding: 14px 18px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); width: fit-content; max-width: 100%; margin-inline: auto; }
.cat-section .section-head { margin-bottom: 40px; }
.cat-section .product-grid { margin-bottom: 0; }

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card { display: flex; flex-direction: column; align-items: center; padding: 30px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); text-align: center; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
a.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-card .icon-bubble { margin-bottom: 14px; }
.contact-card h3 { margin-bottom: 6px; font-size: 1rem; }
.contact-card p { margin: 0; color: var(--text); font-size: 0.9rem; overflow-wrap: anywhere; }
.contact-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: stretch; }
.contact-split .quote__card { max-width: none; padding: 38px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-card iframe { flex: 1; width: 100%; min-height: 380px; border: 0; }
.map-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 18px 22px; font-size: 0.9rem; }
.map-card__foot address { font-style: normal; color: var(--ink); font-weight: 600; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: 0.8rem; text-align: center; }

/* Testimonials page */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.t-card { position: relative; display: flex; flex-direction: column; padding: 44px 30px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.t-card::before { content: "\201C"; position: absolute; top: 6px; left: 24px; color: var(--lime); font-family: Georgia, "Times New Roman", serif; font-size: 5rem; line-height: 1; }
.t-card blockquote { flex: 1; margin: 0 0 22px; font-size: 0.95rem; }
.t-card blockquote p { margin: 0; }
.t-card__who { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--line); }
.t-card__avatar { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-weight: 800; }
.t-card__who strong { display: block; color: var(--ink); font-size: 0.92rem; }
.t-card__who span { color: var(--muted); font-size: 0.8rem; }
.t-card--placeholder { border-style: dashed; border-color: #c9d6c1; background: #fbfcf8; }
.t-card__flag { position: absolute; top: 14px; right: 14px; padding: 4px 10px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

/* Clients page */
.client-feature { display: grid; grid-template-columns: 300px 1fr; overflow: hidden; margin-bottom: 32px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.client-feature:last-child { margin-bottom: 0; }
.client-feature__side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 40px 28px; background: linear-gradient(150deg, var(--green-deep), var(--green-dark)); color: #fff; text-align: center; }
.client-feature__side .client-card__mark { width: 96px; height: 96px; border-radius: 26px; background: rgba(255, 255, 255, 0.12); font-size: 2.8rem; }
.client-feature__stat strong { display: block; color: var(--lime-light); font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.client-feature__stat span { display: block; margin-top: 6px; color: rgba(255, 255, 255, 0.78); font-size: 0.84rem; font-weight: 600; }
.client-feature__body { padding: 40px 42px; }
.client-feature__body h2 { margin-bottom: 0.3em; font-size: 1.7rem; }
.client-feature__body p { font-size: 0.98rem; }
.client-feature__body .tag { margin-bottom: 12px; }
.sector-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sector { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-weight: 700; color: var(--ink); }
.sector .icon-bubble { width: 46px; height: 46px; }

/* Call-to-action band */
.cta-band { position: relative; overflow: hidden; padding: 64px 0; background: linear-gradient(120deg, var(--green-deep), var(--green-dark)); color: #fff; }
.cta-band::after { content: ""; position: absolute; top: -120px; right: -60px; width: 340px; height: 340px; border-radius: 50%; background: rgba(215, 155, 35, 0.18); }
.cta-band__inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta-band h2 { margin-bottom: 0.25em; color: #fff; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.8); }

/* Legal pages */
.legal-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.toc h2 { margin-bottom: 14px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.toc ol { display: grid; gap: 4px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--text); font-size: 0.86rem; font-weight: 600; line-height: 1.4; transition: background-color 0.25s, color 0.25s; }
.toc a::before { content: counter(toc) "."; flex: none; color: var(--green); font-weight: 800; }
.toc a:hover { background: var(--green-soft); color: var(--green-dark); }
.prose { max-width: 780px; }
.prose .meta { display: inline-block; margin-bottom: 26px; padding: 7px 14px; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-size: 0.8rem; font-weight: 700; }
.prose h2 { margin: 2.2em 0 0.6em; padding-top: 0.4em; font-size: 1.45rem; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { margin: 1.6em 0 0.5em; font-size: 1.05rem; }
.prose p, .prose li { font-size: 0.98rem; line-height: 1.8; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.3em; list-style: disc; }
.prose ol.prose-list { margin: 0 0 1.2em; padding-left: 1.4em; list-style: decimal; }
.prose li { margin-bottom: 0.45em; padding-left: 0.2em; }
.prose li::marker { color: var(--green); }
.prose a { color: var(--green-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--green); }
.prose .callout { margin: 1.6em 0; padding: 20px 24px; border-left: 4px solid var(--lime); border-radius: 0 12px 12px 0; background: var(--bg-soft); }
.prose .callout p { margin: 0; }
.table-wrap { margin: 1.4em 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.prose th { padding: 12px 16px; background: var(--green-soft); color: var(--green-deep); font-weight: 800; text-align: left; white-space: nowrap; }
.prose td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }

@media (max-width: 1100px) {
	.contact-cards { grid-template-columns: repeat(2, 1fr); }
	.fact-strip { grid-template-columns: repeat(2, 1fr); }
	.sector-row { grid-template-columns: repeat(2, 1fr); }
	.legal-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 960px) {
	.page-banner { padding: 72px 0 64px; }
	.contact-split { grid-template-columns: 1fr; }
	.t-grid { grid-template-columns: repeat(2, 1fr); }
	.client-feature { grid-template-columns: 1fr; }
	.client-feature__side { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 22px; padding: 28px; }
	.client-feature__side .client-card__mark { width: 72px; height: 72px; font-size: 2.1rem; }
	.legal-layout { grid-template-columns: 1fr; }
	.toc { position: static; }
	.product-nav .chip-row { border-radius: 20px; }
}
@media (max-width: 720px) {
	.contact-cards, .fact-strip, .sector-row, .t-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
	.client-feature__body { padding: 28px 24px; }
	.contact-split .quote__card { padding: 28px 22px; }
	.deco--banner-leaf, .deco--banner-drum { display: none; }
	.cta-band__inner { flex-direction: column; align-items: flex-start; }
}
