:root {
    --primary: #1db5b2;
    --secondary: #0f4c5c;
    --surface: #f2f8fb;
    --text: #143042;
    --muted: #5b7385;
    --white: #ffffff;
    --danger: #ba3333;
    --line: #dce8ef;
    --accent: #00d9cc;
    --success: #10b981;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f9fcff 0%, #f4fafd 100%);
    animation: fadeIn 0.6s ease-out;
}

body.modal-open {
    overflow: hidden;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -44px;
    z-index: 100;
    background: #0f4c5c;
    color: #fff;
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 10px;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.25s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

a:hover {
    color: var(--primary);
}

.container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

/* Header and Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e4edf3;
    animation: slideInDown 0.5s ease-out;
}

.top-note {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.86rem;
    color: var(--muted);
    padding: 0.55rem 0;
    border-bottom: 1px solid #eef4f7;
    animation: slideInDown 0.6s ease-out 0.1s backwards;
}

.top-note a {
    color: var(--secondary);
    font-weight: 600;
    transition: all 0.25s ease;
}

.top-note a:hover {
    transform: translateX(2px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    animation: slideInDown 0.6s ease-out 0.2s backwards;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 700;
    color: var(--secondary);
    transition: transform 0.25s ease;
}

.brand:hover {
    transform: scale(1.03);
}

.logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.brand:hover .logo {
    transform: rotate(5deg) scale(1.08);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    animation: slideInDown 0.6s ease-out 0.3s backwards;
}

.site-nav a {
    color: #2f4c60;
    font-weight: 500;
    padding: 0.3rem 0.55rem;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.site-nav a:hover {
    background: #edf6fa;
    color: var(--secondary);
    transform: translateY(-2px);
}

.header-actions {
    display: flex;
    gap: 0.45rem;
    animation: slideInDown 0.6s ease-out 0.4s backwards;
}

.btn {
    display: inline-block;
    border: 0;
    border-radius: 11px;
    background: var(--primary);
    color: var(--white);
    padding: 0.64rem 0.95rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    filter: brightness(0.95);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(17, 101, 120, 0.2);
}

.btn-dark {
    background: var(--secondary);
}

.btn-ghost {
    background: #e9f3f7;
    color: var(--secondary);
}

.btn-danger {
    background: var(--danger);
}

.btn-small {
    padding: 0.44rem 0.64rem;
    font-size: 0.86rem;
}

/* Hero Section */
.hero {
    color: #fff;
    background: radial-gradient(circle at 15% 20%, rgba(56, 223, 216, 0.34), transparent 35%),
                linear-gradient(130deg, #0a485d, #0f6e84);
    background-size: cover;
    background-position: center;
    padding: 4.4rem 0 3.5rem;
    animation: fadeIn 0.8s ease-out;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 1.2rem;
    align-items: end;
}

.hero-copy h1 {
    margin: 0.35rem 0 0.75rem;
    font-size: clamp(1.95rem, 4.2vw, 3.4rem);
    letter-spacing: -0.02em;
    animation: slideInLeft 0.7s ease-out 0.2s backwards;
}

.hero-copy p {
    margin: 0;
    max-width: 720px;
    color: #dbeff4;
    font-size: 1.05rem;
    animation: slideInLeft 0.7s ease-out 0.3s backwards;
}

.hero-chip {
    display: inline-block;
    padding: 0.34rem 0.68rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    font-size: 0.84rem;
    background: rgba(255, 255, 255, 0.08);
    animation: slideInLeft 0.7s ease-out 0.1s backwards;
}

.hero-actions {
    margin-top: 1.2rem;
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    animation: slideInLeft 0.7s ease-out 0.4s backwards;
}

.hero-panel {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 16px;
    padding: 1rem;
    backdrop-filter: blur(5px);
    animation: slideInUp 0.7s ease-out 0.3s backwards;
    transition: transform 0.3s ease, backdrop-filter 0.3s ease;
}

.hero-panel:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.hero-panel h3 {
    margin: 0 0 0.65rem;
    animation: slideInUp 0.7s ease-out 0.4s backwards;
}

.hero-panel ul {
    margin: 0 0 0.7rem;
    padding-left: 1.1rem;
    color: #e9f7fa;
    animation: slideInUp 0.7s ease-out 0.5s backwards;
}

.hero-panel a {
    color: #fff;
    text-decoration: underline;
    transition: all 0.25s ease;
}

.hero-panel a:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* Trust Section */
.trust-strip {
    padding-top: 0;
}

.trust-grid {
    margin-top: -1.35rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
}

.trust-grid article {
    background: #fff;
    border: 1px solid #e2ecf3;
    border-radius: 12px;
    padding: 0.9rem;
    box-shadow: 0 12px 30px rgba(12, 74, 95, 0.08);
    animation: scaleIn 0.5s ease-out;
    transition: all 0.3s ease;
}

.trust-grid article:nth-child(1) { animation-delay: 0s; }
.trust-grid article:nth-child(2) { animation-delay: 0.1s; }
.trust-grid article:nth-child(3) { animation-delay: 0.2s; }

.trust-grid article:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(12, 74, 95, 0.15);
    border-color: var(--primary);
}

.trust-grid strong {
    display: block;
    font-size: 1.25rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.trust-grid article:hover strong {
    color: var(--secondary);
}

.trust-grid span {
    color: var(--muted);
    font-size: 0.93rem;
    transition: color 0.3s ease;
}

.trust-card-add {
    min-height: 92px;
    font-size: 2rem;
    border-style: dashed;
    border-width: 2px;
    border-color: #8abac7;
    background: rgba(201, 236, 245, 0.35);
    color: #2b6278;
    cursor: pointer;
}

/* Sections */
.section {
    padding: 2.3rem 0;
    animation: fadeIn 0.6s ease-out;
}

.section-soft {
    background: var(--surface);
    border-top: 1px solid #e7f0f4;
    border-bottom: 1px solid #e7f0f4;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.85rem;
    animation: slideInDown 0.5s ease-out;
}

.section-head h2 {
    margin: 0;
    animation: slideInLeft 0.5s ease-out;
}

.section-head a {
    animation: slideInLeft 0.5s ease-out 0.1s backwards;
}

.prose {
    line-height: 1.72;
    animation: slideInUp 0.6s ease-out;
}

.premium-prose {
    max-width: 920px;
}

.impressum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.impressum-notes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.impressum-card {
    border-top: 3px solid #9ad9d7;
}

.impressum-card h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.impressum-card p {
    margin: 0.2rem 0 0;
}

.impressum-card address {
    margin: 0;
    font-style: normal;
}

.impressum-value {
    font-weight: 600;
    color: #1f4357;
}

.text-block {
    white-space: pre-line;
    color: #2d495c;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 1rem;
}

.card {
    background: #fff;
    border: 1px solid #e3ecf2;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 10px 28px rgba(12, 74, 95, 0.06);
    transition: all 0.35s ease;
    animation: scaleIn 0.5s ease-out;
}

.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 0.08s; }
.card:nth-child(3) { animation-delay: 0.16s; }
.card:nth-child(4) { animation-delay: 0.24s; }
.card:nth-child(5) { animation-delay: 0.32s; }
.card:nth-child(6) { animation-delay: 0.4s; }

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(12, 74, 95, 0.15);
    border-color: var(--primary);
}

.service-card {
    border-top: 3px solid #9ad9d7;
    position: relative;
    padding: 1.2rem 1.15rem 1.05rem;
    background: linear-gradient(180deg, #ffffff 0%, #fcfeff 100%);
    min-height: 330px;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    overflow: hidden;
}

.service-cover {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 10px;
    background: #eef6fb;
    margin-bottom: 0.2rem;
}

.service-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #cde7ee;
    background: #f4fbff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.72rem;
    color: #2b697d;
    font-size: 1.1rem;
    font-weight: 700;
}

.service-summary {
    margin: 0.42rem 0 0.7rem;
    color: #2b4a5d;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.32rem;
    color: #304f62;
}

.service-list li::marker {
    color: var(--primary);
}

.service-card-cta {
    margin-top: 0.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #0b5265;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    padding-top: 0.7rem;
}

.service-card-cta::after {
    content: "->";
    transition: transform 0.2s ease;
}

.service-card-cta:hover::after {
    transform: translateX(2px);
}

