:root {
    --bg: #f4f1eb;
    --bg-strong: #ece6db;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: rgba(255, 255, 255, 0.96);
    --surface-dark: #0f2229;
    --text: #0f1c22;
    --muted: #43545c;
    --line: rgba(24, 38, 45, 0.11);
    --line-strong: rgba(24, 38, 45, 0.18);
    --brand: #0f6b62;
    --brand-dark: #0b4c46;
    --accent: #d7923c;
    --accent-soft: #f1c998;
    --danger: #a24739;
    --success: #2e6d4c;
    --shadow-sm: 0 18px 34px rgba(24, 38, 45, 0.08);
    --shadow-lg: 0 28px 70px rgba(24, 38, 45, 0.14);
    --radius: 30px;
    --radius-md: 22px;
    --radius-sm: 16px;
    --content: 1180px;
    --font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(circle at 0% 0%, rgba(215, 146, 60, 0.16), transparent 24%),
        radial-gradient(circle at 100% 8%, rgba(15, 107, 98, 0.18), transparent 30%),
        linear-gradient(180deg, #f8f4ee 0%, #f4f1eb 42%, #ede7dd 100%);
}

a {
    color: var(--brand-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.shell {
    min-height: 100vh;
}

.container {
    width: min(calc(100% - 2rem), var(--content));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: rgba(248, 244, 238, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.site-header__inner,
.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: inline-grid;
    gap: 0.2rem;
    min-width: 0;
}

.brand__logo {
    width: clamp(12.5rem, 19vw, 17.25rem);
    filter: drop-shadow(0 10px 18px rgba(11, 76, 70, 0.08));
}

.brand__logo img {
    width: 100%;
    height: auto;
}

.brand__text {
    padding-left: 0.25rem;
}

.brand__text small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7rem;
}

.nav form {
    margin: 0;
}

.nav__link {
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    color: var(--text);
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav__link:hover {
    background: rgba(255, 255, 255, 0.78);
}

.button,
button,
input[type="submit"] {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 0.9rem 1.2rem;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 36px rgba(15, 76, 70, 0.2);
}

.button--secondary {
    background: rgba(255, 255, 255, 0.84);
    color: var(--text);
    border: 1px solid rgba(24, 38, 45, 0.12);
    box-shadow: none;
}

.button--danger {
    background: linear-gradient(135deg, #c55848 0%, var(--danger) 100%);
}

.button--small {
    padding: 0.62rem 0.95rem;
    font-size: 0.94rem;
}

.hero {
    position: relative;
}

.hero--home {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.85fr);
    gap: 1.25rem;
    align-items: stretch;
}

.hero__intro,
.hero__aside,
.panel,
.card,
.flash,
.showcase-card,
.process-card,
.profile-hero,
.cta-band {
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.66);
    box-shadow: var(--shadow-lg);
}

.hero__intro {
    padding: clamp(2rem, 4vw, 4rem);
    min-height: 33rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(135deg, rgba(12, 42, 46, 0.98) 0%, rgba(15, 86, 84, 0.94) 48%, rgba(215, 146, 60, 0.84) 100%);
    color: #f7f6f2;
    overflow: hidden;
}

.hero__intro::after {
    content: "";
    position: absolute;
    inset: auto auto -5rem -3rem;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    filter: blur(2px);
}

.hero__intro .eyebrow,
.cta-band .eyebrow,
.home-band .eyebrow {
    color: rgba(255, 255, 255, 0.92);
}

.hero__intro h1 {
    color: #ffffff;
    text-shadow: 0 8px 24px rgba(8, 31, 34, 0.28);
}

.hero__lead,
.hero__intro p,
.cta-band p {
    color: rgba(255, 255, 255, 0.94);
}

.hero__lead {
    max-width: 36rem;
    font-size: 1.06rem;
}

.hero__aside {
    display: grid;
    gap: 1rem;
}

.showcase-card {
    padding: 1.6rem;
    background: rgba(255, 255, 255, 0.84);
}

.showcase-card--compact {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 234, 223, 0.94) 100%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--brand);
}

h1,
h2,
h3 {
    margin: 0 0 0.8rem;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: -0.028em;
    line-height: 1.06;
    color: var(--text);
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5.6rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.65rem);
}

