/* MF PPOŻ & CO2 — jeden arkusz; układ, treści, blog i responsywność. */
:root {
  --pink: #e91a91;
  --brand: #ec008c;
  --ink: #321326;
  --heading: #a90067;
  --line: #e9e3e7;
  --hero: linear-gradient(90deg, #df007f 0%, #f50091 60%, #ff52b5 100%);
}
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { scroll-behavior: smooth; color-scheme: light; }
body { margin: 0; color: #48102f; background: #fff; font: 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin-top: 0; }
h2 { letter-spacing: -.035em; }
::selection { color: #fff; background: var(--brand); }
:focus-visible { outline: 2px solid var(--heading); outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 10px 16px; color: #111; background: #fff; }
.skip-link:focus { top: 16px; }

/* Nagłówek — wspólny dla wszystkich stron. */
#mf-header { position: relative; width: 100%; height: 100px; min-height: 100px; background: var(--hero); }
#mf-header-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; width: 100%; height: 100px; padding: 0 24px; }
#mf-header-brand { position: relative; display: block; width: 72px; height: 100px; justify-self: start; }
#mf-header-logo { position: absolute; top: 50%; left: calc(50% + 10px); width: 100px; height: 100px; max-width: none; object-fit: contain; transform: translate(-50%, -50%); }
#mf-header-nav { display: flex; align-items: center; justify-content: flex-end; justify-self: end; gap: 21px; margin: 0; padding: 0; transform: translateX(-3px); }
#mf-header-nav a { display: flex; align-items: center; justify-content: center; margin: 0; color: #fff; font-size: 15px; font-weight: 500; line-height: 1; text-decoration: none; }
#mf-header-nav a:hover { opacity: .8; }
#mf-header-nav #mf-contact-top { height: 42px; padding: 0 20px; border: 1px solid #fff; color: #d40079; background: #fff; transition: background-color .18s, color .18s; }
#mf-header-nav #mf-contact-top:hover { color: #d40079; background: #fff1f8; border-color: #fff1f8; opacity: 1; }

/* Główna sekcja i fala. */
#mf-hero { position: relative; overflow: hidden; width: 100%; min-height: calc((100svh - 235px) / 2); color: #fff; background: var(--hero); }
#mf-hero-inner { position: relative; top: 3px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 70px; width: min(1180px, calc(100% - 48px)); min-height: inherit; margin: 0 auto; transform: translateY(-40px); }
#mf-hero-copy { grid-column: 1; width: 100%; max-width: 850px; min-width: 0; }
#mf-hero h1 { position: relative; left: 5px; max-width: 760px; margin: 0; font-size: clamp(38px, 5.2vw, 72px); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; }
#mf-main-logo { position: relative; top: 15px; grid-column: 2; width: 280px; height: 280px; max-width: 280px; justify-self: end; object-fit: contain; }
#mf-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 42px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath d='M0 58 C260 12 510 12 760 54 C1010 95 1210 76 1440 38 L1440 100 L0 100 Z' fill='%23ffffff'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat; }

/* Sekcje: nagłówek z lewej, treść z prawej. */
#o-nas, #cennik, #kontakt { width: 100%; padding: 74px 0; color: var(--ink); background: #fff; }
#cennik, #kontakt { border-top: 1px solid var(--line); }
#about-inner, #cennik-inner, #contact-inner, .mf-exchange-inner { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 60px; width: min(1180px, calc(100% - 48px)); margin: 0 auto; align-items: start; }
#about-heading h2, #cennik h2, #contact-inner > h2 { margin: 0; color: var(--pink); font-size: calc(clamp(34px, 4vw, 48px) - 1px); line-height: 1.05; text-align: left; }
#about-content { width: 100%; }
#about-content p { margin: 0 0 18px; font-size: 18px; line-height: 1.7; }
#about-content p:last-child { margin-bottom: 0; }
#mf-exchange { padding: 64px 0; border-top: 1px solid #f0e8ed; background: #fff; }
.mf-exchange-inner { align-items: center; }
#mf-exchange h2 { margin: 0; color: var(--pink); font-size: calc(clamp(34px, 4vw, 48px) - 1px); font-weight: 700; line-height: 1.12; }
#mf-exchange .mf-exchange-description { margin: 0; color: #111; font-size: 17px; font-weight: 400; line-height: 1.75; text-align: left; }
#cennik, #kontakt { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
#cennik h2, #contact-inner > h2 { grid-column: 1; grid-row: 1; align-self: center; justify-self: start; }

/* Cennik — jeden komponent, dwa kolory usług. */
.mf-price-wrap { grid-column: 2; grid-row: 1; width: 100%; max-width: 520px; margin-inline: auto; justify-self: center; }
.price-list { width: 100%; overflow: hidden; border: 1px solid #eadfe5; background: #fff; box-shadow: 0 6px 20px rgba(86,25,57,.06); }
.price-list-row { display: grid; grid-template-columns: minmax(0, 1fr) 70px; align-items: center; column-gap: 20px; min-height: 54px; margin: 0; padding: 14px 18px; color: #fff; }
.price-fire-row { background: #c93655; border-bottom: 2px solid #fff; }
.price-co2-row { background: var(--pink); border-bottom: 2px solid rgba(255,255,255,.62); }
.price-list-row:last-child { border-bottom: 0; }
.price-list-row span { font-size: 15px; font-weight: 500; line-height: 1.5; text-align: left; }
.price-list-row strong { font-size: 16px; font-weight: 600; line-height: 1.5; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mf-price-payment { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px 0 0; color: #806573; font-size: 13px; font-weight: 500; line-height: 1.5; text-align: center; }
.mf-price-payment svg { flex-shrink: 0; color: var(--pink); }

/* Kontakt i godziny otwarcia. */
#kontakt { scroll-margin-top: 0; }
#contact-panel { display: grid; grid-column: 2; grid-template-columns: 1fr 1fr; width: 100%; overflow: hidden; border: 1px solid #ffc7e5; background: #fff; }
#contact-details { display: grid; gap: 22px; padding: 30px; border-right: 1px solid #ffc7e5; }
.mf-contact-label { display: block; margin-bottom: 4px; color: #806573; font-size: 14px; font-weight: 500; line-height: 1.4; }
.contact-item p { margin: 0; font-size: 16px; line-height: 1.65; }
.contact-item a, .contact-item strong { color: var(--brand); font-size: 18px; text-decoration: none; }
.contact-address { color: var(--brand); font-weight: 700; }
.contact-address strong, .contact-item a[href^="tel:"], .contact-item a[href^="mailto:"] { font-weight: 600; }
.mf-map-address { display: inline-block; font-weight: 700; }
.mf-map-hint { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; margin-left: 8px; color: var(--pink); font-size: 0; font-weight: 500; line-height: 1; vertical-align: -3px; }
.mf-map-hint svg { width: 17px; height: 17px; }
.mf-map-address:hover .mf-map-hint { color: var(--heading); }
#opening-hours { display: flex; flex-direction: column; justify-content: center; align-self: stretch; padding: 26px 30px; }
#opening-hours h3 { margin: 0 0 20px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.hours-list { width: 100%; margin: 0; border-top: 1px solid #ffc7e5; font-size: 15px; line-height: 1.55; font-variant-numeric: tabular-nums; }
.hours-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 49px; padding: 13px 0; border-bottom: 1px solid #ffc7e5; }
.hours-row:last-child { border-bottom: 0; }
.hours-row strong { color: var(--brand); white-space: nowrap; }

/* Stopka. */
footer { padding: 12px 24px; border-top: 1px solid var(--line); color: var(--ink); background: #fff; text-align: center; }
footer p { margin: 0; font-size: 14px; font-weight: 600; }
footer .footer-disclaimer { max-width: 760px; margin: 7px auto 0; color: #777; font-size: 11px; font-weight: 400; line-height: 1.4; }

/* Blog i artykuły. */
#mf-blog-main { width: min(840px, calc(100% - 48px)); min-height: 60vh; margin: 0 auto; padding: 48px 0 64px; color: #392c35; background: #fff; text-align: left; }
.blog-back { display: inline-block; margin-bottom: 24px; color: var(--heading); font-size: 14px; text-decoration: none; }
.blog-back:hover { text-decoration: underline; }
#mf-blog-main h1 { margin: 0 0 20px; color: var(--heading); font-size: clamp(30px, 4.5vw, 46px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
#mf-blog-main h2 { margin: 36px 0 14px; color: var(--heading); font-size: clamp(22px, 3vw, 28px); font-weight: 650; line-height: 1.3; }
#mf-blog-main p { margin: 0 0 18px; font-size: 17px; font-weight: 400; line-height: 1.8; }
#mf-blog-main strong { font-weight: 650; }
.blog-meta { display: block; margin-bottom: 30px; color: #796c75; font-size: 13px; }
.blog-card { margin-top: 30px; padding: 26px; border: 1px solid #f0cedf; background: #fff6fa; }
#mf-blog-main .blog-card h2 { margin: 0 0 14px; }
.blog-card h2 a { text-decoration: none; }
.blog-card h2 a:hover { text-decoration: underline; }
.blog-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; margin-top: 8px; padding: 10px 18px; color: #fff; background: #df007f; font-size: 15px; font-weight: 500; line-height: 1.4; text-decoration: none; }
.blog-button:hover { background: #bd006c; }
#blog-vs-image { width: 100%; height: auto; margin: 24px 0 28px; }
#article-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 32px; padding-top: 20px; border-top: 1px solid #f0dce7; }
#article-tags span { padding: 4px 10px; border: 1px solid #f0dce7; color: var(--heading); background: #fff3f9; font-size: 12px; font-weight: 500; line-height: 1.5; }

/* Tablet. */
@media (max-width: 900px) {
  .mf-exchange-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (min-width: 701px) and (max-width: 850px) {
  #contact-panel { grid-template-columns: minmax(0, 1fr); }
  #contact-details { padding: 24px 20px; border-right: 0; border-bottom: 1px solid #ffc7e5; }
  #opening-hours { padding: 24px 20px; }
}

/* Telefon. */
@media (max-width: 700px) {
  #mf-header, #mf-header-inner { height: 86px; min-height: 86px; }
  #mf-header-inner { padding-inline: 14px; }
  #mf-header-brand { width: 66px; height: 86px; }
  #mf-header-logo { width: 92px; height: 92px; }
  #mf-header-nav { gap: 8px; }
  #mf-header-nav a { font-size: 13px; }
  #mf-header-nav #mf-contact-top { height: 38px; padding-inline: 11px; }
  #mf-hero { min-height: max(500px, calc((100svh - 180px) / 2 + 140px)); }
  #mf-hero-inner { width: calc(100% - 28px); grid-template-columns: minmax(0, 1fr); align-content: start; gap: 20px; padding: 24px 0 48px; transform: translateY(0); }
  #mf-hero h1 { font-size: clamp(28px, 9vw, 38px); overflow-wrap: anywhere; }
  #mf-main-logo { justify-self: center; grid-column: 1; width: 170px; height: 170px; max-width: 170px; ; top: 10px; }
  #mf-hero::after { height: 30px; }
  #o-nas, #cennik, #kontakt { padding-block: 54px; }
  #about-inner, #cennik-inner, #contact-inner { width: calc(100% - 28px); grid-template-columns: minmax(0, 1fr); gap: 26px; }
  #about-content p { font-size: 16px; }
  #cennik h2, #contact-inner > h2 { grid-row: auto; align-self: start; margin-bottom: 24px; }
  .mf-price-wrap { grid-column: 1; grid-row: auto; }
  #contact-panel { grid-column: 1; grid-template-columns: minmax(0, 1fr); }
  #contact-details { padding: 24px 20px; border-right: 0; border-bottom: 1px solid #ffc7e5; }
  #opening-hours { justify-content: flex-start; padding: 24px 20px; }
}
@media (max-width: 600px) {
  #mf-exchange { padding-block: 48px; }
  .mf-exchange-inner { width: calc(100% - 32px); }
  #mf-blog-main { width: calc(100% - 32px); padding: 32px 0 44px; }
  #mf-blog-main p { font-size: 16px; line-height: 1.75; }
  .blog-card { padding: 20px; }
}
@media (max-width: 500px) {
  .price-list-row { grid-template-columns: minmax(0, 1fr) 58px; column-gap: 12px; min-height: 52px; padding: 13px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