.service-card-open {
    margin-top: auto;
    background: #eef6fb;
    border: 1px solid #d6e7f2;
    border-radius: 10px;
    color: #24526b;
    padding: 0.5rem 0.65rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-card-open:hover {
    background: #e2f2fb;
}

.service-card-add {
    min-height: 330px;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    color: #2b6278;
    cursor: pointer;
    border-style: dashed;
    border-width: 2px;
    border-color: #8abac7;
    background: rgba(201, 236, 245, 0.33);
    opacity: 0.9;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.service-card-add:hover {
    background: rgba(201, 236, 245, 0.56);
    opacity: 1;
}

.service-card.dragging {
    opacity: 0.55;
}

.service-card.preview-editable-active {
    border-color: #2b7b95;
    box-shadow: 0 0 0 2px rgba(43, 123, 149, 0.2);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 14px 14px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::after {
    opacity: 1;
}

.service-details {
    white-space: pre-line;
    color: #2f4f62;
    line-height: 1.55;
    margin-top: 0.4rem;
}

.service-detail-list {
    margin: 0.25rem 0 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.35rem;
}

.service-detail-section + .service-detail-section {
    margin-top: 0.9rem;
}

.service-detail-section h4 {
    margin: 0;
    color: #1f5065;
    font-size: 0.95rem;
}

.job-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-height: 240px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
    border-color: #dce8ef;
    box-shadow: 0 12px 28px rgba(12, 74, 95, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(12, 74, 95, 0.1);
}

.job-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.job-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: #edf6fa;
    color: #22586d;
    font-size: 0.8rem;
    font-weight: 600;
}

.job-status-pill {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #e6f7f6;
    color: #166b69;
    font-size: 0.82rem;
    font-weight: 700;
}

.job-meta {
    margin: 0;
    color: #4e6978;
    font-size: 0.94rem;
}

.job-summary {
    margin: 0;
    color: #284d60;
    line-height: 1.55;
}

.job-card-footer {
    margin-top: auto;
}

.jobs-section-hint {
    color: #6b7f8c;
    font-size: 0.92rem;
}

.job-card-open {
    margin-top: auto;
    background: #eef6fb;
    border: 1px solid #d6e7f2;
    border-radius: 10px;
    color: #24526b;
    padding: 0.5rem 0.65rem;
    cursor: pointer;
}

.job-card-open:hover {
    background: #e2f2fb;
}

.service-modal {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: grid;
    place-items: center;
}

.service-modal.hidden {
    display: none;
}

.service-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 23, 34, 0.42);
    backdrop-filter: blur(4px);
}

.service-modal-dialog {
    position: relative;
    width: min(980px, 92vw);
    max-height: 88vh;
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #d8e7ef;
    padding: 1.15rem;
    box-shadow: 0 28px 62px rgba(10, 30, 44, 0.32);
    animation: serviceModalIn 0.22s ease-out;
}

.service-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.6rem;
    font-size: 1.9rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #1f4458;
}

.service-modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

.service-modal-gallery img {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 10px;
    background: #eef6fb;
}

.service-modal-gallery.single-image {
    grid-template-columns: 1fr;
}

.service-modal-gallery.single-image img {
    aspect-ratio: 16 / 9;
    max-height: min(46vh, 420px);
}

.service-modal-gallery img.is-portrait {
    object-fit: contain;
    background: #e9f2f8;
    padding: 0.2rem;
}

.service-modal-gallery.single-image img.is-portrait {
    aspect-ratio: 4 / 3;
    max-height: min(52vh, 500px);
}

.section-head-cta {
    white-space: nowrap;
}

@keyframes serviceModalIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.team-section {
    background: linear-gradient(180deg, #f8fcff 0%, #f1f7fb 100%);
}

.team-page-section {
    background: linear-gradient(180deg, #f7fbff 0%, #eef6fb 100%);
}

.team-stage {
    display: grid;
    gap: 1rem;
}

.team-home-stage {
    max-width: 1040px;
    margin: 0 auto;
}

.team-page-title-inline {
    margin-bottom: 0.2rem;
}

.team-lead-row {
    display: grid;
    grid-template-columns: 1fr 140px;
    align-items: center;
    gap: 1rem;
    padding: 1.05rem 1.1rem;
    animation: slideInUp 0.45s ease-out;
}

.team-lead-copy h3 {
    margin: 0 0 0.25rem;
}

.team-lead-copy p {
    margin: 0 0 0.6rem;
    color: #214b61;
    font-weight: 600;
}

.team-lead-photo-wrap {
    display: flex;
    justify-content: flex-end;
}

.team-lead-photo {
    width: 128px;
    height: 128px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #d4e5ef;
}

.team-staff-heading {
    text-align: center;
    margin: 0.2rem 0 0.2rem;
    color: #1c455a;
}

.team-staff-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.team-staff-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #d7e6ef;
    border-radius: 12px;
    min-height: 110px;
    display: grid;
    grid-template-columns: 130px 1fr;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    animation: slideInUp 0.4s ease-out;
}

.team-staff-card:hover {
    transform: translateY(-4px);
    border-color: #92c4d8;
    box-shadow: 0 14px 28px rgba(22, 68, 94, 0.18);
}

.team-staff-media {
    height: 100%;
}

.team-staff-media img,
.team-staff-media .team-avatar-fallback {
    width: 100%;
    height: 100%;
    min-height: 110px;
    border-radius: 12px 0 0 12px;
    object-fit: cover;
}

.team-staff-copy {
    padding: 0.55rem 0.6rem;
}

.team-staff-copy strong {
    display: block;
    margin-bottom: 0.3rem;
}

.team-staff-copy p {
    margin: 0 0 0.45rem;
    color: #2e5166;
    font-size: 0.9rem;
}

.team-window {
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(7px);
    border: 1px solid rgba(195, 223, 236, 0.95);
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(20, 67, 94, 0.12);
}

.team-more-action {
    margin-top: 0.95rem;
    display: flex;
    justify-content: center;
}

.team-editor-panel {
    right: 16px;
    bottom: 186px;
    width: min(420px, 92vw);
    max-height: 84vh;
}

.team-editor-panel.minimized .guided-editor-fields,
.team-editor-panel.minimized .guided-editor-actions {
    display: none;
}

.settings-editor-panel {
    right: 16px;
    bottom: 356px;
    width: min(420px, 92vw);
    max-height: 84vh;
}

.settings-editor-panel.minimized .guided-editor-fields,
.settings-editor-panel.minimized .guided-editor-actions {
    display: none;
}

#settings-editor-status {
    font-size: 0.85rem;
    color: #0f6e84;
}

#settings-editor-status.error {
    color: var(--danger);
}

.team-editor-preview {
    margin-top: 0.5rem;
}

.team-editor-preview img,
.team-editor-preview .team-avatar-fallback {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

#team-editor-status {
    font-size: 0.85rem;
    color: #0f6e84;
}

#team-editor-status.error {
    color: var(--danger);
}

.trust-editor-panel {
    right: 16px;
    bottom: 16px;
    width: min(420px, 92vw);
    max-height: 84vh;
}

.trust-editor-panel.minimized .guided-editor-fields,
.trust-editor-panel.minimized .guided-editor-actions {
    display: none;
}

#trust-editor-status {
    font-size: 0.85rem;
    color: #0f6e84;
}

#trust-editor-status.error {
    color: var(--danger);
}

.team-card {
    display: grid;
    gap: 0.6rem;
    overflow: hidden;
}

.team-card img,
.team-avatar-fallback {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 12px;
}

.team-avatar-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #dcecf5, #eff7fc);
    color: #2e6279;
    font-size: 2.2rem;
    font-weight: 700;
}

.team-card:hover img {
    transform: scale(1.04);
    filter: brightness(1.05);
}

/* News */
.news-list {
    display: grid;
    gap: 0.8rem;
}

.news-item {
    background: #fff;
    border: 1px solid #e2ecf3;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    animation: slideInUp 0.5s ease-out;
    border-left: 4px solid transparent;
}

.news-item:hover {
    border-left-color: var(--primary);
    box-shadow: 0 8px 16px rgba(12, 74, 95, 0.1);
    transform: translateX(4px);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    align-items: baseline;
    animation: slideInDown 0.4s ease-out;
}

.news-item small {
    color: var(--muted);
    transition: color 0.3s ease;
}

.news-item:hover small {
    color: var(--primary);
}

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
    animation: fadeIn 0.6s ease-out;
}

.contact-card {
    animation: slideInLeft 0.6s ease-out;
}

