:root {
    --navy: #143832;
    --navy-2: #1c5249;
    --blue: #2a9d8f;
    --blue-2: #48b5a8;
    --sky: #7dcec4;
    --green: #6b9a78;
    --ice: #e8f5f1;
    --mist: #f4f8f6;
    --text: #1b2e28;
    --muted: #5d6f68;
    --line: #d5e6e0;
    --white: #ffffff;
    --gold: #c9a227;
    --shadow: 0 18px 50px rgba(20, 56, 50, 0.12);
    --radius: 22px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Nunito", system-ui, sans-serif;
    color: var(--text);
    background: var(--mist);
    line-height: 1.65;
    font-weight: 500;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font-family: inherit; }

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(42, 157, 143, 0.12);
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
}
.kicker.light {
    background: rgba(255,255,255,.14);
    color: #d8f3ee;
}

.section { padding: 88px 0; }
.section-head { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section-head h2, .page-hero h1, .hero-copy h1,
h1, h2, h3, h4 {
    font-family: "Nunito", system-ui, sans-serif;
    letter-spacing: -.01em;
    line-height: 1.2;
    font-weight: 800;
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin: 12px 0 10px; }
.muted { color: var(--muted); }
.lead { font-size: 17px; color: var(--muted); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}
.btn-primary {
    background: linear-gradient(180deg, #48b5a8, #2f7d68);
    color: #fff;
    box-shadow: 0 10px 24px rgba(42, 157, 143, .28);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
}
.btn-outline {
    background: #fff;
    color: var(--blue);
    border: 1px solid var(--line);
}
.btn-outline:hover { border-color: var(--blue); }

.topbar {
    background: var(--navy);
    color: #c5ddd6;
    font-size: 13px;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    flex-wrap: wrap;
}
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; gap: 18px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(213, 230, 224, .8);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    gap: 16px;
    position: relative;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}
.brand-logo {
    height: 52px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}
.footer-logo-wrap {
    display: inline-block;
    background: #fff;
    border-radius: 14px;
    padding: 10px 14px;
    margin-bottom: 14px;
}
.footer-logo {
    height: 58px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    margin-bottom: 0;
}
.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(160deg, #7dcec4, #2a9d8f 52%, #5f8f6e);
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 8px 18px rgba(42, 157, 143, .28);
}
.brand strong { display: block; font-size: 15px; }
.brand span { display: block; font-size: 11px; color: var(--muted); margin-top: -2px; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #29443e;
}
.nav-link:hover, .nav-item.active > .nav-link, .nav-link.active {
    background: var(--ice);
    color: var(--blue);
}
.caret { font-size: 10px; opacity: .7; }
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 280px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .18s ease;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    color: #29443e;
}
.dropdown a:hover { background: var(--ice); color: var(--blue); }
.nav-panel { display: flex; align-items: center; gap: 12px; }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.hero-slider { position: relative; overflow: hidden; min-height: 640px; }
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s ease;
}
.slide.active { opacity: 1; pointer-events: auto; position: relative; }
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}
.slide-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(20,56,50,.88) 0%, rgba(28,82,73,.72) 48%, rgba(42,157,143,.30) 100%),
        linear-gradient(to top, rgba(20,56,50,.55), transparent 40%);
}
.slide-inner {
    position: relative;
    min-height: 640px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 40px;
    padding: 70px 0 90px;
}
.hero-copy { color: #fff; max-width: 620px; }
.hero-copy h1 { font-size: clamp(36px, 5vw, 64px); margin: 14px 0 16px; }
.hero-copy p { color: #d5eee8; font-size: 17px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 36px;
}
.stat-pill {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    padding: 14px;
}
.stat-pill b { display: block; font-size: 22px; }
.stat-pill span { color: #c5ddd6; font-size: 12px; }

.hero-panel {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(16px);
    border-radius: 28px;
    padding: 18px;
    box-shadow: 0 30px 60px rgba(0,0,0,.22);
}
.panel-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    color: var(--text);
}
.panel-card h3 { margin: 0 0 6px; font-size: 16px; }
.panel-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--ice); font-size: 14px; }
.panel-row:last-child { border-bottom: 0; }
.badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e8f7ee;
    color: #187a3c;
    font-size: 12px;
    font-weight: 700;
}
.slider-nav {
    position: absolute;
    left: 50%;
    bottom: 56px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .28);
    backdrop-filter: blur(6px);
}
.dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    padding: 0;
    transition: .25s ease;
}
.dot:hover { background: rgba(255,255,255,.75); }
.dot.active { width: 26px; background: #fff; }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: .22s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.slider-arrow svg {
    display: block;
}
.slider-arrow:hover {
    background: rgba(255,255,255,.22);
    border-color: rgba(255,255,255,.55);
    transform: translateY(-50%) scale(1.04);
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

@media (max-width: 980px) {
    .slider-prev { left: 12px; }
    .slider-next { right: 12px; }
    .slider-nav { bottom: 44px; }
}

@media (max-width: 720px) {
    .slider-arrow { width: 42px; height: 42px; }
    .slider-prev { left: 8px; }
    .slider-next { right: 8px; }
    .slider-nav { bottom: 36px; }
}

.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.card, .glass-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(20,56,50),.05);
}
.glass-card { padding: 28px; }
.feature-card {
    padding: 24px;
    height: 100%;
    transition: .2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--ice);
    color: var(--blue);
    margin-bottom: 14px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 18px; }
