/* Wspólny układ profili. Dane i grafiki pochodzą z istniejącego katalogu. */
.company-profile .header { height: 72px; gap: 16px; }
.company-profile .crumbs { padding: 13px 0; font-size: 10px; line-height: 1.7; overflow-wrap: anywhere; }
.company-profile .hero { padding: 30px 34px; border-radius: 8px; background: #172021; }
.company-profile .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: center; }
.profile-identity { min-width: 0; }
.company-profile .hero .eyebrow { font-size: 10px; line-height: 1.6; letter-spacing: 1.1px; margin: 0 0 13px; }
.company-profile .hero h1 { font: 800 clamp(36px, 4.3vw, 58px)/1.04 Manrope, Arial, sans-serif; letter-spacing: -.05em; margin: 0 0 12px; overflow-wrap: anywhere; white-space: normal; }
.company-profile .hero p:not(.eyebrow) { font-size: 13px; line-height: 1.5; }
.profile-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.profile-award-label { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 11px; border: 1px solid #bddb61; border-radius: 4px; color: #d9ef99; font: 500 10px/1.3 'DM Mono', monospace; letter-spacing: .3px; }
.company-profile .hero .profile-save { margin: 0; border: 1px solid var(--acid); border-radius: 4px; min-height: 38px; background: var(--acid); color: #172021; padding: 8px 14px; }
.company-profile .hero .profile-save.is-saved { background: #edf7d8; color: #172021; }
.profile-category-art { display: block; width: 100%; max-width: 255px; justify-self: end; overflow: hidden; border-radius: 6px; background: var(--profile-category-color); }
.profile-category-art img { display: block; width: 100%; height: auto; aspect-ratio: 1.16; object-fit: contain; opacity: 1; filter: none; mix-blend-mode: normal; }
.company-profile .content { grid-template-columns: minmax(0, 1fr) minmax(285px, 33%); gap: 30px; padding: 28px 0 52px; align-items: start; }
.company-profile .article { min-width: 0; }
.company-profile .content h2 { font: 800 25px/1.2 Manrope, Arial, sans-serif; letter-spacing: -1px; margin: 0 0 15px; overflow-wrap: anywhere; }
.company-profile .article p { font-size: 15px; line-height: 1.75; max-width: 72ch; margin: 0 0 16px; overflow-wrap: anywhere; }
.company-profile .selection-note { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 13px; margin: 26px 0; padding: 22px; border: 1px solid #e3edc7; border-radius: 7px; background: #edf7cd; }
.selection-symbol { color: #536b1b; font: 27px/1.15 Georgia, serif; }
.company-profile .selection-note h2 { margin-bottom: 8px; font-size: 17px; letter-spacing: -.5px; }
.company-profile .selection-note h2::before { content: none; }
.company-profile .selection-note p { font-size: 14px; line-height: 1.65; }
.company-profile .selection-note p:last-child { margin-bottom: 0; }
.company-profile .services { border: 0; margin: 26px 0; padding: 0; }
.company-profile .service-list { gap: 7px; }
.company-profile .service-list span { padding: 6px 10px; border: 1px solid #d0d8ca; border-radius: 18px; font: 500 12px/1.45 Manrope, Arial, sans-serif; max-width: 100%; overflow-wrap: anywhere; }
.company-profile .address { grid-column: 2; grid-row: 1; min-width: 0; width: 100%; background: #e7ece2; border: 1px solid #dce3d5; border-radius: 7px; padding: 21px; }
.company-profile .address.is-sticky { position: sticky; top: 18px; }
.company-profile .address small { margin-bottom: 8px; }
.company-profile .address strong { font: 600 14px/1.6 Manrope, Arial, sans-serif; margin: 0; overflow-wrap: anywhere; }
.profile-contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 17px; }
.profile-contact-actions:empty { display: none; }
.company-profile .profile-contact-actions .button { margin: 0; gap: 8px; padding: 11px 10px; min-height: 45px; border-radius: 4px; font: 700 12px/1.4 Manrope, Arial, sans-serif; color: #172021; text-decoration: none; overflow-wrap: anywhere; }
.profile-contact-actions .button:last-child:nth-child(odd) { grid-column: 1 / -1; }
.profile-contact-actions .button span { flex: none; }
.profile-contact-actions .button:hover { background: #dbefae; }
.profile-contact-actions .button:focus-visible, .company-profile .profile-save:focus-visible, .company-profile .back:focus-visible { outline: 3px solid #8ba634; outline-offset: 3px; }
.profile-hours { margin-top: 22px; padding-top: 18px; border-top: 1px solid #cbd6c2; }
.company-profile .profile-hours h2 { font-size: 14px; letter-spacing: -.2px; margin-bottom: 10px; }
.company-profile .profile-hours p { font-size: 13px; line-height: 1.8; margin: 0; overflow-wrap: anywhere; }
.company-profile .profile-image { width: 100%; margin: 28px 0; padding: 7px; box-shadow: none; border: 1px solid #dce2d7; border-radius: 7px; }
.company-profile .profile-image img { aspect-ratio: auto; max-height: 430px; object-fit: contain; transform: none; }
.company-profile .profile-image figcaption { flex-wrap: wrap; line-height: 1.5; }
.profile-image figcaption a { color: #485a38; font: 600 11px Manrope, Arial, sans-serif; letter-spacing: 0; text-transform: none; text-underline-offset: 3px; }
.company-profile .award-certificate.award-certificate--premium { grid-template-columns: minmax(0, 1.3fr) minmax(140px, .7fr); box-shadow: none; border: 1px solid #aeb8a2; border-radius: 6px; margin-top: 28px; }
.company-profile .award-certificate__content { padding: 22px; min-height: 250px; }
.company-profile .award-certificate__visual { min-height: 250px; }
.company-profile .award-certificate__body h2 { font-size: 30px; line-height: 1.08; letter-spacing: -1.1px; overflow-wrap: anywhere; }
.company-profile .award-certificate__visual-copy strong { font-size: 34px; letter-spacing: -1.5px; }
.company-profile .award-certificate__visual-copy i { font-size: 36px; margin-bottom: 18px; }
.company-profile .award-certificate__top, .company-profile .award-certificate__footer { flex-wrap: wrap; }
.company-profile .owner { position: static; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: start; margin-top: 25px; padding: 20px; border-radius: 6px; gap: 12px; }
.company-profile .owner a { position: static; grid-column: 2; justify-self: start; margin: 0; white-space: normal; line-height: 1.5; }
@media (max-width: 760px) {
  .company-profile .wrap { width: calc(100% - 28px); }
  .company-profile .header { height: 64px; gap: 8px; }
  .company-profile .logo { font-size: 19px; }
  .company-profile .saved-header-actions { gap: 12px; }
  .company-profile .saved-nav__label { display: none; }
  .company-profile .back { font-size: 10px; white-space: nowrap; }
  .company-profile .crumbs { font-size: 9px; padding: 10px 0; }
  .company-profile .hero { padding: 20px 17px; }
  .company-profile .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; position: relative; }
  .company-profile .hero h1 { font-size: clamp(32px, 8.5vw, 40px); line-height: 1.06; letter-spacing: -1.6px; }
  .company-profile .hero .eyebrow { font-size: 9px; margin-bottom: 10px; letter-spacing: .6px; }
  .company-profile .hero p:not(.eyebrow) { font-size: 12px; }
  .profile-hero-actions { padding-right: 0; min-height: 0; margin-top: 14px; gap: 7px; }
  .profile-award-label { font-size: 9px; min-height: 34px; padding: 7px 8px; }
  .company-profile .hero .profile-save { min-height: 34px; padding: 7px 12px; font-size: 11px; }
  .profile-category-art { position: absolute; bottom: 0; right: 0; width: 74px; max-width: none; }
  .profile-category-art img { aspect-ratio: 1; }
  .company-profile .content { display: flex; flex-direction: column; gap: 24px; padding: 14px 0 35px; }
  .company-profile .content > .address { order: -1; position: static; padding: 17px; }
  .company-profile .article { width: 100%; }
  .company-profile .article p { font-size: 14px; line-height: 1.7; }
  .company-profile .content h2 { font-size: 23px; }
  .company-profile .selection-note { padding: 17px 15px; gap: 10px; margin: 22px 0; }
  .company-profile .selection-note h2 { font-size: 15px; line-height: 1.4; letter-spacing: -.3px; }
  .company-profile .selection-note p { font-size: 13px; }
  .company-profile .service-list span { font-size: 11px; padding: 5px 9px; }
  .company-profile .profile-hours h2 { font-size: 14px; }
  .company-profile .award-certificate.award-certificate--premium { grid-template-columns: minmax(0, 1fr); }
  .company-profile .award-certificate__content { min-height: 230px; }
  .company-profile .award-certificate__visual { min-height: 180px; }
}

/* Compact brand identity and practical contact panel. */
.profile-icon { width: 20px; height: 20px; flex: none; }
.company-profile .hero-grid { grid-template-columns: minmax(0, 1fr) 180px; gap: 36px; }
.profile-brand-seal { width: 170px; height: 170px; border-radius: 50%; background: #cdfa54; color: #172021; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; justify-self: end; }
.profile-brand-seal .profile-icon { width: 47px; height: 47px; }
.profile-brand-seal span { font: 800 16px/1.25 Manrope, Arial, sans-serif; }
.company-profile .hero .profile-save { min-height: 44px; border-radius: 6px; font-size: 13px; }
.company-profile .hero .profile-save:hover { background: #defa9b; }
.company-profile .hero .profile-save.is-saved { background: #edf7d8; border-color: #edf7d8; }
.company-profile .article .profile-description p { color: #303b39; font-size: 17px; line-height: 1.65; max-width: 66ch; margin-bottom: 22px; }
.company-profile .selection-note { margin: 0 0 30px; padding: 6px 0 6px 18px; border: 0; border-left: 3px solid #b9de50; border-radius: 0; background: transparent; gap: 12px; grid-template-columns: 20px minmax(0, 1fr); }
.company-profile .selection-note > .profile-icon { color: #627b20; margin-top: 2px; }
.company-profile .selection-note h2 { font-size: 19px; }
.company-profile .selection-note p { color: #39443e; font-size: 15px; line-height: 1.65; }
.company-profile .address { padding: 24px; border: 0; border-radius: 10px; background: #e9ede4; }
.profile-address small { display: flex; align-items: center; gap: 8px; color: #526052; }
.company-profile .address strong { display: block; font-size: 16px; line-height: 1.55; }
.profile-contact-actions { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 20px; }
.company-profile .profile-contact-actions .button { display: flex; align-items: center; justify-content: flex-start; gap: 10px; min-height: 48px; border: 0; border-radius: 6px; padding: 12px 14px; font-size: 13px; }
.company-profile .profile-contact-actions .button-outline { background: #f7f8f3; }
.company-profile .profile-contact-actions .button:hover { background: #d9edab; }
.company-profile .profile-contact-actions .button span { flex: 1; }
.profile-phone-number { margin: 12px 0 0; color: #475449; font: 600 14px/1.5 Manrope, Arial, sans-serif; }
.profile-hours ul { list-style: none; padding: 0; margin: 0; }
.profile-hours li { padding: 7px 8px; margin: 0 -8px; font: 500 13px/1.6 Manrope, Arial, sans-serif; color: #354139; overflow-wrap: anywhere; }
.profile-hours li.is-today { background: #dcebbb; border-radius: 4px; font-weight: 800; }
.company-profile .service-list span { background: #e9ece4; border: 0; cursor: default; padding: 7px 11px; }
@media (max-width: 760px) {
  .company-profile .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .company-profile .profile-identity { display: contents; }
  .company-profile .hero-grid > .profile-brand-seal { grid-row: 4; justify-self: end; align-self: center; width: auto; height: auto; max-width: 122px; padding: 7px 9px; border-radius: 6px; flex-direction: row; gap: 6px; }
  .profile-brand-seal .profile-icon { width: 20px; height: 20px; }
  .profile-brand-seal span { font-size: 10px; text-align: left; }
  .company-profile .profile-hero-actions { grid-row: 4; grid-column: 1; margin-top: 10px; padding-right: 128px; }
  .company-profile .hero-grid > .profile-brand-seal { grid-column: 1; margin-top: 10px; }
  .company-profile .hero .profile-save { font-size: 12px; padding: 8px 10px; }
  .company-profile .content > .address { padding: 18px; }
  .profile-contact-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .company-profile .profile-contact-actions .button { padding: 11px 10px; gap: 7px; font-size: 12px; }
  .company-profile .article .profile-description p { font-size: 16px; line-height: 1.65; }
  .company-profile .selection-note { margin: 0 0 26px; padding: 4px 0 4px 12px; }
  .company-profile .selection-note h2 { font-size: 18px; }
}
@media (max-width: 360px) {
  .company-profile .hero-grid > .profile-brand-seal { max-width: 106px; padding: 6px; }
  .company-profile .profile-hero-actions { padding-right: 112px; }
  .company-profile .hero .profile-save { padding: 8px; font-size: 11px; }
}
/* Desktop editorial layout; no mobile overrides. */
@media (min-width: 761px) {
  body.company-profile { overflow-x: clip; overflow-y: visible; }
  .company-profile .content { overflow: visible; }
  .company-profile .address.is-sticky { position: sticky; top: 18px; align-self: start; }
  .company-profile .profile-brand-seal { width: 145px; height: 145px; background: transparent; color: #cdfa54; border-radius: 0; }
  .company-profile .profile-brand-seal .profile-icon { width: 88px; height: 88px; }
  .company-profile .profile-brand-seal span { display: none; }
  .company-profile .content { display: grid; grid-template-columns: minmax(0, 65fr) minmax(260px, 35fr); gap: 30px; padding: 30px 0 44px; }
  .company-profile .article { width: 100%; max-width: none; }
  .company-profile .article > section,
  .company-profile .article > figure { width: 100%; max-width: none; box-sizing: border-box; }
  .company-profile .selection-note { margin: 26px 0; }
  .company-profile .services { margin: 26px 0; }
  .company-profile .service-list { gap: 9px; }
  .company-profile .service-list > span { font-size: 13px; line-height: 1.45; padding: 8px 13px; }
  .company-profile .profile-image { margin: 26px 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .company-profile .profile-image__frame { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden; background: #e7ece2; }
  .company-profile .profile-image img { width: 100%; height: 100%; max-height: none; aspect-ratio: 16 / 9; object-fit: cover; transform: none; }
  .company-profile .profile-image figcaption { padding: 8px 1px 0; font-size: 9px; letter-spacing: .4px; }
  .company-profile .profile-image figcaption a { font-size: 10px; color: #667268; }
  .company-profile .award-certificate.award-certificate--premium { margin: 26px 0 18px; padding: 0; border: 1px solid #c6cebe; border-radius: 9px; box-shadow: none; }
  .company-profile .award-certificate__visual { min-height: 160px; height: 160px; border: 0; display: grid; place-items: center; background: #eeeee7; }
  .company-profile .award-certificate__visual::before { background: none; box-shadow: inset 0 0 0 10px #eeeee7, inset 0 0 0 11px #d1d6c9; }
  .company-profile .award-certificate__visual-copy { position: relative; inset: auto; transform: none; padding: 20px; text-align: center; }
  .company-profile .award-certificate__visual-copy span { margin-bottom: 10px; font-size: 9px; letter-spacing: 2px; }
  .company-profile .award-certificate__visual-copy i { margin-bottom: 10px; font-size: 32px; }
  .company-profile .award-certificate__visual-copy strong { font-size: 31px; line-height: .95; letter-spacing: -1px; }
  .company-profile .address { border: 1px solid #d9e0d3; border-radius: 10px; padding: 24px; background: #e9ede4; }
  .company-profile .profile-contact-actions { gap: 10px; grid-auto-rows: minmax(48px, auto); }
  .company-profile .profile-contact-actions .button { min-height: 48px; height: 100%; padding: 12px 14px; border-radius: 7px; }
  .company-profile .profile-contact-actions .button-outline { border: 1px solid #dbe1d5; background: #fafbf7; }
  .company-profile .article .profile-updated { width: 100%; max-width: none; margin: 20px 0 0; }
  .company-profile .owner { margin-top: 22px; padding: 26px; border: 1px solid #d9e0d0; border-radius: 9px; background: #e9eddf; grid-template-columns: 25px minmax(0, 1fr); gap: 12px; }
  .company-profile .owner b { font-size: 20px; line-height: 1.3; letter-spacing: -.5px; }
  .company-profile .owner-copy-desktop { display: none; }
  .company-profile .owner-copy-mobile { display: inline; }
  .company-profile .owner a { display: inline-flex; align-items: center; min-height: 46px; padding: 12px 18px; border: 0; border-radius: 6px; background: #cdfa54; color: #172021; font-size: 13px; }
  .company-profile .owner a:hover { background: #defa9b; }
  .company-profile .owner a:focus-visible,
  .company-profile .profile-image__frame:focus-visible { outline: 3px solid #819d31; outline-offset: 3px; }
}