.contact-info {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Forms */
.form-grid {
    display: grid;
    gap: 0.7rem;
    max-width: 760px;
}

.form-grid label {
    display: grid;
    gap: 0.32rem;
    color: var(--secondary);
    font-weight: 650;
}

.form-grid label > span {
    font-size: 0.9rem;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid #d4e2eb;
    border-radius: 10px;
    padding: 0.68rem 0.72rem;
    font: inherit;
    background: #fff;
    transition: all 0.25s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(29, 181, 178, 0.1);
    transform: translateY(-2px);
}

/* Admin */
.admin-body {
    background: #edf1f6;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #0f4c5c 0%, #0b3f4c 100%);
    color: #d8eef4;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    align-content: start;
}

.admin-sidebar-brand {
    padding: 1.1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar-brand strong {
    color: #fff;
    display: block;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.admin-sidebar-brand span {
    color: #a8d2de;
    font-size: 0.82rem;
}

.admin-sidebar-nav {
    display: grid;
    gap: 1rem;
    padding: 1rem 0.7rem;
}

.admin-nav-group {
    display: grid;
    gap: 0.26rem;
}

.admin-nav-group-label {
    color: #9ec9d4;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0.2rem 0.4rem 0.35rem;
}

.admin-sidebar-nav a,
.admin-nav-form button {
    color: #d6edf3;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    background: transparent;
    text-align: left;
    width: 100%;
    cursor: pointer;
}

.admin-nav-form {
    margin: 0;
}

.admin-sidebar-nav a:hover,
.admin-nav-form button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.admin-sidebar-nav a.active {
    color: #fff;
    background: linear-gradient(135deg, #1db5b2 0%, #17a8a5 100%);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 20px rgba(8, 79, 94, 0.32);
}

.admin-content {
    min-width: 0;
    flex: 1;
    display: grid;
    grid-template-rows: auto 1fr;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #f7f9fc;
    border-bottom: 1px solid #dce3eb;
}

.admin-topbar-inner {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.2rem;
}

.admin-topbar-title {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}

.admin-topbar-title span {
    color: #6990a0;
    font-size: 0.82rem;
}

.admin-topbar-title strong {
    color: #1f4957;
    font-size: 1rem;
}

.admin-main {
    padding: 1.2rem;
    animation: fadeIn 0.4s ease-out;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: slideInUp 0.5s ease-out;
}

.table th,
.table td {
    border-bottom: 1px solid #edf2f6;
    text-align: left;
    padding: 0.8rem;
    vertical-align: top;
    transition: all 0.2s ease;
}

.table th {
    background: linear-gradient(135deg, #f3f8fb 0%, #e7f0f4 100%);
    font-weight: 600;
    color: var(--secondary);
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background: #f8fcfd;
    transform: scale(1.01);
    box-shadow: inset 0 0 8px rgba(29, 181, 178, 0.08);
}

.table tbody tr:hover td {
    color: var(--secondary);
}

.table input,
.table textarea {
    border-color: #d4e2eb;
    background: #fafbfc;
}

.table input:focus,
.table textarea:focus {
    background: #fff;
    border-color: var(--primary);
}

/* Flash Messages */
.flash {
    margin: 0.8rem 0;
    padding: 0.9rem;
    border-radius: 10px;
    border-left: 4px solid;
    animation: slideInDown 0.4s ease-out;
}

.flash-success {
    background: #ecfdf5;
    color: #065f46;
    border-left-color: var(--success);
}

.flash-error {
    background: #fef2f2;
    color: #7b1f27;
    border-left-color: var(--danger);
}

/* Footer */
.site-footer {
    margin-top: 2.5rem;
    padding: 2.4rem 0;
    background: linear-gradient(180deg, #f6fbff 0%, #edf6fb 100%);
    color: #16384b;
    animation: slideInUp 0.6s ease-out;
}

.footer-shell {
    display: grid;
    grid-template-columns: minmax(260px, 1.25fr) minmax(320px, 1.4fr) minmax(220px, 0.8fr);
    gap: 1rem;
    align-items: start;
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #d8e8f0;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(22, 68, 94, 0.11);
}

.footer-brand-block,
.footer-card {
    display: grid;
    gap: 0.75rem;
}

.footer-brand-block {
    padding: 0.75rem;
}

.footer-eyebrow {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-company {
    color: #102f42;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1.15;
}

.footer-tagline {
    max-width: 34rem;
    margin: 0;
    color: #46677b;
}

.footer-card {
    min-height: 100%;
    padding: 0.95rem;
    background: #fff;
    border: 1px solid #e0edf4;
    border-radius: 16px;
}

.footer-card h2 {
    margin: 0;
    color: #102f42;
    font-size: 1rem;
}

.footer-contact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0;
}

.footer-contact-row {
    display: grid;
    gap: 0.18rem;
    padding: 0.68rem 0.72rem;
    background: #f7fbfd;
    border: 1px solid #e3eff5;
    border-radius: 12px;
}

.footer-contact-row-wide {
    grid-column: 1 / -1;
}

.footer-contact-list dt {
    color: #547084;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-contact-list dd {
    margin: 0;
    color: #102f42;
    font-weight: 700;
}

.footer-contact-list address {
    font-style: normal;
    white-space: pre-line;
}

.footer-links {
    display: grid;
    gap: 0.55rem;
}

.footer-shell a {
    color: #102f42;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-links a {
    padding: 0.68rem 0.72rem;
    background: #f7fbfd;
    border: 1px solid #e3eff5;
    border-radius: 12px;
    font-weight: 700;
}

.footer-shell a:hover {
    color: var(--secondary);
    border-color: #bfd9e6;
    transform: translateY(-1px);
}

/* Cookie Consent Modal */
.cookie-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(10, 31, 47, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-overlay--visible {
    display: flex;
    animation: fadeIn 0.35s ease-out;
}

.cookie-overlay--hidden {
    animation: fadeOut 0.25s ease-in forwards;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

.cookie-modal {
    background: #fff;
    border-radius: 20px;
    padding: 1.6rem 1.75rem 1.5rem;
    width: min(520px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 32px 64px rgba(10, 48, 72, 0.22), 0 0 0 1px rgba(29, 181, 178, 0.12);
    animation: slideInUp 0.4s cubic-bezier(.22,.68,0,1.2);
    position: relative;
}

/* Header row: icon + title + X */
.cookie-modal-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.cookie-modal-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
}

.cookie-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
    letter-spacing: -0.01em;
    flex: 1;
}

.cookie-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.3rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
}

.cookie-close-btn:hover {
    color: var(--secondary);
    background: var(--surface);
}

.cookie-modal-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 1.1rem;
}

.cookie-privacy-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
    margin-left: 0.2rem;
}

.cookie-privacy-link:hover { color: var(--secondary); }

/* Categories */
.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.cookie-category {
    border: 1px solid #e4edf2;
    border-radius: 12px;
    overflow: hidden;
}

.cookie-category--required {
    border-color: rgba(29, 181, 178, 0.3);
}

/* Row: expand button + toggle */
.cookie-category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
    background: #f8fafb;
}

.cookie-category--required .cookie-category-row {
    background: #f0faf9;
}

.cookie-expand-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-align: left;
    flex: 1;
    min-width: 0;
}

.cookie-expand-icon {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
    width: 1rem;
    text-align: center;
    line-height: 1;
}

.cookie-category-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    min-width: 0;
}

.cookie-category-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
}

.cookie-category-badge {
    font-size: 0.68rem;
    font-weight: 600;
    background: rgba(29, 181, 178, 0.15);
    color: var(--primary);
    padding: 0.12rem 0.5rem;
    border-radius: 20px;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.cookie-category-badge--optional {
    background: #eeeeee;
    color: #888;
}

/* Expand body */
.cookie-category-body {
    padding: 0.75rem 1rem 0.85rem;
    border-top: 1px solid #e4edf2;
    background: #fff;
}

.cookie-category-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0 0 0.5rem;
}

.cookie-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cookie-list li {
    font-size: 0.78rem;
    color: #666;
}

.cookie-list code {
    background: rgba(15, 76, 92, 0.08);
    color: var(--secondary);
    padding: 0.05rem 0.35rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* Toggle switch */
.cookie-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

.cookie-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-track {
    display: block;
    width: 42px;
    height: 24px;
    border-radius: 24px;
    background: #d0dde5;
    transition: background 0.25s;
    position: relative;
}

.cookie-toggle-track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    transition: transform 0.25s cubic-bezier(.4,0,.2,1);
}

.cookie-toggle input:checked + .cookie-toggle-track {
    background: var(--primary);
}

.cookie-toggle input:checked + .cookie-toggle-track::after {
    transform: translateX(18px);
}

.cookie-toggle--locked {
    cursor: not-allowed;
    opacity: 0.75;
}

/* Actions */
.cookie-modal-actions {
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    border-top: 1px solid #e8eef2;
    padding-top: 1rem;
}

.cookie-modal-actions .btn {
    font-size: 0.875rem;
    padding: 0.55rem 1.1rem;
    white-space: nowrap;
}

