.cms-modular-section {
  --cms-public-ink: #123d4a;
  --cms-public-muted: #61727a;
  --cms-public-accent: #0f8b7a;
  padding: clamp(58px, 7vw, 92px) 0;
  background: #f4f8f7;
}
.cms-modular-section:nth-of-type(even) { background: #fff; }
.cms-modular-container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.cms-modular-head { max-width: 760px; margin-bottom: 28px; }
.cms-modular-eyebrow { display: inline-flex; margin-bottom: 12px; color: var(--cms-public-accent); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cms-modular-head h2 { margin: 0; color: var(--cms-public-ink); font-size: clamp(28px, 4vw, 46px); line-height: 1.12; letter-spacing: -.035em; }
.cms-modular-head p { margin: 14px 0 0; color: var(--cms-public-muted); font-size: 16px; line-height: 1.75; }
.cms-modular-richtext { margin-top: 14px; color: var(--cms-public-muted); font-size: 16px; line-height: 1.75; }
.cms-modular-richtext > :first-child { margin-top: 0; }
.cms-modular-richtext > :last-child { margin-bottom: 0; }
.cms-modular-richtext h2, .cms-modular-richtext h3, .cms-modular-richtext h4 { margin: 1.1em 0 .45em; color: var(--cms-public-ink); line-height: 1.25; }
.cms-modular-richtext h2 { font-size: clamp(24px, 3vw, 34px); }
.cms-modular-richtext h3 { font-size: 22px; }
.cms-modular-richtext h4 { font-size: 18px; }
.cms-modular-richtext ul, .cms-modular-richtext ol { padding-left: 1.4em; }
.cms-modular-richtext blockquote { margin: 20px 0; padding: 15px 18px; border-left: 4px solid var(--cms-public-accent); border-radius: 0 16px 16px 0; background: #eef8f5; }
.cms-modular-richtext a { color: var(--cms-public-accent); font-weight: 700; text-decoration: underline; }
.cms-modular-richtext img { display: block; max-width: 100%; height: auto; margin: 22px auto; border-radius: 20px; box-shadow: 0 18px 38px rgba(7,61,73,.12); }
.cms-modular-richtext figure { margin: 22px 0; text-align: center; }
.cms-modular-richtext figcaption { color: #77878d; font-size: 13px; }
.cms-modular-richtext table { width: 100%; margin: 22px 0; border-spacing: 0; border-collapse: separate; border: 1px solid #d8e5e1; border-radius: 16px; overflow: hidden; }
.cms-modular-richtext th, .cms-modular-richtext td { padding: 11px 13px; border-right: 1px solid #d8e5e1; border-bottom: 1px solid #d8e5e1; text-align: left; }
.cms-modular-richtext th { color: var(--cms-public-ink); background: #eef8f5; }
.cms-modular-richtext tr:last-child > * { border-bottom: 0; }
.cms-modular-richtext tr > *:last-child { border-right: 0; }
.cms-modular-content { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); align-items: center; gap: clamp(28px, 5vw, 62px); }
.cms-modular-content.is-text-only { grid-template-columns: 1fr; }
.cms-modular-image { width: 100%; max-height: 540px; object-fit: cover; border-radius: 26px; box-shadow: 0 24px 54px rgba(7, 61, 73, .12); }
.cms-modular-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; padding: 10px 19px; border-radius: 16px; color: #fff; background: var(--cms-public-accent); box-shadow: 0 12px 28px rgba(15, 139, 122, .2); font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.cms-modular-button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(15, 139, 122, .25); }
.cms-modular-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cms-modular-item { position: relative; min-width: 0; padding: 22px; border: 1px solid #d8e5e1; border-radius: 22px; background: rgba(255,255,255,.9); box-shadow: 0 12px 26px rgba(11, 67, 77, .055); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cms-modular-item:hover { transform: translateY(-4px); border-color: #aed6cd; box-shadow: 0 18px 34px rgba(11, 67, 77, .1); }
.cms-modular-item h3 { margin: 0 0 8px; color: var(--cms-public-ink); font-size: 19px; }
.cms-modular-item p { margin: 0; color: var(--cms-public-muted); line-height: 1.65; }
.cms-modular-item img { width: 100%; aspect-ratio: 4 / 3; margin-bottom: 16px; object-fit: cover; border-radius: 16px; }
.cms-modular-item a { position: absolute; inset: 0; border-radius: inherit; }
.cms-modular--steps .cms-modular-item { padding-top: 54px; }
.cms-modular--steps .cms-modular-item::before { content: counter(cms-step, decimal-leading-zero); position: absolute; top: 18px; left: 22px; color: var(--cms-public-accent); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.cms-modular--steps .cms-modular-grid { counter-reset: cms-step; }
.cms-modular--steps .cms-modular-item { counter-increment: cms-step; }
.cms-modular--stats .cms-modular-item { text-align: center; }
.cms-modular--stats .cms-modular-item h3 { color: var(--cms-public-accent); font-size: clamp(30px, 4vw, 48px); }
.cms-modular--gallery .cms-modular-item { padding: 10px; overflow: hidden; }
.cms-modular--gallery .cms-modular-item img { aspect-ratio: 5 / 4; margin: 0; }
.cms-modular--gallery .cms-modular-item h3 { padding: 13px 8px 5px; font-size: 15px; }
.cms-modular--gallery .cms-modular-item p { padding: 0 8px 9px; font-size: 13px; }
.cms-modular-faq { display: grid; gap: 10px; }
.cms-modular-faq details { border: 1px solid #d8e5e1; border-radius: 18px; background: #fff; box-shadow: 0 9px 20px rgba(11,67,77,.04); }
.cms-modular-faq summary { padding: 18px 20px; color: var(--cms-public-ink); font-weight: 750; cursor: pointer; }
.cms-modular-faq p { margin: 0; padding: 0 20px 20px; color: var(--cms-public-muted); line-height: 1.7; }
.cms-modular--cta .cms-modular-container { padding: clamp(28px, 5vw, 52px); border-radius: 28px; color: #fff; background: linear-gradient(135deg, #073d49, #0d8175); box-shadow: 0 26px 60px rgba(7,61,73,.18); }
.cms-modular--cta .cms-modular-head { margin: 0; }
.cms-modular--cta .cms-modular-eyebrow, .cms-modular--cta .cms-modular-head h2 { color: #fff; }
.cms-modular--cta .cms-modular-head p, .cms-modular--cta .cms-modular-richtext { color: rgba(255,255,255,.78); }
.cms-modular--cta .cms-modular-button { color: #0b655d; background: #fff; }

body.cms-visual-editing [data-cms-editable] { cursor: pointer !important; }
body.cms-visual-editing [data-cms-editable]:hover { outline: 3px solid rgba(13,129,117,.55) !important; outline-offset: 3px !important; border-radius: 5px; }
.cms-editor-selected { outline: 4px solid #ecbb34 !important; outline-offset: 4px !important; border-radius: 6px; }
.cms-editor-toolbar, .cms-editor-panel { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important; }
.cms-editor-toolbar { position: fixed; left: 18px; bottom: 18px; z-index: 100020; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 36px); padding: 8px; border: 1px solid #bdd1cb; border-radius: 18px; color: #233039; background: rgba(251,254,253,.96); box-shadow: 0 18px 45px rgba(15,23,42,.18); backdrop-filter: blur(16px); }
.cms-editor-toolbar span { padding: 0 7px; font-size: 12px; font-weight: 750; white-space: nowrap; }
.cms-editor-toolbar a, .cms-editor-toolbar button, .cms-editor-panel button, .cms-editor-panel a { min-height: 35px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 11px; border: 1px solid #cedbd6; border-radius: 13px; color: #52606c; background: #f4faf8; font-size: 11px; font-weight: 700; text-decoration: none; cursor: pointer; }
.cms-editor-toolbar a:hover, .cms-editor-toolbar button:hover, .cms-editor-panel button:hover, .cms-editor-panel a:hover { color: #0d8175; border-color: #b9e2d9; background: #e3f1ed; }
.cms-editor-panel { position: fixed; top: 72px; right: 18px; z-index: 100021; width: min(390px, calc(100vw - 36px)); max-height: calc(100vh - 105px); overflow-y: auto; padding: 18px; border: 1px solid #bdd1cb; border-radius: 22px; color: #18212b; background: rgba(251,254,253,.98); box-shadow: 0 22px 60px rgba(15,23,42,.2); backdrop-filter: blur(18px); }
.cms-editor-panel[hidden] { display: none; }
.cms-editor-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.cms-editor-panel-head h2 { margin: 0; color: #18212b; font-size: 18px; }
.cms-editor-panel-head p { margin: 3px 0 0; color: #697681; font-size: 11px; }
.cms-editor-field { display: grid; gap: 5px; margin-bottom: 11px; }
.cms-editor-field label { color: #3f4b55; font-size: 11px; font-weight: 750; }
.cms-editor-field input, .cms-editor-field textarea { width: 100%; min-height: 39px; padding: 8px 10px; border: 1px solid #cedbd6; border-radius: 13px; outline: 0; color: #26333d; background: #fff; font: inherit; font-size: 12px; }
.cms-editor-field textarea { min-height: 105px; resize: vertical; line-height: 1.55; }
.cms-editor-field input:focus, .cms-editor-field textarea:focus { border-color: #0d8175; box-shadow: 0 0 0 4px #b9e2d9; }
.cms-editor-actions { display: flex; justify-content: flex-end; gap: 7px; padding-top: 5px; }
.cms-editor-actions .cms-editor-save { color: #fff; border-color: #0d8175; background: #0d8175; box-shadow: 0 10px 22px rgba(13,129,117,.18); }
.cms-editor-status { min-height: 18px; margin: 8px 0 0; color: #66747e; font-size: 10.5px; }
@media (max-width: 800px) {
  .cms-modular-grid { grid-template-columns: 1fr 1fr; }
  .cms-modular-content { grid-template-columns: 1fr; }
  .cms-editor-toolbar span { display: none; }
}
@media (max-width: 520px) {
  .cms-modular-grid { grid-template-columns: 1fr; }
  .cms-editor-panel { top: 14px; right: 14px; width: calc(100vw - 28px); max-height: calc(100vh - 90px); }
}
@media (prefers-reduced-motion: reduce) {
  .cms-modular-item, .cms-modular-button { transition: none; }
}