p {
    margin: 0;
    color: var(--muted);
    line-height: 1.68;
}

.grid {
    display: grid;
    gap: 1rem;
}

.grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.section {
    padding: 1.5rem 0 3rem;
}

.card,
.panel {
    padding: 1.45rem;
    background: var(--surface);
    backdrop-filter: blur(14px);
}

.status,
.profile-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.42rem 0.78rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.profile-chip {
    background: rgba(24, 38, 45, 0.08);
    color: var(--text);
}

.status--approved,
.status--visible {
    background: rgba(46, 109, 76, 0.12);
    color: var(--success);
}

.status--pending,
.status--concept {
    background: rgba(215, 146, 60, 0.16);
    color: #8d5a13;
}

.status--rejected,
.status--hidden {
    background: rgba(162, 71, 57, 0.12);
    color: var(--danger);
}

.status--paused {
    background: rgba(24, 38, 45, 0.1);
    color: var(--text);
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.form-grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

label {
    display: grid;
    gap: 0.45rem;
    font-weight: 700;
    color: var(--text);
}

input,
select,
textarea {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(24, 38, 45, 0.12);
    padding: 0.9rem 1rem;
    font: inherit;
    color: var(--text);
    background: rgba(255, 255, 255, 0.92);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(15, 107, 98, 0.44);
    box-shadow: 0 0 0 4px rgba(15, 107, 98, 0.12);
}

textarea {
    min-height: 9rem;
    resize: vertical;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.meta,
.profile-badges,
.hero-statbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-statbar {
    margin-top: 2rem;
}

.stat-tile {
    min-width: 11rem;
    padding: 0.95rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-tile strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
}

.stat-tile span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
}

.feature-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.1rem;
    color: var(--text);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--accent);
}

.expertise-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.expertise-cloud a,
.expertise-cloud span {
    display: inline-flex;
    align-items: center;
    padding: 0.72rem 0.92rem;
    border-radius: 999px;
    background: rgba(15, 107, 98, 0.08);
    color: var(--brand-dark);
    font-weight: 700;
}

.story-grid,
.process-grid {
    align-items: stretch;
}

.story-card,
.process-card,
.expertise-card {
    position: relative;
    overflow: hidden;
}

.story-card {
    min-height: 15rem;
    padding-top: 4rem;
}

.story-card__index {
    position: absolute;
    top: 1.35rem;
    left: 1.35rem;
    color: rgba(15, 107, 98, 0.18);
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 3.4rem;
    line-height: 1;
}

.home-band,
.cta-band {
    padding: clamp(1.5rem, 3vw, 2.8rem);
}

.home-band {
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.78) 0%, rgba(238, 232, 222, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: var(--shadow-sm);
}

.process-card {
    padding: 1.4rem;
    background: rgba(255, 255, 255, 0.68);
}

.process-card strong {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    color: #fff;
}

.home-section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.expertise-card a {
    display: inline-flex;
    margin-top: 1rem;
    font-weight: 700;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: linear-gradient(140deg, rgba(10, 36, 42, 0.96) 0%, rgba(16, 85, 89, 0.92) 56%, rgba(215, 146, 60, 0.84) 100%);
    color: #fff;
}

.cta-band h2 {
    color: #ffffff;
}

.flash {
    padding: 1rem 1.2rem;
    margin: 1rem 0;
    background: var(--surface-strong);
}

.flash--success {
    border-left: 4px solid var(--success);
}

.flash--error {
    border-left: 4px solid var(--danger);
}

.error-list {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
    color: var(--danger);
}

.split {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 2fr 1fr;
}

.list {
    display: grid;
    gap: 1rem;
}

.profile-shell {
    --profile-bg: #f6f2eb;
    --profile-surface: rgba(255, 255, 255, 0.82);
    --profile-accent: #0f6b62;
    --profile-accent-soft: rgba(15, 107, 98, 0.14);
    --profile-highlight: #d7923c;
    padding-top: 2rem;
}

