:root {
    --bg: #f3efe6;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --text: #13283d;
    --muted: #5d6f80;
    --line: rgba(19, 40, 61, 0.12);
    --primary: #163754;
    --primary-2: #345d7f;
    --accent: #c86c42;
    --accent-soft: #f0d4c7;
    --success: #d8e7da;
    --shadow: 0 24px 70px rgba(14, 31, 48, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(200, 108, 66, 0.12), transparent 22%),
        radial-gradient(circle at top right, rgba(52, 93, 127, 0.18), transparent 28%),
        linear-gradient(180deg, #f7f4ee 0%, #edf3f6 42%, #ffffff 100%);
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

.eyebrow {
    margin: 0 0 0.9rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--primary-2);
}

.page-shell {
    min-height: 100vh;
}

.topbar {
    background: #11273d;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

.topbar .container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.4rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
}

.topbar__info,
.topbar__social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 86px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand .custom-logo-link {
    display: flex;
    align-items: center;
}

.brand .custom-logo {
    width: auto;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(13, 34, 54, 0.18));
}

.brand__mark {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), #0d2236);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow);
}

.brand__mark--image {
    width: auto;
    height: 42px;
    border-radius: 0;
    object-fit: contain;
    background: transparent;
    padding: 0;
    box-shadow: none;
    flex-shrink: 0;
}

.brand__text {
    display: none;
}

.brand__text strong,
.brand__text span {
    display: block;
}

.brand__text strong {
    font-size: 1.12rem;
    letter-spacing: -0.03em;
}

.brand__text span {
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 800;
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    font: inherit;
    color: var(--text);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

.site-nav a {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(19, 40, 61, 0.76);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--accent);
}

.button,
.button-secondary,
.button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.45rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-size: 0.82rem;
    text-transform: uppercase;
    transition: 180ms ease;
}

.button {
    background: var(--accent);
    color: #fff;
}

.button:hover {
    transform: translateY(-1px);
    background: #b95e34;
}

.button-secondary {
    background: var(--primary);
    color: #fff;
}

.button-secondary:hover {
    background: var(--primary-2);
}

.button-ghost {
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

.contact-card .button-ghost {
    border-color: rgba(19, 40, 61, 0.16);
    color: var(--primary);
    background: rgba(19, 40, 61, 0.04);
}

.contact-card .button-ghost:hover {
    background: rgba(19, 40, 61, 0.08);
}

.hero,
.page-hero {
    position: relative;
    overflow: hidden;
}

.hero {
    color: #fff;
    background:
        linear-gradient(135deg, rgba(13, 34, 54, 0.96), rgba(24, 55, 85, 0.92)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: auto, 36px 36px, 36px 36px;
}

.hero--front-image {
    background:
        linear-gradient(135deg, rgba(10, 24, 39, 0.82), rgba(17, 43, 66, 0.76)),
        linear-gradient(180deg, rgba(10, 24, 39, 0.18), rgba(10, 24, 39, 0.38)),
        url("/wp-content/themes/igs-beta-theme/assets/images/hero/anlaeg-i-dansk-terraen.webp") center 44% / cover no-repeat;
}

.hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(200, 108, 66, 0.42), transparent 24%),
        radial-gradient(circle at bottom right, rgba(118, 175, 210, 0.22), transparent 30%);
    pointer-events: none;
}

.hero .container,
.page-hero .container {
    position: relative;
    z-index: 1;
}

.hero__grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    min-height: 84vh;
    padding: 4.5rem 0 5rem;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    grid-template-areas:
        "content media"
        "panel media";
}

.hero__content {
    grid-area: content;
}

.hero--front-image .hero__grid {
    min-height: 76vh;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    grid-template-areas: "content panel";
    align-items: stretch;
}

