/* =====================================================================
   SmartERP inner pages — builds on css/home.css (tokens, header, footer,
   buttons, sections). Styles the content blocks used on solution,
   service, about, client and contact pages.
   ===================================================================== */

/* Inline SVG icons from the page sprite */
.icon { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -0.15em; }
.btn .icon-arrow { width: 1em; height: 1em; transition: transform .2s; }
.btn:hover .icon-arrow, .link-arrow:hover .icon-arrow, .related-card:hover .icon-arrow { transform: translateX(3px); }

/* Legacy button names → new button styles */
.btn-gold { background: var(--accent); color: var(--brand-900); }
.btn-gold:hover { background: #f0b555; color: var(--brand-900); }
.btn-teal { background: var(--brand-800); color: #fff; box-shadow: 0 6px 16px -6px rgba(11, 74, 68, .6); }
.btn-teal:hover { background: var(--brand-900); color: #fff; }
.btn-line-light, .btn-line-dark { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line-light:hover, .btn-line-dark:hover { border-color: var(--brand-600); color: var(--brand-800); }
.cta-box .btn-teal { background: var(--accent); color: var(--brand-900); box-shadow: none; }
.cta-box .btn-teal:hover { background: #f0b555; color: var(--brand-900); }
.cta-box .btn-line-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-box .btn-line-dark:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.cta-box p { color: rgba(255, 255, 255, .78); }
.cta { padding-top: 8px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--brand-700); }
.link-arrow .icon { transition: transform .2s; }

/* Tile icon (used everywhere) */
.tile-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); display: inline-grid; place-items: center; font-size: 19px; }
.tile-icon .icon { width: 22px; height: 22px; }
.tile-icon.is-gold { background: #fdf3e2; color: var(--accent-600); }
.chip, .count { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 4px 10px; background: var(--brand-50); color: var(--brand-700); white-space: nowrap; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 64px; border-bottom: 1px solid var(--line); background:
	radial-gradient(800px 420px at 90% -20%, rgba(230, 162, 60, .14), transparent 60%),
	radial-gradient(800px 500px at 0% 0%, rgba(18, 115, 105, .12), transparent 60%),
	linear-gradient(180deg, #fbfdfc 0%, #fff 100%); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 80% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 80% 0%, #000 10%, transparent 70%); opacity: .5; pointer-events: none; }
.page-hero .container { position: relative; }
.hero-rings { display: none; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: #b7c2c0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-700); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.page-hero-body { max-width: 820px; }
.page-kicker { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14px; color: var(--brand-700); margin-bottom: 18px; }
.page-kicker .tile-icon { width: 38px; height: 38px; font-size: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.page-hero h1 { font-size: clamp(34px, 4.8vw, 56px); font-weight: 800; letter-spacing: -0.03em; }
.page-lead { font-size: 19px; color: var(--muted); margin-top: 20px; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 16px 48px; margin-top: 36px; color: var(--muted); font-size: 15px; }
.hero-stats strong { display: block; font: 800 34px/1.1 var(--font-head); color: var(--brand-800); letter-spacing: -0.02em; }

/* ---------- Overview strip (glance + module tiles) ---------- */
.page-overview { padding: 56px 0 8px; }
.page-overview .container { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.page-overview .container > .glance:only-child { grid-column: 1 / -1; }
.page-overview .glance { order: 2; position: sticky; top: 100px; }
.page-modules { order: 1; }
.page-modules-head { display: flex; align-items: center; gap: 12px; font: 700 20px/1 var(--font-head); color: var(--ink); margin-bottom: 20px; }
.erp-title-rule { flex: 1; height: 1px; background: var(--line); }
.erp-count { font: 700 13px/1 var(--font); background: var(--brand-800); color: #fff; padding: 6px 10px; border-radius: 999px; }

.glance { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.glance-head { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-600); margin-bottom: 14px; }
.glance-rows { display: grid; gap: 0; }
.glance-row { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.glance-row > i { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-size: 16px; }
.glance-row span { display: block; font-size: 12.5px; color: var(--muted); }
.glance-row strong { display: block; color: var(--ink); font-weight: 600; line-height: 1.35; }
.glance-list { display: grid; gap: 10px; margin-bottom: 6px; }
.glance-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.glance-list .icon { color: var(--brand-600); margin-top: 3px; }
.page-overview .container > .glance:only-child .glance-list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.glance-note { display: block; margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--brand-50); color: var(--ink-2); font-size: 14px; line-height: 1.5; transition: background .2s; }
.glance-note:hover { background: var(--brand-100); color: var(--ink-2); }
.glance-note b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.glance-note em { display: block; font-style: normal; font-weight: 600; color: var(--brand-700); margin-top: 6px; }

.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tile { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; height: 100%; }
.tile:hover { border-color: var(--brand-600); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.tile strong { display: block; font-weight: 600; line-height: 1.3; }
.tile small { display: block; color: var(--muted); font-size: 13px; }
.tile > span:nth-child(2) { flex: 1; min-width: 0; }
.module-chevron { color: #9aa8a6; width: 18px; height: 18px; }
.tile:hover .module-chevron { color: var(--brand-600); }

/* ---------- Feature reference (module nav + blocks) ---------- */
.features-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.module-nav { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); overflow: auto; }
.module-nav .eyebrow { margin-bottom: 10px; }
.module-nav ul { display: grid; gap: 2px; }
.module-nav a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink-2); font-size: 14.5px; line-height: 1.3; }
.module-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.module-nav a.is-active { background: var(--brand-800); color: #fff; }
.module-nav a.is-active .count { background: rgba(255, 255, 255, .16); color: #fff; }
.module-nav-cta { margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--bg-soft); font-size: 14px; color: var(--muted); line-height: 1.5; }
.module-nav-cta strong { display: block; color: var(--ink); margin-bottom: 4px; }
.module-nav-cta .link-arrow { margin-top: 10px; font-size: 14px; }
.features-layout > * { min-width: 0; }
.module-stack { display: grid; gap: 20px; }
.module-block-head h2, .feature-list li span { overflow-wrap: anywhere; }
.module-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; scroll-margin-top: 100px; }
.module-block-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.module-block-head h2 { font-size: 22px; flex: 1; }
.feature-list { columns: 2; column-gap: 32px; }
.feature-list li { break-inside: avoid; display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.feature-list .icon { color: var(--brand-600); margin-top: 3px; width: 16px; height: 16px; }

/* ---------- Generic section variants ---------- */
.section.is-tint { background: var(--bg-soft); }
.section.is-follow { background: var(--bg-soft); }
.section.is-dark { background: linear-gradient(160deg, var(--brand-800), var(--brand-900)); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.section.is-dark::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(230, 162, 60, .22), transparent 70%); }
.section.is-dark .container { position: relative; }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .lead { color: rgba(255, 255, 255, .72); }
.on-dark .eyebrow { color: var(--accent); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .lead { margin: 16px auto 0; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 40px; }
.head-row .lead { max-width: 460px; }
.intro-split, .split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.intro-split .lead + .lead { margin-top: 16px; }
.split .glance { position: sticky; top: 100px; }

/* Facts (benefits) */
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facts-grid.is-3 { grid-template-columns: repeat(3, 1fr); }
.fact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.fact h3 { font-size: 19px; margin: 18px 0 8px; }
.fact p { font-size: 15px; color: var(--muted); }
.fact-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--brand-50); color: var(--brand-700); }
.on-dark .fact { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.on-dark .fact p { color: rgba(255, 255, 255, .7); }
.on-dark .fact-icon { background: rgba(230, 162, 60, .16); color: var(--accent); }

/* Approach (numbered steps) */
.approach-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.approach-row { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 28px 28px 92px; min-height: 120px; }
.approach-num { position: absolute; left: 28px; top: 28px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--brand-600); color: var(--brand-800); display: grid; place-items: center; font: 800 15px/1 var(--font-head); }
.approach-row h3 { font-size: 19px; margin-bottom: 8px; }
.approach-row p { color: var(--muted); font-size: 15px; }

/* Related cards */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.related-card { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.related-card:hover { border-color: var(--brand-600); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.related-card > span:nth-of-type(2), .related-card > span:only-of-type { flex: 1; min-width: 0; }
.related-card strong { display: block; font-weight: 600; line-height: 1.3; }
.related-card small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.related-card > .icon { color: var(--brand-600); }
.related-avatar { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; object-position: top; flex: none; }

/* ---------- Leadership letters ---------- */
.letter-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 56px; align-items: start; }
.profile-card { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.profile-photo { width: 100%; height: 360px; object-fit: cover; object-position: top; }
.profile-body { padding: 20px 22px 22px; }
.profile-body strong { display: block; font: 700 19px/1.3 var(--font-head); color: var(--ink); }
.profile-body span { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.profile-body a { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font-size: 14px; font-weight: 500; word-break: break-all; }
.letter-quote { margin: 0 0 32px; padding: 28px 32px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--brand-800), var(--brand-900)); position: relative; overflow: hidden; }
.letter-quote::before { content: "\201C"; position: absolute; right: 24px; top: -30px; font: 800 180px/1 var(--font-head); color: rgba(230, 162, 60, .25); }
.letter-quote blockquote { margin: 0; position: relative; }
.letter-quote p { font: 600 clamp(19px, 2vw, 24px)/1.5 var(--font-head); color: #fff; letter-spacing: -0.01em; }
.letter-body p { font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.letter-body p + p { margin-top: 18px; }
.letter-sign { display: flex; align-items: center; gap: 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.letter-sign strong { display: block; color: var(--ink); font-weight: 700; }
.letter-sign span { display: block; color: var(--muted); font-size: 14px; }
.stamp { width: 96px; height: auto; opacity: .9; }
.signature { height: 44px; width: auto; margin-bottom: 6px; }

/* ---------- Mission & vision ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; position: relative; overflow: hidden; }
.mv-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brand-600); }
.mv-card.is-vision::after { background: var(--accent); }
.mv-card h2 { font-size: 26px; margin: 22px 0 12px; }
.mv-card p { color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.statement { margin: 0 auto; max-width: 900px; text-align: center; }
.statement blockquote { margin: 0; }
.statement p:not(.eyebrow) { font: 700 clamp(22px, 2.8vw, 32px)/1.45 var(--font-head); color: var(--ink); letter-spacing: -0.015em; }

/* ---------- Clients ---------- */
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.client-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.client-card:hover { border-color: var(--brand-600); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.client-logo { display: grid; place-items: center; height: 150px; background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 18px; }
.client-logo img { max-height: 110px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.client-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.client-body h2 { font-size: 16.5px; font-weight: 700; line-height: 1.35; }
.client-since { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.client-link { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--brand-700); display: inline-flex; align-items: center; gap: 6px; }
.client-link .icon { width: 14px; height: 14px; }

/* Testimonials (legacy markup) */
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.quote-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; }
.quote-card .stars { display: flex; gap: 3px; margin-bottom: 16px; letter-spacing: 0; }
.star { width: 18px; height: 18px; fill: var(--accent); }
.star.is-empty { fill: #d9dfde; }
.quote-card blockquote { margin: 0 0 24px; flex: 1; }
.quote-card blockquote p { font-size: 16.5px; color: var(--ink); line-height: 1.7; }
.quote-card figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote-card figcaption strong { display: block; color: var(--ink); }
.quote-card figcaption span { font-size: 14px; color: var(--muted); }
.quote-logo { height: 34px; width: auto; max-width: 120px; object-fit: contain; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.contact-card h2 { font-size: 16px; margin-bottom: 4px; }
.contact-card p { color: var(--ink-2); line-height: 1.6; }
.contact-card small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.contact-card .link-arrow { margin-top: 8px; font-size: 14px; }
.contact-card.is-whatsapp .tile-icon { background: #e8f9ef; color: #1fa855; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.form-card > p { color: var(--muted); margin: 10px 0 26px; }
.form-card .h2 { font-size: clamp(26px, 3vw, 34px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field.is-full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label span { color: #d14343; }
.input { width: 100%; font: 400 15px/1.5 var(--font); color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.input:focus { outline: none; background: #fff; border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(18, 115, 105, .12); }
textarea.input { resize: vertical; min-height: 140px; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2363716f' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.form-note { font-size: 13px; color: var(--muted); max-width: 380px; }
.php-email-form .loading, .php-email-form .error-message, .php-email-form .sent-message { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 10px; font-size: 14px; }
.php-email-form .loading { background: var(--bg-soft); color: var(--muted); }
.php-email-form .error-message { background: #fdecec; color: #a12d2d; }
.php-email-form .sent-message { background: var(--brand-100); color: var(--brand-800); font-weight: 600; }
.php-email-form .d-block { display: block; }
.map-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-frame iframe { display: block; width: 100%; height: 440px; border: 0; }

/* Header: highlight current section in the nav */
.nav-link.is-current { color: var(--brand-800); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.facts-grid { grid-template-columns: repeat(2, 1fr); }
	.features-layout { grid-template-columns: minmax(0, 1fr); }
	.module-nav { position: static; max-height: none; }
	.module-nav ul { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
}
@media (max-width: 960px) {
	.page-overview .container { grid-template-columns: 1fr; }
	.page-overview .glance { position: static; order: 0; }
	.intro-split, .split { grid-template-columns: 1fr; gap: 28px; }
	.split .glance { position: static; }
	.letter-layout { grid-template-columns: 1fr; gap: 32px; }
	.profile-card { position: static; display: grid; grid-template-columns: 160px 1fr; align-items: center; }
	.profile-photo { height: 200px; }
	.contact-layout { grid-template-columns: 1fr; }
	.contact-cards { grid-template-columns: repeat(2, 1fr); }
	.quote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	.page-hero { padding: 36px 0 44px; }
	.crumbs ol { margin-bottom: 22px; }
	.page-lead { font-size: 17px; }
	.hero-actions .btn { flex: 1 1 100%; }
	.facts-grid, .facts-grid.is-3, .approach-list, .mv-grid { grid-template-columns: 1fr; }
	.feature-list { columns: 1; }
	.module-block { padding: 22px 18px; }
	.module-block-head { flex-wrap: wrap; }
	.module-block-head h2 { font-size: 19px; }
	.approach-row { padding: 22px 20px 22px 80px; }
	.approach-num { left: 20px; top: 22px; }
	.mv-card { padding: 28px 22px; }
	.contact-cards { grid-template-columns: 1fr; }
	.form-card { padding: 24px 18px; }
	.form-grid { grid-template-columns: 1fr; }
	.form-foot .btn { width: 100%; }
	.profile-card { grid-template-columns: 1fr; }
	.profile-photo { height: 300px; }
	.map-frame iframe { height: 320px; }
	.quote-card { padding: 24px 20px; }
	.letter-quote { padding: 24px 22px; }
}

/* ================================================================
   Theme: dark page header, bright green accents, cut-corner cards
   ================================================================ */
.page-hero { border-bottom: 0; color: rgba(255, 255, 255, .75); background: radial-gradient(800px 420px at 90% -10%, rgba(28, 158, 92, .22), transparent 60%), var(--pattern) center / 720px, linear-gradient(160deg, #06231a 0%, var(--brand-900) 70%); }
.page-hero::before { display: none; }
.page-hero h1 { color: #fff; font-weight: 600; letter-spacing: -0.01em; }
.page-lead { color: rgba(255, 255, 255, .72); }
.crumbs ol, .crumbs a { color: rgba(255, 255, 255, .6); }
.crumbs a:hover { color: #2fc070; }
.crumbs [aria-current] { color: #fff; }
.crumbs li + li::before { color: rgba(255, 255, 255, .35); }
.page-kicker { color: #2fc070; }
.page-kicker .tile-icon { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); box-shadow: none; color: #2fc070; }
.hero-stats { color: rgba(255, 255, 255, .65); }
.hero-stats strong { color: #fff; }
.btn-gold { background: var(--brand-600); color: #fff; }
.btn-gold:hover { background: var(--brand-700); color: #fff; }
.btn-teal { background: var(--brand-600); box-shadow: 0 8px 18px -8px rgba(28, 158, 92, .7); }
.btn-teal:hover { background: var(--brand-700); }
.page-hero .btn-line-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.page-hero .btn-line-light:hover { background: rgba(255, 255, 255, .08); color: #fff; border-color: #fff; }
.cta-box .btn-teal, .cta-box .btn-gold { background: #fff; color: var(--brand-800); }
.cta-box .btn-teal:hover, .cta-box .btn-gold:hover { background: var(--brand-50); color: var(--brand-900); }

.fact, .tile, .related-card { background: var(--brand-50); border-color: transparent; border-radius: 4px; }
.fact { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.tile .tile-icon, .fact .fact-icon, .related-card .tile-icon { background: #fff; }
.tile:hover, .related-card:hover { background: var(--brand-100); border-color: transparent; box-shadow: none; }
.glance, .form-card { border-radius: 6px; }

/* Partner page */
.partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.partner-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center; background: var(--brand-50); border-radius: 4px; padding: 32px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.partner-logo { background: #fff; border-radius: 8px; padding: 16px; display: grid; place-items: center; min-height: 110px; }
.partner-logo img { width: 100%; height: auto; }
.partner-logo.is-text { gap: 8px; text-align: center; color: var(--brand-800); font: 600 17px/1.2 var(--font-head); }
.partner-logo.is-text i { font-size: 26px; color: var(--brand-600); }
.partner-tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--brand-700); background: #fff; border-radius: 4px; padding: 4px 8px; margin-bottom: 10px; }
.partner-card h3 { font-size: 22px; margin-bottom: 8px; }
.partner-card p:not(.partner-tag) { color: var(--muted); margin-bottom: 14px; }
@media (max-width: 960px) { .partner-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .partner-card { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 18px; } .partner-logo { max-width: 240px; } }

/* Profile photo (MD / Chairman message) in a circle */
.profile-photo { width: 220px; height: 220px; margin: 28px auto 4px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; padding: 5px; background: linear-gradient(135deg, var(--brand-600), #f5b80b); box-shadow: 0 14px 30px -14px rgba(6, 43, 40, .55); display: block; }
@media (max-width: 960px) { .profile-photo { width: 140px; height: 140px; margin: 20px; } }
@media (max-width: 640px) { .profile-photo { width: 180px; height: 180px; margin: 24px auto 4px; } }
/* Bigger profile circle */
.profile-photo { width: 270px; height: 270px; padding: 6px; }
@media (max-width: 960px) { .profile-photo { width: 170px; height: 170px; } }
@media (max-width: 640px) { .profile-photo { width: 230px; height: 230px; } }

/* Technology stack */
.stack-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.stack-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; background: #fff; border-radius: 4px; padding: 28px 16px 26px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); transition: transform .2s; }
.stack-card:hover { transform: translateY(-3px); }
.stack-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: #fff; background: linear-gradient(135deg, var(--brand-600), var(--brand-800)); box-shadow: 0 0 0 5px var(--brand-50), 0 0 0 7px #f5b80b; margin-bottom: 8px; }
.stack-card strong { font: 600 17px/1.3 var(--font-head); color: var(--ink); }
.stack-card small { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-700); background: var(--brand-50); padding: 4px 10px; border-radius: 4px; }
@media (max-width: 1080px) { .stack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .stack-card { padding: 22px 10px; } .stack-card strong { font-size: 15px; } }
/* Partner cards, three across */
.partner-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.partner-grid.is-3 .partner-card { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 18px; padding: 28px 24px 32px; }
.partner-grid.is-3 .partner-logo { min-height: 120px; }
.partner-grid.is-3 .partner-card p:not(.partner-tag) { margin-bottom: 0; }
.section-soft .partner-card { background: #fff; }
@media (max-width: 960px) { .partner-grid.is-3 { grid-template-columns: minmax(0, 1fr); } .partner-grid.is-3 .partner-logo { max-width: none; } }
.partner-grid.is-3 .partner-logo.is-text span { display: none; }
.partner-grid.is-3 .partner-logo.is-text i { font-size: 34px; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand-600), var(--brand-800)); box-shadow: 0 0 0 5px var(--brand-50), 0 0 0 7px #f5b80b; }

/* ===== Cream theme for inner pages (matches the homepage hero) ===== */
/* Page title banner */
.page-hero { color: #5b5f57; border-bottom: 1px solid rgba(80, 60, 20, .1); background:
	radial-gradient(800px 420px at 90% -10%, rgba(245, 184, 11, .14), transparent 60%),
	radial-gradient(700px 400px at 0% 100%, rgba(31, 168, 98, .08), transparent 60%),
	linear-gradient(180deg, #fbf6ea 0%, #f5ecd8 100%); }
.page-hero::before { display: block; opacity: 1;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cg font-family='Segoe UI,Arial,sans-serif' font-size='14' font-weight='700' text-anchor='middle' letter-spacing='.5'%3E%3Ctext x='60' y='65' transform='rotate(-20 60 60)'%3E%3Ctspan fill='%23503c14' fill-opacity='.16'%3ESmart%3C/tspan%3E%3Ctspan fill='%23c98a00' fill-opacity='.28'%3EERP%3C/tspan%3E%3C/text%3E%3Ctext x='180' y='185' transform='rotate(-20 180 180)'%3E%3Ctspan fill='%23503c14' fill-opacity='.16'%3ESmart%3C/tspan%3E%3Ctspan fill='%23c98a00' fill-opacity='.28'%3EERP%3C/tspan%3E%3C/text%3E%3C/g%3E%3Cpath d='M0 .5H240M0 120.5H240M.5 0V240M120.5 0V240' stroke='%23503c14' stroke-opacity='.07'/%3E%3C/svg%3E");
	background-size: 240px 240px; background-position: center top;
	-webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 30%, #000 25%, transparent 80%); mask-image: radial-gradient(ellipse 80% 90% at 70% 30%, #000 25%, transparent 80%); }
.page-hero h1 { color: #1d2622; }
.page-lead { color: #5b5f57; }
.crumbs ol, .crumbs a { color: #7a7d73; }
.crumbs a:hover { color: var(--brand-700); }
.crumbs [aria-current] { color: #1d2622; }
.crumbs li + li::before { color: rgba(80, 60, 20, .3); }
.page-kicker { color: var(--brand-700); }
.page-kicker .tile-icon { background: #fff; border-color: rgba(80, 60, 20, .14); box-shadow: 0 4px 12px -8px rgba(80, 60, 20, .4); color: var(--brand-700); }
.hero-stats { color: #5b5f57; }
.hero-stats strong { color: var(--brand-800); }
.page-hero .btn-line-light { color: #1d2622; border-color: rgba(29, 38, 34, .3); }
.page-hero .btn-line-light:hover { background: rgba(29, 38, 34, .05); color: #1d2622; border-color: #1d2622; }

/* Dark feature sections -> cream */
.section.is-dark { background: linear-gradient(180deg, #f8f1e1 0%, #f3e9d2 100%); color: #5b5f57; }
.section.is-dark::before { background: radial-gradient(circle, rgba(245, 184, 11, .18), transparent 70%); }
.on-dark h2, .on-dark h3 { color: #1d2622; }
.on-dark .lead { color: #5b5f57; }
.on-dark .eyebrow { color: #fff; }
.on-dark .fact { background: #fff; border-color: rgba(80, 60, 20, .1); }
.on-dark .fact p { color: #5b5f57; }
.on-dark .fact-icon { background: #fdf3dc; color: #c98a00; }

/* ===== Standard page title banner ===== */
.page-hero { padding: 44px 0 56px; border-bottom: 1px solid rgba(80, 60, 20, .12); background:
	radial-gradient(600px 360px at 85% 50%, rgba(31, 168, 98, .10), transparent 70%),
	linear-gradient(180deg, #fbf6ea 0%, #f6eedb 100%); }
.page-hero::before { background-image: radial-gradient(rgba(80, 60, 20, .16) 1px, transparent 1.4px); background-size: 22px 22px; background-position: 0 0;
	-webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%); mask-image: linear-gradient(90deg, transparent 35%, #000 100%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #1c9e5c, #f5b80b); }
/* decorative rings on the right */
.hero-rings { display: block; position: absolute; right: -140px; top: 50%; width: 520px; height: 520px; margin-top: -260px; border-radius: 50%; pointer-events: none;
	background:
		radial-gradient(circle at 50% 50%, rgba(245, 184, 11, .9) 0 6px, transparent 7px) 22% 26% / 100% 100% no-repeat,
		repeating-radial-gradient(circle at 50% 50%, transparent 0 46px, rgba(28, 158, 92, .14) 47px 48px),
		radial-gradient(circle at 50% 50%, rgba(28, 158, 92, .12), transparent 62%); }
.page-hero .container { position: relative; z-index: 1; }
/* breadcrumb pill */
.page-hero .crumbs ol { display: inline-flex; margin-bottom: 26px; padding: 6px 14px; font-size: 13px; background: #fff; border: 1px solid rgba(80, 60, 20, .12); border-radius: 999px; box-shadow: 0 4px 12px -8px rgba(80, 60, 20, .35); }
/* kicker as a small label pill */
.page-kicker { gap: 8px; padding: 5px 12px 5px 5px; margin-bottom: 16px; border-radius: 999px; background: #e7f4ec; color: var(--brand-700); font-size: 13px; }
.page-kicker .tile-icon { width: 26px; height: 26px; font-size: 12px; border-radius: 50%; background: var(--brand-600); border: 0; color: #fff; box-shadow: none; }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; line-height: 1.15; max-width: 780px; }
.page-lead { font-size: 17px; line-height: 1.7; margin-top: 16px; max-width: 680px; }
.hero-actions { margin-top: 26px; }
.hero-actions .btn { height: 48px; padding: 0 22px; border-radius: 10px; }
.page-hero .btn-gold { background: var(--brand-600); color: #fff; box-shadow: 0 8px 18px -10px rgba(12, 90, 53, .8); }
.page-hero .btn-gold:hover { background: var(--brand-700); color: #fff; }
.page-hero .btn-line-light { background: #fff; }
/* stats as small cards */
.hero-stats { gap: 12px; margin-top: 28px; }
.hero-stats li { padding: 12px 18px; min-width: 140px; background: #fff; border: 1px solid rgba(80, 60, 20, .12); border-radius: 12px; font-size: 13px; }
.hero-stats strong { font-size: 26px; }
@media (max-width: 960px) { .hero-rings { width: 360px; height: 360px; margin-top: -180px; right: -180px; opacity: .6; } }
@media (max-width: 720px) {
	.page-hero { padding: 28px 0 40px; }
	.page-hero .crumbs ol { margin-bottom: 18px; }
	.page-lead { font-size: 16px; }
	.hero-stats li { flex: 1 1 100px; min-width: 0; padding: 10px 12px; }
	.hero-stats strong { font-size: 22px; }
}

/* BASIS-style look: white / light-grey instead of cream (inner pages) */
.page-hero { border-bottom: 1px solid #e6e9e8; background:
	radial-gradient(600px 360px at 85% 50%, rgba(31, 168, 98, .08), transparent 70%),
	linear-gradient(180deg, #ffffff 0%, #f4f7f6 100%) !important; }
.page-hero .crumbs ol, .hero-stats li { border-color: #e3e8e7; box-shadow: none; }
.section.is-dark { background: linear-gradient(180deg, #f7f9f8 0%, #eef3f1 100%) !important; }
.on-dark .fact { border-color: #e3e8e7; }
.on-dark .fact-icon { background: #e7f4ec; color: var(--brand-700); }

/* Leadership letter quote box */
.letter-quote { background: linear-gradient(135deg, #f7f9f8, #eef3f1); border-left: 4px solid var(--brand-600); }
.letter-quote::before { color: rgba(201, 138, 0, .22); }
.letter-quote p { color: #1d2622; }