.profile-shell--zakelijk {
    --profile-bg: #eef2f4;
    --profile-surface: rgba(255, 255, 255, 0.88);
    --profile-accent: #113d5b;
    --profile-accent-soft: rgba(17, 61, 91, 0.12);
    --profile-highlight: #78a3c7;
}

.profile-shell--speels {
    --profile-bg: #fff3ec;
    --profile-surface: rgba(255, 250, 246, 0.9);
    --profile-accent: #ca5b44;
    --profile-accent-soft: rgba(202, 91, 68, 0.12);
    --profile-highlight: #ffb160;
}

.profile-shell--vriendelijk {
    --profile-bg: #f7f2ee;
    --profile-surface: rgba(255, 255, 255, 0.88);
    --profile-accent: #8f6f56;
    --profile-accent-soft: rgba(143, 111, 86, 0.12);
    --profile-highlight: #c9b197;
}

.profile-shell--stoer {
    --profile-bg: #e9e6e3;
    --profile-surface: rgba(255, 255, 255, 0.76);
    --profile-accent: #2f3238;
    --profile-accent-soft: rgba(47, 50, 56, 0.14);
    --profile-highlight: #b2623e;
}

.profile-shell--richtinggevend {
    --profile-bg: #eef0fb;
    --profile-surface: rgba(255, 255, 255, 0.86);
    --profile-accent: #31448c;
    --profile-accent-soft: rgba(49, 68, 140, 0.12);
    --profile-highlight: #f0c458;
}

.profile-shell--bos {
    --profile-bg: #edf2e8;
    --profile-surface: rgba(252, 255, 250, 0.84);
    --profile-accent: #356448;
    --profile-accent-soft: rgba(53, 100, 72, 0.12);
    --profile-highlight: #94b26f;
}

.profile-shell--hei {
    --profile-bg: #f5eef4;
    --profile-surface: rgba(255, 250, 255, 0.84);
    --profile-accent: #7a5676;
    --profile-accent-soft: rgba(122, 86, 118, 0.12);
    --profile-highlight: #d7a8c9;
}

.profile-shell--strand {
    --profile-bg: #eef7f8;
    --profile-surface: rgba(252, 255, 255, 0.84);
    --profile-accent: #1e7b90;
    --profile-accent-soft: rgba(30, 123, 144, 0.12);
    --profile-highlight: #dcbf88;
}

.profile-shell--klassiek {
    --profile-bg: #f4efe6;
    --profile-surface: rgba(255, 252, 246, 0.9);
    --profile-accent: #654a36;
    --profile-accent-soft: rgba(101, 74, 54, 0.12);
    --profile-highlight: #cfb189;
}

.profile-stage {
    display: grid;
    gap: 1.4rem;
}

.profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
    gap: 1.25rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--profile-highlight) 34%, white) 0%, transparent 28%),
        linear-gradient(145deg, color-mix(in srgb, var(--profile-bg) 72%, white) 0%, var(--profile-surface) 100%);
}

.profile-hero h1 {
    color: var(--profile-accent);
}

.profile-motto {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: -0.015em;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    color: color-mix(in srgb, var(--profile-accent) 76%, #0f1c22);
}

.profile-theme-line,
.profile-intro {
    max-width: 44rem;
}

.profile-summary,
.profile-form-card {
    background: var(--profile-surface);
    border: 1px solid color-mix(in srgb, var(--profile-accent) 12%, white);
    border-radius: var(--radius-md);
    padding: 1.35rem;
}

.profile-portrait {
    margin-bottom: 1rem;
    border-radius: calc(var(--radius-md) - 4px);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, 0.65);
}

.profile-contact-meta {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(24, 38, 45, 0.1);
}

.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
    gap: 1.4rem;
    align-items: start;
}

.profile-content {
    background: var(--profile-surface);
}

.profile-service-grid .card {
    background: color-mix(in srgb, var(--profile-surface) 76%, white);
    border: 1px solid color-mix(in srgb, var(--profile-accent) 10%, white);
}