.hero--front-image .hero__content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.hero--front-image .hero__panel {
    display: flex;
    align-self: start;
    margin-top: 2.15rem;
    min-height: calc(100% - 2.15rem);
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.hero--front-image .hero__stats {
    margin-top: auto;
    padding-top: 2.4rem;
}

.hero--front-image .hero__panel__inner {
    width: 100%;
}

.hero__content h1,
.page-hero h1,
.section-title,
.card h3,
.profile-intro h2 {
    font-family: "Merriweather", serif;
    letter-spacing: -0.04em;
}

.hero__content h1 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(3.2rem, 7vw, 5.9rem);
    line-height: 0.95;
}

.hero__content p {
    max-width: 46rem;
    margin: 1.5rem 0 0;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.84);
}

.hero__actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.hero__panel,
.glass-card,
.card,
.contact-card,
.profile-intro,
.reference-card,
.process-card,
.faq-item {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero__panel {
    border-radius: var(--radius-xl);
    color: var(--text);
    padding: 1.4rem;
    grid-area: panel;
    max-width: 46rem;
}

.hero__panel__inner {
    border-radius: 26px;
    background: #fff;
    padding: 1.5rem;
}

.hero__media {
    grid-area: media;
    border-radius: 30px;
    overflow: hidden;
    min-height: 100%;
    position: relative;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.16);
    align-self: stretch;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 26, 42, 0.03), rgba(11, 26, 42, 0.24)),
        linear-gradient(90deg, rgba(11, 26, 42, 0.12), transparent 42%);
    pointer-events: none;
}

.hero__media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero__media--building img {
    object-position: center 42%;
}

.hero--front-image .hero__media {
    display: none;
}

.hero__stats,
.quick-points {
    display: grid;
    gap: 1rem;
}

.hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2.4rem;
}

.hero__stat,
.mini-card {
    border-radius: 24px;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__stat strong {
    display: block;
    font-size: 1.9rem;
}

.hero__stat span {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.72);
}

.section {
    padding: 4.5rem 0;
}

.entry-content .section + .section:not(.split--dark) {
    padding-top: 2.75rem;
}

.section--tight {
    padding-top: 2rem;
}

.section-title {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.02;
}

.section-intro {
    max-width: 54rem;
    margin-top: 1rem;
    color: var(--muted);
}

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

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

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
}

.card .kicker {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.card h3 {
    margin: 0.9rem 0 0;
    font-size: 1.7rem;
}

.card p,
.card li,
.reference-card p,
.contact-card p,
.faq-item p,
.prose p,
.prose li {
    color: var(--muted);
}

.card ul,
.check-list,
.link-list,
.contact-list,
.feature-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.card li,
.check-list li,
.feature-list li {
    position: relative;
    padding-left: 1.3rem;
    margin-top: 0.75rem;
}

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

.feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card__action {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.feature-card__action .button-secondary {
    text-align: center;
}

.panel-band {
    margin-top: -2rem;
}

.panel-band--front {
    margin-top: 1rem;
}

.panel-band .container {
    padding: 0;
}

.panel-band__inner {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid rgba(19, 40, 61, 0.08);
}

.split {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.split--dark {
    background: #11273d;
    color: #fff;
}

.split--dark .section-intro,
.split--dark p,
.split--dark li {
    color: rgba(255, 255, 255, 0.78);
}

.split--dark .card {
    color: var(--text);
}

.split--dark .card h3 {
    color: var(--primary);
}

.prose {
    max-width: 70ch;
}

.metric-strip {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.metric {
    border-radius: var(--radius-md);
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.metric strong {
    display: block;
    font-size: 1.6rem;
    color: #fff;
}

.metric span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.page-hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, rgba(13, 34, 54, 0.96), rgba(25, 58, 88, 0.9));
    color: #fff;
}

.page-hero--image {
    background:
        linear-gradient(135deg, rgba(11, 26, 42, 0.8), rgba(19, 46, 72, 0.58)),
        var(--hero-image) center/cover no-repeat;
}

.page-hero--building {
    background-position: center 40%;
}

.page-hero--water {
    background-position: center 48%;
}

.page-hero--road {
    background-position: center 52%;
}

.page-hero h1 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 0.97;
}

.page-hero p {
    max-width: 52rem;
    margin-top: 1.2rem;
    color: rgba(255, 255, 255, 0.84);
}

.breadcrumbs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
}

.breadcrumbs span:last-child {
    color: #fff;
}

.contact-card {
    border-radius: var(--radius-xl);
    padding: 1.8rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 251, 0.86));
    border: 1px solid rgba(19, 40, 61, 0.08);
}