/* Cookie Banner (legacy — kept for compatibility) */
.cookie-banner {
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: min(860px, 92%);
    background: linear-gradient(135deg, #0a1f2f 0%, #0f3d52 100%);
    color: #fff;
    border-radius: 12px;
    padding: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    animation: slideInUp 0.5s ease-out;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hidden {
    display: none !important;
}

/* Login Page */
.login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(155deg, #e9f7f6, #eff5ff);
    animation: fadeIn 0.6s ease-out;
}

.login-card {
    width: min(450px, 92%);
    background: #fff;
    border-radius: 16px;
    padding: 1.3rem;
    border: 1px solid #e7eef3;
    box-shadow: 0 20px 40px rgba(15, 76, 92, 0.08);
    animation: scaleIn 0.5s ease-out;
}

.admin-section {
    display: grid;
    gap: 0.9rem;
}

.admin-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.admin-page-head h1 {
    margin: 0;
}

.admin-page-head p {
    margin: 0.32rem 0 0;
    color: var(--muted);
}

.admin-card {
    background: #fff;
    border: 1px solid #e3ecf2;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 10px 28px rgba(12, 74, 95, 0.06);
}

.news-modal-open {
    overflow: hidden;
}

.news-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9200;
    background: rgba(10, 31, 47, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: grid;
    place-items: center;
    padding: 1rem;
}

.news-modal-card {
    width: min(760px, 100%);
    background: #fff;
    border: 1px solid #dbe7ef;
    border-radius: 16px;
    box-shadow: 0 22px 60px rgba(15, 76, 92, 0.2);
    padding: 1.15rem;
}

.job-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9200;
    background: rgba(10, 31, 47, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: grid;
    place-items: center;
    padding: 1rem;
}

.job-modal-overlay.hidden {
    display: none;
}

.job-modal-card {
    width: min(1180px, 100%);
    max-height: 90vh;
    overflow: auto;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
    border: 1px solid #dbe7ef;
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(15, 76, 92, 0.22);
    padding: 1.15rem;
}

.job-modal {
    position: fixed;
    inset: 0;
    z-index: 9200;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.job-modal.hidden {
    display: none;
}

.job-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 31, 47, 0.58);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.job-modal-dialog {
    position: relative;
    width: min(1180px, 100%);
    max-height: 88vh;
    overflow: auto;
    background: #fff;
    border: 1px solid #dbe7ef;
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(15, 76, 92, 0.24);
    padding: 1.1rem;
}

.job-modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.9rem;
    font-size: 1.9rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #1f4458;
    z-index: 2;
}

.job-modal-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-right: 3rem;
    margin-bottom: 1rem;
}

.job-modal-card-head h2 {
    margin: 0;
    font-size: 1.6rem;
}

.job-modal-card-head p {
    margin: 0.25rem 0 0;
    color: #5b7385;
    line-height: 1.55;
    max-width: 48rem;
}

.job-modal-eyebrow {
    display: inline-flex;
    margin-bottom: 0.35rem;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.job-wizard-card {
    width: min(880px, 100%);
    padding: 1.35rem 1.4rem 1.25rem;
}

.job-wizard-steps {
    display: flex;
    gap: 0.55rem;
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.job-wizard-steps li {
    flex: 1;
    display: flex;
}

.job-wizard-step-btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.62rem 0.8rem;
    border: 1px solid #dbe7ef;
    border-radius: 14px;
    background: #f6fafc;
    color: #557286;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
    transition: all 0.2s ease;
}

.job-wizard-step-btn:hover {
    border-color: #b8d6e2;
    background: #fff;
}

.job-wizard-step-num {
    display: grid;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: #e2edf3;
    color: #33607a;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.job-wizard-step-btn.is-active {
    border-color: var(--primary);
    background: #fff;
    color: #123c4d;
    box-shadow: 0 12px 26px rgba(29, 181, 178, 0.16);
}

.job-wizard-step-btn.is-active .job-wizard-step-num {
    background: linear-gradient(135deg, var(--primary) 0%, #17929d 100%);
    color: #fff;
}

.job-wizard-step-btn.is-done {
    border-color: #bfe6dc;
    background: #f2fbf8;
    color: #1d6a55;
}

.job-wizard-step-btn.is-done .job-wizard-step-num {
    background: var(--success);
    color: #fff;
}

.job-admin-form {
    display: grid;
    gap: 0.85rem;
}

.job-wizard-panel {
    border: 1px solid #e3ecf2;
    border-radius: 18px;
    background: #fff;
    padding: 1.05rem;
    box-shadow: 0 10px 24px rgba(12, 74, 95, 0.04);
    display: grid;
    gap: 0.85rem;
    animation: fadeIn 0.25s ease-out;
}

.job-admin-form-section {
    border: 1px solid #dbe7ef;
    border-radius: 18px;
    background: #fff;
    padding: 0.95rem;
    box-shadow: 0 10px 24px rgba(12, 74, 95, 0.04);
}

.job-admin-section-head {
    display: grid;
    gap: 0.2rem;
    margin-bottom: 0.85rem;
}

.job-admin-section-head h3 {
    margin: 0;
    font-size: 1.02rem;
}

.job-admin-section-head p {
    margin: 0;
    color: #60798a;
    line-height: 1.5;
}

.job-admin-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.job-field-wide {
    grid-column: 1 / -1;
}

.job-admin-schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.job-wizard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    padding-top: 0.9rem;
    border-top: 1px solid #e6eef3;
}

.job-wizard-nav {
    display: flex;
    gap: 0.5rem;
}

.job-application-detail-card {
    width: min(760px, 100%);
    display: grid;
    gap: 0.85rem;
    padding: 1.35rem 1.4rem 1.25rem;
}

.application-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
}

.application-facts strong {
    word-break: break-word;
}

.application-message-box {
    white-space: pre-line;
    border: 1px solid #e3ecf2;
    border-radius: 14px;
    padding: 0.85rem;
    background: #fafdff;
    color: #2d495c;
    line-height: 1.6;
}

.application-file-list {
    display: grid;
    gap: 0.5rem;
}

.application-file-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid #dbe7ef;
    border-radius: 12px;
    background: #f8fbfd;
    color: #1f4357;
    font-weight: 600;
    transition: all 0.2s ease;
}

.application-file-chip:hover {
    border-color: var(--primary);
    background: #fff;
    transform: translateY(-1px);
}

.application-file-label {
    display: inline-flex;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #e6f7f6;
    color: #166b69;
    font-size: 0.76rem;
    font-weight: 700;
    flex-shrink: 0;
}

.application-file-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.application-file-chip small {
    color: #6a7f8c;
    flex-shrink: 0;
}

.job-modal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 1rem;
}

.job-modal-main {
    display: grid;
    gap: 0.95rem;
}

.job-modal-hero,
.job-form-card {
    border: 1px solid #e3ecf2;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fafdff 100%);
    box-shadow: 0 10px 24px rgba(12, 74, 95, 0.05);
}

.job-modal-hero {
    padding: 1rem 1.05rem;
    display: grid;
    gap: 0.55rem;
}

.job-modal-hero h3 {
    margin: 0;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.job-modal-teaser {
    margin: 0;
    color: #2e5163;
    font-size: 1rem;
    line-height: 1.6;
}

.job-modal-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0.2rem;
}

.job-modal-fact {
    border-radius: 14px;
    padding: 0.75rem 0.85rem;
    background: #eef8fb;
    border: 1px solid #d9edf3;
}

.job-modal-fact small {
    display: block;
    color: #5f7a88;
    font-size: 0.78rem;
    margin-bottom: 0.22rem;
}

.job-modal-fact strong {
    color: #1f4357;
    font-size: 0.95rem;
}

.job-modal-sections {
    display: grid;
    gap: 0.55rem;
}

.job-modal-section {
    border: 1px solid #e3ecf2;
    border-radius: 16px;
    padding: 0.95rem;
    background: #fafdff;
}

.job-modal-section h4 {
    margin: 0 0 0.45rem;
    color: #173c4d;
    font-size: 0.96rem;
}

.job-application-form {
    margin-top: 0;
}

.job-modal-aside {
    position: sticky;
    top: 0;
}

.job-form-card {
    padding: 1rem;
    position: relative;
}

.job-form-card-head {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 0.9rem;
}

.job-form-card-head h4 {
    margin: 0;
    font-size: 1.08rem;
}

.job-form-card-head p {
    margin: 0;
    color: #5b7385;
    line-height: 1.5;
}

.job-application-grid {
    gap: 0.8rem;
}

.job-application-grid label {
    display: grid;
    gap: 0.35rem;
}

.job-application-grid label > span,
.upload-field > span {
    font-size: 0.86rem;
    color: var(--secondary);
    font-weight: 600;
}

.job-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.upload-field {
    display: grid;
    gap: 0.35rem;
    padding: 0.8rem;
    border: 1px dashed #c9dbe6;
    border-radius: 14px;
    background: #f7fbfd;
}

.upload-field-control {
    position: relative;
    display: grid;
    align-items: center;
    min-height: 3rem;
    border-radius: 12px;
    border: 1px solid #d4e2eb;
    background: #fff;
    overflow: hidden;
}

.upload-field-control::before {
    content: "Datei wählen";
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary) 0%, #17929d 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    pointer-events: none;
    z-index: 1;
}

.upload-field-control input[type="file"] {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 3rem;
    opacity: 0;
    cursor: pointer;
}

.upload-field-filename {
    position: absolute;
    left: 7.8rem;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #4f6776;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.upload-field small {
    color: #6a7f8c;
}

.upload-field-wide {
    grid-column: 1 / -1;
}

.job-privacy-row {
    align-items: flex-start !important;
    padding-top: 0.2rem;
}