.profile-service-card__media,
.search-card__media,
.dashboard-service-card__media,
.dashboard-upload-preview {
    overflow: hidden;
    border-radius: calc(var(--radius-sm) - 2px);
    background: rgba(255, 255, 255, 0.68);
}

.profile-service-card__media,
.search-card__media,
.dashboard-service-card__media {
    aspect-ratio: 16 / 9;
    margin-bottom: 0.95rem;
}

.profile-portrait img,
.profile-service-card__media img,
.search-card__media img,
.dashboard-upload-preview img,
.dashboard-service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-shell {
    --dash-bg: rgba(255, 255, 255, 0.74);
}

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);
    gap: 1.2rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at top right, rgba(215, 146, 60, 0.16), transparent 28%),
        linear-gradient(140deg, rgba(13, 37, 42, 0.95) 0%, rgba(14, 82, 80, 0.92) 56%, rgba(214, 169, 101, 0.76) 100%);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.dashboard-hero--guru {
    background:
        radial-gradient(circle at top right, rgba(120, 163, 199, 0.18), transparent 30%),
        linear-gradient(140deg, rgba(16, 34, 58, 0.95) 0%, rgba(20, 70, 101, 0.92) 58%, rgba(121, 163, 199, 0.78) 100%);
}

.dashboard-hero h1,
.dashboard-hero p {
    color: #ffffff;
}

.dashboard-hero p {
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.94);
}

.dashboard-hero__copy {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.dashboard-stat {
    display: grid;
    gap: 0.55rem;
    padding: 1rem 1.05rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
}

.dashboard-stat strong {
    font-size: 1.8rem;
    line-height: 1;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.86fr);
    gap: 1.2rem;
    align-items: start;
}

.dashboard-layout--services {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.95fr);
}

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

.dashboard-panel {
    background: var(--dash-bg);
}

.dashboard-panel__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.dashboard-form {
    gap: 1.1rem;
}

.dashboard-side {
    display: grid;
    gap: 1rem;
}

.dashboard-sidecard {
    background: rgba(255, 255, 255, 0.82);
}

.dashboard-note-list {
    display: grid;
    gap: 1rem;
}

.dashboard-note-list strong {
    display: block;
    margin-bottom: 0.35rem;
}