.contact-list li,
.link-list li {
    margin-top: 0.65rem;
    color: var(--muted);
}

.contact-list a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(19, 40, 61, 0.22);
    text-underline-offset: 0.14em;
}

.contact-list a:hover {
    color: var(--accent);
    text-decoration-color: rgba(200, 108, 66, 0.5);
}

.reference-card {
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    border: 1px solid rgba(19, 40, 61, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

.reference-card .meta {
    display: inline-flex;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.reference-card h3 {
    margin: 1rem 0 0.55rem;
    font-size: 1.45rem;
}

.reference-card dl {
    margin: 1rem 0 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 0.8rem;
    font-size: 0.95rem;
}

.reference-card dt {
    color: var(--primary);
    font-weight: 800;
}

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

.team-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
}

.team-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(19, 40, 61, 0.08);
    box-shadow: var(--shadow);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 74px rgba(14, 31, 48, 0.16);
}

.team-card__image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #dfe7ed;
    position: relative;
}

.team-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    transition: transform 220ms ease;
}

.team-card:hover .team-card__image img {
    transform: scale(1.02);
}

.team-card__body {
    padding: 1.05rem 1.05rem 1.2rem;
}

.team-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.team-role {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    margin-top: 0.4rem;
}

.contact-persons {
    padding: 3rem 0;
    background: linear-gradient(180deg, rgba(238, 244, 248, 0.78), rgba(255, 255, 255, 0.96));
}

.contact-persons__layout {
    align-items: center;
}