.job-form-actions {
    margin-top: 0.95rem;
    display: flex;
    justify-content: flex-end;
}

.job-admin-meta-table {
    width: 100%;
}

.job-admin-empty-state {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px dashed #cbd8e2;
    border-radius: 14px;
    background: #f8fbfd;
    color: #587284;
}

.news-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.3rem;
}

.admin-form-grid label {
    display: grid;
    gap: 0.35rem;
}

.admin-form-grid label > span {
    font-size: 0.86rem;
    color: var(--secondary);
    font-weight: 600;
}

.admin-actions-row {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.admin-inline-list {
    margin: 0.4rem 0 0;
    padding-left: 1rem;
    display: grid;
    gap: 0.22rem;
    color: #36566a;
    font-size: 0.85rem;
}

.checkbox-row {
    display: flex !important;
    align-items: center;
    gap: 0.45rem;
}

.checkbox-row input {
    width: auto;
}

.admin-media-preview {
    border: 1px solid #dce8ef;
    border-radius: 10px;
    padding: 0.55rem;
    background: #f8fcfe;
}

.admin-media-preview img {
    width: 100%;
    max-height: 190px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #dfeaf0;
    margin-bottom: 0.55rem;
}

.settings-page {
    gap: 1rem;
}

.settings-layout {
    display: grid;
    grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.settings-overview-card {
    display: grid;
    gap: 0.85rem;
    position: sticky;
    top: 1rem;
}

.settings-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(29, 181, 178, 0.12);
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.settings-overview-card h2,
.settings-form-card .admin-panel-head h2 {
    margin: 0;
}

.settings-overview-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.settings-points {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.35rem;
    color: #35586d;
}

.settings-form-card {
    display: grid;
    gap: 1rem;
}

.settings-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.settings-form-grid label {
    display: grid;
    gap: 0.35rem;
}

.settings-form-grid label > span {
    font-size: 0.86rem;
    color: var(--secondary);
    font-weight: 600;
}

.settings-form-grid textarea {
    min-height: 92px;
    resize: vertical;
}

.settings-switches {
    display: grid;
    gap: 0.45rem;
    align-content: start;
}

.settings-actions {
    justify-content: flex-end;
    margin-top: 0.25rem;
}

.homepage-layout {
    align-items: flex-start;
}

.homepage-stack {
    display: grid;
    gap: 1rem;
    flex: 1;
}

.homepage-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.homepage-upload {
    display: grid;
    gap: 0.35rem;
}

.homepage-upload input[type="file"] {
    padding: 0.7rem 0.85rem;
    border: 1px dashed var(--line);
    border-radius: 12px;
    background: #f8fbfd;
}

.homepage-block-card {
    padding: 1.1rem;
}

.homepage-move-actions {
    margin-top: 0.9rem;
}

.homepage-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1.5rem;
    align-items: center;
}

.homepage-page-layout-reverse .homepage-page-media {
    order: 2;
}

.homepage-page-layout-reverse .homepage-page-copy {
    order: 1;
}

.homepage-page-media {
    min-height: 220px;
}

.homepage-page-media img {
    width: 100%;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 20px 45px rgba(15, 76, 92, 0.16);
}

.homepage-page-image-placeholder {
    width: 100%;
    min-height: 220px;
    border: 2px dashed #8abac7;
    border-radius: 22px;
    display: grid;
    place-items: center;
    color: #2b6278;
    background: rgba(201, 236, 245, 0.28);
    font-weight: 600;
}

.homepage-page-copy {
    display: grid;
    gap: 0.85rem;
}

.homepage-page-copy h2 {
    margin: 0;
}

.homepage-block-editor-preview {
    margin-top: 0.65rem;
}

.homepage-block-editor-preview img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.homepage-feature-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2rem;
    align-items: center;
}

.homepage-feature-media img {
    width: 100%;
    min-height: 280px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 24px 56px rgba(15, 76, 92, 0.16);
}

.homepage-feature-placeholder {
    min-height: 280px;
    display: grid;
    place-items: center;
    padding: 1rem;
    border: 2px dashed #b8d6e1;
    border-radius: 28px;
    background: linear-gradient(180deg, #f7fbfd 0%, #eef7fb 100%);
    color: #456679;
    text-align: center;
    font-weight: 600;
}

.homepage-feature-copy {
    display: grid;
    gap: 1rem;
}

.homepage-feature-lead {
    margin: 0;
    font-size: 1.08rem;
    color: #2f4c60;
    line-height: 1.7;
}

.homepage-feature-copy h2 {
    margin: 0;
    font-size: clamp(1.8rem, 2.8vw, 2.8rem);
    line-height: 1.1;
}

.homepage-feature-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.homepage-block-card {
    overflow: hidden;
    padding: 0;
}

.homepage-block-inactive {
    opacity: 0.72;
}

.homepage-block-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
    list-style: none;
    padding: 1rem 1.1rem;
    cursor: default;
}

.homepage-block-summary::-webkit-details-marker {
    display: none;
}

.homepage-drag-handle {
    align-self: start;
    justify-self: center;
    font-size: 1.25rem;
    color: #7d8fa1;
    padding: 0.35rem 0.45rem;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: grab;
    user-select: none;
}

.homepage-drag-handle:active {
    cursor: grabbing;
}

.homepage-block-dragging {
    outline: 2px dashed var(--primary);
    background: rgba(29, 181, 178, 0.06);
}

.homepage-block-summary-main {
    display: grid;
    gap: 0.5rem;
}

.homepage-block-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.homepage-block-title-row h2 {
    margin: 0;
    font-size: 1.15rem;
}

.homepage-block-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.homepage-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.22rem 0.6rem;
    background: #f0f7fb;
    color: #35586d;
    font-size: 0.8rem;
}

.homepage-block-summary-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.homepage-block-icon {
    margin-right: 0.45rem;
}

.homepage-add-card {
    overflow: hidden;
    padding: 0;
}

.homepage-add-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
    padding: 1rem 1.1rem;
    list-style: none;
    cursor: pointer;
}

.homepage-add-summary::-webkit-details-marker {
    display: none;
}

.homepage-add-plus {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(29, 181, 178, 0.12);
    color: var(--secondary);
    font-size: 1.45rem;
    font-weight: 700;
}

.homepage-add-summary strong {
    display: block;
    font-size: 1.08rem;
    color: var(--secondary);
}

.homepage-add-summary span {
    color: var(--muted);
    font-size: 0.9rem;
}

.homepage-add-body {
    padding: 0 1.1rem 1.1rem;
    border-top: 1px solid var(--line);
}

.homepage-delete-form {
    margin: 0 1.1rem 1.1rem;
}

.admin-topbar-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.admin-mode-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #dbeef3;
    font-size: 0.85rem;
}

.admin-mode-chip.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.homepage-block-body {
    padding: 0 1.1rem 1.1rem;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}

@media (max-width: 900px) {
    .settings-layout,
    .settings-form-grid,
    .homepage-form-grid,
    .homepage-page-layout {
        grid-template-columns: 1fr;
    }

    .settings-overview-card {
        position: static;
    }

    .job-modal-grid,
    .job-modal-facts,
    .job-upload-grid,
    .job-admin-grid-2,
    .job-admin-schedule-grid,
    .application-facts {
        grid-template-columns: 1fr;
    }

    .job-modal-aside {
        position: static;
    }

    .job-modal-card-head {
        flex-direction: column;
        padding-right: 0;
    }

    .job-wizard-steps {
        flex-direction: column;
    }

    .job-wizard-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .job-wizard-nav,
    .job-form-actions {
        justify-content: stretch;
    }

    .job-wizard-nav .btn,
    .job-form-actions .btn {
        width: 100%;
    }

    .upload-field-filename {
        left: 7.5rem;
    }
}

.admin-table .slug-pill {
    display: inline-block;
    border: 1px solid #cfdfe8;
    border-radius: 999px;
    padding: 0.18rem 0.6rem;
    font-size: 0.82rem;
    color: #325368;
    background: #f7fbfd;
}

.status-pill {
    display: inline-block;
    font-size: 0.78rem;
    padding: 0.15rem 0.52rem;
    border-radius: 999px;
    background: #edf2f6;
    color: #446174;
}

.status-pill-success {
    background: #e8fbf2;
    color: #12704c;
}

.status-pill-warning {
    background: #fff6db;
    color: #8a5c00;
}

.status-pill-muted {
    background: #edf2f7;
    color: #516174;
}

.status-pill-danger {
    background: #fdecec;
    color: #a43333;
}

.admin-metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.admin-metric-card {
    border-radius: 10px;
    color: #fff;
    padding: 1rem;
    min-height: 108px;
    display: grid;
    align-content: space-between;
    box-shadow: 0 14px 26px rgba(27, 39, 91, 0.2);
}

.admin-metric-card span {
    font-size: 0.86rem;
    opacity: 0.92;
}