.dashboard-visibility {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

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

.dashboard-upload-block {
    display: grid;
    gap: 0.8rem;
}

.dashboard-upload-preview {
    width: min(100%, 18rem);
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(24, 38, 45, 0.08);
}

.dashboard-upload-preview--service {
    width: min(100%, 22rem);
    aspect-ratio: 16 / 9;
}

.template-tile {
    display: grid;
    gap: 0.35rem;
    padding: 0.95rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(24, 38, 45, 0.08);
    background: rgba(255, 255, 255, 0.78);
    min-height: 7.5rem;
}

.template-tile strong {
    font-size: 1rem;
}

.template-tile p {
    font-size: 0.92rem;
}

.template-tile.is-selected {
    box-shadow: inset 0 0 0 2px rgba(15, 107, 98, 0.24);
    transform: translateY(-1px);
}

.template-tile--zakelijk { background: linear-gradient(160deg, #f0f5f8 0%, #e4eef4 100%); }
.template-tile--speels { background: linear-gradient(160deg, #fff4ea 0%, #ffe2ca 100%); }
.template-tile--vriendelijk { background: linear-gradient(160deg, #faf4ef 0%, #efe1d2 100%); }
.template-tile--stoer { background: linear-gradient(160deg, #efedeb 0%, #d8d2cc 100%); }
.template-tile--richtinggevend { background: linear-gradient(160deg, #eef0fb 0%, #d9e1ff 100%); }
.template-tile--bos { background: linear-gradient(160deg, #eef3ea 0%, #d9e5d1 100%); }
.template-tile--hei { background: linear-gradient(160deg, #f7eef5 0%, #ead9e7 100%); }
.template-tile--strand { background: linear-gradient(160deg, #eef9fb 0%, #d7eef2 100%); }
.template-tile--klassiek { background: linear-gradient(160deg, #f7f1e7 0%, #eadcc4 100%); }

.dashboard-service-list,
.dashboard-review-list {
    gap: 1rem;
}

.dashboard-service-card,
.dashboard-review-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(24, 38, 45, 0.08);
}

.dashboard-service-card--link {
    display: grid;
    gap: 0.8rem;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dashboard-service-card--link:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 107, 98, 0.18);
    box-shadow: 0 22px 42px rgba(24, 38, 45, 0.1);
}

.dashboard-service-card__topline {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
}

.dashboard-service-card__cta {
    flex: 0 0 auto;
    color: var(--brand-dark);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.dashboard-feedback {
    display: grid;
    gap: 0.3rem;
    margin: 1rem 0;
    padding: 0.9rem;
    border-radius: var(--radius-sm);
    background: rgba(162, 71, 57, 0.06);
}

.dashboard-feedback strong {
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dashboard-review-card__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    margin-bottom: 0.8rem;
}

.dashboard-service-settings {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.4rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
}

.dashboard-service-settings__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.checkline {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 600;
}

.checkline input {
    width: auto;
    margin: 0;
}

.site-footer {
    margin-top: 3rem;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.36);
}

.footer__title {
    margin-bottom: 0.3rem;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: -0.014em;
    font-size: 1.1rem;
    color: var(--text);
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__links a {
    font-weight: 700;
}

.muted {
    color: var(--muted);
}

.empty {
    padding: 1.1rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(24, 38, 45, 0.16);
    color: var(--muted);
}

.empty--spotlight {
    background: rgba(255, 255, 255, 0.56);
}

.text-admin-table-wrap {
    overflow-x: auto;
    margin-top: 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.text-admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
}

.text-admin-table th,
.text-admin-table td {
    padding: 0.7rem 0.8rem;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.text-admin-table thead th {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.82);
}

.text-admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.text-admin-table__id,
.text-admin-table td:first-child {
    width: 13rem;
    white-space: nowrap;
    font-size: 0.84rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.text-admin-edit {
    display: grid;
    gap: 0.3rem;
}

.text-admin-edit textarea {
    min-height: 4.6rem;
    padding: 0.7rem 0.8rem;
    border-radius: 14px;
    line-height: 1.45;
}

.text-admin-edit textarea:focus {
    box-shadow: 0 0 0 3px rgba(15, 107, 98, 0.1);
}

.text-admin-edit.is-dirty textarea {
    border-color: rgba(215, 146, 60, 0.4);
    background: rgba(255, 251, 243, 0.96);
}

.text-admin-edit.is-saving textarea {
    border-color: rgba(15, 107, 98, 0.44);
}

.text-admin-edit.has-error textarea {
    border-color: rgba(162, 71, 57, 0.45);
}

.text-admin-edit__status,
.text-admin-intro {
    font-size: 0.82rem;
}

.text-admin-edit__status {
    min-height: 1.1rem;
    color: var(--muted);
}

.text-admin-edit.is-saving .text-admin-edit__status {
    color: var(--brand-dark);
}

.text-admin-edit.has-error .text-admin-edit__status {
    color: var(--danger);
}

@media (max-width: 960px) {
    .hero--home,
    .profile-hero,
    .profile-grid,
    .split,
    .cta-band,
    .dashboard-hero,
    .dashboard-layout,
    .dashboard-layout--services,
    .dashboard-layout--review {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .hero__intro {
        min-height: auto;
    }

    .dashboard-stat-grid,
    .template-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-service-card__topline,
    .dashboard-service-settings__header {
        flex-direction: column;
    }

    .site-header__inner,
    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 1rem), var(--content));
    }

    .section {
        padding: 1rem 0 2rem;
    }

    h1 {
        font-size: clamp(2.3rem, 11vw, 3.3rem);
    }

    h2 {
        font-size: clamp(1.7rem, 9vw, 2.4rem);
    }

    .hero-statbar,
    .home-section-header {
        display: grid;
    }

    .brand__logo {
        width: min(15rem, 78vw);
    }

    .brand__text {
        padding-left: 0.1rem;
    }

    .brand__text small {
        font-size: 0.68rem;
        letter-spacing: 0.08em;
    }

    .stat-tile {
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
