/*
Theme Name: Bedrouse B2B
Theme URI: https://example.com/bedrouse-b2b
Author: OpenAI
Author URI: https://openai.com/
Description: Responsywny motyw WordPress dla firmy świadczącej profesjonalne usługi sprzątania B2B. Zawiera stronę główną, usługi, standard pracy, realizacje, FAQ i kwalifikujący formularz wyceny.
Version: 1.0.1
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: bedrouse-b2b
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-logo, custom-menu, featured-images, one-column, accessibility-ready, translation-ready
*/

:root {
  --navy-950: #071c33;
  --navy-900: #0a2847;
  --navy-800: #123b62;
  --gold-700: #a87508;
  --gold-600: #c58b12;
  --gold-500: #d8a528;
  --ink: #17212c;
  --muted: #687380;
  --line: #e3e7eb;
  --paper: #ffffff;
  --wash: #f5f7f9;
  --warm: #fbf8f1;
  --success: #1f7a4d;
  --danger: #a23838;
  --shadow-sm: 0 8px 24px rgba(8, 27, 48, .08);
  --shadow-lg: 0 18px 50px rgba(8, 27, 48, .14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(216, 165, 40, .28); }

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 1rem;
  top: -100px;
  padding: .8rem 1rem;
  color: white;
  background: var(--navy-950);
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--wash { background: var(--wash); }
.section--warm { background: var(--warm); }
.section--navy { color: white; background: var(--navy-950); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 12px;
  color: var(--gold-700);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
h1, h2, h3, h4 { margin-top: 0; color: var(--navy-950); line-height: 1.15; letter-spacing: -.025em; }
h1 { font-size: clamp(2.25rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.7vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin-top: 0; }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading--center .lead { margin-inline: auto; }

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .82rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(216, 165, 40, .42); outline-offset: 3px; }
.btn--gold { color: white; background: linear-gradient(135deg, var(--gold-500), var(--gold-700)); box-shadow: 0 8px 22px rgba(168, 117, 8, .24); }
.btn--gold:hover { box-shadow: 0 12px 28px rgba(168, 117, 8, .34); }
.btn--outline { color: white; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.07); }
.btn--outline:hover { background: rgba(255,255,255,.14); }
.btn--navy { color: white; background: var(--navy-900); }
.btn--light { color: var(--navy-950); background: white; }
.btn--block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--navy-900); font-weight: 750; }
.text-link::after { content: "→"; transition: transform .2s; }
.text-link:hover::after { transform: translateX(4px); }

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(7, 28, 51, .08);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
}
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 28px; }
.site-branding { flex: 0 0 auto; }
.site-logo-link { display: block; line-height: 0; }
.site-logo { display: block; width: 154px; height: auto; }
.footer-brand .site-logo-link { display: inline-block; padding: 8px 10px; border-radius: 4px; background: #fff; }
.brand-wordmark { display: inline-flex; align-items: center; gap: .7rem; color: var(--navy-950); }
.brand-mark { display: grid; width: 36px; height: 42px; place-items: center; border: 2px solid currentColor; font-weight: 900; }
.brand-name { display: block; font-size: 1rem; font-weight: 850; letter-spacing: .04em; }
.brand-tagline { display: block; color: var(--muted); font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; }
.main-navigation { margin-left: auto; }
.main-navigation ul { display: flex; margin: 0; padding: 0; align-items: center; gap: 28px; list-style: none; }
.main-navigation a { position: relative; padding: 28px 0; color: #34404d; font-size: .9rem; font-weight: 650; }
.main-navigation a::after { position: absolute; right: 0; bottom: 20px; left: 0; height: 2px; content: ""; background: var(--gold-600); transform: scaleX(0); transform-origin: right; transition: transform .2s; }
.main-navigation a:hover::after, .main-navigation .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.header-cta { flex: 0 0 auto; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--navy-950); transition: .2s; }

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--navy-950);
}
.hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(5,20,36,.94) 0%, rgba(5,20,36,.78) 48%, rgba(5,20,36,.3) 100%); z-index: 1; }
.hero::after { position: absolute; inset: auto 0 0; height: 180px; content: ""; background: linear-gradient(transparent, rgba(5,20,36,.38)); z-index: 1; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-inner { position: relative; z-index: 2; padding: 100px 0 120px; }
.hero-copy { max-width: 750px; }
.hero h1 { max-width: 750px; margin-bottom: 24px; color: white; }
.hero .eyebrow { color: #f1c457; }
.hero-lead { max-width: 650px; margin-bottom: 34px; color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 2vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 32px; color: rgba(255,255,255,.78); font-size: .91rem; }
.hero-note span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-note span::before { content: "✓"; color: #f1c457; font-weight: 900; }

.trust-strip { position: relative; z-index: 3; margin-top: -70px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border-radius: 12px; background: linear-gradient(135deg, var(--navy-900), var(--navy-950)); box-shadow: var(--shadow-lg); }
.trust-item { display: flex; min-height: 136px; align-items: center; gap: 15px; padding: 26px; color: white; border-right: 1px solid rgba(255,255,255,.13); }
.trust-item:last-child { border-right: 0; }
.trust-icon, .card-icon { display: grid; flex: 0 0 auto; width: 46px; height: 46px; place-items: center; color: var(--gold-500); border: 1px solid rgba(216,165,40,.45); border-radius: 50%; }
.trust-item strong { display: block; margin-bottom: 3px; }
.trust-item small { display: block; color: rgba(255,255,255,.68); line-height: 1.35; }

.split { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(45px, 7vw, 90px); }
.split--reverse .split-media { order: -1; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 1.15 / 1; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.split-media::after { position: absolute; z-index: -1; right: -18px; bottom: -18px; width: 65%; height: 52%; content: ""; border: 2px solid rgba(216,165,40,.5); border-radius: var(--radius-sm); }
.check-list { display: grid; margin: 24px 0 32px; padding: 0; gap: 12px; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { position: absolute; top: .05rem; left: 0; content: "✓"; color: var(--gold-700); font-weight: 900; }

.audience-grid, .problem-grid, .service-grid, .value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.card:hover { transform: translateY(-5px); border-color: rgba(197,139,18,.42); box-shadow: var(--shadow-sm); }
.audience-card, .problem-card, .value-card { padding: 30px 26px; }
.audience-card h3, .problem-card h3, .value-card h3 { margin: 20px 0 10px; }
.audience-card p, .problem-card p, .value-card p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }
.problem-card { border-top: 3px solid var(--gold-500); }
.problem-label { display: block; margin-bottom: 14px; color: var(--gold-700); font-size: .73rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }

.service-card { display: flex; flex-direction: column; }
.service-card img { width: 100%; aspect-ratio: 1.36 / 1; object-fit: cover; }
.service-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.service-card h3 { margin-bottom: 9px; }
.service-card p { flex: 1; color: var(--muted); font-size: .93rem; }
.service-card .text-link { margin-top: 14px; }

.stats { background: var(--navy-950); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 24px; text-align: center; color: white; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--gold-500); font-size: 2.2rem; line-height: 1; }
.stat span { display: block; margin-top: 8px; color: rgba(255,255,255,.72); font-size: .87rem; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: process; }
.process-card { position: relative; min-height: 240px; padding: 34px; overflow: hidden; border: 1px solid var(--line); background: white; counter-increment: process; }
.process-card::before { position: absolute; right: 20px; top: 8px; content: "0" counter(process); color: rgba(10,40,71,.06); font-size: 5.6rem; font-weight: 900; line-height: 1; }
.process-card h3 { position: relative; margin: 18px 0 10px; }
.process-card p { position: relative; margin-bottom: 0; color: var(--muted); }
.process-number { display: grid; width: 36px; height: 36px; place-items: center; color: white; border-radius: 50%; background: var(--gold-600); font-weight: 850; }

.gallery-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.filter-btn { padding: .6rem 1rem; color: var(--navy-900); border: 1px solid var(--line); border-radius: 999px; background: white; font-weight: 700; }
.filter-btn.is-active { color: white; border-color: var(--navy-900); background: var(--navy-900); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-item { position: relative; min-height: 215px; margin: 0; overflow: hidden; border-radius: 3px; }
.gallery-item[hidden] { display: none; }
.gallery-item img { width: 100%; height: 100%; min-height: 215px; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.045); }
.gallery-caption { position: absolute; inset: auto 0 0; padding: 36px 16px 14px; color: white; background: linear-gradient(transparent, rgba(5,20,36,.88)); font-size: .84rem; font-weight: 700; opacity: 0; transition: opacity .2s; }
.gallery-item:hover .gallery-caption { opacity: 1; }

.cta-band { position: relative; overflow: hidden; color: white; background: var(--navy-900); }
.cta-band::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(7,28,51,.98), rgba(7,28,51,.72)); }
.cta-band-inner { position: relative; display: flex; min-height: 220px; align-items: center; justify-content: space-between; gap: 35px; }
.cta-band h2 { margin-bottom: 10px; color: white; }
.cta-band p { margin-bottom: 0; color: rgba(255,255,255,.75); }

.logo-row { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 30px; }
.logo-placeholder { display: grid; min-height: 76px; place-items: center; color: #66717d; border: 1px solid var(--line); background: white; font-weight: 850; letter-spacing: .04em; }

.testimonial { max-width: 780px; margin: 0 auto; padding: 45px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.testimonial blockquote { margin: 0 0 22px; color: #34404d; font-size: clamp(1.05rem, 2vw, 1.3rem); font-style: normal; }
.testimonial cite { color: var(--muted); font-style: normal; }

.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 8px; background: white; }
.faq-question { display: flex; width: 100%; padding: 20px 22px; align-items: center; justify-content: space-between; gap: 20px; color: var(--navy-950); border: 0; background: transparent; text-align: left; font-weight: 780; }
.faq-question::after { content: "+"; color: var(--gold-700); font-size: 1.5rem; font-weight: 500; }
.faq-item.is-open .faq-question::after { content: "−"; }
.faq-answer { display: none; padding: 0 22px 20px; color: var(--muted); }
.faq-item.is-open .faq-answer { display: block; }
.faq-answer p:last-child { margin-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(35px, 6vw, 80px); }
.contact-details { display: grid; margin: 30px 0; gap: 18px; }
.contact-row { display: flex; gap: 14px; }
.contact-row strong { display: block; color: var(--navy-950); }
.contact-row span, .contact-row a { color: var(--muted); }
.contact-form { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--wash); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; color: var(--navy-950); font-size: .86rem; font-weight: 760; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ink); border: 1px solid #d8dde2; border-radius: 5px; background: white; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 126px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold-600); box-shadow: 0 0 0 3px rgba(216,165,40,.14); }
.form-consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .78rem; }
.form-consent input { margin-top: 4px; }
.form-status { margin-bottom: 22px; padding: 14px 18px; border-radius: 6px; }
.form-status--success { color: #155b39; border: 1px solid #a5d7bd; background: #eef9f3; }
.form-status--error { color: #802c2c; border: 1px solid #e1b0b0; background: #fff2f2; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px,1px,1px,1px) !important; }

.page-hero { padding: 80px 0; text-align: center; background: linear-gradient(135deg, #f7f8fa, #fff); border-bottom: 1px solid var(--line); }
.page-hero .breadcrumbs { margin-bottom: 12px; color: var(--muted); font-size: .82rem; }
.page-hero h1 { margin-bottom: 12px; }
.entry-content { padding: 70px 0; }
.entry-content > * { max-width: 820px; margin-right: auto; margin-left: auto; }
.entry-content > .alignwide { max-width: var(--container); }
.entry-content img { border-radius: var(--radius-sm); }

.site-footer { color: rgba(255,255,255,.76); background: var(--navy-950); }
.footer-main { display: grid; grid-template-columns: 1.45fr .75fr .75fr 1fr; gap: 50px; padding: 70px 0 50px; }
.footer-brand .brand-wordmark { color: white; }
.footer-brand .brand-tagline { color: rgba(255,255,255,.58); }
.footer-brand p { max-width: 330px; margin-top: 24px; font-size: .9rem; }
.footer-title { margin-bottom: 20px; color: white; font-size: .92rem; }
.footer-menu, .footer-contact { display: grid; margin: 0; padding: 0; gap: 10px; list-style: none; font-size: .88rem; }
.footer-menu a:hover, .footer-contact a:hover { color: white; }
.footer-bottom { display: flex; padding: 22px 0; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.socials a:hover { color: var(--navy-950); background: white; }

@media (max-width: 1050px) {
  .header-cta { display: none; }
  .main-navigation ul { gap: 18px; }
  .audience-grid, .problem-grid, .service-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-main > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 840px) {
  .admin-bar .site-header { top: 46px; }
  .menu-toggle { display: block; }
  .main-navigation { position: fixed; inset: 78px 0 auto; display: none; max-height: calc(100vh - 78px); overflow: auto; background: white; box-shadow: var(--shadow-lg); }
  .admin-bar .main-navigation { top: 124px; }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { display: grid; padding: 20px; gap: 0; }
  .main-navigation a { display: block; padding: 14px; border-bottom: 1px solid var(--line); }
  .main-navigation a::after { display: none; }
  .hero { min-height: 620px; }
  .hero::before { background: rgba(5,20,36,.78); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band-inner { padding: 45px 0; align-items: flex-start; flex-direction: column; justify-content: center; }
  .logo-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 68px 0; }
  .section--tight { padding: 48px 0; }
  .header-inner { min-height: 68px; }
  .main-navigation { top: 68px; }
  .admin-bar .main-navigation { top: 114px; }
  .brand-tagline { display: none; }
  .site-logo { width: 132px; }
  .hero { min-height: 650px; }
  .hero-inner { padding: 80px 0 120px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .trust-strip { margin-top: -58px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 110px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .trust-item:last-child { border-bottom: 0; }
  .audience-grid, .problem-grid, .service-grid, .value-grid, .process-grid, .gallery-grid, .logo-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; gap: 35px; }
  .footer-main > :last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .gallery-item, .gallery-item img { min-height: 260px; }
}