.admin-metric-card strong {
    font-size: 1.7rem;
    line-height: 1;
}

.metric-purple {
    background: linear-gradient(135deg, #0f4c5c 0%, #15647a 100%);
}

.metric-blue {
    background: linear-gradient(135deg, #1db5b2 0%, #22c4c1 100%);
}

.metric-amber {
    background: linear-gradient(135deg, #16a39f 0%, #1db5b2 100%);
}

.metric-red {
    background: linear-gradient(135deg, #0c6c7f 0%, #1490a3 100%);
}

.metric-green {
    background: linear-gradient(135deg, #117a65 0%, #16a085 100%);
}

.admin-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.admin-panel-head h2 {
    margin: 0;
    font-size: 1.35rem;
}

.admin-panel-head span {
    color: #7e8b9b;
    font-size: 0.82rem;
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.admin-kpi-grid > div {
    border: 1px solid #e2e8ef;
    border-radius: 10px;
    background: #f8fbff;
    padding: 0.8rem;
    display: grid;
    gap: 0.18rem;
}

.admin-kpi-grid small {
    color: #8090a4;
    font-size: 0.75rem;
}

.admin-kpi-grid strong {
    color: #2c4256;
    font-size: 1.15rem;
}

/* Responsive */
@media (max-width: 980px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-shell {
        grid-template-columns: 1fr 1fr;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-layout {
        display: block;
    }

    .admin-sidebar {
        width: 100%;
    }

    .admin-sidebar-nav {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .admin-metric-grid,
    .admin-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .top-note {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-shell,
    .footer-contact-list {
        grid-template-columns: 1fr;
    }

    .admin-page-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-sidebar-nav {
        grid-template-columns: 1fr;
    }

    .admin-topbar-inner {
        padding: 0 0.8rem;
    }

    .admin-main {
        padding: 0.9rem;
    }

    .admin-metric-grid,
    .admin-kpi-grid {
        grid-template-columns: 1fr;
    }
}

.preview-mode .preview-editable {
    outline: 2px dashed rgba(29, 181, 178, 0.6);
    outline-offset: 2px;
    cursor: pointer;
}

.preview-mode input.preview-editable,
.preview-mode textarea.preview-editable {
    outline-offset: 0;
}

.preview-mode .preview-editable:hover {
    outline-color: var(--secondary);
}

.preview-mode .preview-editable-active {
    outline: 2px solid var(--secondary);
}

.guided-editor-panel {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: min(420px, 92vw);
    max-height: 80vh;
    overflow: auto;
    z-index: 1200;
    background: #fff;
    border: 1px solid #dce8ef;
    border-radius: 14px;
    box-shadow: 0 16px 42px rgba(8, 35, 48, 0.18);
    padding: 1rem;
}

.editor-launcher-panel {
    position: fixed;
    right: 16px;
    top: 90px;
    z-index: 1210;
    width: min(320px, 90vw);
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid #dce8ef;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(8, 35, 48, 0.14);
    padding: 0.7rem 0.8rem;
    display: grid;
    gap: 0.55rem;
}

.editor-launcher-panel strong {
    font-size: 0.86rem;
    color: #24536a;
}

.editor-launcher-hint {
    margin: 0;
    font-size: 0.82rem;
    color: #5b7385;
}

.editor-launcher-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.editor-launcher-actions .btn {
    min-width: 110px;
}

.preview-editor-panel {
    width: min(500px, 94vw);
    max-height: 86vh;
}

.guided-editor-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: move;
    margin-bottom: 0.4rem;
}

.guided-editor-toolbar-actions {
    display: flex;
    gap: 0.3rem;
}

.guided-editor-panel h3 {
    margin: 0 0 0.4rem;
}

.guided-editor-panel p {
    margin: 0 0 0.8rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.guided-editor-fields {
    display: grid;
    gap: 0.6rem;
}

.guided-editor-section {
    margin-top: 0.45rem;
    font-size: 0.82rem;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.guided-editor-field {
    display: grid;
    gap: 0.3rem;
    padding: 0.45rem;
    border-radius: 10px;
    border: 1px solid transparent;
}

.guided-editor-field.active {
    background: #f0f7fb;
    border-color: #9fd4e5;
}

.guided-editor-field.active-linked {
    background: #f7f3ff;
    border-color: #c8b4f1;
}

.guided-editor-linked {
    border: 1px dashed #d7dfec;
}

.guided-editor-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
}

.guided-link-hint {
    color: #6c7890;
    font-size: 0.74rem;
}

.guided-editor-actions {
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.preview-editor-panel.minimized .guided-editor-fields,
.preview-editor-panel.minimized .guided-editor-actions,
.preview-editor-panel.minimized p {
    display: none;
}

.preview-editor-panel.docked {
    right: 16px !important;
    top: 90px !important;
    bottom: auto !important;
    left: auto !important;
    cursor: default;
}

.service-editor-panel {
    right: 452px;
}

.service-editor-panel-single {
    right: 16px;
    width: min(500px, 94vw);
    max-height: 86vh;
}

.service-editor-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: move;
    margin-bottom: 0.4rem;
}

.service-editor-toolbar-actions {
    display: flex;
    gap: 0.3rem;
}

.service-editor-panel.minimized .guided-editor-fields,
.service-editor-panel.minimized .guided-editor-actions,
.service-editor-panel.minimized p {
    display: none;
}

.service-editor-panel.docked {
    right: 16px !important;
    top: 90px !important;
    bottom: auto !important;
    left: auto !important;
    cursor: default;
}

.service-editor-input,
.service-editor-panel textarea,
.service-editor-panel select {
    width: 100%;
    border: 1px solid #d4e2eb;
    border-radius: 8px;
    padding: 0.5rem 0.58rem;
    font: inherit;
}

.service-editor-images {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
}

.service-editor-images img {
    width: 100%;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #d8e6ef;
}

.service-editor-row {
    display: grid;
    gap: 0.35rem;
}

.service-editor-hint {
    color: #5a6d7d;
    font-size: 0.78rem;
    line-height: 1.35;
}

.service-editor-quality {
    margin: 0.3rem 0 0.2rem;
    padding: 0.6rem 0.7rem;
    border: 1px solid #d9e6ef;
    border-radius: 10px;
    background: #f8fcff;
}

.service-editor-quality strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #24536a;
    font-size: 0.86rem;
}

.service-editor-quality ul {
    margin: 0;
    padding-left: 1.05rem;
    display: grid;
    gap: 0.24rem;
}

.service-editor-quality li.ok {
    color: #116d4a;
}

.service-editor-quality li.warn {
    color: #855107;
}

.service-dropzone {
    width: 100%;
    display: grid;
    gap: 0.2rem;
    border: 2px dashed #9cc1cf;
    border-radius: 10px;
    padding: 0.7rem;
    text-align: center;
    color: #486679;
    background: #f7fcff;
    cursor: pointer;
}

.service-dropzone.dragover {
    background: #e8f6fe;
    border-color: #5caac6;
}

.featured-image-dropzone {
    border-radius: 14px;
}

.featured-image-dropzone strong,
.featured-image-dropzone span {
    display: block;
}

.featured-image-dropzone span {
    font-size: 0.8rem;
    color: #668191;
}

.preview-mode {
    --editor-width: min(480px, calc(100vw - 32px));
    --editor-panel-top: 244px;
}

.preview-mode .editor-launcher-panel {
    right: 16px;
    top: 88px;
    width: var(--editor-width);
    border-radius: 18px;
    border-color: rgba(157, 205, 220, 0.95);
    box-shadow: 0 18px 48px rgba(8, 35, 48, 0.18);
    padding: 0.9rem;
}

.preview-mode .editor-launcher-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.preview-mode .editor-launcher-actions .btn {
    min-width: 0;
    justify-content: center;
}

.preview-mode .guided-editor-panel,
.preview-mode .preview-editor-panel,
.preview-mode .service-editor-panel,
.preview-mode .service-editor-panel-single,
.preview-mode .team-editor-panel,
.preview-mode .trust-editor-panel,
.preview-mode .settings-editor-panel {
    top: var(--editor-panel-top) !important;
    right: 16px !important;
    bottom: 16px !important;
    left: auto !important;
    width: var(--editor-width) !important;
    max-height: none;
    border-radius: 18px;
    border-color: rgba(157, 205, 220, 0.95);
    box-shadow: 0 22px 60px rgba(8, 35, 48, 0.2);
}

.preview-mode #guided-editor-dock,
.preview-mode #service-editor-dock {
    display: none;
}

.preview-mode .preview-editable-active,
.preview-mode [data-service-card].preview-editable-active,
.preview-mode [data-trust-card].preview-editable-active,
.preview-mode [data-team-card].preview-editable-active {
    outline: 3px solid #ffb703 !important;
    outline-offset: 4px;
    box-shadow: 0 0 0 7px rgba(255, 183, 3, 0.22), 0 16px 38px rgba(8, 35, 48, 0.16) !important;
    background-color: rgba(255, 247, 222, 0.45);
}

.preview-mode .preview-editable:hover,
.preview-mode [data-service-card]:hover,
.preview-mode [data-trust-card]:hover,
.preview-mode [data-team-card]:hover {
    outline-color: #ffb703;
}

.guided-editor-field.active,
.service-editor-row.active {
    background: linear-gradient(90deg, rgba(29, 181, 178, 0.13), rgba(255, 255, 255, 0.96));
    border-color: rgba(29, 181, 178, 0.55);
    box-shadow: inset 4px 0 0 var(--primary), 0 8px 20px rgba(8, 35, 48, 0.08);
}

.service-editor-row.active label,
.guided-editor-field.active label {
    color: #12384a;
}

@media (max-width: 1200px) {
    .service-editor-panel {
        right: 16px;
        bottom: 356px;
    }

    .team-editor-panel {
        right: 16px;
        bottom: 186px;
    }

    .settings-editor-panel {
        right: 16px;
        bottom: 356px;
    }

    .editor-launcher-panel {
        right: 16px;
        left: auto;
    }
}

@media (max-width: 900px) {
    .team-lead-row {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .team-lead-photo-wrap {
        justify-content: center;
    }

    .team-staff-grid {
        grid-template-columns: 1fr;
    }

    .team-staff-card {
        grid-template-columns: 110px 1fr;
    }

    .editor-launcher-panel {
        top: auto;
        bottom: 16px;
        width: min(94vw, 420px);
    }
}

#guided-editor-status {
    font-size: 0.85rem;
    color: #0f6e84;
}

#guided-editor-status.error {
    color: var(--danger);
}

/* Unified Visual Editor */
.preview-mode {
    --visual-topbar-height: 64px;
    --visual-nav-width: 176px;
    --visual-inspector-width: min(430px, 34vw);
    padding-top: var(--visual-topbar-height);
    background: #eef5f8;
}

.preview-mode .site-header {
    top: var(--visual-topbar-height);
}

@media (min-width: 1120px) {
    .preview-mode .site-header,
    .preview-mode #main-content,
    .preview-mode .site-footer {
        margin-left: calc(var(--visual-nav-width) + 24px);
        margin-right: calc(var(--visual-inspector-width) + 24px);
    }
}

.visual-editor-shell {
    position: fixed;
    inset: 0;
    z-index: 1300;
    pointer-events: none;
}

.visual-editor-shell button,
.visual-editor-shell a,
.visual-editor-shell input,
.visual-editor-shell textarea,
.visual-editor-shell select,
.visual-editor-shell label {
    pointer-events: auto;
}

.visual-editor-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: var(--visual-topbar-height);
    display: grid;
    grid-template-columns: minmax(190px, 260px) 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 1rem;
    background: rgba(12, 43, 57, 0.96);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 32px rgba(8, 35, 48, 0.24);
    pointer-events: auto;
}

.visual-editor-brand {
    display: grid;
    gap: 0.08rem;
}

.visual-editor-brand strong {
    font-size: 0.95rem;
}

.visual-editor-brand span,
.visual-editor-save-state {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
}

.visual-editor-save-state.error {
    color: #ffd2d2;
}

.visual-editor-modes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.visual-editor-modes .btn {
    border-color: rgba(255, 255, 255, 0.2);
}

.visual-editor-modes .btn-dark {
    background: #fff;
    color: #12384a;
}

.visual-editor-actions {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 0.6rem;
}

.visual-editor-actions .btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.34);
}

.visual-editor-navigator,
.visual-editor-inspector {
    pointer-events: auto;
    position: fixed;
    top: calc(var(--visual-topbar-height) + 16px);
    bottom: 16px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(164, 205, 219, 0.96);
    box-shadow: 0 18px 48px rgba(8, 35, 48, 0.17);
    backdrop-filter: blur(10px);
}

.visual-editor-navigator {
    left: 16px;
    width: var(--visual-nav-width);
    border-radius: 18px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.visual-editor-navigator strong {
    color: #12384a;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.visual-editor-navigator button {
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0.58rem 0.65rem;
    background: #edf6f9;
    color: #21495a;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: all 0.18s ease;
}

.visual-editor-navigator button:hover,
.visual-editor-navigator button.active {
    background: var(--primary);
    color: #fff;
    transform: translateX(3px);
}

.visual-editor-inspector {
    right: 16px;
    width: var(--visual-inspector-width);
    border-radius: 20px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
}

.visual-editor-inspector-head {
    padding: 1rem 1rem 0.75rem;
    background: linear-gradient(180deg, #f9fdff, #eef8fb);
    border-bottom: 1px solid #d9ebf1;
}

.visual-editor-inspector-head span {
    display: block;
    color: #5c7485;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.visual-editor-inspector-head strong {
    display: block;
    margin-top: 0.12rem;
    color: #12384a;
    font-size: 1.05rem;
}

.visual-editor-inspector-head p {
    margin: 0.35rem 0 0;
    color: #5d7180;
    font-size: 0.84rem;
    line-height: 1.35;
}

.visual-editor-inspector-content {
    min-height: 0;
    overflow: auto;
    padding: 0.95rem;
}

.visual-editor-inspector .guided-editor-panel,
.visual-editor-inspector .preview-editor-panel,
.visual-editor-inspector .service-editor-panel,
.visual-editor-inspector .service-editor-panel-single,
.visual-editor-inspector .team-editor-panel,
.visual-editor-inspector .trust-editor-panel,
.visual-editor-inspector .settings-editor-panel {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-height: none !important;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.visual-editor-inspector .guided-editor-toolbar,
.visual-editor-inspector .service-editor-toolbar {
    cursor: default;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #e3eef4;
}

.visual-editor-inspector .guided-editor-toolbar-actions,
.visual-editor-inspector .service-editor-toolbar-actions {
    display: none;
}

.visual-editor-inspector .guided-editor-fields,
.visual-editor-inspector form.guided-editor-fields {
    gap: 0.72rem;
}

.visual-editor-inspector .guided-editor-field,
.visual-editor-inspector .service-editor-row,
.visual-editor-inspector form.guided-editor-fields > label,
.visual-editor-inspector form.guided-editor-fields > input,
.visual-editor-inspector form.guided-editor-fields > textarea {
    scroll-margin-top: 96px;
}

.visual-editor-inspector .guided-editor-field,
.visual-editor-inspector .service-editor-row {
    border: 1px solid #dcebf1;
    background: #fff;
}

.featured-editor-preview {
    min-height: 160px;
}

.featured-editor-preview img,
.featured-editor-preview .homepage-feature-placeholder {
    width: 100%;
    min-height: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
}

#featured-image-status.error {
    color: var(--danger);
}

.visual-editor-inspector .guided-editor-section {
    position: sticky;
    top: -0.95rem;
    z-index: 2;
    margin: 0.4rem -0.2rem 0.2rem;
    padding: 0.45rem 0.2rem;
    background: rgba(249, 253, 255, 0.96);
    cursor: pointer;
}

.preview-mode [data-editor-section] {
    position: relative;
    scroll-margin-top: calc(var(--visual-topbar-height) + 28px);
}

.preview-mode [data-editor-section]::before {
    content: attr(data-editor-label);
    position: absolute;
    left: 12px;
    top: 10px;
    z-index: 3;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: rgba(12, 43, 57, 0.78);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
}

.preview-mode [data-editor-section]:hover::before,
.preview-mode [data-editor-section].editor-section-active::before {
    opacity: 1;
    transform: translateY(0);
}

.preview-mode [data-editor-section].editor-section-active {
    box-shadow: inset 0 0 0 3px rgba(255, 183, 3, 0.62);
}

.preview-mode .preview-editable-active,
.preview-mode [data-service-card].preview-editable-active,
.preview-mode [data-trust-card].preview-editable-active,
.preview-mode [data-team-card].preview-editable-active,
.preview-mode .preview-editable-pulse {
    outline: 4px solid #ffb703 !important;
    outline-offset: 5px;
    box-shadow: 0 0 0 9px rgba(255, 183, 3, 0.23), 0 18px 42px rgba(8, 35, 48, 0.18) !important;
}

.preview-mode .preview-editable-pulse {
    animation: editorPulse 0.9s ease;
}

@keyframes editorPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0.52); }
    100% { box-shadow: 0 0 0 16px rgba(255, 183, 3, 0); }
}

@media (max-width: 1119px) {
    .preview-mode {
        --visual-inspector-width: min(430px, calc(100vw - 32px));
    }

    .visual-editor-topbar {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .preview-mode {
        padding-top: 132px;
    }

    .preview-mode .site-header {
        top: 132px;
    }

    .visual-editor-navigator {
        display: none;
    }

    .visual-editor-inspector {
        top: auto;
        left: 16px;
        right: 16px;
        height: min(52vh, 560px);
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ===== Premium Admin Redesign ===== */
.admin-eyebrow {
    display: inline-flex;
    margin-bottom: 0.3rem;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-panel-link {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 700;
}

.admin-panel-link:hover {
    color: var(--primary);
}

.admin-tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.7rem;
}

.admin-tile {
    display: grid;
    gap: 0.15rem;
    padding: 0.95rem 1rem;
    border: 1px solid #dfeaf1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(12, 74, 95, 0.05);
    color: #16384b;
    transition: all 0.2s ease;
}

.admin-tile:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 16px 32px rgba(12, 74, 95, 0.12);
    color: #16384b;
}

.admin-tile-icon {
    font-size: 1.15rem;
}

.admin-tile strong {
    font-size: 1.55rem;
    line-height: 1.1;
}

.admin-tile-label {
    color: #5b7385;
    font-size: 0.85rem;
    font-weight: 650;
}

.admin-tile-highlight {
    border-color: #bfe6dc;
    background: linear-gradient(180deg, #ffffff 0%, #f2fbf8 100%);
}

.dashboard-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
    gap: 0.9rem;
    align-items: start;
}

.dashboard-main-col,
.dashboard-side-col {
    display: grid;
    gap: 0.9rem;
}

.admin-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.admin-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid #e6eef3;
    border-radius: 12px;
    background: #fafdff;
}

.admin-list-main {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 0.1rem;
}

.admin-list-main small {
    color: #60798a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-list time {
    color: #7e93a2;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.admin-empty {
    display: grid;
    gap: 0.3rem;
    padding: 1rem;
    border: 1px dashed #cbd8e2;
    border-radius: 14px;
    background: #f8fbfd;
    color: #587284;
}

.admin-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.admin-quick-card {
    display: grid;
    gap: 0.3rem;
    padding: 0.8rem;
    border: 1px solid #dfeaf1;
    border-radius: 14px;
    background: #fafdff;
    color: #1f4357;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.admin-quick-card:hover {
    border-color: var(--primary);
    background: #fff;
    transform: translateY(-2px);
    color: #123c4d;
}

.admin-quick-card span {
    font-size: 1.1rem;
}

.dashboard-kpi-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-activity {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.admin-activity li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.admin-activity-dot {
    width: 9px;
    height: 9px;
    margin-top: 0.4rem;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

.admin-activity strong {
    display: block;
    font-size: 0.9rem;
    color: #1f4357;
    text-transform: capitalize;
}

.admin-activity small {
    color: #7e93a2;
}

.admin-toolbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.admin-toolbar select {
    width: auto;
    min-width: 220px;
}

.admin-toolbar-count {
    margin-left: auto;
    color: #7e93a2;
    font-size: 0.85rem;
}

.admin-check-col {
    width: 2.2rem;
}

/* Team admin grid */
.team-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.85rem;
}

.team-admin-card {
    display: grid;
    gap: 0.7rem;
    padding: 1rem;
    border: 1px solid #dfeaf1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(12, 74, 95, 0.05);
    transition: all 0.2s ease;
}

.team-admin-card:hover {
    transform: translateY(-3px);
    border-color: #b8d6e2;
    box-shadow: 0 16px 32px rgba(12, 74, 95, 0.1);
}

.team-admin-photo img,
.team-admin-fallback {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #e3eef4;
}

.team-admin-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #dcecf5, #eff7fc);
    color: #2e6279;
    font-size: 2.4rem;
    font-weight: 800;
}

.team-admin-copy {
    display: grid;
    gap: 0.25rem;
}

.team-admin-copy strong {
    font-size: 1.02rem;
    color: #16384b;
}

.team-admin-copy p {
    margin: 0;
    color: #5b7385;
    font-size: 0.9rem;
    line-height: 1.45;
}

.team-admin-copy .status-pill {
    justify-self: start;
}

.team-admin-actions {
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.team-admin-delete {
    margin-left: auto;
}

.team-modal-card {
    width: min(680px, 100%);
    padding: 1.35rem 1.4rem 1.25rem;
}

.team-modal-preview {
    display: grid;
    gap: 0.35rem;
    margin-top: 0.85rem;
}

.team-modal-preview img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #e3eef4;
}

.team-modal-preview small {
    color: #6a7f8c;
}

.team-edit-card {
    max-width: 720px;
}

/* Services admin */
.service-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 0.85rem;
}

.service-admin-card {
    display: grid;
    gap: 0.7rem;
    padding: 1rem;
    border: 1px solid #dfeaf1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(12, 74, 95, 0.05);
    transition: all 0.2s ease;
}

.service-admin-card:hover {
    transform: translateY(-3px);
    border-color: #b8d6e2;
    box-shadow: 0 16px 32px rgba(12, 74, 95, 0.1);
}

.service-admin-media img,
.service-admin-media-fallback {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #e3eef4;
}

.service-admin-media-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #dcecf5, #eff7fc);
    font-size: 2rem;
}

.service-admin-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.service-admin-copy p {
    margin: 0.35rem 0 0;
    color: #5b7385;
    font-size: 0.9rem;
    line-height: 1.5;
}

.service-admin-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.service-admin-step {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem;
    border: 1px solid #e6eef3;
    border-radius: 14px;
    background: #fafdff;
}

.service-admin-step strong {
    display: block;
    color: #1f4357;
}

.service-admin-step small {
    color: #60798a;
    line-height: 1.45;
}

/* Homepage admin polish */
.homepage-hintbar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid #d9edf3;
    border-radius: 14px;
    background: #eef8fb;
    color: #205c70;
}

