html body.single-firma .fk-pro-profile {
    --pro-navy: #0d3652;
    --pro-ink: #08243d;
    --pro-blue: #0b5670;
    --pro-orange: #ffb54e;
    --pro-accent-line: #d97816;
    --pro-soft: #edf5fa;
    --pro-line: #c3d8e4;
    --pro-shadow: 0 9px 26px rgba(8, 36, 61, .08);
    width: min(1240px, calc(100% - 40px)) !important;
    color: var(--pro-ink) !important;
    overflow-wrap: anywhere;
}

.fk-pro-profile *, .fk-pro-profile *::before, .fk-pro-profile *::after { box-sizing: border-box; }
.fk-pro-profile :is(h1, h2) { margin: 0; color: var(--pro-ink); font-family: Georgia, serif; font-weight: 700; line-height: 1.18; }
.fk-pro-profile h2 { font-size: clamp(24px, 2.5vw, 30px); }
.fk-pro-profile :is(a, button, summary):focus-visible { outline: 3px solid #147ba3; outline-offset: 3px; }
.fk-pro-profile [id^="fk-company-"] { scroll-margin-top: 104px; }

.fk-pro-hero {
    position: relative;
    display: grid;
    border-radius: 14px;
    background: linear-gradient(115deg, var(--pro-navy), #235b76);
    color: #fff;
    isolation: isolate;
}
.fk-pro-hero.has-image { min-height: 340px; grid-template-columns: minmax(0, 44%) minmax(0, 56%); }
.fk-pro-hero-copy { position: relative; z-index: 1; padding: clamp(20px, 2.3vw, 30px); }
.fk-pro-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-bottom: 12px; }
.fk-pro-identity { display: flex; align-items: center; gap: 14px; }
.fk-pro-identity h1 { font-size: clamp(24px, 2.6vw, 34px); color: #fff; }
.fk-pro-identity p { margin: 6px 0 0; color: #fff; }
.fk-pro-avatar { display: block; width: 70px; height: 70px; flex: 0 0 auto; object-fit: contain; border-radius: 50%; background: #fff; }
.fk-pro-summary { max-width: 56ch; margin: 16px 0 0; color: #fff; }
.fk-pro-hero-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 18px; }
.fk-pro-cover {
    position: relative;
    min-width: 0;
    width: 100%;
    align-self: center;
    aspect-ratio: var(--fk-media-ratio);
    overflow: hidden;
    border-radius: 0 14px 14px 0;
}
.fk-pro-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fk-pro-profile .fk-pro-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 18px;
    border: 1px solid var(--pro-blue);
    border-radius: 7px;
    background: #fff;
    color: var(--pro-ink);
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 750;
}
.fk-pro-profile .fk-pro-button:hover { filter: brightness(.94); }
.fk-pro-profile .fk-pro-button--accent { background: var(--pro-orange); color: var(--pro-ink); border-color: var(--pro-orange); }
.fk-pro-profile .fk-pro-button--outline { background: transparent; color: #fff; border-color: #a3bdcd; }
.fk-pro-profile .fk-pro-button--primary { background: var(--pro-navy); color: #fff; }
.fk-pro-profile .fk-pro-button:is(.fk-pro-channel--whatsapp, .fk-pro-channel--email, .fk-pro-channel--phone, .fk-pro-channel--website) { border-left-width: 5px; }
.fk-pro-profile .fk-pro-channel--whatsapp { border-color: #407454; }
.fk-pro-profile .fk-pro-channel--email { border-color: #146b87; }
.fk-pro-profile .fk-pro-channel--phone { border-color: #416d93; }
.fk-pro-profile .fk-pro-channel--website { border-color: #b66c1e; }

.fk-pro-nav { display: flex; margin: 8px 0 20px; border-bottom: 1px solid var(--pro-line); overflow-x: auto; }
.fk-pro-nav a { display: flex; flex: 1 0 auto; align-items: center; justify-content: center; gap: 10px; padding: 16px 12px; border-bottom: 3px solid transparent; color: var(--pro-ink); font-size: 14px; font-weight: 750; text-decoration: none; }
.fk-pro-nav a[aria-current], .fk-pro-nav a:hover { border-color: var(--pro-accent-line); }
.fk-pro-nav a:focus-visible { outline-offset: -4px; }
.fk-pro-intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(275px, 320px); gap: 24px; }
.fk-pro-card { min-width: 0; padding: 24px; border: 1px solid var(--pro-line); border-radius: 14px; background: #fff; box-shadow: var(--pro-shadow); }
/* The outer row follows the taller card. Within it, the photo fills the available content height. */
.fk-pro-profile :is(#fk-company-description, #fk-company-about) { display: flex; flex-direction: column; }
.fk-pro-description-layout, .fk-pro-about-layout { display: grid; flex: 1 0 auto; gap: 24px; }
.fk-pro-description-layout > div, .fk-pro-about-layout > div { min-width: 0; }
.fk-pro-description-layout.has-image { grid-template-columns: minmax(0, 1fr) minmax(0, 32%); }
.fk-pro-description-photo, .fk-pro-team-photo {
    position: relative;
    overflow: hidden;
    border-radius: 9px;
}
.fk-pro-description-photo::before, .fk-pro-team-photo::before {
    /* Keep a useful minimum height for short or empty copy. */
    content: "";
    display: block;
    aspect-ratio: var(--fk-media-ratio, 4/3);
}
:is(.fk-pro-description-photo, .fk-pro-team-photo) > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fk-pro-prose { margin-top: 20px; line-height: 1.75; }
.fk-pro-prose p:last-child { margin-bottom: 0; }
.fk-pro-description .fk-pro-prose > p:first-child::first-letter { float: left; margin: 4px 9px 0 0; color: var(--pro-navy); font: bold 4em/.8 Georgia, serif; }
.fk-pro-services { position: relative; grid-column: 1 / -1; }
.fk-pro-icon { width: 1.2em; height: 1.2em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.12em; }
.fk-pro-card h2 > .fk-pro-icon { color: #a65d13; width: .85em; height: .85em; }
.fk-pro-service-grid, .fk-pro-areas ul { display: grid; padding: 0; margin: 16px 0 0; list-style: none; gap: 12px; }
.fk-pro-service-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fk-pro-service-grid li { display: flex; align-items: center; gap: 10px; min-height: 74px; margin: 0; border: 1px solid var(--pro-line); border-radius: 10px; padding: 10px; background: var(--pro-soft); color: var(--pro-ink); font-size: 14px; font-weight: 750; }
.fk-pro-service-grid li:has(> a) { padding: 0; }
.fk-pro-service-grid a { display: flex; align-items: center; align-self: stretch; gap: 10px; width: 100%; padding: 10px; color: inherit; text-decoration: none; }
.fk-pro-service-grid a:hover { text-decoration: underline; }
.fk-pro-service-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; background: #dceaf3; color: var(--pro-blue); font-size: 20px; }
.fk-pro-service-more summary { width: fit-content; margin-top: 12px; padding: 6px 11px; border: 1px solid var(--pro-accent-line); border-radius: 7px; font-size: 14px; cursor: pointer; }
.fk-pro-intervals { margin-top: 12px; }
.fk-pro-contact { align-self: stretch; }
.fk-pro-contact h2 { font-family: inherit; font-size: 22px; }
.fk-pro-contact-actions { display: grid; gap: 8px; margin-top: 16px; }
.fk-pro-languages { margin: 12px 0 0; font-size: 13px; }

.fk-pro-banner, .fk-pro-about-grid, .fk-pro-areas, .fk-pro-profile #fk-company-gallery { margin-top: 24px; }
.fk-pro-banner { display: flex; align-items: center; gap: 14px; padding: 22px 28px; border-radius: 12px; background: linear-gradient(110deg, var(--pro-navy), #235b76); color: #fff; box-shadow: var(--pro-shadow); }
.fk-pro-banner h2 { color: #fff; }
.fk-pro-banner p { margin: 6px 0 0; color: #fff; font-size: 14px; }
.fk-pro-banner .fk-pro-avatar { width: 62px; height: 62px; }
.fk-pro-banner .fk-pro-button { margin-left: auto; min-width: min(25%, 280px); }
.fk-pro-about-grid { display: grid; gap: 24px; }
.fk-pro-about-grid.has-overview { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.fk-pro-about-layout { margin-top: 20px; }
.fk-pro-about-layout.has-image { grid-template-columns: minmax(0, 34%) minmax(0, 1fr); }
.fk-pro-about-layout .fk-pro-prose { margin: 0; }
.fk-pro-overview { padding: 0; overflow: hidden; }
.fk-pro-overview h2 { background: var(--pro-soft); padding: 20px 24px; }
.fk-pro-overview-body { padding: 4px clamp(16px, 2vw, 24px) 20px; font-size: 14px; }
.fk-pro-overview-group { padding: 10px 0; }
.fk-pro-overview-group + .fk-pro-overview-group { border-top: 1px solid var(--pro-line); }
.fk-pro-overview-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 36px;
    padding: 4px 4px 4px 9px;
    border-left: 3px solid var(--pro-accent-line);
    color: var(--pro-ink);
    font: 750 16px/1.35 Arial, sans-serif;
    list-style: none;
    cursor: pointer;
}
.fk-pro-overview-group > summary::-webkit-details-marker { display: none; }
.fk-pro-overview-group > summary::after {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-right: 4px;
    border: solid var(--pro-blue);
    border-width: 0 2px 2px 0;
    transform: translateY(-2px) rotate(45deg);
}
.fk-pro-overview-group[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.fk-pro-overview-group[open] > summary { margin-bottom: 9px; }
.fk-pro-overview-checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin: 0; padding: 0; list-style: none; }
.fk-pro-overview-checklist li { display: flex; align-items: baseline; gap: 7px; margin: 0; }
.fk-pro-overview-checklist span { color: #007b72; font-weight: 800; }
.fk-pro-overview-group dl { margin: 0; }
.fk-pro-overview-group dl > div { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 10px; padding: 6px 0; }
.fk-pro-overview-group dl > div + div { border-top: 1px solid var(--pro-line); }
.fk-pro-overview-group dt { font-weight: 700; }
.fk-pro-overview-group dd { margin: 0; }
@media (max-width: 430px) {
    .fk-pro-overview-checklist { grid-template-columns: minmax(0, 1fr); }
    .fk-pro-overview-group dl > div { grid-template-columns: minmax(0, 1fr); gap: 1px; }
}
.fk-pro-areas ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 176px), 1fr)); }
.fk-pro-areas li { margin: 0; }
.fk-pro-areas a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 8px 12px; border-radius: 30px; background: var(--pro-navy); color: #fff; font-size: 14px; text-align: center; text-decoration: none; }
.fk-pro-areas a:hover { background: var(--pro-blue); }
.fk-pro-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.fk-pro-gallery a { cursor: zoom-in; }
.fk-pro-lightbox { padding: 0; border: 0; background: #071b2b; color: #fff; }
.fk-pro-lightbox[open] { position: fixed; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; overflow: hidden; }
.fk-pro-lightbox::backdrop { background: #071b2b; }
.fk-pro-lightbox > img { width: auto; height: auto; max-width: calc(100vw - 120px); max-height: calc(100dvh - 95px); object-fit: contain; }
.fk-pro-lightbox button { position: absolute; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 1px solid #95aebd; border-radius: 50%; background: #143b54; color: #fff; font: 700 32px/1 Arial, sans-serif; cursor: pointer; }
.fk-pro-lightbox-close { top: 14px; right: 16px; }
.fk-pro-lightbox-prev, .fk-pro-lightbox-next { top: 50%; transform: translateY(-50%); }
.fk-pro-lightbox-prev, .fk-pro-lightbox-counter { left: 16px; }
.fk-pro-lightbox-next { right: 16px; }
.fk-pro-lightbox-counter { position: absolute; top: 24px; font-weight: 750; }
html:has(.fk-pro-lightbox[open]) { overflow: hidden; }

html body.single-firma .fk-pro-profile .fk-inquiry-overlay__dialog { width: min(940px, 100%); background: #fff; border-color: var(--pro-line); }
html body.single-firma .fk-pro-profile .fk-inquiry-overlay__backdrop { background: rgba(7, 27, 43, .75); backdrop-filter: blur(4px); }
html body.single-firma .fk-pro-profile .fk-inquiry-overlay__close { color: var(--pro-ink); background: var(--pro-soft); border: 1px solid var(--pro-line); border-radius: 9px; box-shadow: none; }
html body.single-firma .fk-pro-profile .fk-inquiry__intro h2 { color: var(--pro-ink) !important; font-family: Georgia, serif !important; font-size: clamp(24px, 3vw, 32px); max-width: none; }
html body.single-firma .fk-pro-profile .fk-inquiry__intro :is(span, p) { color: var(--pro-ink) !important; }
html body.single-firma .fk-pro-profile .fk-inquiry__progress { padding: 0; border: 0; background: transparent; box-shadow: none; }
.fk-pro-profile .fk-inquiry__progress li { flex-direction: column; justify-content: center; gap: 5px; min-height: 82px; padding: 8px 4px; border-radius: 10px; background: var(--pro-soft); color: var(--pro-ink); }
.fk-pro-profile .fk-inquiry__progress li.is-current { background: var(--pro-navy); color: #fff; }
.fk-pro-profile .fk-inquiry__progress li.is-complete { color: var(--pro-ink); }
html body.single-firma .fk-pro-profile .fk-inquiry__progress li > span {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 1px solid var(--pro-line);
    border-radius: 50%;
    background: #fff;
    color: var(--pro-ink);
    font-size: 16px;
    line-height: 1;
    box-shadow: none;
}
html body.single-firma .fk-pro-profile .fk-inquiry__progress li.is-current > span { background: #ffb341; border-color: #ffb341; }
html body.single-firma .fk-pro-profile .fk-inquiry__progress li.is-complete > span { background: #d7efe9; border-color: #6ba89b; }
.fk-pro-profile .fk-inquiry__progress li > strong { color: inherit; }
.fk-pro-profile .fk-inquiry__progress-track { background: var(--pro-soft); }
.fk-pro-profile .fk-inquiry__progress > p { color: var(--pro-ink); }

@media (min-width: 1000px) {
    .fk-pro-services:has(.fk-pro-service-more) h2 { padding-right: 155px; }
    .fk-pro-service-more summary { position: absolute; top: 18px; right: 24px; margin: 0; }
}
@media (max-width: 960px) {
    .fk-pro-intro-grid { grid-template-columns: minmax(0, 1fr) minmax(235px, 29%); gap: 16px; }
    .fk-pro-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .fk-pro-intro-grid, .fk-pro-about-grid.has-overview { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .fk-pro-description-layout.has-image, .fk-pro-about-layout.has-image {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}
@media (max-width: 760px) {
    html body.single-firma .fk-pro-profile { width: calc(100% - 24px) !important; }
    .fk-pro-hero.has-image { grid-template-columns: minmax(0, 1fr); }
    .fk-pro-hero.has-image { min-height: 0; }
    .fk-pro-cover { border-radius: 0 0 14px 14px; }
    .fk-pro-card { padding: 18px; }
    .fk-pro-overview { padding: 0; }
    .fk-pro-banner { flex-wrap: wrap; padding: 18px; }
    .fk-pro-banner .fk-pro-button { margin-left: 0; }
    .fk-pro-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .fk-pro-lightbox > img { max-width: calc(100vw - 20px); max-height: calc(100dvh - 160px); }
    .fk-pro-lightbox-prev, .fk-pro-lightbox-next { top: auto; bottom: 16px; transform: none; }
}
@media (max-width: 400px) {
    .fk-pro-service-grid { grid-template-columns: minmax(0, 1fr); }
    .fk-pro-avatar { width: 50px; height: 50px; }
}

/* Existing profile and inquiry styles use dark surfaces. These elements sit on white in PRO. */
html body.single-firma .fk-pro-profile .fk-company-breadcrumb,
html body.single-firma .fk-pro-profile .fk-company-breadcrumb :is(a, [aria-current="page"]) { color: var(--pro-ink) !important; }
html body.single-firma .fk-pro-profile .fk-company-breadcrumb a:hover { text-decoration: underline !important; }
.fk-company-breadcrumb__item {
    display: inline-flex;
    align-items: baseline;
    min-width: 0;
    max-width: 100%;
    gap: inherit;
    overflow-wrap: anywhere;
}
.fk-company-breadcrumb__separator { flex: none; }
/* Keep native disclosure controls for the status explanations. */
html body.single-firma .fk-pro-profile .fk-pro-badges > details > summary {
    display: inline-flex !important;
    align-items: center;
    gap: 4px !important;
    min-height: 28px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #c0cfda !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    white-space: nowrap;
    list-style: none !important;
}
.fk-pro-badges > details > summary::-webkit-details-marker { display: none; }
.fk-pro-badges > details > summary::marker { content: ""; }
html body.single-firma .fk-pro-profile .fk-pro-badges > details > summary > svg { display: none !important; }
html body.single-firma .fk-pro-profile .fk-pro-badges > details > summary :is(.fk-card-badge-info__icon, .fk-personal-contact__info) {
    display: inline-grid !important;
    place-items: center;
    width: 14px !important;
    height: 14px !important;
    flex: 0 0 14px;
    margin: 0 !important;
    border: 1px solid currentColor !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: inherit !important;
    font: 600 10px/1 Arial, sans-serif;
}
.fk-pro-badges > details > summary:hover { text-decoration: underline; text-underline-offset: 3px; }

html body.single-firma #content.site-content {
    background: #fff !important;
}

html body.single-firma:has(.fk-pro-profile) #content.site-content {
    padding-top: 0 !important;
    border-top: 0 !important;
    margin-top: 0 !important;
}
.fk-pro-badges .fk-card-badge-info__body { color: var(--pro-ink); }
.fk-pro-lightbox button[hidden] { display: none; }

html body.single-firma .fk-pro-profile .fk-inquiry-overlay .fk-inquiry { color: var(--pro-ink); padding-top: 72px !important; }
html body.single-firma .fk-pro-profile .fk-inquiry::before { content: none; }
html body.single-firma .fk-pro-profile .fk-inquiry :is(label, .fk-inquiry__step-heading h3, .fk-inquiry__step-heading p, .fk-inquiry__step-heading > span, .fk-inquiry__footer p) { color: var(--pro-ink); }
html body.single-firma .fk-company-page.fk-pro-profile .fk-inquiry__consent a { color: var(--pro-blue); }
html body.single-firma .fk-pro-profile .fk-inquiry-overlay__close { display: flex; gap: 5px; width: auto; padding: 0 12px; font: inherit; font-size: 14px; }
.fk-pro-profile .fk-inquiry__step-empty { background: var(--pro-soft); color: var(--pro-ink); border-color: var(--pro-line); }
.fk-pro-profile .fk-inquiry__wizard-actions { border-color: var(--pro-line); }
.fk-pro-profile .fk-inquiry__wizard-button--back,
.fk-pro-profile .fk-inquiry__footer .fk-inquiry__wizard-button--back { background: var(--pro-soft); border-color: var(--pro-line); color: var(--pro-ink); }
.fk-pro-profile .fk-inquiry__wizard-button:focus-visible { outline-color: var(--pro-blue); }
.fk-pro-profile .fk-inquiry__progress-track { display: none; }

@media (max-width: 760px) {
    .fk-pro-profile .fk-inquiry__progress li { min-height: 64px; }
    html body.single-firma .fk-pro-profile .fk-inquiry__progress li > span { width: 30px; height: 30px; flex-basis: 30px; font-size: 14px; }
    .fk-pro-profile .fk-inquiry__progress li strong { position: static; width: auto; height: auto; max-width: 100%; clip: auto; font-size: 10px; }
}

/* The PRO inquiry dialog uses a light surface throughout its five steps. */
html body.single-firma .fk-company-page.fk-pro-profile .fk-inquiry__section {
    background: #f6fafc;
    border-color: var(--pro-line);
    box-shadow: none;
}
html body.single-firma .fk-company-page.fk-pro-profile :is(.fk-inquiry__section > h3, .fk-inquiry__section > legend, .fk-inquiry__subgroup > legend) {
    color: var(--pro-ink);
}
html body.single-firma .fk-company-page.fk-pro-profile :is(.fk-inquiry__choice, .fk-inquiry__checks label) {
    color: var(--pro-ink);
    background: #fff;
    border-color: #8faebb;
}
html body.single-firma .fk-company-page.fk-pro-profile :is(.fk-inquiry__choice, .fk-inquiry__checks label):hover {
    background: var(--pro-soft);
    border-color: var(--pro-blue);
}
html body.single-firma .fk-company-page.fk-pro-profile :is(.fk-inquiry__choice, .fk-inquiry__checks label):has(input:checked) {
    background: #dceff5;
    border-color: var(--pro-blue);
    box-shadow: none;
}
html body.single-firma .fk-company-page.fk-pro-profile .fk-inquiry :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    background: #fff;
    border-color: #8faebb;
    box-shadow: none;
    color: var(--pro-ink);
    color-scheme: light;
}
html body.single-firma .fk-company-page.fk-pro-profile .fk-inquiry :is(input:not([type="checkbox"]):not([type="radio"]), textarea)::placeholder { color: #506b80; }
html body.single-firma .fk-company-page.fk-pro-profile .fk-inquiry select option { background: #fff; color: var(--pro-ink); }
html body.single-firma .fk-company-page.fk-pro-profile .fk-inquiry :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):hover,
html body.single-firma .fk-company-page.fk-pro-profile .fk-inquiry :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus {
    background: #fff;
}
html body.single-firma .fk-company-page.fk-pro-profile .fk-inquiry :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus {
    border-color: var(--pro-blue);
    box-shadow: 0 0 0 3px #cce6f0;
}

/* The theme's global image sizing must not change a saved crop viewport. */
html body.single-firma .fk-pro-profile :is(.fk-pro-cover, .fk-pro-description-photo, .fk-pro-team-photo) > img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
}


/* Keep the band over the outer edge of the photo, clear of the subject. */
@media (min-width: 761px) {
    .fk-pro-cover::before {
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        content: "";
        background: #2c6387;
        clip-path: polygon(11.5% 0, 23.3% 0, 11.8% 100%, 0 100%);
    }
    .fk-pro-cover {
        align-self: stretch;
        clip-path: polygon(11.5% 0, 100% 0, 100% 100%, 0 100%);
    }
}

/* Public PRO detail layout. The shared profile rules above supply the FixKlar palette. */
html body.single-firma .fk-company-page.fk-pro-profile--detail {
    font-family: system-ui, sans-serif;
}
/* The native header's empty paragraph leaves a collapsed margin above the profile. */
html body.single-firma:has(.fk-pro-profile--detail) #page > .ast-custom-header .astra-advanced-hook-10208 > p:empty {
    display: none;
}
html body.single-firma .fk-pro-profile--detail .fk-company-breadcrumb {
    gap: 6px !important;
    padding-top: 12px;
    margin-bottom: 16px !important;
    font-weight: 500 !important;
}
html body.single-firma .fk-pro-profile--detail .fk-company-breadcrumb [aria-current="page"] {
    min-width: 0;
    font-weight: inherit !important;
}
.fk-pro-profile--detail .fk-pro-hero.has-image {
    grid-template-columns: minmax(0, 52%) minmax(0, 48%);
    grid-template-areas: "copy cover";
    min-height: 370px;
}
.fk-pro-profile--detail .fk-pro-cover { grid-area: cover; }
.fk-pro-profile--detail .fk-pro-hero-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    align-items: center;
    min-width: 0;
    padding: 30px;
}
.fk-pro-profile--detail .fk-pro-hero.has-image .fk-pro-hero-copy { grid-area: copy; }
.fk-pro-profile--detail .fk-pro-hero-copy.has-avatar {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
}
.fk-pro-profile--detail .fk-pro-hero-avatar { grid-column: 1; grid-row: 2; }
.fk-pro-profile--detail .fk-pro-hero-copy.has-avatar.has-slogan .fk-pro-hero-avatar { grid-row: 2 / 4; }
.fk-pro-profile--detail .fk-pro-hero-avatar .fk-company-logo-frame,
.fk-pro-profile--detail .fk-pro-banner .fk-company-logo-frame { width: 70px; }
.fk-pro-profile--detail .fk-company-logo-frame:has(> .fk-pro-avatar--mark) { border-radius: 50%; }
.fk-pro-profile--detail .fk-pro-banner .fk-company-logo-frame { width: 62px; }
.fk-pro-profile--detail .fk-pro-hero h1,
.fk-pro-profile--detail .fk-pro-slogan { grid-column: -2 / -1; color: #fff; }
.fk-pro-profile--detail .fk-pro-hero h1 { grid-row: 2; font-size: clamp(26px, 2.8vw, 36px); }
.fk-pro-profile--detail .fk-pro-slogan { grid-row: 3; margin: 6px 0 0; }
.fk-pro-profile--detail .fk-pro-badges { grid-row: 1; margin: 0 0 14px; gap: 0 10px; }
.fk-pro-profile--detail .fk-pro-badges > details + details::before {
    content: "";
    display: inline-block;
    height: 12px;
    margin-right: 9px;
    border-left: 1px solid rgba(255, 255, 255, .45);
    vertical-align: -.1em;
}
html body.single-firma .fk-pro-profile--detail .fk-pro-badges > details > summary {
    color: #fff !important;
    font-weight: 700 !important;
}
.fk-pro-profile--detail :is(.fk-pro-badges, .fk-pro-summary, .fk-pro-hero-actions) { grid-column: 1 / -1; }
.fk-pro-profile--detail .fk-pro-summary { margin-top: 22px; max-width: 57ch; line-height: 1.65; }
.fk-pro-profile--detail .fk-pro-hero-actions { gap: 12px 24px; margin-top: 22px; }
.fk-pro-profile--detail .fk-pro-button { gap: 7px; line-height: 1.35; }
.fk-pro-profile--detail .fk-pro-button--accent { min-height: 46px; }
.fk-pro-profile--detail .fk-pro-button .fk-pro-icon { width: 1em; height: 1em; }

.fk-pro-profile--detail .fk-pro-nav {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 10px;
    margin: 16px 0 24px;
    border: 0;
    overflow: visible;
}
.fk-pro-profile--detail .fk-pro-nav a {
    justify-content: flex-start;
    min-width: 0;
    min-height: 58px;
    padding: 11px 16px;
    border: 1px solid var(--pro-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(8, 36, 61, .05);
    line-height: 1.35;
}
.fk-pro-profile--detail .fk-pro-nav a:is(:hover, [aria-current]) { border-color: var(--pro-accent-line); }
.fk-pro-profile--detail .fk-pro-nav a > svg { width: 21px; height: 21px; }
.fk-pro-profile--detail .fk-pro-nav a > span { min-width: 0; overflow-wrap: anywhere; }
.fk-pro-profile--detail .fk-pro-card h2:has(> .fk-pro-icon) { display: flex; align-items: baseline; gap: 10px; }
.fk-pro-profile--detail .fk-pro-card h2 > .fk-pro-icon { align-self: flex-start; margin-top: .13em; color: #a65d13; }
.fk-pro-profile--detail .fk-pro-description-layout.has-image { grid-template-columns: minmax(0, 1fr) minmax(0, 31.5%); }
.fk-pro-profile--detail .fk-pro-description-photo { align-self: start; --fk-media-ratio: 4/5; }
.fk-pro-profile--detail .fk-pro-prose { line-height: 1.75; }
.fk-pro-profile--detail .fk-pro-description .fk-pro-prose { margin-top: 24px; }
.fk-pro-profile--detail .fk-pro-contact-kicker { margin: 0 0 12px; font: 400 17px/1.4 Georgia, serif; }
.fk-pro-profile--detail .fk-pro-contact-actions { margin-top: 12px; }
.fk-pro-profile--detail .fk-pro-contact-actions .fk-pro-button { font-size: 15px; }
.fk-pro-profile--detail .fk-pro-service-icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border: 1px solid var(--pro-line);
}
.fk-pro-profile--detail .fk-pro-service-icon .fk-pro-icon { width: 27px; height: 27px; }
.fk-pro-profile--detail .fk-pro-service-more > summary {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    border-color: #b66c1e;
    color: var(--pro-ink);
    line-height: 1.3;
    list-style: none;
}
.fk-pro-profile--detail .fk-pro-service-more > summary::-webkit-details-marker { display: none; }
.fk-pro-profile--detail .fk-pro-service-more > summary::after {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: translateY(-2px) rotate(45deg);
}
.fk-pro-profile--detail .fk-pro-service-more[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.fk-pro-profile--detail .fk-pro-banner { min-height: 112px; }
.fk-pro-profile--detail .fk-pro-about-layout.has-image { grid-template-columns: minmax(0, 34%) minmax(0, 1fr); }
.fk-pro-profile--detail .fk-pro-team-photo { align-self: start; }
html body.single-firma .fk-pro-profile--detail #fk-company-work { padding: 0 !important; }
.fk-pro-profile--detail .fk-pro-overview-body { padding-block: 0; font-size: 15px; }
.fk-pro-profile--detail .fk-pro-overview-group { padding: 0; }
.fk-pro-profile--detail .fk-pro-overview-group > summary {
    min-height: 58px;
    padding: 14px 0;
    border: 0;
    font: inherit;
    font-weight: 700;
}
.fk-pro-profile--detail .fk-pro-overview-group[open] > summary { margin: 0; }
.fk-pro-profile--detail .fk-pro-overview-group :is(ul, dl) { margin: 0 0 16px; line-height: 1.75; }
.fk-pro-profile--detail .fk-pro-overview-checklist { display: block; padding-left: 20px; list-style: disc; }
.fk-pro-profile--detail .fk-pro-overview-checklist li { display: list-item; }
.fk-pro-profile--detail .fk-pro-overview-group dl { padding-left: 20px; }
.fk-pro-profile--detail .fk-pro-overview-group dl > div { display: list-item; list-style: disc; padding: 0; border: 0; }
.fk-pro-profile--detail .fk-pro-overview-group dl :is(dt, dd) { display: inline; }
.fk-pro-profile--detail .fk-pro-overview-group dl dt::after { content: ": "; }
.fk-pro-profile--detail .fk-pro-gallery a { display: block; border-radius: 14px !important; }

@media (min-width: 768px) {
    .fk-pro-profile--detail .fk-pro-cover {
        aspect-ratio: auto;
        clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
    }
    .fk-pro-profile--detail .fk-pro-cover::before {
        clip-path: polygon(13% 0, 26% 0, 13% 100%, 0 100%);
    }
}
@media (min-width: 370px) {
    .fk-pro-profile--detail .fk-pro-services:has(.fk-pro-service-more) h2 {
        min-height: 44px;
        align-items: center;
        padding-right: 143px;
    }
    .fk-pro-profile--detail .fk-pro-services h2 > .fk-pro-icon { align-self: center; margin: 0; }
    .fk-pro-profile--detail .fk-pro-service-more > summary { position: absolute; top: 24px; right: 24px; margin: 0; }
}
@media (max-width: 1024px) {
    .fk-pro-profile--detail .fk-pro-nav a { padding-inline: 10px; gap: 7px; }
}
@media (min-width: 768px) and (max-width: 860px) {
    .fk-pro-profile--detail .fk-pro-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    html body.single-firma .fk-pro-profile .fk-company-breadcrumb {
        gap: 2px 6px !important;
        margin-bottom: 12px !important;
        line-height: 1.4;
    }
    html body.single-firma .fk-company-page.fk-pro-profile.fk-pro-profile--detail {
        width: calc(100% - 20px) !important;
        padding-top: 0 !important;
    }
    html body.single-firma .fk-pro-profile--detail .fk-company-breadcrumb {
        padding-top: 10px;
    }
    .fk-pro-profile--detail .fk-pro-hero.has-image {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "cover" "copy";
        min-height: 0;
    }
    .fk-pro-profile--detail .fk-pro-cover {
        aspect-ratio: 3/2;
        border-radius: 14px 14px 0 0;
        clip-path: none;
    }
    .fk-pro-profile--detail .fk-pro-cover::before { content: none; }
    .fk-pro-profile--detail .fk-pro-hero-copy { padding: 16px 16px 20px; }
    html body.single-firma .fk-pro-profile--detail .fk-pro-hero h1 {
        grid-row: 1;
        font-size: clamp(24px, 6.9vw, 30px) !important;
        line-height: 1.08 !important;
        hyphens: auto;
    }
    .fk-pro-profile--detail .fk-pro-hero-avatar,
    .fk-pro-profile--detail .fk-pro-hero-copy.has-avatar.has-slogan .fk-pro-hero-avatar { grid-row: 1; }
    .fk-pro-profile--detail .fk-pro-hero-avatar .fk-company-logo-frame {
        display: block;
        position: relative;
        width: clamp(48px, 13vw, 60px);
        aspect-ratio: var(--fk-media-ratio, 1);
        overflow: hidden;
        border: 0;
        background: #fff;
    }
    .fk-pro-profile--detail .fk-pro-hero-avatar .fk-pro-avatar {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    .fk-pro-profile--detail .fk-pro-badges { grid-row: 2; margin: 12px 0 0; gap: 0 6px; }
    .fk-pro-profile--detail .fk-pro-badges > details + details::before { margin-right: 6px; }
    html body.single-firma .fk-pro-profile--detail .fk-pro-badges > details > summary {
        min-height: 36px !important;
        font-size: 12px !important;
    }
    .fk-pro-profile--detail .fk-pro-slogan { grid-column: 1 / -1; margin-top: 12px; }
    .fk-pro-profile--detail .fk-pro-summary { margin-top: 18px; }
    .fk-pro-profile--detail .fk-pro-hero-actions { display: grid; gap: 10px; }
    .fk-pro-profile--detail .fk-pro-hero-actions .fk-pro-button { min-height: 48px; font-size: 16px; }

    html body.single-firma .fk-pro-profile--detail .fk-pro-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-flow: row;
        gap: 10px;
        margin: 16px 0 24px;
    }
    html body.single-firma .fk-pro-profile--detail .fk-pro-nav a {
        min-height: 56px !important;
        padding: 10px clamp(9px, 3.5vw, 16px) !important;
    }
    .fk-pro-profile--detail .fk-pro-intro-grid { gap: 20px; }
    .fk-pro-profile--detail .fk-pro-card { padding-block: 18px; }
    .fk-pro-profile--detail .fk-pro-overview h2 { padding-block: 18px; }
    .fk-pro-profile--detail :is(.fk-pro-overview h2, .fk-pro-overview-body) { padding-inline: 34px; }
    .fk-pro-profile--detail :is(.fk-pro-description-layout.has-image, .fk-pro-about-layout.has-image) {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }
    .fk-pro-profile--detail .fk-pro-contact-kicker { font-size: 22px; }
    .fk-pro-profile--detail .fk-pro-services:has(.fk-pro-service-more) h2 { font-size: clamp(20px, 5.6vw, 24px) !important; }
    .fk-pro-profile--detail .fk-pro-service-more > summary { top: 18px; right: 16px; font-size: 12px; }
    .fk-pro-profile--detail .fk-pro-service-grid,
    .fk-pro-profile--detail .fk-pro-areas ul { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .fk-pro-profile--detail .fk-pro-banner { display: flex; padding: 22px; gap: 14px; }
    .fk-pro-profile--detail .fk-pro-banner > div { flex: 1 1 0; min-width: 0; }
    .fk-pro-profile--detail .fk-pro-banner > .fk-pro-button { flex-basis: 100%; margin: 6px 0 0; }
    html body.single-firma .fk-pro-profile--detail .fk-pro-gallery { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