.checklist li {
    position: relative;
    padding-left: 22px;
    margin: 8px 0;
    color: var(--muted);
    font-size: 14px;
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(#7dcec4, #2a9d8f 55%, #6b9a78);
}

.profile-split { overflow: hidden; }
.profile-split img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.vision-card {
    padding: 28px;
    background: linear-gradient(180deg, #fff, #f3f8f5);
}
.vision-card.misi { background: linear-gradient(180deg, #1c5249, #2a9d8f); color: #fff; }
.vision-card.misi .muted, .vision-card.misi li { color: #d5eee8; }
.vision-card h3 { margin-top: 8px; }

.cta-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.cta-banner {
    background: linear-gradient(120deg, #143832, #2a9d8f 58%, #7dcec4);
    color: #fff;
    border-radius: 28px;
    padding: 36px;
    position: relative;
    overflow: hidden;
}
.cta-banner::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}

.page-hero {
    background:
        radial-gradient(circle at 80% 20%, rgba(125,206,196,.32), transparent 28%),
        linear-gradient(120deg, #143832, #1c5249 48%, #2a9d8f 78%, #6b9a78);
    color: #fff;
    padding: 54px 0 48px;
}
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; color: #c5ddd6; font-size: 13px; margin-bottom: 10px; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 8px; }

.org-wrap { overflow-x: auto; padding-bottom: 10px; }
.org-chart { min-width: 860px; text-align: center; }
.org-node {
    display: inline-block;
    min-width: 210px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 10px 24px rgba(20,56,50),.08);
}
.org-node.primary {
    background: linear-gradient(180deg, #2a9d8f, #2f7d68);
    color: #fff;
    border: 0;
}
.org-node small { display: block; color: inherit; opacity: .75; font-size: 12px; }
.org-line { width: 2px; height: 28px; background: var(--line); margin: 0 auto; }
.org-branch {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    position: relative;
    padding-top: 18px;
}
.org-branch::before {
    content: "";
    position: absolute;
    top: 0;
    left: 16%;
    right: 16%;
    height: 2px;
    background: var(--line);
}
.org-item { position: relative; }
.org-item::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 50%;
    width: 2px;
    height: 18px;
    background: var(--line);
}

.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.person-card { overflow: hidden; display: grid; grid-template-columns: 180px 1fr; }
.person-card img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.person-body { padding: 24px; }
.person-body h3 { margin: 0 0 4px; }
.tag {
    display: inline-block;
    background: var(--ice);
    color: var(--blue);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.table-wrap { overflow-x: auto; }
table.data {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
}
table.data th, table.data td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--ice);
    text-align: left;
    font-size: 14px;
    vertical-align: top;
}
table.data th { background: #1c5249; color: #fff; font-weight: 600; }
table.data tr:hover td { background: #f4faf7; }
.link-chip {
    color: var(--blue);
    font-weight: 700;
    font-size: 13px;
}

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.news-card img { height: 190px; width: 100%; object-fit: cover; }
.news-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.news-meta { font-size: 12px; color: var(--muted); display: flex; gap: 10px; margin-bottom: 8px; }
.news-body h3 { font-size: 18px; margin: 0 0 8px; }
.article-hero img { width: 100%; height: 380px; object-fit: cover; border-radius: 24px; }
.article-content { max-width: 780px; margin: 28px auto 0; }

.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.doc-item {
    display: flex;
    gap: 14px;
    padding: 18px;
    align-items: flex-start;
}
.doc-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--ice);
    color: var(--blue);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.form-card { padding: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 700; }
input, select, textarea {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
    outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(42,157,143,.16); }
.option-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}
.option-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
}
.option-item input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    padding: 0;
    border-radius: 4px;
    flex-shrink: 0;
    accent-color: var(--blue);
}
input[readonly] {
    background: var(--ice);
    color: var(--navy);
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: default;
}
.field-hint {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}
.alert {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}
.alert-success { background: #e8f7ee; color: #146c36; }
.alert-error { background: #fdecec; color: #9b1c1c; }
.stars { display: flex; gap: 6px; }
.star {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    font-size: 20px;
}
.star.active { background: #fff7e0; border-color: var(--gold); }

.kanal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.map-embed {
    border: 0;
    width: 100%;
    height: 340px;
    border-radius: 22px;
    filter: grayscale(.2) contrast(1.04);
}

.site-footer {
    background: var(--navy);
    color: #c5ddd6;
    padding-top: 56px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 36px; }
.site-footer h4 { color: #fff; margin: 0 0 14px; }
.site-footer a { display: block; margin: 8px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 16px 0 22px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
}

.alert-list { margin: 0 0 8px 18px; color: #9b1c1c; }

/* Auth pages (login email / whatsapp) */
.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(42, 157, 143, .18), transparent 42%),
        radial-gradient(circle at bottom left, rgba(20, 56, 50, .08), transparent 38%),
        var(--mist);
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
}

.auth-card {
    width: min(420px, 100%);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 36px 32px 28px;
}

.auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px;
}

.auth-logo {
    width: auto;
    height: 72px;
    max-width: 280px;
    object-fit: contain;
}

.auth-brand-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    text-align: center;
}

.auth-head {
    text-align: center;
    margin-bottom: 24px;
}

.auth-head h1 {
    font-family: "Nunito", system-ui, sans-serif;
    font-size: 26px;
    margin: 0 0 8px;
    letter-spacing: -.01em;
    font-weight: 800;
}

.auth-subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-forgot {
    text-align: right;
    margin-top: -6px;
}

.auth-forgot a {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
}

.auth-forgot a:hover { text-decoration: underline; }

.auth-submit {
    width: 100%;
    margin-top: 4px;
    padding: 14px 22px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0;
    color: var(--muted);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.auth-alt-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-alt-actions .btn,
.auth-register,
.auth-email-link {
    width: 100%;
}

.btn-whatsapp {
    background: linear-gradient(180deg, #34d399, #059669);
    color: #fff;
    box-shadow: 0 10px 24px rgba(5, 150, 105, .24);
}

.btn-whatsapp:hover { transform: translateY(-2px); }

.auth-footnote {
    margin: 22px 0 0;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
}

.auth-footnote a {
    color: var(--blue);
    font-weight: 700;
}

.auth-footnote a:hover { text-decoration: underline; }

.phone-input {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.phone-input:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(42, 157, 143, .16);
}

.phone-prefix {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: var(--ice);
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
    border-right: 1px solid var(--line);
}

.phone-input input {
    flex: 1;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.phone-input input:focus {
    box-shadow: none;
}

@media (max-width: 980px) {
    .nav-toggle { display: grid; place-items: center; }
    .nav-panel {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 10px);
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 10px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
        z-index: 50;
    }
    .nav-panel.open { display: flex; }
    .nav-menu, .nav-cta { display: flex; flex-direction: column; align-items: stretch; }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        border: 0;
        padding: 0 0 0 10px;
    }
    .nav-item.open .dropdown { display: block; }
    .slide-inner, .grid-2, .grid-3, .grid-4, .cta-grid, .people-grid, .news-grid, .form-grid, .kanal-grid, .doc-grid, .footer-grid, .hero-stats, .home-profile, .service-grid, .cms-layout {
        grid-template-columns: 1fr;
    }
    .hero-panel { display: none; }
    .person-card { grid-template-columns: 1fr; }
    .slide-inner { min-height: 540px; padding: 48px 0 80px; }
    .hero-slider, .slide-inner { min-height: 560px; }
    .section { padding: 64px 0; }
    .cms-side { order: 2; }
}

/* Home + CMS pages */
.home-profile {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0;
    overflow: hidden;
    padding: 0;
}
.home-profile-media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}
.home-profile-copy { padding: 36px; }
.home-profile-copy h2 { margin: 12px 0 10px; font-size: clamp(26px, 3vw, 36px); }
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.service-card { padding: 22px; text-align: left; }
.service-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 14px;
    background: var(--ice);
    margin-bottom: 14px;
}
.service-logo.placeholder {
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--blue);
    font-size: 22px;
}
.service-card h3 { margin: 0 0 6px; font-size: 18px; }
.service-sub { margin: 0 0 8px; color: var(--blue); font-weight: 700; font-size: 13px; }

.cms-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 22px;
    align-items: start;
}
.cms-layout:has(.cms-main:only-child),
.cms-main:only-child { grid-column: 1 / -1; }
.cms-side { padding: 18px; position: sticky; top: 90px; }
.cms-side h3 { margin: 0 0 12px; font-size: 15px; }
.cms-side a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}
.cms-side a:hover, .cms-side a.active {
    background: var(--ice);
    color: var(--blue);
}
.cms-hero-img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    margin-bottom: 16px;
}
.cms-block { padding: 22px; margin-bottom: 14px; }
.cms-block-title { margin: 0 0 12px; font-size: 18px; }
.cms-richtext { line-height: 1.75; overflow-wrap: anywhere; }
.cms-richtext img { max-width: 100%; height: auto; border-radius: 12px; }
.cms-richtext table { width: 100%; overflow-x: auto; display: block; }
.cms-richtext a {
    color: var(--blue) !important;
    font-weight: 700;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}
.cms-richtext a:hover {
    color: var(--navy) !important;
    text-decoration: underline !important;
}
.cms-richtext table a {
    text-decoration: underline !important;
}
.cms-upload-image img { width: 100%; border-radius: 14px; }
.cms-upload-image figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; }
.cms-file-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--mist);
    font-weight: 700;
}
.cms-file-link:hover { border-color: var(--blue); color: var(--blue); }
.cms-file-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
}
.cms-video { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 14px; }
.cms-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 980px) {
    .service-grid { grid-template-columns: 1fr 1fr; }
    .cms-layout { grid-template-columns: 1fr; }
    .cms-side { position: static; }
}
@media (max-width: 720px) {
    .service-grid { grid-template-columns: 1fr; }
    .home-profile-copy { padding: 24px; }
}