.homepage-hintbar p {
    margin: 0;
    font-size: 0.9rem;
}

.homepage-stack {
    display: grid;
    gap: 0.7rem;
}

.homepage-block-card {
    padding: 0;
    overflow: hidden;
}

.homepage-block-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
    list-style: none;
}

.homepage-block-summary::-webkit-details-marker {
    display: none;
}

.homepage-block-summary:hover {
    background: #f7fbfd;
}

.homepage-drag-handle {
    cursor: grab;
    color: #8aa4b2;
    font-weight: 800;
    padding: 0.2rem 0.3rem;
    border-radius: 8px;
}

.homepage-drag-handle:hover {
    background: #edf6fa;
    color: #2b697d;
}

.homepage-block-icon {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
    background: #eef8fb;
    border: 1px solid #d9edf3;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.homepage-block-summary-main {
    flex: 1;
    min-width: 0;
}

.homepage-block-title-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.homepage-block-title-row h2 {
    margin: 0;
    font-size: 1.02rem;
}

.homepage-block-summary-text {
    margin: 0.15rem 0 0;
    color: #60798a;
    font-size: 0.87rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.homepage-order-pill {
    flex-shrink: 0;
}

.homepage-pill {
    display: inline-flex;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #edf2f7;
    color: #516174;
    font-size: 0.78rem;
    font-weight: 700;
}

.homepage-block-inactive {
    opacity: 0.72;
}

.homepage-block-dragging {
    opacity: 0.5;
}

.homepage-block-body {
    padding: 1rem;
    border-top: 1px solid #e6eef3;
    display: grid;
    gap: 0.7rem;
    background: #fcfeff;
}

.homepage-block-form {
    display: grid;
    gap: 0.8rem;
}

.homepage-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e6eef3;
}