.contact-persons__cards {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.expert-byline {
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.55;
    margin: 1rem 0 0.65rem;
}

.expert-byline__label {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.expert-byline a {
    color: var(--accent);
    text-decoration: none;
}

.expert-byline a:hover {
    text-decoration: underline;
}

.contact-person-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: stretch;
    box-shadow: 0 24px 64px rgba(14, 31, 48, 0.12);
}

.contact-person-card__image {
    aspect-ratio: auto;
    min-height: 100%;
    border-right: 1px solid rgba(19, 40, 61, 0.08);
}

.contact-person-card__image img {
    object-position: center 18%;
}

.contact-person-card__body {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 1rem;
}

.contact-person-card h3 {
    font-size: 1.06rem;
}

.contact-person-card .team-role {
    margin-top: 0.35rem;
    font-size: 0.7rem;
}

.contact-person-card .contact-list {
    margin-top: 0.7rem;
}

.contact-person-card .contact-list li {
    margin-top: 0.38rem;
    font-size: 0.95rem;
}

.contact-person-card__actions {
    margin-top: auto;
    padding-top: 0.85rem;
    gap: 0.55rem;
}

.contact-person-card__actions .button-secondary,
.contact-person-card__actions .button-ghost {
    padding: 0.68rem 0.78rem;
    font-size: 0.86rem;
}

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

.process-card {
    border-radius: var(--radius-md);
    padding: 1.4rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(19, 40, 61, 0.08);
}

.process-card strong {
    display: block;
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.faq-item {
    border-radius: var(--radius-md);
    padding: 1.35rem 1.45rem;
    border: 1px solid rgba(19, 40, 61, 0.08);
}

.faq-item h3 {
    margin: 0 0 0.6rem;
    font-size: 1.2rem;
}

.cta {
    padding: 1.5rem 0 5rem;
}

.cta__box {
    border-radius: var(--radius-xl);
    padding: 2.2rem;
    color: #fff;
    background: linear-gradient(135deg, #11273d, #1b3b59 60%, #c86c42 150%);
    box-shadow: var(--shadow);
}

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

.floating-contact {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 45;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem;
    border-radius: 999px;
    background: rgba(19, 40, 61, 0.9);
    box-shadow: 0 22px 48px rgba(13, 34, 54, 0.22);
    backdrop-filter: blur(14px);
    transform: translateY(1rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.floating-contact.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cmplz-banner-active .floating-contact {
    opacity: 0;
    pointer-events: none;
}

.floating-contact__primary,
.floating-contact__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: 180ms ease;
}

.floating-contact__primary {
    background: var(--accent);
    color: #fff;
}

.floating-contact__primary:hover {
    background: #b95e34;
}

.floating-contact__secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.floating-contact__secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.site-footer .container {
    display: grid;
    gap: 1.4rem;
    padding: 2rem 0 2.8rem;
}

.footer-grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: 1.25fr 1fr 1fr 1fr 1fr 1fr;
}

.site-footer h3 {
    margin: 0 0 0.65rem;
    font-size: 1rem;
}

.site-footer p,
.site-footer li {
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.86rem;
}

.skip-link {
    position: absolute;
    left: -999px;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 99;
    background: #fff;
    color: var(--primary);
    padding: 0.8rem 1rem;
    border-radius: 14px;
}

.entry-content {
    overflow: hidden;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-family: "Merriweather", serif;
    letter-spacing: -0.04em;
}

.entry-content p,
.entry-content li {
    color: var(--muted);
}

.entry-content > p:not(.eyebrow),
.entry-content > h2,
.entry-content > h3,
.entry-content > ul,
.entry-content > ol {
    width: min(calc(100% - 2rem), 760px);
    margin-left: auto;
    margin-right: auto;
}

.entry-content > p:first-child {
    margin-top: 0;
}

#cmplz-manage-consent-container-nojavascript {
    display: none;
}

#cmplz-manage-consent,
#cmplz-manage-consent .cmplz-manage-consent {
    display: none !important;
}

.cmplz-cookiebanner .cmplz-categories summary {
    list-style: none;
}

.cmplz-cookiebanner .cmplz-categories summary::marker {
    content: "";
    font-size: 0;
}

.cmplz-cookiebanner .cmplz-categories summary::-webkit-details-marker {
    display: none;
}

.entry-content .cmplz-manage-consent-container,
.entry-content #cmplz-cookies-overview {
    margin-top: 1.25rem;
}

.entry-content .cmplz-manage-consent-container,
.entry-content #cmplz-cookies-overview,
.entry-content #cmplz-cookies-overview table {
    width: 100%;
}

.entry-content #cmplz-cookies-overview table {
    border-collapse: collapse;
}

.entry-content #cmplz-cookies-overview th,
.entry-content #cmplz-cookies-overview td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.entry-content #cmplz-cookies-overview th {
    color: var(--text);
    font-weight: 800;
}

.entry-content #cmplz-cookies-overview td,
.entry-content #cmplz-cookies-overview li,
.entry-content .cmplz-manage-consent-container {
    color: var(--muted);
}