.homepage-form-toggles {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.homepage-delete-form {
    display: flex;
    justify-content: flex-end;
}

.homepage-add-card {
    padding: 0;
    overflow: hidden;
    border-style: dashed;
    border-width: 2px;
    border-color: #b7d3e0;
    background: rgba(238, 248, 251, 0.5);
}

.homepage-add-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    cursor: pointer;
    list-style: none;
}

.homepage-add-summary::-webkit-details-marker {
    display: none;
}

.homepage-add-plus {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, #17929d 100%);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
}

.homepage-add-summary strong {
    display: block;
    color: #16384b;
}

.homepage-add-summary span {
    color: #60798a;
    font-size: 0.85rem;
}

.homepage-add-body {
    padding: 1rem;
    border-top: 1px solid #dbe9f0;
    background: #fff;
}

.homepage-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}

.homepage-picker-item {
    position: relative;
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem;
    border: 1px solid #dfeaf1;
    border-radius: 14px;
    background: #fafdff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.homepage-picker-item:hover {
    border-color: #b8d6e2;
}

.homepage-picker-item input {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer;
}

.homepage-picker-item:has(input:checked) {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 10px 22px rgba(29, 181, 178, 0.14);
}

.homepage-picker-icon {
    font-size: 1.15rem;
}

.homepage-picker-item strong {
    color: #1f4357;
    font-size: 0.92rem;
}

.homepage-picker-item small {
    color: #60798a;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .dashboard-columns,
    .service-admin-steps,
    .admin-quick-grid {
        grid-template-columns: 1fr;
    }

    .homepage-form-footer {
        flex-direction: column;
        align-items: stretch;
    }
}