@media (max-width: 1100px) {
    .split,
    .footer-grid,
    .grid-4,
    .grid-3,
    .grid-2,
    .process-grid,
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 980px) {
    .topbar .container {
        justify-content: center;
        text-align: center;
    }

    .topbar__info,
    .topbar__social {
        justify-content: center;
    }

    .site-header .container {
        min-height: 78px;
        gap: 1rem;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 46px;
        height: 46px;
        padding: 0 0.9rem;
        border-radius: 14px;
        background: rgba(19, 40, 61, 0.06);
        font-size: 0.84rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 1rem;
        right: 1rem;
        padding: 1rem;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.97);
        box-shadow: var(--shadow);
        border: 1px solid rgba(19, 40, 61, 0.08);
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
    }

    .site-nav a {
        width: 100%;
        padding: 0.85rem 0.3rem;
        border-bottom: 1px solid rgba(19, 40, 61, 0.08);
    }

    .site-nav a:last-child {
        border-bottom: 0;
    }

    .site-nav.is-open {
        display: flex;
    }

    .floating-contact {
        left: 0.8rem;
        right: 0.8rem;
        bottom: 0.8rem;
        justify-content: stretch;
        gap: 0.6rem;
    }

    .floating-contact__primary,
    .floating-contact__secondary {
        flex: 1 1 0;
        min-width: 0;
    }

    .hero__grid,
    .hero--front-image .hero__grid {
        min-height: auto;
        padding: 4rem 0 4.25rem;
        grid-template-columns: 1fr;
        grid-template-areas:
            "content"
            "media"
            "panel";
    }

    .hero--front-image .hero__grid {
        grid-template-areas:
            "content"
            "panel";
    }

    .hero__content h1,
    .page-hero h1 {
        max-width: 12ch;
        font-size: clamp(2.9rem, 7vw, 4.7rem);
    }

    .hero__content p,
    .page-hero p {
        max-width: 44rem;
        font-size: 1rem;
    }

    .hero__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero__panel {
        max-width: none;
    }

    .hero__media {
        max-width: 44rem;
    }

    .page-hero {
        padding: 4.25rem 0 3.4rem;
    }

    .panel-band {
        margin-top: 0;
    }

    .panel-band--front {
        margin-top: 0;
    }
}

@media (max-width: 820px) {
    .site-header .container {
        min-height: 74px;
    }

    .hero__grid,
    .footer-grid,
    .grid-4,
    .grid-3,
    .grid-2,
    .process-grid,
    .team-grid,
    .hero__stats {
        grid-template-columns: 1fr;
    }

    .hero__grid {
        padding: 3.4rem 0 3.8rem;
        grid-template-areas:
            "content"
            "media"
            "panel";
    }

    .hero--front-image .hero__grid {
        grid-template-areas:
            "content"
            "panel";
    }

    .hero__media img {
        min-height: 320px;
    }

    .hero__content h1,
    .page-hero h1 {
        max-width: 11ch;
        font-size: clamp(2.4rem, 9vw, 3.6rem);
    }

    .hero__actions,
    .cta-actions {
        gap: 0.75rem;
    }

    .footer-grid {
        gap: 1.8rem;
    }

    .panel-band {
        margin-top: 0;
    }

    .brand__mark--image {
        height: 36px;
    }

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

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

    .topbar {
        font-size: 0.82rem;
    }

    .topbar .container {
        padding: 0.65rem 0;
    }

    .hero__content h1,
    .page-hero h1 {
        max-width: none;
    }

    .hero__content p,
    .page-hero p {
        font-size: 0.96rem;
    }

    .hero__stats {
        grid-template-columns: 1fr;
    }

    .hero__stat strong {
        font-size: 1.65rem;
    }

    .button,
    .button-secondary,
    .button-ghost {
        width: 100%;
    }

    .site-nav {
        left: 0.65rem;
        right: 0.65rem;
    }

    .team-grid--compact {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .team-grid--compact .team-card {
        width: 100%;
        max-width: none;
        display: grid;
        grid-template-columns: 104px minmax(0, 1fr);
        align-items: stretch;
    }

    .team-grid--compact .team-card__image {
        aspect-ratio: auto;
        min-height: 100%;
    }

    .team-grid--compact .team-card__image img {
        object-position: center 18%;
    }

    .team-grid--compact .team-card__body {
        padding: 0.9rem 0.95rem 1rem;
    }

    .team-grid--compact .team-card h3 {
        font-size: 1.05rem;
    }

    .team-grid--compact .contact-list li {
        margin-top: 0.45rem;
        font-size: 0.92rem;
    }

    .floating-contact {
        padding: 0.55rem;
        gap: 0.5rem;
    }

    .floating-contact__primary,
    .floating-contact__secondary {
        min-height: 46px;
        padding: 0.8rem 0.85rem;
        font-size: 0.72rem;
    }
}
